@argonprotocol/mainchain 1.4.3-dev.43df9563 → 1.4.3-dev.4544e954

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
  2. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
  3. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
  4. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
  5. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
  6. package/browser/index.d.ts +2823 -1724
  7. package/browser/index.js +6819 -115
  8. package/browser/index.js.map +1 -1
  9. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
  10. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
  11. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
  12. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
  13. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
  14. package/lib/index.cjs +6910 -183
  15. package/lib/index.cjs.map +1 -1
  16. package/lib/index.d.cts +2823 -1724
  17. package/lib/index.d.ts +2823 -1724
  18. package/lib/index.js +6848 -121
  19. package/lib/index.js.map +1 -1
  20. package/package.json +29 -26
  21. package/src/interfaces/augment-api-consts.ts +655 -0
  22. package/src/interfaces/augment-api-errors.ts +1376 -0
  23. package/src/interfaces/augment-api-events.ts +2098 -0
  24. package/src/interfaces/augment-api-query.ts +1808 -0
  25. package/src/interfaces/augment-api-rpc.ts +1133 -0
  26. package/src/interfaces/augment-api-runtime.ts +305 -0
  27. package/src/interfaces/augment-api-tx.ts +2298 -0
  28. package/src/interfaces/augment-api.ts +9 -0
  29. package/src/interfaces/augment-types.ts +2691 -0
  30. package/src/interfaces/definitions.ts +42 -0
  31. package/src/interfaces/ethereum/index.ts +3 -0
  32. package/src/interfaces/ethereum/types.ts +65 -0
  33. package/src/interfaces/lookup.ts +4164 -0
  34. package/src/interfaces/registry.ts +597 -0
  35. package/src/interfaces/types-lookup.ts +4868 -0
