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