@argonprotocol/mainchain 1.0.11 → 1.0.13
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/README.md +18 -15
- package/lib/cjs/WageProtector.d.ts +1 -1
- package/lib/cjs/WageProtector.js +3 -2
- package/lib/cjs/WageProtector.js.map +1 -1
- package/lib/cjs/__test__/WageProtector.test.js +2 -2
- package/lib/cjs/__test__/WageProtector.test.js.map +1 -1
- package/lib/cjs/examples/decodePkcs.js +3 -3
- package/lib/cjs/examples/decodePkcs.js.map +1 -1
- package/lib/cjs/examples/findSs58Formats.js +6 -1
- package/lib/cjs/examples/findSs58Formats.js.map +1 -1
- package/lib/cjs/index.d.ts +9 -9
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -10
- package/lib/cjs/interfaces/augment-api-errors.d.ts +16 -0
- package/lib/cjs/interfaces/augment-api-events.d.ts +678 -149
- package/lib/cjs/interfaces/augment-api-query.d.ts +340 -127
- package/lib/cjs/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/cjs/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/cjs/interfaces/lookup.d.ts +65 -54
- package/lib/cjs/interfaces/lookup.js +655 -411
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +90 -62
- package/lib/esm/WageProtector.d.ts +1 -1
- package/lib/esm/WageProtector.js +3 -2
- package/lib/esm/WageProtector.js.map +1 -1
- package/lib/esm/__test__/WageProtector.test.js +3 -3
- package/lib/esm/__test__/WageProtector.test.js.map +1 -1
- package/lib/esm/examples/decodePkcs.js +8 -8
- package/lib/esm/examples/decodePkcs.js.map +1 -1
- package/lib/esm/examples/findSs58Formats.js +6 -1
- package/lib/esm/examples/findSs58Formats.js.map +1 -1
- package/lib/esm/index.d.ts +9 -9
- package/lib/esm/index.js +7 -7
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/augment-api-consts.d.ts +0 -10
- package/lib/esm/interfaces/augment-api-errors.d.ts +16 -0
- package/lib/esm/interfaces/augment-api-events.d.ts +678 -149
- package/lib/esm/interfaces/augment-api-query.d.ts +340 -127
- package/lib/esm/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/esm/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/esm/interfaces/lookup.d.ts +65 -54
- package/lib/esm/interfaces/lookup.js +655 -411
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/types-lookup.d.ts +90 -62
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/WageProtector.d.ts +1 -1
- package/lib/types/index.d.ts +9 -9
- package/lib/types/interfaces/augment-api-consts.d.ts +0 -10
- package/lib/types/interfaces/augment-api-errors.d.ts +16 -0
- package/lib/types/interfaces/augment-api-events.d.ts +678 -149
- package/lib/types/interfaces/augment-api-query.d.ts +340 -127
- package/lib/types/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/types/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/types/interfaces/lookup.d.ts +65 -54
- package/lib/types/interfaces/types-lookup.d.ts +90 -62
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
|
|
|
3
3
|
import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
|
|
6
|
+
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealAppPublic, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
|
|
7
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
8
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
9
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -13,7 +13,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
13
13
|
/**
|
|
14
14
|
* Author of current block.
|
|
15
15
|
**/
|
|
16
|
-
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
16
|
+
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
17
|
+
]>;
|
|
17
18
|
};
|
|
18
19
|
balances: {
|
|
19
20
|
/**
|
|
@@ -42,15 +43,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
42
43
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
43
44
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
44
45
|
**/
|
|
45
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
46
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
47
|
+
AccountId32
|
|
48
|
+
]>;
|
|
46
49
|
/**
|
|
47
50
|
* Freeze locks on account balances.
|
|
48
51
|
**/
|
|
49
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
52
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
53
|
+
AccountId32
|
|
54
|
+
]>;
|
|
50
55
|
/**
|
|
51
56
|
* Holds on account balances.
|
|
52
57
|
**/
|
|
53
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
58
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
59
|
+
AccountId32
|
|
60
|
+
]>;
|
|
54
61
|
/**
|
|
55
62
|
* The total units of outstanding deactivated balance in the system.
|
|
56
63
|
**/
|
|
@@ -61,13 +68,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
61
68
|
*
|
|
62
69
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
63
70
|
**/
|
|
64
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
71
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
72
|
+
AccountId32
|
|
73
|
+
]>;
|
|
65
74
|
/**
|
|
66
75
|
* Named reserves on some account balances.
|
|
67
76
|
*
|
|
68
77
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
69
78
|
**/
|
|
70
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
79
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
80
|
+
AccountId32
|
|
81
|
+
]>;
|
|
71
82
|
/**
|
|
72
83
|
* The total units issued in the system.
|
|
73
84
|
**/
|
|
@@ -77,15 +88,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
77
88
|
/**
|
|
78
89
|
* Stores the block number where the lock was released
|
|
79
90
|
**/
|
|
80
|
-
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
91
|
+
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
92
|
+
u64
|
|
93
|
+
]>;
|
|
81
94
|
/**
|
|
82
95
|
* Stores bitcoin utxos that have requested to be released
|
|
83
96
|
**/
|
|
84
|
-
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
|
|
97
|
+
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
|
|
98
|
+
u64
|
|
99
|
+
]>;
|
|
85
100
|
/**
|
|
86
101
|
* Utxos that have been requested to be cosigned for releasing
|
|
87
102
|
**/
|
|
88
|
-
locksPendingReleaseByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBitcoinLocksLockReleaseRequest>>, [
|
|
103
|
+
locksPendingReleaseByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBitcoinLocksLockReleaseRequest>>, [
|
|
104
|
+
]>;
|
|
89
105
|
/**
|
|
90
106
|
* The minimum number of satoshis that can be locked
|
|
91
107
|
**/
|
|
@@ -94,23 +110,29 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
94
110
|
/**
|
|
95
111
|
* Mapping of obligation id to lock id
|
|
96
112
|
**/
|
|
97
|
-
obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
113
|
+
obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
114
|
+
u64
|
|
115
|
+
]>;
|
|
98
116
|
/**
|
|
99
117
|
* Stores Utxos that were not paid back in full
|
|
100
118
|
*
|
|
101
119
|
* Tuple stores Account, Vault, Still Owed, State
|
|
102
120
|
**/
|
|
103
|
-
owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [
|
|
121
|
+
owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [
|
|
122
|
+
u64
|
|
123
|
+
]>;
|
|
104
124
|
};
|
|
105
125
|
bitcoinUtxos: {
|
|
106
126
|
/**
|
|
107
127
|
* The genesis set bitcoin network that this chain is tied to
|
|
108
128
|
**/
|
|
109
|
-
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
|
|
129
|
+
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
|
|
130
|
+
]>;
|
|
110
131
|
/**
|
|
111
132
|
* An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
|
|
112
133
|
**/
|
|
113
|
-
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
134
|
+
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
135
|
+
]>;
|
|
114
136
|
/**
|
|
115
137
|
* Check if the inherent was included
|
|
116
138
|
**/
|
|
@@ -118,7 +140,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
118
140
|
/**
|
|
119
141
|
* Expiration date as a day since unix timestamp mapped to Bitcoin UTXOs
|
|
120
142
|
**/
|
|
121
|
-
lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
143
|
+
lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
144
|
+
u64
|
|
145
|
+
]>;
|
|
122
146
|
/**
|
|
123
147
|
* Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
|
|
124
148
|
* the expiration block, the obligation is burned and the UTXO is unlocked.
|
|
@@ -126,54 +150,74 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
126
150
|
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
127
151
|
txid?: any;
|
|
128
152
|
outputIndex?: any;
|
|
129
|
-
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
153
|
+
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
154
|
+
ArgonPrimitivesBitcoinUtxoRef
|
|
155
|
+
]>;
|
|
130
156
|
/**
|
|
131
157
|
* Bitcoin Oracle Operator Account
|
|
132
158
|
**/
|
|
133
|
-
oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
134
|
-
|
|
159
|
+
oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
160
|
+
]>;
|
|
161
|
+
previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
162
|
+
]>;
|
|
135
163
|
/**
|
|
136
164
|
* The last synched bitcoin block
|
|
137
165
|
**/
|
|
138
|
-
synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
166
|
+
synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
167
|
+
]>;
|
|
139
168
|
/**
|
|
140
169
|
* Stores if parent block had a confirmed bitcoin block
|
|
141
170
|
**/
|
|
142
|
-
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
143
|
-
|
|
171
|
+
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
172
|
+
]>;
|
|
173
|
+
utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
174
|
+
u64
|
|
175
|
+
]>;
|
|
144
176
|
/**
|
|
145
177
|
* Bitcoin UTXOs that have been submitted for ownership confirmation
|
|
146
178
|
**/
|
|
147
|
-
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
179
|
+
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
180
|
+
]>;
|
|
148
181
|
};
|
|
149
182
|
blockRewards: {
|
|
150
183
|
/**
|
|
151
184
|
* Bool if block rewards are paused
|
|
152
185
|
**/
|
|
153
186
|
blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
154
|
-
payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [
|
|
187
|
+
payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [
|
|
188
|
+
u32
|
|
189
|
+
]>;
|
|
155
190
|
};
|
|
156
191
|
blockSeal: {
|
|
157
192
|
/**
|
|
158
193
|
* The calculated strength in the runtime so that it can be
|
|
159
194
|
* upgraded, but is used by the node to determine which fork to follow
|
|
160
195
|
**/
|
|
161
|
-
blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, [
|
|
162
|
-
|
|
196
|
+
blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, [
|
|
197
|
+
]>;
|
|
198
|
+
/**
|
|
199
|
+
* Is the block from a vote seal?
|
|
200
|
+
**/
|
|
201
|
+
isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
202
|
+
lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, [
|
|
203
|
+
]>;
|
|
163
204
|
lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
164
205
|
/**
|
|
165
206
|
* The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
|
|
166
207
|
* Secret + VotesMerkleRoot of the parent block notebooks.
|
|
167
208
|
**/
|
|
168
|
-
parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
209
|
+
parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
210
|
+
]>;
|
|
169
211
|
/**
|
|
170
212
|
* Ensures only a single inherent is applied
|
|
171
213
|
**/
|
|
172
|
-
tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, [
|
|
214
|
+
tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, [
|
|
215
|
+
]>;
|
|
173
216
|
/**
|
|
174
217
|
* The count of votes in the last 3 ticks
|
|
175
218
|
**/
|
|
176
|
-
votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, [
|
|
219
|
+
votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, [
|
|
220
|
+
]>;
|
|
177
221
|
};
|
|
178
222
|
blockSealSpec: {
|
|
179
223
|
/**
|
|
@@ -181,62 +225,88 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
181
225
|
* minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
|
|
182
226
|
* target a max number of votes
|
|
183
227
|
**/
|
|
184
|
-
currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
228
|
+
currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
229
|
+
]>;
|
|
185
230
|
/**
|
|
186
231
|
* The key K is selected to be the hash of a block in the blockchain - this block is called
|
|
187
232
|
* the 'key block'. For optimal mining and verification performance, the key should
|
|
188
233
|
* change every day
|
|
189
234
|
**/
|
|
190
|
-
currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
235
|
+
currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
236
|
+
]>;
|
|
191
237
|
/**
|
|
192
238
|
* The current vote minimum of the chain. Block votes use this minimum to determine the
|
|
193
239
|
* minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
|
|
194
240
|
* target a max number of votes
|
|
195
241
|
**/
|
|
196
242
|
currentVoteMinimum: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
197
|
-
pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, [
|
|
198
|
-
|
|
243
|
+
pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, [
|
|
244
|
+
]>;
|
|
245
|
+
pastComputeBlockTimes: AugmentedQuery<ApiType, () => Observable<Vec<u64>>, [
|
|
246
|
+
]>;
|
|
199
247
|
/**
|
|
200
248
|
* The timestamp from the previous block
|
|
201
249
|
**/
|
|
202
|
-
previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
203
|
-
|
|
250
|
+
previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
251
|
+
]>;
|
|
252
|
+
tempBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
253
|
+
]>;
|
|
204
254
|
/**
|
|
205
255
|
* Temporary store the vote digest
|
|
206
256
|
**/
|
|
207
|
-
tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, [
|
|
257
|
+
tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, [
|
|
258
|
+
]>;
|
|
208
259
|
/**
|
|
209
260
|
* Temporary store of any current tick notebooks included in this block (vs tick)
|
|
210
261
|
**/
|
|
211
|
-
tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, [
|
|
262
|
+
tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, [
|
|
263
|
+
]>;
|
|
212
264
|
/**
|
|
213
265
|
* Keeps the last 3 vote minimums. The first one applies to the current block.
|
|
214
266
|
**/
|
|
215
|
-
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, [
|
|
267
|
+
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, [
|
|
268
|
+
]>;
|
|
216
269
|
};
|
|
217
270
|
chainTransfer: {
|
|
218
|
-
expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
271
|
+
expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
272
|
+
u32,
|
|
273
|
+
u64
|
|
274
|
+
]>;
|
|
219
275
|
/**
|
|
220
276
|
* The admin of the hyperbridge token gateway
|
|
221
277
|
**/
|
|
222
|
-
hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
278
|
+
hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
279
|
+
]>;
|
|
280
|
+
nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
281
|
+
]>;
|
|
282
|
+
pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [
|
|
283
|
+
u32
|
|
284
|
+
]>;
|
|
285
|
+
transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [
|
|
286
|
+
u32
|
|
287
|
+
]>;
|
|
226
288
|
};
|
|
227
289
|
digests: {
|
|
228
|
-
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
290
|
+
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
291
|
+
]>;
|
|
229
292
|
};
|
|
230
293
|
domains: {
|
|
231
|
-
expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
232
|
-
|
|
233
|
-
|
|
294
|
+
expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
295
|
+
u64
|
|
296
|
+
]>;
|
|
297
|
+
registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [
|
|
298
|
+
H256
|
|
299
|
+
]>;
|
|
300
|
+
zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [
|
|
301
|
+
H256
|
|
302
|
+
]>;
|
|
234
303
|
};
|
|
235
304
|
grandpa: {
|
|
236
305
|
/**
|
|
237
306
|
* The current list of authorities.
|
|
238
307
|
**/
|
|
239
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
308
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
309
|
+
]>;
|
|
240
310
|
/**
|
|
241
311
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
242
312
|
* in the "set" of Grandpa validators from genesis.
|
|
@@ -249,7 +319,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
249
319
|
/**
|
|
250
320
|
* Pending change: (signaled at, scheduled change).
|
|
251
321
|
**/
|
|
252
|
-
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
322
|
+
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
323
|
+
]>;
|
|
253
324
|
/**
|
|
254
325
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
255
326
|
* members were responsible.
|
|
@@ -262,21 +333,26 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
262
333
|
*
|
|
263
334
|
* TWOX-NOTE: `SetId` is not under user control.
|
|
264
335
|
**/
|
|
265
|
-
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
336
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
337
|
+
u64
|
|
338
|
+
]>;
|
|
266
339
|
/**
|
|
267
340
|
* `true` if we are currently stalled.
|
|
268
341
|
**/
|
|
269
|
-
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, [
|
|
342
|
+
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, [
|
|
343
|
+
]>;
|
|
270
344
|
/**
|
|
271
345
|
* State of the current authority set.
|
|
272
346
|
**/
|
|
273
|
-
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, [
|
|
347
|
+
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, [
|
|
348
|
+
]>;
|
|
274
349
|
};
|
|
275
350
|
hyperbridge: {
|
|
276
351
|
/**
|
|
277
352
|
* The host parameters of the pallet-hyperbridge.
|
|
278
353
|
**/
|
|
279
|
-
hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, [
|
|
354
|
+
hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, [
|
|
355
|
+
]>;
|
|
280
356
|
};
|
|
281
357
|
ismp: {
|
|
282
358
|
/**
|
|
@@ -285,7 +361,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
285
361
|
challengePeriod: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
286
362
|
stateId?: any;
|
|
287
363
|
consensusStateId?: any;
|
|
288
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
364
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
365
|
+
IsmpConsensusStateMachineId
|
|
366
|
+
]>;
|
|
289
367
|
/**
|
|
290
368
|
* The child trie root of messages
|
|
291
369
|
**/
|
|
@@ -294,27 +372,37 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
294
372
|
* Holds the timestamp at which a consensus client was recently updated.
|
|
295
373
|
* Used in ensuring that the configured challenge period elapses.
|
|
296
374
|
**/
|
|
297
|
-
consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
375
|
+
consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
376
|
+
U8aFixed
|
|
377
|
+
]>;
|
|
298
378
|
/**
|
|
299
379
|
* A mapping of consensus state identifier to it's associated consensus client identifier
|
|
300
380
|
**/
|
|
301
|
-
consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [
|
|
381
|
+
consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [
|
|
382
|
+
U8aFixed
|
|
383
|
+
]>;
|
|
302
384
|
/**
|
|
303
385
|
* Holds a map of consensus state identifiers to their consensus state.
|
|
304
386
|
**/
|
|
305
|
-
consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
387
|
+
consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
388
|
+
U8aFixed
|
|
389
|
+
]>;
|
|
306
390
|
/**
|
|
307
391
|
* Holds a map of consensus clients frozen due to byzantine
|
|
308
392
|
* behaviour
|
|
309
393
|
**/
|
|
310
|
-
frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [
|
|
394
|
+
frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [
|
|
395
|
+
U8aFixed
|
|
396
|
+
]>;
|
|
311
397
|
/**
|
|
312
398
|
* The latest verified height for a state machine
|
|
313
399
|
**/
|
|
314
400
|
latestStateMachineHeight: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
315
401
|
stateId?: any;
|
|
316
402
|
consensusStateId?: any;
|
|
317
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
403
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
404
|
+
IsmpConsensusStateMachineId
|
|
405
|
+
]>;
|
|
318
406
|
/**
|
|
319
407
|
* Latest nonce for messages sent from this chain
|
|
320
408
|
**/
|
|
@@ -323,7 +411,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
323
411
|
* Tracks requests that have been responded to
|
|
324
412
|
* The key is the request commitment
|
|
325
413
|
**/
|
|
326
|
-
responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [
|
|
414
|
+
responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [
|
|
415
|
+
H256
|
|
416
|
+
]>;
|
|
327
417
|
/**
|
|
328
418
|
* Holds a map of state machine heights to their verified state commitments. These state
|
|
329
419
|
* commitments end up here after they are successfully verified by a `ConsensusClient`
|
|
@@ -331,7 +421,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
331
421
|
stateCommitments: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
332
422
|
id?: any;
|
|
333
423
|
height?: any;
|
|
334
|
-
} | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [
|
|
424
|
+
} | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [
|
|
425
|
+
IsmpConsensusStateMachineHeight
|
|
426
|
+
]>;
|
|
335
427
|
/**
|
|
336
428
|
* Holds the timestamp at which a state machine height was updated.
|
|
337
429
|
* Used in ensuring that the configured challenge period elapses.
|
|
@@ -339,11 +431,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
339
431
|
stateMachineUpdateTime: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
340
432
|
id?: any;
|
|
341
433
|
height?: any;
|
|
342
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
434
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
435
|
+
IsmpConsensusStateMachineHeight
|
|
436
|
+
]>;
|
|
343
437
|
/**
|
|
344
438
|
* A mapping of consensus state identifiers to their unbonding periods
|
|
345
439
|
**/
|
|
346
|
-
unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
440
|
+
unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
441
|
+
U8aFixed
|
|
442
|
+
]>;
|
|
347
443
|
};
|
|
348
444
|
ismpGrandpa: {
|
|
349
445
|
/**
|
|
@@ -359,52 +455,72 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
359
455
|
Substrate: any;
|
|
360
456
|
} | {
|
|
361
457
|
Tendermint: any;
|
|
362
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
458
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
459
|
+
IsmpHostStateMachine
|
|
460
|
+
]>;
|
|
363
461
|
};
|
|
364
462
|
miningSlot: {
|
|
365
463
|
/**
|
|
366
464
|
* Lookup by account id to the corresponding index in ActiveMinersByIndex and Authorities
|
|
367
465
|
**/
|
|
368
|
-
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
466
|
+
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
467
|
+
AccountId32
|
|
468
|
+
]>;
|
|
369
469
|
/**
|
|
370
470
|
* Miners that are active in the current block (post initialize)
|
|
371
471
|
**/
|
|
372
|
-
activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
472
|
+
activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
473
|
+
u32
|
|
474
|
+
]>;
|
|
373
475
|
activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
|
|
374
476
|
/**
|
|
375
477
|
* Argonots that must be locked to take a Miner role
|
|
376
478
|
**/
|
|
377
|
-
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
479
|
+
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
480
|
+
]>;
|
|
378
481
|
/**
|
|
379
482
|
* Authorities are the session keys that are actively participating in the network.
|
|
380
483
|
* The tuple is the authority, and the blake2 256 hash of the authority used for xor lookups
|
|
381
484
|
**/
|
|
382
|
-
authorityHashByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, [
|
|
485
|
+
authorityHashByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, [
|
|
486
|
+
]>;
|
|
383
487
|
/**
|
|
384
|
-
*
|
|
488
|
+
* Keys in use
|
|
385
489
|
**/
|
|
386
|
-
|
|
387
|
-
|
|
490
|
+
authorityIdToMinerId: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBlockSealAppPublic | string | Uint8Array) => Observable<Option<AccountId32>>, [
|
|
491
|
+
ArgonPrimitivesBlockSealAppPublic
|
|
492
|
+
]>;
|
|
493
|
+
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
494
|
+
]>;
|
|
388
495
|
/**
|
|
389
496
|
* The number of bids per slot for the last 10 slots (newest first)
|
|
390
497
|
**/
|
|
391
|
-
historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, [
|
|
498
|
+
historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, [
|
|
499
|
+
]>;
|
|
392
500
|
/**
|
|
393
501
|
* Is the next slot still open for bids
|
|
394
502
|
**/
|
|
395
|
-
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
503
|
+
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
504
|
+
]>;
|
|
505
|
+
/**
|
|
506
|
+
* The last activated cohort id
|
|
507
|
+
**/
|
|
508
|
+
lastActivatedCohortId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
396
509
|
/**
|
|
397
510
|
* The mining slot configuration set in genesis
|
|
398
511
|
**/
|
|
399
|
-
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
|
|
512
|
+
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
|
|
513
|
+
]>;
|
|
400
514
|
/**
|
|
401
515
|
* The cohort set to go into effect in the next slot. The Vec has all
|
|
402
516
|
* registrants with their bid amount
|
|
403
517
|
**/
|
|
404
|
-
nextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
518
|
+
nextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
519
|
+
]>;
|
|
405
520
|
};
|
|
406
521
|
mint: {
|
|
407
|
-
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
|
|
522
|
+
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
|
|
523
|
+
]>;
|
|
408
524
|
mintedBitcoinArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
|
|
409
525
|
mintedMiningArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
|
|
410
526
|
/**
|
|
@@ -412,24 +528,37 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
412
528
|
* a) CPI >= 0 and
|
|
413
529
|
* b) the aggregate minted Bitcoins <= the aggregate minted Argons from mining
|
|
414
530
|
**/
|
|
415
|
-
pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, [
|
|
531
|
+
pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, [
|
|
532
|
+
]>;
|
|
416
533
|
};
|
|
417
534
|
multisig: {
|
|
418
535
|
/**
|
|
419
536
|
* The set of open multisig operations.
|
|
420
537
|
**/
|
|
421
|
-
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [
|
|
538
|
+
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [
|
|
539
|
+
AccountId32,
|
|
540
|
+
U8aFixed
|
|
541
|
+
]>;
|
|
422
542
|
};
|
|
423
543
|
notaries: {
|
|
424
|
-
activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, [
|
|
425
|
-
|
|
544
|
+
activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, [
|
|
545
|
+
]>;
|
|
546
|
+
expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [
|
|
547
|
+
u32
|
|
548
|
+
]>;
|
|
426
549
|
nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
427
|
-
notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [
|
|
428
|
-
|
|
550
|
+
notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [
|
|
551
|
+
u32
|
|
552
|
+
]>;
|
|
553
|
+
proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [
|
|
554
|
+
AccountId32
|
|
555
|
+
]>;
|
|
429
556
|
/**
|
|
430
557
|
* Metadata changes to be activated at the given tick
|
|
431
558
|
**/
|
|
432
|
-
queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [
|
|
559
|
+
queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [
|
|
560
|
+
u64
|
|
561
|
+
]>;
|
|
433
562
|
};
|
|
434
563
|
notebook: {
|
|
435
564
|
/**
|
|
@@ -440,11 +569,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
440
569
|
accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | {
|
|
441
570
|
notebookNumber?: any;
|
|
442
571
|
accountUid?: any;
|
|
443
|
-
} | string | Uint8Array) => Observable<Option<u32>>, [
|
|
572
|
+
} | string | Uint8Array) => Observable<Option<u32>>, [
|
|
573
|
+
u32,
|
|
574
|
+
ArgonPrimitivesBalanceChangeAccountOrigin
|
|
575
|
+
]>;
|
|
444
576
|
/**
|
|
445
577
|
* The notebooks included in this block
|
|
446
578
|
**/
|
|
447
|
-
blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, [
|
|
579
|
+
blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, [
|
|
580
|
+
]>;
|
|
448
581
|
/**
|
|
449
582
|
* Check if the inherent was included
|
|
450
583
|
**/
|
|
@@ -453,19 +586,28 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
453
586
|
* List of last few notebook details by notary. The bool is whether the notebook is eligible
|
|
454
587
|
* for votes (received at correct tick and audit passed)
|
|
455
588
|
**/
|
|
456
|
-
lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [
|
|
589
|
+
lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [
|
|
590
|
+
u32
|
|
591
|
+
]>;
|
|
457
592
|
/**
|
|
458
593
|
* Notaries ready to start reprocessing at a given notebook number
|
|
459
594
|
**/
|
|
460
|
-
lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
595
|
+
lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
596
|
+
u32
|
|
597
|
+
]>;
|
|
461
598
|
/**
|
|
462
599
|
* Notaries locked for failing audits
|
|
463
600
|
**/
|
|
464
|
-
notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [
|
|
601
|
+
notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [
|
|
602
|
+
u32
|
|
603
|
+
]>;
|
|
465
604
|
/**
|
|
466
605
|
* Double storage map of notary id + notebook # to the change root
|
|
467
606
|
**/
|
|
468
|
-
notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
607
|
+
notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
608
|
+
u32,
|
|
609
|
+
u32
|
|
610
|
+
]>;
|
|
469
611
|
};
|
|
470
612
|
ownership: {
|
|
471
613
|
/**
|
|
@@ -494,15 +636,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
494
636
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
495
637
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
496
638
|
**/
|
|
497
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
639
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
640
|
+
AccountId32
|
|
641
|
+
]>;
|
|
498
642
|
/**
|
|
499
643
|
* Freeze locks on account balances.
|
|
500
644
|
**/
|
|
501
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
645
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
646
|
+
AccountId32
|
|
647
|
+
]>;
|
|
502
648
|
/**
|
|
503
649
|
* Holds on account balances.
|
|
504
650
|
**/
|
|
505
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
651
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
652
|
+
AccountId32
|
|
653
|
+
]>;
|
|
506
654
|
/**
|
|
507
655
|
* The total units of outstanding deactivated balance in the system.
|
|
508
656
|
**/
|
|
@@ -513,13 +661,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
513
661
|
*
|
|
514
662
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
515
663
|
**/
|
|
516
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
664
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
665
|
+
AccountId32
|
|
666
|
+
]>;
|
|
517
667
|
/**
|
|
518
668
|
* Named reserves on some account balances.
|
|
519
669
|
*
|
|
520
670
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
521
671
|
**/
|
|
522
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
672
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
673
|
+
AccountId32
|
|
674
|
+
]>;
|
|
523
675
|
/**
|
|
524
676
|
* The total units issued in the system.
|
|
525
677
|
**/
|
|
@@ -529,22 +681,28 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
529
681
|
/**
|
|
530
682
|
* Stores the active price index
|
|
531
683
|
**/
|
|
532
|
-
current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, [
|
|
684
|
+
current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, [
|
|
685
|
+
]>;
|
|
533
686
|
/**
|
|
534
687
|
* The price index operator account
|
|
535
688
|
**/
|
|
536
|
-
operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
689
|
+
operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
690
|
+
]>;
|
|
537
691
|
};
|
|
538
692
|
proxy: {
|
|
539
693
|
/**
|
|
540
694
|
* The announcements made by the proxy (key).
|
|
541
695
|
**/
|
|
542
|
-
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [
|
|
696
|
+
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [
|
|
697
|
+
AccountId32
|
|
698
|
+
]>;
|
|
543
699
|
/**
|
|
544
700
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
545
701
|
* which are being delegated to, together with the amount held on deposit.
|
|
546
702
|
**/
|
|
547
|
-
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [
|
|
703
|
+
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [
|
|
704
|
+
AccountId32
|
|
705
|
+
]>;
|
|
548
706
|
};
|
|
549
707
|
sudo: {
|
|
550
708
|
/**
|
|
@@ -556,23 +714,30 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
556
714
|
/**
|
|
557
715
|
* The full account information for a particular account ID.
|
|
558
716
|
**/
|
|
559
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
717
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
718
|
+
AccountId32
|
|
719
|
+
]>;
|
|
560
720
|
/**
|
|
561
721
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
562
722
|
**/
|
|
563
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
723
|
+
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
724
|
+
]>;
|
|
564
725
|
/**
|
|
565
726
|
* `Some` if a code upgrade has been authorized.
|
|
566
727
|
**/
|
|
567
|
-
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
728
|
+
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
729
|
+
]>;
|
|
568
730
|
/**
|
|
569
731
|
* Map of block numbers to block hashes.
|
|
570
732
|
**/
|
|
571
|
-
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
733
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
734
|
+
u32
|
|
735
|
+
]>;
|
|
572
736
|
/**
|
|
573
737
|
* The current weight for the block.
|
|
574
738
|
**/
|
|
575
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
739
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
740
|
+
]>;
|
|
576
741
|
/**
|
|
577
742
|
* Digest of the current block, also part of the block header.
|
|
578
743
|
**/
|
|
@@ -590,7 +755,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
590
755
|
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
591
756
|
* just in case someone still reads them from within the runtime.
|
|
592
757
|
**/
|
|
593
|
-
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, [
|
|
758
|
+
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, [
|
|
759
|
+
]>;
|
|
594
760
|
/**
|
|
595
761
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
596
762
|
* of events in the `<Events<T>>` list.
|
|
@@ -603,19 +769,25 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
603
769
|
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
604
770
|
* no notification will be triggered thus the event might be lost.
|
|
605
771
|
**/
|
|
606
|
-
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
772
|
+
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
773
|
+
H256
|
|
774
|
+
]>;
|
|
607
775
|
/**
|
|
608
776
|
* The execution phase of the block.
|
|
609
777
|
**/
|
|
610
|
-
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, [
|
|
778
|
+
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, [
|
|
779
|
+
]>;
|
|
611
780
|
/**
|
|
612
781
|
* Total extrinsics count for the current block.
|
|
613
782
|
**/
|
|
614
|
-
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
783
|
+
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
784
|
+
]>;
|
|
615
785
|
/**
|
|
616
786
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
617
787
|
**/
|
|
618
|
-
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
788
|
+
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
789
|
+
u32
|
|
790
|
+
]>;
|
|
619
791
|
/**
|
|
620
792
|
* Whether all inherents have been applied.
|
|
621
793
|
**/
|
|
@@ -623,7 +795,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
623
795
|
/**
|
|
624
796
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
625
797
|
**/
|
|
626
|
-
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
798
|
+
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
799
|
+
]>;
|
|
627
800
|
/**
|
|
628
801
|
* The current block number being processed. Set by `execute_block`.
|
|
629
802
|
**/
|
|
@@ -636,22 +809,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
636
809
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
637
810
|
* (default) if not.
|
|
638
811
|
**/
|
|
639
|
-
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
812
|
+
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
813
|
+
]>;
|
|
640
814
|
/**
|
|
641
815
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
642
816
|
**/
|
|
643
|
-
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
817
|
+
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
818
|
+
]>;
|
|
644
819
|
};
|
|
645
820
|
ticks: {
|
|
646
821
|
currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
647
822
|
genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
648
|
-
genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, [
|
|
823
|
+
genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, [
|
|
824
|
+
]>;
|
|
649
825
|
previousTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
650
826
|
/**
|
|
651
827
|
* Blocks from the last 100 ticks. Trimmed in on_initialize.
|
|
652
828
|
* NOTE: cannot include the current block hash until next block
|
|
653
829
|
**/
|
|
654
|
-
recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
830
|
+
recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
831
|
+
u64
|
|
832
|
+
]>;
|
|
655
833
|
};
|
|
656
834
|
timestamp: {
|
|
657
835
|
/**
|
|
@@ -671,11 +849,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
671
849
|
* Assets supported by this instance of token gateway
|
|
672
850
|
* A map of the token gateway asset id to the local asset id
|
|
673
851
|
**/
|
|
674
|
-
localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
852
|
+
localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
853
|
+
H256
|
|
854
|
+
]>;
|
|
675
855
|
/**
|
|
676
856
|
* Assets that originate from this chain
|
|
677
857
|
**/
|
|
678
|
-
nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
858
|
+
nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
859
|
+
u32
|
|
860
|
+
]>;
|
|
679
861
|
/**
|
|
680
862
|
* The decimals used by the EVM counterpart of this asset
|
|
681
863
|
**/
|
|
@@ -689,12 +871,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
689
871
|
Substrate: any;
|
|
690
872
|
} | {
|
|
691
873
|
Tendermint: any;
|
|
692
|
-
} | string | Uint8Array) => Observable<Option<u8>>, [
|
|
874
|
+
} | string | Uint8Array) => Observable<Option<u8>>, [
|
|
875
|
+
u32,
|
|
876
|
+
IsmpHostStateMachine
|
|
877
|
+
]>;
|
|
693
878
|
/**
|
|
694
879
|
* Assets supported by this instance of token gateway
|
|
695
880
|
* A map of the local asset id to the token gateway asset id
|
|
696
881
|
**/
|
|
697
|
-
supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
882
|
+
supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
883
|
+
u32
|
|
884
|
+
]>;
|
|
698
885
|
/**
|
|
699
886
|
* The token gateway adresses on different chains
|
|
700
887
|
**/
|
|
@@ -708,52 +895,78 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
708
895
|
Substrate: any;
|
|
709
896
|
} | {
|
|
710
897
|
Tendermint: any;
|
|
711
|
-
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
898
|
+
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
899
|
+
IsmpHostStateMachine
|
|
900
|
+
]>;
|
|
712
901
|
};
|
|
713
902
|
transactionPayment: {
|
|
714
903
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
715
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
904
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
905
|
+
]>;
|
|
716
906
|
};
|
|
717
907
|
txPause: {
|
|
718
908
|
/**
|
|
719
909
|
* The set of calls that are explicitly paused.
|
|
720
910
|
**/
|
|
721
|
-
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [
|
|
911
|
+
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [
|
|
912
|
+
ITuple<[Bytes, Bytes]>
|
|
913
|
+
]>;
|
|
722
914
|
};
|
|
723
915
|
vaults: {
|
|
724
916
|
/**
|
|
725
917
|
* Completion of bitcoin locks by bitcoin height. Funds are returned to the vault if
|
|
726
918
|
* unlocked or used as the price of the bitcoin
|
|
727
919
|
**/
|
|
728
|
-
bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
920
|
+
bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
921
|
+
u64
|
|
922
|
+
]>;
|
|
729
923
|
/**
|
|
730
924
|
* Completion of mining obligation, upon which funds are returned to the vault
|
|
731
925
|
**/
|
|
732
|
-
bondedArgonCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
733
|
-
|
|
926
|
+
bondedArgonCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
927
|
+
u64
|
|
928
|
+
]>;
|
|
929
|
+
nextObligationId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
930
|
+
]>;
|
|
734
931
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
735
932
|
/**
|
|
736
933
|
* Obligation by id
|
|
737
934
|
**/
|
|
738
|
-
obligationsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultObligation>>, [
|
|
935
|
+
obligationsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultObligation>>, [
|
|
936
|
+
u64
|
|
937
|
+
]>;
|
|
938
|
+
/**
|
|
939
|
+
* Pending base fee hold releases
|
|
940
|
+
**/
|
|
941
|
+
pendingBaseFeeMaturationByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128, u32, u64]>>>, [
|
|
942
|
+
u64
|
|
943
|
+
]>;
|
|
739
944
|
/**
|
|
740
945
|
* Pending funding that will be committed at the given block number (must be a minimum of 1
|
|
741
946
|
* slot change away)
|
|
742
947
|
**/
|
|
743
|
-
pendingFundingModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
948
|
+
pendingFundingModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
949
|
+
u64
|
|
950
|
+
]>;
|
|
744
951
|
/**
|
|
745
952
|
* Pending terms that will be committed at the given block number (must be a minimum of 1 slot
|
|
746
953
|
* change away)
|
|
747
954
|
**/
|
|
748
|
-
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
955
|
+
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
956
|
+
u64
|
|
957
|
+
]>;
|
|
749
958
|
/**
|
|
750
959
|
* Vaults by id
|
|
751
960
|
**/
|
|
752
|
-
vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [
|
|
961
|
+
vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [
|
|
962
|
+
u32
|
|
963
|
+
]>;
|
|
753
964
|
/**
|
|
754
965
|
* Vault Bitcoin Xpub and current child counter by VaultId
|
|
755
966
|
**/
|
|
756
|
-
vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [
|
|
967
|
+
vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [
|
|
968
|
+
u32
|
|
969
|
+
]>;
|
|
757
970
|
};
|
|
758
971
|
}
|
|
759
972
|
}
|