@argonprotocol/mainchain 1.4.3-dev.6cdce319 → 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.
@@ -0,0 +1,915 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import type {} from '@polkadot/api-base/types/storage';
7
+
8
+ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
9
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
+ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
11
+ import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
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';
13
+ import type { Observable } from '@polkadot/types/types';
14
+
15
+ export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
16
+ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
17
+
18
+ declare module '@polkadot/api-base/types/storage' {
19
+ interface AugmentedQueries<ApiType extends ApiTypes> {
20
+ authorship: {
21
+ /**
22
+ * Author of current block.
23
+ **/
24
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
25
+ };
26
+ balances: {
27
+ /**
28
+ * The Balances pallet example of storing the balance of an account.
29
+ *
30
+ * # Example
31
+ *
32
+ * ```nocompile
33
+ * impl pallet_balances::Config for Runtime {
34
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
35
+ * }
36
+ * ```
37
+ *
38
+ * You can also store the balance of an account in the `System` pallet.
39
+ *
40
+ * # Example
41
+ *
42
+ * ```nocompile
43
+ * impl pallet_balances::Config for Runtime {
44
+ * type AccountStore = System
45
+ * }
46
+ * ```
47
+ *
48
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
49
+ * `frame_system` data alongside the account data contrary to storing account balances in the
50
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
51
+ * NOTE: This is only used in the case that this pallet is used to store balances.
52
+ **/
53
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
54
+ /**
55
+ * Freeze locks on account balances.
56
+ **/
57
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
58
+ /**
59
+ * Holds on account balances.
60
+ **/
61
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
62
+ /**
63
+ * The total units of outstanding deactivated balance in the system.
64
+ **/
65
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
66
+ /**
67
+ * Any liquidity locks on some account balances.
68
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
69
+ *
70
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
71
+ **/
72
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
73
+ /**
74
+ * Named reserves on some account balances.
75
+ *
76
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
77
+ **/
78
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
79
+ /**
80
+ * The total units issued in the system.
81
+ **/
82
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
83
+ };
84
+ bitcoinLocks: {
85
+ /**
86
+ * Utxos that have been requested to be cosigned for releasing
87
+ **/
88
+ lockCosignDueByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
89
+ /**
90
+ * Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
91
+ * unlock it. Bitcoin will go to vault
92
+ **/
93
+ lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
94
+ /**
95
+ * Stores the block number where a release was cosigned by the vault.
96
+ **/
97
+ lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
98
+ /**
99
+ * Stores bitcoin locks that have requested to be released
100
+ **/
101
+ lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [u64]>;
102
+ /**
103
+ * Stores bitcoin utxos that have requested to be released
104
+ **/
105
+ locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [u64]>;
106
+ /**
107
+ * History of target microgons per btc.
108
+ **/
109
+ microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, []>;
110
+ /**
111
+ * The minimum number of satoshis that can be locked
112
+ **/
113
+ minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
114
+ nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
115
+ /**
116
+ * Expiration of orphaned utxo refs by user account
117
+ **/
118
+ orphanedUtxoExpirationByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>, [u64]>;
119
+ /**
120
+ * Mismatched utxos that were sent with invalid amounts to a locked bitcoin
121
+ **/
122
+ orphanedUtxosByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef]>;
123
+ /**
124
+ * Index of active UTXO IDs per vault
125
+ **/
126
+ utxoIdsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
127
+ };
128
+ bitcoinUtxos: {
129
+ /**
130
+ * The genesis set bitcoin network that this chain is tied to
131
+ **/
132
+ bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, []>;
133
+ /**
134
+ * Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
135
+ **/
136
+ candidateUtxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>, [u64]>;
137
+ /**
138
+ * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
139
+ **/
140
+ confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
141
+ /**
142
+ * Pending funding entries that have expired and are awaiting bounded cleanup.
143
+ **/
144
+ expiredPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
145
+ /**
146
+ * Check if the inherent was included
147
+ **/
148
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
149
+ /**
150
+ * Locked Bitcoin UTXOs that have been funded with a UtxoRef from the Bitcoin network and
151
+ * amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
152
+ * before the expiration block, the funds are burned and the UTXO is unlocked.
153
+ **/
154
+ lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [ArgonPrimitivesBitcoinUtxoRef]>;
155
+ /**
156
+ * Bitcoin locks that are pending full funding on the bitcoin network
157
+ **/
158
+ locksPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
159
+ /**
160
+ * Bitcoin Oracle Operator Account
161
+ **/
162
+ oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
163
+ previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
164
+ /**
165
+ * The last synched bitcoin block
166
+ **/
167
+ synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
168
+ /**
169
+ * Stores if parent block had a confirmed bitcoin block
170
+ **/
171
+ tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
172
+ /**
173
+ * A mapping of utxo id to the confirmed utxo reference
174
+ **/
175
+ utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
176
+ };
177
+ blockRewards: {
178
+ /**
179
+ * The current scaled block rewards. It will adjust based on the argon movement away from price
180
+ * target
181
+ **/
182
+ argonsPerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []>;
183
+ blockFees: AugmentedQuery<ApiType, () => Observable<u128>, []>;
184
+ /**
185
+ * The cohort block rewards by mining cohort (ie, with the same starting frame id)
186
+ **/
187
+ blockRewardsByCohort: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, []>;
188
+ /**
189
+ * Bool if block rewards are paused
190
+ **/
191
+ blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
192
+ /**
193
+ * Historical payouts by block number
194
+ **/
195
+ payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [u32]>;
196
+ };
197
+ blockSeal: {
198
+ /**
199
+ * The calculated strength in the runtime so that it can be
200
+ * upgraded, but is used by the node to determine which fork to follow
201
+ **/
202
+ blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, []>;
203
+ /**
204
+ * Is the block from a vote seal?
205
+ **/
206
+ isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
207
+ lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, []>;
208
+ lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
209
+ /**
210
+ * The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
211
+ * Secret + VotesMerkleRoot of the parent block notebooks.
212
+ **/
213
+ parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
214
+ /**
215
+ * Ensures only a single inherent is applied
216
+ **/
217
+ tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, []>;
218
+ /**
219
+ * The count of votes in the last 3 ticks
220
+ **/
221
+ votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []>;
222
+ };
223
+ blockSealSpec: {
224
+ /**
225
+ * The current vote minimum of the chain. Block votes use this minimum to determine the
226
+ * minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
227
+ * target a max number of votes
228
+ **/
229
+ currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, []>;
230
+ /**
231
+ * The key K is selected to be the hash of a block in the blockchain - this block is called
232
+ * the 'key block'. For optimal mining and verification performance, the key should
233
+ * change every day
234
+ **/
235
+ currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
236
+ /**
237
+ * The current vote minimum of the chain. Block votes use this minimum to determine the
238
+ * minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
239
+ * target a max number of votes
240
+ **/
241
+ currentVoteMinimum: AugmentedQuery<ApiType, () => Observable<u128>, []>;
242
+ pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, []>;
243
+ pastComputeBlockTimes: AugmentedQuery<ApiType, () => Observable<Vec<u64>>, []>;
244
+ /**
245
+ * The timestamp from the previous block
246
+ **/
247
+ previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
248
+ tempBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
249
+ /**
250
+ * Temporary store the vote digest
251
+ **/
252
+ tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, []>;
253
+ /**
254
+ * Temporary store of any current tick notebooks included in this block (vs tick)
255
+ **/
256
+ tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, []>;
257
+ /**
258
+ * Keeps the last 3 vote minimums. The first one applies to the current block.
259
+ **/
260
+ voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
261
+ };
262
+ crosschainTransfer: {
263
+ /**
264
+ * Config accepted for each supported source chain.
265
+ **/
266
+ chainConfigBySourceChain: AugmentedQuery<ApiType, (arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<PalletCrosschainTransferChainConfig>>, [PalletCrosschainTransferSourceChain]>;
267
+ /**
268
+ * Accounts whose recent-transfer evidence expires at a given tick.
269
+ **/
270
+ inboundTransfersExpiringAt: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u64]>;
271
+ /**
272
+ * Latest tick whose recent-transfer expiration bucket was cleaned up.
273
+ **/
274
+ lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
275
+ /**
276
+ * Latest accepted nonce for each `(source_chain, from)` pair.
277
+ **/
278
+ nonceBySourceAccount: AugmentedQuery<ApiType, (arg: ITuple<[PalletCrosschainTransferSourceChain, H160]> | [PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array, H160 | string | Uint8Array]) => Observable<Option<u64>>, [ITuple<[PalletCrosschainTransferSourceChain, H160]>]>;
279
+ /**
280
+ * Count of still-retained qualifying Argon transfers for each local account.
281
+ **/
282
+ recentArgonTransfersByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]>;
283
+ };
284
+ digests: {
285
+ tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, []>;
286
+ };
287
+ domains: {
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]>;
291
+ };
292
+ ethereumVerifier: {
293
+ /**
294
+ * Chain-configured beacon preset expected by clients that submit verifier updates.
295
+ **/
296
+ beaconPreset: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>, []>;
297
+ /**
298
+ * Sync committee for current period
299
+ **/
300
+ currentSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
301
+ /**
302
+ * Execution header anchors: current position in ring buffer.
303
+ **/
304
+ executionHeaderAnchorIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
305
+ /**
306
+ * Execution header anchors: mapping of ring buffer index to a pruning candidate.
307
+ **/
308
+ executionHeaderAnchorMapping: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
309
+ /**
310
+ * Retained execution-layer header anchors by execution block hash.
311
+ **/
312
+ executionHeaderAnchors: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>, [H256]>;
313
+ /**
314
+ * Beacon state by finalized block root
315
+ **/
316
+ finalizedBeaconState: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>, [H256]>;
317
+ /**
318
+ * Finalized Headers: Current position in ring buffer
319
+ **/
320
+ finalizedBeaconStateIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
321
+ /**
322
+ * Finalized Headers: Mapping of ring buffer index to a pruning candidate
323
+ **/
324
+ finalizedBeaconStateMapping: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
325
+ /**
326
+ * Fork-version schedule used for sync-committee signing domains and beacon state paths.
327
+ **/
328
+ forkVersionSchedule: AugmentedQuery<ApiType, () => Observable<Option<PalletEthereumVerifierForkVersions>>, []>;
329
+ /**
330
+ * Latest imported checkpoint root
331
+ **/
332
+ initialCheckpointRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
333
+ /**
334
+ * Latest retained execution-layer anchor block hash.
335
+ **/
336
+ latestExecutionHeaderAnchorBlockHash: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
337
+ /**
338
+ * Latest imported finalized block root
339
+ **/
340
+ latestFinalizedBlockRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
341
+ /**
342
+ * The last period where the next sync committee was updated for free.
343
+ **/
344
+ latestSyncCommitteeUpdatePeriod: AugmentedQuery<ApiType, () => Observable<u64>, []>;
345
+ /**
346
+ * Sync committee for next period
347
+ **/
348
+ nextSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
349
+ /**
350
+ * The current operating mode of the pallet.
351
+ **/
352
+ operatingMode: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierBasicOperatingMode>, []>;
353
+ validatorsRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
354
+ };
355
+ grandpa: {
356
+ /**
357
+ * The current list of authorities.
358
+ **/
359
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []>;
360
+ /**
361
+ * The number of changes (both in terms of keys and underlying economic responsibilities)
362
+ * in the "set" of Grandpa validators from genesis.
363
+ **/
364
+ currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
365
+ /**
366
+ * next block number where we can force a change.
367
+ **/
368
+ nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
369
+ /**
370
+ * Pending change: (signaled at, scheduled change).
371
+ **/
372
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []>;
373
+ /**
374
+ * A mapping from grandpa set ID to the index of the *most recent* session for which its
375
+ * members were responsible.
376
+ *
377
+ * This is only used for validating equivocation proofs. An equivocation proof must
378
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
379
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
380
+ * was the owner of a given key on a given session, and what the active set ID was
381
+ * during that session.
382
+ *
383
+ * TWOX-NOTE: `SetId` is not under user control.
384
+ **/
385
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
386
+ /**
387
+ * `true` if we are currently stalled.
388
+ **/
389
+ stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []>;
390
+ /**
391
+ * State of the current authority set.
392
+ **/
393
+ state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []>;
394
+ };
395
+ localchainTransfer: {
396
+ /**
397
+ * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
398
+ *
399
+ * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
400
+ * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
401
+ * transfers for that notary remain frozen by design until a notary-switch recovery path is
402
+ * executed.
403
+ **/
404
+ expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
405
+ nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
406
+ pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>, [u32]>;
407
+ };
408
+ miningSlot: {
409
+ /**
410
+ * Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
411
+ **/
412
+ accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [AccountId32]>;
413
+ activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
414
+ /**
415
+ * Argonots that must be locked to take a Miner role
416
+ **/
417
+ argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
418
+ /**
419
+ * The average price per seat for the last 10 frames (newest first)
420
+ **/
421
+ averagePricePerSeat: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
422
+ /**
423
+ * The cohort set to go into effect in the next slot. The Vec has all
424
+ * registrants with their bid amount
425
+ **/
426
+ bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
427
+ /**
428
+ * The number of reward ticks remaining in the frame
429
+ **/
430
+ frameRewardTicksRemaining: AugmentedQuery<ApiType, () => Observable<u64>, []>;
431
+ /**
432
+ * The previous 10 frame start block numbers
433
+ **/
434
+ frameStartBlockNumbers: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
435
+ /**
436
+ * The previous 10 frame start ticks
437
+ **/
438
+ frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
439
+ hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
440
+ /**
441
+ * The number of bids per slot for the last 10 slots (newest first)
442
+ **/
443
+ historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, []>;
444
+ /**
445
+ * Is the next slot still open for bids
446
+ **/
447
+ isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
448
+ /**
449
+ * This is a lookup of each miner's nonce to use when picking a best authority to submit a
450
+ * block. It's a blake2 256 hash of the miner account id and the block hash at time of
451
+ * activation.
452
+ **/
453
+ minerNonceScoringByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>, []>;
454
+ /**
455
+ * Miners that are active in the current block (post initialize) by their starting frame
456
+ **/
457
+ minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [u64]>;
458
+ /**
459
+ * The mining slot configuration set in genesis
460
+ **/
461
+ miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, []>;
462
+ /**
463
+ * Is a new frame started in this block
464
+ **/
465
+ newlyStartedFrameId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
466
+ /**
467
+ * The number of allow miners to bid for the next mining cohort
468
+ **/
469
+ nextCohortSize: AugmentedQuery<ApiType, () => Observable<u32>, []>;
470
+ /**
471
+ * The next frameId. A frame in argon is the 24 hours between the start of two different mining
472
+ * cohorts.
473
+ **/
474
+ nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
475
+ /**
476
+ * The miners released in the last block (only kept for a single block)
477
+ **/
478
+ releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, []>;
479
+ /**
480
+ * The upcoming changes scheduled for cohort size by frame.
481
+ * Capacity of 11 allows for 10 frames worth of scheduled changes plus one working slot
482
+ * to schedule a new change during frame finalization.
483
+ **/
484
+ scheduledCohortSizeChangeByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u32>>, []>;
485
+ /**
486
+ * Temporary store the frame info digest
487
+ **/
488
+ tempFrameInfoDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>, []>;
489
+ };
490
+ mint: {
491
+ blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
492
+ /**
493
+ * The amount of argons minted per mining cohort (ie, grouped by starting frame id)
494
+ **/
495
+ miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, []>;
496
+ /**
497
+ * The total amount of Bitcoin microgons minted. Cannot exceed `MintedMiningMicrogons`.
498
+ **/
499
+ mintedBitcoinMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
500
+ /**
501
+ * The total amount of microgons minted for mining
502
+ **/
503
+ mintedMiningMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
504
+ /**
505
+ * Bitcoin UTXOs that have been submitted for minting. This list is FIFO for minting whenever
506
+ * a) CPI >= 0 and
507
+ * b) the aggregate minted Bitcoins <= the aggregate minted microgons from mining
508
+ **/
509
+ pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, []>;
510
+ };
511
+ multisig: {
512
+ /**
513
+ * The set of open multisig operations.
514
+ **/
515
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]>;
516
+ };
517
+ notaries: {
518
+ activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, []>;
519
+ expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
520
+ nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
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]>;
523
+ /**
524
+ * Metadata changes to be activated at the given tick
525
+ **/
526
+ queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u64]>;
527
+ };
528
+ notebook: {
529
+ /**
530
+ * Storage map of account origin (notary_id, notebook, account_uid) to the last
531
+ * notebook containing this account in the changed accounts merkle root
532
+ * (NotebookChangedAccountsRootByNotary)
533
+ **/
534
+ accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | { notebookNumber?: any; accountUid?: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, ArgonPrimitivesBalanceChangeAccountOrigin]>;
535
+ /**
536
+ * The notebooks included in this block
537
+ **/
538
+ blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, []>;
539
+ /**
540
+ * Check if the inherent was included
541
+ **/
542
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
543
+ /**
544
+ * List of last few notebook details by notary. The bool is whether the notebook is eligible
545
+ * for votes (received at correct tick and audit passed)
546
+ **/
547
+ lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [u32]>;
548
+ /**
549
+ * Notaries ready to start reprocessing at a given notebook number
550
+ **/
551
+ lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]>;
552
+ /**
553
+ * Notaries locked for failing audits
554
+ **/
555
+ notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
556
+ /**
557
+ * Double storage map of notary id + notebook # to the change root
558
+ **/
559
+ notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]>;
560
+ };
561
+ operationalAccounts: {
562
+ /**
563
+ * Referral codes that have already been linked, keyed to their proof expiration frame.
564
+ **/
565
+ consumedReferralCodes: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
566
+ /**
567
+ * Referral codes to clear after their referral proof expiration frame.
568
+ **/
569
+ consumedReferralCodesByExpiration: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [u64, U8aFixed]>;
570
+ /**
571
+ * Opaque encrypted sponsor server payload keyed by the sponsee operational account.
572
+ **/
573
+ encryptedServerBySponsee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]>;
574
+ /**
575
+ * Oldest referral expiration frame that still has cleanup work to resume.
576
+ **/
577
+ expiredReferralCodeCleanupFrame: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
578
+ /**
579
+ * Reverse lookup of any linked account to its operational account id.
580
+ **/
581
+ operationalAccountBySubAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]>;
582
+ /**
583
+ * Registered operational accounts keyed by the primary account id.
584
+ **/
585
+ operationalAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletOperationalAccountsOperationalAccount>>, [AccountId32]>;
586
+ /**
587
+ * Configured reward amounts for operational accounts.
588
+ **/
589
+ rewards: AugmentedQuery<ApiType, () => Observable<PalletOperationalAccountsRewardsConfig>, []>;
590
+ };
591
+ ownership: {
592
+ /**
593
+ * The Balances pallet example of storing the balance of an account.
594
+ *
595
+ * # Example
596
+ *
597
+ * ```nocompile
598
+ * impl pallet_balances::Config for Runtime {
599
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
600
+ * }
601
+ * ```
602
+ *
603
+ * You can also store the balance of an account in the `System` pallet.
604
+ *
605
+ * # Example
606
+ *
607
+ * ```nocompile
608
+ * impl pallet_balances::Config for Runtime {
609
+ * type AccountStore = System
610
+ * }
611
+ * ```
612
+ *
613
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
614
+ * `frame_system` data alongside the account data contrary to storing account balances in the
615
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
616
+ * NOTE: This is only used in the case that this pallet is used to store balances.
617
+ **/
618
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
619
+ /**
620
+ * Freeze locks on account balances.
621
+ **/
622
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
623
+ /**
624
+ * Holds on account balances.
625
+ **/
626
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
627
+ /**
628
+ * The total units of outstanding deactivated balance in the system.
629
+ **/
630
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
631
+ /**
632
+ * Any liquidity locks on some account balances.
633
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
634
+ *
635
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
636
+ **/
637
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
638
+ /**
639
+ * Named reserves on some account balances.
640
+ *
641
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
642
+ **/
643
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
644
+ /**
645
+ * The total units issued in the system.
646
+ **/
647
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
648
+ };
649
+ priceIndex: {
650
+ /**
651
+ * Stores the active price index
652
+ **/
653
+ current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
654
+ /**
655
+ * Tracks the average cpi data every 60 ticks
656
+ **/
657
+ historicArgonCPI: AugmentedQuery<ApiType, () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>, []>;
658
+ /**
659
+ * Stores the last valid price index
660
+ **/
661
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
662
+ /**
663
+ * The price index operator account
664
+ **/
665
+ operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
666
+ };
667
+ proxy: {
668
+ /**
669
+ * The announcements made by the proxy (key).
670
+ **/
671
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
672
+ /**
673
+ * The set of account proxies. Maps the account which has delegated to the accounts
674
+ * which are being delegated to, together with the amount held on deposit.
675
+ **/
676
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
677
+ };
678
+ sudo: {
679
+ /**
680
+ * The `AccountId` of the sudo key.
681
+ **/
682
+ key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
683
+ };
684
+ system: {
685
+ /**
686
+ * The full account information for a particular account ID.
687
+ **/
688
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]>;
689
+ /**
690
+ * `Some` if a code upgrade has been authorized.
691
+ **/
692
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []>;
693
+ /**
694
+ * Map of block numbers to block hashes.
695
+ **/
696
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
697
+ /**
698
+ * Total size (in bytes) of the current block.
699
+ *
700
+ * Tracks the size of the header and all extrinsics.
701
+ **/
702
+ blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
703
+ /**
704
+ * Number of blocks till the pending code upgrade is applied.
705
+ **/
706
+ blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []>;
707
+ /**
708
+ * The current weight for the block.
709
+ **/
710
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []>;
711
+ /**
712
+ * Digest of the current block, also part of the block header.
713
+ **/
714
+ digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []>;
715
+ /**
716
+ * The number of events in the `Events<T>` list.
717
+ **/
718
+ eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
719
+ /**
720
+ * Events deposited for the current block.
721
+ *
722
+ * NOTE: The item is unbound and should therefore never be read on chain.
723
+ * It could otherwise inflate the PoV size of a block.
724
+ *
725
+ * Events have a large in-memory size. Box the events to not go out-of-memory
726
+ * just in case someone still reads them from within the runtime.
727
+ **/
728
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []>;
729
+ /**
730
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
731
+ * of events in the `<Events<T>>` list.
732
+ *
733
+ * All topic vectors have deterministic storage locations depending on the topic. This
734
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
735
+ * in case of changes fetch the list of events of interest.
736
+ *
737
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
738
+ * the `EventIndex` then in case if the topic has the same contents on the next block
739
+ * no notification will be triggered thus the event might be lost.
740
+ **/
741
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]>;
742
+ /**
743
+ * The execution phase of the block.
744
+ **/
745
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []>;
746
+ /**
747
+ * Total extrinsics count for the current block.
748
+ **/
749
+ extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
750
+ /**
751
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
752
+ **/
753
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]>;
754
+ /**
755
+ * The weight reclaimed for the extrinsic.
756
+ *
757
+ * This information is available until the end of the extrinsic execution.
758
+ * More precisely this information is removed in `note_applied_extrinsic`.
759
+ *
760
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
761
+ * reduction.
762
+ **/
763
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []>;
764
+ /**
765
+ * Whether all inherents have been applied.
766
+ **/
767
+ inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []>;
768
+ /**
769
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
770
+ **/
771
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []>;
772
+ /**
773
+ * The current block number being processed. Set by `execute_block`.
774
+ **/
775
+ number: AugmentedQuery<ApiType, () => Observable<u32>, []>;
776
+ /**
777
+ * Hash of the previous block.
778
+ **/
779
+ parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
780
+ /**
781
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
782
+ * (default) if not.
783
+ **/
784
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
785
+ /**
786
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
787
+ **/
788
+ upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
789
+ };
790
+ ticks: {
791
+ currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
792
+ genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
793
+ genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, []>;
794
+ previousTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
795
+ /**
796
+ * Blocks from the last 100 ticks. Trimmed in on_initialize.
797
+ * NOTE: cannot include the current block hash until next block
798
+ **/
799
+ recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
800
+ };
801
+ timestamp: {
802
+ /**
803
+ * Whether the timestamp has been updated in this block.
804
+ *
805
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
806
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
807
+ **/
808
+ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []>;
809
+ /**
810
+ * The current time for the current block.
811
+ **/
812
+ now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
813
+ };
814
+ transactionPayment: {
815
+ nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
816
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []>;
817
+ /**
818
+ * The `OnChargeTransaction` stores the withdrawn tx fee here.
819
+ *
820
+ * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
821
+ **/
822
+ txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
823
+ };
824
+ treasury: {
825
+ /**
826
+ * The stored state for each bond lot.
827
+ **/
828
+ bondLotById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>, [u64]>;
829
+ /**
830
+ * The bond lot ids that belong to an account.
831
+ **/
832
+ bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
833
+ /**
834
+ * The accepted bond lots for a vault.
835
+ *
836
+ * Lots are kept in descending bond order, then lower `bond_lot_id` first for ties.
837
+ **/
838
+ bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>, [u32]>;
839
+ /**
840
+ * The vault capital locked for the current frame.
841
+ *
842
+ * Payout uses this to see which vaults and bond lots are participating in the frame.
843
+ **/
844
+ currentFrameVaultCapital: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameVaultCapital>>, []>;
845
+ /**
846
+ * The next bond lot id.
847
+ **/
848
+ nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
849
+ /**
850
+ * The oldest frame that still has bond lots to retry releasing.
851
+ **/
852
+ pendingBondReleaseRetryCursor: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
853
+ /**
854
+ * Bond lots to release at the given frame.
855
+ **/
856
+ pendingBondReleasesByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
857
+ };
858
+ txPause: {
859
+ /**
860
+ * The set of calls that are explicitly paused.
861
+ **/
862
+ pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]>;
863
+ };
864
+ vaults: {
865
+ /**
866
+ * The last collect frame of each vault
867
+ **/
868
+ lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
869
+ nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
870
+ /**
871
+ * Orphaned Bitcoin Utxos pending cosign by vault id
872
+ **/
873
+ orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
874
+ /**
875
+ * Bitcoin Locks pending cosign by vault id
876
+ **/
877
+ pendingCosignByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u32]>;
878
+ /**
879
+ * Pending terms that will be committed at the given block number (must be a minimum of 1 slot
880
+ * change away)
881
+ **/
882
+ pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
883
+ /**
884
+ * Recent reductions in `available_for_lock`, grouped by vault.
885
+ **/
886
+ recentCapacityDropsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsRecentCapacityDrop>>, [u32]>;
887
+ /**
888
+ * Tracks revenue from Bitcoin Locks and Treasury Pools for the trailing frames for each vault
889
+ * (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the
890
+ * collect expiration window (`RevenueCollectionExpirationFrames`).
891
+ **/
892
+ revenuePerFrameByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>, [u32]>;
893
+ /**
894
+ * The vaults that have funds releasing at a given bitcoin height
895
+ **/
896
+ vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
897
+ /**
898
+ * Vaults by owner
899
+ **/
900
+ vaultIdByOperator: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]>;
901
+ /**
902
+ * Vaults by id
903
+ **/
904
+ vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [u32]>;
905
+ /**
906
+ * Vaults whose temporary operational minimum may be released at a given tick.
907
+ **/
908
+ vaultsReleasingOperationalMinimumByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
909
+ /**
910
+ * Vault Bitcoin Xpub and current child counter by VaultId
911
+ **/
912
+ vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [u32]>;
913
+ };
914
+ } // AugmentedQueries
915
+ } // declare module