@@ -0,0 +1,1808 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+
3
+ // import type lookup before we augment - in some environments
4
+ // this is required to allow for ambient/previous definitions
5
+ import type {} from '@polkadot/api-base/types/storage';
6
+
7
+ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
8
+ import type {
9
+ BTreeMap,
10
+ BTreeSet,
11
+ Bytes,
12
+ Null,
13
+ Option,
14
+ U8aFixed,
15
+ Vec,
16
+ bool,
17
+ u128,
18
+ u16,
19
+ u32,
20
+ u64,
21
+ u8,
22
+ } from '@polkadot/types-codec';
23
+ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
24
+ import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
25
+ import type {
26
+ ArgonNotaryAuditErrorVerifyError,
27
+ ArgonPrimitivesBalanceChangeAccountOrigin,
28
+ ArgonPrimitivesBitcoinBitcoinBlock,
29
+ ArgonPrimitivesBitcoinBitcoinNetwork,
30
+ ArgonPrimitivesBitcoinBitcoinXPub,
31
+ ArgonPrimitivesBitcoinUtxoRef,
32
+ ArgonPrimitivesBitcoinUtxoValue,
33
+ ArgonPrimitivesBlockSealBlockPayout,
34
+ ArgonPrimitivesBlockSealMiningBidStats,
35
+ ArgonPrimitivesBlockSealMiningRegistration,
36
+ ArgonPrimitivesBlockSealMiningSlotConfig,
37
+ ArgonPrimitivesDigestsBlockVoteDigest,
38
+ ArgonPrimitivesDigestsDigestset,
39
+ ArgonPrimitivesDigestsFrameInfo,
40
+ ArgonPrimitivesDigestsNotebookDigest,
41
+ ArgonPrimitivesDomainZoneRecord,
42
+ ArgonPrimitivesEthereumEthereumBeaconPreset,
43
+ ArgonPrimitivesForkPower,
44
+ ArgonPrimitivesInherentsBlockSealInherent,
45
+ ArgonPrimitivesNotaryNotaryMeta,
46
+ ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
47
+ ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
48
+ ArgonPrimitivesNotaryNotaryRecord,
49
+ ArgonPrimitivesProvidersBlockSealerInfo,
50
+ ArgonPrimitivesTickTicker,
51
+ ArgonPrimitivesVault,
52
+ ArgonPrimitivesVaultVaultArgonotCommitment,
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
+ PalletCrosschainTransferCouncilApprovalQueueEntry,
70
+ PalletCrosschainTransferGatewayState,
71
+ PalletCrosschainTransferGatewaySyncPause,
72
+ PalletCrosschainTransferGlobalIssuanceCouncil,
73
+ PalletCrosschainTransferMintingAuthority,
74
+ PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
75
+ PalletCrosschainTransferSourceChain,
76
+ PalletCrosschainTransferSourceChainCirculation,
77
+ PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
78
+ PalletCrosschainTransferTransferOutTransferOutOfArgon,
79
+ PalletDomainsDomainRegistration,
80
+ PalletEthereumVerifierBasicOperatingMode,
81
+ PalletEthereumVerifierExecutionHeaderAnchor,
82
+ PalletEthereumVerifierFinalizedBeaconHeaderState,
83
+ PalletEthereumVerifierForkVersions,
84
+ PalletEthereumVerifierSyncCommitteePrepared,
85
+ PalletGrandpaStoredPendingChange,
86
+ PalletGrandpaStoredState,
87
+ PalletLocalchainTransferQueuedTransferOut,
88
+ PalletMiningSlotMinerNonceScoring,
89
+ PalletMintMintAction,
90
+ PalletMultisigMultisig,
91
+ PalletOperationalAccountsOperationalAccount,
92
+ PalletOperationalAccountsRewardsConfig,
93
+ PalletPriceIndexCpiMeasurementBucket,
94
+ PalletPriceIndexPriceIndex,
95
+ PalletProxyAnnouncement,
96
+ PalletProxyProxyDefinition,
97
+ PalletTransactionPaymentReleases,
98
+ PalletTreasuryBondLot,
99
+ PalletTreasuryBondLotSummary,
100
+ PalletTreasuryFrameVaultCapital,
101
+ PalletVaultsRecentCapacityDrop,
102
+ PalletVaultsVaultFrameRevenue,
103
+ SpConsensusGrandpaAppPublic,
104
+ SpRuntimeDigest,
105
+ SpWeightsWeightV2Weight,
106
+ } from '@polkadot/types/lookup';
107
+ import type { Observable } from '@polkadot/types/types';
108
+
109
+ export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
110
+ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
111
+
112
+ declare module '@polkadot/api-base/types/storage' {
113
+ interface AugmentedQueries<ApiType extends ApiTypes> {
114
+ authorship: {
115
+ /**
116
+ * Author of current block.
117
+ **/
118
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
119
+ };
120
+ balances: {
121
+ /**
122
+ * The Balances pallet example of storing the balance of an account.
123
+ *
124
+ * # Example
125
+ *
126
+ * ```nocompile
127
+ * impl pallet_balances::Config for Runtime {
128
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
129
+ * }
130
+ * ```
131
+ *
132
+ * You can also store the balance of an account in the `System` pallet.
133
+ *
134
+ * # Example
135
+ *
136
+ * ```nocompile
137
+ * impl pallet_balances::Config for Runtime {
138
+ * type AccountStore = System
139
+ * }
140
+ * ```
141
+ *
142
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
143
+ * `frame_system` data alongside the account data contrary to storing account balances in the
144
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
145
+ * NOTE: This is only used in the case that this pallet is used to store balances.
146
+ **/
147
+ account: AugmentedQuery<
148
+ ApiType,
149
+ (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
150
+ [AccountId32]
151
+ >;
152
+ /**
153
+ * Freeze locks on account balances.
154
+ **/
155
+ freezes: AugmentedQuery<
156
+ ApiType,
157
+ (
158
+ arg: AccountId32 | string | Uint8Array,
159
+ ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
160
+ [AccountId32]
161
+ >;
162
+ /**
163
+ * Holds on account balances.
164
+ **/
165
+ holds: AugmentedQuery<
166
+ ApiType,
167
+ (
168
+ arg: AccountId32 | string | Uint8Array,
169
+ ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
170
+ [AccountId32]
171
+ >;
172
+ /**
173
+ * The total units of outstanding deactivated balance in the system.
174
+ **/
175
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
176
+ /**
177
+ * Any liquidity locks on some account balances.
178
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
179
+ *
180
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
181
+ **/
182
+ locks: AugmentedQuery<
183
+ ApiType,
184
+ (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
185
+ [AccountId32]
186
+ >;
187
+ /**
188
+ * Named reserves on some account balances.
189
+ *
190
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
191
+ **/
192
+ reserves: AugmentedQuery<
193
+ ApiType,
194
+ (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
195
+ [AccountId32]
196
+ >;
197
+ /**
198
+ * The total units issued in the system.
199
+ **/
200
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
201
+ };
202
+ bitcoinLocks: {
203
+ /**
204
+ * Utxos that have been requested to be cosigned for releasing
205
+ **/
206
+ lockCosignDueByFrame: AugmentedQuery<
207
+ ApiType,
208
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
209
+ [u64]
210
+ >;
211
+ /**
212
+ * Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
213
+ * unlock it. Bitcoin will go to vault
214
+ **/
215
+ lockExpirationsByBitcoinHeight: AugmentedQuery<
216
+ ApiType,
217
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
218
+ [u64]
219
+ >;
220
+ /**
221
+ * Stores the block number where a release was cosigned by the vault.
222
+ **/
223
+ lockReleaseCosignHeightById: AugmentedQuery<
224
+ ApiType,
225
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
226
+ [u64]
227
+ >;
228
+ /**
229
+ * Stores bitcoin locks that have requested to be released
230
+ **/
231
+ lockReleaseRequestsByUtxoId: AugmentedQuery<
232
+ ApiType,
233
+ (
234
+ arg: u64 | AnyNumber | Uint8Array,
235
+ ) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>,
236
+ [u64]
237
+ >;
238
+ /**
239
+ * Stores bitcoin utxos that have requested to be released
240
+ **/
241
+ locksByUtxoId: AugmentedQuery<
242
+ ApiType,
243
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>,
244
+ [u64]
245
+ >;
246
+ /**
247
+ * History of target microgons per btc.
248
+ **/
249
+ microgonPerBtcHistory: AugmentedQuery<
250
+ ApiType,
251
+ () => Observable<Vec<ITuple<[u64, u128]>>>,
252
+ []
253
+ >;
254
+ /**
255
+ * The minimum number of satoshis that can be locked
256
+ **/
257
+ minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
258
+ nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
259
+ /**
260
+ * Expiration of orphaned utxo refs by user account
261
+ **/
262
+ orphanedUtxoExpirationByFrame: AugmentedQuery<
263
+ ApiType,
264
+ (
265
+ arg: u64 | AnyNumber | Uint8Array,
266
+ ) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>,
267
+ [u64]
268
+ >;
269
+ /**
270
+ * Mismatched utxos that were sent with invalid amounts to a locked bitcoin
271
+ **/
272
+ orphanedUtxosByAccount: AugmentedQuery<
273
+ ApiType,
274
+ (
275
+ arg1: AccountId32 | string | Uint8Array,
276
+ arg2:
277
+ | ArgonPrimitivesBitcoinUtxoRef
278
+ | { txid?: any; outputIndex?: any }
279
+ | string
280
+ | Uint8Array,
281
+ ) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
282
+ [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
283
+ >;
284
+ /**
285
+ * Index of active UTXO IDs per vault
286
+ **/
287
+ utxoIdsByVaultId: AugmentedQuery<
288
+ ApiType,
289
+ (
290
+ arg1: u32 | AnyNumber | Uint8Array,
291
+ arg2: u64 | AnyNumber | Uint8Array,
292
+ ) => Observable<Option<Null>>,
293
+ [u32, u64]
294
+ >;
295
+ };
296
+ bitcoinUtxos: {
297
+ /**
298
+ * The genesis set bitcoin network that this chain is tied to
299
+ **/
300
+ bitcoinNetwork: AugmentedQuery<
301
+ ApiType,
302
+ () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
303
+ []
304
+ >;
305
+ /**
306
+ * Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
307
+ **/
308
+ candidateUtxoRefsByUtxoId: AugmentedQuery<
309
+ ApiType,
310
+ (
311
+ arg: u64 | AnyNumber | Uint8Array,
312
+ ) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>,
313
+ [u64]
314
+ >;
315
+ /**
316
+ * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
317
+ **/
318
+ confirmedBitcoinBlockTip: AugmentedQuery<
319
+ ApiType,
320
+ () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
321
+ []
322
+ >;
323
+ /**
324
+ * Pending funding entries that have expired and are awaiting bounded cleanup.
325
+ **/
326
+ expiredPendingFunding: AugmentedQuery<
327
+ ApiType,
328
+ () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
329
+ []
330
+ >;
331
+ /**
332
+ * Check if the inherent was included
333
+ **/
334
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
335
+ /**
336
+ * Locked Bitcoin UTXOs that have been funded with a UtxoRef from the Bitcoin network and
337
+ * amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
338
+ * before the expiration block, the funds are burned and the UTXO is unlocked.
339
+ **/
340
+ lockedUtxos: AugmentedQuery<
341
+ ApiType,
342
+ (
343
+ arg:
344
+ | ArgonPrimitivesBitcoinUtxoRef
345
+ | { txid?: any; outputIndex?: any }
346
+ | string
347
+ | Uint8Array,
348
+ ) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>,
349
+ [ArgonPrimitivesBitcoinUtxoRef]
350
+ >;
351
+ /**
352
+ * Bitcoin locks that are pending full funding on the bitcoin network
353
+ **/
354
+ locksPendingFunding: AugmentedQuery<
355
+ ApiType,
356
+ () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>,
357
+ []
358
+ >;
359
+ /**
360
+ * Bitcoin Oracle Operator Account
361
+ **/
362
+ oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
363
+ previousBitcoinBlockTip: AugmentedQuery<
364
+ ApiType,
365
+ () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
366
+ []
367
+ >;
368
+ /**
369
+ * The last synched bitcoin block
370
+ **/
371
+ synchedBitcoinBlock: AugmentedQuery<
372
+ ApiType,
373
+ () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
374
+ []
375
+ >;
376
+ /**
377
+ * Stores if parent block had a confirmed bitcoin block
378
+ **/
379
+ tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
380
+ /**
381
+ * A mapping of utxo id to the confirmed utxo reference
382
+ **/
383
+ utxoIdToFundingUtxoRef: AugmentedQuery<
384
+ ApiType,
385
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>,
386
+ [u64]
387
+ >;
388
+ };
389
+ blockRewards: {
390
+ /**
391
+ * The current scaled block rewards. It will adjust based on the argon movement away from price
392
+ * target
393
+ **/
394
+ argonsPerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []>;
395
+ blockFees: AugmentedQuery<ApiType, () => Observable<u128>, []>;
396
+ /**
397
+ * The cohort block rewards by mining cohort (ie, with the same starting frame id)
398
+ **/
399
+ blockRewardsByCohort: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, []>;
400
+ /**
401
+ * Bool if block rewards are paused
402
+ **/
403
+ blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
404
+ /**
405
+ * Historical payouts by block number
406
+ **/
407
+ payoutsByBlock: AugmentedQuery<
408
+ ApiType,
409
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>,
410
+ [u32]
411
+ >;
412
+ };
413
+ blockSeal: {
414
+ /**
415
+ * The calculated strength in the runtime so that it can be
416
+ * upgraded, but is used by the node to determine which fork to follow
417
+ **/
418
+ blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, []>;
419
+ /**
420
+ * Is the block from a vote seal?
421
+ **/
422
+ isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
423
+ lastBlockSealerInfo: AugmentedQuery<
424
+ ApiType,
425
+ () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>,
426
+ []
427
+ >;
428
+ lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
429
+ /**
430
+ * The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
431
+ * Secret + VotesMerkleRoot of the parent block notebooks.
432
+ **/
433
+ parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
434
+ /**
435
+ * Ensures only a single inherent is applied
436
+ **/
437
+ tempSealInherent: AugmentedQuery<
438
+ ApiType,
439
+ () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>,
440
+ []
441
+ >;
442
+ /**
443
+ * The count of votes in the last 3 ticks
444
+ **/
445
+ votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []>;
446
+ };
447
+ blockSealSpec: {
448
+ /**
449
+ * The current vote minimum of the chain. Block votes use this minimum to determine the
450
+ * minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
451
+ * target a max number of votes
452
+ **/
453
+ currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, []>;
454
+ /**
455
+ * The key K is selected to be the hash of a block in the blockchain - this block is called
456
+ * the 'key block'. For optimal mining and verification performance, the key should
457
+ * change every day
458
+ **/
459
+ currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
460
+ /**
461
+ * The current vote minimum of the chain. Block votes use this minimum to determine the
462
+ * minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
463
+ * target a max number of votes
464
+ **/
465
+ currentVoteMinimum: AugmentedQuery<ApiType, () => Observable<u128>, []>;
466
+ pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, []>;
467
+ pastComputeBlockTimes: AugmentedQuery<ApiType, () => Observable<Vec<u64>>, []>;
468
+ /**
469
+ * The timestamp from the previous block
470
+ **/
471
+ previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
472
+ tempBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
473
+ /**
474
+ * Temporary store the vote digest
475
+ **/
476
+ tempBlockVoteDigest: AugmentedQuery<
477
+ ApiType,
478
+ () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>,
479
+ []
480
+ >;
481
+ /**
482
+ * Temporary store of any current tick notebooks included in this block (vs tick)
483
+ **/
484
+ tempCurrentTickNotebooksInBlock: AugmentedQuery<
485
+ ApiType,
486
+ () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>,
487
+ []
488
+ >;
489
+ /**
490
+ * Keeps the last 3 vote minimums. The first one applies to the current block.
491
+ **/
492
+ voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
493
+ };
494
+ crosschainTransfer: {
495
+ /**
496
+ * The active Global Issuance Council hash in force for each destination chain.
497
+ **/
498
+ activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
499
+ ApiType,
500
+ (
501
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
502
+ ) => Observable<Option<H256>>,
503
+ [PalletCrosschainTransferSourceChain]
504
+ >;
505
+ /**
506
+ * Config accepted for each supported source chain.
507
+ **/
508
+ chainConfigBySourceChain: AugmentedQuery<
509
+ ApiType,
510
+ (
511
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
512
+ ) => Observable<Option<PalletCrosschainTransferChainConfig>>,
513
+ [PalletCrosschainTransferSourceChain]
514
+ >;
515
+ /**
516
+ * Latest council approval queue nonce signed by this account for one destination chain.
517
+ **/
518
+ councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
519
+ ApiType,
520
+ (
521
+ arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
522
+ arg2: AccountId32 | string | Uint8Array,
523
+ ) => Observable<Option<u64>>,
524
+ [PalletCrosschainTransferSourceChain, AccountId32]
525
+ >;
526
+ /**
527
+ * The ordered outbound council approval queue for each destination chain.
528
+ **/
529
+ councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
530
+ ApiType,
531
+ (
532
+ arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
533
+ arg2: u64 | AnyNumber | Uint8Array,
534
+ ) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
535
+ [PalletCrosschainTransferSourceChain, u64]
536
+ >;
537
+ /**
538
+ * The registered council signer for each account on each destination chain.
539
+ **/
540
+ councilSignerByDestinationChainAndAccountId: AugmentedQuery<
541
+ ApiType,
542
+ (
543
+ arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
544
+ arg2: AccountId32 | string | Uint8Array,
545
+ ) => Observable<Option<H160>>,
546
+ [PalletCrosschainTransferSourceChain, AccountId32]
547
+ >;
548
+ /**
549
+ * Conservative transfer-out conversion rate currently quoted for each destination chain.
550
+ **/
551
+ currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
552
+ ApiType,
553
+ (
554
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
555
+ ) => Observable<Option<u128>>,
556
+ [PalletCrosschainTransferSourceChain]
557
+ >;
558
+ /**
559
+ * Latest proven gateway activity snapshot for each source chain.
560
+ **/
561
+ gatewayStateBySourceChain: AugmentedQuery<
562
+ ApiType,
563
+ (
564
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
565
+ ) => Observable<Option<PalletCrosschainTransferGatewayState>>,
566
+ [PalletCrosschainTransferSourceChain]
567
+ >;
568
+ /**
569
+ * Pause state recorded when a canonical gateway activity cannot be applied safely.
570
+ **/
571
+ gatewaySyncPauseBySourceChain: AugmentedQuery<
572
+ ApiType,
573
+ (
574
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
575
+ ) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
576
+ [PalletCrosschainTransferSourceChain]
577
+ >;
578
+ /**
579
+ * Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
580
+ **/
581
+ globalIssuanceCouncilByHash: AugmentedQuery<
582
+ ApiType,
583
+ (
584
+ arg: H256 | string | Uint8Array,
585
+ ) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>,
586
+ [H256]
587
+ >;
588
+ /**
589
+ * Accounts whose recent-transfer evidence expires at a given tick.
590
+ **/
591
+ inboundTransfersExpiringAt: AugmentedQuery<
592
+ ApiType,
593
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
594
+ [u64]
595
+ >;
596
+ /**
597
+ * Latest tick whose recent-transfer expiration bucket was cleaned up.
598
+ **/
599
+ lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
600
+ /**
601
+ * The latest queued council hash that should govern the next queue entry on each destination
602
+ * chain.
603
+ **/
604
+ latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
605
+ ApiType,
606
+ (
607
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
608
+ ) => Observable<Option<H256>>,
609
+ [PalletCrosschainTransferSourceChain]
610
+ >;
611
+ /**
612
+ * Per-chain override for the minimum normalized microgon value required to register a
613
+ * Minting Authority.
614
+ **/
615
+ minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
616
+ ApiType,
617
+ (
618
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
619
+ ) => Observable<u128>,
620
+ [PalletCrosschainTransferSourceChain]
621
+ >;
622
+ /**
623
+ * Local Minting Authority records keyed by their destination signing key.
624
+ **/
625
+ mintingAuthoritiesBySigner: AugmentedQuery<
626
+ ApiType,
627
+ (
628
+ arg: H160 | string | Uint8Array,
629
+ ) => Observable<Option<PalletCrosschainTransferMintingAuthority>>,
630
+ [H160]
631
+ >;
632
+ /**
633
+ * Pricing inputs used to repay relayers for Minting Authority activation batches on each
634
+ * destination chain.
635
+ **/
636
+ mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
637
+ ApiType,
638
+ (
639
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
640
+ ) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
641
+ [PalletCrosschainTransferSourceChain]
642
+ >;
643
+ /**
644
+ * The next outbound approval-queue nonce to assign on each destination chain.
645
+ **/
646
+ nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
647
+ ApiType,
648
+ (
649
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
650
+ ) => Observable<u64>,
651
+ [PalletCrosschainTransferSourceChain]
652
+ >;
653
+ /**
654
+ * Next outbound transfer nonce for each sending account.
655
+ **/
656
+ nextTransferOutNonceBySendingAccountId: AugmentedQuery<
657
+ ApiType,
658
+ (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
659
+ [AccountId32]
660
+ >;
661
+ /**
662
+ * Number of non-terminal transfer-out requests on each destination chain.
663
+ **/
664
+ nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
665
+ ApiType,
666
+ (
667
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
668
+ ) => Observable<u32>,
669
+ [PalletCrosschainTransferSourceChain]
670
+ >;
671
+ /**
672
+ * Collateralization requests still open on each destination chain.
673
+ **/
674
+ pendingCollateralizationRequestsByChain: AugmentedQuery<
675
+ ApiType,
676
+ (
677
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
678
+ ) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
679
+ [PalletCrosschainTransferSourceChain]
680
+ >;
681
+ /**
682
+ * A staged council signer rotation for the next council activation on each destination chain.
683
+ **/
684
+ pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
685
+ ApiType,
686
+ (
687
+ arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
688
+ arg2: AccountId32 | string | Uint8Array,
689
+ ) => Observable<Option<H160>>,
690
+ [PalletCrosschainTransferSourceChain, AccountId32]
691
+ >;
692
+ /**
693
+ * Pending outbound principal by destination chain.
694
+ **/
695
+ pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
696
+ ApiType,
697
+ (
698
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
699
+ ) => Observable<PalletCrosschainTransferSourceChainCirculation>,
700
+ [PalletCrosschainTransferSourceChain]
701
+ >;
702
+ /**
703
+ * Immediately previous transfer-out conversion rate still accepted while the floor ratchets
704
+ * upward across council transitions.
705
+ **/
706
+ previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
707
+ ApiType,
708
+ (
709
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
710
+ ) => Observable<Option<u128>>,
711
+ [PalletCrosschainTransferSourceChain]
712
+ >;
713
+ /**
714
+ * Count of still-retained qualifying Argon transfers for each local account.
715
+ **/
716
+ recentArgonTransfersByAccount: AugmentedQuery<
717
+ ApiType,
718
+ (arg: AccountId32 | string | Uint8Array) => Observable<u32>,
719
+ [AccountId32]
720
+ >;
721
+ /**
722
+ * Outbound transfers by transfer id.
723
+ **/
724
+ transferOutById: AugmentedQuery<
725
+ ApiType,
726
+ (
727
+ arg: H256 | string | Uint8Array,
728
+ ) => Observable<Option<PalletCrosschainTransferTransferOutTransferOutOfArgon>>,
729
+ [H256]
730
+ >;
731
+ /**
732
+ * The conservative transfer-out quote floor that the next newly opened transfer should
733
+ * snapshot on each destination chain.
734
+ **/
735
+ transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
736
+ ApiType,
737
+ (
738
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
739
+ ) => Observable<Option<u128>>,
740
+ [PalletCrosschainTransferSourceChain]
741
+ >;
742
+ };
743
+ digests: {
744
+ tempDigests: AugmentedQuery<
745
+ ApiType,
746
+ () => Observable<Option<ArgonPrimitivesDigestsDigestset>>,
747
+ []
748
+ >;
749
+ };
750
+ domains: {
751
+ expiringDomainsByBlock: AugmentedQuery<
752
+ ApiType,
753
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
754
+ [u64]
755
+ >;
756
+ registeredDomains: AugmentedQuery<
757
+ ApiType,
758
+ (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>,
759
+ [H256]
760
+ >;
761
+ zoneRecordsByDomain: AugmentedQuery<
762
+ ApiType,
763
+ (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>,
764
+ [H256]
765
+ >;
766
+ };
767
+ ethereumVerifier: {
768
+ /**
769
+ * Chain-configured beacon preset expected by clients that submit verifier updates.
770
+ **/
771
+ beaconPreset: AugmentedQuery<
772
+ ApiType,
773
+ () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>,
774
+ []
775
+ >;
776
+ /**
777
+ * Sync committee for current period
778
+ **/
779
+ currentSyncCommittee: AugmentedQuery<
780
+ ApiType,
781
+ () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
782
+ []
783
+ >;
784
+ /**
785
+ * Retained execution-layer header anchors by execution block hash.
786
+ **/
787
+ executionHeaderAnchors: AugmentedQuery<
788
+ ApiType,
789
+ (
790
+ arg: H256 | string | Uint8Array,
791
+ ) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
792
+ [H256]
793
+ >;
794
+ /**
795
+ * Ordered retained execution-layer anchors keyed by execution block number.
796
+ *
797
+ * The key is the big-endian execution block number so clients can start at a target execution
798
+ * block number and scan forward to the first retained anchor at or after that block without
799
+ * walking every retained finalized beacon root. `ExecutionHeaderAnchors` remains the canonical
800
+ * hash-keyed proof lookup.
801
+ **/
802
+ executionHeaderAnchorsByBlockNumber: AugmentedQuery<
803
+ ApiType,
804
+ (
805
+ arg: U8aFixed | string | Uint8Array,
806
+ ) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
807
+ [U8aFixed]
808
+ >;
809
+ /**
810
+ * Beacon state by finalized block root
811
+ **/
812
+ finalizedBeaconState: AugmentedQuery<
813
+ ApiType,
814
+ (
815
+ arg: H256 | string | Uint8Array,
816
+ ) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>,
817
+ [H256]
818
+ >;
819
+ /**
820
+ * Finalized Headers: Current position in ring buffer
821
+ **/
822
+ finalizedBeaconStateIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
823
+ /**
824
+ * Finalized Headers: Mapping of ring buffer index to a pruning candidate
825
+ **/
826
+ finalizedBeaconStateMapping: AugmentedQuery<
827
+ ApiType,
828
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
829
+ [u32]
830
+ >;
831
+ /**
832
+ * Attached execution-layer anchor hash for each retained finalized beacon header root.
833
+ **/
834
+ finalizedExecutionHeaderAnchor: AugmentedQuery<
835
+ ApiType,
836
+ (arg: H256 | string | Uint8Array) => Observable<Option<H256>>,
837
+ [H256]
838
+ >;
839
+ /**
840
+ * Fork-version schedule used for sync-committee signing domains and beacon state paths.
841
+ **/
842
+ forkVersionSchedule: AugmentedQuery<
843
+ ApiType,
844
+ () => Observable<Option<PalletEthereumVerifierForkVersions>>,
845
+ []
846
+ >;
847
+ /**
848
+ * Latest imported checkpoint root
849
+ **/
850
+ initialCheckpointRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
851
+ /**
852
+ * Latest retained execution-layer anchor block hash.
853
+ **/
854
+ latestExecutionHeaderAnchorBlockHash: AugmentedQuery<
855
+ ApiType,
856
+ () => Observable<Option<H256>>,
857
+ []
858
+ >;
859
+ /**
860
+ * Latest imported finalized block root
861
+ **/
862
+ latestFinalizedBlockRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
863
+ /**
864
+ * The last period where the next sync committee was updated for free.
865
+ **/
866
+ latestSyncCommitteeUpdatePeriod: AugmentedQuery<ApiType, () => Observable<u64>, []>;
867
+ /**
868
+ * Sync committee for next period
869
+ **/
870
+ nextSyncCommittee: AugmentedQuery<
871
+ ApiType,
872
+ () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
873
+ []
874
+ >;
875
+ /**
876
+ * The current operating mode of the pallet.
877
+ **/
878
+ operatingMode: AugmentedQuery<
879
+ ApiType,
880
+ () => Observable<PalletEthereumVerifierBasicOperatingMode>,
881
+ []
882
+ >;
883
+ validatorsRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
884
+ };
885
+ grandpa: {
886
+ /**
887
+ * The current list of authorities.
888
+ **/
889
+ authorities: AugmentedQuery<
890
+ ApiType,
891
+ () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>,
892
+ []
893
+ >;
894
+ /**
895
+ * The number of changes (both in terms of keys and underlying economic responsibilities)
896
+ * in the "set" of Grandpa validators from genesis.
897
+ **/
898
+ currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
899
+ /**
900
+ * next block number where we can force a change.
901
+ **/
902
+ nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
903
+ /**
904
+ * Pending change: (signaled at, scheduled change).
905
+ **/
906
+ pendingChange: AugmentedQuery<
907
+ ApiType,
908
+ () => Observable<Option<PalletGrandpaStoredPendingChange>>,
909
+ []
910
+ >;
911
+ /**
912
+ * A mapping from grandpa set ID to the index of the *most recent* session for which its
913
+ * members were responsible.
914
+ *
915
+ * This is only used for validating equivocation proofs. An equivocation proof must
916
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
917
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
918
+ * was the owner of a given key on a given session, and what the active set ID was
919
+ * during that session.
920
+ *
921
+ * TWOX-NOTE: `SetId` is not under user control.
922
+ **/
923
+ setIdSession: AugmentedQuery<
924
+ ApiType,
925
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
926
+ [u64]
927
+ >;
928
+ /**
929
+ * `true` if we are currently stalled.
930
+ **/
931
+ stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []>;
932
+ /**
933
+ * State of the current authority set.
934
+ **/
935
+ state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []>;
936
+ };
937
+ localchainTransfer: {
938
+ /**
939
+ * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
940
+ *
941
+ * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
942
+ * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
943
+ * transfers for that notary remain frozen by design until a notary-switch recovery path is
944
+ * executed.
945
+ **/
946
+ expiringTransfersOutByNotary: AugmentedQuery<
947
+ ApiType,
948
+ (
949
+ arg1: u32 | AnyNumber | Uint8Array,
950
+ arg2: u64 | AnyNumber | Uint8Array,
951
+ ) => Observable<Vec<u32>>,
952
+ [u32, u64]
953
+ >;
954
+ nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
955
+ pendingTransfersOut: AugmentedQuery<
956
+ ApiType,
957
+ (
958
+ arg: u32 | AnyNumber | Uint8Array,
959
+ ) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>,
960
+ [u32]
961
+ >;
962
+ };
963
+ miningSlot: {
964
+ /**
965
+ * Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
966
+ **/
967
+ accountIndexLookup: AugmentedQuery<
968
+ ApiType,
969
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>,
970
+ [AccountId32]
971
+ >;
972
+ activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
973
+ /**
974
+ * Argonots that must be locked to take a Miner role
975
+ **/
976
+ argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
977
+ /**
978
+ * The average price per seat for the last 10 frames (newest first)
979
+ **/
980
+ averagePricePerSeat: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
981
+ /**
982
+ * The cohort set to go into effect in the next slot. The Vec has all
983
+ * registrants with their bid amount
984
+ **/
985
+ bidsForNextSlotCohort: AugmentedQuery<
986
+ ApiType,
987
+ () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
988
+ []
989
+ >;
990
+ /**
991
+ * The number of reward ticks remaining in the frame
992
+ **/
993
+ frameRewardTicksRemaining: AugmentedQuery<ApiType, () => Observable<u64>, []>;
994
+ /**
995
+ * The previous 10 frame start block numbers
996
+ **/
997
+ frameStartBlockNumbers: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
998
+ /**
999
+ * The previous 10 frame start ticks
1000
+ **/
1001
+ frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1002
+ hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1003
+ /**
1004
+ * The number of bids per slot for the last 10 slots (newest first)
1005
+ **/
1006
+ historicalBidsPerSlot: AugmentedQuery<
1007
+ ApiType,
1008
+ () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>,
1009
+ []
1010
+ >;
1011
+ /**
1012
+ * Is the next slot still open for bids
1013
+ **/
1014
+ isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1015
+ /**
1016
+ * This is a lookup of each miner's nonce to use when picking a best authority to submit a
1017
+ * block. It's a blake2 256 hash of the miner account id and the block hash at time of
1018
+ * activation.
1019
+ **/
1020
+ minerNonceScoringByCohort: AugmentedQuery<
1021
+ ApiType,
1022
+ () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>,
1023
+ []
1024
+ >;
1025
+ /**
1026
+ * Miners that are active in the current block (post initialize) by their starting frame
1027
+ **/
1028
+ minersByCohort: AugmentedQuery<
1029
+ ApiType,
1030
+ (
1031
+ arg: u64 | AnyNumber | Uint8Array,
1032
+ ) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
1033
+ [u64]
1034
+ >;
1035
+ /**
1036
+ * The mining slot configuration set in genesis
1037
+ **/
1038
+ miningConfig: AugmentedQuery<
1039
+ ApiType,
1040
+ () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>,
1041
+ []
1042
+ >;
1043
+ /**
1044
+ * Is a new frame started in this block
1045
+ **/
1046
+ newlyStartedFrameId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
1047
+ /**
1048
+ * The number of allow miners to bid for the next mining cohort
1049
+ **/
1050
+ nextCohortSize: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1051
+ /**
1052
+ * The next frameId. A frame in argon is the 24 hours between the start of two different mining
1053
+ * cohorts.
1054
+ **/
1055
+ nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1056
+ /**
1057
+ * The miners released in the last block (only kept for a single block)
1058
+ **/
1059
+ releasedMinersByAccountId: AugmentedQuery<
1060
+ ApiType,
1061
+ () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>,
1062
+ []
1063
+ >;
1064
+ /**
1065
+ * The upcoming changes scheduled for cohort size by frame.
1066
+ * Capacity of 11 allows for 10 frames worth of scheduled changes plus one working slot
1067
+ * to schedule a new change during frame finalization.
1068
+ **/
1069
+ scheduledCohortSizeChangeByFrame: AugmentedQuery<
1070
+ ApiType,
1071
+ () => Observable<BTreeMap<u64, u32>>,
1072
+ []
1073
+ >;
1074
+ /**
1075
+ * Temporary store the frame info digest
1076
+ **/
1077
+ tempFrameInfoDigest: AugmentedQuery<
1078
+ ApiType,
1079
+ () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>,
1080
+ []
1081
+ >;
1082
+ };
1083
+ mint: {
1084
+ blockMintAction: AugmentedQuery<
1085
+ ApiType,
1086
+ () => Observable<ITuple<[u32, PalletMintMintAction]>>,
1087
+ []
1088
+ >;
1089
+ /**
1090
+ * The amount of argons minted per mining cohort (ie, grouped by starting frame id)
1091
+ **/
1092
+ miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, []>;
1093
+ /**
1094
+ * The total amount of Bitcoin microgons minted. Cannot exceed `MintedMiningMicrogons`.
1095
+ **/
1096
+ mintedBitcoinMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1097
+ /**
1098
+ * The total amount of microgons minted for mining
1099
+ **/
1100
+ mintedMiningMicrogons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1101
+ /**
1102
+ * Bitcoin UTXOs that have been submitted for minting. This list is FIFO for minting whenever
1103
+ * a) CPI >= 0 and
1104
+ * b) the aggregate minted Bitcoins <= the aggregate minted microgons from mining
1105
+ **/
1106
+ pendingMintUtxos: AugmentedQuery<
1107
+ ApiType,
1108
+ () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>,
1109
+ []
1110
+ >;
1111
+ };
1112
+ multisig: {
1113
+ /**
1114
+ * The set of open multisig operations.
1115
+ **/
1116
+ multisigs: AugmentedQuery<
1117
+ ApiType,
1118
+ (
1119
+ arg1: AccountId32 | string | Uint8Array,
1120
+ arg2: U8aFixed | string | Uint8Array,
1121
+ ) => Observable<Option<PalletMultisigMultisig>>,
1122
+ [AccountId32, U8aFixed]
1123
+ >;
1124
+ };
1125
+ notaries: {
1126
+ activeNotaries: AugmentedQuery<
1127
+ ApiType,
1128
+ () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>,
1129
+ []
1130
+ >;
1131
+ expiringProposals: AugmentedQuery<
1132
+ ApiType,
1133
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
1134
+ [u32]
1135
+ >;
1136
+ nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1137
+ notaryKeyHistory: AugmentedQuery<
1138
+ ApiType,
1139
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>,
1140
+ [u32]
1141
+ >;
1142
+ proposedNotaries: AugmentedQuery<
1143
+ ApiType,
1144
+ (
1145
+ arg: AccountId32 | string | Uint8Array,
1146
+ ) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>,
1147
+ [AccountId32]
1148
+ >;
1149
+ /**
1150
+ * Metadata changes to be activated at the given tick
1151
+ **/
1152
+ queuedNotaryMetaChanges: AugmentedQuery<
1153
+ ApiType,
1154
+ (
1155
+ arg: u64 | AnyNumber | Uint8Array,
1156
+ ) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>,
1157
+ [u64]
1158
+ >;
1159
+ };
1160
+ notebook: {
1161
+ /**
1162
+ * Storage map of account origin (notary_id, notebook, account_uid) to the last
1163
+ * notebook containing this account in the changed accounts merkle root
1164
+ * (NotebookChangedAccountsRootByNotary)
1165
+ **/
1166
+ accountOriginLastChangedNotebookByNotary: AugmentedQuery<
1167
+ ApiType,
1168
+ (
1169
+ arg1: u32 | AnyNumber | Uint8Array,
1170
+ arg2:
1171
+ | ArgonPrimitivesBalanceChangeAccountOrigin
1172
+ | { notebookNumber?: any; accountUid?: any }
1173
+ | string
1174
+ | Uint8Array,
1175
+ ) => Observable<Option<u32>>,
1176
+ [u32, ArgonPrimitivesBalanceChangeAccountOrigin]
1177
+ >;
1178
+ /**
1179
+ * The notebooks included in this block
1180
+ **/
1181
+ blockNotebooks: AugmentedQuery<
1182
+ ApiType,
1183
+ () => Observable<ArgonPrimitivesDigestsNotebookDigest>,
1184
+ []
1185
+ >;
1186
+ /**
1187
+ * Check if the inherent was included
1188
+ **/
1189
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1190
+ /**
1191
+ * List of last few notebook details by notary. The bool is whether the notebook is eligible
1192
+ * for votes (received at correct tick and audit passed)
1193
+ **/
1194
+ lastNotebookDetailsByNotary: AugmentedQuery<
1195
+ ApiType,
1196
+ (
1197
+ arg: u32 | AnyNumber | Uint8Array,
1198
+ ) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>,
1199
+ [u32]
1200
+ >;
1201
+ /**
1202
+ * Notaries ready to start reprocessing at a given notebook number
1203
+ **/
1204
+ lockedNotaryReadyForReprocess: AugmentedQuery<
1205
+ ApiType,
1206
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
1207
+ [u32]
1208
+ >;
1209
+ /**
1210
+ * Notaries locked for failing audits
1211
+ **/
1212
+ notariesLockedForFailedAudit: AugmentedQuery<
1213
+ ApiType,
1214
+ (
1215
+ arg: u32 | AnyNumber | Uint8Array,
1216
+ ) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>,
1217
+ [u32]
1218
+ >;
1219
+ /**
1220
+ * Double storage map of notary id + notebook # to the change root
1221
+ **/
1222
+ notebookChangedAccountsRootByNotary: AugmentedQuery<
1223
+ ApiType,
1224
+ (
1225
+ arg1: u32 | AnyNumber | Uint8Array,
1226
+ arg2: u32 | AnyNumber | Uint8Array,
1227
+ ) => Observable<Option<H256>>,
1228
+ [u32, u32]
1229
+ >;
1230
+ };
1231
+ operationalAccounts: {
1232
+ /**
1233
+ * Referral codes that have already been linked, keyed to their proof expiration frame.
1234
+ **/
1235
+ consumedReferralCodes: AugmentedQuery<
1236
+ ApiType,
1237
+ (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>,
1238
+ [U8aFixed]
1239
+ >;
1240
+ /**
1241
+ * Referral codes to clear after their referral proof expiration frame.
1242
+ **/
1243
+ consumedReferralCodesByExpiration: AugmentedQuery<
1244
+ ApiType,
1245
+ (
1246
+ arg1: u64 | AnyNumber | Uint8Array,
1247
+ arg2: U8aFixed | string | Uint8Array,
1248
+ ) => Observable<Option<Null>>,
1249
+ [u64, U8aFixed]
1250
+ >;
1251
+ /**
1252
+ * Opaque encrypted sponsor server payload keyed by the sponsee operational account.
1253
+ **/
1254
+ encryptedServerBySponsee: AugmentedQuery<
1255
+ ApiType,
1256
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>,
1257
+ [AccountId32]
1258
+ >;
1259
+ /**
1260
+ * Oldest referral expiration frame that still has cleanup work to resume.
1261
+ **/
1262
+ expiredReferralCodeCleanupFrame: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
1263
+ /**
1264
+ * Reverse lookup of any linked account to its operational account id.
1265
+ **/
1266
+ operationalAccountBySubAccount: AugmentedQuery<
1267
+ ApiType,
1268
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>,
1269
+ [AccountId32]
1270
+ >;
1271
+ /**
1272
+ * Registered operational accounts keyed by the primary account id.
1273
+ **/
1274
+ operationalAccounts: AugmentedQuery<
1275
+ ApiType,
1276
+ (
1277
+ arg: AccountId32 | string | Uint8Array,
1278
+ ) => Observable<Option<PalletOperationalAccountsOperationalAccount>>,
1279
+ [AccountId32]
1280
+ >;
1281
+ /**
1282
+ * Configured reward amounts for operational accounts.
1283
+ **/
1284
+ rewards: AugmentedQuery<
1285
+ ApiType,
1286
+ () => Observable<PalletOperationalAccountsRewardsConfig>,
1287
+ []
1288
+ >;
1289
+ };
1290
+ ownership: {
1291
+ /**
1292
+ * The Balances pallet example of storing the balance of an account.
1293
+ *
1294
+ * # Example
1295
+ *
1296
+ * ```nocompile
1297
+ * impl pallet_balances::Config for Runtime {
1298
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
1299
+ * }
1300
+ * ```
1301
+ *
1302
+ * You can also store the balance of an account in the `System` pallet.
1303
+ *
1304
+ * # Example
1305
+ *
1306
+ * ```nocompile
1307
+ * impl pallet_balances::Config for Runtime {
1308
+ * type AccountStore = System
1309
+ * }
1310
+ * ```
1311
+ *
1312
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
1313
+ * `frame_system` data alongside the account data contrary to storing account balances in the
1314
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
1315
+ * NOTE: This is only used in the case that this pallet is used to store balances.
1316
+ **/
1317
+ account: AugmentedQuery<
1318
+ ApiType,
1319
+ (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
1320
+ [AccountId32]
1321
+ >;
1322
+ /**
1323
+ * Freeze locks on account balances.
1324
+ **/
1325
+ freezes: AugmentedQuery<
1326
+ ApiType,
1327
+ (
1328
+ arg: AccountId32 | string | Uint8Array,
1329
+ ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
1330
+ [AccountId32]
1331
+ >;
1332
+ /**
1333
+ * Holds on account balances.
1334
+ **/
1335
+ holds: AugmentedQuery<
1336
+ ApiType,
1337
+ (
1338
+ arg: AccountId32 | string | Uint8Array,
1339
+ ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
1340
+ [AccountId32]
1341
+ >;
1342
+ /**
1343
+ * The total units of outstanding deactivated balance in the system.
1344
+ **/
1345
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1346
+ /**
1347
+ * Any liquidity locks on some account balances.
1348
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
1349
+ *
1350
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
1351
+ **/
1352
+ locks: AugmentedQuery<
1353
+ ApiType,
1354
+ (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
1355
+ [AccountId32]
1356
+ >;
1357
+ /**
1358
+ * Named reserves on some account balances.
1359
+ *
1360
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
1361
+ **/
1362
+ reserves: AugmentedQuery<
1363
+ ApiType,
1364
+ (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
1365
+ [AccountId32]
1366
+ >;
1367
+ /**
1368
+ * The total units issued in the system.
1369
+ **/
1370
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1371
+ };
1372
+ priceIndex: {
1373
+ /**
1374
+ * Stores the active price index
1375
+ **/
1376
+ current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1377
+ /**
1378
+ * Tracks the average cpi data every 60 ticks
1379
+ **/
1380
+ historicArgonCPI: AugmentedQuery<
1381
+ ApiType,
1382
+ () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>,
1383
+ []
1384
+ >;
1385
+ /**
1386
+ * Tracks the lowest Argonot floor observed in each recent frame.
1387
+ **/
1388
+ historicArgonotFloorByFrame: AugmentedQuery<
1389
+ ApiType,
1390
+ () => Observable<BTreeMap<u64, u128>>,
1391
+ []
1392
+ >;
1393
+ /**
1394
+ * Stores the last valid price index
1395
+ **/
1396
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1397
+ /**
1398
+ * The price index operator account
1399
+ **/
1400
+ operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
1401
+ };
1402
+ proxy: {
1403
+ /**
1404
+ * The announcements made by the proxy (key).
1405
+ **/
1406
+ announcements: AugmentedQuery<
1407
+ ApiType,
1408
+ (
1409
+ arg: AccountId32 | string | Uint8Array,
1410
+ ) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>,
1411
+ [AccountId32]
1412
+ >;
1413
+ /**
1414
+ * The set of account proxies. Maps the account which has delegated to the accounts
1415
+ * which are being delegated to, together with the amount held on deposit.
1416
+ **/
1417
+ proxies: AugmentedQuery<
1418
+ ApiType,
1419
+ (
1420
+ arg: AccountId32 | string | Uint8Array,
1421
+ ) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>,
1422
+ [AccountId32]
1423
+ >;
1424
+ };
1425
+ sudo: {
1426
+ /**
1427
+ * The `AccountId` of the sudo key.
1428
+ **/
1429
+ key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
1430
+ };
1431
+ system: {
1432
+ /**
1433
+ * The full account information for a particular account ID.
1434
+ **/
1435
+ account: AugmentedQuery<
1436
+ ApiType,
1437
+ (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>,
1438
+ [AccountId32]
1439
+ >;
1440
+ /**
1441
+ * `Some` if a code upgrade has been authorized.
1442
+ **/
1443
+ authorizedUpgrade: AugmentedQuery<
1444
+ ApiType,
1445
+ () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>,
1446
+ []
1447
+ >;
1448
+ /**
1449
+ * Map of block numbers to block hashes.
1450
+ **/
1451
+ blockHash: AugmentedQuery<
1452
+ ApiType,
1453
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
1454
+ [u32]
1455
+ >;
1456
+ /**
1457
+ * Total size (in bytes) of the current block.
1458
+ *
1459
+ * Tracks the size of the header and all extrinsics.
1460
+ **/
1461
+ blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1462
+ /**
1463
+ * Number of blocks till the pending code upgrade is applied.
1464
+ **/
1465
+ blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []>;
1466
+ /**
1467
+ * The current weight for the block.
1468
+ **/
1469
+ blockWeight: AugmentedQuery<
1470
+ ApiType,
1471
+ () => Observable<FrameSupportDispatchPerDispatchClassWeight>,
1472
+ []
1473
+ >;
1474
+ /**
1475
+ * Digest of the current block, also part of the block header.
1476
+ **/
1477
+ digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []>;
1478
+ /**
1479
+ * The number of events in the `Events<T>` list.
1480
+ **/
1481
+ eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1482
+ /**
1483
+ * Events deposited for the current block.
1484
+ *
1485
+ * NOTE: The item is unbound and should therefore never be read on chain.
1486
+ * It could otherwise inflate the PoV size of a block.
1487
+ *
1488
+ * Events have a large in-memory size. Box the events to not go out-of-memory
1489
+ * just in case someone still reads them from within the runtime.
1490
+ **/
1491
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []>;
1492
+ /**
1493
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
1494
+ * of events in the `<Events<T>>` list.
1495
+ *
1496
+ * All topic vectors have deterministic storage locations depending on the topic. This
1497
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
1498
+ * in case of changes fetch the list of events of interest.
1499
+ *
1500
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1501
+ * the `EventIndex` then in case if the topic has the same contents on the next block
1502
+ * no notification will be triggered thus the event might be lost.
1503
+ **/
1504
+ eventTopics: AugmentedQuery<
1505
+ ApiType,
1506
+ (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>,
1507
+ [H256]
1508
+ >;
1509
+ /**
1510
+ * The execution phase of the block.
1511
+ **/
1512
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []>;
1513
+ /**
1514
+ * Total extrinsics count for the current block.
1515
+ **/
1516
+ extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1517
+ /**
1518
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
1519
+ **/
1520
+ extrinsicData: AugmentedQuery<
1521
+ ApiType,
1522
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>,
1523
+ [u32]
1524
+ >;
1525
+ /**
1526
+ * The weight reclaimed for the extrinsic.
1527
+ *
1528
+ * This information is available until the end of the extrinsic execution.
1529
+ * More precisely this information is removed in `note_applied_extrinsic`.
1530
+ *
1531
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
1532
+ * reduction.
1533
+ **/
1534
+ extrinsicWeightReclaimed: AugmentedQuery<
1535
+ ApiType,
1536
+ () => Observable<SpWeightsWeightV2Weight>,
1537
+ []
1538
+ >;
1539
+ /**
1540
+ * Whether all inherents have been applied.
1541
+ **/
1542
+ inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1543
+ /**
1544
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1545
+ **/
1546
+ lastRuntimeUpgrade: AugmentedQuery<
1547
+ ApiType,
1548
+ () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>,
1549
+ []
1550
+ >;
1551
+ /**
1552
+ * The current block number being processed. Set by `execute_block`.
1553
+ **/
1554
+ number: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1555
+ /**
1556
+ * Hash of the previous block.
1557
+ **/
1558
+ parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
1559
+ /**
1560
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
1561
+ * (default) if not.
1562
+ **/
1563
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1564
+ /**
1565
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
1566
+ **/
1567
+ upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1568
+ };
1569
+ ticks: {
1570
+ currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1571
+ genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1572
+ genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, []>;
1573
+ previousTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1574
+ /**
1575
+ * Blocks from the last 100 ticks. Trimmed in on_initialize.
1576
+ * NOTE: cannot include the current block hash until next block
1577
+ **/
1578
+ recentBlocksAtTicks: AugmentedQuery<
1579
+ ApiType,
1580
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
1581
+ [u64]
1582
+ >;
1583
+ };
1584
+ timestamp: {
1585
+ /**
1586
+ * Whether the timestamp has been updated in this block.
1587
+ *
1588
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
1589
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
1590
+ **/
1591
+ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1592
+ /**
1593
+ * The current time for the current block.
1594
+ **/
1595
+ now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1596
+ };
1597
+ transactionPayment: {
1598
+ nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1599
+ storageVersion: AugmentedQuery<
1600
+ ApiType,
1601
+ () => Observable<PalletTransactionPaymentReleases>,
1602
+ []
1603
+ >;
1604
+ /**
1605
+ * The `OnChargeTransaction` stores the withdrawn tx fee here.
1606
+ *
1607
+ * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
1608
+ **/
1609
+ txPaymentCredit: AugmentedQuery<
1610
+ ApiType,
1611
+ () => Observable<Option<FrameSupportTokensFungibleImbalance>>,
1612
+ []
1613
+ >;
1614
+ };
1615
+ treasury: {
1616
+ /**
1617
+ * The stored state for each bond lot.
1618
+ **/
1619
+ bondLotById: AugmentedQuery<
1620
+ ApiType,
1621
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>,
1622
+ [u64]
1623
+ >;
1624
+ /**
1625
+ * The bond lot ids that belong to an account.
1626
+ **/
1627
+ bondLotIdsByAccount: AugmentedQuery<
1628
+ ApiType,
1629
+ (
1630
+ arg1: AccountId32 | string | Uint8Array,
1631
+ arg2: u64 | AnyNumber | Uint8Array,
1632
+ ) => Observable<Option<Null>>,
1633
+ [AccountId32, u64]
1634
+ >;
1635
+ /**
1636
+ * The accepted bond lots for a vault.
1637
+ *
1638
+ * Lots are kept in descending bond order, then lower `bond_lot_id` first for ties.
1639
+ **/
1640
+ bondLotsByVault: AugmentedQuery<
1641
+ ApiType,
1642
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>,
1643
+ [u32]
1644
+ >;
1645
+ /**
1646
+ * The vault capital locked for the current frame.
1647
+ *
1648
+ * Payout uses this to see which vaults and bond lots are participating in the frame.
1649
+ **/
1650
+ currentFrameVaultCapital: AugmentedQuery<
1651
+ ApiType,
1652
+ () => Observable<Option<PalletTreasuryFrameVaultCapital>>,
1653
+ []
1654
+ >;
1655
+ /**
1656
+ * Exact treasury bond backing reserved for crosschain minting authorities by account.
1657
+ *
1658
+ * This is an exact microgon claim, not a mirror of the account's active whole-bond lots.
1659
+ * Bond lots stay coarse because participation only moves in whole bonds, while encumbrance can
1660
+ * remain fractional after a burn. The key invariant is that the non-releasing held balance
1661
+ * always covers this amount.
1662
+ **/
1663
+ encumberedBondMicrogonsByAccount: AugmentedQuery<
1664
+ ApiType,
1665
+ (arg: AccountId32 | string | Uint8Array) => Observable<u128>,
1666
+ [AccountId32]
1667
+ >;
1668
+ /**
1669
+ * The next bond lot id.
1670
+ **/
1671
+ nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1672
+ /**
1673
+ * The oldest frame that still has bond lots to retry releasing.
1674
+ **/
1675
+ pendingBondReleaseRetryCursor: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
1676
+ /**
1677
+ * Bond lots to release at the given frame.
1678
+ **/
1679
+ pendingBondReleasesByFrame: AugmentedQuery<
1680
+ ApiType,
1681
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1682
+ [u64]
1683
+ >;
1684
+ };
1685
+ txPause: {
1686
+ /**
1687
+ * The set of calls that are explicitly paused.
1688
+ **/
1689
+ pausedCalls: AugmentedQuery<
1690
+ ApiType,
1691
+ (
1692
+ arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
1693
+ ) => Observable<Option<Null>>,
1694
+ [ITuple<[Bytes, Bytes]>]
1695
+ >;
1696
+ };
1697
+ vaults: {
1698
+ /**
1699
+ * Vault-side committed and crosschain-encumbered argonot backing.
1700
+ **/
1701
+ argonotCommitmentByVaultId: AugmentedQuery<
1702
+ ApiType,
1703
+ (
1704
+ arg: u32 | AnyNumber | Uint8Array,
1705
+ ) => Observable<Option<ArgonPrimitivesVaultVaultArgonotCommitment>>,
1706
+ [u32]
1707
+ >;
1708
+ /**
1709
+ * The last collect frame of each vault
1710
+ **/
1711
+ lastCollectFrameByVaultId: AugmentedQuery<
1712
+ ApiType,
1713
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>,
1714
+ [u32]
1715
+ >;
1716
+ nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1717
+ /**
1718
+ * Orphaned Bitcoin Utxos pending cosign by vault id
1719
+ **/
1720
+ orphanedUtxoAccountsByVaultId: AugmentedQuery<
1721
+ ApiType,
1722
+ (
1723
+ arg1: u32 | AnyNumber | Uint8Array,
1724
+ arg2: AccountId32 | string | Uint8Array,
1725
+ ) => Observable<u32>,
1726
+ [u32, AccountId32]
1727
+ >;
1728
+ /**
1729
+ * Bitcoin Locks pending cosign by vault id
1730
+ **/
1731
+ pendingCosignByVaultId: AugmentedQuery<
1732
+ ApiType,
1733
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
1734
+ [u32]
1735
+ >;
1736
+ /**
1737
+ * Pending terms that will be committed at the given block number (must be a minimum of 1
1738
+ * frame change away)
1739
+ **/
1740
+ pendingTermsModificationsByTick: AugmentedQuery<
1741
+ ApiType,
1742
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>,
1743
+ [u64]
1744
+ >;
1745
+ /**
1746
+ * Recent reductions in `available_for_lock`, grouped by vault.
1747
+ **/
1748
+ recentCapacityDropsByVault: AugmentedQuery<
1749
+ ApiType,
1750
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsRecentCapacityDrop>>,
1751
+ [u32]
1752
+ >;
1753
+ /**
1754
+ * Tracks revenue from Bitcoin Locks and Treasury Pools for the trailing frames for each vault
1755
+ * (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the
1756
+ * collect expiration window (`RevenueCollectionExpirationFrames`).
1757
+ **/
1758
+ revenuePerFrameByVault: AugmentedQuery<
1759
+ ApiType,
1760
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>,
1761
+ [u32]
1762
+ >;
1763
+ revenuePerFrameByVaultCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1764
+ /**
1765
+ * The vaults that have funds releasing at a given bitcoin height
1766
+ **/
1767
+ vaultFundsReleasingByHeight: AugmentedQuery<
1768
+ ApiType,
1769
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1770
+ [u64]
1771
+ >;
1772
+ /**
1773
+ * Vaults by owner
1774
+ **/
1775
+ vaultIdByOperator: AugmentedQuery<
1776
+ ApiType,
1777
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>,
1778
+ [AccountId32]
1779
+ >;
1780
+ /**
1781
+ * Vaults by id
1782
+ **/
1783
+ vaultsById: AugmentedQuery<
1784
+ ApiType,
1785
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>,
1786
+ [u32]
1787
+ >;
1788
+ /**
1789
+ * Vaults whose temporary operational minimum may be released at a given tick.
1790
+ **/
1791
+ vaultsReleasingOperationalMinimumByTick: AugmentedQuery<
1792
+ ApiType,
1793
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1794
+ [u64]
1795
+ >;
1796
+ /**
1797
+ * Vault Bitcoin Xpub and current child counter by VaultId
1798
+ **/
1799
+ vaultXPubById: AugmentedQuery<
1800
+ ApiType,
1801
+ (
1802
+ arg: u32 | AnyNumber | Uint8Array,
1803
+ ) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>,
1804
+ [u32]
1805
+ >;
1806
+ };
1807
+ } // AugmentedQueries
1808
+ } // declare module