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