@argonprotocol/mainchain 1.4.3 → 1.4.4-dev.abb08dac

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