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