@argonprotocol/mainchain 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/index.d.ts +16 -2
- package/browser/index.js +3 -2
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +3 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +16 -2
- package/lib/index.d.ts +16 -2
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/index.d.cts
CHANGED
|
@@ -2182,6 +2182,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2182
2182
|
amountBurned: u128;
|
|
2183
2183
|
accountId: AccountId32;
|
|
2184
2184
|
}>;
|
|
2185
|
+
BitcoinSpentAfterRelease: AugmentedEvent<ApiType, [
|
|
2186
|
+
utxoId: u64,
|
|
2187
|
+
vaultId: u32
|
|
2188
|
+
], {
|
|
2189
|
+
utxoId: u64;
|
|
2190
|
+
vaultId: u32;
|
|
2191
|
+
}>;
|
|
2185
2192
|
BitcoinUtxoCosigned: AugmentedEvent<ApiType, [
|
|
2186
2193
|
utxoId: u64,
|
|
2187
2194
|
vaultId: u32,
|
|
@@ -4074,7 +4081,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4074
4081
|
u64
|
|
4075
4082
|
]>;
|
|
4076
4083
|
/**
|
|
4077
|
-
* Stores the block number where
|
|
4084
|
+
* Stores the block number where a release was cosigned by the vault.
|
|
4078
4085
|
**/
|
|
4079
4086
|
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
4080
4087
|
u64
|
|
@@ -9634,6 +9641,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
9634
9641
|
readonly vaultId: u32;
|
|
9635
9642
|
readonly signature: Bytes;
|
|
9636
9643
|
} & Struct;
|
|
9644
|
+
readonly isBitcoinSpentAfterRelease: boolean;
|
|
9645
|
+
readonly asBitcoinSpentAfterRelease: {
|
|
9646
|
+
readonly utxoId: u64;
|
|
9647
|
+
readonly vaultId: u32;
|
|
9648
|
+
} & Struct;
|
|
9637
9649
|
readonly isBitcoinCosignPastDue: boolean;
|
|
9638
9650
|
readonly asBitcoinCosignPastDue: {
|
|
9639
9651
|
readonly utxoId: u64;
|
|
@@ -9687,7 +9699,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9687
9699
|
readonly newSatoshis: u64;
|
|
9688
9700
|
readonly accountId: AccountId32;
|
|
9689
9701
|
} & Struct;
|
|
9690
|
-
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased';
|
|
9702
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased';
|
|
9691
9703
|
}
|
|
9692
9704
|
/** @name PalletNotariesEvent (60) */
|
|
9693
9705
|
interface PalletNotariesEvent extends Enum {
|
|
@@ -12722,6 +12734,7 @@ declare class TxResult {
|
|
|
12722
12734
|
submittedTime: Date;
|
|
12723
12735
|
submittedAtBlockNumber: number;
|
|
12724
12736
|
accountAddress: string;
|
|
12737
|
+
nonce: number;
|
|
12725
12738
|
};
|
|
12726
12739
|
set isBroadcast(value: boolean);
|
|
12727
12740
|
get isBroadcast(): boolean;
|
|
@@ -12759,6 +12772,7 @@ declare class TxResult {
|
|
|
12759
12772
|
submittedTime: Date;
|
|
12760
12773
|
submittedAtBlockNumber: number;
|
|
12761
12774
|
accountAddress: string;
|
|
12775
|
+
nonce: number;
|
|
12762
12776
|
});
|
|
12763
12777
|
setSeenInBlock(block: {
|
|
12764
12778
|
blockHash: Uint8Array;
|
package/lib/index.d.ts
CHANGED
|
@@ -2182,6 +2182,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2182
2182
|
amountBurned: u128;
|
|
2183
2183
|
accountId: AccountId32;
|
|
2184
2184
|
}>;
|
|
2185
|
+
BitcoinSpentAfterRelease: AugmentedEvent<ApiType, [
|
|
2186
|
+
utxoId: u64,
|
|
2187
|
+
vaultId: u32
|
|
2188
|
+
], {
|
|
2189
|
+
utxoId: u64;
|
|
2190
|
+
vaultId: u32;
|
|
2191
|
+
}>;
|
|
2185
2192
|
BitcoinUtxoCosigned: AugmentedEvent<ApiType, [
|
|
2186
2193
|
utxoId: u64,
|
|
2187
2194
|
vaultId: u32,
|
|
@@ -4074,7 +4081,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4074
4081
|
u64
|
|
4075
4082
|
]>;
|
|
4076
4083
|
/**
|
|
4077
|
-
* Stores the block number where
|
|
4084
|
+
* Stores the block number where a release was cosigned by the vault.
|
|
4078
4085
|
**/
|
|
4079
4086
|
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
4080
4087
|
u64
|
|
@@ -9634,6 +9641,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
9634
9641
|
readonly vaultId: u32;
|
|
9635
9642
|
readonly signature: Bytes;
|
|
9636
9643
|
} & Struct;
|
|
9644
|
+
readonly isBitcoinSpentAfterRelease: boolean;
|
|
9645
|
+
readonly asBitcoinSpentAfterRelease: {
|
|
9646
|
+
readonly utxoId: u64;
|
|
9647
|
+
readonly vaultId: u32;
|
|
9648
|
+
} & Struct;
|
|
9637
9649
|
readonly isBitcoinCosignPastDue: boolean;
|
|
9638
9650
|
readonly asBitcoinCosignPastDue: {
|
|
9639
9651
|
readonly utxoId: u64;
|
|
@@ -9687,7 +9699,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9687
9699
|
readonly newSatoshis: u64;
|
|
9688
9700
|
readonly accountId: AccountId32;
|
|
9689
9701
|
} & Struct;
|
|
9690
|
-
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased';
|
|
9702
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased';
|
|
9691
9703
|
}
|
|
9692
9704
|
/** @name PalletNotariesEvent (60) */
|
|
9693
9705
|
interface PalletNotariesEvent extends Enum {
|
|
@@ -12722,6 +12734,7 @@ declare class TxResult {
|
|
|
12722
12734
|
submittedTime: Date;
|
|
12723
12735
|
submittedAtBlockNumber: number;
|
|
12724
12736
|
accountAddress: string;
|
|
12737
|
+
nonce: number;
|
|
12725
12738
|
};
|
|
12726
12739
|
set isBroadcast(value: boolean);
|
|
12727
12740
|
get isBroadcast(): boolean;
|
|
@@ -12759,6 +12772,7 @@ declare class TxResult {
|
|
|
12759
12772
|
submittedTime: Date;
|
|
12760
12773
|
submittedAtBlockNumber: number;
|
|
12761
12774
|
accountAddress: string;
|
|
12775
|
+
nonce: number;
|
|
12762
12776
|
});
|
|
12763
12777
|
setSeenInBlock(block: {
|
|
12764
12778
|
blockHash: Uint8Array;
|