@polkadot/api-augment 7.0.3-1 → 7.0.3-13
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/base.cjs +5 -0
- package/base.d.ts +2 -0
- package/{augment/index.js → base.js} +1 -7
- package/bundle.cjs +1 -1
- package/bundle.d.ts +1 -1
- package/bundle.js +1 -1
- package/{augment → kusama}/consts.cjs +0 -0
- package/kusama/consts.d.ts +892 -0
- package/{augment → kusama}/consts.js +0 -0
- package/{augment → kusama}/errors.cjs +0 -0
- package/kusama/errors.d.ts +1855 -0
- package/{augment → kusama}/errors.js +0 -0
- package/{augment → kusama}/events.cjs +0 -0
- package/kusama/events.d.ts +1278 -0
- package/{augment → kusama}/events.js +0 -0
- package/{augment → kusama}/index.cjs +1 -3
- package/{augment → kusama}/index.d.ts +1 -2
- package/kusama/index.js +8 -0
- package/{augment → kusama}/query.cjs +0 -0
- package/kusama/query.d.ts +1925 -0
- package/{augment → kusama}/query.js +0 -0
- package/{augment → kusama}/tx.cjs +0 -0
- package/kusama/tx.d.ts +4877 -0
- package/{augment → kusama}/tx.js +0 -0
- package/package.json +104 -40
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/polkadot/consts.cjs +1 -0
- package/polkadot/consts.d.ts +764 -0
- package/polkadot/consts.js +1 -0
- package/polkadot/errors.cjs +1 -0
- package/polkadot/errors.d.ts +1634 -0
- package/polkadot/errors.js +1 -0
- package/polkadot/events.cjs +1 -0
- package/polkadot/events.d.ts +1126 -0
- package/polkadot/events.js +1 -0
- package/polkadot/index.cjs +13 -0
- package/polkadot/index.d.ts +6 -0
- package/polkadot/index.js +8 -0
- package/polkadot/query.cjs +1 -0
- package/polkadot/query.d.ts +1770 -0
- package/polkadot/query.js +1 -0
- package/polkadot/tx.cjs +1 -0
- package/polkadot/tx.d.ts +4275 -0
- package/polkadot/tx.js +1 -0
- package/substrate/consts.cjs +1 -0
- package/{augment → substrate}/consts.d.ts +0 -0
- package/substrate/consts.js +1 -0
- package/substrate/errors.cjs +1 -0
- package/{augment → substrate}/errors.d.ts +0 -0
- package/substrate/errors.js +1 -0
- package/substrate/events.cjs +1 -0
- package/{augment → substrate}/events.d.ts +0 -0
- package/substrate/events.js +1 -0
- package/substrate/index.cjs +13 -0
- package/substrate/index.d.ts +6 -0
- package/substrate/index.js +8 -0
- package/substrate/query.cjs +1 -0
- package/{augment → substrate}/query.d.ts +0 -0
- package/substrate/query.js +1 -0
- package/substrate/tx.cjs +1 -0
- package/{augment → substrate}/tx.d.ts +0 -0
- package/substrate/tx.js +1 -0
|
@@ -0,0 +1,1925 @@
|
|
|
1
|
+
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
|
+
import type { Data } from '@polkadot/types';
|
|
3
|
+
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
+
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
+
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
+
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1SessionInfo, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
+
import type { Observable } from '@polkadot/types/types';
|
|
9
|
+
declare module '@polkadot/api-base/types/storage' {
|
|
10
|
+
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
11
|
+
auctions: {
|
|
12
|
+
/**
|
|
13
|
+
* Number of auctions started so far.
|
|
14
|
+
**/
|
|
15
|
+
auctionCounter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
16
|
+
/**
|
|
17
|
+
* Information relating to the current auction, if there is one.
|
|
18
|
+
*
|
|
19
|
+
* The first item in the tuple is the lease period index that the first of the four
|
|
20
|
+
* contiguous lease periods on auction is for. The second is the block number when the
|
|
21
|
+
* auction will "begin to end", i.e. the first block of the Ending Period of the auction.
|
|
22
|
+
**/
|
|
23
|
+
auctionInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
24
|
+
/**
|
|
25
|
+
* Amounts currently reserved in the accounts of the bidders currently winning
|
|
26
|
+
* (sub-)ranges.
|
|
27
|
+
**/
|
|
28
|
+
reservedAmounts: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<u128>>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
|
29
|
+
/**
|
|
30
|
+
* The winning bids for each of the 10 ranges at each sample in the final Ending Period of
|
|
31
|
+
* the current auction. The map's key is the 0-based index into the Sample Size. The
|
|
32
|
+
* first sample of the ending period is 0; the last is `Sample Size - 1`.
|
|
33
|
+
**/
|
|
34
|
+
winning: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<Option<ITuple<[AccountId32, u32, u128]>>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
35
|
+
/**
|
|
36
|
+
* Generic query
|
|
37
|
+
**/
|
|
38
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
39
|
+
};
|
|
40
|
+
authorship: {
|
|
41
|
+
/**
|
|
42
|
+
* Author of current block.
|
|
43
|
+
**/
|
|
44
|
+
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
45
|
+
/**
|
|
46
|
+
* Whether uncles were already set in this block.
|
|
47
|
+
**/
|
|
48
|
+
didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
49
|
+
/**
|
|
50
|
+
* Uncles
|
|
51
|
+
**/
|
|
52
|
+
uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
53
|
+
/**
|
|
54
|
+
* Generic query
|
|
55
|
+
**/
|
|
56
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
57
|
+
};
|
|
58
|
+
babe: {
|
|
59
|
+
/**
|
|
60
|
+
* Current epoch authorities.
|
|
61
|
+
**/
|
|
62
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
63
|
+
/**
|
|
64
|
+
* This field should always be populated during block processing unless
|
|
65
|
+
* secondary plain slots are enabled (which don't contain a VRF output).
|
|
66
|
+
*
|
|
67
|
+
* It is set in `on_initialize`, before it will contain the value from the last block.
|
|
68
|
+
**/
|
|
69
|
+
authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
70
|
+
/**
|
|
71
|
+
* Current slot number.
|
|
72
|
+
**/
|
|
73
|
+
currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
74
|
+
/**
|
|
75
|
+
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
76
|
+
* genesis.
|
|
77
|
+
**/
|
|
78
|
+
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
79
|
+
/**
|
|
80
|
+
* Current epoch index.
|
|
81
|
+
**/
|
|
82
|
+
epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
83
|
+
/**
|
|
84
|
+
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
85
|
+
* `N`.
|
|
86
|
+
* NOTE: We track this is in order to annotate the block number when a given pool of
|
|
87
|
+
* entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
|
|
88
|
+
* slots, which may be skipped, the block numbers may not line up with the slot numbers.
|
|
89
|
+
**/
|
|
90
|
+
epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
91
|
+
/**
|
|
92
|
+
* The slot at which the first epoch actually started. This is 0
|
|
93
|
+
* until the first block of the chain.
|
|
94
|
+
**/
|
|
95
|
+
genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
96
|
+
/**
|
|
97
|
+
* Temporary value (cleared at block finalization) which is `Some`
|
|
98
|
+
* if per-block initialization has already been called for current block.
|
|
99
|
+
**/
|
|
100
|
+
initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
101
|
+
/**
|
|
102
|
+
* How late the current block is compared to its parent.
|
|
103
|
+
*
|
|
104
|
+
* This entry is populated as part of block execution and is cleaned up
|
|
105
|
+
* on block finalization. Querying this storage entry outside of block
|
|
106
|
+
* execution context should always yield zero.
|
|
107
|
+
**/
|
|
108
|
+
lateness: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
109
|
+
/**
|
|
110
|
+
* Next epoch authorities.
|
|
111
|
+
**/
|
|
112
|
+
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
113
|
+
/**
|
|
114
|
+
* The configuration for the next epoch, `None` if the config will not change
|
|
115
|
+
* (you can fallback to `EpochConfig` instead in that case).
|
|
116
|
+
**/
|
|
117
|
+
nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
118
|
+
/**
|
|
119
|
+
* Next epoch randomness.
|
|
120
|
+
**/
|
|
121
|
+
nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
122
|
+
/**
|
|
123
|
+
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
124
|
+
**/
|
|
125
|
+
pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
126
|
+
/**
|
|
127
|
+
* The epoch randomness for the *current* epoch.
|
|
128
|
+
*
|
|
129
|
+
* # Security
|
|
130
|
+
*
|
|
131
|
+
* This MUST NOT be used for gambling, as it can be influenced by a
|
|
132
|
+
* malicious validator in the short term. It MAY be used in many
|
|
133
|
+
* cryptographic protocols, however, so long as one remembers that this
|
|
134
|
+
* (like everything else on-chain) it is public. For example, it can be
|
|
135
|
+
* used where a number is needed that cannot have been chosen by an
|
|
136
|
+
* adversary, for purposes such as public-coin zero-knowledge proofs.
|
|
137
|
+
**/
|
|
138
|
+
randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
139
|
+
/**
|
|
140
|
+
* Randomness under construction.
|
|
141
|
+
*
|
|
142
|
+
* We make a trade-off between storage accesses and list length.
|
|
143
|
+
* We store the under-construction randomness in segments of up to
|
|
144
|
+
* `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
|
|
145
|
+
*
|
|
146
|
+
* Once a segment reaches this length, we begin the next one.
|
|
147
|
+
* We reset all segments and return to `0` at the beginning of every
|
|
148
|
+
* epoch.
|
|
149
|
+
**/
|
|
150
|
+
segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
151
|
+
/**
|
|
152
|
+
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
153
|
+
**/
|
|
154
|
+
underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
155
|
+
/**
|
|
156
|
+
* Generic query
|
|
157
|
+
**/
|
|
158
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
159
|
+
};
|
|
160
|
+
bagsList: {
|
|
161
|
+
/**
|
|
162
|
+
* Counter for the related counted storage map
|
|
163
|
+
**/
|
|
164
|
+
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
165
|
+
/**
|
|
166
|
+
* A bag stored in storage.
|
|
167
|
+
*
|
|
168
|
+
* Stores a `Bag` struct, which stores head and tail pointers to itself.
|
|
169
|
+
**/
|
|
170
|
+
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
171
|
+
/**
|
|
172
|
+
* A single node, within some bag.
|
|
173
|
+
*
|
|
174
|
+
* Nodes store links forward and back within their respective bags.
|
|
175
|
+
**/
|
|
176
|
+
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
177
|
+
/**
|
|
178
|
+
* Generic query
|
|
179
|
+
**/
|
|
180
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
181
|
+
};
|
|
182
|
+
balances: {
|
|
183
|
+
/**
|
|
184
|
+
* The balance of an account.
|
|
185
|
+
*
|
|
186
|
+
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
187
|
+
**/
|
|
188
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
189
|
+
/**
|
|
190
|
+
* Any liquidity locks on some account balances.
|
|
191
|
+
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
192
|
+
**/
|
|
193
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
194
|
+
/**
|
|
195
|
+
* Named reserves on some account balances.
|
|
196
|
+
**/
|
|
197
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
198
|
+
/**
|
|
199
|
+
* Storage version of the pallet.
|
|
200
|
+
*
|
|
201
|
+
* This is set to v2.0.0 for new networks.
|
|
202
|
+
**/
|
|
203
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
204
|
+
/**
|
|
205
|
+
* The total units issued in the system.
|
|
206
|
+
**/
|
|
207
|
+
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
208
|
+
/**
|
|
209
|
+
* Generic query
|
|
210
|
+
**/
|
|
211
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
212
|
+
};
|
|
213
|
+
bounties: {
|
|
214
|
+
/**
|
|
215
|
+
* Bounties that have been made.
|
|
216
|
+
**/
|
|
217
|
+
bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
218
|
+
/**
|
|
219
|
+
* Bounty indices that have been approved but not yet funded.
|
|
220
|
+
**/
|
|
221
|
+
bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
222
|
+
/**
|
|
223
|
+
* Number of bounty proposals that have been made.
|
|
224
|
+
**/
|
|
225
|
+
bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
226
|
+
/**
|
|
227
|
+
* The description of each bounty.
|
|
228
|
+
**/
|
|
229
|
+
bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
230
|
+
/**
|
|
231
|
+
* Generic query
|
|
232
|
+
**/
|
|
233
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
234
|
+
};
|
|
235
|
+
claims: {
|
|
236
|
+
claims: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<u128>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
|
|
237
|
+
/**
|
|
238
|
+
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
|
239
|
+
**/
|
|
240
|
+
preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<EthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
241
|
+
/**
|
|
242
|
+
* The statement kind that must be signed, if any.
|
|
243
|
+
**/
|
|
244
|
+
signing: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<PolkadotRuntimeCommonClaimsStatementKind>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
|
|
245
|
+
total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
246
|
+
/**
|
|
247
|
+
* Vesting schedule for a claim.
|
|
248
|
+
* First balance is the total amount that should be held for vesting.
|
|
249
|
+
* Second balance is how much should be unlocked per block.
|
|
250
|
+
* The block number is when the vesting should start.
|
|
251
|
+
**/
|
|
252
|
+
vesting: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<ITuple<[u128, u128, u32]>>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
|
|
253
|
+
/**
|
|
254
|
+
* Generic query
|
|
255
|
+
**/
|
|
256
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
257
|
+
};
|
|
258
|
+
configuration: {
|
|
259
|
+
/**
|
|
260
|
+
* The active configuration for the current session.
|
|
261
|
+
**/
|
|
262
|
+
activeConfig: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsConfigurationHostConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
|
|
263
|
+
/**
|
|
264
|
+
* Pending configuration (if any) for the next session.
|
|
265
|
+
*
|
|
266
|
+
* DEPRECATED: This is no longer used, and will be removed in the future.
|
|
267
|
+
**/
|
|
268
|
+
pendingConfig: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
269
|
+
/**
|
|
270
|
+
* Pending configuration changes.
|
|
271
|
+
*
|
|
272
|
+
* This is a list of configuration changes, each with a session index at which it should
|
|
273
|
+
* be applied.
|
|
274
|
+
*
|
|
275
|
+
* The list is sorted ascending by session index. Also, this list can only contain at most
|
|
276
|
+
* 2 items: for the next session and for the `scheduled_session`.
|
|
277
|
+
**/
|
|
278
|
+
pendingConfigs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
279
|
+
/**
|
|
280
|
+
* Generic query
|
|
281
|
+
**/
|
|
282
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
283
|
+
};
|
|
284
|
+
council: {
|
|
285
|
+
/**
|
|
286
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
287
|
+
**/
|
|
288
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
289
|
+
/**
|
|
290
|
+
* The prime member that helps determine the default vote behavior in case of absentations.
|
|
291
|
+
**/
|
|
292
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
293
|
+
/**
|
|
294
|
+
* Proposals so far.
|
|
295
|
+
**/
|
|
296
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
297
|
+
/**
|
|
298
|
+
* Actual proposal for a given hash, if it's current.
|
|
299
|
+
**/
|
|
300
|
+
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
301
|
+
/**
|
|
302
|
+
* The hashes of the active proposals.
|
|
303
|
+
**/
|
|
304
|
+
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
305
|
+
/**
|
|
306
|
+
* Votes on a given proposal, if it is ongoing.
|
|
307
|
+
**/
|
|
308
|
+
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
309
|
+
/**
|
|
310
|
+
* Generic query
|
|
311
|
+
**/
|
|
312
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
313
|
+
};
|
|
314
|
+
crowdloan: {
|
|
315
|
+
/**
|
|
316
|
+
* The number of auctions that have entered into their ending period so far.
|
|
317
|
+
**/
|
|
318
|
+
endingsCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
319
|
+
/**
|
|
320
|
+
* Info on all of the funds.
|
|
321
|
+
**/
|
|
322
|
+
funds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonCrowdloanFundInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
323
|
+
/**
|
|
324
|
+
* The funds that have had additional contributions during the last block. This is used
|
|
325
|
+
* in order to determine which funds should submit new or updated bids.
|
|
326
|
+
**/
|
|
327
|
+
newRaise: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
328
|
+
/**
|
|
329
|
+
* Tracker for the next available trie index
|
|
330
|
+
**/
|
|
331
|
+
nextTrieIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
332
|
+
/**
|
|
333
|
+
* Generic query
|
|
334
|
+
**/
|
|
335
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
336
|
+
};
|
|
337
|
+
democracy: {
|
|
338
|
+
/**
|
|
339
|
+
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
340
|
+
* (until when it may not be resubmitted) and who vetoed it.
|
|
341
|
+
**/
|
|
342
|
+
blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
343
|
+
/**
|
|
344
|
+
* Record of all proposals that have been subject to emergency cancellation.
|
|
345
|
+
**/
|
|
346
|
+
cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
347
|
+
/**
|
|
348
|
+
* Those who have locked a deposit.
|
|
349
|
+
*
|
|
350
|
+
* TWOX-NOTE: Safe, as increasing integer keys are safe.
|
|
351
|
+
**/
|
|
352
|
+
depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
353
|
+
/**
|
|
354
|
+
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
355
|
+
* proposal.
|
|
356
|
+
**/
|
|
357
|
+
lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
358
|
+
/**
|
|
359
|
+
* Accounts for which there are locks in action which may be removed at some point in the
|
|
360
|
+
* future. The value is the block number at which the lock expires and may be removed.
|
|
361
|
+
*
|
|
362
|
+
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
363
|
+
**/
|
|
364
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
365
|
+
/**
|
|
366
|
+
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
367
|
+
* `ReferendumCount` if there isn't a unbaked referendum.
|
|
368
|
+
**/
|
|
369
|
+
lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
370
|
+
/**
|
|
371
|
+
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
372
|
+
* This happens when a referendum needs to be tabled and one of two conditions are met:
|
|
373
|
+
* - `LastTabledWasExternal` is `false`; or
|
|
374
|
+
* - `PublicProps` is empty.
|
|
375
|
+
**/
|
|
376
|
+
nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
377
|
+
/**
|
|
378
|
+
* Map of hashes to the proposal preimage, along with who registered it and their deposit.
|
|
379
|
+
* The block number is the block at which it was deposited.
|
|
380
|
+
**/
|
|
381
|
+
preimages: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDemocracyPreimageStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
382
|
+
/**
|
|
383
|
+
* The number of (public) proposals that have been made so far.
|
|
384
|
+
**/
|
|
385
|
+
publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
386
|
+
/**
|
|
387
|
+
* The public proposals. Unsorted. The second item is the proposal's hash.
|
|
388
|
+
**/
|
|
389
|
+
publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, H256, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
390
|
+
/**
|
|
391
|
+
* The next free referendum index, aka the number of referenda started so far.
|
|
392
|
+
**/
|
|
393
|
+
referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
394
|
+
/**
|
|
395
|
+
* Information concerning any given referendum.
|
|
396
|
+
*
|
|
397
|
+
* TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
|
|
398
|
+
**/
|
|
399
|
+
referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
400
|
+
/**
|
|
401
|
+
* Storage version of the pallet.
|
|
402
|
+
*
|
|
403
|
+
* New networks start with last version.
|
|
404
|
+
**/
|
|
405
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<Option<PalletDemocracyReleases>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
406
|
+
/**
|
|
407
|
+
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
408
|
+
* have recorded. The second item is the total amount of delegations, that will be added.
|
|
409
|
+
*
|
|
410
|
+
* TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
|
|
411
|
+
**/
|
|
412
|
+
votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
413
|
+
/**
|
|
414
|
+
* Generic query
|
|
415
|
+
**/
|
|
416
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
417
|
+
};
|
|
418
|
+
dmp: {
|
|
419
|
+
/**
|
|
420
|
+
* A mapping that stores the downward message queue MQC head for each para.
|
|
421
|
+
*
|
|
422
|
+
* Each link in this chain has a form:
|
|
423
|
+
* `(prev_head, B, H(M))`, where
|
|
424
|
+
* - `prev_head`: is the previous head hash or zero if none.
|
|
425
|
+
* - `B`: is the relay-chain block number in which a message was appended.
|
|
426
|
+
* - `H(M)`: is the hash of the message being appended.
|
|
427
|
+
**/
|
|
428
|
+
downwardMessageQueueHeads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
429
|
+
/**
|
|
430
|
+
* The downward messages addressed for a certain para.
|
|
431
|
+
**/
|
|
432
|
+
downwardMessageQueues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundDownwardMessage>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
433
|
+
/**
|
|
434
|
+
* Generic query
|
|
435
|
+
**/
|
|
436
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
437
|
+
};
|
|
438
|
+
electionProviderMultiPhase: {
|
|
439
|
+
/**
|
|
440
|
+
* Current phase.
|
|
441
|
+
**/
|
|
442
|
+
currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
|
|
443
|
+
/**
|
|
444
|
+
* Desired number of targets to elect for this round.
|
|
445
|
+
*
|
|
446
|
+
* Only exists when [`Snapshot`] is present.
|
|
447
|
+
**/
|
|
448
|
+
desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
449
|
+
/**
|
|
450
|
+
* The minimum score that each 'untrusted' solution must attain in order to be considered
|
|
451
|
+
* feasible.
|
|
452
|
+
*
|
|
453
|
+
* Can be set via `set_minimum_untrusted_score`.
|
|
454
|
+
**/
|
|
455
|
+
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<Vec<u128>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
456
|
+
/**
|
|
457
|
+
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
458
|
+
**/
|
|
459
|
+
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
460
|
+
/**
|
|
461
|
+
* Internal counter for the number of rounds.
|
|
462
|
+
*
|
|
463
|
+
* This is useful for de-duplication of transactions submitted to the pool, and general
|
|
464
|
+
* diagnostics of the pallet.
|
|
465
|
+
*
|
|
466
|
+
* This is merely incremented once per every time that an upstream `elect` is called.
|
|
467
|
+
**/
|
|
468
|
+
round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
469
|
+
/**
|
|
470
|
+
* A sorted, bounded set of `(score, index)`, where each `index` points to a value in
|
|
471
|
+
* `SignedSubmissions`.
|
|
472
|
+
*
|
|
473
|
+
* We never need to process more than a single signed submission at a time. Signed submissions
|
|
474
|
+
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
|
475
|
+
* them one at a time instead of reading and decoding all of them at once.
|
|
476
|
+
**/
|
|
477
|
+
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<Vec<u128>, u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
478
|
+
/**
|
|
479
|
+
* The next index to be assigned to an incoming signed submission.
|
|
480
|
+
*
|
|
481
|
+
* Every accepted submission is assigned a unique index; that index is bound to that particular
|
|
482
|
+
* submission for the duration of the election. On election finalization, the next index is
|
|
483
|
+
* reset to 0.
|
|
484
|
+
*
|
|
485
|
+
* We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
|
|
486
|
+
* capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
|
|
487
|
+
* because iteration is slow. Instead, we store the value here.
|
|
488
|
+
**/
|
|
489
|
+
signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
490
|
+
/**
|
|
491
|
+
* Unchecked, signed solutions.
|
|
492
|
+
*
|
|
493
|
+
* Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
|
|
494
|
+
* allowing us to keep only a single one in memory at a time.
|
|
495
|
+
*
|
|
496
|
+
* Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
|
|
497
|
+
* affect; we shouldn't need a cryptographically secure hasher.
|
|
498
|
+
**/
|
|
499
|
+
signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
500
|
+
/**
|
|
501
|
+
* Snapshot data of the round.
|
|
502
|
+
*
|
|
503
|
+
* This is created at the beginning of the signed phase and cleared upon calling `elect`.
|
|
504
|
+
**/
|
|
505
|
+
snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
506
|
+
/**
|
|
507
|
+
* The metadata of the [`RoundSnapshot`]
|
|
508
|
+
*
|
|
509
|
+
* Only exists when [`Snapshot`] is present.
|
|
510
|
+
**/
|
|
511
|
+
snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
512
|
+
/**
|
|
513
|
+
* Generic query
|
|
514
|
+
**/
|
|
515
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
516
|
+
};
|
|
517
|
+
gilt: {
|
|
518
|
+
/**
|
|
519
|
+
* The currently active gilts, indexed according to the order of creation.
|
|
520
|
+
**/
|
|
521
|
+
active: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletGiltActiveGilt>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
522
|
+
/**
|
|
523
|
+
* Information relating to the gilts currently active.
|
|
524
|
+
**/
|
|
525
|
+
activeTotal: AugmentedQuery<ApiType, () => Observable<PalletGiltActiveGiltsTotal>, []> & QueryableStorageEntry<ApiType, []>;
|
|
526
|
+
/**
|
|
527
|
+
* The queues of bids ready to become gilts. Indexed by duration (in `Period`s).
|
|
528
|
+
**/
|
|
529
|
+
queues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletGiltGiltBid>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
530
|
+
/**
|
|
531
|
+
* The totals of items and balances within each queue. Saves a lot of storage reads in the
|
|
532
|
+
* case of sparsely packed queues.
|
|
533
|
+
*
|
|
534
|
+
* The vector is indexed by duration in `Period`s, offset by one, so information on the queue
|
|
535
|
+
* whose duration is one `Period` would be storage `0`.
|
|
536
|
+
**/
|
|
537
|
+
queueTotals: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
538
|
+
/**
|
|
539
|
+
* Generic query
|
|
540
|
+
**/
|
|
541
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
542
|
+
};
|
|
543
|
+
grandpa: {
|
|
544
|
+
/**
|
|
545
|
+
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
546
|
+
* in the "set" of Grandpa validators from genesis.
|
|
547
|
+
**/
|
|
548
|
+
currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
549
|
+
/**
|
|
550
|
+
* next block number where we can force a change.
|
|
551
|
+
**/
|
|
552
|
+
nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
553
|
+
/**
|
|
554
|
+
* Pending change: (signaled at, scheduled change).
|
|
555
|
+
**/
|
|
556
|
+
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
557
|
+
/**
|
|
558
|
+
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
559
|
+
* members were responsible.
|
|
560
|
+
*
|
|
561
|
+
* TWOX-NOTE: `SetId` is not under user control.
|
|
562
|
+
**/
|
|
563
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
564
|
+
/**
|
|
565
|
+
* `true` if we are currently stalled.
|
|
566
|
+
**/
|
|
567
|
+
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
568
|
+
/**
|
|
569
|
+
* State of the current authority set.
|
|
570
|
+
**/
|
|
571
|
+
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
|
|
572
|
+
/**
|
|
573
|
+
* Generic query
|
|
574
|
+
**/
|
|
575
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
576
|
+
};
|
|
577
|
+
hrmp: {
|
|
578
|
+
/**
|
|
579
|
+
* This mapping tracks how many open channel requests were accepted by a given recipient para.
|
|
580
|
+
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items `(_, X)` with
|
|
581
|
+
* `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`.
|
|
582
|
+
**/
|
|
583
|
+
hrmpAcceptedChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
584
|
+
/**
|
|
585
|
+
* Storage for the messages for each channel.
|
|
586
|
+
* Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`.
|
|
587
|
+
**/
|
|
588
|
+
hrmpChannelContents: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
589
|
+
sender?: any;
|
|
590
|
+
recipient?: any;
|
|
591
|
+
} | string | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundHrmpMessage>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
592
|
+
/**
|
|
593
|
+
* Maintains a mapping that can be used to answer the question:
|
|
594
|
+
* What paras sent a message at the given block number for a given receiver.
|
|
595
|
+
* Invariants:
|
|
596
|
+
* - The inner `Vec<ParaId>` is never empty.
|
|
597
|
+
* - The inner `Vec<ParaId>` cannot store two same `ParaId`.
|
|
598
|
+
* - The outer vector is sorted ascending by block number and cannot store two items with the same
|
|
599
|
+
* block number.
|
|
600
|
+
**/
|
|
601
|
+
hrmpChannelDigests: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Vec<u32>]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
602
|
+
/**
|
|
603
|
+
* HRMP channel data associated with each para.
|
|
604
|
+
* Invariant:
|
|
605
|
+
* - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session.
|
|
606
|
+
**/
|
|
607
|
+
hrmpChannels: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
608
|
+
sender?: any;
|
|
609
|
+
recipient?: any;
|
|
610
|
+
} | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpChannel>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
611
|
+
/**
|
|
612
|
+
* A set of pending HRMP close channel requests that are going to be closed during the session change.
|
|
613
|
+
* Used for checking if a given channel is registered for closure.
|
|
614
|
+
*
|
|
615
|
+
* The set is accompanied by a list for iteration.
|
|
616
|
+
*
|
|
617
|
+
* Invariant:
|
|
618
|
+
* - There are no channels that exists in list but not in the set and vice versa.
|
|
619
|
+
**/
|
|
620
|
+
hrmpCloseChannelRequests: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
621
|
+
sender?: any;
|
|
622
|
+
recipient?: any;
|
|
623
|
+
} | string | Uint8Array) => Observable<Option<Null>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
624
|
+
hrmpCloseChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
625
|
+
hrmpEgressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
626
|
+
/**
|
|
627
|
+
* Ingress/egress indexes allow to find all the senders and receivers given the opposite
|
|
628
|
+
* side. I.e.
|
|
629
|
+
*
|
|
630
|
+
* (a) ingress index allows to find all the senders for a given recipient.
|
|
631
|
+
* (b) egress index allows to find all the recipients for a given sender.
|
|
632
|
+
*
|
|
633
|
+
* Invariants:
|
|
634
|
+
* - for each ingress index entry for `P` each item `I` in the index should present in `HrmpChannels`
|
|
635
|
+
* as `(I, P)`.
|
|
636
|
+
* - for each egress index entry for `P` each item `E` in the index should present in `HrmpChannels`
|
|
637
|
+
* as `(P, E)`.
|
|
638
|
+
* - there should be no other dangling channels in `HrmpChannels`.
|
|
639
|
+
* - the vectors are sorted.
|
|
640
|
+
**/
|
|
641
|
+
hrmpIngressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
642
|
+
/**
|
|
643
|
+
* This mapping tracks how many open channel requests are initiated by a given sender para.
|
|
644
|
+
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has `(X, _)`
|
|
645
|
+
* as the number of `HrmpOpenChannelRequestCount` for `X`.
|
|
646
|
+
**/
|
|
647
|
+
hrmpOpenChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
648
|
+
/**
|
|
649
|
+
* The set of pending HRMP open channel requests.
|
|
650
|
+
*
|
|
651
|
+
* The set is accompanied by a list for iteration.
|
|
652
|
+
*
|
|
653
|
+
* Invariant:
|
|
654
|
+
* - There are no channels that exists in list but not in the set and vice versa.
|
|
655
|
+
**/
|
|
656
|
+
hrmpOpenChannelRequests: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
657
|
+
sender?: any;
|
|
658
|
+
recipient?: any;
|
|
659
|
+
} | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
660
|
+
hrmpOpenChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
661
|
+
/**
|
|
662
|
+
* The HRMP watermark associated with each para.
|
|
663
|
+
* Invariant:
|
|
664
|
+
* - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a session.
|
|
665
|
+
**/
|
|
666
|
+
hrmpWatermarks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
667
|
+
/**
|
|
668
|
+
* Generic query
|
|
669
|
+
**/
|
|
670
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
671
|
+
};
|
|
672
|
+
identity: {
|
|
673
|
+
/**
|
|
674
|
+
* Information that is pertinent to identify the entity behind an account.
|
|
675
|
+
*
|
|
676
|
+
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
677
|
+
**/
|
|
678
|
+
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
679
|
+
/**
|
|
680
|
+
* The set of registrars. Not expected to get very big as can only be added through a
|
|
681
|
+
* special origin (likely a council motion).
|
|
682
|
+
*
|
|
683
|
+
* The index into this can be cast to `RegistrarIndex` to get a valid value.
|
|
684
|
+
**/
|
|
685
|
+
registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
686
|
+
/**
|
|
687
|
+
* Alternative "sub" identities of this account.
|
|
688
|
+
*
|
|
689
|
+
* The first item is the deposit, the second is a vector of the accounts.
|
|
690
|
+
*
|
|
691
|
+
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
692
|
+
**/
|
|
693
|
+
subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
694
|
+
/**
|
|
695
|
+
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
696
|
+
* context. If the account is not some other account's sub-identity, then just `None`.
|
|
697
|
+
**/
|
|
698
|
+
superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
699
|
+
/**
|
|
700
|
+
* Generic query
|
|
701
|
+
**/
|
|
702
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
703
|
+
};
|
|
704
|
+
imOnline: {
|
|
705
|
+
/**
|
|
706
|
+
* For each session index, we keep a mapping of `ValidatorId<T>` to the
|
|
707
|
+
* number of blocks authored by the given authority.
|
|
708
|
+
**/
|
|
709
|
+
authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
710
|
+
/**
|
|
711
|
+
* The block number after which it's ok to send heartbeats in the current
|
|
712
|
+
* session.
|
|
713
|
+
*
|
|
714
|
+
* At the beginning of each session we set this to a value that should fall
|
|
715
|
+
* roughly in the middle of the session duration. The idea is to first wait for
|
|
716
|
+
* the validators to produce a block in the current session, so that the
|
|
717
|
+
* heartbeat later on will not be necessary.
|
|
718
|
+
*
|
|
719
|
+
* This value will only be used as a fallback if we fail to get a proper session
|
|
720
|
+
* progress estimate from `NextSessionRotation`, as those estimates should be
|
|
721
|
+
* more accurate then the value we calculate for `HeartbeatAfter`.
|
|
722
|
+
**/
|
|
723
|
+
heartbeatAfter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
724
|
+
/**
|
|
725
|
+
* The current set of keys that may issue a heartbeat.
|
|
726
|
+
**/
|
|
727
|
+
keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
728
|
+
/**
|
|
729
|
+
* For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
|
|
730
|
+
* `WrapperOpaque<BoundedOpaqueNetworkState>`.
|
|
731
|
+
**/
|
|
732
|
+
receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
733
|
+
/**
|
|
734
|
+
* Generic query
|
|
735
|
+
**/
|
|
736
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
737
|
+
};
|
|
738
|
+
indices: {
|
|
739
|
+
/**
|
|
740
|
+
* The lookup from index to account.
|
|
741
|
+
**/
|
|
742
|
+
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
743
|
+
/**
|
|
744
|
+
* Generic query
|
|
745
|
+
**/
|
|
746
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
747
|
+
};
|
|
748
|
+
initializer: {
|
|
749
|
+
/**
|
|
750
|
+
* Buffered session changes along with the block number at which they should be applied.
|
|
751
|
+
*
|
|
752
|
+
* Typically this will be empty or one element long. Apart from that this item never hits
|
|
753
|
+
* the storage.
|
|
754
|
+
*
|
|
755
|
+
* However this is a `Vec` regardless to handle various edge cases that may occur at runtime
|
|
756
|
+
* upgrade boundaries or if governance intervenes.
|
|
757
|
+
**/
|
|
758
|
+
bufferedSessionChanges: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
759
|
+
/**
|
|
760
|
+
* Whether the parachains modules have been initialized within this block.
|
|
761
|
+
*
|
|
762
|
+
* Semantically a `bool`, but this guarantees it should never hit the trie,
|
|
763
|
+
* as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.
|
|
764
|
+
*
|
|
765
|
+
* As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one of
|
|
766
|
+
* them writes to the trie and one does not. This confusion makes `Option<()>` more suitable for
|
|
767
|
+
* the semantics of this variable.
|
|
768
|
+
**/
|
|
769
|
+
hasInitialized: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
770
|
+
/**
|
|
771
|
+
* Generic query
|
|
772
|
+
**/
|
|
773
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
774
|
+
};
|
|
775
|
+
multisig: {
|
|
776
|
+
calls: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[Bytes, AccountId32, u128]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
777
|
+
/**
|
|
778
|
+
* The set of open multisig operations.
|
|
779
|
+
**/
|
|
780
|
+
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
|
781
|
+
/**
|
|
782
|
+
* Generic query
|
|
783
|
+
**/
|
|
784
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
785
|
+
};
|
|
786
|
+
offences: {
|
|
787
|
+
/**
|
|
788
|
+
* A vector of reports of the same kind that happened at the same time slot.
|
|
789
|
+
**/
|
|
790
|
+
concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
|
|
791
|
+
/**
|
|
792
|
+
* The primary structure that holds all offence records keyed by report identifiers.
|
|
793
|
+
**/
|
|
794
|
+
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
795
|
+
/**
|
|
796
|
+
* Enumerates all reports of a kind along with the time they happened.
|
|
797
|
+
*
|
|
798
|
+
* All reports are sorted by the time of offence.
|
|
799
|
+
*
|
|
800
|
+
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
801
|
+
* different types are not supported at the moment so we are doing the manual serialization.
|
|
802
|
+
**/
|
|
803
|
+
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
804
|
+
/**
|
|
805
|
+
* Generic query
|
|
806
|
+
**/
|
|
807
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
808
|
+
};
|
|
809
|
+
paraInclusion: {
|
|
810
|
+
/**
|
|
811
|
+
* The latest bitfield for each validator, referred to by their index in the validator set.
|
|
812
|
+
**/
|
|
813
|
+
availabilityBitfields: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
814
|
+
/**
|
|
815
|
+
* Candidates pending availability by `ParaId`.
|
|
816
|
+
**/
|
|
817
|
+
pendingAvailability: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
818
|
+
/**
|
|
819
|
+
* The commitments of candidates pending availability, by `ParaId`.
|
|
820
|
+
**/
|
|
821
|
+
pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
822
|
+
/**
|
|
823
|
+
* Generic query
|
|
824
|
+
**/
|
|
825
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
826
|
+
};
|
|
827
|
+
paraInherent: {
|
|
828
|
+
/**
|
|
829
|
+
* Whether the paras inherent was included within this block.
|
|
830
|
+
*
|
|
831
|
+
* The `Option<()>` is effectively a `bool`, but it never hits storage in the `None` variant
|
|
832
|
+
* due to the guarantees of FRAME's storage APIs.
|
|
833
|
+
*
|
|
834
|
+
* If this is `None` at the end of the block, we panic and render the block invalid.
|
|
835
|
+
**/
|
|
836
|
+
included: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
837
|
+
/**
|
|
838
|
+
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
839
|
+
**/
|
|
840
|
+
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
841
|
+
/**
|
|
842
|
+
* Generic query
|
|
843
|
+
**/
|
|
844
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
845
|
+
};
|
|
846
|
+
paras: {
|
|
847
|
+
/**
|
|
848
|
+
* The actions to perform during the start of a specific session index.
|
|
849
|
+
**/
|
|
850
|
+
actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
851
|
+
/**
|
|
852
|
+
* Validation code stored by its hash.
|
|
853
|
+
*
|
|
854
|
+
* This storage is consistent with [`FutureCodeHash`], [`CurrentCodeHash`] and
|
|
855
|
+
* [`PastCodeHash`].
|
|
856
|
+
**/
|
|
857
|
+
codeByHash: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
858
|
+
/**
|
|
859
|
+
* The number of reference on the validation code in [`CodeByHash`] storage.
|
|
860
|
+
**/
|
|
861
|
+
codeByHashRefs: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
862
|
+
/**
|
|
863
|
+
* The validation code hash of every live para.
|
|
864
|
+
*
|
|
865
|
+
* Corresponding code can be retrieved with [`CodeByHash`].
|
|
866
|
+
**/
|
|
867
|
+
currentCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
868
|
+
/**
|
|
869
|
+
* The actual future code hash of a para.
|
|
870
|
+
*
|
|
871
|
+
* Corresponding code can be retrieved with [`CodeByHash`].
|
|
872
|
+
**/
|
|
873
|
+
futureCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
874
|
+
/**
|
|
875
|
+
* The block number at which the planned code change is expected for a para.
|
|
876
|
+
* The change will be applied after the first parablock for this ID included which executes
|
|
877
|
+
* in the context of a relay chain block with a number >= `expected_at`.
|
|
878
|
+
**/
|
|
879
|
+
futureCodeUpgrades: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
880
|
+
/**
|
|
881
|
+
* The head-data of every registered para.
|
|
882
|
+
**/
|
|
883
|
+
heads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
884
|
+
/**
|
|
885
|
+
* All parachains. Ordered ascending by `ParaId`. Parathreads are not included.
|
|
886
|
+
**/
|
|
887
|
+
parachains: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
888
|
+
/**
|
|
889
|
+
* The current lifecycle of a all known Para IDs.
|
|
890
|
+
**/
|
|
891
|
+
paraLifecycles: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaLifecycle>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
892
|
+
/**
|
|
893
|
+
* Actual past code hash, indicated by the para id as well as the block number at which it
|
|
894
|
+
* became outdated.
|
|
895
|
+
*
|
|
896
|
+
* Corresponding code can be retrieved with [`CodeByHash`].
|
|
897
|
+
**/
|
|
898
|
+
pastCodeHash: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<H256>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
899
|
+
/**
|
|
900
|
+
* Past code of parachains. The parachains themselves may not be registered anymore,
|
|
901
|
+
* but we also keep their code on-chain for the same amount of time as outdated code
|
|
902
|
+
* to keep it available for secondary checkers.
|
|
903
|
+
**/
|
|
904
|
+
pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
905
|
+
/**
|
|
906
|
+
* Which paras have past code that needs pruning and the relay-chain block at which the code was replaced.
|
|
907
|
+
* Note that this is the actual height of the included block, not the expected height at which the
|
|
908
|
+
* code upgrade would be applied, although they may be equal.
|
|
909
|
+
* This is to ensure the entire acceptance period is covered, not an offset acceptance period starting
|
|
910
|
+
* from the time at which the parachain perceives a code upgrade as having occurred.
|
|
911
|
+
* Multiple entries for a single para are permitted. Ordered ascending by block number.
|
|
912
|
+
**/
|
|
913
|
+
pastCodePruning: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
914
|
+
/**
|
|
915
|
+
* The list of all currently active PVF votes. Auxiliary to `PvfActiveVoteMap`.
|
|
916
|
+
**/
|
|
917
|
+
pvfActiveVoteList: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
918
|
+
/**
|
|
919
|
+
* All currently active PVF pre-checking votes.
|
|
920
|
+
*
|
|
921
|
+
* Invariant:
|
|
922
|
+
* - There are no PVF pre-checking votes that exists in list but not in the set and vice versa.
|
|
923
|
+
**/
|
|
924
|
+
pvfActiveVoteMap: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
925
|
+
/**
|
|
926
|
+
* Upcoming paras instantiation arguments.
|
|
927
|
+
*
|
|
928
|
+
* NOTE that after PVF pre-checking is enabled the para genesis arg will have it's code set
|
|
929
|
+
* to empty. Instead, the code will be saved into the storage right away via `CodeByHash`.
|
|
930
|
+
**/
|
|
931
|
+
upcomingParasGenesis: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaGenesisArgs>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
932
|
+
/**
|
|
933
|
+
* The list of upcoming code upgrades. Each item is a pair of which para performs a code
|
|
934
|
+
* upgrade and at which relay-chain block it is expected at.
|
|
935
|
+
*
|
|
936
|
+
* Ordered ascending by block number.
|
|
937
|
+
**/
|
|
938
|
+
upcomingUpgrades: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
939
|
+
/**
|
|
940
|
+
* The list of parachains that are awaiting for their upgrade restriction to cooldown.
|
|
941
|
+
*
|
|
942
|
+
* Ordered ascending by block number.
|
|
943
|
+
**/
|
|
944
|
+
upgradeCooldowns: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
945
|
+
/**
|
|
946
|
+
* This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade procedure.
|
|
947
|
+
*
|
|
948
|
+
* This value is absent when there are no upgrades scheduled or during the time the relay chain
|
|
949
|
+
* performs the checks. It is set at the first relay-chain block when the corresponding parachain
|
|
950
|
+
* can switch its upgrade function. As soon as the parachain's block is included, the value
|
|
951
|
+
* gets reset to `None`.
|
|
952
|
+
*
|
|
953
|
+
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
954
|
+
* the format will require migration of parachains.
|
|
955
|
+
**/
|
|
956
|
+
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
957
|
+
/**
|
|
958
|
+
* This is used by the relay-chain to communicate that there are restrictions for performing
|
|
959
|
+
* an upgrade for this parachain.
|
|
960
|
+
*
|
|
961
|
+
* This may be a because the parachain waits for the upgrade cooldown to expire. Another
|
|
962
|
+
* potential use case is when we want to perform some maintenance (such as storage migration)
|
|
963
|
+
* we could restrict upgrades to make the process simpler.
|
|
964
|
+
*
|
|
965
|
+
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
966
|
+
* the format will require migration of parachains.
|
|
967
|
+
**/
|
|
968
|
+
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
969
|
+
/**
|
|
970
|
+
* Generic query
|
|
971
|
+
**/
|
|
972
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
973
|
+
};
|
|
974
|
+
paraScheduler: {
|
|
975
|
+
/**
|
|
976
|
+
* One entry for each availability core. Entries are `None` if the core is not currently occupied. Can be
|
|
977
|
+
* temporarily `Some` if scheduled but not occupied.
|
|
978
|
+
* The i'th parachain belongs to the i'th core, with the remaining cores all being
|
|
979
|
+
* parathread-multiplexers.
|
|
980
|
+
*
|
|
981
|
+
* Bounded by the maximum of either of these two values:
|
|
982
|
+
* * The number of parachains and parathread multiplexers
|
|
983
|
+
* * The number of validators divided by `configuration.max_validators_per_core`.
|
|
984
|
+
**/
|
|
985
|
+
availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<Option<PolkadotPrimitivesV1CoreOccupied>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
986
|
+
/**
|
|
987
|
+
* An index used to ensure that only one claim on a parathread exists in the queue or is
|
|
988
|
+
* currently being handled by an occupied core.
|
|
989
|
+
*
|
|
990
|
+
* Bounded by the number of parathread cores and scheduling lookahead. Reasonably, 10 * 50 = 500.
|
|
991
|
+
**/
|
|
992
|
+
parathreadClaimIndex: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
993
|
+
/**
|
|
994
|
+
* A queue of upcoming claims and which core they should be mapped onto.
|
|
995
|
+
*
|
|
996
|
+
* The number of queued claims is bounded at the `scheduling_lookahead`
|
|
997
|
+
* multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500.
|
|
998
|
+
**/
|
|
999
|
+
parathreadQueue: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSchedulerParathreadClaimQueue>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Currently scheduled cores - free but up to be occupied.
|
|
1002
|
+
*
|
|
1003
|
+
* Bounded by the number of cores: one for each parachain and parathread multiplexer.
|
|
1004
|
+
*
|
|
1005
|
+
* The value contained here will not be valid after the end of a block. Runtime APIs should be used to determine scheduled cores/
|
|
1006
|
+
* for the upcoming block.
|
|
1007
|
+
**/
|
|
1008
|
+
scheduled: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerCoreAssignment>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1009
|
+
/**
|
|
1010
|
+
* The block number where the session start occurred. Used to track how many group rotations have occurred.
|
|
1011
|
+
*
|
|
1012
|
+
* Note that in the context of parachains modules the session change is signaled during
|
|
1013
|
+
* the block and enacted at the end of the block (at the finalization stage, to be exact).
|
|
1014
|
+
* Thus for all intents and purposes the effect of the session change is observed at the
|
|
1015
|
+
* block following the session change, block number of which we save in this storage value.
|
|
1016
|
+
**/
|
|
1017
|
+
sessionStartBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1018
|
+
/**
|
|
1019
|
+
* All the validator groups. One for each core. Indices are into `ActiveValidators` - not the
|
|
1020
|
+
* broader set of Polkadot validators, but instead just the subset used for parachains during
|
|
1021
|
+
* this session.
|
|
1022
|
+
*
|
|
1023
|
+
* Bound: The number of cores is the sum of the numbers of parachains and parathread multiplexers.
|
|
1024
|
+
* Reasonably, 100-1000. The dominant factor is the number of validators: safe upper bound at 10k.
|
|
1025
|
+
**/
|
|
1026
|
+
validatorGroups: AugmentedQuery<ApiType, () => Observable<Vec<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Generic query
|
|
1029
|
+
**/
|
|
1030
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1031
|
+
};
|
|
1032
|
+
parasDisputes: {
|
|
1033
|
+
/**
|
|
1034
|
+
* All ongoing or concluded disputes for the last several sessions.
|
|
1035
|
+
**/
|
|
1036
|
+
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV1DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Whether the chain is frozen. Starts as `None`. When this is `Some`,
|
|
1039
|
+
* the chain will not accept any new parachain blocks for backing or inclusion,
|
|
1040
|
+
* and its value indicates the last valid block number in the chain.
|
|
1041
|
+
* It can only be set back to `None` by governance intervention.
|
|
1042
|
+
**/
|
|
1043
|
+
frozen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1044
|
+
/**
|
|
1045
|
+
* All included blocks on the chain, as well as the block number in this chain that
|
|
1046
|
+
* should be reverted back to if the candidate is disputed and determined to be invalid.
|
|
1047
|
+
**/
|
|
1048
|
+
included: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<u32>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1049
|
+
/**
|
|
1050
|
+
* The last pruned session, if any. All data stored by this module
|
|
1051
|
+
* references sessions.
|
|
1052
|
+
**/
|
|
1053
|
+
lastPrunedSession: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Maps session indices to a vector indicating the number of potentially-spam disputes
|
|
1056
|
+
* each validator is participating in. Potentially-spam disputes are remote disputes which have
|
|
1057
|
+
* fewer than `byzantine_threshold + 1` validators.
|
|
1058
|
+
*
|
|
1059
|
+
* The i'th entry of the vector corresponds to the i'th validator in the session.
|
|
1060
|
+
**/
|
|
1061
|
+
spamSlots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Generic query
|
|
1064
|
+
**/
|
|
1065
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1066
|
+
};
|
|
1067
|
+
paraSessionInfo: {
|
|
1068
|
+
/**
|
|
1069
|
+
* Assignment keys for the current session.
|
|
1070
|
+
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
1071
|
+
* When in doubt, use `Sessions` API instead.
|
|
1072
|
+
**/
|
|
1073
|
+
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV1AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1074
|
+
/**
|
|
1075
|
+
* The earliest session for which previous session info is stored.
|
|
1076
|
+
**/
|
|
1077
|
+
earliestStoredSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Session information in a rolling window.
|
|
1080
|
+
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
|
1081
|
+
* Does not have any entries before the session index in the first session change notification.
|
|
1082
|
+
**/
|
|
1083
|
+
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Generic query
|
|
1086
|
+
**/
|
|
1087
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1088
|
+
};
|
|
1089
|
+
parasShared: {
|
|
1090
|
+
/**
|
|
1091
|
+
* All the validators actively participating in parachain consensus.
|
|
1092
|
+
* Indices are into the broader validator set.
|
|
1093
|
+
**/
|
|
1094
|
+
activeValidatorIndices: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1095
|
+
/**
|
|
1096
|
+
* The parachain attestation keys of the validators actively participating in parachain consensus.
|
|
1097
|
+
* This should be the same length as `ActiveValidatorIndices`.
|
|
1098
|
+
**/
|
|
1099
|
+
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV0ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1100
|
+
/**
|
|
1101
|
+
* The current session index.
|
|
1102
|
+
**/
|
|
1103
|
+
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Generic query
|
|
1106
|
+
**/
|
|
1107
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1108
|
+
};
|
|
1109
|
+
phragmenElection: {
|
|
1110
|
+
/**
|
|
1111
|
+
* The present candidate list. A current member or runner-up can never enter this vector
|
|
1112
|
+
* and is always implicitly assumed to be a candidate.
|
|
1113
|
+
*
|
|
1114
|
+
* Second element is the deposit.
|
|
1115
|
+
*
|
|
1116
|
+
* Invariant: Always sorted based on account id.
|
|
1117
|
+
**/
|
|
1118
|
+
candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1119
|
+
/**
|
|
1120
|
+
* The total number of vote rounds that have happened, excluding the upcoming one.
|
|
1121
|
+
**/
|
|
1122
|
+
electionRounds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1123
|
+
/**
|
|
1124
|
+
* The current elected members.
|
|
1125
|
+
*
|
|
1126
|
+
* Invariant: Always sorted based on account id.
|
|
1127
|
+
**/
|
|
1128
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1129
|
+
/**
|
|
1130
|
+
* The current reserved runners-up.
|
|
1131
|
+
*
|
|
1132
|
+
* Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
|
|
1133
|
+
* last (i.e. _best_) runner-up will be replaced.
|
|
1134
|
+
**/
|
|
1135
|
+
runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Votes and locked stake of a particular voter.
|
|
1138
|
+
*
|
|
1139
|
+
* TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
|
|
1140
|
+
**/
|
|
1141
|
+
voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Generic query
|
|
1144
|
+
**/
|
|
1145
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1146
|
+
};
|
|
1147
|
+
preimage: {
|
|
1148
|
+
/**
|
|
1149
|
+
* The preimages stored by this pallet.
|
|
1150
|
+
**/
|
|
1151
|
+
preimageFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1152
|
+
/**
|
|
1153
|
+
* The request status of a given hash.
|
|
1154
|
+
**/
|
|
1155
|
+
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Generic query
|
|
1158
|
+
**/
|
|
1159
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1160
|
+
};
|
|
1161
|
+
proxy: {
|
|
1162
|
+
/**
|
|
1163
|
+
* The announcements made by the proxy (key).
|
|
1164
|
+
**/
|
|
1165
|
+
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1166
|
+
/**
|
|
1167
|
+
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
1168
|
+
* which are being delegated to, together with the amount held on deposit.
|
|
1169
|
+
**/
|
|
1170
|
+
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Generic query
|
|
1173
|
+
**/
|
|
1174
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1175
|
+
};
|
|
1176
|
+
recovery: {
|
|
1177
|
+
/**
|
|
1178
|
+
* Active recovery attempts.
|
|
1179
|
+
*
|
|
1180
|
+
* First account is the account to be recovered, and the second account
|
|
1181
|
+
* is the user trying to recover the account.
|
|
1182
|
+
**/
|
|
1183
|
+
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
1184
|
+
/**
|
|
1185
|
+
* The list of allowed proxy accounts.
|
|
1186
|
+
*
|
|
1187
|
+
* Map from the user who can access it to the recovered account.
|
|
1188
|
+
**/
|
|
1189
|
+
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1190
|
+
/**
|
|
1191
|
+
* The set of recoverable accounts and their recovery configuration.
|
|
1192
|
+
**/
|
|
1193
|
+
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Generic query
|
|
1196
|
+
**/
|
|
1197
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1198
|
+
};
|
|
1199
|
+
registrar: {
|
|
1200
|
+
/**
|
|
1201
|
+
* The next free `ParaId`.
|
|
1202
|
+
**/
|
|
1203
|
+
nextFreeParaId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Amount held on deposit for each para and the original depositor.
|
|
1206
|
+
*
|
|
1207
|
+
* The given account ID is responsible for registering the code and initial head data, but may only do
|
|
1208
|
+
* so if it isn't yet registered. (After that, it's up to governance to do so.)
|
|
1209
|
+
**/
|
|
1210
|
+
paras: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonParasRegistrarParaInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Pending swap operations.
|
|
1213
|
+
**/
|
|
1214
|
+
pendingSwap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Generic query
|
|
1217
|
+
**/
|
|
1218
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1219
|
+
};
|
|
1220
|
+
scheduler: {
|
|
1221
|
+
/**
|
|
1222
|
+
* Items to be executed, indexed by the block number that they should be executed on.
|
|
1223
|
+
**/
|
|
1224
|
+
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Lookup from identity to the block number and index of the task.
|
|
1227
|
+
**/
|
|
1228
|
+
lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Storage version of the pallet.
|
|
1231
|
+
*
|
|
1232
|
+
* New networks start with last version.
|
|
1233
|
+
**/
|
|
1234
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Generic query
|
|
1237
|
+
**/
|
|
1238
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1239
|
+
};
|
|
1240
|
+
session: {
|
|
1241
|
+
/**
|
|
1242
|
+
* Current index of the session.
|
|
1243
|
+
**/
|
|
1244
|
+
currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Indices of disabled validators.
|
|
1247
|
+
*
|
|
1248
|
+
* The vec is always kept sorted so that we can find whether a given validator is
|
|
1249
|
+
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1250
|
+
* a new set of identities.
|
|
1251
|
+
**/
|
|
1252
|
+
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1253
|
+
/**
|
|
1254
|
+
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1255
|
+
**/
|
|
1256
|
+
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
|
|
1257
|
+
/**
|
|
1258
|
+
* The next session keys for a validator.
|
|
1259
|
+
**/
|
|
1260
|
+
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<KusamaRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1261
|
+
/**
|
|
1262
|
+
* True if the underlying economic identities or weighting behind the validators
|
|
1263
|
+
* has changed in the queued validator set.
|
|
1264
|
+
**/
|
|
1265
|
+
queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1266
|
+
/**
|
|
1267
|
+
* The queued keys for the next session. When the next session begins, these keys
|
|
1268
|
+
* will be used to determine the validator's session keys.
|
|
1269
|
+
**/
|
|
1270
|
+
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, KusamaRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1271
|
+
/**
|
|
1272
|
+
* The current set of validators.
|
|
1273
|
+
**/
|
|
1274
|
+
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Generic query
|
|
1277
|
+
**/
|
|
1278
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1279
|
+
};
|
|
1280
|
+
slots: {
|
|
1281
|
+
/**
|
|
1282
|
+
* Amounts held on deposit for each (possibly future) leased parachain.
|
|
1283
|
+
*
|
|
1284
|
+
* The actual amount locked on its behalf by any account at any time is the maximum of the second values
|
|
1285
|
+
* of the items in this list whose first value is the account.
|
|
1286
|
+
*
|
|
1287
|
+
* The first item in the list is the amount locked for the current Lease Period. Following
|
|
1288
|
+
* items are for the subsequent lease periods.
|
|
1289
|
+
*
|
|
1290
|
+
* The default value (an empty list) implies that the parachain no longer exists (or never
|
|
1291
|
+
* existed) as far as this pallet is concerned.
|
|
1292
|
+
*
|
|
1293
|
+
* If a parachain doesn't exist *yet* but is scheduled to exist in the future, then it
|
|
1294
|
+
* will be left-padded with one or more `None`s to denote the fact that nothing is held on
|
|
1295
|
+
* deposit for the non-existent chain currently, but is held at some point in the future.
|
|
1296
|
+
*
|
|
1297
|
+
* It is illegal for a `None` value to trail in the list.
|
|
1298
|
+
**/
|
|
1299
|
+
leases: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<ITuple<[AccountId32, u128]>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1300
|
+
/**
|
|
1301
|
+
* Generic query
|
|
1302
|
+
**/
|
|
1303
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1304
|
+
};
|
|
1305
|
+
society: {
|
|
1306
|
+
/**
|
|
1307
|
+
* The current bids, stored ordered by the value of the bid.
|
|
1308
|
+
**/
|
|
1309
|
+
bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1310
|
+
/**
|
|
1311
|
+
* The current set of candidates; bidders that are attempting to become members.
|
|
1312
|
+
**/
|
|
1313
|
+
candidates: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1314
|
+
/**
|
|
1315
|
+
* The defending member currently being challenged.
|
|
1316
|
+
**/
|
|
1317
|
+
defender: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Votes for the defender.
|
|
1320
|
+
**/
|
|
1321
|
+
defenderVotes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1322
|
+
/**
|
|
1323
|
+
* The first member.
|
|
1324
|
+
**/
|
|
1325
|
+
founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1326
|
+
/**
|
|
1327
|
+
* The most primary from the most recently approved members.
|
|
1328
|
+
**/
|
|
1329
|
+
head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1330
|
+
/**
|
|
1331
|
+
* The max number of members for the society at one time.
|
|
1332
|
+
**/
|
|
1333
|
+
maxMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1334
|
+
/**
|
|
1335
|
+
* The current set of members, ordered.
|
|
1336
|
+
**/
|
|
1337
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Pending payouts; ordered by block number, with the amount that should be paid out.
|
|
1340
|
+
**/
|
|
1341
|
+
payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
1344
|
+
**/
|
|
1345
|
+
pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1346
|
+
/**
|
|
1347
|
+
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
1348
|
+
* only by the founder.
|
|
1349
|
+
**/
|
|
1350
|
+
rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1351
|
+
/**
|
|
1352
|
+
* The ongoing number of losing votes cast by the member.
|
|
1353
|
+
**/
|
|
1354
|
+
strikes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1355
|
+
/**
|
|
1356
|
+
* The set of suspended candidates.
|
|
1357
|
+
**/
|
|
1358
|
+
suspendedCandidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u128, PalletSocietyBidKind]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1359
|
+
/**
|
|
1360
|
+
* The set of suspended members.
|
|
1361
|
+
**/
|
|
1362
|
+
suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<bool>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
1365
|
+
**/
|
|
1366
|
+
votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Members currently vouching or banned from vouching again
|
|
1369
|
+
**/
|
|
1370
|
+
vouching: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVouchingStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Generic query
|
|
1373
|
+
**/
|
|
1374
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1375
|
+
};
|
|
1376
|
+
staking: {
|
|
1377
|
+
/**
|
|
1378
|
+
* The active era information, it holds index and start.
|
|
1379
|
+
*
|
|
1380
|
+
* The active era is the era being currently rewarded. Validator set of this era must be
|
|
1381
|
+
* equal to [`SessionInterface::validators`].
|
|
1382
|
+
**/
|
|
1383
|
+
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Map from all locked "stash" accounts to the controller account.
|
|
1386
|
+
**/
|
|
1387
|
+
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1388
|
+
/**
|
|
1389
|
+
* A mapping from still-bonded eras to the first session index of that era.
|
|
1390
|
+
*
|
|
1391
|
+
* Must contains information for eras for the range:
|
|
1392
|
+
* `[active_era - bounding_duration; active_era]`
|
|
1393
|
+
**/
|
|
1394
|
+
bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1395
|
+
/**
|
|
1396
|
+
* The amount of currency given to reporters of a slash event which was
|
|
1397
|
+
* canceled by extraordinary circumstances (e.g. governance).
|
|
1398
|
+
**/
|
|
1399
|
+
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1400
|
+
/**
|
|
1401
|
+
* The threshold for when users can start calling `chill_other` for other validators /
|
|
1402
|
+
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
1403
|
+
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
|
1404
|
+
**/
|
|
1405
|
+
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Counter for the related counted storage map
|
|
1408
|
+
**/
|
|
1409
|
+
counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Counter for the related counted storage map
|
|
1412
|
+
**/
|
|
1413
|
+
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The current era index.
|
|
1416
|
+
*
|
|
1417
|
+
* This is the latest planned era, depending on how the Session pallet queues the validator
|
|
1418
|
+
* set, it might be active or not.
|
|
1419
|
+
**/
|
|
1420
|
+
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1421
|
+
/**
|
|
1422
|
+
* The last planned session scheduled by the session pallet.
|
|
1423
|
+
*
|
|
1424
|
+
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
|
1425
|
+
**/
|
|
1426
|
+
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1427
|
+
/**
|
|
1428
|
+
* The earliest era for which we have a pending, unapplied slash.
|
|
1429
|
+
**/
|
|
1430
|
+
earliestUnappliedSlash: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Rewards for the last `HISTORY_DEPTH` eras.
|
|
1433
|
+
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
1434
|
+
**/
|
|
1435
|
+
erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Exposure of validator at era.
|
|
1438
|
+
*
|
|
1439
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1440
|
+
*
|
|
1441
|
+
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1442
|
+
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1443
|
+
**/
|
|
1444
|
+
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Clipped Exposure of validator at era.
|
|
1447
|
+
*
|
|
1448
|
+
* This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
|
|
1449
|
+
* `T::MaxNominatorRewardedPerValidator` biggest stakers.
|
|
1450
|
+
* (Note: the field `total` and `own` of the exposure remains unchanged).
|
|
1451
|
+
* This is used to limit the i/o cost for the nominator payout.
|
|
1452
|
+
*
|
|
1453
|
+
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
|
1454
|
+
*
|
|
1455
|
+
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1456
|
+
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1457
|
+
**/
|
|
1458
|
+
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1459
|
+
/**
|
|
1460
|
+
* The session index at which the era start for the last `HISTORY_DEPTH` eras.
|
|
1461
|
+
*
|
|
1462
|
+
* Note: This tracks the starting session (i.e. session index when era start being active)
|
|
1463
|
+
* for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
|
|
1464
|
+
**/
|
|
1465
|
+
erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1466
|
+
/**
|
|
1467
|
+
* The total amount staked for the last `HISTORY_DEPTH` eras.
|
|
1468
|
+
* If total hasn't been set or has been removed then 0 stake is returned.
|
|
1469
|
+
**/
|
|
1470
|
+
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1471
|
+
/**
|
|
1472
|
+
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
1473
|
+
*
|
|
1474
|
+
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1475
|
+
*
|
|
1476
|
+
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1477
|
+
**/
|
|
1478
|
+
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1479
|
+
/**
|
|
1480
|
+
* The total validator era payout for the last `HISTORY_DEPTH` eras.
|
|
1481
|
+
*
|
|
1482
|
+
* Eras that haven't finished yet or has been removed doesn't have reward.
|
|
1483
|
+
**/
|
|
1484
|
+
erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Mode of era forcing.
|
|
1487
|
+
**/
|
|
1488
|
+
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Number of eras to keep in history.
|
|
1491
|
+
*
|
|
1492
|
+
* Information is kept for eras in `[current_era - history_depth; current_era]`.
|
|
1493
|
+
*
|
|
1494
|
+
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
|
|
1495
|
+
* always be in history. I.e. `active_era > current_era - history_depth` must be
|
|
1496
|
+
* guaranteed.
|
|
1497
|
+
**/
|
|
1498
|
+
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1499
|
+
/**
|
|
1500
|
+
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
1501
|
+
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
1502
|
+
* invulnerables) and restricted to testnets.
|
|
1503
|
+
**/
|
|
1504
|
+
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1505
|
+
/**
|
|
1506
|
+
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
1507
|
+
**/
|
|
1508
|
+
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1509
|
+
/**
|
|
1510
|
+
* The maximum nominator count before we stop allowing new validators to join.
|
|
1511
|
+
*
|
|
1512
|
+
* When this value is not set, no limits are enforced.
|
|
1513
|
+
**/
|
|
1514
|
+
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1515
|
+
/**
|
|
1516
|
+
* The maximum validator count before we stop allowing new validators to join.
|
|
1517
|
+
*
|
|
1518
|
+
* When this value is not set, no limits are enforced.
|
|
1519
|
+
**/
|
|
1520
|
+
maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1521
|
+
/**
|
|
1522
|
+
* The minimum amount of commission that validators can set.
|
|
1523
|
+
*
|
|
1524
|
+
* If set to `0`, no limit exists.
|
|
1525
|
+
**/
|
|
1526
|
+
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Minimum number of staking participants before emergency conditions are imposed.
|
|
1529
|
+
**/
|
|
1530
|
+
minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1531
|
+
/**
|
|
1532
|
+
* The minimum active bond to become and maintain the role of a nominator.
|
|
1533
|
+
**/
|
|
1534
|
+
minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1535
|
+
/**
|
|
1536
|
+
* The minimum active bond to become and maintain the role of a validator.
|
|
1537
|
+
**/
|
|
1538
|
+
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1539
|
+
/**
|
|
1540
|
+
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
|
1541
|
+
**/
|
|
1542
|
+
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1543
|
+
/**
|
|
1544
|
+
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
|
1545
|
+
**/
|
|
1546
|
+
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1547
|
+
/**
|
|
1548
|
+
* Indices of validators that have offended in the active era and whether they are currently
|
|
1549
|
+
* disabled.
|
|
1550
|
+
*
|
|
1551
|
+
* This value should be a superset of disabled validators since not all offences lead to the
|
|
1552
|
+
* validator being disabled (if there was no slash). This is needed to track the percentage of
|
|
1553
|
+
* validators that have offended in the current era, ensuring a new era is forced if
|
|
1554
|
+
* `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
|
|
1555
|
+
* whether a given validator has previously offended using binary search. It gets cleared when
|
|
1556
|
+
* the era ends.
|
|
1557
|
+
**/
|
|
1558
|
+
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1559
|
+
/**
|
|
1560
|
+
* Where the reward payment should be made. Keyed by stash.
|
|
1561
|
+
**/
|
|
1562
|
+
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1563
|
+
/**
|
|
1564
|
+
* Slashing spans for stash accounts.
|
|
1565
|
+
**/
|
|
1566
|
+
slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1567
|
+
/**
|
|
1568
|
+
* The percentage of the slash that is distributed to reporters.
|
|
1569
|
+
*
|
|
1570
|
+
* The rest of the slashed value is handled by the `Slash`.
|
|
1571
|
+
**/
|
|
1572
|
+
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1573
|
+
/**
|
|
1574
|
+
* Records information about the maximum slash of a stash within a slashing span,
|
|
1575
|
+
* as well as how much reward has been paid out.
|
|
1576
|
+
**/
|
|
1577
|
+
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
|
1578
|
+
/**
|
|
1579
|
+
* True if network has been upgraded to this version.
|
|
1580
|
+
* Storage version of the pallet.
|
|
1581
|
+
*
|
|
1582
|
+
* This is set to v7.0.0 for new networks.
|
|
1583
|
+
**/
|
|
1584
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletStakingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1585
|
+
/**
|
|
1586
|
+
* All unapplied slashes that are queued for later.
|
|
1587
|
+
**/
|
|
1588
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1589
|
+
/**
|
|
1590
|
+
* The ideal number of staking participants.
|
|
1591
|
+
**/
|
|
1592
|
+
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1593
|
+
/**
|
|
1594
|
+
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
1595
|
+
**/
|
|
1596
|
+
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1597
|
+
/**
|
|
1598
|
+
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
1599
|
+
* and slash value of the era.
|
|
1600
|
+
**/
|
|
1601
|
+
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Generic query
|
|
1604
|
+
**/
|
|
1605
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1606
|
+
};
|
|
1607
|
+
system: {
|
|
1608
|
+
/**
|
|
1609
|
+
* The full account information for a particular account ID.
|
|
1610
|
+
**/
|
|
1611
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1612
|
+
/**
|
|
1613
|
+
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
1614
|
+
**/
|
|
1615
|
+
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Map of block numbers to block hashes.
|
|
1618
|
+
**/
|
|
1619
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1620
|
+
/**
|
|
1621
|
+
* The current weight for the block.
|
|
1622
|
+
**/
|
|
1623
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1624
|
+
/**
|
|
1625
|
+
* Digest of the current block, also part of the block header.
|
|
1626
|
+
**/
|
|
1627
|
+
digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1628
|
+
/**
|
|
1629
|
+
* The number of events in the `Events<T>` list.
|
|
1630
|
+
**/
|
|
1631
|
+
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1632
|
+
/**
|
|
1633
|
+
* Events deposited for the current block.
|
|
1634
|
+
*
|
|
1635
|
+
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
|
|
1636
|
+
* from within the runtime.
|
|
1637
|
+
**/
|
|
1638
|
+
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
1641
|
+
* of events in the `<Events<T>>` list.
|
|
1642
|
+
*
|
|
1643
|
+
* All topic vectors have deterministic storage locations depending on the topic. This
|
|
1644
|
+
* allows light-clients to leverage the changes trie storage tracking mechanism and
|
|
1645
|
+
* in case of changes fetch the list of events of interest.
|
|
1646
|
+
*
|
|
1647
|
+
* The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
|
|
1648
|
+
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
1649
|
+
* no notification will be triggered thus the event might be lost.
|
|
1650
|
+
**/
|
|
1651
|
+
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1652
|
+
/**
|
|
1653
|
+
* The execution phase of the block.
|
|
1654
|
+
**/
|
|
1655
|
+
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Total extrinsics count for the current block.
|
|
1658
|
+
**/
|
|
1659
|
+
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1660
|
+
/**
|
|
1661
|
+
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
1662
|
+
**/
|
|
1663
|
+
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
1666
|
+
**/
|
|
1667
|
+
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1668
|
+
/**
|
|
1669
|
+
* The current block number being processed. Set by `execute_block`.
|
|
1670
|
+
**/
|
|
1671
|
+
number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1672
|
+
/**
|
|
1673
|
+
* Hash of the previous block.
|
|
1674
|
+
**/
|
|
1675
|
+
parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1676
|
+
/**
|
|
1677
|
+
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
1678
|
+
* (default) if not.
|
|
1679
|
+
**/
|
|
1680
|
+
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1681
|
+
/**
|
|
1682
|
+
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
1683
|
+
**/
|
|
1684
|
+
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Generic query
|
|
1687
|
+
**/
|
|
1688
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1689
|
+
};
|
|
1690
|
+
technicalCommittee: {
|
|
1691
|
+
/**
|
|
1692
|
+
* The current members of the collective. This is stored sorted (just by value).
|
|
1693
|
+
**/
|
|
1694
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1695
|
+
/**
|
|
1696
|
+
* The prime member that helps determine the default vote behavior in case of absentations.
|
|
1697
|
+
**/
|
|
1698
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Proposals so far.
|
|
1701
|
+
**/
|
|
1702
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1703
|
+
/**
|
|
1704
|
+
* Actual proposal for a given hash, if it's current.
|
|
1705
|
+
**/
|
|
1706
|
+
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1707
|
+
/**
|
|
1708
|
+
* The hashes of the active proposals.
|
|
1709
|
+
**/
|
|
1710
|
+
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1711
|
+
/**
|
|
1712
|
+
* Votes on a given proposal, if it is ongoing.
|
|
1713
|
+
**/
|
|
1714
|
+
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1715
|
+
/**
|
|
1716
|
+
* Generic query
|
|
1717
|
+
**/
|
|
1718
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1719
|
+
};
|
|
1720
|
+
technicalMembership: {
|
|
1721
|
+
/**
|
|
1722
|
+
* The current membership, stored as an ordered Vec.
|
|
1723
|
+
**/
|
|
1724
|
+
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1725
|
+
/**
|
|
1726
|
+
* The current prime member, if one exists.
|
|
1727
|
+
**/
|
|
1728
|
+
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Generic query
|
|
1731
|
+
**/
|
|
1732
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1733
|
+
};
|
|
1734
|
+
timestamp: {
|
|
1735
|
+
/**
|
|
1736
|
+
* Did the timestamp get updated in this block?
|
|
1737
|
+
**/
|
|
1738
|
+
didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Current time for the current block.
|
|
1741
|
+
**/
|
|
1742
|
+
now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Generic query
|
|
1745
|
+
**/
|
|
1746
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1747
|
+
};
|
|
1748
|
+
tips: {
|
|
1749
|
+
/**
|
|
1750
|
+
* Simple preimage lookup from the reason's hash to the original data. Again, has an
|
|
1751
|
+
* insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
|
|
1752
|
+
**/
|
|
1753
|
+
reasons: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1754
|
+
/**
|
|
1755
|
+
* TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.
|
|
1756
|
+
* This has the insecure enumerable hash function since the key itself is already
|
|
1757
|
+
* guaranteed to be a secure hash.
|
|
1758
|
+
**/
|
|
1759
|
+
tips: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletTipsOpenTip>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1760
|
+
/**
|
|
1761
|
+
* Generic query
|
|
1762
|
+
**/
|
|
1763
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1764
|
+
};
|
|
1765
|
+
transactionPayment: {
|
|
1766
|
+
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1767
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Generic query
|
|
1770
|
+
**/
|
|
1771
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1772
|
+
};
|
|
1773
|
+
treasury: {
|
|
1774
|
+
/**
|
|
1775
|
+
* Proposal indices that have been approved but not yet awarded.
|
|
1776
|
+
**/
|
|
1777
|
+
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1778
|
+
/**
|
|
1779
|
+
* Number of proposals that have been made.
|
|
1780
|
+
**/
|
|
1781
|
+
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1782
|
+
/**
|
|
1783
|
+
* Proposals that have been made.
|
|
1784
|
+
**/
|
|
1785
|
+
proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Generic query
|
|
1788
|
+
**/
|
|
1789
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1790
|
+
};
|
|
1791
|
+
ump: {
|
|
1792
|
+
/**
|
|
1793
|
+
* The ordered list of `ParaId`s that have a `RelayDispatchQueue` entry.
|
|
1794
|
+
*
|
|
1795
|
+
* Invariant:
|
|
1796
|
+
* - The set of items from this vector should be exactly the set of the keys in
|
|
1797
|
+
* `RelayDispatchQueues` and `RelayDispatchQueueSize`.
|
|
1798
|
+
**/
|
|
1799
|
+
needsDispatch: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1800
|
+
/**
|
|
1801
|
+
* This is the para that gets will get dispatched first during the next upward dispatchable queue
|
|
1802
|
+
* execution round.
|
|
1803
|
+
*
|
|
1804
|
+
* Invariant:
|
|
1805
|
+
* - If `Some(para)`, then `para` must be present in `NeedsDispatch`.
|
|
1806
|
+
**/
|
|
1807
|
+
nextDispatchRoundStartWith: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1808
|
+
/**
|
|
1809
|
+
* The messages that exceeded max individual message weight budget.
|
|
1810
|
+
*
|
|
1811
|
+
* These messages stay there until manually dispatched.
|
|
1812
|
+
**/
|
|
1813
|
+
overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1814
|
+
/**
|
|
1815
|
+
* The number of overweight messages ever recorded in `Overweight` (and thus the lowest free
|
|
1816
|
+
* index).
|
|
1817
|
+
**/
|
|
1818
|
+
overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1819
|
+
/**
|
|
1820
|
+
* The messages waiting to be handled by the relay-chain originating from a certain parachain.
|
|
1821
|
+
*
|
|
1822
|
+
* Note that some upward messages might have been already processed by the inclusion logic. E.g.
|
|
1823
|
+
* channel management messages.
|
|
1824
|
+
*
|
|
1825
|
+
* The messages are processed in FIFO order.
|
|
1826
|
+
**/
|
|
1827
|
+
relayDispatchQueues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Size of the dispatch queues. Caches sizes of the queues in `RelayDispatchQueue`.
|
|
1830
|
+
*
|
|
1831
|
+
* First item in the tuple is the count of messages and second
|
|
1832
|
+
* is the total length (in bytes) of the message payloads.
|
|
1833
|
+
*
|
|
1834
|
+
* Note that this is an auxiliary mapping: it's possible to tell the byte size and the number of
|
|
1835
|
+
* messages only looking at `RelayDispatchQueues`. This mapping is separate to avoid the cost of
|
|
1836
|
+
* loading the whole message queue if only the total size and count are required.
|
|
1837
|
+
*
|
|
1838
|
+
* Invariant:
|
|
1839
|
+
* - The set of keys should exactly match the set of keys of `RelayDispatchQueues`.
|
|
1840
|
+
**/
|
|
1841
|
+
relayDispatchQueueSize: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u32, u32]>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1842
|
+
/**
|
|
1843
|
+
* Generic query
|
|
1844
|
+
**/
|
|
1845
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1846
|
+
};
|
|
1847
|
+
vesting: {
|
|
1848
|
+
/**
|
|
1849
|
+
* Storage version of the pallet.
|
|
1850
|
+
*
|
|
1851
|
+
* New networks start with latest version, as determined by the genesis build.
|
|
1852
|
+
**/
|
|
1853
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Information regarding the vesting of a given account.
|
|
1856
|
+
**/
|
|
1857
|
+
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Generic query
|
|
1860
|
+
**/
|
|
1861
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1862
|
+
};
|
|
1863
|
+
xcmPallet: {
|
|
1864
|
+
/**
|
|
1865
|
+
* The existing asset traps.
|
|
1866
|
+
*
|
|
1867
|
+
* Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
|
|
1868
|
+
* times this pair has been trapped (usually just 1 if it exists at all).
|
|
1869
|
+
**/
|
|
1870
|
+
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1871
|
+
/**
|
|
1872
|
+
* The current migration's stage, if any.
|
|
1873
|
+
**/
|
|
1874
|
+
currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1875
|
+
/**
|
|
1876
|
+
* The ongoing queries.
|
|
1877
|
+
**/
|
|
1878
|
+
queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1879
|
+
/**
|
|
1880
|
+
* The latest available query index.
|
|
1881
|
+
**/
|
|
1882
|
+
queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1883
|
+
/**
|
|
1884
|
+
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
1885
|
+
* then the destinations whose XCM version is unknown are considered unreachable.
|
|
1886
|
+
**/
|
|
1887
|
+
safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1888
|
+
/**
|
|
1889
|
+
* The Latest versions that we know various locations support.
|
|
1890
|
+
**/
|
|
1891
|
+
supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
1892
|
+
V0: any;
|
|
1893
|
+
} | {
|
|
1894
|
+
V1: any;
|
|
1895
|
+
} | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
1896
|
+
/**
|
|
1897
|
+
* Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
|
|
1898
|
+
* the `u32` counter is the number of times that a send to the destination has been attempted,
|
|
1899
|
+
* which is used as a prioritization.
|
|
1900
|
+
**/
|
|
1901
|
+
versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedMultiLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1902
|
+
/**
|
|
1903
|
+
* All locations that we have requested version notifications from.
|
|
1904
|
+
**/
|
|
1905
|
+
versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
1906
|
+
V0: any;
|
|
1907
|
+
} | {
|
|
1908
|
+
V1: any;
|
|
1909
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
1910
|
+
/**
|
|
1911
|
+
* The target locations that are subscribed to our version changes, as well as the most recent
|
|
1912
|
+
* of our versions we informed them of.
|
|
1913
|
+
**/
|
|
1914
|
+
versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | {
|
|
1915
|
+
V0: any;
|
|
1916
|
+
} | {
|
|
1917
|
+
V1: any;
|
|
1918
|
+
} | string | Uint8Array) => Observable<Option<ITuple<[u64, u64, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
1919
|
+
/**
|
|
1920
|
+
* Generic query
|
|
1921
|
+
**/
|
|
1922
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1923
|
+
};
|
|
1924
|
+
}
|
|
1925
|
+
}
|