@argonprotocol/mainchain 1.5.2 → 1.6.0-dev.0331b728

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 (40) hide show
  1. package/README.md +95 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +401 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +753 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +12595 -7998
  12. package/browser/index.js +6458 -2506
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +401 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +753 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +6428 -2499
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +12595 -7998
  26. package/lib/index.d.ts +12595 -7998
  27. package/lib/index.js +6710 -2781
  28. package/lib/index.js.map +1 -1
  29. package/package.json +17 -13
  30. package/src/interfaces/augment-api-consts.ts +124 -30
  31. package/src/interfaces/augment-api-errors.ts +297 -19
  32. package/src/interfaces/augment-api-events.ts +281 -1688
  33. package/src/interfaces/augment-api-query.ts +394 -1127
  34. package/src/interfaces/augment-api-rpc.ts +88 -613
  35. package/src/interfaces/augment-api-runtime.ts +255 -221
  36. package/src/interfaces/augment-api-tx.ts +370 -1630
  37. package/src/interfaces/augment-types.ts +46 -1350
  38. package/src/interfaces/lookup.ts +3765 -3182
  39. package/src/interfaces/registry.ts +87 -330
  40. package/src/interfaces/types-lookup.ts +4051 -3818
@@ -5,122 +5,10 @@
5
5
  import type {} from '@polkadot/api-base/types/storage';
6
6
 
7
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';
8
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
23
9
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
24
- import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
25
- import type {
26
- ArgonNotaryAuditErrorVerifyError,
27
- ArgonPrimitivesAmountRankAmountRankKey,
28
- ArgonPrimitivesBalanceChangeAccountOrigin,
29
- ArgonPrimitivesBitcoinBitcoinBlock,
30
- ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
31
- ArgonPrimitivesBitcoinBitcoinNetwork,
32
- ArgonPrimitivesBitcoinBitcoinXPub,
33
- ArgonPrimitivesBitcoinUtxoAddress,
34
- ArgonPrimitivesBitcoinUtxoRef,
35
- ArgonPrimitivesBlockSealBlockPayout,
36
- ArgonPrimitivesBlockSealMiningBidStats,
37
- ArgonPrimitivesBlockSealMiningRegistration,
38
- ArgonPrimitivesBlockSealMiningSlotConfig,
39
- ArgonPrimitivesDigestsBlockVoteDigest,
40
- ArgonPrimitivesDigestsDigestset,
41
- ArgonPrimitivesDigestsFrameInfo,
42
- ArgonPrimitivesDigestsNotebookDigest,
43
- ArgonPrimitivesDomainZoneRecord,
44
- ArgonPrimitivesEthereumEthereumBeaconPreset,
45
- ArgonPrimitivesForkPower,
46
- ArgonPrimitivesInherentsBlockSealInherent,
47
- ArgonPrimitivesNotaryNotaryMeta,
48
- ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
49
- ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
50
- ArgonPrimitivesNotaryNotaryRecord,
51
- ArgonPrimitivesProvidersBlockSealerInfo,
52
- ArgonPrimitivesTickTicker,
53
- ArgonPrimitivesTreasuryPositionQuantities,
54
- ArgonPrimitivesVault,
55
- ArgonPrimitivesVaultVaultArgonotSecuritization,
56
- FrameSupportDispatchPerDispatchClassWeight,
57
- FrameSupportTokensFungibleImbalance,
58
- FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
59
- FrameSupportTokensMiscIdAmountRuntimeHoldReason,
60
- FrameSystemAccountInfo,
61
- FrameSystemCodeUpgradeAuthorization,
62
- FrameSystemEventRecord,
63
- FrameSystemLastRuntimeUpgradeInfo,
64
- FrameSystemPhase,
65
- PalletBalancesAccountData,
66
- PalletBalancesBalanceLock,
67
- PalletBalancesReserveData,
68
- PalletBitcoinFissionsFission,
69
- PalletBitcoinLocksLockReleaseCosignHeight,
70
- PalletBitcoinLocksLockReleaseRequest,
71
- PalletBitcoinLocksLockedBitcoin,
72
- PalletBitcoinLocksOrphanedUtxo,
73
- PalletBitcoinLocksPendingPartialRelease,
74
- PalletBootstrapEndpointPubkey,
75
- PalletBootstrapRecoveryPubkey,
76
- PalletCrosschainTransferAccountTransferTotals,
77
- PalletCrosschainTransferChainConfig,
78
- PalletCrosschainTransferCouncilApprovalQueueEntry,
79
- PalletCrosschainTransferGatewayState,
80
- PalletCrosschainTransferGatewaySyncPause,
81
- PalletCrosschainTransferGlobalIssuanceCouncil,
82
- PalletCrosschainTransferMintingAuthority,
83
- PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
84
- PalletCrosschainTransferSourceChain,
85
- PalletCrosschainTransferSourceChainCirculation,
86
- PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
87
- PalletCrosschainTransferTransferOutTransferOutOfArgon,
88
- PalletDomainsDomainRegistration,
89
- PalletEthereumVerifierBasicOperatingMode,
90
- PalletEthereumVerifierExecutionHeaderAnchor,
91
- PalletEthereumVerifierFinalizedBeaconHeaderState,
92
- PalletEthereumVerifierForkVersions,
93
- PalletEthereumVerifierSyncCommitteePrepared,
94
- PalletGrandpaStoredPendingChange,
95
- PalletGrandpaStoredState,
96
- PalletLocalchainTransferQueuedTransferOut,
97
- PalletMiningSlotMinerNonceScoring,
98
- PalletMiningSlotSeatPriceStats,
99
- PalletMintMintAction,
100
- PalletMintMintQueueCursor,
101
- PalletMintPendingBitcoinMint,
102
- PalletMultisigMultisig,
103
- PalletOperationalAccountsOperationalAccount,
104
- PalletOperationalAccountsRewardsConfig,
105
- PalletPriceIndexArgonotAverageFrameAccumulator,
106
- PalletPriceIndexCpiMeasurementBucket,
107
- PalletPriceIndexEthereumPriceFrameAccumulator,
108
- PalletPriceIndexEthereumPriceIndex,
109
- PalletPriceIndexPriceIndex,
110
- PalletProxyAnnouncement,
111
- PalletProxyProxyDefinition,
112
- PalletTransactionPaymentReleases,
113
- PalletTreasuryBondLot,
114
- PalletTreasuryBondLotSummary,
115
- PalletTreasuryFrameArgonotBondParticipants,
116
- PalletTreasuryFrameVaultCapital,
117
- PalletTreasuryPositionsPosition,
118
- PalletTreasuryVaultBondState,
119
- PalletVaultsVaultFrameRevenue,
120
- SpConsensusGrandpaAppPublic,
121
- SpRuntimeDigest,
122
- SpWeightsWeightV2Weight,
123
- } from '@polkadot/types/lookup';
10
+ import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesAmountRankAmountRankKeyAccountId32, ArgonPrimitivesAmountRankAmountRankKeyU32, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32, ArgonPrimitivesAmountRankAscendingRankKeyU64, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesPriceIndex, ArgonPrimitivesPriceIndexRValueHighWaterMark, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultVaultArgonotSecuritization, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAccountSecurityPendingPolicyUpdate, PalletAccountSecurityRegistration, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinFissionsLiquidTicks, PalletBitcoinLocksLockReleaseCosignHeight, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletBitcoinLocksPendingPartialRelease, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAccountTransferTotals, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotBidEligibility, PalletMiningSlotMinerNonceScoring, PalletMiningSlotPendingBid, PalletMiningSlotSeatPriceStats, PalletMiningSlotStandingBid, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingBitcoinMint, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletPriceIndexEthereumPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStabilizerBuysAccountFrameBuys, PalletStabilizerBuysAccountPayoutState, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultBitcoin, PalletTreasuryFrameVaultCapital, PalletTreasuryPendingBondCollateral, PalletTreasuryPositionsPosition, PalletTreasuryRewardReserveBalances, PalletTreasuryVaultBondState, PalletVaultsVaultFrameRevenue, SpConsensusGrandpaAppPublic, SpRuntimeDigest, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
124
12
  import type { Observable } from '@polkadot/types/types';
125
13
 
126
14
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -128,6 +16,20 @@ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorage
128
16
 
