@argonprotocol/mainchain 1.4.3-dev.5e4d8d6a → 1.4.3-dev.6de0a801

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.
@@ -6,95 +6,10 @@
6
6
  import type {} from '@polkadot/api-base/types/storage';
7
7
 
8
8
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
9
- import type {
10
- BTreeMap,
11
- BTreeSet,
12
- Bytes,
13
- Null,
14
- Option,
15
- U8aFixed,
16
- Vec,
17
- bool,
18
- u128,
19
- u16,
20
- u32,
21
- u64,
22
- u8,
23
- } from '@polkadot/types-codec';
9
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
24
10
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
25
11
  import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
26
- import type {
27
- ArgonNotaryAuditErrorVerifyError,
28
- ArgonPrimitivesBalanceChangeAccountOrigin,
29
- ArgonPrimitivesBitcoinBitcoinBlock,
30
- ArgonPrimitivesBitcoinBitcoinNetwork,
31
- ArgonPrimitivesBitcoinBitcoinXPub,
32
- ArgonPrimitivesBitcoinUtxoRef,
33
- ArgonPrimitivesBitcoinUtxoValue,
34
- ArgonPrimitivesBlockSealBlockPayout,
35
- ArgonPrimitivesBlockSealMiningBidStats,
36
- ArgonPrimitivesBlockSealMiningRegistration,
37
- ArgonPrimitivesBlockSealMiningSlotConfig,
38
- ArgonPrimitivesDigestsBlockVoteDigest,
39
- ArgonPrimitivesDigestsDigestset,
40
- ArgonPrimitivesDigestsFrameInfo,
41
- ArgonPrimitivesDigestsNotebookDigest,
42
- ArgonPrimitivesDomainZoneRecord,
43
- ArgonPrimitivesEthereumEthereumBeaconPreset,
44
- ArgonPrimitivesForkPower,
45
- ArgonPrimitivesInherentsBlockSealInherent,
46
- ArgonPrimitivesNotaryNotaryMeta,
47
- ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
48
- ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
49
- ArgonPrimitivesNotaryNotaryRecord,
50
- ArgonPrimitivesProvidersBlockSealerInfo,
51
- ArgonPrimitivesTickTicker,
52
- ArgonPrimitivesVault,
53
- FrameSupportDispatchPerDispatchClassWeight,
54
- FrameSupportTokensFungibleImbalance,
55
- FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
56
- FrameSupportTokensMiscIdAmountRuntimeHoldReason,
57
- FrameSystemAccountInfo,
58
- FrameSystemCodeUpgradeAuthorization,
59
- FrameSystemEventRecord,
60
- FrameSystemLastRuntimeUpgradeInfo,
61
- FrameSystemPhase,
62
- PalletBalancesAccountData,
63
- PalletBalancesBalanceLock,
64
- PalletBalancesReserveData,
65
- PalletBitcoinLocksLockReleaseRequest,
66
- PalletBitcoinLocksLockedBitcoin,
67
- PalletBitcoinLocksOrphanedUtxo,
68
- PalletCrosschainTransferChainConfig,
69
- PalletCrosschainTransferSourceChain,
70
- PalletDomainsDomainRegistration,
71
- PalletEthereumVerifierBasicOperatingMode,
72
- PalletEthereumVerifierExecutionHeaderAnchor,
73
- PalletEthereumVerifierFinalizedBeaconHeaderState,
74
- PalletEthereumVerifierForkVersions,
75
- PalletEthereumVerifierSyncCommitteePrepared,
76
- PalletGrandpaStoredPendingChange,
77
- PalletGrandpaStoredState,
78
- PalletLocalchainTransferQueuedTransferOut,
79
- PalletMiningSlotMinerNonceScoring,
80
- PalletMintMintAction,
81
- PalletMultisigMultisig,
82
- PalletOperationalAccountsOperationalAccount,
83
- PalletOperationalAccountsRewardsConfig,
84
- PalletPriceIndexCpiMeasurementBucket,
85
- PalletPriceIndexPriceIndex,
86
- PalletProxyAnnouncement,
87
- PalletProxyProxyDefinition,
88
- PalletTransactionPaymentReleases,
89
- PalletTreasuryBondLot,
90
- PalletTreasuryBondLotSummary,
91
- PalletTreasuryFrameVaultCapital,
92
- PalletVaultsRecentCapacityDrop,
93
- PalletVaultsVaultFrameRevenue,
94
- SpConsensusGrandpaAppPublic,
95
- SpRuntimeDigest,
96
- SpWeightsWeightV2Weight,
97
- } from '@polkadot/types/lookup';
12
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletCrosschainTransferChainConfig, PalletCrosschainTransferSourceChain, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotMinerNonceScoring, PalletMintMintAction, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, SpConsensusGrandpaAppPublic, SpRuntimeDigest, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
98
13
  import type { Observable } from '@polkadot/types/types';
99
14
 