129
17
  declare module '@polkadot/api-base/types/storage' {
130
18
  interface AugmentedQueries<ApiType extends ApiTypes> {
19
+ accountSecurity: {
20
+ /**
21
+ * Next group authorization nonce. Never removed or reset by policy changes or linking.
22
+ **/
23
+ nextNonce: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [AccountId32]>;
24
+ /**
25
+ * At most one delayed policy replacement per default account, separately deposit-backed.
26
+ **/
27
+ pendingPolicyUpdates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletAccountSecurityPendingPolicyUpdate>>, [AccountId32]>;
28
+ /**
29
+ * One registration at the default account; linked members never duplicate it.
30
+ **/
31
+ registrations: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletAccountSecurityRegistration>>, [AccountId32]>;
32
+ };
131
33
  authorship: {
132
34
  /**
133
35
  * Author of current block.
@@ -137,55 +39,39 @@ declare module '@polkadot/api-base/types/storage' {
137
39
  balances: {
138
40
  /**
139
41
  * The Balances pallet example of storing the balance of an account.
140
- *
42
+ *
141
43
  * # Example
142
- *
44
+ *
143
45
  * ```nocompile
144
46
  * impl pallet_balances::Config for Runtime {
145
47
  * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
146
48
  * }
147
49
  * ```
148
- *
50
+ *
149
51
  * You can also store the balance of an account in the `System` pallet.
150
- *
52
+ *
151
53
  * # Example
152
- *
54
+ *
153
55
  * ```nocompile
154
56
  * impl pallet_balances::Config for Runtime {
155
57
  * type AccountStore = System
156
58
  * }
157
59
  * ```
158
- *
60
+ *
159
61
  * But this comes with tradeoffs, storing account balances in the system pallet stores
160
62
  * `frame_system` data alongside the account data contrary to storing account balances in the
161
63
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
162
64
  * NOTE: This is only used in the case that this pallet is used to store balances.
163
65
  **/
164
- account: AugmentedQuery<
165
- ApiType,
166
- (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
167
- [AccountId32]
168
- >;
66
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
169
67
  /**
170
68
  * Freeze locks on account balances.
171
69
  **/
172
- freezes: AugmentedQuery<
173
- ApiType,
174
- (
175
- arg: AccountId32 | string | Uint8Array,
176
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
177
- [AccountId32]
178
- >;
70
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
179
71
  /**
180
72
  * Holds on account balances.
181
73
  **/
182
- holds: AugmentedQuery<
183
- ApiType,
184
- (
185
- arg: AccountId32 | string | Uint8Array,
186
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
187
- [AccountId32]
188
- >;
74
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
189
75
  /**
190
76
  * The total units of outstanding deactivated balance in the system.
191
77
  **/
@@ -193,24 +79,16 @@ declare module '@polkadot/api-base/types/storage' {
193
79
  /**
194
80
  * Any liquidity locks on some account balances.
195
81
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
196
- *
82
+ *
197
83
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
198
84
  **/
199
- locks: AugmentedQuery<
200
- ApiType,
201
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
202
- [AccountId32]
203
- >;
85
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
204
86
  /**
205
87
  * Named reserves on some account balances.
206
- *
88
+ *
207
89
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
208
90
  **/
209
- reserves: AugmentedQuery<
210
- ApiType,
211
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
212
- [AccountId32]
213
- >;
91
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
214
92
  /**
215
93
  * The total units issued in the system.
216
94
  **/
@@ -220,123 +98,73 @@ declare module '@polkadot/api-base/types/storage' {
220
98
  /**
221
99
  * Active Fission records addressed by their owner and owner-local Fission ID.
222
100
  **/
223
- fissionByOwnerAndId: AugmentedQuery<
224
- ApiType,
225
- (
226
- arg1: AccountId32 | string | Uint8Array,
227
- arg2: u64 | AnyNumber | Uint8Array,
228
- ) => Observable<Option<PalletBitcoinFissionsFission>>,
229
- [AccountId32, u64]
230
- >;
101
+ fissionByOwnerAndId: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinFissionsFission>>, [AccountId32, u64]>;
231
102
  /**
232
103
  * Active Fission IDs allocating satoshis from each Lock.
233
104
  **/
234
- fissionIdsByLockId: AugmentedQuery<
235
- ApiType,
236
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
237
- [u64]
238
- >;
105
+ fissionIdsByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
106
+ /**
107
+ * Active Fission IDs grouped by their owner's Liquid. Debt remains on the Fission records.
108
+ **/
109
+ fissionIdsByOwnerAndLiquid: AugmentedQuery<ApiType, (arg1: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [ITuple<[AccountId32, u64]>, u64]>;
110
+ /**
111
+ * Creation and ratchet timing for each owner-scoped Liquid. Retained after closure so an
112
+ * old Liquid ID cannot reopen its creation window or discard its ratchet history.
113
+ **/
114
+ liquidTicksByOwnerAndId: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinFissionsLiquidTicks>>, [AccountId32, u64]>;
239
115
  /**
240
116
  * Minimum Fission ID accepted from each owner.
241
117
  **/
242
- nextFissionIdByOwner: AugmentedQuery<
243
- ApiType,
244
- (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
245
- [AccountId32]
246
- >;
118
+ nextFissionIdByOwner: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [AccountId32]>;
119
+ /**
120
+ * R-value giving the highest repayment refund in each frame. Ordered keys support bounded
121
+ * pruning without loading the complete history during an Ethereum stall.
122
+ **/
123
+ rValueHighWaterByFrame: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ArgonPrimitivesPriceIndexRValueHighWaterMark>>, [U8aFixed]>;
247
124
  };
248
125
  bitcoinLocks: {
249
- lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
250
- ApiType,
251
- (
252
- arg1: u32 | AnyNumber | Uint8Array,
253
- arg2: AccountId32 | string | Uint8Array,
254
- ) => Observable<Option<u64>>,
255
- [u32, AccountId32]
256
- >;
257
- /**
258
- * Highest Bitcoin UTXO sync height processed for securitization hold expirations.
259
- **/
260
- lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
261
- ApiType,
262
- () => Observable<Option<u64>>,
263
- []
264
- >;
126
+ lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [u32, AccountId32]>;
127
+ /**
128
+ * Highest Bitcoin UTXO sync height checked for funding expirations; failures remain pending.
129
+ **/
130
+ lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
131
+ /**
132
+ * Resume retries after this Lock so a persistent failure cannot starve other expirations.
133
+ **/
134
+ lastRetriedLockExpiration: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
265
135
  /**
266
136
  * Utxos that have been requested to be cosigned for releasing
267
137
  **/
268
- lockCosignDueByFrame: AugmentedQuery<
269
- ApiType,
270
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
271
- [u64]
272
- >;
138
+ lockCosignDueByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
273
139
  /**
274
140
  * Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
275
141
  * unlock it. Bitcoin will go to vault
276
142
  **/
277
- lockExpirationsByBitcoinHeight: AugmentedQuery<
278
- ApiType,
279
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
280
- [u64]
281
- >;
143
+ lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
282
144
  /**
283
145
  * Index of active UTXO IDs per owner account.
284
146
  **/
285
- lockIdsByOwnerAccount: AugmentedQuery<
286
- ApiType,
287
- (
288
- arg1: AccountId32 | string | Uint8Array,
289
- arg2: u64 | AnyNumber | Uint8Array,
290
- ) => Observable<Option<Null>>,
291
- [AccountId32, u64]
292
- >;
147
+ lockIdsByOwnerAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
293
148
  /**
294
149
  * Index of active UTXO IDs per vault
295
150
  **/
296
- lockIdsByVaultId: AugmentedQuery<
297
- ApiType,
298
- (
299
- arg1: u32 | AnyNumber | Uint8Array,
300
- arg2: u64 | AnyNumber | Uint8Array,
301
- ) => Observable<Option<Null>>,
302
- [u32, u64]
303
- >;
151
+ lockIdsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
304
152
  /**
305
153
  * Latest cosigned release for each Lock, retained for signature recovery.
306
154
  **/
307
- lockReleaseCosignHeightById: AugmentedQuery<
308
- ApiType,
309
- (
310
- arg: u64 | AnyNumber | Uint8Array,
311
- ) => Observable<Option<PalletBitcoinLocksLockReleaseCosignHeight>>,
312
- [u64]
313
- >;
155
+ lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseCosignHeight>>, [u64]>;
314
156
  /**
315
157
  * Release requests awaiting a Vault cosignature.
316
158
  **/
317
- lockReleaseRequestsById: AugmentedQuery<
318
- ApiType,
319
- (
320
- arg: u64 | AnyNumber | Uint8Array,
321
- ) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>,
322
- [u64]
323
- >;
159
+ lockReleaseRequestsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [u64]>;
324
160
  /**
325
161
  * Stores bitcoin utxos that have requested to be released
326
162
  **/
327
- locksById: AugmentedQuery<
328
- ApiType,
329
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>,
330
- [u64]
331
- >;
163
+ locksById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [u64]>;
332
164
  /**
333
165
  * Recent target-normalized microgon values per BTC and their observed ticks.
334
166
  **/
335
- microgonPerBtcHistory: AugmentedQuery<
336
- ApiType,
337
- () => Observable<Vec<ITuple<[u64, u128]>>>,
338
- []
339
- >;
167
+ microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, []>;
340
168
  /**
341
169
  * The minimum number of satoshis accepted in one watched funding UTXO.
342
170
  **/
@@ -345,65 +173,34 @@ declare module '@polkadot/api-base/types/storage' {
345
173
  /**
346
174
  * Expiration of orphaned utxo refs by user account
347
175
  **/
348
- orphanedUtxoExpirationByFrame: AugmentedQuery<
349
- ApiType,
350
- (
351
- arg: u64 | AnyNumber | Uint8Array,
352
- ) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>,
353
- [u64]
354
- >;
176
+ orphanedUtxoExpirationByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>, [u64]>;
355
177
  /**
356
178
  * Mismatched utxos that were sent with invalid amounts to a locked bitcoin
357
179
  **/
358
- orphanedUtxosByAccount: AugmentedQuery<
359
- ApiType,
360
- (
361
- arg1: AccountId32 | string | Uint8Array,
362
- arg2:
363
- | ArgonPrimitivesBitcoinUtxoRef
364
- | { txid?: any; outputIndex?: any }
365
- | string
366
- | Uint8Array,
367
- ) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
368
- [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
369
- >;
180
+ orphanedUtxosByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef]>;
181
+ /**
182
+ * Locks whose funding-window or terminal expiration failed and must be retried.
183
+ **/
184
+ pendingLockExpirations: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u64]>;
370
185
  /**
371
186
  * Cosigned partial releases awaiting confirmation on Bitcoin.
372
187
  **/
373
- pendingPartialReleaseByLockId: AugmentedQuery<
374
- ApiType,
375
- (
376
- arg: u64 | AnyNumber | Uint8Array,
377
- ) => Observable<Option<PalletBitcoinLocksPendingPartialRelease>>,
378
- [u64]
379
- >;
188
+ pendingPartialReleaseByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksPendingPartialRelease>>, [u64]>;
380
189
  /**
381
190
  * Lock IDs whose securitization hold expires at the indexed Bitcoin height.
382
191
  * Expiry releases only the unactivated portion and leaves the lock address watched.
383
192
  **/
384
- securitizationHoldExpirationsByBitcoinHeight: AugmentedQuery<
385
- ApiType,
386
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
387
- [u64]
388
- >;
193
+ securitizationHoldExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
389
194
  };
390
195
  bitcoinUtxos: {
391
196
  /**
392
197
  * The genesis set bitcoin network that this chain is tied to
393
198
  **/
394
- bitcoinNetwork: AugmentedQuery<
395
- ApiType,
396
- () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>,
397
- []
398
- >;
199
+ bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, []>;
399
200
  /**
400
201
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
401
202
  **/
402
- confirmedBitcoinBlockTip: AugmentedQuery<
403
- ApiType,
404
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
405
- []
406
- >;
203
+ confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
407
204
  /**
408
205
  * Check if the inherent was included
409
206
  **/
@@ -411,34 +208,16 @@ declare module '@polkadot/api-base/types/storage' {
411
208
  /**
412
209
  * The Lock ID identified by each watched script pubkey.
413
210
  **/
414
- lockIdByScriptPubkey: AugmentedQuery<
415
- ApiType,
416
- (
417
- arg:
418
- | ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
419
- | { P2WSH: any }
420
- | string
421
- | Uint8Array,
422
- ) => Observable<Option<u64>>,
423
- [ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey]
424
- >;
211
+ lockIdByScriptPubkey: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey | { P2WSH: any } | string | Uint8Array) => Observable<Option<u64>>, [ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey]>;
425
212
  /**
426
213
  * Bitcoin Oracle Operator Account
427
214
  **/
428
215
  oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
429
- previousBitcoinBlockTip: AugmentedQuery<
430
- ApiType,
431
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
432
- []
433
- >;
216
+ previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
434
217
  /**
435
218
  * The last synched bitcoin block
436
219
  **/
437
- synchedBitcoinBlock: AugmentedQuery<
438
- ApiType,
439
- () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>,
440
- []
441
- >;
220
+ synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
442
221
  /**
443
222
  * Stores if parent block had a confirmed bitcoin block
444
223
  **/
@@ -446,21 +225,11 @@ declare module '@polkadot/api-base/types/storage' {
446
225
  /**
447
226
  * Watched Lock addresses and the scan height needed to observe them.
448
227
  **/
449
- utxoAddressByLockId: AugmentedQuery<
450
- ApiType,
451
- (
452
- arg: u64 | AnyNumber | Uint8Array,
453
- ) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>,
454
- [u64]
455
- >;
228
+ utxoAddressByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>, [u64]>;
456
229
  /**
457
230
  * Every output observed at a watched Lock address, retained until explicitly removed.
458
231
  **/
459
- utxoRefsByLockId: AugmentedQuery<
460
- ApiType,
461
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>,
462
- [u64]
463
- >;
232
+ utxoRefsByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
464
233
  };
465
234
  blockRewards: {
466
235
  /**
@@ -484,11 +253,7 @@ declare module '@polkadot/api-base/types/storage' {
484
253
  /**
485
254
  * Historical payouts by block number
486
255
  **/
487
- payoutsByBlock: AugmentedQuery<
488
- ApiType,
489
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>,
490
- [u32]
491
- >;
256
+ payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [u32]>;
492
257
  };
493
258
  blockSeal: {
494
259
  /**
@@ -500,11 +265,7 @@ declare module '@polkadot/api-base/types/storage' {
500
265
  * Is the block from a vote seal?
501
266
  **/
502
267
  isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
503
- lastBlockSealerInfo: AugmentedQuery<
504
- ApiType,
505
- () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>,
506
- []
507
- >;
268
+ lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, []>;
508
269
  lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
509
270
  /**
510
271
  * The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
@@ -514,11 +275,7 @@ declare module '@polkadot/api-base/types/storage' {
514
275
  /**
515
276
  * Ensures only a single inherent is applied
516
277
  **/
517
- tempSealInherent: AugmentedQuery<
518
- ApiType,
519
- () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>,
520
- []
521
- >;
278
+ tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, []>;
522
279
  /**
523
280
  * The count of votes in the last 3 ticks
524
281
  **/
@@ -553,19 +310,11 @@ declare module '@polkadot/api-base/types/storage' {
553
310
  /**
554
311
  * Temporary store the vote digest
555
312
  **/
556
- tempBlockVoteDigest: AugmentedQuery<
557
- ApiType,
558
- () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>,
559
- []
560
- >;
313
+ tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, []>;
561
314
  /**
562
315
  * Temporary store of any current tick notebooks included in this block (vs tick)
563
316
  **/
564
- tempCurrentTickNotebooksInBlock: AugmentedQuery<
565
- ApiType,
566
- () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>,
567
- []
568
- >;
317
+ tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, []>;
569
318
  /**
570
319
  * Keeps the last 3 vote minimums. The first one applies to the current block.
571
320
  **/
@@ -574,362 +323,169 @@ declare module '@polkadot/api-base/types/storage' {
574
323
  bootstrap: {
575
324
  /**
576
325
  * Encrypted endpoint payload keyed by its public key.
577
- *
326
+ *
578
327
  * The pallet enforces ownership and length but does not parse or verify encryption.
579
328
  **/
580
- encryptedEndpointByPubkey: AugmentedQuery<
581
- ApiType,
582
- (arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
583
- [PalletBootstrapEndpointPubkey]
584
- >;
329
+ encryptedEndpointByPubkey: AugmentedQuery<ApiType, (arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<Bytes>>, [PalletBootstrapEndpointPubkey]>;
585
330
  /**
586
331
  * Encrypted recovery payload authorized by the corresponding recovery key.
587
- *
332
+ *
588
333
  * The pallet enforces authorization and length but does not parse or verify encryption.
589
334
  **/
590
- encryptedRecoveryPayloadByPubkey: AugmentedQuery<
591
- ApiType,
592
- (arg: PalletBootstrapRecoveryPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
593
- [PalletBootstrapRecoveryPubkey]
594
- >;
335
+ encryptedRecoveryPayloadByPubkey: AugmentedQuery<ApiType, (arg: PalletBootstrapRecoveryPubkey | string | Uint8Array) => Observable<Option<Bytes>>, [PalletBootstrapRecoveryPubkey]>;
595
336
  /**
596
337
  * Account authorized to update an encrypted endpoint payload.
597
- *
338
+ *
598
339
  * The first successful [`Pallet::set_endpoint`] call for a public key establishes its owner.
599
340
  **/
600
- endpointOwnerByPubkey: AugmentedQuery<
601
- ApiType,
602
- (
603
- arg: PalletBootstrapEndpointPubkey | string | Uint8Array,
604
- ) => Observable<Option<AccountId32>>,
605
- [PalletBootstrapEndpointPubkey]
606
- >;
341
+ endpointOwnerByPubkey: AugmentedQuery<ApiType, (arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<AccountId32>>, [PalletBootstrapEndpointPubkey]>;
607
342
  };
608
343
  crosschainTransfer: {
609
344
  /**
610
345
  * The active Global Issuance Council hash in force for each destination chain.
611
346
  **/
612
- activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
613
- ApiType,
614
- (
615
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
616
- ) => Observable<Option<H256>>,
617
- [PalletCrosschainTransferSourceChain]
618
- >;
347
+ activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<H256>>, [ArgonPrimitivesGatewaySourceChain]>;
619
348
  /**
620
349
  * Config accepted for each supported source chain.
621
350
  **/
622
- chainConfigBySourceChain: AugmentedQuery<
623
- ApiType,
624
- (
625
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
626
- ) => Observable<Option<PalletCrosschainTransferChainConfig>>,
627
- [PalletCrosschainTransferSourceChain]
628
- >;
351
+ chainConfigBySourceChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<PalletCrosschainTransferChainConfig>>, [ArgonPrimitivesGatewaySourceChain]>;
629
352
  /**
630
353
  * Latest council approval queue nonce signed by this account for one destination chain.
631
354
  **/
632
- councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
633
- ApiType,
634
- (
635
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
636
- arg2: AccountId32 | string | Uint8Array,
637
- ) => Observable<Option<u64>>,
638
- [PalletCrosschainTransferSourceChain, AccountId32]
639
- >;
355
+ councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<ApiType, (arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [ArgonPrimitivesGatewaySourceChain, AccountId32]>;
640
356
  /**
641
357
  * The ordered outbound council approval queue for each destination chain.
642
358
  **/
643
- councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
644
- ApiType,
645
- (
646
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
647
- arg2: u64 | AnyNumber | Uint8Array,
648
- ) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
649
- [PalletCrosschainTransferSourceChain, u64]
650
- >;
359
+ councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<ApiType, (arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>, [ArgonPrimitivesGatewaySourceChain, u64]>;
651
360
  /**
652
361
  * The registered council signer for each account on each destination chain.
653
362
  **/
654
- councilSignerByDestinationChainAndAccountId: AugmentedQuery<
655
- ApiType,
656
- (
657
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
658
- arg2: AccountId32 | string | Uint8Array,
659
- ) => Observable<Option<H160>>,
660
- [PalletCrosschainTransferSourceChain, AccountId32]
661
- >;
662
- /**
663
- * Conservative transfer-out conversion rate currently quoted for each destination chain.
664
- **/
665
- currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
666
- ApiType,
667
- (
668
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
669
- ) => Observable<Option<u128>>,
670
- [PalletCrosschainTransferSourceChain]
671
- >;
363
+ councilSignerByDestinationChainAndAccountId: AugmentedQuery<ApiType, (arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<H160>>, [ArgonPrimitivesGatewaySourceChain, AccountId32]>;
364
+ /**
365
+ * Latest proved gateway acceptance ceiling, in microgons per whole Argonot.
366
+ **/
367
+ currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u128>>, [ArgonPrimitivesGatewaySourceChain]>;
672
368
  /**
673
369
  * Latest proven gateway activity snapshot for each source chain.
674
370
  **/
675
- gatewayStateBySourceChain: AugmentedQuery<
676
- ApiType,
677
- (
678
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
679
- ) => Observable<Option<PalletCrosschainTransferGatewayState>>,
680
- [PalletCrosschainTransferSourceChain]
681
- >;
371
+ gatewayStateBySourceChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<ArgonPrimitivesGatewayGatewayState>>, [ArgonPrimitivesGatewaySourceChain]>;
682
372
  /**
683
373
  * Pause state recorded when a canonical gateway activity cannot be applied safely.
684
374
  **/
685
- gatewaySyncPauseBySourceChain: AugmentedQuery<
686
- ApiType,
687
- (
688
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
689
- ) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
690
- [PalletCrosschainTransferSourceChain]
691
- >;
375
+ gatewaySyncPauseBySourceChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>, [ArgonPrimitivesGatewaySourceChain]>;
692
376
  /**
693
377
  * Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
694
378
  **/
695
- globalIssuanceCouncilByHash: AugmentedQuery<
696
- ApiType,
697
- (
698
- arg: H256 | string | Uint8Array,
699
- ) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>,
700
- [H256]
701
- >;
379
+ globalIssuanceCouncilByHash: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>, [H256]>;
702
380
  /**
703
381
  * The latest queued council hash that should govern the next queue entry on each destination
704
382
  * chain.
705
383
  **/
706
- latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
707
- ApiType,
708
- (
709
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
710
- ) => Observable<Option<H256>>,
711
- [PalletCrosschainTransferSourceChain]
712
- >;
384
+ latestQueuedCouncilHashByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<H256>>, [ArgonPrimitivesGatewaySourceChain]>;
713
385
  /**
714
386
  * Per-chain override for the minimum normalized microgon value required to register a
715
387
  * Minting Authority.
716
388
  **/
717
- minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
718
- ApiType,
719
- (
720
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
721
- ) => Observable<u128>,
722
- [PalletCrosschainTransferSourceChain]
723
- >;
389
+ minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<u128>, [ArgonPrimitivesGatewaySourceChain]>;
724
390
  /**
725
391
  * Local Minting Authority records keyed by their destination signing key.
726
392
  **/
727
- mintingAuthoritiesBySigner: AugmentedQuery<
728
- ApiType,
729
- (
730
- arg: H160 | string | Uint8Array,
731
- ) => Observable<Option<PalletCrosschainTransferMintingAuthority>>,
732
- [H160]
733
- >;
393
+ mintingAuthoritiesBySigner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletCrosschainTransferMintingAuthority>>, [H160]>;
734
394
  /**
735
395
  * Pricing inputs used to repay relayers for Minting Authority activation batches on each
736
396
  * destination chain.
737
397
  **/
738
- mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
739
- ApiType,
740
- (
741
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
742
- ) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
743
- [PalletCrosschainTransferSourceChain]
744
- >;
398
+ mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>, [ArgonPrimitivesGatewaySourceChain]>;
745
399
  /**
746
400
  * The next outbound approval-queue nonce to assign on each destination chain.
747
401
  **/
748
- nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
749
- ApiType,
750
- (
751
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
752
- ) => Observable<u64>,
753
- [PalletCrosschainTransferSourceChain]
754
- >;
402
+ nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<u64>, [ArgonPrimitivesGatewaySourceChain]>;
755
403
  /**
756
404
  * First frame where a new council snapshot may be added to a chain's approval queue.
757
405
  **/
758
- nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
759
- ApiType,
760
- (
761
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
762
- ) => Observable<Option<u64>>,
763
- [PalletCrosschainTransferSourceChain]
764
- >;
406
+ nextCouncilRotationFrameByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u64>>, [ArgonPrimitivesGatewaySourceChain]>;
765
407
  /**
766
408
  * Next outbound transfer nonce for each sending account.
767
409
  **/
768
- nextTransferOutNonceBySendingAccountId: AugmentedQuery<
769
- ApiType,
770
- (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
771
- [AccountId32]
772
- >;
410
+ nextTransferOutNonceBySendingAccountId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [AccountId32]>;
773
411
  /**
774
412
  * Number of non-terminal transfer-out requests on each destination chain.
775
413
  **/
776
- nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
777
- ApiType,
778
- (
779
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
780
- ) => Observable<u32>,
781
- [PalletCrosschainTransferSourceChain]
782
- >;
414
+ nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<u32>, [ArgonPrimitivesGatewaySourceChain]>;
783
415
  /**
784
416
  * Collateralization requests still open on each destination chain.
785
417
  **/
786
- pendingCollateralizationRequestsByChain: AugmentedQuery<
787
- ApiType,
788
- (
789
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
790
- ) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
791
- [PalletCrosschainTransferSourceChain]
792
- >;
418
+ pendingCollateralizationRequestsByChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>, [ArgonPrimitivesGatewaySourceChain]>;
793
419
  /**
794
420
  * A staged council signer rotation for the next council activation on each destination chain.
795
421
  **/
796
- pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
797
- ApiType,
798
- (
799
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
800
- arg2: AccountId32 | string | Uint8Array,
801
- ) => Observable<Option<H160>>,
802
- [PalletCrosschainTransferSourceChain, AccountId32]
803
- >;
422
+ pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<ApiType, (arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<H160>>, [ArgonPrimitivesGatewaySourceChain, AccountId32]>;
804
423
  /**
805
424
  * Pending outbound principal by destination chain.
806
425
  **/
807
- pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
808
- ApiType,
809
- (
810
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
811
- ) => Observable<PalletCrosschainTransferSourceChainCirculation>,
812
- [PalletCrosschainTransferSourceChain]
813
- >;
814
- /**
815
- * Immediately previous transfer-out conversion rate still accepted while the floor ratchets
816
- * upward across council transitions.
817
- **/
818
- previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
819
- ApiType,
820
- (
821
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
822
- ) => Observable<Option<u128>>,
823
- [PalletCrosschainTransferSourceChain]
824
- >;
426
+ pendingTransferOutCirculationByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<PalletCrosschainTransferSourceChainCirculation>, [ArgonPrimitivesGatewaySourceChain]>;
427
+ /**
428
+ * Active transfer counts keyed by their quote in microgons per whole Argonot. The largest
429
+ * key gives the required gateway ceiling without scanning transfer records at rotation.
430
+ **/
431
+ pendingTransferOutQuoteCountsByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<BTreeMap<u128, u32>>, [ArgonPrimitivesGatewaySourceChain]>;
432
+ /**
433
+ * Previous proved gateway ceiling, retained to quote conservatively across proof-back delays.
434
+ **/
435
+ previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u128>>, [ArgonPrimitivesGatewaySourceChain]>;
825
436
  /**
826
437
  * Outbound transfers by transfer id.
827
438
  **/
828
- transferOutById: AugmentedQuery<
829
- ApiType,
830
- (
831
- arg: H256 | string | Uint8Array,
832
- ) => Observable<Option<PalletCrosschainTransferTransferOutTransferOutOfArgon>>,
833
- [H256]
834
- >;
835
- /**
836
- * The conservative transfer-out quote floor that the next newly opened transfer should
837
- * snapshot on each destination chain.
838
- **/
839
- transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
840
- ApiType,
841
- (
842
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
843
- ) => Observable<Option<u128>>,
844
- [PalletCrosschainTransferSourceChain]
845
- >;
439
+ transferOutById: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCrosschainTransferTransferOutTransferOutOfArgon>>, [H256]>;
440
+ /**
441
+ * Minimum active and queued gateway ceiling. New transfers also clamp this to the market
442
+ * floor.
443
+ **/
444
+ transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<ApiType, (arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u128>>, [ArgonPrimitivesGatewaySourceChain]>;
846
445
  /**
847
446
  * Cumulative inbound and outbound transfer totals for each local account.
848
447
  **/
849
- transferTotalsByAccount: AugmentedQuery<
850
- ApiType,
851
- (
852
- arg: AccountId32 | string | Uint8Array,
853
- ) => Observable<PalletCrosschainTransferAccountTransferTotals>,
854
- [AccountId32]
855
- >;
448
+ transferTotalsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletCrosschainTransferAccountTransferTotals>, [AccountId32]>;
856
449
  };
857
450
  digests: {
858
- tempDigests: AugmentedQuery<
859
- ApiType,
860
- () => Observable<Option<ArgonPrimitivesDigestsDigestset>>,
861
- []
862
- >;
451
+ tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, []>;
863
452
  };
864
453
  domains: {
865
- expiringDomainsByBlock: AugmentedQuery<
866
- ApiType,
867
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
868
- [u64]
869
- >;
870
- registeredDomains: AugmentedQuery<
871
- ApiType,
872
- (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>,
873
- [H256]
874
- >;
875
- zoneRecordsByDomain: AugmentedQuery<
876
- ApiType,
877
- (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>,
878
- [H256]
879
- >;
454
+ expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
455
+ registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [H256]>;
456
+ zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [H256]>;
880
457
  };
881
458
  ethereumVerifier: {
882
459
  /**
883
460
  * Chain-configured beacon preset expected by clients that submit verifier updates.
884
461
  **/
885
- beaconPreset: AugmentedQuery<
886
- ApiType,
887
- () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>,
888
- []
889
- >;
462
+ beaconPreset: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>, []>;
890
463
  /**
891
464
  * Sync committee for current period
892
465
  **/
893
- currentSyncCommittee: AugmentedQuery<
894
- ApiType,
895
- () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
896
- []
897
- >;
466
+ currentSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
467
+ /**
468
+ * Number of retained beacon roots sharing an execution anchor. Gloas EMPTY payloads can
469
+ * leave the parent execution hash unchanged across multiple finalized beacon blocks.
470
+ **/
471
+ executionHeaderAnchorReferences: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]>;
898
472
  /**
899
473
  * Retained execution-layer header anchors by execution block hash.
900
474
  **/
901
- executionHeaderAnchors: AugmentedQuery<
902
- ApiType,
903
- (
904
- arg: H256 | string | Uint8Array,
905
- ) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
906
- [H256]
907
- >;
475
+ executionHeaderAnchors: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>, [H256]>;
908
476
  /**
909
477
  * Ordered retained execution-layer anchors keyed by execution block number.
910
- *
478
+ *
911
479
  * The key is the big-endian execution block number so clients can start at a target execution
912
480
  * block number and scan forward to the first retained anchor at or after that block without
913
481
  * walking every retained finalized beacon root. `ExecutionHeaderAnchors` remains the canonical
914
482
  * hash-keyed proof lookup.
915
483
  **/
916
- executionHeaderAnchorsByBlockNumber: AugmentedQuery<
917
- ApiType,
918
- (
919
- arg: U8aFixed | string | Uint8Array,
920
- ) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
921
- [U8aFixed]
922
- >;
484
+ executionHeaderAnchorsByBlockNumber: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>, [U8aFixed]>;
923
485
  /**
924
486
  * Beacon state by finalized block root
925
487
  **/
926
- finalizedBeaconState: AugmentedQuery<
927
- ApiType,
928
- (
929
- arg: H256 | string | Uint8Array,
930
- ) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>,
931
- [H256]
932
- >;
488
+ finalizedBeaconState: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletEthereumVerifierFinalizedBeaconHeaderState>>, [H256]>;
933
489
  /**
934
490
  * Finalized Headers: Current position in ring buffer
935
491
  **/
@@ -937,27 +493,15 @@ declare module '@polkadot/api-base/types/storage' {
937
493
  /**
938
494
  * Finalized Headers: Mapping of ring buffer index to a pruning candidate
939
495
  **/
940
- finalizedBeaconStateMapping: AugmentedQuery<
941
- ApiType,
942
- (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
943
- [u32]
944
- >;
496
+ finalizedBeaconStateMapping: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
945
497
  /**
946
498
  * Attached execution-layer anchor hash for each retained finalized beacon header root.
947
499
  **/
948
- finalizedExecutionHeaderAnchor: AugmentedQuery<
949
- ApiType,
950
- (arg: H256 | string | Uint8Array) => Observable<Option<H256>>,
951
- [H256]
952
- >;
500
+ finalizedExecutionHeaderAnchor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<H256>>, [H256]>;
953
501
  /**
954
502
  * Fork-version schedule used for sync-committee signing domains and beacon state paths.
955
503
  **/
956
- forkVersionSchedule: AugmentedQuery<
957
- ApiType,
958
- () => Observable<Option<PalletEthereumVerifierForkVersions>>,
959
- []
960
- >;
504
+ forkVersionSchedule: AugmentedQuery<ApiType, () => Observable<Option<PalletEthereumVerifierForkVersions>>, []>;
961
505
  /**
962
506
  * Latest imported checkpoint root
963
507
  **/
@@ -965,11 +509,7 @@ declare module '@polkadot/api-base/types/storage' {
965
509
  /**
966
510
  * Latest retained execution-layer anchor block hash.
967
511
  **/
968
- latestExecutionHeaderAnchorBlockHash: AugmentedQuery<
969
- ApiType,
970
- () => Observable<Option<H256>>,
971
- []
972
- >;
512
+ latestExecutionHeaderAnchorBlockHash: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
973
513
  /**
974
514
  * Latest imported finalized block root
975
515
  **/
@@ -981,30 +521,18 @@ declare module '@polkadot/api-base/types/storage' {
981
521
  /**
982
522
  * Sync committee for next period
983
523
  **/
984
- nextSyncCommittee: AugmentedQuery<
985
- ApiType,
986
- () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
987
- []
988
- >;
524
+ nextSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, []>;
989
525
  /**
990
526
  * The current operating mode of the pallet.
991
527
  **/
992
- operatingMode: AugmentedQuery<
993
- ApiType,
994
- () => Observable<PalletEthereumVerifierBasicOperatingMode>,
995
- []
996
- >;
528
+ operatingMode: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierBasicOperatingMode>, []>;
997
529
  validatorsRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
998
530
  };
999
531
  grandpa: {
1000
532
  /**
1001
533
  * The current list of authorities.
1002
534
  **/
1003
- authorities: AugmentedQuery<
1004
- ApiType,
1005
- () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>,
1006
- []
1007
- >;
535
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []>;
1008
536
  /**
1009
537
  * The number of changes (both in terms of keys and underlying economic responsibilities)
1010
538
  * in the "set" of Grandpa validators from genesis.
@@ -1017,28 +545,20 @@ declare module '@polkadot/api-base/types/storage' {
1017
545
  /**
1018
546
  * Pending change: (signaled at, scheduled change).
1019
547
  **/
1020
- pendingChange: AugmentedQuery<
1021
- ApiType,
1022
- () => Observable<Option<PalletGrandpaStoredPendingChange>>,
1023
- []
1024
- >;
548
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []>;
1025
549
  /**
1026
550
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
1027
551
  * members were responsible.
1028
- *
552
+ *
1029
553
  * This is only used for validating equivocation proofs. An equivocation proof must
1030
554
  * contains a key-ownership proof for a given session, therefore we need a way to tie
1031
555
  * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
1032
556
  * was the owner of a given key on a given session, and what the active set ID was
1033
557
  * during that session.
1034
- *
558
+ *
1035
559
  * TWOX-NOTE: `SetId` is not under user control.
1036
560
  **/
1037
- setIdSession: AugmentedQuery<
1038
- ApiType,
1039
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
1040
- [u64]
1041
- >;
561
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
1042
562
  /**
1043
563
  * `true` if we are currently stalled.
1044
564
  **/
@@ -1051,61 +571,46 @@ declare module '@polkadot/api-base/types/storage' {
1051
571
  localchainTransfer: {
1052
572
  /**
1053
573
  * Expiration index for outgoing transfers keyed by `(notary_id, expiration_tick)`.
1054
- *
574
+ *
1055
575
  * NOTE: Expiration processing follows notebook progression (`header.tick`) for each notary,
1056
576
  * not wall/runtime tick. If a notary stops submitting notebooks indefinitely, pending
1057
577
  * transfers for that notary remain frozen by design until a notary-switch recovery path is
1058
578
  * executed.
1059
579
  **/
1060
- expiringTransfersOutByNotary: AugmentedQuery<
1061
- ApiType,
1062
- (
1063
- arg1: u32 | AnyNumber | Uint8Array,
1064
- arg2: u64 | AnyNumber | Uint8Array,
1065
- ) => Observable<Vec<u32>>,
1066
- [u32, u64]
1067
- >;
580
+ expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
1068
581
  nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1069
- pendingTransfersOut: AugmentedQuery<
1070
- ApiType,
1071
- (
1072
- arg: u32 | AnyNumber | Uint8Array,
1073
- ) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>,
1074
- [u32]
1075
- >;
582
+ pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLocalchainTransferQueuedTransferOut>>, [u32]>;
1076
583
  };
1077
584
  miningSlot: {
1078
585
  /**
1079
586
  * Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
1080
587
  **/
1081
- accountIndexLookup: AugmentedQuery<
1082
- ApiType,
1083
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>,
1084
- [AccountId32]
1085
- >;
588
+ accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [AccountId32]>;
1086
589
  activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
1087
590
  /**
1088
591
  * Argonots that must be locked to take a Miner role
1089
592
  **/
1090
593
  argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
594
+ auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
595
+ /**
596
+ * Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
597
+ **/
598
+ auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1091
599
  /**
1092
600
  * Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
1093
601
  * first).
1094
602
  **/
1095
- averagePricePerSeat: AugmentedQuery<
1096
- ApiType,
1097
- () => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
1098
- []
1099
- >;
603
+ averagePricePerSeat: AugmentedQuery<ApiType, () => Observable<Vec<PalletMiningSlotSeatPriceStats>>, []>;
604
+ /**
605
+ * Vector position is canonical commitment order, including calls inside utility batches.
606
+ **/
607
+ bidBatches: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
1100
608
  /**
1101
609
  * The cohort set to go into effect in the next slot. The Vec has all
1102
610
  * registrants with their bid amount
1103
611
  **/
1104
- bidsForNextSlotCohort: AugmentedQuery<
1105
- ApiType,
1106
- () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
1107
- []
1108
- >;
612
+ bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
613
+ eligibleBids: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotBidEligibility>>, [AccountId32]>;
1109
614
  /**
1110
615
  * The number of reward ticks remaining in the frame
1111
616
  **/
@@ -1118,47 +623,39 @@ declare module '@polkadot/api-base/types/storage' {
1118
623
  * The previous 10 frame start ticks
1119
624
  **/
1120
625
  frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
626
+ /**
627
+ * Whether the current auction has an accepted price, including a valid zero price.
628
+ **/
629
+ hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1121
630
  hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1122
631
  /**
1123
- * The number of bids per slot for the last 10 slots (newest first)
632
+ * Bid activity and accepted prices for the last 10 auctions (newest first).
633
+ * Activity counts committed submissions and automatic standing-bid price increases.
1124
634
  **/
1125
- historicalBidsPerSlot: AugmentedQuery<
1126
- ApiType,
1127
- () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>,
1128
- []
1129
- >;
635
+ historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, []>;
1130
636
  /**
1131
637
  * Is the next slot still open for bids
1132
638
  **/
1133
639
  isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
640
+ lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
641
+ /**
642
+ * Fresh chains use immediate clearing; upgrades finish the current auction first.
643
+ **/
644
+ liveAuctionStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1134
645
  /**
1135
646
  * This is a lookup of each miner's nonce to use when picking a best authority to submit a
1136
647
  * block. It's a blake2 256 hash of the miner account id and the block hash at time of
1137
648
  * activation.
1138
649
  **/
1139
- minerNonceScoringByCohort: AugmentedQuery<
1140
- ApiType,
1141
- () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>,
1142
- []
1143
- >;
650
+ minerNonceScoringByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<PalletMiningSlotMinerNonceScoring>>>, []>;
1144
651
  /**
1145
652
  * Miners that are active in the current block (post initialize) by their starting frame
1146
653
  **/
1147
- minersByCohort: AugmentedQuery<
1148
- ApiType,
1149
- (
1150
- arg: u64 | AnyNumber | Uint8Array,
1151
- ) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
1152
- [u64]
1153
- >;
654
+ minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [u64]>;
1154
655
  /**
1155
656
  * The mining slot configuration set in genesis
1156
657
  **/
1157
- miningConfig: AugmentedQuery<
1158
- ApiType,
1159
- () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>,
1160
- []
1161
- >;
658
+ miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, []>;
1162
659
  /**
1163
660
  * Is a new frame started in this block
1164
661
  **/
@@ -1172,39 +669,29 @@ declare module '@polkadot/api-base/types/storage' {
1172
669
  * cohorts.
1173
670
  **/
1174
671
  nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
672
+ pendingBids: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>, [AccountId32]>;
1175
673
  /**
1176
674
  * The miners released in the last block (only kept for a single block)
1177
675
  **/
1178
- releasedMinersByAccountId: AugmentedQuery<
1179
- ApiType,
1180
- () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>,
1181
- []
1182
- >;
676
+ releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, []>;
677
+ /**
678
+ * Valid disclosures awaiting this block's atomic maximum clearing.
679
+ **/
680
+ revealedBids: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
1183
681
  /**
1184
682
  * The upcoming changes scheduled for cohort size by frame.
1185
683
  * Capacity of 11 allows for 10 frames worth of scheduled changes plus one working slot
1186
684
  * to schedule a new change during frame finalization.
1187
685
  **/
1188
- scheduledCohortSizeChangeByFrame: AugmentedQuery<
1189
- ApiType,
1190
- () => Observable<BTreeMap<u64, u32>>,
1191
- []
1192
- >;
686
+ scheduledCohortSizeChangeByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u32>>, []>;
687
+ standingBids: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>, [AccountId32]>;
1193
688
  /**
1194
689
  * Temporary store the frame info digest
1195
690
  **/
1196
- tempFrameInfoDigest: AugmentedQuery<
1197
- ApiType,
1198
- () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>,
1199
- []
1200
- >;
691
+ tempFrameInfoDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsFrameInfo>>, []>;
1201
692
  };
1202
693
  mint: {
1203
- blockMintAction: AugmentedQuery<
1204
- ApiType,
1205
- () => Observable<ITuple<[u32, PalletMintMintAction]>>,
1206
- []
1207
- >;
694
+ blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
1208
695
  /**
1209
696
  * The amount of argons minted per mining cohort (ie, grouped by starting frame id)
1210
697
  **/
@@ -1221,77 +708,34 @@ declare module '@polkadot/api-base/types/storage' {
1221
708
  * Bitcoin UTXOs that have been submitted for minting, keyed by a monotonic queue index so
1222
709
  * payouts can preserve FIFO order while each frame works through a fixed payout cohort.
1223
710
  **/
1224
- pendingBitcoinMintsByIndex: AugmentedQuery<
1225
- ApiType,
1226
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingBitcoinMint>>,
1227
- [u64]
1228
- >;
711
+ pendingBitcoinMintsByIndex: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletMintPendingBitcoinMint>>, [u64]>;
1229
712
  /**
1230
713
  * Reverse lookup from bitcoin UTXO id to all queued mint indices for direct removal and
1231
714
  * client lookup.
1232
715
  **/
1233
- pendingMintIndicesByLockId: AugmentedQuery<
1234
- ApiType,
1235
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1236
- [u64]
1237
- >;
716
+ pendingMintIndicesByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
1238
717
  /**
1239
718
  * Queue bookkeeping for pending bitcoin mints, including the bounded payout start and the
1240
719
  * current frame scan cursor.
1241
720
  **/
1242
- pendingMintQueueState: AugmentedQuery<
1243
- ApiType,
1244
- () => Observable<PalletMintMintQueueCursor>,
1245
- []
1246
- >;
721
+ pendingMintQueueState: AugmentedQuery<ApiType, () => Observable<PalletMintMintQueueCursor>, []>;
1247
722
  };
1248
723
  multisig: {
1249
724
  /**
1250
725
  * The set of open multisig operations.
1251
726
  **/
1252
- multisigs: AugmentedQuery<
1253
- ApiType,
1254
- (
1255
- arg1: AccountId32 | string | Uint8Array,
1256
- arg2: U8aFixed | string | Uint8Array,
1257
- ) => Observable<Option<PalletMultisigMultisig>>,
1258
- [AccountId32, U8aFixed]
1259
- >;
727
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]>;
1260
728
  };
1261
729
  notaries: {
1262
- activeNotaries: AugmentedQuery<
1263
- ApiType,
1264
- () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>,
1265
- []
1266
- >;
1267
- expiringProposals: AugmentedQuery<
1268
- ApiType,
1269
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
1270
- [u32]
1271
- >;
730
+ activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, []>;
731
+ expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
1272
732
  nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1273
- notaryKeyHistory: AugmentedQuery<
1274
- ApiType,
1275
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>,
1276
- [u32]
1277
- >;
1278
- proposedNotaries: AugmentedQuery<
1279
- ApiType,
1280
- (
1281
- arg: AccountId32 | string | Uint8Array,
1282
- ) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>,
1283
- [AccountId32]
1284
- >;
733
+ notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [u32]>;
734
+ proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [AccountId32]>;
1285
735
  /**
1286
736
  * Metadata changes to be activated at the given tick
1287
737
  **/
1288
- queuedNotaryMetaChanges: AugmentedQuery<
1289
- ApiType,
1290
- (
1291
- arg: u64 | AnyNumber | Uint8Array,
1292
- ) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>,
1293
- [u64]
1294
- >;
738
+ queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u64]>;
1295
739
  };
1296
740
  notebook: {
1297
741
  /**
@@ -1299,26 +743,11 @@ declare module '@polkadot/api-base/types/storage' {
1299
743
  * notebook containing this account in the changed accounts merkle root
1300
744
  * (NotebookChangedAccountsRootByNotary)
1301
745
  **/
1302
- accountOriginLastChangedNotebookByNotary: AugmentedQuery<
1303
- ApiType,
1304
- (
1305
- arg1: u32 | AnyNumber | Uint8Array,
1306
- arg2:
1307
- | ArgonPrimitivesBalanceChangeAccountOrigin
1308
- | { notebookNumber?: any; accountUid?: any }
1309
- | string
1310
- | Uint8Array,
1311
- ) => Observable<Option<u32>>,
1312
- [u32, ArgonPrimitivesBalanceChangeAccountOrigin]
1313
- >;
746
+ accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | { notebookNumber?: any; accountUid?: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, ArgonPrimitivesBalanceChangeAccountOrigin]>;
1314
747
  /**
1315
748
  * The notebooks included in this block
1316
749
  **/
1317
- blockNotebooks: AugmentedQuery<
1318
- ApiType,
1319
- () => Observable<ArgonPrimitivesDigestsNotebookDigest>,
1320
- []
1321
- >;
750
+ blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, []>;
1322
751
  /**
1323
752
  * Check if the inherent was included
1324
753
  **/
@@ -1327,63 +756,36 @@ declare module '@polkadot/api-base/types/storage' {
1327
756
  * List of last few notebook details by notary. The bool is whether the notebook is eligible
1328
757
  * for votes (received at correct tick and audit passed)
1329
758
  **/
1330
- lastNotebookDetailsByNotary: AugmentedQuery<
1331
- ApiType,
1332
- (
1333
- arg: u32 | AnyNumber | Uint8Array,
1334
- ) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>,
1335
- [u32]
1336
- >;
759
+ lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [u32]>;
1337
760
  /**
1338
761
  * Notaries ready to start reprocessing at a given notebook number
1339
762
  **/
1340
- lockedNotaryReadyForReprocess: AugmentedQuery<
1341
- ApiType,
1342
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>,
1343
- [u32]
1344
- >;
763
+ lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]>;
1345
764
  /**
1346
765
  * Notaries locked for failing audits
1347
766
  **/
1348
- notariesLockedForFailedAudit: AugmentedQuery<
1349
- ApiType,
1350
- (
1351
- arg: u32 | AnyNumber | Uint8Array,
1352
- ) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>,
1353
- [u32]
1354
- >;
767
+ notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
1355
768
  /**
1356
769
  * Double storage map of notary id + notebook # to the change root
1357
770
  **/
1358
- notebookChangedAccountsRootByNotary: AugmentedQuery<
1359
- ApiType,
1360
- (
1361
- arg1: u32 | AnyNumber | Uint8Array,
1362
- arg2: u32 | AnyNumber | Uint8Array,
1363
- ) => Observable<Option<H256>>,
1364
- [u32, u32]
1365
- >;
771
+ notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]>;
1366
772
  };
1367
773
  operationalAccounts: {
1368
774
  /**
1369
775
  * Set of operational accounts that have met both follow-on access-code thresholds.
1370
776
  * The key count weights frame processing without scanning the set twice.
1371
777
  **/
1372
- accessCodeReadyAccounts: AugmentedQuery<
1373
- ApiType,
1374
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>,
1375
- [AccountId32]
1376
- >;
778
+ accessCodeReadyAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]>;
1377
779
  /**
1378
780
  * Counter for the related counted storage map
1379
781
  **/
1380
782
  counterForAccessCodeReadyAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1381
783
  /**
1382
784
  * Whether operational-account access is invite-only.
1383
- *
785
+ *
1384
786
  * When enabled, registration requires an upstream invite and vault creation plus
1385
787
  * mining-slot bidding remain restricted to registered operational accounts.
1386
- *
788
+ *
1387
789
  * Existing live raw chain specs do not contain this key, so the default remains invite-only
1388
790
  * unless a development chain overrides it in genesis.
1389
791
  **/
@@ -1391,82 +793,52 @@ declare module '@polkadot/api-base/types/storage' {
1391
793
  /**
1392
794
  * Reverse lookup of any linked account to its operational account id.
1393
795
  **/
1394
- operationalAccountBySubAccount: AugmentedQuery<
1395
- ApiType,
1396
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>,
1397
- [AccountId32]
1398
- >;
796
+ operationalAccountBySubAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]>;
1399
797
  /**
1400
798
  * Registered operational accounts keyed by the primary account id.
1401
799
  **/
1402
- operationalAccounts: AugmentedQuery<
1403
- ApiType,
1404
- (
1405
- arg: AccountId32 | string | Uint8Array,
1406
- ) => Observable<Option<PalletOperationalAccountsOperationalAccount>>,
1407
- [AccountId32]
1408
- >;
800
+ operationalAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletOperationalAccountsOperationalAccount>>, [AccountId32]>;
1409
801
  /**
1410
802
  * Configured reward amounts for operational accounts.
1411
803
  **/
1412
- rewards: AugmentedQuery<
1413
- ApiType,
1414
- () => Observable<PalletOperationalAccountsRewardsConfig>,
1415
- []
1416
- >;
804
+ rewards: AugmentedQuery<ApiType, () => Observable<PalletOperationalAccountsRewardsConfig>, []>;
1417
805
  };
1418
806
  ownership: {
1419
807
  /**
1420
808
  * The Balances pallet example of storing the balance of an account.
1421
- *
809
+ *
1422
810
  * # Example
1423
- *
811
+ *
1424
812
  * ```nocompile
1425
813
  * impl pallet_balances::Config for Runtime {
1426
814
  * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
1427
815
  * }
1428
816
  * ```
1429
- *
817
+ *
1430
818
  * You can also store the balance of an account in the `System` pallet.
1431
- *
819
+ *
1432
820
  * # Example
1433
- *
821
+ *
1434
822
  * ```nocompile
1435
823
  * impl pallet_balances::Config for Runtime {
1436
824
  * type AccountStore = System
1437
825
  * }
1438
826
  * ```
1439
- *
827
+ *
1440
828
  * But this comes with tradeoffs, storing account balances in the system pallet stores
1441
829
  * `frame_system` data alongside the account data contrary to storing account balances in the
1442
830
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
1443
831
  * NOTE: This is only used in the case that this pallet is used to store balances.
1444
832
  **/
1445
- account: AugmentedQuery<
1446
- ApiType,
1447
- (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>,
1448
- [AccountId32]
1449
- >;
833
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
1450
834
  /**
1451
835
  * Freeze locks on account balances.
1452
836
  **/
1453
- freezes: AugmentedQuery<
1454
- ApiType,
1455
- (
1456
- arg: AccountId32 | string | Uint8Array,
1457
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>,
1458
- [AccountId32]
1459
- >;
837
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
1460
838
  /**
1461
839
  * Holds on account balances.
1462
840
  **/
1463
- holds: AugmentedQuery<
1464
- ApiType,
1465
- (
1466
- arg: AccountId32 | string | Uint8Array,
1467
- ) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>,
1468
- [AccountId32]
1469
- >;
841
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
1470
842
  /**
1471
843
  * The total units of outstanding deactivated balance in the system.
1472
844
  **/
@@ -1474,24 +846,16 @@ declare module '@polkadot/api-base/types/storage' {
1474
846
  /**
1475
847
  * Any liquidity locks on some account balances.
1476
848
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
1477
- *
849
+ *
1478
850
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
1479
851
  **/
1480
- locks: AugmentedQuery<
1481
- ApiType,
1482
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>,
1483
- [AccountId32]
1484
- >;
852
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
1485
853
  /**
1486
854
  * Named reserves on some account balances.
1487
- *
855
+ *
1488
856
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
1489
857
  **/
1490
- reserves: AugmentedQuery<
1491
- ApiType,
1492
- (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>,
1493
- [AccountId32]
1494
- >;
858
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
1495
859
  /**
1496
860
  * The total units issued in the system.
1497
861
  **/
@@ -1501,59 +865,35 @@ declare module '@polkadot/api-base/types/storage' {
1501
865
  /**
1502
866
  * Stores the active price index
1503
867
  **/
1504
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
868
+ current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1505
869
  /**
1506
870
  * Stores the latest submitted Ethereum pricing.
1507
871
  **/
1508
- currentEthereumPrice: AugmentedQuery<
1509
- ApiType,
1510
- () => Observable<Option<PalletPriceIndexEthereumPriceIndex>>,
1511
- []
1512
- >;
872
+ currentEthereumPrice: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexEthereumPriceIndex>>, []>;
1513
873
  /**
1514
874
  * Accumulates the current frame's Argonot price samples until the frame closes.
1515
875
  **/
1516
- currentFrameArgonotAverage: AugmentedQuery<
1517
- ApiType,
1518
- () => Observable<Option<PalletPriceIndexArgonotAverageFrameAccumulator>>,
1519
- []
1520
- >;
876
+ currentFrameArgonotAverage: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexArgonotAverageFrameAccumulator>>, []>;
1521
877
  /**
1522
878
  * Tracks the average cpi data every 60 ticks
1523
879
  **/
1524
- historicArgonCPI: AugmentedQuery<
1525
- ApiType,
1526
- () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>,
1527
- []
1528
- >;
880
+ historicArgonCPI: AugmentedQuery<ApiType, () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>, []>;
1529
881
  /**
1530
882
  * Tracks the average Argonot price observed in each recent frame.
1531
883
  **/
1532
- historicArgonotAverageByFrame: AugmentedQuery<
1533
- ApiType,
1534
- () => Observable<BTreeMap<u64, u128>>,
1535
- []
1536
- >;
884
+ historicArgonotAverageByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, []>;
1537
885
  /**
1538
886
  * Tracks the lowest Argonot floor observed in each recent frame.
1539
887
  **/
1540
- historicArgonotFloorByFrame: AugmentedQuery<
1541
- ApiType,
1542
- () => Observable<BTreeMap<u64, u128>>,
1543
- []
1544
- >;
888
+ historicArgonotFloorByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, []>;
1545
889
  /**
1546
890
  * Stores per-frame Ethereum price totals used for the trailing averages.
1547
891
  **/
1548
- historicEthereumPricesByFrame: AugmentedQuery<
1549
- ApiType,
1550
- () => Observable<BTreeMap<u64, PalletPriceIndexEthereumPriceFrameAccumulator>>,
1551
- []
1552
- >;
892
+ historicEthereumPricesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletPriceIndexEthereumPriceFrameAccumulator>>, []>;
1553
893
  /**
1554
894
  * Stores the last valid price index
1555
895
  **/
1556
- lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
896
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1557
897
  /**
1558
898
  * The price index operator account
1559
899
  **/
@@ -1563,24 +903,95 @@ declare module '@polkadot/api-base/types/storage' {
1563
903
  /**
1564
904
  * The announcements made by the proxy (key).
1565
905
  **/
1566
- announcements: AugmentedQuery<
1567
- ApiType,
1568
- (
1569
- arg: AccountId32 | string | Uint8Array,
1570
- ) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>,
1571
- [AccountId32]
1572
- >;
906
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
1573
907
  /**
1574
908
  * The set of account proxies. Maps the account which has delegated to the accounts
1575
909
  * which are being delegated to, together with the amount held on deposit.
1576
910
  **/
1577
- proxies: AugmentedQuery<
1578
- ApiType,
1579
- (
1580
- arg: AccountId32 | string | Uint8Array,
1581
- ) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>,
1582
- [AccountId32]
1583
- >;
911
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
912
+ };
913
+ stabilizerBuys: {
914
+ /**
915
+ * Execution venue eligible for purchase rewards. Unset until governance selects a pool.
916
+ **/
917
+ approvedPool: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>, []>;
918
+ /**
919
+ * Closed auctions awaiting reward allocation, ordered by scheduled processing frame and
920
+ * admission frame. A failed allocation moves only its queue entry; the auction retains its
921
+ * original maturity.
922
+ **/
923
+ auctionAllocationQueue: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAscendingRankKeyU64 | { ascendingRank?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAscendingRankKeyU64]>;
924
+ /**
925
+ * Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
926
+ **/
927
+ auctions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerBuysAuction>>, [u64]>;
928
+ /**
929
+ * Positive bids ordered by rate ascending, matching basis descending, then account ascending.
930
+ * Keys retain each frozen matching basis in microgons even after principal is released.
931
+ **/
932
+ bidsByAuction: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]> | [Percent | AnyNumber | Uint8Array, ArgonPrimitivesAmountRankAmountRankKeyAccountId32 | { descendingAmount?: any; orderedId?: any } | string | Uint8Array]) => Observable<Option<Null>>, [u64, ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>]>;
933
+ /**
934
+ * Aggregated discounts, shared bid and ordinary principal for each account/admission frame.
935
+ * Ordered frame bytes let payout visits select the oldest buckets with bounded work.
936
+ **/
937
+ buysByAccountAndFrame: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysAccountFrameBuys>>, [AccountId32, U8aFixed]>;
938
+ /**
939
+ * Pending repayment commitments, ordered by gateway nonce within each recipient.
940
+ * The existing account payout queue selects work; this adds no separate settlement queue.
941
+ **/
942
+ liquidRepaysByAccountAndGatewayNonce: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysLiquidRepay>>, [AccountId32, U8aFixed]>;
943
+ /**
944
+ * Matching fraction for new auctions; existing auctions retain their captured policy.
945
+ **/
946
+ matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
947
+ /**
948
+ * One scheduled visit per account, ordered by frame then account. Purchase buckets and the
949
+ * reward record retain unpaid funds while this index selects bounded work.
950
+ **/
951
+ payoutQueue: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32 | { ascendingRank?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>;
952
+ /**
953
+ * Fixed due-frame cutoff and last visited key for a bounded pass through the payout queue.
954
+ * Waiting repayments keep their maturity rank without blocking accounts behind them.
955
+ **/
956
+ payoutQueueCursor: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>>>, []>;
957
+ /**
958
+ * Unpaid ordinary rewards and the account's single scheduled payout visit, across frames.
959
+ **/
960
+ payoutStateByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStabilizerBuysAccountPayoutState>, [AccountId32]>;
961
+ /**
962
+ * Unsettled purchase count for an owner's Liquid. Removed after its final settlement;
963
+ * lets Fissions block direct close without scanning purchases. Counts use the gateway's
964
+ * u64 nonce range so every authenticated purchase can be represented.
965
+ **/
966
+ pendingLiquidRepayCountByAccountAndLiquid: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [AccountId32, u64]>;
967
+ /**
968
+ * Number of incomplete windows starting at each purchase tick. Ordered keys expose the
969
+ * oldest history still needed without scanning purchases; counts share the u64 nonce range.
970
+ **/
971
+ pendingPriceWindowCountByTick: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<u64>, [U8aFixed]>;
972
+ /**
973
+ * Compact observations keyed by ordered ticks. An unavailable purchase quote stops historical
974
+ * lookup. Retention follows gateway sync and any incomplete repayment windows.
975
+ **/
976
+ priceHistoryByTick: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>, [U8aFixed]>;
977
+ };
978
+ stabilizerPools: {
979
+ /**
980
+ * First current-tick price index accepted in each frame, including absent pool observations.
981
+ * This is an oracle opening reference, not an exact historical Ethereum boundary proof.
982
+ * Later indices cannot revalue it; frames without an observation have no entry. A new opening
983
+ * reference prunes frames outside the configured window, including across oracle gaps.
984
+ **/
985
+ frameStartPriceIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>, []>;
986
+ /**
987
+ * Approved deployments on the Ethereum network authenticated by EthereumVerifier.
988
+ * Configuration is immutable once registered, preserving checkpoint identity and layout.
989
+ **/
990
+ pools: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsPoolConfig>>, [H160, H256]>;
991
+ /**
992
+ * Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
993
+ **/
994
+ positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
1584
995
  };
1585
996
  sudo: {
1586
997
  /**
@@ -1592,30 +1003,18 @@ declare module '@polkadot/api-base/types/storage' {
1592
1003
  /**
1593
1004
  * The full account information for a particular account ID.
1594
1005
  **/
1595
- account: AugmentedQuery<
1596
- ApiType,
1597
- (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>,
1598
- [AccountId32]
1599
- >;
1006
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]>;
1600
1007
  /**
1601
1008
  * `Some` if a code upgrade has been authorized.
1602
1009
  **/
1603
- authorizedUpgrade: AugmentedQuery<
1604
- ApiType,
1605
- () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>,
1606
- []
1607
- >;
1010
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []>;
1608
1011
  /**
1609
1012
  * Map of block numbers to block hashes.
1610
1013
  **/
1611
- blockHash: AugmentedQuery<
1612
- ApiType,
1613
- (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
1614
- [u32]
1615
- >;
1014
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
1616
1015
  /**
1617
1016
  * Total size (in bytes) of the current block.
1618
- *
1017
+ *
1619
1018
  * Tracks the size of the header and all extrinsics.
1620
1019
  **/
1621
1020
  blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
@@ -1626,11 +1025,7 @@ declare module '@polkadot/api-base/types/storage' {
1626
1025
  /**
1627
1026
  * The current weight for the block.
1628
1027
  **/
1629
- blockWeight: AugmentedQuery<
1630
- ApiType,
1631
- () => Observable<FrameSupportDispatchPerDispatchClassWeight>,
1632
- []
1633
- >;
1028
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []>;
1634
1029
  /**
1635
1030
  * Digest of the current block, also part of the block header.
1636
1031
  **/
@@ -1641,10 +1036,10 @@ declare module '@polkadot/api-base/types/storage' {
1641
1036
  eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1642
1037
  /**
1643
1038
  * Events deposited for the current block.
1644
- *
1039
+ *
1645
1040
  * NOTE: The item is unbound and should therefore never be read on chain.
1646
1041
  * It could otherwise inflate the PoV size of a block.
1647
- *
1042
+ *
1648
1043
  * Events have a large in-memory size. Box the events to not go out-of-memory
1649
1044
  * just in case someone still reads them from within the runtime.
1650
1045
  **/
@@ -1652,20 +1047,16 @@ declare module '@polkadot/api-base/types/storage' {
1652
1047
  /**
1653
1048
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
1654
1049
  * of events in the `<Events<T>>` list.
1655
- *
1050
+ *
1656
1051
  * All topic vectors have deterministic storage locations depending on the topic. This
1657
1052
  * allows light-clients to leverage the changes trie storage tracking mechanism and
1658
1053
  * in case of changes fetch the list of events of interest.
1659
- *
1054
+ *
1660
1055
  * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1661
1056
  * the `EventIndex` then in case if the topic has the same contents on the next block
1662
1057
  * no notification will be triggered thus the event might be lost.
1663
1058
  **/
1664
- eventTopics: AugmentedQuery<
1665
- ApiType,
1666
- (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>,
1667
- [H256]
1668
- >;
1059
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]>;
1669
1060
  /**
1670
1061
  * The execution phase of the block.
1671
1062
  **/
@@ -1677,25 +1068,17 @@ declare module '@polkadot/api-base/types/storage' {
1677
1068
  /**
1678
1069
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
1679
1070
  **/
1680
- extrinsicData: AugmentedQuery<
1681
- ApiType,
1682
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>,
1683
- [u32]
1684
- >;
1071
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]>;
1685
1072
  /**
1686
1073
  * The weight reclaimed for the extrinsic.
1687
- *
1074
+ *
1688
1075
  * This information is available until the end of the extrinsic execution.
1689
1076
  * More precisely this information is removed in `note_applied_extrinsic`.
1690
- *
1077
+ *
1691
1078
  * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
1692
1079
  * reduction.
1693
1080
  **/
1694
- extrinsicWeightReclaimed: AugmentedQuery<
1695
- ApiType,
1696
- () => Observable<SpWeightsWeightV2Weight>,
1697
- []
1698
- >;
1081
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []>;
1699
1082
  /**
1700
1083
  * Whether all inherents have been applied.
1701
1084
  **/
@@ -1703,11 +1086,7 @@ declare module '@polkadot/api-base/types/storage' {
1703
1086
  /**
1704
1087
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1705
1088
  **/
1706
- lastRuntimeUpgrade: AugmentedQuery<
1707
- ApiType,
1708
- () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>,
1709
- []
1710
- >;
1089
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []>;
1711
1090
  /**
1712
1091
  * The current block number being processed. Set by `execute_block`.
1713
1092
  **/
@@ -1735,16 +1114,12 @@ declare module '@polkadot/api-base/types/storage' {
1735
1114
  * Blocks from the last 100 ticks. Trimmed in on_initialize.
1736
1115
  * NOTE: cannot include the current block hash until next block
1737
1116
  **/
1738
- recentBlocksAtTicks: AugmentedQuery<
1739
- ApiType,
1740
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>,
1741
- [u64]
1742
- >;
1117
+ recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
1743
1118
  };
1744
1119
  timestamp: {
1745
1120
  /**
1746
1121
  * Whether the timestamp has been updated in this block.
1747
- *
1122
+ *
1748
1123
  * This value is updated to `true` upon successful submission of a timestamp by a node.
1749
1124
  * It is then checked at the end of each block execution in the `on_finalize` hook.
1750
1125
  **/
@@ -1756,116 +1131,81 @@ declare module '@polkadot/api-base/types/storage' {
1756
1131
  };
1757
1132
  transactionPayment: {
1758
1133
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1759
- storageVersion: AugmentedQuery<
1760
- ApiType,
1761
- () => Observable<PalletTransactionPaymentReleases>,
1762
- []
1763
- >;
1134
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []>;
1764
1135
  /**
1765
1136
  * The `OnChargeTransaction` stores the withdrawn tx fee here.
1766
- *
1137
+ *
1767
1138
  * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
1768
1139
  **/
1769
- txPaymentCredit: AugmentedQuery<
1770
- ApiType,
1771
- () => Observable<Option<FrameSupportTokensFungibleImbalance>>,
1772
- []
1773
- >;
1140
+ txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
1774
1141
  };
1775
1142
  treasury: {
1776
1143
  /**
1777
1144
  * The active Argonot set keeps the smallest bond amount first, then lower ids first when
1778
1145
  * amounts tie.
1779
1146
  **/
1780
- argonotBondLots: AugmentedQuery<
1781
- ApiType,
1782
- () => Observable<Vec<PalletTreasuryBondLotSummary>>,
1783
- []
1784
- >;
1147
+ argonotBondLots: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryBondLotSummary>>, []>;
1148
+ /**
1149
+ * Accounts due for collateral settlement, ordered by retry block and owner. Each pending
1150
+ * account has one entry; failures move to the next block without blocking other owners.
1151
+ **/
1152
+ bondCollateralSettlementQueue: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32 | { ascendingRank?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>;
1785
1153
  /**
1786
1154
  * The stored state for each bond lot.
1787
1155
  **/
1788
- bondLotById: AugmentedQuery<
1789
- ApiType,
1790
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>,
1791
- [u64]
1792
- >;
1156
+ bondLotById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryBondLot>>, [u64]>;
1793
1157
  /**
1794
1158
  * The bond lot ids that belong to an account.
1795
1159
  **/
1796
- bondLotIdsByAccount: AugmentedQuery<
1797
- ApiType,
1798
- (
1799
- arg1: AccountId32 | string | Uint8Array,
1800
- arg2: u64 | AnyNumber | Uint8Array,
1801
- ) => Observable<Option<Null>>,
1802
- [AccountId32, u64]
1803
- >;
1160
+ bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
1804
1161
  /**
1805
1162
  * Live Argon bond lot ids associated with a vault, including lots awaiting release. Direct
1806
1163
  * frame payouts iterate this admission-bounded index.
1807
1164
  **/
1808
- bondLotIdsByVault: AugmentedQuery<
1809
- ApiType,
1810
- (
1811
- arg1: u32 | AnyNumber | Uint8Array,
1812
- arg2: u64 | AnyNumber | Uint8Array,
1813
- ) => Observable<Option<Null>>,
1814
- [u32, u64]
1815
- >;
1165
+ bondLotIdsByVault: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
1816
1166
  /**
1817
1167
  * The active bond state for a vault.
1818
- *
1168
+ *
1819
1169
  * Admission totals and flexible displacement; individual lots live in `BondLotById`.
1820
1170
  **/
1821
- bondLotsByVault: AugmentedQuery<
1822
- ApiType,
1823
- (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>,
1824
- [u32]
1825
- >;
1171
+ bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>, [u32]>;
1826
1172
  /**
1827
1173
  * The Argonot bond participants locked for the current frame.
1828
- *
1174
+ *
1829
1175
  * Payout uses this to see which Argonot bond lots are participating in the frame.
1830
1176
  **/
1831
- currentFrameArgonotBondParticipants: AugmentedQuery<
1832
- ApiType,
1833
- () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>,
1834
- []
1835
- >;
1177
+ currentFrameArgonotBondParticipants: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>, []>;
1178
+ /**
1179
+ * Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
1180
+ **/
1181
+ currentFrameVaultBitcoin: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameVaultBitcoin>>, []>;
1836
1182
  /**
1837
1183
  * The network bond total and vault capital locked for the current frame's payout.
1838
1184
  **/
1839
- currentFrameVaultCapital: AugmentedQuery<
1840
- ApiType,
1841
- () => Observable<Option<PalletTreasuryFrameVaultCapital>>,
1842
- []
1843
- >;
1185
+ currentFrameVaultCapital: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameVaultCapital>>, []>;
1844
1186
  /**
1845
1187
  * Exact treasury bond backing reserved for crosschain minting authorities by account.
1846
- *
1188
+ *
1847
1189
  * This is an exact microgon claim, not a mirror of the account's active whole-bond lots.
1848
1190
  * Bond lots stay coarse because participation only moves in whole bonds, while encumbrance can
1849
1191
  * remain fractional after a burn. The key invariant is that the non-releasing held balance
1850
1192
  * always covers this amount.
1851
1193
  **/
1852
- encumberedBondMicrogonsByAccount: AugmentedQuery<
1853
- ApiType,
1854
- (arg: AccountId32 | string | Uint8Array) => Observable<u128>,
1855
- [AccountId32]
1856
- >;
1857
- lastBonusApprovalNonceByVaultAndAccount: AugmentedQuery<
1858
- ApiType,
1859
- (
1860
- arg1: u32 | AnyNumber | Uint8Array,
1861
- arg2: AccountId32 | string | Uint8Array,
1862
- ) => Observable<Option<u64>>,
1863
- [u32, AccountId32]
1864
- >;
1194
+ encumberedBondMicrogonsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]>;
1195
+ lastBonusApprovalNonceByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [u32, AccountId32]>;
1865
1196
  /**
1866
1197
  * The next bond lot id.
1867
1198
  **/
1868
1199
  nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1200
+ /**
1201
+ * Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
1202
+ **/
1203
+ outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1204
+ /**
1205
+ * Burn and release requests awaiting settlement, combined by owner. Both amounts remain
1206
+ * included in the owner's encumbrance until processed; bonds retain their live payout terms.
1207
+ **/
1208
+ pendingBondCollateralByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryPendingBondCollateral>>, [AccountId32]>;
1869
1209
  /**
1870
1210
  * The oldest frame that still has bond lots to retry releasing.
1871
1211
  **/
@@ -1873,11 +1213,11 @@ declare module '@polkadot/api-base/types/storage' {
1873
1213
  /**
1874
1214
  * Bond lots to release at the given frame.
1875
1215
  **/
1876
- pendingBondReleasesByFrame: AugmentedQuery<
1877
- ApiType,
1878
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1879
- [u64]
1880
- >;
1216
+ pendingBondReleasesByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
1217
+ /**
1218
+ * ARGON removed from circulation and available for future issuance as rewards.
1219
+ **/
1220
+ rewardReserves: AugmentedQuery<ApiType, () => Observable<PalletTreasuryRewardReserveBalances>, []>;
1881
1221
  /**
1882
1222
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1883
1223
  **/
@@ -1895,96 +1235,51 @@ declare module '@polkadot/api-base/types/storage' {
1895
1235
  };
1896
1236
  treasuryPositions: {
1897
1237
  /**
1898
- * Maintained network quantities, updated together with their account contributions.
1899
- * Treasury reads these when freezing frame inputs. This replaces its live Argonot stake total.
1238
+ * Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
1239
+ * Treasury freezes these network quantities at each frame boundary.
1900
1240
  **/
1901
- networkTotals: AugmentedQuery<
1902
- ApiType,
1903
- () => Observable<ArgonPrimitivesTreasuryPositionQuantities>,
1904
- []
1905
- >;
1241
+ networkTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>, []>;
1906
1242
  /**
1907
1243
  * Maintained source quantities keyed by the actual position owner. Upstream quantities belong
1908
1244
  * to the linked vault account; primary and mining account balances are separate owners.
1909
1245
  **/
1910
- positionsByAccount: AugmentedQuery<
1911
- ApiType,
1912
- (
1913
- arg: AccountId32 | string | Uint8Array,
1914
- ) => Observable<Option<PalletTreasuryPositionsPosition>>,
1915
- [AccountId32]
1916
- >;
1246
+ positionsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryPositionsPosition>>, [AccountId32]>;
1917
1247
  };
1918
1248
  txPause: {
1919
1249
  /**
1920
1250
  * The set of calls that are explicitly paused.
1921
1251
  **/
1922
- pausedCalls: AugmentedQuery<
1923
- ApiType,
1924
- (
1925
- arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
1926
- ) => Observable<Option<Null>>,
1927
- [ITuple<[Bytes, Bytes]>]
1928
- >;
1252
+ pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]>;
1929
1253
  };
1930
1254
  vaults: {
1931
1255
  /**
1932
1256
  * Argonots held for the vault, with reward commitments and cross-chain encumbrances.
1933
1257
  **/
1934
- argonotSecuritizationByVaultId: AugmentedQuery<
1935
- ApiType,
1936
- (
1937
- arg: u32 | AnyNumber | Uint8Array,
1938
- ) => Observable<Option<ArgonPrimitivesVaultVaultArgonotSecuritization>>,
1939
- [u32]
1940
- >;
1258
+ argonotSecuritizationByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultVaultArgonotSecuritization>>, [u32]>;
1941
1259
  /**
1942
1260
  * The last collect frame of each vault
1943
1261
  **/
1944
- lastCollectFrameByVaultId: AugmentedQuery<
1945
- ApiType,
1946
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>,
1947
- [u32]
1948
- >;
1262
+ lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
1949
1263
  nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1950
1264
  /**
1951
1265
  * Orphaned Bitcoin Utxos pending cosign by vault id
1952
1266
  **/
1953
- orphanedUtxoAccountsByVaultId: AugmentedQuery<
1954
- ApiType,
1955
- (
1956
- arg1: u32 | AnyNumber | Uint8Array,
1957
- arg2: AccountId32 | string | Uint8Array,
1958
- ) => Observable<u32>,
1959
- [u32, AccountId32]
1960
- >;
1267
+ orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
1961
1268
  /**
1962
1269
  * Bitcoin Locks pending cosign by vault id
1963
1270
  **/
1964
- pendingCosignByVaultId: AugmentedQuery<
1965
- ApiType,
1966
- (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
1967
- [u32]
1968
- >;
1271
+ pendingCosignByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u32]>;
1969
1272
  /**
1970
1273
  * Pending terms that will be committed at the given block number (must be a minimum of 1
1971
1274
  * frame change away)
1972
1275
  **/
1973
- pendingTermsModificationsByTick: AugmentedQuery<
1974
- ApiType,
1975
- (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>,
1976
- [u64]
1977
- >;
1276
+ pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
1978
1277
  /**
1979
1278
  * Tracks revenue from Bitcoin Locks and Treasury Pools for the trailing frames for each vault
1980
1279
  * (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the
1981
1280
  * collect expiration window (`RevenueCollectionExpirationFrames`).
1982
1281
  **/
1983
- revenuePerFrameByVault: AugmentedQuery<
1984
- ApiType,
1985
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>,
1986
- [u32]
1987
- >;
1282
+ revenuePerFrameByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>, [u32]>;
1988
1283
  revenuePerFrameByVaultCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1989
1284
  /**
1990
1285
  * Raw securitization across all open vaults, including those below the payout cutoff.
@@ -1993,51 +1288,23 @@ declare module '@polkadot/api-base/types/storage' {
1993
1288
  /**
1994
1289
  * The vaults that have funds releasing at a given bitcoin height
1995
1290
  **/
1996
- vaultFundsReleasingByHeight: AugmentedQuery<
1997
- ApiType,
1998
- (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>,
1999
- [u64]
2000
- >;
1291
+ vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
2001
1292
  /**
2002
1293
  * Vaults by owner
2003
1294
  **/
2004
- vaultIdByOperator: AugmentedQuery<
2005
- ApiType,
2006
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>,
2007
- [AccountId32]
2008
- >;
1295
+ vaultIdByOperator: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]>;
2009
1296
  /**
2010
1297
  * Vaults by id
2011
1298
  **/
2012
- vaultsById: AugmentedQuery<
2013
- ApiType,
2014
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>,
2015
- [u32]
2016
- >;
1299
+ vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [u32]>;
2017
1300
  /**
2018
1301
  * Open vaults ordered by raw securitization (largest first), then vault ID.
2019
1302
  **/
2020
- vaultSecuritizationRanks: AugmentedQuery<
2021
- ApiType,
2022
- (
2023
- arg:
2024
- | ArgonPrimitivesAmountRankAmountRankKey
2025
- | { descendingAmount?: any; orderedId?: any }
2026
- | string
2027
- | Uint8Array,
2028
- ) => Observable<Option<Null>>,
2029
- [ArgonPrimitivesAmountRankAmountRankKey]
2030
- >;
1303
+ vaultSecuritizationRanks: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAmountRankKeyU32 | { descendingAmount?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAmountRankKeyU32]>;
2031
1304
  /**
2032
1305
  * Vault Bitcoin Xpub and current child counter by VaultId
2033
1306
  **/
2034
- vaultXPubById: AugmentedQuery<
2035
- ApiType,
2036
- (
2037
- arg: u32 | AnyNumber | Uint8Array,
2038
- ) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>,
2039
- [u32]
2040
- >;
1307
+ vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [u32]>;
2041
1308
  };
2042
1309
  } // AugmentedQueries
2043
1310
  } // declare module