100
15
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -111,55 +26,39 @@ declare module '@polkadot/api-base/types/storage' {
111
26
  balances: {
112
27
  /**
113
28
  * The Balances pallet example of storing the balance of an account.
114
- *
29
+ *
115
30
  * # Example
116
- *
31
+ *
117
32
  * ```nocompile
118
33
  * impl pallet_balances::Config for Runtime {
119
34
  * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
120
35
  * }
121
36
  * ```
122
- *
37
+ *
123
38
  * You can also store the balance of an account in the `System` pallet.
124
- *
39
+ *
125
40
  * # Example
126
- *
41
+ *
127
42
  * ```nocompile
128
43
  * impl pallet_balances::Config for Runtime {
129
44
  * type AccountStore = System
130
45
  * }
131
46
  * ```
132
- *
47
+ *
133
48
  * But this comes with tradeoffs, storing account balances in the system pallet stores
134
49
  * `frame_system` data alongside the account data contrary to storing account balances in the
135
50
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
136
51
  * NOTE: This is only used in the case that this pallet is used to store balances.
137
52
  **/
138
- account: AugmentedQuery<
139
- ApiType,
140
- (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
141
- [AccountId32]
142
- >;
53
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
143
54
  /**
144
55
  * Freeze locks on account balances.
145
56
  **/
146
- freezes: AugmentedQuery<
147
- ApiType,
148
- (
149
- arg: AccountId32 | string | Uint8Array,
150
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
151
- [AccountId32]
152
- >;
57
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
153
58
  /**
154
59
  * Holds on account balances.
155
60
  **/
156
- holds: AugmentedQuery<
157
- ApiType,
158
- (
159
- arg: AccountId32 | string | Uint8Array,
160
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
161
- [AccountId32]
162
- >;
61
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
163
62
  /**
164
63
  * The total units of outstanding deactivated balance in the system.
165
64
  **/
@@ -167,24 +66,16 @@ declare module '@polkadot/api-base/types/storage' {
167
66
  /**
168
67
  * Any liquidity locks on some account balances.
169
68
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
170
- *
69
+ *
171
70
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
172
71
  **/
173
- locks: AugmentedQuery<
174
- ApiType,
175
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
176
- [AccountId32]
177
- >;
72
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
178
73
  /**
179
74
  * Named reserves on some account balances.
180
- *
75
+ *
181
76
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
182
77
  **/
183
- reserves: AugmentedQuery<
184
- ApiType,
185
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
186
- [AccountId32]
187
- >;
78
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
188
79
  /**
189
80
  * The total units issued in the system.
190
81
  **/
@@ -194,54 +85,28 @@ declare module '@polkadot/api-base/types/storage' {
194
85
  /**
195
86
  * Utxos that have been requested to be cosigned for releasing
196
87
  **/
197
- lockCosignDueByFrame: AugmentedQuery<
198
- ApiType,
199
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
200
- [u64]
201
- >;
88
+ lockCosignDueByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
202
89
  /**
203
90
  * Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
204
91
  * unlock it. Bitcoin will go to vault
205
92
  **/
206
- lockExpirationsByBitcoinHeight: AugmentedQuery<
207
- ApiType,
208
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
209
- [u64]
210
- >;
93
+ lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
211
94
  /**
212
95
  * Stores the block number where a release was cosigned by the vault.
213
96
  **/
214
- lockReleaseCosignHeightById: AugmentedQuery<
215
- ApiType,
216
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
217
- [u64]
218
- >;
97
+ lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
219
98
  /**
220
99
  * Stores bitcoin locks that have requested to be released
221
100
  **/
222
- lockReleaseRequestsByUtxoId: AugmentedQuery<
223
- ApiType,
224
- (
225
- arg: u64 | AnyNumber | Uint8Array,
226
- ) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>,
227
- [u64]
228
- >;
101
+ lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [u64]>;
229
102
  /**
230
103
  * Stores bitcoin utxos that have requested to be released
231
104
  **/
232
- locksByUtxoId: AugmentedQuery<
233
- ApiType,
234
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>,
235
- [u64]
236
- >;
105
+ locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [u64]>;
237
106
  /**
238
107
  * History of target microgons per btc.
239
108
  **/
240
- microgonPerBtcHistory: AugmentedQuery<
241
- ApiType,
242
- () => Observable<Vec<ITuple<[u64, u128]>>>,
243
- []
244
- >;
109
+ microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, []>;
245
110
  /**
246
111
  * The minimum number of satoshis that can be locked
247
112
  **/
@@ -250,75 +115,33 @@ declare module '@polkadot/api-base/types/storage' {
250
115
  /**
251
116
  * Expiration of orphaned utxo refs by user account
252
117
  **/
253
- orphanedUtxoExpirationByFrame: AugmentedQuery<
254
- ApiType,
255
- (
256
- arg: u64 | AnyNumber | Uint8Array,
257
- ) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>,
258
- [u64]
259
- >;
118
+ orphanedUtxoExpirationByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>, [u64]>;
260
119
  /**
261
120
  * Mismatched utxos that were sent with invalid amounts to a locked bitcoin
262
121
  **/
263
- orphanedUtxosByAccount: AugmentedQuery<
264
- ApiType,
265
- (
266
- arg1: AccountId32 | string | Uint8Array,
267
- arg2:
268
- | ArgonPrimitivesBitcoinUtxoRef
269
- | { txid?: any; outputIndex?: any }
270
- | string
271
- | Uint8Array,
272
- ) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
273
- [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
274
- >;
122
+ orphanedUtxosByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef]>;
275
123
  /**
276
124
  * Index of active UTXO IDs per vault
277
125
  **/
278
- utxoIdsByVaultId: AugmentedQuery<
279
- ApiType,
280
- (
281
- arg1: u32 | AnyNumber | Uint8Array,
282
- arg2: u64 | AnyNumber | Uint8Array,
283
- ) => Observable<Option<Null>>,
284
- [u32, u64]
285
- >;
126
+ utxoIdsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
286
127
  };
287
128
  bitcoinUtxos: {
288
129
  /**
289
130
  * The genesis set bitcoin network that this chain is tied to
290
131
  **/
291
- bitcoinNetwork: AugmentedQuery<
292
- ApiType,
293
- () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
294
- []
295
- >;
132
+ bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, []>;
296
133
  /**
297
134
  * Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
298
135
  **/
299
- candidateUtxoRefsByUtxoId: AugmentedQuery<
300
- ApiType,
301
- (
302
- arg: u64 | AnyNumber | Uint8Array,
303
- ) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>,
304
- [u64]
305
- >;
136
+ candidateUtxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>, [u64]>;
306
137
  /**
307
138
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
308
139
  **/
309
- confirmedBitcoinBlockTip: AugmentedQuery<
310
- ApiType,
311
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
312
- []
313
- >;
140
+ confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
314
141
  /**
315
142
  * Pending funding entries that have expired and are awaiting bounded cleanup.
316
143
  **/
317
- expiredPendingFunding: AugmentedQuery<
318
- ApiType,
319
- () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
320
- []
321
- >;
144
+ expiredPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
322
145
  /**
323
146
  * Check if the inherent was included
324
147
  **/
@@ -328,42 +151,20 @@ declare module '@polkadot/api-base/types/storage' {
328
151
  * amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
329
152
  * before the expiration block, the funds are burned and the UTXO is unlocked.
330
153
  **/
331
- lockedUtxos: AugmentedQuery<
332
- ApiType,
333
- (
334
- arg:
335
- | ArgonPrimitivesBitcoinUtxoRef
336
- | { txid?: any; outputIndex?: any }
337
- | string
338
- | Uint8Array,
339
- ) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>,
340
- [ArgonPrimitivesBitcoinUtxoRef]
341
- >;
154
+ lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [ArgonPrimitivesBitcoinUtxoRef]>;
342
155
  /**
343
156
  * Bitcoin locks that are pending full funding on the bitcoin network
344
157
  **/
345
- locksPendingFunding: AugmentedQuery<
346
- ApiType,
347
- () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
348
- []
349
- >;
158
+ locksPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
350
159
  /**
351
160
  * Bitcoin Oracle Operator Account
352
161
  **/
353
162
  oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
354
- previousBitcoinBlockTip: AugmentedQuery<
355
- ApiType,
356
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
357
- []
358
- >;
163
+ previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
359
164
  /**
360
165
  * The last synched bitcoin block
361
166
  **/
362
- synchedBitcoinBlock: AugmentedQuery<
363
- ApiType,
364
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
365
- []
366
- >;
167
+ synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
367
168
  /**
368
169
  * Stores if parent block had a confirmed bitcoin block
369
170
  **/
@@ -371,11 +172,7 @@ declare module '@polkadot/api-base/types/storage' {
371
172
  /**
372
173
  * A mapping of utxo id to the confirmed utxo reference
373
174
  **/
374
- utxoIdToFundingUtxoRef: AugmentedQuery<
375
- ApiType,
376
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>,
377
- [u64]
378
- >;
175
+ utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
379
176
  };
380
177
  blockRewards: {
381
178
  /**
@@ -395,11 +192,7 @@ declare module '@polkadot/api-base/types/storage' {
395
192
  /**
396
193
  * Historical payouts by block number
397
194
  **/
398
- payoutsByBlock: AugmentedQuery<
399
- ApiType,
400
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>,
401
- [u32]
402
- >;
195
+ payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [u32]>;
403
196
  };
404
197
  blockSeal: {
405
198
  /**
@@ -411,11 +204,7 @@ declare module '@polkadot/api-base/types/storage' {
411
204
  * Is the block from a vote seal?
412
205
  **/
413
206
  isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
414
- lastBlockSealerInfo: AugmentedQuery<
415
- ApiType,
416
- () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>,
417
- []
418
- >;
207
+ lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, []>;
419
208
  lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
420
209
  /**
421
210
  * The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
@@ -425,11 +214,7 @@ declare module '@polkadot/api-base/types/storage' {
425
214
  /**
426
215
  * Ensures only a single inherent is applied
427
216
  **/
428
- tempSealInherent: AugmentedQuery<
429
- ApiType,
430
- () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>,
431
- []
432
- >;
217
+ tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, []>;
433
218
  /**
434
219
  * The count of votes in the last 3 ticks
435
220
  **/
@@ -464,19 +249,11 @@ declare module '@polkadot/api-base/types/storage' {
464
249
  /**
465
250
  * Temporary store the vote digest
466
251
  **/
467
- tempBlockVoteDigest: AugmentedQuery<
468
- ApiType,
469
- () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>,
470
- []
471
- >;
252
+ tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, []>;
472
253
  /**
473
254
  * Temporary store of any current tick notebooks included in this block (vs tick)
474
255
  **/
475
- tempCurrentTickNotebooksInBlock: AugmentedQuery<
476
- ApiType,
477
- () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>,
478
- []
479
- >;
256
+ tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, []>;
480
257
  /**
481
258
  * Keeps the last 3 vote minimums. The first one applies to the current block.
482
259
  **/
@@ -486,21 +263,11 @@ declare module '@polkadot/api-base/types/storage' {
486
263
  /**
487
264
  * Config accepted for each supported source chain.
488
265
  **/
489
- chainConfigBySourceChain: AugmentedQuery<
490
- ApiType,
491
- (
492
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
493
- ) => Observable<Option<PalletCrosschainTransferChainConfig>>,
494
- [PalletCrosschainTransferSourceChain]
495
- >;
266
+ chainConfigBySourceChain: AugmentedQuery<ApiType, (arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<PalletCrosschainTransferChainConfig>>, [PalletCrosschainTransferSourceChain]>;
496
267
  /**
497
268
  * Accounts whose recent-transfer evidence expires at a given tick.
498
269
  **/
499
- inboundTransfersExpiringAt: AugmentedQuery<
500
- ApiType,
501
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
502
- [u64]
503
- >;
270
+ inboundTransfersExpiringAt: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u64]>;
504
271
  /**
505
272
  * Latest tick whose recent-transfer expiration bucket was cleaned up.
506
273
  **/
@@ -508,68 +275,29 @@ declare module '@polkadot/api-base/types/storage' {
508
275
  /**
509
276
  * Latest accepted nonce for each `(source_chain, from)` pair.
510
277
  **/
511
- nonceBySourceAccount: AugmentedQuery<
512
- ApiType,
513
- (
514
- arg:
515
- | ITuple<[PalletCrosschainTransferSourceChain, H160]>
516
- | [
517
- PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
518
- H160 | string | Uint8Array,
519
- ],
520
- ) => Observable<Option<u64>>,
521
- [ITuple<[PalletCrosschainTransferSourceChain, H160]>]
522
- >;
278
+ nonceBySourceAccount: AugmentedQuery<ApiType, (arg: ITuple<[PalletCrosschainTransferSourceChain, H160]> | [PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array, H160 | string | Uint8Array]) => Observable<Option<u64>>, [ITuple<[PalletCrosschainTransferSourceChain, H160]>]>;
523
279
  /**
524
280
  * Count of still-retained qualifying Argon transfers for each local account.
525
281
  **/
526
- recentArgonTransfersByAccount: AugmentedQuery<
527
- ApiType,
528
- (arg: AccountId32 | string | Uint8Array) => Observable<u32>,
529
- [AccountId32]
530
- >;
282
+ recentArgonTransfersByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]>;
531
283
  };
532
284
  digests: {
533
- tempDigests: AugmentedQuery<
534
- ApiType,
535
- () => Observable<Option<ArgonPrimitivesDigestsDigestset>>,
536
- []
537
- >;
285
+ tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, []>;
538
286
  };
539
287
  domains: {
540
- expiringDomainsByBlock: AugmentedQuery<
541
- ApiType,
542
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
543
- [u64]
544
- >;
545
- registeredDomains: AugmentedQuery<
546
- ApiType,
547
- (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>,
548
- [H256]
549
- >;
550
- zoneRecordsByDomain: AugmentedQuery<
551
- ApiType,
552
- (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>,
553
- [H256]
554
- >;
288
+ expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
289
+ registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [H256]>;
290
+ zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [H256]>;
555
291
  };
556
292
  ethereumVerifier: {
557
293
  /**
558
294
  * Chain-configured beacon preset expected by clients that submit verifier updates.
559
295
  **/
560
- beaconPreset: AugmentedQuery<
561
- ApiType,
562
- () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>,
563
- []
564
- >;
296
+ beaconPreset: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>, []>;
565
297
  /**
566
298
  * Sync committee for current period
567
299
  **/
568
- currentSyncCommittee: AugmentedQuery<
569
- ApiType,
570
- () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
571
- []
572
- >;
300
+ currentSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
573
301
  /**
574
302
  * Execution header anchors: current position in ring buffer.
575
303
  **/
@@ -577,31 +305,15 @@ declare module '@polkadot/api-base/types/storage' {
577
305
  /**
578
306
  * Execution header anchors: mapping of ring buffer index to a pruning candidate.
579
307
  **/
580
- executionHeaderAnchorMapping: AugmentedQuery<
581
- ApiType,
582
- (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
583
- [u32]
584
- >;
308
+ executionHeaderAnchorMapping: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
585
309
  /**
586
310
  * Retained execution-layer header anchors by execution block hash.
587
311
  **/
588
- executionHeaderAnchors: AugmentedQuery<
589
- ApiType,
590
- (
591
- arg: H256 | string | Uint8Array,
592
- ) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
593
- [H256]
594
- >;
312
+ executionHeaderAnchors: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>, [H256]>;
595
313
  /**
596
314
  * Beacon state by finalized block root
597
315
  **/
598
- finalizedBeaconState: AugmentedQuery<
599
- ApiType,
600
- (
601
- arg: H256 | string | Uint8Array,
602
- ) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>,
603
- [H256]
604
- >;
316
+ finalizedBeaconState: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>, [H256]>;
605
317
  /**
606
318
  * Finalized Headers: Current position in ring buffer
607
319
  **/
@@ -609,19 +321,11 @@ declare module '@polkadot/api-base/types/storage' {
609
321
  /**
610
322
  * Finalized Headers: Mapping of ring buffer index to a pruning candidate
611
323
  **/
612
- finalizedBeaconStateMapping: AugmentedQuery<
613
- ApiType,
614
- (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
615
- [u32]
616
- >;
324
+ finalizedBeaconStateMapping: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
617
325
  /**
618
326
  * Fork-version schedule used for sync-committee signing domains and beacon state paths.
619
327
  **/
620
- forkVersionSchedule: AugmentedQuery<
621
- ApiType,
622
- () => Observable<Option<PalletEthereumVerifierForkVersions>>,
623
- []
624
- >;
328
+ forkVersionSchedule: AugmentedQuery<ApiType, () => Observable<Option<PalletEthereumVerifierForkVersions>>, []>;
625
329
  /**
626
330
  * Latest imported checkpoint root
627
331
  **/
@@ -629,11 +333,7 @@ declare module '@polkadot/api-base/types/storage' {
629
333
  /**
630
334
  * Latest retained execution-layer anchor block hash.
631
335
  **/
632
- latestExecutionHeaderAnchorBlockHash: AugmentedQuery<
633
- ApiType,
634
- () => Observable<Option<H256>>,
635
- []
636
- >;
336
+ latestExecutionHeaderAnchorBlockHash: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
637
337
  /**
638
338
  * Latest imported finalized block root
639
339
  **/
@@ -645,30 +345,18 @@ declare module '@polkadot/api-base/types/storage' {
645
345
  /**
646
346
  * Sync committee for next period
647
347
  **/
648
- nextSyncCommittee: AugmentedQuery<
649
- ApiType,
650
- () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
651
- []
652
- >;
348
+ nextSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
653
349
  /**
654
350
  * The current operating mode of the pallet.
655
351
  **/
656
- operatingMode: AugmentedQuery<
657
- ApiType,
658
- () => Observable<PalletEthereumVerifierBasicOperatingMode>,
659
- []
660
- >;
352
+ operatingMode: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierBasicOperatingMode>, []>;
661
353
  validatorsRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
662
354
  };
663
355
  grandpa: {
664
356
  /**
665
357
  * The current list of authorities.
666
358
  **/
667
- authorities: AugmentedQuery<
668
- ApiType,
669
- () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>,
670
- []
671
- >;
359
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []>;
672
360
  /**
673
361
  * The number of changes (both in terms of keys and underlying economic responsibilities)
674
362
  * in the "set" of Grandpa validators from genesis.
@@ -681,28 +369,20 @@ declare module '@polkadot/api-base/types/storage' {
681
369
  /**
682
370
  * Pending change: (signaled at, scheduled change).
683
371
  **/
684
- pendingChange: AugmentedQuery<
685
- ApiType,
686
- () => Observable<Option<PalletGrandpaStoredPendingChange>>,
687
- []
688
- >;
372
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []>;
689
373
  /**
690
374
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
691
375
  * members were responsible.
692
- *
376
+ *
693
377
  * This is only used for validating equivocation proofs. An equivocation proof must
694
378
  * contains a key-ownership proof for a given session, therefore we need a way to tie
695
379
  * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
696
380
  * was the owner of a given key on a given session, and what the active set ID was
697
381
  * during that session.
698
- *
382
+ *
699
383
  * TWOX-NOTE: `SetId` is not under user control.
700
384
  **/
701
- setIdSession: AugmentedQuery<
702
- ApiType,
703
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
704
- [u64]
705
- >;
385
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
706
386
  /**
707
387
  * `true` if we are currently stalled.
708
388
  **/
@@ -715,38 +395,21 @@ declare module '@polkadot/api-base/types/storage' {
715
395
  localchainTransfer: {
716
396
  /**
717
397
  * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
718
- *
398
+ *
719
399
  * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
720
400
  * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
721
401
  * transfers for that notary remain frozen by design until a notary-switch recovery path is
722
402
  * executed.
723
403
  **/
724
- expiringTransfersOutByNotary: AugmentedQuery<
725
- ApiType,
726
- (
727
- arg1: u32 | AnyNumber | Uint8Array,
728
- arg2: u64 | AnyNumber | Uint8Array,
729
- ) => Observable<Vec<u32>>,
730
- [u32, u64]
731
- >;
404
+ expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
732
405
  nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
733
- pendingTransfersOut: AugmentedQuery<
734
- ApiType,
735
- (
736
- arg: u32 | AnyNumber | Uint8Array,
737
- ) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>,
738
- [u32]
739
- >;
406
+ pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>, [u32]>;
740
407
  };
741
408
  miningSlot: {
742
409
  /**
743
410
  * Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
744
411
  **/
745
- accountIndexLookup: AugmentedQuery<
746
- ApiType,
747
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>,
748
- [AccountId32]
749
- >;
412
+ accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [AccountId32]>;
750
413
  activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
751
414
  /**
752
415
  * Argonots that must be locked to take a Miner role
@@ -760,11 +423,7 @@ declare module '@polkadot/api-base/types/storage' {
760
423
  * The cohort set to go into effect in the next slot. The Vec has all
761
424
  * registrants with their bid amount
762
425
  **/
763
- bidsForNextSlotCohort: AugmentedQuery<
764
- ApiType,
765
- () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
766
- []
767
- >;
426
+ bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
768
427
  /**
769
428
  * The number of reward ticks remaining in the frame
770
429
  **/
@@ -781,11 +440,7 @@ declare module '@polkadot/api-base/types/storage' {
781
440
  /**
782
441
  * The number of bids per slot for the last 10 slots (newest first)
783
442
  **/
784
- historicalBidsPerSlot: AugmentedQuery<
785
- ApiType,
786
- () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>,
787
- []
788
- >;
443
+ historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, []>;
789
444
  /**
790
445
  * Is the next slot still open for bids
791
446
  **/
@@ -795,29 +450,15 @@ declare module '@polkadot/api-base/types/storage' {
795
450
  * block. It's a blake2 256 hash of the miner account id and the block hash at time of
796
451
  * activation.
797
452
  **/
798
- minerNonceScoringByCohort: AugmentedQuery<
799
- ApiType,
800
- () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>,
801
- []
802
- >;
453
+ minerNonceScoringByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>, []>;
803
454
  /**
804
455
  * Miners that are active in the current block (post initialize) by their starting frame
805
456
  **/
806
- minersByCohort: AugmentedQuery<
807
- ApiType,
808
- (
809
- arg: u64 | AnyNumber | Uint8Array,
810
- ) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
811
- [u64]
812
- >;
457
+ minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [u64]>;
813
458
  /**
814
459
  * The mining slot configuration set in genesis
815
460
  **/
816
- miningConfig: AugmentedQuery<
817
- ApiType,
818
- () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>,
819
- []
820
- >;
461
+ miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, []>;
821
462
  /**
822
463
  * Is a new frame started in this block
823
464
  **/
@@ -834,36 +475,20 @@ declare module '@polkadot/api-base/types/storage' {
834
475
  /**
835
476
  * The miners released in the last block (only kept for a single block)
836
477
  **/
837
- releasedMinersByAccountId: AugmentedQuery<
838
- ApiType,
839
- () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>,
840
- []
841
- >;
478
+ releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, []>;
842
479
  /**
843
480
  * The upcoming changes scheduled for cohort size by frame.
844
481
  * Capacity of 11 allows for 10 frames worth of scheduled changes plus one working slot
845
482
  * to schedule a new change during frame finalization.
846
483
  **/
847
- scheduledCohortSizeChangeByFrame: AugmentedQuery<
848
- ApiType,
849
- () => Observable<BTreeMap<u64, u32>>,
850
- []
851
- >;
484
+ scheduledCohortSizeChangeByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u32>>, []>;
852
485
  /**
853
486
  * Temporary store the frame info digest
854
487
  **/
855
- tempFrameInfoDigest: AugmentedQuery<
856
- ApiType,
857
- () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>,
858
- []
859
- >;
488
+ tempFrameInfoDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>, []>;
860
489
  };
861
490
  mint: {
862
- blockMintAction: AugmentedQuery<
863
- ApiType,
864
- () => Observable<ITuple<[u32, PalletMintMintAction]>>,
865
- []
866
- >;
491
+ blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
867
492
  /**
868
493
  * The amount of argons minted per mining cohort (ie, grouped by starting frame id)
869
494
  **/
@@ -881,59 +506,24 @@ declare module '@polkadot/api-base/types/storage' {
881
506
  * a) CPI >= 0 and
882
507
  * b) the aggregate minted Bitcoins <= the aggregate minted microgons from mining
883
508
  **/
884
- pendingMintUtxos: AugmentedQuery<
885
- ApiType,
886
- () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>,
887
- []
888
- >;
509
+ pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, []>;
889
510
  };
890
511
  multisig: {
891
512
  /**
892
513
  * The set of open multisig operations.
893
514
  **/
894
- multisigs: AugmentedQuery<
895
- ApiType,
896
- (
897
- arg1: AccountId32 | string | Uint8Array,
898
- arg2: U8aFixed | string | Uint8Array,
899
- ) => Observable<Option<PalletMultisigMultisig>>,
900
- [AccountId32, U8aFixed]
901
- >;
515
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]>;
902
516
  };
903
517
  notaries: {
904
- activeNotaries: AugmentedQuery<
905
- ApiType,
906
- () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>,
907
- []
908
- >;
909
- expiringProposals: AugmentedQuery<
910
- ApiType,
911
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
912
- [u32]
913
- >;
518
+ activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, []>;
519
+ expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
914
520
  nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
915
- notaryKeyHistory: AugmentedQuery<
916
- ApiType,
917
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>,
918
- [u32]
919
- >;
920
- proposedNotaries: AugmentedQuery<
921
- ApiType,
922
- (
923
- arg: AccountId32 | string | Uint8Array,
924
- ) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>,
925
- [AccountId32]
926
- >;
521
+ notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [u32]>;
522
+ proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [AccountId32]>;
927
523
  /**
928
524
  * Metadata changes to be activated at the given tick
929
525
  **/
930
- queuedNotaryMetaChanges: AugmentedQuery<
931
- ApiType,
932
- (
933
- arg: u64 | AnyNumber | Uint8Array,
934
- ) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>,
935
- [u64]
936
- >;
526
+ queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u64]>;
937
527
  };
938
528
  notebook: {
939
529
  /**
@@ -941,26 +531,11 @@ declare module '@polkadot/api-base/types/storage' {
941
531
  * notebook containing this account in the changed accounts merkle root
942
532
  * (NotebookChangedAccountsRootByNotary)
943
533
  **/
944
- accountOriginLastChangedNotebookByNotary: AugmentedQuery<
945
- ApiType,
946
- (
947
- arg1: u32 | AnyNumber | Uint8Array,
948
- arg2:
949
- | ArgonPrimitivesBalanceChangeAccountOrigin
950
- | { notebookNumber?: any; accountUid?: any }
951
- | string
952
- | Uint8Array,
953
- ) => Observable<Option<u32>>,
954
- [u32, ArgonPrimitivesBalanceChangeAccountOrigin]
955
- >;
534
+ accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | { notebookNumber?: any; accountUid?: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, ArgonPrimitivesBalanceChangeAccountOrigin]>;
956
535
  /**
957
536
  * The notebooks included in this block
958
537
  **/
959
- blockNotebooks: AugmentedQuery<
960
- ApiType,
961
- () => Observable<ArgonPrimitivesDigestsNotebookDigest>,
962
- []
963
- >;
538
+ blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, []>;
964
539
  /**
965
540
  * Check if the inherent was included
966
541
  **/
@@ -969,71 +544,33 @@ declare module '@polkadot/api-base/types/storage' {
969
544
  * List of last few notebook details by notary. The bool is whether the notebook is eligible
970
545
  * for votes (received at correct tick and audit passed)
971
546
  **/
972
- lastNotebookDetailsByNotary: AugmentedQuery<
973
- ApiType,
974
- (
975
- arg: u32 | AnyNumber | Uint8Array,
976
- ) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>,
977
- [u32]
978
- >;
547
+ lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [u32]>;
979
548
  /**
980
549
  * Notaries ready to start reprocessing at a given notebook number
981
550
  **/
982
- lockedNotaryReadyForReprocess: AugmentedQuery<
983
- ApiType,
984
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
985
- [u32]
986
- >;
551
+ lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]>;
987
552
  /**
988
553
  * Notaries locked for failing audits
989
554
  **/
990
- notariesLockedForFailedAudit: AugmentedQuery<
991
- ApiType,
992
- (
993
- arg: u32 | AnyNumber | Uint8Array,
994
- ) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>,
995
- [u32]
996
- >;
555
+ notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
997
556
  /**
998
557
  * Double storage map of notary id + notebook # to the change root
999
558
  **/
1000
- notebookChangedAccountsRootByNotary: AugmentedQuery<
1001
- ApiType,
1002
- (
1003
- arg1: u32 | AnyNumber | Uint8Array,
1004
- arg2: u32 | AnyNumber | Uint8Array,
1005
- ) => Observable<Option<H256>>,
1006
- [u32, u32]
1007
- >;
559
+ notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]>;
1008
560
  };
1009
561
  operationalAccounts: {
1010
562
  /**
1011
563
  * Referral codes that have already been linked, keyed to their proof expiration frame.
1012
564
  **/
1013
- consumedReferralCodes: AugmentedQuery<
1014
- ApiType,
1015
- (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>,
1016
- [U8aFixed]
1017
- >;
565
+ consumedReferralCodes: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
1018
566
  /**
1019
567
  * Referral codes to clear after their referral proof expiration frame.
1020
568
  **/
1021
- consumedReferralCodesByExpiration: AugmentedQuery<
1022
- ApiType,
1023
- (
1024
- arg1: u64 | AnyNumber | Uint8Array,
1025
- arg2: U8aFixed | string | Uint8Array,
1026
- ) => Observable<Option<Null>>,
1027
- [u64, U8aFixed]
1028
- >;
569
+ consumedReferralCodesByExpiration: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [u64, U8aFixed]>;
1029
570
  /**
1030
571
  * Opaque encrypted sponsor server payload keyed by the sponsee operational account.
1031
572
  **/
1032
- encryptedServerBySponsee: AugmentedQuery<
1033
- ApiType,
1034
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>,
1035
- [AccountId32]
1036
- >;
573
+ encryptedServerBySponsee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]>;
1037
574
  /**
1038
575
  * Oldest referral expiration frame that still has cleanup work to resume.
1039
576
  **/
@@ -1041,82 +578,52 @@ declare module '@polkadot/api-base/types/storage' {
1041
578
  /**
1042
579
  * Reverse lookup of any linked account to its operational account id.
1043
580
  **/
1044
- operationalAccountBySubAccount: AugmentedQuery<
1045
- ApiType,
1046
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>,
1047
- [AccountId32]
1048
- >;
581
+ operationalAccountBySubAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]>;
1049
582
  /**
1050
583
  * Registered operational accounts keyed by the primary account id.
1051
584
  **/
1052
- operationalAccounts: AugmentedQuery<
1053
- ApiType,
1054
- (
1055
- arg: AccountId32 | string | Uint8Array,
1056
- ) => Observable<Option<PalletOperationalAccountsOperationalAccount>>,
1057
- [AccountId32]
1058
- >;
585
+ operationalAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletOperationalAccountsOperationalAccount>>, [AccountId32]>;
1059
586
  /**
1060
587
  * Configured reward amounts for operational accounts.
1061
588
  **/
1062
- rewards: AugmentedQuery<
1063
- ApiType,
1064
- () => Observable<PalletOperationalAccountsRewardsConfig>,
1065
- []
1066
- >;
589
+ rewards: AugmentedQuery<ApiType, () => Observable<PalletOperationalAccountsRewardsConfig>, []>;
1067
590
  };
1068
591
  ownership: {
1069
592
  /**
1070
593
  * The Balances pallet example of storing the balance of an account.
1071
- *
594
+ *
1072
595
  * # Example
1073
- *
596
+ *
1074
597
  * ```nocompile
1075
598
  * impl pallet_balances::Config for Runtime {
1076
599
  * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
1077
600
  * }
1078
601
  * ```
1079
- *
602
+ *
1080
603
  * You can also store the balance of an account in the `System` pallet.
1081
- *
604
+ *
1082
605
  * # Example
1083
- *
606
+ *
1084
607
  * ```nocompile
1085
608
  * impl pallet_balances::Config for Runtime {
1086
609
  * type AccountStore = System
1087
610
  * }
1088
611
  * ```
1089
- *
612
+ *
1090
613
  * But this comes with tradeoffs, storing account balances in the system pallet stores
1091
614
  * `frame_system` data alongside the account data contrary to storing account balances in the
1092
615
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
1093
616
  * NOTE: This is only used in the case that this pallet is used to store balances.
1094
617
  **/
1095
- account: AugmentedQuery<
1096
- ApiType,
1097
- (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
1098
- [AccountId32]
1099
- >;
618
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
1100
619
  /**
1101
620
  * Freeze locks on account balances.
1102
621
  **/
1103
- freezes: AugmentedQuery<
1104
- ApiType,
1105
- (
1106
- arg: AccountId32 | string | Uint8Array,
1107
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
1108
- [AccountId32]
1109
- >;
622
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
1110
623
  /**
1111
624
  * Holds on account balances.
1112
625
  **/
1113
- holds: AugmentedQuery<
1114
- ApiType,
1115
- (
1116
- arg: AccountId32 | string | Uint8Array,
1117
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
1118
- [AccountId32]
1119
- >;
626
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
1120
627
  /**
1121
628
  * The total units of outstanding deactivated balance in the system.
1122
629
  **/
@@ -1124,24 +631,16 @@ declare module '@polkadot/api-base/types/storage' {
1124
631
  /**
1125
632
  * Any liquidity locks on some account balances.
1126
633
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
1127
- *
634
+ *
1128
635
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
1129
636
  **/
1130
- locks: AugmentedQuery<
1131
- ApiType,
1132
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
1133
- [AccountId32]
1134
- >;
637
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
1135
638
  /**
1136
639
  * Named reserves on some account balances.
1137
- *
640
+ *
1138
641
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
1139
642
  **/
1140
- reserves: AugmentedQuery<
1141
- ApiType,
1142
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
1143
- [AccountId32]
1144
- >;
643
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
1145
644
  /**
1146
645
  * The total units issued in the system.
1147
646
  **/
@@ -1155,11 +654,7 @@ declare module '@polkadot/api-base/types/storage' {
1155
654
  /**
1156
655
  * Tracks the average cpi data every 60 ticks
1157
656
  **/
1158
- historicArgonCPI: AugmentedQuery<
1159
- ApiType,
1160
- () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>,
1161
- []
1162
- >;
657
+ historicArgonCPI: AugmentedQuery<ApiType, () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>, []>;
1163
658
  /**
1164
659
  * Stores the last valid price index
1165
660
  **/
@@ -1173,24 +668,12 @@ declare module '@polkadot/api-base/types/storage' {
1173
668
  /**
1174
669
  * The announcements made by the proxy (key).
1175
670
  **/
1176
- announcements: AugmentedQuery<
1177
- ApiType,
1178
- (
1179
- arg: AccountId32 | string | Uint8Array,
1180
- ) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>,
1181
- [AccountId32]
1182
- >;
671
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
1183
672
  /**
1184
673
  * The set of account proxies. Maps the account which has delegated to the accounts
1185
674
  * which are being delegated to, together with the amount held on deposit.
1186
675
  **/
1187
- proxies: AugmentedQuery<
1188
- ApiType,
1189
- (
1190
- arg: AccountId32 | string | Uint8Array,
1191
- ) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>,
1192
- [AccountId32]
1193
- >;
676
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
1194
677
  };
1195
678
  sudo: {
1196
679
  /**
@@ -1202,30 +685,18 @@ declare module '@polkadot/api-base/types/storage' {
1202
685
  /**
1203
686
  * The full account information for a particular account ID.
1204
687
  **/
1205
- account: AugmentedQuery<
1206
- ApiType,
1207
- (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>,
1208
- [AccountId32]
1209
- >;
688
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]>;
1210
689
  /**
1211
690
  * `Some` if a code upgrade has been authorized.
1212
691
  **/
1213
- authorizedUpgrade: AugmentedQuery<
1214
- ApiType,
1215
- () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>,
1216
- []
1217
- >;
692
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []>;
1218
693
  /**
1219
694
  * Map of block numbers to block hashes.
1220
695
  **/
1221
- blockHash: AugmentedQuery<
1222
- ApiType,
1223
- (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
1224
- [u32]
1225
- >;
696
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
1226
697
  /**
1227
698
  * Total size (in bytes) of the current block.
1228
- *
699
+ *
1229
700
  * Tracks the size of the header and all extrinsics.
1230
701
  **/
1231
702
  blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
@@ -1236,11 +707,7 @@ declare module '@polkadot/api-base/types/storage' {
1236
707
  /**
1237
708
  * The current weight for the block.
1238
709
  **/
1239
- blockWeight: AugmentedQuery<
1240
- ApiType,
1241
- () => Observable<FrameSupportDispatchPerDispatchClassWeight>,
1242
- []
1243
- >;
710
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []>;
1244
711
  /**
1245
712
  * Digest of the current block, also part of the block header.
1246
713
  **/
@@ -1251,10 +718,10 @@ declare module '@polkadot/api-base/types/storage' {
1251
718
  eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1252
719
  /**
1253
720
  * Events deposited for the current block.
1254
- *
721
+ *
1255
722
  * NOTE: The item is unbound and should therefore never be read on chain.
1256
723
  * It could otherwise inflate the PoV size of a block.
1257
- *
724
+ *
1258
725
  * Events have a large in-memory size. Box the events to not go out-of-memory
1259
726
  * just in case someone still reads them from within the runtime.
1260
727
  **/
@@ -1262,20 +729,16 @@ declare module '@polkadot/api-base/types/storage' {
1262
729
  /**
1263
730
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
1264
731
  * of events in the `<Events<T>>` list.
1265
- *
732
+ *
1266
733
  * All topic vectors have deterministic storage locations depending on the topic. This
1267
734
  * allows light-clients to leverage the changes trie storage tracking mechanism and
1268
735
  * in case of changes fetch the list of events of interest.
1269
- *
736
+ *
1270
737
  * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1271
738
  * the `EventIndex` then in case if the topic has the same contents on the next block
1272
739
  * no notification will be triggered thus the event might be lost.
1273
740
  **/
1274
- eventTopics: AugmentedQuery<
1275
- ApiType,
1276
- (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>,
1277
- [H256]
1278
- >;
741
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]>;
1279
742
  /**
1280
743
  * The execution phase of the block.
1281
744
  **/
@@ -1287,25 +750,17 @@ declare module '@polkadot/api-base/types/storage' {
1287
750
  /**
1288
751
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
1289
752
  **/
1290
- extrinsicData: AugmentedQuery<
1291
- ApiType,
1292
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>,
1293
- [u32]
1294
- >;
753
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]>;
1295
754
  /**
1296
755
  * The weight reclaimed for the extrinsic.
1297
- *
756
+ *
1298
757
  * This information is available until the end of the extrinsic execution.
1299
758
  * More precisely this information is removed in `note_applied_extrinsic`.
1300
- *
759
+ *
1301
760
  * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
1302
761
  * reduction.
1303
762
  **/
1304
- extrinsicWeightReclaimed: AugmentedQuery<
1305
- ApiType,
1306
- () => Observable<SpWeightsWeightV2Weight>,
1307
- []
1308
- >;
763
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []>;
1309
764
  /**
1310
765
  * Whether all inherents have been applied.
1311
766
  **/
@@ -1313,11 +768,7 @@ declare module '@polkadot/api-base/types/storage' {
1313
768
  /**
1314
769
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1315
770
  **/
1316
- lastRuntimeUpgrade: AugmentedQuery<
1317
- ApiType,
1318
- () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>,
1319
- []
1320
- >;
771
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []>;
1321
772
  /**
1322
773
  * The current block number being processed. Set by `execute_block`.
1323
774
  **/
@@ -1345,16 +796,12 @@ declare module '@polkadot/api-base/types/storage' {
1345
796
  * Blocks from the last 100 ticks. Trimmed in on_initialize.
1346
797
  * NOTE: cannot include the current block hash until next block
1347
798
  **/
1348
- recentBlocksAtTicks: AugmentedQuery<
1349
- ApiType,
1350
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
1351
- [u64]
1352
- >;
799
+ recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
1353
800
  };
1354
801
  timestamp: {
1355
802
  /**
1356
803
  * Whether the timestamp has been updated in this block.
1357
- *
804
+ *
1358
805
  * This value is updated to `true` upon successful submission of a timestamp by a node.
1359
806
  * It is then checked at the end of each block execution in the `on_finalize` hook.
1360
807
  **/
@@ -1366,62 +813,35 @@ declare module '@polkadot/api-base/types/storage' {
1366
813
  };
1367
814
  transactionPayment: {
1368
815
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1369
- storageVersion: AugmentedQuery<
1370
- ApiType,
1371
- () => Observable<PalletTransactionPaymentReleases>,
1372
- []
1373
- >;
816
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []>;
1374
817
  /**
1375
818
  * The `OnChargeTransaction` stores the withdrawn tx fee here.
1376
- *
819
+ *
1377
820
  * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
1378
821
  **/
1379
- txPaymentCredit: AugmentedQuery<
1380
- ApiType,
1381
- () => Observable<Option<FrameSupportTokensFungibleImbalance>>,
1382
- []
1383
- >;
822
+ txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
1384
823
  };
1385
824
  treasury: {
1386
825
  /**
1387
826
  * The stored state for each bond lot.
1388
827
  **/
1389
- bondLotById: AugmentedQuery<
1390
- ApiType,
1391
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>,
1392
- [u64]
1393
- >;
828
+ bondLotById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>, [u64]>;
1394
829
  /**
1395
830
  * The bond lot ids that belong to an account.
1396
831
  **/
1397
- bondLotIdsByAccount: AugmentedQuery<
1398
- ApiType,
1399
- (
1400
- arg1: AccountId32 | string | Uint8Array,
1401
- arg2: u64 | AnyNumber | Uint8Array,
1402
- ) => Observable<Option<Null>>,
1403
- [AccountId32, u64]
1404
- >;
832
+ bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
1405
833
  /**
1406
834
  * The accepted bond lots for a vault.
1407
- *
835
+ *
1408
836
  * Lots are kept in descending bond order, then lower `bond_lot_id` first for ties.
1409
837
  **/
1410
- bondLotsByVault: AugmentedQuery<
1411
- ApiType,
1412
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>,
1413
- [u32]
1414
- >;
838
+ bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>, [u32]>;
1415
839
  /**
1416
840
  * The vault capital locked for the current frame.
1417
- *
841
+ *
1418
842
  * Payout uses this to see which vaults and bond lots are participating in the frame.
1419
843
  **/
1420
- currentFrameVaultCapital: AugmentedQuery<
1421
- ApiType,
1422
- () => Observable<Option<PalletTreasuryFrameVaultCapital>>,
1423
- []
1424
- >;
844
+ currentFrameVaultCapital: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameVaultCapital>>, []>;
1425
845
  /**
1426
846
  * The next bond lot id.
1427
847
  **/
@@ -1433,122 +853,63 @@ declare module '@polkadot/api-base/types/storage' {
1433
853
  /**
1434
854
  * Bond lots to release at the given frame.
1435
855
  **/
1436
- pendingBondReleasesByFrame: AugmentedQuery<
1437
- ApiType,
1438
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1439
- [u64]
1440
- >;
856
+ pendingBondReleasesByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
1441
857
  };
1442
858
  txPause: {
1443
859
  /**
1444
860
  * The set of calls that are explicitly paused.
1445
861
  **/
1446
- pausedCalls: AugmentedQuery<
1447
- ApiType,
1448
- (
1449
- arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
1450
- ) => Observable<Option<Null>>,
1451
- [ITuple<[Bytes, Bytes]>]
1452
- >;
862
+ pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]>;
1453
863
  };
1454
864
  vaults: {
1455
865
  /**
1456
866
  * The last collect frame of each vault
1457
867
  **/
1458
- lastCollectFrameByVaultId: AugmentedQuery<
1459
- ApiType,
1460
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>,
1461
- [u32]
1462
- >;
868
+ lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
1463
869
  nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1464
870
  /**
1465
871
  * Orphaned Bitcoin Utxos pending cosign by vault id
1466
872
  **/
1467
- orphanedUtxoAccountsByVaultId: AugmentedQuery<
1468
- ApiType,
1469
- (
1470
- arg1: u32 | AnyNumber | Uint8Array,
1471
- arg2: AccountId32 | string | Uint8Array,
1472
- ) => Observable<u32>,
1473
- [u32, AccountId32]
1474
- >;
873
+ orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
1475
874
  /**
1476
875
  * Bitcoin Locks pending cosign by vault id
1477
876
  **/
1478
- pendingCosignByVaultId: AugmentedQuery<
1479
- ApiType,
1480
- (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
1481
- [u32]
1482
- >;
877
+ pendingCosignByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u32]>;
1483
878
  /**
1484
879
  * Pending terms that will be committed at the given block number (must be a minimum of 1 slot
1485
880
  * change away)
1486
881
  **/
1487
- pendingTermsModificationsByTick: AugmentedQuery<
1488
- ApiType,
1489
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>,
1490
- [u64]
1491
- >;
882
+ pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
1492
883
  /**
1493
884
  * Recent reductions in `available_for_lock`, grouped by vault.
1494
885
  **/
1495
- recentCapacityDropsByVault: AugmentedQuery<
1496
- ApiType,
1497
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsRecentCapacityDrop>>,
1498
- [u32]
1499
- >;
886
+ recentCapacityDropsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsRecentCapacityDrop>>, [u32]>;
1500
887
  /**
1501
888
  * Tracks revenue from Bitcoin Locks and Treasury Pools for the trailing frames for each vault
1502
889
  * (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the
1503
890
  * collect expiration window (`RevenueCollectionExpirationFrames`).
1504
891
  **/
1505
- revenuePerFrameByVault: AugmentedQuery<
1506
- ApiType,
1507
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>,
1508
- [u32]
1509
- >;
892
+ revenuePerFrameByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>, [u32]>;
1510
893
  /**
1511
894
  * The vaults that have funds releasing at a given bitcoin height
1512
895
  **/
1513
- vaultFundsReleasingByHeight: AugmentedQuery<
1514
- ApiType,
1515
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1516
- [u64]
1517
- >;
896
+ vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
1518
897
  /**
1519
898
  * Vaults by owner
1520
899
  **/
1521
- vaultIdByOperator: AugmentedQuery<
1522
- ApiType,
1523
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>,
1524
- [AccountId32]
1525
- >;
900
+ vaultIdByOperator: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]>;
1526
901
  /**
1527
902
  * Vaults by id
1528
903
  **/
1529
- vaultsById: AugmentedQuery<
1530
- ApiType,
1531
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>,
1532
- [u32]
1533
- >;
904
+ vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [u32]>;
1534
905
  /**
1535
906
  * Vaults whose temporary operational minimum may be released at a given tick.
1536
907
  **/
1537
- vaultsReleasingOperationalMinimumByTick: AugmentedQuery<
1538
- ApiType,
1539
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1540
- [u64]
1541
- >;
908
+ vaultsReleasingOperationalMinimumByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
1542
909
  /**
1543
910
  * Vault Bitcoin Xpub and current child counter by VaultId
1544
911
  **/
1545
- vaultXPubById: AugmentedQuery<
1546
- ApiType,
1547
- (
1548
- arg: u32 | AnyNumber | Uint8Array,
1549
- ) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>,
1550
- [u32]
1551
- >;
912
+ vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [u32]>;
1552
913
  };
1553
914
  } // AugmentedQueries
1554
915
  } // declare module