@polkadot/api-augment 14.0.1 → 14.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/cjs/base.d.ts +2 -0
  2. package/cjs/bundle.d.ts +2 -0
  3. package/cjs/index.d.ts +2 -0
  4. package/cjs/kusama/consts.d.ts +1044 -0
  5. package/cjs/kusama/errors.d.ts +2355 -0
  6. package/cjs/kusama/events.d.ts +2543 -0
  7. package/cjs/kusama/index.d.ts +8 -0
  8. package/cjs/kusama/query.d.ts +2378 -0
  9. package/cjs/kusama/registry.d.ts +3 -0
  10. package/cjs/kusama/runtime.d.ts +683 -0
  11. package/cjs/kusama/tx.d.ts +5778 -0
  12. package/cjs/packageDetect.d.ts +1 -0
  13. package/cjs/packageInfo.d.ts +6 -0
  14. package/cjs/packageInfo.js +1 -1
  15. package/cjs/polkadot/consts.d.ts +864 -0
  16. package/cjs/polkadot/errors.d.ts +1954 -0
  17. package/cjs/polkadot/events.d.ts +2024 -0
  18. package/cjs/polkadot/index.d.ts +8 -0
  19. package/cjs/polkadot/query.d.ts +2133 -0
  20. package/cjs/polkadot/registry.d.ts +2 -0
  21. package/cjs/polkadot/runtime.d.ts +683 -0
  22. package/cjs/polkadot/tx.d.ts +4932 -0
  23. package/cjs/substrate/consts.d.ts +1763 -0
  24. package/cjs/substrate/errors.d.ts +3409 -0
  25. package/cjs/substrate/events.d.ts +4300 -0
  26. package/cjs/substrate/index.d.ts +8 -0
  27. package/cjs/substrate/query.d.ts +2582 -0
  28. package/cjs/substrate/registry.d.ts +1 -0
  29. package/cjs/substrate/runtime.d.ts +577 -0
  30. package/cjs/substrate/tx.d.ts +10200 -0
  31. package/kusama/runtime.d.ts +253 -212
  32. package/package.json +368 -128
  33. package/packageInfo.js +1 -1
  34. package/polkadot/consts.d.ts +50 -66
  35. package/polkadot/errors.d.ts +114 -183
  36. package/polkadot/events.d.ts +83 -144
  37. package/polkadot/query.d.ts +159 -100
  38. package/polkadot/runtime.d.ts +315 -179
  39. package/polkadot/tx.d.ts +2770 -636
  40. package/substrate/runtime.d.ts +217 -175
@@ -0,0 +1,2378 @@
1
+ import '@polkadot/api-base/types/storage';
2
+ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, 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, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
+ import type { Observable } from '@polkadot/types/types';
9
+ export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
+ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
11
+ declare module '@polkadot/api-base/types/storage' {
12
+ interface AugmentedQueries<ApiType extends ApiTypes> {
13
+ assetRate: {
14
+ /**
15
+ * Maps an asset to its fixed point representation in the native balance.
16
+ *
17
+ * E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)`
18
+ **/
19
+ conversionRateToNative: AugmentedQuery<ApiType, (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset | {
20
+ V3: any;
21
+ } | {
22
+ V4: any;
23
+ } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
24
+ /**
25
+ * Generic query
26
+ **/
27
+ [key: string]: QueryableStorageEntry<ApiType>;
28
+ };
29
+ auctions: {
30
+ /**
31
+ * Number of auctions started so far.
32
+ **/
33
+ auctionCounter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
34
+ /**
35
+ * Information relating to the current auction, if there is one.
36
+ *
37
+ * The first item in the tuple is the lease period index that the first of the four
38
+ * contiguous lease periods on auction is for. The second is the block number when the
39
+ * auction will "begin to end", i.e. the first block of the Ending Period of the auction.
40
+ **/
41
+ auctionInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
42
+ /**
43
+ * Amounts currently reserved in the accounts of the bidders currently winning
44
+ * (sub-)ranges.
45
+ **/
46
+ reservedAmounts: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<u128>>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
47
+ /**
48
+ * The winning bids for each of the 10 ranges at each sample in the final Ending Period of
49
+ * the current auction. The map's key is the 0-based index into the Sample Size. The
50
+ * first sample of the ending period is 0; the last is `Sample Size - 1`.
51
+ **/
52
+ winning: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<Option<ITuple<[AccountId32, u32, u128]>>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
53
+ /**
54
+ * Generic query
55
+ **/
56
+ [key: string]: QueryableStorageEntry<ApiType>;
57
+ };
58
+ authorityDiscovery: {
59
+ /**
60
+ * Keys of the current authority set.
61
+ **/
62
+ keys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
63
+ /**
64
+ * Keys of the next authority set.
65
+ **/
66
+ nextKeys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
67
+ /**
68
+ * Generic query
69
+ **/
70
+ [key: string]: QueryableStorageEntry<ApiType>;
71
+ };
72
+ authorship: {
73
+ /**
74
+ * Author of current block.
75
+ **/
76
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
77
+ /**
78
+ * Generic query
79
+ **/
80
+ [key: string]: QueryableStorageEntry<ApiType>;
81
+ };
82
+ babe: {
83
+ /**
84
+ * Current epoch authorities.
85
+ **/
86
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
87
+ /**
88
+ * This field should always be populated during block processing unless
89
+ * secondary plain slots are enabled (which don't contain a VRF output).
90
+ *
91
+ * It is set in `on_finalize`, before it will contain the value from the last block.
92
+ **/
93
+ authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
94
+ /**
95
+ * Current slot number.
96
+ **/
97
+ currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
98
+ /**
99
+ * The configuration for the current epoch. Should never be `None` as it is initialized in
100
+ * genesis.
101
+ **/
102
+ epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
103
+ /**
104
+ * Current epoch index.
105
+ **/
106
+ epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
107
+ /**
108
+ * The block numbers when the last and current epoch have started, respectively `N-1` and
109
+ * `N`.
110
+ * NOTE: We track this is in order to annotate the block number when a given pool of
111
+ * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
112
+ * slots, which may be skipped, the block numbers may not line up with the slot numbers.
113
+ **/
114
+ epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
115
+ /**
116
+ * The slot at which the first epoch actually started. This is 0
117
+ * until the first block of the chain.
118
+ **/
119
+ genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
120
+ /**
121
+ * Temporary value (cleared at block finalization) which is `Some`
122
+ * if per-block initialization has already been called for current block.
123
+ **/
124
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
125
+ /**
126
+ * How late the current block is compared to its parent.
127
+ *
128
+ * This entry is populated as part of block execution and is cleaned up
129
+ * on block finalization. Querying this storage entry outside of block
130
+ * execution context should always yield zero.
131
+ **/
132
+ lateness: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
133
+ /**
134
+ * Next epoch authorities.
135
+ **/
136
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
137
+ /**
138
+ * The configuration for the next epoch, `None` if the config will not change
139
+ * (you can fallback to `EpochConfig` instead in that case).
140
+ **/
141
+ nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
142
+ /**
143
+ * Next epoch randomness.
144
+ **/
145
+ nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
146
+ /**
147
+ * Pending epoch configuration change that will be applied when the next epoch is enacted.
148
+ **/
149
+ pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
150
+ /**
151
+ * The epoch randomness for the *current* epoch.
152
+ *
153
+ * # Security
154
+ *
155
+ * This MUST NOT be used for gambling, as it can be influenced by a
156
+ * malicious validator in the short term. It MAY be used in many
157
+ * cryptographic protocols, however, so long as one remembers that this
158
+ * (like everything else on-chain) it is public. For example, it can be
159
+ * used where a number is needed that cannot have been chosen by an
160
+ * adversary, for purposes such as public-coin zero-knowledge proofs.
161
+ **/
162
+ randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
163
+ /**
164
+ * Randomness under construction.
165
+ *
166
+ * We make a trade-off between storage accesses and list length.
167
+ * We store the under-construction randomness in segments of up to
168
+ * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
169
+ *
170
+ * Once a segment reaches this length, we begin the next one.
171
+ * We reset all segments and return to `0` at the beginning of every
172
+ * epoch.
173
+ **/
174
+ segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
175
+ /**
176
+ * A list of the last 100 skipped epochs and the corresponding session index
177
+ * when the epoch was skipped.
178
+ *
179
+ * This is only used for validating equivocation proofs. An equivocation proof
180
+ * must contains a key-ownership proof for a given session, therefore we need a
181
+ * way to tie together sessions and epoch indices, i.e. we need to validate that
182
+ * a validator was the owner of a given key on a given session, and what the
183
+ * active epoch index was during that session.
184
+ **/
185
+ skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
186
+ /**
187
+ * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
188
+ **/
189
+ underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
190
+ /**
191
+ * Generic query
192
+ **/
193
+ [key: string]: QueryableStorageEntry<ApiType>;
194
+ };
195
+ balances: {
196
+ /**
197
+ * The Balances pallet example of storing the balance of an account.
198
+ *
199
+ * # Example
200
+ *
201
+ * ```nocompile
202
+ * impl pallet_balances::Config for Runtime {
203
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
204
+ * }
205
+ * ```
206
+ *
207
+ * You can also store the balance of an account in the `System` pallet.
208
+ *
209
+ * # Example
210
+ *
211
+ * ```nocompile
212
+ * impl pallet_balances::Config for Runtime {
213
+ * type AccountStore = System
214
+ * }
215
+ * ```
216
+ *
217
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
218
+ * `frame_system` data alongside the account data contrary to storing account balances in the
219
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
220
+ * NOTE: This is only used in the case that this pallet is used to store balances.
221
+ **/
222
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
223
+ /**
224
+ * Freeze locks on account balances.
225
+ **/
226
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
227
+ readonly id: StagingKusamaRuntimeRuntimeFreezeReason;
228
+ readonly amount: u128;
229
+ } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
230
+ /**
231
+ * Holds on account balances.
232
+ **/
233
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
234
+ readonly id: StagingKusamaRuntimeRuntimeHoldReason;
235
+ readonly amount: u128;
236
+ } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
237
+ /**
238
+ * The total units of outstanding deactivated balance in the system.
239
+ **/
240
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
241
+ /**
242
+ * Any liquidity locks on some account balances.
243
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
244
+ *
245
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
246
+ **/
247
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
248
+ /**
249
+ * Named reserves on some account balances.
250
+ *
251
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
252
+ **/
253
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
254
+ /**
255
+ * The total units issued in the system.
256
+ **/
257
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
258
+ /**
259
+ * Generic query
260
+ **/
261
+ [key: string]: QueryableStorageEntry<ApiType>;
262
+ };
263
+ beefy: {
264
+ /**
265
+ * The current authorities set
266
+ **/
267
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
268
+ /**
269
+ * Block number where BEEFY consensus is enabled/started.
270
+ * By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
271
+ * restarted from the newly set block number.
272
+ **/
273
+ genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
274
+ /**
275
+ * Authorities set scheduled to be used with the next session
276
+ **/
277
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
278
+ /**
279
+ * A mapping from BEEFY set ID to the index of the *most recent* session for which its
280
+ * members were responsible.
281
+ *
282
+ * This is only used for validating equivocation proofs. An equivocation proof must
283
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
284
+ * together sessions and BEEFY set ids, i.e. we need to validate that a validator
285
+ * was the owner of a given key on a given session, and what the active set ID was
286
+ * during that session.
287
+ *
288
+ * TWOX-NOTE: `ValidatorSetId` is not under user control.
289
+ **/
290
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
291
+ /**
292
+ * The current validator set id
293
+ **/
294
+ validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
295
+ /**
296
+ * Generic query
297
+ **/
298
+ [key: string]: QueryableStorageEntry<ApiType>;
299
+ };
300
+ beefyMmrLeaf: {
301
+ /**
302
+ * Details of current BEEFY authority set.
303
+ **/
304
+ beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
305
+ /**
306
+ * Details of next BEEFY authority set.
307
+ *
308
+ * This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
309
+ **/
310
+ beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
311
+ /**
312
+ * Generic query
313
+ **/
314
+ [key: string]: QueryableStorageEntry<ApiType>;
315
+ };
316
+ bounties: {
317
+ /**
318
+ * Bounties that have been made.
319
+ **/
320
+ bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
321
+ /**
322
+ * Bounty indices that have been approved but not yet funded.
323
+ **/
324
+ bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
325
+ /**
326
+ * Number of bounty proposals that have been made.
327
+ **/
328
+ bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
329
+ /**
330
+ * The description of each bounty.
331
+ **/
332
+ bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
333
+ /**
334
+ * Generic query
335
+ **/
336
+ [key: string]: QueryableStorageEntry<ApiType>;
337
+ };
338
+ childBounties: {
339
+ /**
340
+ * Child bounties that have been added.
341
+ **/
342
+ childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
343
+ /**
344
+ * Number of total child bounties.
345
+ **/
346
+ childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
347
+ /**
348
+ * The description of each child-bounty.
349
+ **/
350
+ childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
351
+ /**
352
+ * The cumulative child-bounty curator fee for each parent bounty.
353
+ **/
354
+ childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
355
+ /**
356
+ * Number of child bounties per parent bounty.
357
+ * Map of parent bounty index to number of child bounties.
358
+ **/
359
+ parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
360
+ /**
361
+ * Generic query
362
+ **/
363
+ [key: string]: QueryableStorageEntry<ApiType>;
364
+ };
365
+ claims: {
366
+ claims: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<u128>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
367
+ /**
368
+ * Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
369
+ **/
370
+ preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<EthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
371
+ /**
372
+ * The statement kind that must be signed, if any.
373
+ **/
374
+ signing: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<PolkadotRuntimeCommonClaimsStatementKind>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
375
+ total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
376
+ /**
377
+ * Vesting schedule for a claim.
378
+ * First balance is the total amount that should be held for vesting.
379
+ * Second balance is how much should be unlocked per block.
380
+ * The block number is when the vesting should start.
381
+ **/
382
+ vesting: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<ITuple<[u128, u128, u32]>>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
383
+ /**
384
+ * Generic query
385
+ **/
386
+ [key: string]: QueryableStorageEntry<ApiType>;
387
+ };
388
+ configuration: {
389
+ /**
390
+ * The active configuration for the current session.
391
+ **/
392
+ activeConfig: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsConfigurationHostConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
393
+ /**
394
+ * If this is set, then the configuration setters will bypass the consistency checks. This
395
+ * is meant to be used only as the last resort.
396
+ **/
397
+ bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
398
+ /**
399
+ * Pending configuration changes.
400
+ *
401
+ * This is a list of configuration changes, each with a session index at which it should
402
+ * be applied.
403
+ *
404
+ * The list is sorted ascending by session index. Also, this list can only contain at most
405
+ * 2 items: for the next session and for the `scheduled_session`.
406
+ **/
407
+ pendingConfigs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>>, []> & QueryableStorageEntry<ApiType, []>;
408
+ /**
409
+ * Generic query
410
+ **/
411
+ [key: string]: QueryableStorageEntry<ApiType>;
412
+ };
413
+ convictionVoting: {
414
+ /**
415
+ * The voting classes which have a non-zero lock requirement and the lock amounts which they
416
+ * require. The actual amount locked on behalf of this pallet should always be the maximum of
417
+ * this list.
418
+ **/
419
+ classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
420
+ /**
421
+ * All voting for a particular voter in a particular voting class. We store the balance for the
422
+ * number of votes that we have recorded.
423
+ **/
424
+ votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
425
+ /**
426
+ * Generic query
427
+ **/
428
+ [key: string]: QueryableStorageEntry<ApiType>;
429
+ };
430
+ coretimeAssignmentProvider: {
431
+ /**
432
+ * Assignments which are currently active.
433
+ *
434
+ * They will be picked from `PendingAssignments` once we reach the scheduled block number in
435
+ * `PendingAssignments`.
436
+ **/
437
+ coreDescriptors: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
438
+ /**
439
+ * Scheduled assignment sets.
440
+ *
441
+ * Assignments as of the given block number. They will go into state once the block number is
442
+ * reached (and replace whatever was in there before).
443
+ **/
444
+ coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
445
+ /**
446
+ * Generic query
447
+ **/
448
+ [key: string]: QueryableStorageEntry<ApiType>;
449
+ };
450
+ crowdloan: {
451
+ /**
452
+ * The number of auctions that have entered into their ending period so far.
453
+ **/
454
+ endingsCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
455
+ /**
456
+ * Info on all of the funds.
457
+ **/
458
+ funds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonCrowdloanFundInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
459
+ /**
460
+ * The funds that have had additional contributions during the last block. This is used
461
+ * in order to determine which funds should submit new or updated bids.
462
+ **/
463
+ newRaise: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
464
+ /**
465
+ * Tracker for the next available fund index
466
+ **/
467
+ nextFundIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
468
+ /**
469
+ * Generic query
470
+ **/
471
+ [key: string]: QueryableStorageEntry<ApiType>;
472
+ };
473
+ dmp: {
474
+ /**
475
+ * The factor to multiply the base delivery fee by.
476
+ **/
477
+ deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
478
+ /**
479
+ * A mapping that stores the downward message queue MQC head for each para.
480
+ *
481
+ * Each link in this chain has a form:
482
+ * `(prev_head, B, H(M))`, where
483
+ * - `prev_head`: is the previous head hash or zero if none.
484
+ * - `B`: is the relay-chain block number in which a message was appended.
485
+ * - `H(M)`: is the hash of the message being appended.
486
+ **/
487
+ downwardMessageQueueHeads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
488
+ /**
489
+ * The downward messages addressed for a certain para.
490
+ **/
491
+ downwardMessageQueues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundDownwardMessage>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
492
+ /**
493
+ * Generic query
494
+ **/
495
+ [key: string]: QueryableStorageEntry<ApiType>;
496
+ };
497
+ electionProviderMultiPhase: {
498
+ /**
499
+ * Current phase.
500
+ **/
501
+ currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
502
+ /**
503
+ * Desired number of targets to elect for this round.
504
+ *
505
+ * Only exists when [`Snapshot`] is present.
506
+ * Note: This storage type must only be mutated through [`SnapshotWrapper`].
507
+ **/
508
+ desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
509
+ /**
510
+ * The minimum score that each 'untrusted' solution must attain in order to be considered
511
+ * feasible.
512
+ *
513
+ * Can be set via `set_minimum_untrusted_score`.
514
+ **/
515
+ minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
516
+ /**
517
+ * Current best solution, signed or unsigned, queued to be returned upon `elect`.
518
+ *
519
+ * Always sorted by score.
520
+ **/
521
+ queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
522
+ /**
523
+ * Internal counter for the number of rounds.
524
+ *
525
+ * This is useful for de-duplication of transactions submitted to the pool, and general
526
+ * diagnostics of the pallet.
527
+ *
528
+ * This is merely incremented once per every time that an upstream `elect` is called.
529
+ **/
530
+ round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
531
+ /**
532
+ * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
533
+ * value in `SignedSubmissions`.
534
+ *
535
+ * We never need to process more than a single signed submission at a time. Signed submissions
536
+ * can be quite large, so we're willing to pay the cost of multiple database accesses to access
537
+ * them one at a time instead of reading and decoding all of them at once.
538
+ **/
539
+ signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
540
+ /**
541
+ * The next index to be assigned to an incoming signed submission.
542
+ *
543
+ * Every accepted submission is assigned a unique index; that index is bound to that particular
544
+ * submission for the duration of the election. On election finalization, the next index is
545
+ * reset to 0.
546
+ *
547
+ * We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
548
+ * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
549
+ * because iteration is slow. Instead, we store the value here.
550
+ **/
551
+ signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
552
+ /**
553
+ * Unchecked, signed solutions.
554
+ *
555
+ * Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
556
+ * allowing us to keep only a single one in memory at a time.
557
+ *
558
+ * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
559
+ * affect; we shouldn't need a cryptographically secure hasher.
560
+ **/
561
+ signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
562
+ /**
563
+ * Snapshot data of the round.
564
+ *
565
+ * This is created at the beginning of the signed phase and cleared upon calling `elect`.
566
+ * Note: This storage type must only be mutated through [`SnapshotWrapper`].
567
+ **/
568
+ snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
569
+ /**
570
+ * The metadata of the [`RoundSnapshot`]
571
+ *
572
+ * Only exists when [`Snapshot`] is present.
573
+ * Note: This storage type must only be mutated through [`SnapshotWrapper`].
574
+ **/
575
+ snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
576
+ /**
577
+ * Generic query
578
+ **/
579
+ [key: string]: QueryableStorageEntry<ApiType>;
580
+ };
581
+ fastUnstake: {
582
+ /**
583
+ * Counter for the related counted storage map
584
+ **/
585
+ counterForQueue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
586
+ /**
587
+ * Number of eras to check per block.
588
+ *
589
+ * If set to 0, this pallet does absolutely nothing. Cannot be set to more than
590
+ * [`Config::MaxErasToCheckPerBlock`].
591
+ *
592
+ * Based on the amount of weight available at [`Pallet::on_idle`], up to this many eras are
593
+ * checked. The checking is represented by updating [`UnstakeRequest::checked`], which is
594
+ * stored in [`Head`].
595
+ **/
596
+ erasToCheckPerBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
597
+ /**
598
+ * The current "head of the queue" being unstaked.
599
+ *
600
+ * The head in itself can be a batch of up to [`Config::BatchSize`] stakers.
601
+ **/
602
+ head: AugmentedQuery<ApiType, () => Observable<Option<PalletFastUnstakeUnstakeRequest>>, []> & QueryableStorageEntry<ApiType, []>;
603
+ /**
604
+ * The map of all accounts wishing to be unstaked.
605
+ *
606
+ * Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
607
+ **/
608
+ queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
609
+ /**
610
+ * Generic query
611
+ **/
612
+ [key: string]: QueryableStorageEntry<ApiType>;
613
+ };
614
+ fellowshipCollective: {
615
+ /**
616
+ * The index of each ranks's member into the group of members who have at least that rank.
617
+ **/
618
+ idToIndex: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u16, AccountId32]> & QueryableStorageEntry<ApiType, [u16, AccountId32]>;
619
+ /**
620
+ * The members in the collective by index. All indices in the range `0..MemberCount` will
621
+ * return `Some`, however a member's index is not guaranteed to remain unchanged over time.
622
+ **/
623
+ indexToId: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u16, u32]> & QueryableStorageEntry<ApiType, [u16, u32]>;
624
+ /**
625
+ * The number of members in the collective who have at least the rank according to the index
626
+ * of the vec.
627
+ **/
628
+ memberCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
629
+ /**
630
+ * The current members of the collective.
631
+ **/
632
+ members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
633
+ /**
634
+ * Votes on a given proposal, if it is ongoing.
635
+ **/
636
+ voting: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveVoteRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
637
+ votingCleanup: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
638
+ /**
639
+ * Generic query
640
+ **/
641
+ [key: string]: QueryableStorageEntry<ApiType>;
642
+ };
643
+ fellowshipReferenda: {
644
+ /**
645
+ * The number of referenda being decided currently.
646
+ **/
647
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
648
+ /**
649
+ * The metadata is a general information concerning the referendum.
650
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
651
+ * dump or IPFS hash of a JSON file.
652
+ *
653
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
654
+ * large preimages.
655
+ **/
656
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
657
+ /**
658
+ * The next free referendum index, aka the number of referenda started so far.
659
+ **/
660
+ referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
661
+ /**
662
+ * Information concerning any given referendum.
663
+ **/
664
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoRankedCollectiveTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
665
+ /**
666
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
667
+ * conviction-weighted approvals.
668
+ *
669
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
670
+ **/
671
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
672
+ /**
673
+ * Generic query
674
+ **/
675
+ [key: string]: QueryableStorageEntry<ApiType>;
676
+ };
677
+ grandpa: {
678
+ /**
679
+ * The current list of authorities.
680
+ **/
681
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
682
+ /**
683
+ * The number of changes (both in terms of keys and underlying economic responsibilities)
684
+ * in the "set" of Grandpa validators from genesis.
685
+ **/
686
+ currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
687
+ /**
688
+ * next block number where we can force a change.
689
+ **/
690
+ nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
691
+ /**
692
+ * Pending change: (signaled at, scheduled change).
693
+ **/
694
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
695
+ /**
696
+ * A mapping from grandpa set ID to the index of the *most recent* session for which its
697
+ * members were responsible.
698
+ *
699
+ * This is only used for validating equivocation proofs. An equivocation proof must
700
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
701
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
702
+ * was the owner of a given key on a given session, and what the active set ID was
703
+ * during that session.
704
+ *
705
+ * TWOX-NOTE: `SetId` is not under user control.
706
+ **/
707
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
708
+ /**
709
+ * `true` if we are currently stalled.
710
+ **/
711
+ stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
712
+ /**
713
+ * State of the current authority set.
714
+ **/
715
+ state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
716
+ /**
717
+ * Generic query
718
+ **/
719
+ [key: string]: QueryableStorageEntry<ApiType>;
720
+ };
721
+ historical: {
722
+ /**
723
+ * Mapping from historical session indices to session-data root hash and validator count.
724
+ **/
725
+ historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
726
+ /**
727
+ * The range of historical sessions we store. [first, last)
728
+ **/
729
+ storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
730
+ /**
731
+ * Generic query
732
+ **/
733
+ [key: string]: QueryableStorageEntry<ApiType>;
734
+ };
735
+ hrmp: {
736
+ /**
737
+ * This mapping tracks how many open channel requests were accepted by a given recipient para.
738
+ * Invariant: `HrmpOpenChannelRequests` should contain the same number of items `(_, X)` with
739
+ * `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`.
740
+ **/
741
+ hrmpAcceptedChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
742
+ /**
743
+ * Storage for the messages for each channel.
744
+ * Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`.
745
+ **/
746
+ hrmpChannelContents: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | {
747
+ sender?: any;
748
+ recipient?: any;
749
+ } | string | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundHrmpMessage>>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]>;
750
+ /**
751
+ * Maintains a mapping that can be used to answer the question: What paras sent a message at
752
+ * the given block number for a given receiver. Invariants:
753
+ * - The inner `Vec<ParaId>` is never empty.
754
+ * - The inner `Vec<ParaId>` cannot store two same `ParaId`.
755
+ * - The outer vector is sorted ascending by block number and cannot store two items with the
756
+ * same block number.
757
+ **/
758
+ hrmpChannelDigests: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Vec<u32>]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
759
+ /**
760
+ * HRMP channel data associated with each para.
761
+ * Invariant:
762
+ * - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session.
763
+ **/
764
+ hrmpChannels: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | {
765
+ sender?: any;
766
+ recipient?: any;
767
+ } | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpChannel>>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]>;
768
+ /**
769
+ * A set of pending HRMP close channel requests that are going to be closed during the session
770
+ * change. Used for checking if a given channel is registered for closure.
771
+ *
772
+ * The set is accompanied by a list for iteration.
773
+ *
774
+ * Invariant:
775
+ * - There are no channels that exists in list but not in the set and vice versa.
776
+ **/
777
+ hrmpCloseChannelRequests: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | {
778
+ sender?: any;
779
+ recipient?: any;
780
+ } | string | Uint8Array) => Observable<Option<Null>>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]>;
781
+ hrmpCloseChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
782
+ hrmpEgressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
783
+ /**
784
+ * Ingress/egress indexes allow to find all the senders and receivers given the opposite side.
785
+ * I.e.
786
+ *
787
+ * (a) ingress index allows to find all the senders for a given recipient.
788
+ * (b) egress index allows to find all the recipients for a given sender.
789
+ *
790
+ * Invariants:
791
+ * - for each ingress index entry for `P` each item `I` in the index should present in
792
+ * `HrmpChannels` as `(I, P)`.
793
+ * - for each egress index entry for `P` each item `E` in the index should present in
794
+ * `HrmpChannels` as `(P, E)`.
795
+ * - there should be no other dangling channels in `HrmpChannels`.
796
+ * - the vectors are sorted.
797
+ **/
798
+ hrmpIngressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
799
+ /**
800
+ * This mapping tracks how many open channel requests are initiated by a given sender para.
801
+ * Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has
802
+ * `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`.
803
+ **/
804
+ hrmpOpenChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
805
+ /**
806
+ * The set of pending HRMP open channel requests.
807
+ *
808
+ * The set is accompanied by a list for iteration.
809
+ *
810
+ * Invariant:
811
+ * - There are no channels that exists in list but not in the set and vice versa.
812
+ **/
813
+ hrmpOpenChannelRequests: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | {
814
+ sender?: any;
815
+ recipient?: any;
816
+ } | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest>>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]>;
817
+ hrmpOpenChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
818
+ /**
819
+ * The HRMP watermark associated with each para.
820
+ * Invariant:
821
+ * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a
822
+ * session.
823
+ **/
824
+ hrmpWatermarks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
825
+ /**
826
+ * Generic query
827
+ **/
828
+ [key: string]: QueryableStorageEntry<ApiType>;
829
+ };
830
+ indices: {
831
+ /**
832
+ * The lookup from index to account.
833
+ **/
834
+ accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
835
+ /**
836
+ * Generic query
837
+ **/
838
+ [key: string]: QueryableStorageEntry<ApiType>;
839
+ };
840
+ initializer: {
841
+ /**
842
+ * Buffered session changes along with the block number at which they should be applied.
843
+ *
844
+ * Typically this will be empty or one element long. Apart from that this item never hits
845
+ * the storage.
846
+ *
847
+ * However this is a `Vec` regardless to handle various edge cases that may occur at runtime
848
+ * upgrade boundaries or if governance intervenes.
849
+ **/
850
+ bufferedSessionChanges: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>, []> & QueryableStorageEntry<ApiType, []>;
851
+ /**
852
+ * Whether the parachains modules have been initialized within this block.
853
+ *
854
+ * Semantically a `bool`, but this guarantees it should never hit the trie,
855
+ * as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.
856
+ *
857
+ * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one
858
+ * of them writes to the trie and one does not. This confusion makes `Option<()>` more suitable
859
+ * for the semantics of this variable.
860
+ **/
861
+ hasInitialized: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
862
+ /**
863
+ * Generic query
864
+ **/
865
+ [key: string]: QueryableStorageEntry<ApiType>;
866
+ };
867
+ messageQueue: {
868
+ /**
869
+ * The index of the first and last (non-empty) pages.
870
+ **/
871
+ bookStateFor: AugmentedQuery<ApiType, (arg: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
872
+ Ump: any;
873
+ } | string | Uint8Array) => Observable<PalletMessageQueueBookState>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin]>;
874
+ /**
875
+ * The map of page indices to pages.
876
+ **/
877
+ pages: AugmentedQuery<ApiType, (arg1: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
878
+ Ump: any;
879
+ } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32]>;
880
+ /**
881
+ * The origin at which we should begin servicing.
882
+ **/
883
+ serviceHead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotRuntimeParachainsInclusionAggregateMessageOrigin>>, []> & QueryableStorageEntry<ApiType, []>;
884
+ /**
885
+ * Generic query
886
+ **/
887
+ [key: string]: QueryableStorageEntry<ApiType>;
888
+ };
889
+ mmr: {
890
+ /**
891
+ * Hashes of the nodes in the MMR.
892
+ *
893
+ * Note this collection only contains MMR peaks, the inner nodes (and leaves)
894
+ * are pruned and only stored in the Offchain DB.
895
+ **/
896
+ nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
897
+ /**
898
+ * Current size of the MMR (number of leaves).
899
+ **/
900
+ numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
901
+ /**
902
+ * Latest MMR Root hash.
903
+ **/
904
+ rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
905
+ /**
906
+ * Generic query
907
+ **/
908
+ [key: string]: QueryableStorageEntry<ApiType>;
909
+ };
910
+ multisig: {
911
+ /**
912
+ * The set of open multisig operations.
913
+ **/
914
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
915
+ /**
916
+ * Generic query
917
+ **/
918
+ [key: string]: QueryableStorageEntry<ApiType>;
919
+ };
920
+ nis: {
921
+ /**
922
+ * The queues of bids. Indexed by duration (in `Period`s).
923
+ **/
924
+ queues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletNisBid>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
925
+ /**
926
+ * The totals of items and balances within each queue. Saves a lot of storage reads in the
927
+ * case of sparsely packed queues.
928
+ *
929
+ * The vector is indexed by duration in `Period`s, offset by one, so information on the queue
930
+ * whose duration is one `Period` would be storage `0`.
931
+ **/
932
+ queueTotals: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
933
+ /**
934
+ * The currently outstanding receipts, indexed according to the order of creation.
935
+ **/
936
+ receipts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNisReceiptRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
937
+ /**
938
+ * Summary information over the general state.
939
+ **/
940
+ summary: AugmentedQuery<ApiType, () => Observable<PalletNisSummaryRecord>, []> & QueryableStorageEntry<ApiType, []>;
941
+ /**
942
+ * Generic query
943
+ **/
944
+ [key: string]: QueryableStorageEntry<ApiType>;
945
+ };
946
+ nisCounterpartBalances: {
947
+ /**
948
+ * The Balances pallet example of storing the balance of an account.
949
+ *
950
+ * # Example
951
+ *
952
+ * ```nocompile
953
+ * impl pallet_balances::Config for Runtime {
954
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
955
+ * }
956
+ * ```
957
+ *
958
+ * You can also store the balance of an account in the `System` pallet.
959
+ *
960
+ * # Example
961
+ *
962
+ * ```nocompile
963
+ * impl pallet_balances::Config for Runtime {
964
+ * type AccountStore = System
965
+ * }
966
+ * ```
967
+ *
968
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
969
+ * `frame_system` data alongside the account data contrary to storing account balances in the
970
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
971
+ * NOTE: This is only used in the case that this pallet is used to store balances.
972
+ **/
973
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
974
+ /**
975
+ * Freeze locks on account balances.
976
+ **/
977
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
978
+ /**
979
+ * Holds on account balances.
980
+ **/
981
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
982
+ readonly id: StagingKusamaRuntimeRuntimeHoldReason;
983
+ readonly amount: u128;
984
+ } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
985
+ /**
986
+ * The total units of outstanding deactivated balance in the system.
987
+ **/
988
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
989
+ /**
990
+ * Any liquidity locks on some account balances.
991
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
992
+ *
993
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
994
+ **/
995
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
996
+ /**
997
+ * Named reserves on some account balances.
998
+ *
999
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
1000
+ **/
1001
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1002
+ /**
1003
+ * The total units issued in the system.
1004
+ **/
1005
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1006
+ /**
1007
+ * Generic query
1008
+ **/
1009
+ [key: string]: QueryableStorageEntry<ApiType>;
1010
+ };
1011
+ nominationPools: {
1012
+ /**
1013
+ * Storage for bonded pools.
1014
+ **/
1015
+ bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1016
+ /**
1017
+ * Map from a pool member account to their opted claim permission.
1018
+ **/
1019
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1020
+ /**
1021
+ * Counter for the related counted storage map
1022
+ **/
1023
+ counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1024
+ /**
1025
+ * Counter for the related counted storage map
1026
+ **/
1027
+ counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1028
+ /**
1029
+ * Counter for the related counted storage map
1030
+ **/
1031
+ counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1032
+ /**
1033
+ * Counter for the related counted storage map
1034
+ **/
1035
+ counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1036
+ /**
1037
+ * Counter for the related counted storage map
1038
+ **/
1039
+ counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1040
+ /**
1041
+ * Counter for the related counted storage map
1042
+ **/
1043
+ counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1044
+ /**
1045
+ * The maximum commission that can be charged by a pool. Used on commission payouts to bound
1046
+ * pool commissions that are > `GlobalMaxCommission`, necessary if a future
1047
+ * `GlobalMaxCommission` is lower than some current pool commissions.
1048
+ **/
1049
+ globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
1050
+ /**
1051
+ * Ever increasing number of all pools created so far.
1052
+ **/
1053
+ lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1054
+ /**
1055
+ * Maximum number of members that can exist in the system. If `None`, then the count
1056
+ * members are not bound on a system wide basis.
1057
+ **/
1058
+ maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1059
+ /**
1060
+ * Maximum number of members that may belong to pool. If `None`, then the count of
1061
+ * members is not bound on a per pool basis.
1062
+ **/
1063
+ maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1064
+ /**
1065
+ * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
1066
+ * pools can exist.
1067
+ **/
1068
+ maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1069
+ /**
1070
+ * Metadata for the pool.
1071
+ **/
1072
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1073
+ /**
1074
+ * Minimum bond required to create a pool.
1075
+ *
1076
+ * This is the amount that the depositor must put as their initial stake in the pool, as an
1077
+ * indication of "skin in the game".
1078
+ *
1079
+ * This is the value that will always exist in the staking ledger of the pool bonded account
1080
+ * while all other accounts leave.
1081
+ **/
1082
+ minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1083
+ /**
1084
+ * Minimum amount to bond to join a pool.
1085
+ **/
1086
+ minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1087
+ /**
1088
+ * Active members.
1089
+ *
1090
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1091
+ **/
1092
+ poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1093
+ /**
1094
+ * A reverse lookup from the pool's account id to its id.
1095
+ *
1096
+ * This is only used for slashing and on automatic withdraw update. In all other instances, the
1097
+ * pool id is used, and the accounts are deterministically derived from it.
1098
+ **/
1099
+ reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1100
+ /**
1101
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
1102
+ * claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
1103
+ **/
1104
+ rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1105
+ /**
1106
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a
1107
+ * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
1108
+ **/
1109
+ subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1110
+ /**
1111
+ * The sum of funds across all pools.
1112
+ *
1113
+ * This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
1114
+ * because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
1115
+ * `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
1116
+ **/
1117
+ totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1118
+ /**
1119
+ * Generic query
1120
+ **/
1121
+ [key: string]: QueryableStorageEntry<ApiType>;
1122
+ };
1123
+ offences: {
1124
+ /**
1125
+ * A vector of reports of the same kind that happened at the same time slot.
1126
+ **/
1127
+ concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
1128
+ /**
1129
+ * The primary structure that holds all offence records keyed by report identifiers.
1130
+ **/
1131
+ reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1132
+ /**
1133
+ * Generic query
1134
+ **/
1135
+ [key: string]: QueryableStorageEntry<ApiType>;
1136
+ };
1137
+ onDemandAssignmentProvider: {
1138
+ /**
1139
+ * Queue entries that are currently bound to a particular core due to core affinity.
1140
+ **/
1141
+ affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1142
+ /**
1143
+ * Priority queue for all orders which don't yet (or not any more) have any core affinity.
1144
+ **/
1145
+ freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1146
+ /**
1147
+ * Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
1148
+ * it's lookahead. Keeping track of this affinity prevents parallel execution of the same
1149
+ * `ParaId` on two or more `CoreIndex`es.
1150
+ **/
1151
+ paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1152
+ /**
1153
+ * Overall status of queue (both free + affinity entries)
1154
+ **/
1155
+ queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
1156
+ /**
1157
+ * Keeps track of accumulated revenue from on demand order sales.
1158
+ **/
1159
+ revenue: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
1160
+ /**
1161
+ * Generic query
1162
+ **/
1163
+ [key: string]: QueryableStorageEntry<ApiType>;
1164
+ };
1165
+ paraInclusion: {
1166
+ /**
1167
+ * Candidates pending availability by `ParaId`. They form a chain starting from the latest
1168
+ * included head of the para.
1169
+ * Use a different prefix post-migration to v1, since the v0 `PendingAvailability` storage
1170
+ * would otherwise have the exact same prefix which could cause undefined behaviour when doing
1171
+ * the migration.
1172
+ **/
1173
+ v1: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1174
+ /**
1175
+ * Generic query
1176
+ **/
1177
+ [key: string]: QueryableStorageEntry<ApiType>;
1178
+ };
1179
+ paraInherent: {
1180
+ /**
1181
+ * Whether the paras inherent was included within this block.
1182
+ *
1183
+ * The `Option<()>` is effectively a `bool`, but it never hits storage in the `None` variant
1184
+ * due to the guarantees of FRAME's storage APIs.
1185
+ *
1186
+ * If this is `None` at the end of the block, we panic and render the block invalid.
1187
+ **/
1188
+ included: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
1189
+ /**
1190
+ * Scraped on chain data for extracting resolved disputes as well as backing votes.
1191
+ **/
1192
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV7ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1193
+ /**
1194
+ * Generic query
1195
+ **/
1196
+ [key: string]: QueryableStorageEntry<ApiType>;
1197
+ };
1198
+ parameters: {
1199
+ /**
1200
+ * Stored parameters.
1201
+ **/
1202
+ parameters: AugmentedQuery<ApiType, (arg: StagingKusamaRuntimeRuntimeParametersKey | {
1203
+ Inflation: any;
1204
+ } | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeRuntimeParametersValue>>, [StagingKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [StagingKusamaRuntimeRuntimeParametersKey]>;
1205
+ /**
1206
+ * Generic query
1207
+ **/
1208
+ [key: string]: QueryableStorageEntry<ApiType>;
1209
+ };
1210
+ paras: {
1211
+ /**
1212
+ * The actions to perform during the start of a specific session index.
1213
+ **/
1214
+ actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1215
+ /**
1216
+ * Validation code stored by its hash.
1217
+ *
1218
+ * This storage is consistent with [`FutureCodeHash`], [`CurrentCodeHash`] and
1219
+ * [`PastCodeHash`].
1220
+ **/
1221
+ codeByHash: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1222
+ /**
1223
+ * The number of reference on the validation code in [`CodeByHash`] storage.
1224
+ **/
1225
+ codeByHashRefs: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1226
+ /**
1227
+ * The validation code hash of every live para.
1228
+ *
1229
+ * Corresponding code can be retrieved with [`CodeByHash`].
1230
+ **/
1231
+ currentCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1232
+ /**
1233
+ * The actual future code hash of a para.
1234
+ *
1235
+ * Corresponding code can be retrieved with [`CodeByHash`].
1236
+ **/
1237
+ futureCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1238
+ /**
1239
+ * The block number at which the planned code change is expected for a parachain.
1240
+ *
1241
+ * The change will be applied after the first parablock for this ID included which executes
1242
+ * in the context of a relay chain block with a number >= `expected_at`.
1243
+ **/
1244
+ futureCodeUpgrades: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1245
+ /**
1246
+ * The list of upcoming future code upgrades.
1247
+ *
1248
+ * Each item is a pair of the parachain and the expected block at which the upgrade should be
1249
+ * applied. The upgrade will be applied at the given relay chain block. In contrast to
1250
+ * [`FutureCodeUpgrades`] this code upgrade will be applied regardless the parachain making any
1251
+ * progress or not.
1252
+ *
1253
+ * Ordered ascending by block number.
1254
+ **/
1255
+ futureCodeUpgradesAt: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1256
+ /**
1257
+ * The head-data of every registered para.
1258
+ **/
1259
+ heads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1260
+ /**
1261
+ * The context (relay-chain block number) of the most recent parachain head.
1262
+ **/
1263
+ mostRecentContext: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1264
+ /**
1265
+ * All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
1266
+ * included.
1267
+ *
1268
+ * Consider using the [`ParachainsCache`] type of modifying.
1269
+ **/
1270
+ parachains: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1271
+ /**
1272
+ * The current lifecycle of a all known Para IDs.
1273
+ **/
1274
+ paraLifecycles: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaLifecycle>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1275
+ /**
1276
+ * Actual past code hash, indicated by the para id as well as the block number at which it
1277
+ * became outdated.
1278
+ *
1279
+ * Corresponding code can be retrieved with [`CodeByHash`].
1280
+ **/
1281
+ pastCodeHash: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<H256>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
1282
+ /**
1283
+ * Past code of parachains. The parachains themselves may not be registered anymore,
1284
+ * but we also keep their code on-chain for the same amount of time as outdated code
1285
+ * to keep it available for approval checkers.
1286
+ **/
1287
+ pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1288
+ /**
1289
+ * Which paras have past code that needs pruning and the relay-chain block at which the code
1290
+ * was replaced. Note that this is the actual height of the included block, not the expected
1291
+ * height at which the code upgrade would be applied, although they may be equal.
1292
+ * This is to ensure the entire acceptance period is covered, not an offset acceptance period
1293
+ * starting from the time at which the parachain perceives a code upgrade as having occurred.
1294
+ * Multiple entries for a single para are permitted. Ordered ascending by block number.
1295
+ **/
1296
+ pastCodePruning: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1297
+ /**
1298
+ * The list of all currently active PVF votes. Auxiliary to `PvfActiveVoteMap`.
1299
+ **/
1300
+ pvfActiveVoteList: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
1301
+ /**
1302
+ * All currently active PVF pre-checking votes.
1303
+ *
1304
+ * Invariant:
1305
+ * - There are no PVF pre-checking votes that exists in list but not in the set and vice versa.
1306
+ **/
1307
+ pvfActiveVoteMap: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1308
+ /**
1309
+ * Upcoming paras instantiation arguments.
1310
+ *
1311
+ * NOTE that after PVF pre-checking is enabled the para genesis arg will have it's code set
1312
+ * to empty. Instead, the code will be saved into the storage right away via `CodeByHash`.
1313
+ **/
1314
+ upcomingParasGenesis: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaGenesisArgs>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1315
+ /**
1316
+ * The list of upcoming code upgrades.
1317
+ *
1318
+ * Each item is a pair of which para performs a code upgrade and at which relay-chain block it
1319
+ * is expected at.
1320
+ *
1321
+ * Ordered ascending by block number.
1322
+ **/
1323
+ upcomingUpgrades: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1324
+ /**
1325
+ * The list of parachains that are awaiting for their upgrade restriction to cooldown.
1326
+ *
1327
+ * Ordered ascending by block number.
1328
+ **/
1329
+ upgradeCooldowns: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1330
+ /**
1331
+ * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
1332
+ * procedure.
1333
+ *
1334
+ * This value is absent when there are no upgrades scheduled or during the time the relay chain
1335
+ * performs the checks. It is set at the first relay-chain block when the corresponding
1336
+ * parachain can switch its upgrade function. As soon as the parachain's block is included, the
1337
+ * value gets reset to `None`.
1338
+ *
1339
+ * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1340
+ * the format will require migration of parachains.
1341
+ **/
1342
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1343
+ /**
1344
+ * This is used by the relay-chain to communicate that there are restrictions for performing
1345
+ * an upgrade for this parachain.
1346
+ *
1347
+ * This may be a because the parachain waits for the upgrade cooldown to expire. Another
1348
+ * potential use case is when we want to perform some maintenance (such as storage migration)
1349
+ * we could restrict upgrades to make the process simpler.
1350
+ *
1351
+ * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1352
+ * the format will require migration of parachains.
1353
+ **/
1354
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1355
+ /**
1356
+ * Generic query
1357
+ **/
1358
+ [key: string]: QueryableStorageEntry<ApiType>;
1359
+ };
1360
+ paraScheduler: {
1361
+ /**
1362
+ * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
1363
+ * remaining cores all being on demand parachain multiplexers.
1364
+ *
1365
+ * Bounded by the maximum of either of these two values:
1366
+ * * The number of parachains and parathread multiplexers
1367
+ * * The number of validators divided by `configuration.max_validators_per_core`.
1368
+ **/
1369
+ availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1370
+ /**
1371
+ * One entry for each availability core. The `VecDeque` represents the assignments to be
1372
+ * scheduled on that core. The value contained here will not be valid after the end of
1373
+ * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
1374
+ **/
1375
+ claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
1376
+ /**
1377
+ * The block number where the session start occurred. Used to track how many group rotations
1378
+ * have occurred.
1379
+ *
1380
+ * Note that in the context of parachains modules the session change is signaled during
1381
+ * the block and enacted at the end of the block (at the finalization stage, to be exact).
1382
+ * Thus for all intents and purposes the effect of the session change is observed at the
1383
+ * block following the session change, block number of which we save in this storage value.
1384
+ **/
1385
+ sessionStartBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1386
+ /**
1387
+ * All the validator groups. One for each core. Indices are into `ActiveValidators` - not the
1388
+ * broader set of Polkadot validators, but instead just the subset used for parachains during
1389
+ * this session.
1390
+ *
1391
+ * Bound: The number of cores is the sum of the numbers of parachains and parathread
1392
+ * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
1393
+ * upper bound at 10k.
1394
+ **/
1395
+ validatorGroups: AugmentedQuery<ApiType, () => Observable<Vec<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
1396
+ /**
1397
+ * Generic query
1398
+ **/
1399
+ [key: string]: QueryableStorageEntry<ApiType>;
1400
+ };
1401
+ parasDisputes: {
1402
+ /**
1403
+ * Backing votes stored for each dispute.
1404
+ * This storage is used for slashing.
1405
+ **/
1406
+ backersOnDisputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<BTreeSet<u32>>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1407
+ /**
1408
+ * All ongoing or concluded disputes for the last several sessions.
1409
+ **/
1410
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1411
+ /**
1412
+ * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1413
+ * the chain will not accept any new parachain blocks for backing or inclusion,
1414
+ * and its value indicates the last valid block number in the chain.
1415
+ * It can only be set back to `None` by governance intervention.
1416
+ **/
1417
+ frozen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1418
+ /**
1419
+ * All included blocks on the chain, as well as the block number in this chain that
1420
+ * should be reverted back to if the candidate is disputed and determined to be invalid.
1421
+ **/
1422
+ included: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<u32>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1423
+ /**
1424
+ * The last pruned session, if any. All data stored by this module
1425
+ * references sessions.
1426
+ **/
1427
+ lastPrunedSession: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1428
+ /**
1429
+ * Generic query
1430
+ **/
1431
+ [key: string]: QueryableStorageEntry<ApiType>;
1432
+ };
1433
+ paraSessionInfo: {
1434
+ /**
1435
+ * The validator account keys of the validators actively participating in parachain consensus.
1436
+ **/
1437
+ accountKeys: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1438
+ /**
1439
+ * Assignment keys for the current session.
1440
+ * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1441
+ * When in doubt, use `Sessions` API instead.
1442
+ **/
1443
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1444
+ /**
1445
+ * The earliest session for which previous session info is stored.
1446
+ **/
1447
+ earliestStoredSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1448
+ /**
1449
+ * Executor parameter set for a given session index
1450
+ **/
1451
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1452
+ /**
1453
+ * Session information in a rolling window.
1454
+ * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1455
+ * Does not have any entries before the session index in the first session change notification.
1456
+ **/
1457
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1458
+ /**
1459
+ * Generic query
1460
+ **/
1461
+ [key: string]: QueryableStorageEntry<ApiType>;
1462
+ };
1463
+ parasShared: {
1464
+ /**
1465
+ * All the validators actively participating in parachain consensus.
1466
+ * Indices are into the broader validator set.
1467
+ **/
1468
+ activeValidatorIndices: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1469
+ /**
1470
+ * The parachain attestation keys of the validators actively participating in parachain
1471
+ * consensus. This should be the same length as `ActiveValidatorIndices`.
1472
+ **/
1473
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1474
+ /**
1475
+ * All allowed relay-parents.
1476
+ **/
1477
+ allowedRelayParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
1478
+ /**
1479
+ * The current session index.
1480
+ **/
1481
+ currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1482
+ /**
1483
+ * Generic query
1484
+ **/
1485
+ [key: string]: QueryableStorageEntry<ApiType>;
1486
+ };
1487
+ parasSlashing: {
1488
+ /**
1489
+ * Validators pending dispute slashes.
1490
+ **/
1491
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1492
+ /**
1493
+ * `ValidatorSetCount` per session.
1494
+ **/
1495
+ validatorSetCounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1496
+ /**
1497
+ * Generic query
1498
+ **/
1499
+ [key: string]: QueryableStorageEntry<ApiType>;
1500
+ };
1501
+ preimage: {
1502
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
1503
+ /**
1504
+ * The request status of a given hash.
1505
+ **/
1506
+ requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1507
+ /**
1508
+ * The request status of a given hash.
1509
+ **/
1510
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1511
+ /**
1512
+ * Generic query
1513
+ **/
1514
+ [key: string]: QueryableStorageEntry<ApiType>;
1515
+ };
1516
+ proxy: {
1517
+ /**
1518
+ * The announcements made by the proxy (key).
1519
+ **/
1520
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1521
+ /**
1522
+ * The set of account proxies. Maps the account which has delegated to the accounts
1523
+ * which are being delegated to, together with the amount held on deposit.
1524
+ **/
1525
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1526
+ /**
1527
+ * Generic query
1528
+ **/
1529
+ [key: string]: QueryableStorageEntry<ApiType>;
1530
+ };
1531
+ recovery: {
1532
+ /**
1533
+ * Active recovery attempts.
1534
+ *
1535
+ * First account is the account to be recovered, and the second account
1536
+ * is the user trying to recover the account.
1537
+ **/
1538
+ activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
1539
+ /**
1540
+ * The list of allowed proxy accounts.
1541
+ *
1542
+ * Map from the user who can access it to the recovered account.
1543
+ **/
1544
+ proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1545
+ /**
1546
+ * The set of recoverable accounts and their recovery configuration.
1547
+ **/
1548
+ recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1549
+ /**
1550
+ * Generic query
1551
+ **/
1552
+ [key: string]: QueryableStorageEntry<ApiType>;
1553
+ };
1554
+ referenda: {
1555
+ /**
1556
+ * The number of referenda being decided currently.
1557
+ **/
1558
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1559
+ /**
1560
+ * The metadata is a general information concerning the referendum.
1561
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1562
+ * dump or IPFS hash of a JSON file.
1563
+ *
1564
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1565
+ * large preimages.
1566
+ **/
1567
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1568
+ /**
1569
+ * The next free referendum index, aka the number of referenda started so far.
1570
+ **/
1571
+ referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1572
+ /**
1573
+ * Information concerning any given referendum.
1574
+ **/
1575
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoConvictionVotingTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1576
+ /**
1577
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1578
+ * conviction-weighted approvals.
1579
+ *
1580
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1581
+ **/
1582
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1583
+ /**
1584
+ * Generic query
1585
+ **/
1586
+ [key: string]: QueryableStorageEntry<ApiType>;
1587
+ };
1588
+ registrar: {
1589
+ /**
1590
+ * The next free `ParaId`.
1591
+ **/
1592
+ nextFreeParaId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1593
+ /**
1594
+ * Amount held on deposit for each para and the original depositor.
1595
+ *
1596
+ * The given account ID is responsible for registering the code and initial head data, but may
1597
+ * only do so if it isn't yet registered. (After that, it's up to governance to do so.)
1598
+ **/
1599
+ paras: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonParasRegistrarParaInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1600
+ /**
1601
+ * Pending swap operations.
1602
+ **/
1603
+ pendingSwap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1604
+ /**
1605
+ * Generic query
1606
+ **/
1607
+ [key: string]: QueryableStorageEntry<ApiType>;
1608
+ };
1609
+ scheduler: {
1610
+ /**
1611
+ * Items to be executed, indexed by the block number that they should be executed on.
1612
+ **/
1613
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1614
+ incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1615
+ /**
1616
+ * Lookup from a name to the block number and index of the task.
1617
+ *
1618
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1619
+ * identities.
1620
+ **/
1621
+ lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1622
+ /**
1623
+ * Retry configurations for items to be executed, indexed by task address.
1624
+ **/
1625
+ retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
1626
+ /**
1627
+ * Generic query
1628
+ **/
1629
+ [key: string]: QueryableStorageEntry<ApiType>;
1630
+ };
1631
+ session: {
1632
+ /**
1633
+ * Current index of the session.
1634
+ **/
1635
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1636
+ /**
1637
+ * Indices of disabled validators.
1638
+ *
1639
+ * The vec is always kept sorted so that we can find whether a given validator is
1640
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
1641
+ * a new set of identities.
1642
+ **/
1643
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1644
+ /**
1645
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1646
+ **/
1647
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
1648
+ /**
1649
+ * The next session keys for a validator.
1650
+ **/
1651
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1652
+ /**
1653
+ * True if the underlying economic identities or weighting behind the validators
1654
+ * has changed in the queued validator set.
1655
+ **/
1656
+ queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1657
+ /**
1658
+ * The queued keys for the next session. When the next session begins, these keys
1659
+ * will be used to determine the validator's session keys.
1660
+ **/
1661
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, StagingKusamaRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
1662
+ /**
1663
+ * The current set of validators.
1664
+ **/
1665
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1666
+ /**
1667
+ * Generic query
1668
+ **/
1669
+ [key: string]: QueryableStorageEntry<ApiType>;
1670
+ };
1671
+ slots: {
1672
+ /**
1673
+ * Amounts held on deposit for each (possibly future) leased parachain.
1674
+ *
1675
+ * The actual amount locked on its behalf by any account at any time is the maximum of the
1676
+ * second values of the items in this list whose first value is the account.
1677
+ *
1678
+ * The first item in the list is the amount locked for the current Lease Period. Following
1679
+ * items are for the subsequent lease periods.
1680
+ *
1681
+ * The default value (an empty list) implies that the parachain no longer exists (or never
1682
+ * existed) as far as this pallet is concerned.
1683
+ *
1684
+ * If a parachain doesn't exist *yet* but is scheduled to exist in the future, then it
1685
+ * will be left-padded with one or more `None`s to denote the fact that nothing is held on
1686
+ * deposit for the non-existent chain currently, but is held at some point in the future.
1687
+ *
1688
+ * It is illegal for a `None` value to trail in the list.
1689
+ **/
1690
+ leases: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<ITuple<[AccountId32, u128]>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1691
+ /**
1692
+ * Generic query
1693
+ **/
1694
+ [key: string]: QueryableStorageEntry<ApiType>;
1695
+ };
1696
+ society: {
1697
+ /**
1698
+ * The current bids, stored ordered by the value of the bid.
1699
+ **/
1700
+ bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
1701
+ candidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyCandidacy>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1702
+ /**
1703
+ * The number of challenge rounds there have been. Used to identify stale DefenderVotes.
1704
+ **/
1705
+ challengeRoundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1706
+ /**
1707
+ * Votes for the defender, keyed by challenge round.
1708
+ **/
1709
+ defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1710
+ /**
1711
+ * The defending member currently being challenged, along with a running tally of votes.
1712
+ **/
1713
+ defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, AccountId32, PalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
1714
+ /**
1715
+ * The first member.
1716
+ **/
1717
+ founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1718
+ /**
1719
+ * The most primary from the most recently approved rank 0 members in the society.
1720
+ **/
1721
+ head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1722
+ /**
1723
+ * The current items in `Members` keyed by their unique index. Keys are densely populated
1724
+ * `0..MemberCount` (does not include `MemberCount`).
1725
+ **/
1726
+ memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1727
+ /**
1728
+ * The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
1729
+ **/
1730
+ memberCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1731
+ /**
1732
+ * The current members and their rank. Doesn't include `SuspendedMembers`.
1733
+ **/
1734
+ members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1735
+ /**
1736
+ * At the end of the claim period, this contains the most recently approved members (along with
1737
+ * their bid and round ID) who is from the most recent round with the lowest bid. They will
1738
+ * become the new `Head`.
1739
+ **/
1740
+ nextHead: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyIntakeRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1741
+ /**
1742
+ * The max number of members for the society at one time.
1743
+ **/
1744
+ parameters: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyGroupParams>>, []> & QueryableStorageEntry<ApiType, []>;
1745
+ /**
1746
+ * Information regarding rank-0 payouts, past and future.
1747
+ **/
1748
+ payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletSocietyPayoutRecord>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1749
+ /**
1750
+ * Amount of our account balance that is specifically for the next round's bid(s).
1751
+ **/
1752
+ pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1753
+ /**
1754
+ * The number of rounds which have passed.
1755
+ **/
1756
+ roundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1757
+ /**
1758
+ * A hash of the rules of this society concerning membership. Can only be set once and
1759
+ * only by the founder.
1760
+ **/
1761
+ rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
1762
+ /**
1763
+ * The current skeptic.
1764
+ **/
1765
+ skeptic: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1766
+ /**
1767
+ * The set of suspended members, with their old membership record.
1768
+ **/
1769
+ suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1770
+ /**
1771
+ * Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
1772
+ **/
1773
+ voteClearCursor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1774
+ /**
1775
+ * Double map from Candidate -> Voter -> (Maybe) Vote.
1776
+ **/
1777
+ votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
1778
+ /**
1779
+ * Generic query
1780
+ **/
1781
+ [key: string]: QueryableStorageEntry<ApiType>;
1782
+ };
1783
+ staking: {
1784
+ /**
1785
+ * The active era information, it holds index and start.
1786
+ *
1787
+ * The active era is the era being currently rewarded. Validator set of this era must be
1788
+ * equal to [`SessionInterface::validators`].
1789
+ **/
1790
+ activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1791
+ /**
1792
+ * Map from all locked "stash" accounts to the controller account.
1793
+ *
1794
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1795
+ **/
1796
+ bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1797
+ /**
1798
+ * A mapping from still-bonded eras to the first session index of that era.
1799
+ *
1800
+ * Must contains information for eras for the range:
1801
+ * `[active_era - bounding_duration; active_era]`
1802
+ **/
1803
+ bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1804
+ /**
1805
+ * The amount of currency given to reporters of a slash event which was
1806
+ * canceled by extraordinary circumstances (e.g. governance).
1807
+ **/
1808
+ canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1809
+ /**
1810
+ * The threshold for when users can start calling `chill_other` for other validators /
1811
+ * nominators. The threshold is compared to the actual number of validators / nominators
1812
+ * (`CountFor*`) in the system compared to the configured max (`Max*Count`).
1813
+ **/
1814
+ chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1815
+ /**
1816
+ * History of claimed paged rewards by era and validator.
1817
+ *
1818
+ * This is keyed by era and validator stash which maps to the set of page indexes which have
1819
+ * been claimed.
1820
+ *
1821
+ * It is removed after [`Config::HistoryDepth`] eras.
1822
+ **/
1823
+ claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1824
+ /**
1825
+ * Counter for the related counted storage map
1826
+ **/
1827
+ counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1828
+ /**
1829
+ * Counter for the related counted storage map
1830
+ **/
1831
+ counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1832
+ /**
1833
+ * Counter for the related counted storage map
1834
+ **/
1835
+ counterForVirtualStakers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1836
+ /**
1837
+ * The current era index.
1838
+ *
1839
+ * This is the latest planned era, depending on how the Session pallet queues the validator
1840
+ * set, it might be active or not.
1841
+ **/
1842
+ currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1843
+ /**
1844
+ * The last planned session scheduled by the session pallet.
1845
+ *
1846
+ * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1847
+ **/
1848
+ currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1849
+ /**
1850
+ * Indices of validators that have offended in the active era. The offenders are disabled for a
1851
+ * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1852
+ * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1853
+ * implicitly means that the implementor also controls the max number of disabled validators.
1854
+ *
1855
+ * The vec is always kept sorted so that we can find whether a given validator has previously
1856
+ * offended using binary search.
1857
+ **/
1858
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1859
+ /**
1860
+ * Rewards for the last [`Config::HistoryDepth`] eras.
1861
+ * If reward hasn't been set or has been removed then 0 reward is returned.
1862
+ **/
1863
+ erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1864
+ /**
1865
+ * Exposure of validator at era.
1866
+ *
1867
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
1868
+ *
1869
+ * Is it removed after [`Config::HistoryDepth`] eras.
1870
+ * If stakers hasn't been set or has been removed then empty exposure is returned.
1871
+ *
1872
+ * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1873
+ **/
1874
+ erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1875
+ /**
1876
+ * Clipped Exposure of validator at era.
1877
+ *
1878
+ * Note: This is deprecated, should be used as read-only and will be removed in the future.
1879
+ * New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead.
1880
+ *
1881
+ * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
1882
+ * `T::MaxExposurePageSize` biggest stakers.
1883
+ * (Note: the field `total` and `own` of the exposure remains unchanged).
1884
+ * This is used to limit the i/o cost for the nominator payout.
1885
+ *
1886
+ * This is keyed fist by the era index to allow bulk deletion and then the stash account.
1887
+ *
1888
+ * It is removed after [`Config::HistoryDepth`] eras.
1889
+ * If stakers hasn't been set or has been removed then empty exposure is returned.
1890
+ *
1891
+ * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1892
+ **/
1893
+ erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1894
+ /**
1895
+ * Summary of validator exposure at a given era.
1896
+ *
1897
+ * This contains the total stake in support of the validator and their own stake. In addition,
1898
+ * it can also be used to get the number of nominators backing this validator and the number of
1899
+ * exposure pages they are divided into. The page count is useful to determine the number of
1900
+ * pages of rewards that needs to be claimed.
1901
+ *
1902
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
1903
+ * Should only be accessed through `EraInfo`.
1904
+ *
1905
+ * Is it removed after [`Config::HistoryDepth`] eras.
1906
+ * If stakers hasn't been set or has been removed then empty overview is returned.
1907
+ **/
1908
+ erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1909
+ /**
1910
+ * Paginated exposure of a validator at given era.
1911
+ *
1912
+ * This is keyed first by the era index to allow bulk deletion, then stash account and finally
1913
+ * the page. Should only be accessed through `EraInfo`.
1914
+ *
1915
+ * This is cleared after [`Config::HistoryDepth`] eras.
1916
+ **/
1917
+ erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<SpStakingExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
1918
+ /**
1919
+ * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
1920
+ *
1921
+ * Note: This tracks the starting session (i.e. session index when era start being active)
1922
+ * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
1923
+ **/
1924
+ erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1925
+ /**
1926
+ * The total amount staked for the last [`Config::HistoryDepth`] eras.
1927
+ * If total hasn't been set or has been removed then 0 stake is returned.
1928
+ **/
1929
+ erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1930
+ /**
1931
+ * Similar to `ErasStakers`, this holds the preferences of validators.
1932
+ *
1933
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
1934
+ *
1935
+ * Is it removed after [`Config::HistoryDepth`] eras.
1936
+ **/
1937
+ erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1938
+ /**
1939
+ * The total validator era payout for the last [`Config::HistoryDepth`] eras.
1940
+ *
1941
+ * Eras that haven't finished yet or has been removed doesn't have reward.
1942
+ **/
1943
+ erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1944
+ /**
1945
+ * Mode of era forcing.
1946
+ **/
1947
+ forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
1948
+ /**
1949
+ * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
1950
+ * easy to initialize and the performance hit is minimal (we expect no more than four
1951
+ * invulnerables) and restricted to testnets.
1952
+ **/
1953
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1954
+ /**
1955
+ * Map from all (unlocked) "controller" accounts to the info regarding the staking.
1956
+ *
1957
+ * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
1958
+ * by [`StakingLedger`] to ensure data and lock consistency.
1959
+ **/
1960
+ ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1961
+ /**
1962
+ * The maximum nominator count before we stop allowing new validators to join.
1963
+ *
1964
+ * When this value is not set, no limits are enforced.
1965
+ **/
1966
+ maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1967
+ /**
1968
+ * Maximum staked rewards, i.e. the percentage of the era inflation that
1969
+ * is used for stake rewards.
1970
+ * See [Era payout](./index.html#era-payout).
1971
+ **/
1972
+ maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1973
+ /**
1974
+ * The maximum validator count before we stop allowing new validators to join.
1975
+ *
1976
+ * When this value is not set, no limits are enforced.
1977
+ **/
1978
+ maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1979
+ /**
1980
+ * The minimum amount of commission that validators can set.
1981
+ *
1982
+ * If set to `0`, no limit exists.
1983
+ **/
1984
+ minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1985
+ /**
1986
+ * The minimum active nominator stake of the last successful election.
1987
+ **/
1988
+ minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1989
+ /**
1990
+ * Minimum number of staking participants before emergency conditions are imposed.
1991
+ **/
1992
+ minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1993
+ /**
1994
+ * The minimum active bond to become and maintain the role of a nominator.
1995
+ **/
1996
+ minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1997
+ /**
1998
+ * The minimum active bond to become and maintain the role of a validator.
1999
+ **/
2000
+ minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
2001
+ /**
2002
+ * The map from nominator stash key to their nomination preferences, namely the validators that
2003
+ * they wish to support.
2004
+ *
2005
+ * Note that the keys of this storage map might become non-decodable in case the
2006
+ * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
2007
+ * In this rare case, these nominators
2008
+ * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
2009
+ * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
2010
+ * nominators will effectively not-exist, until they re-submit their preferences such that it
2011
+ * is within the bounds of the newly set `Config::MaxNominations`.
2012
+ *
2013
+ * This implies that `::iter_keys().count()` and `::iter().count()` might return different
2014
+ * values for this map. Moreover, the main `::count()` is aligned with the former, namely the
2015
+ * number of keys that exist.
2016
+ *
2017
+ * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
2018
+ * [`Call::chill_other`] dispatchable by anyone.
2019
+ *
2020
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
2021
+ **/
2022
+ nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2023
+ /**
2024
+ * All slashing events on nominators, mapped by era to the highest slash value of the era.
2025
+ **/
2026
+ nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
2027
+ /**
2028
+ * Where the reward payment should be made. Keyed by stash.
2029
+ *
2030
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
2031
+ **/
2032
+ payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2033
+ /**
2034
+ * Slashing spans for stash accounts.
2035
+ **/
2036
+ slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2037
+ /**
2038
+ * The percentage of the slash that is distributed to reporters.
2039
+ *
2040
+ * The rest of the slashed value is handled by the `Slash`.
2041
+ **/
2042
+ slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
2043
+ /**
2044
+ * Records information about the maximum slash of a stash within a slashing span,
2045
+ * as well as how much reward has been paid out.
2046
+ **/
2047
+ spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
2048
+ /**
2049
+ * All unapplied slashes that are queued for later.
2050
+ **/
2051
+ unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2052
+ /**
2053
+ * The ideal number of active validators.
2054
+ **/
2055
+ validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2056
+ /**
2057
+ * The map from (wannabe) validator stash key to the preferences of that validator.
2058
+ *
2059
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
2060
+ **/
2061
+ validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2062
+ /**
2063
+ * All slashing events on validators, mapped by era to the highest slash proportion
2064
+ * and slash value of the era.
2065
+ **/
2066
+ validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
2067
+ /**
2068
+ * Stakers whose funds are managed by other pallets.
2069
+ *
2070
+ * This pallet does not apply any locks on them, therefore they are only virtually bonded. They
2071
+ * are expected to be keyless accounts and hence should not be allowed to mutate their ledger
2072
+ * directly via this pallet. Instead, these accounts are managed by other pallets and accessed
2073
+ * via low level apis. We keep track of them to do minimal integrity checks.
2074
+ **/
2075
+ virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2076
+ /**
2077
+ * Generic query
2078
+ **/
2079
+ [key: string]: QueryableStorageEntry<ApiType>;
2080
+ };
2081
+ system: {
2082
+ /**
2083
+ * The full account information for a particular account ID.
2084
+ **/
2085
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2086
+ /**
2087
+ * Total length (in bytes) for all extrinsics put together, for the current block.
2088
+ **/
2089
+ allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2090
+ /**
2091
+ * `Some` if a code upgrade has been authorized.
2092
+ **/
2093
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
2094
+ /**
2095
+ * Map of block numbers to block hashes.
2096
+ **/
2097
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2098
+ /**
2099
+ * The current weight for the block.
2100
+ **/
2101
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
2102
+ /**
2103
+ * Digest of the current block, also part of the block header.
2104
+ **/
2105
+ digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
2106
+ /**
2107
+ * The number of events in the `Events<T>` list.
2108
+ **/
2109
+ eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2110
+ /**
2111
+ * Events deposited for the current block.
2112
+ *
2113
+ * NOTE: The item is unbound and should therefore never be read on chain.
2114
+ * It could otherwise inflate the PoV size of a block.
2115
+ *
2116
+ * Events have a large in-memory size. Box the events to not go out-of-memory
2117
+ * just in case someone still reads them from within the runtime.
2118
+ **/
2119
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
2120
+ /**
2121
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
2122
+ * of events in the `<Events<T>>` list.
2123
+ *
2124
+ * All topic vectors have deterministic storage locations depending on the topic. This
2125
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
2126
+ * in case of changes fetch the list of events of interest.
2127
+ *
2128
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
2129
+ * the `EventIndex` then in case if the topic has the same contents on the next block
2130
+ * no notification will be triggered thus the event might be lost.
2131
+ **/
2132
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2133
+ /**
2134
+ * The execution phase of the block.
2135
+ **/
2136
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
2137
+ /**
2138
+ * Total extrinsics count for the current block.
2139
+ **/
2140
+ extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2141
+ /**
2142
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
2143
+ **/
2144
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2145
+ /**
2146
+ * Whether all inherents have been applied.
2147
+ **/
2148
+ inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2149
+ /**
2150
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
2151
+ **/
2152
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
2153
+ /**
2154
+ * The current block number being processed. Set by `execute_block`.
2155
+ **/
2156
+ number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2157
+ /**
2158
+ * Hash of the previous block.
2159
+ **/
2160
+ parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
2161
+ /**
2162
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
2163
+ * (default) if not.
2164
+ **/
2165
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2166
+ /**
2167
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
2168
+ **/
2169
+ upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2170
+ /**
2171
+ * Generic query
2172
+ **/
2173
+ [key: string]: QueryableStorageEntry<ApiType>;
2174
+ };
2175
+ timestamp: {
2176
+ /**
2177
+ * Whether the timestamp has been updated in this block.
2178
+ *
2179
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
2180
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
2181
+ **/
2182
+ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2183
+ /**
2184
+ * The current time for the current block.
2185
+ **/
2186
+ now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
2187
+ /**
2188
+ * Generic query
2189
+ **/
2190
+ [key: string]: QueryableStorageEntry<ApiType>;
2191
+ };
2192
+ transactionPayment: {
2193
+ nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
2194
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
2195
+ /**
2196
+ * Generic query
2197
+ **/
2198
+ [key: string]: QueryableStorageEntry<ApiType>;
2199
+ };
2200
+ treasury: {
2201
+ /**
2202
+ * Proposal indices that have been approved but not yet awarded.
2203
+ **/
2204
+ approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2205
+ /**
2206
+ * The amount which has been reported as inactive to Currency.
2207
+ **/
2208
+ deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
2209
+ /**
2210
+ * Number of proposals that have been made.
2211
+ **/
2212
+ proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2213
+ /**
2214
+ * Proposals that have been made.
2215
+ **/
2216
+ proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2217
+ /**
2218
+ * The count of spends that have been made.
2219
+ **/
2220
+ spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2221
+ /**
2222
+ * Spends that have been approved and being processed.
2223
+ **/
2224
+ spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2225
+ /**
2226
+ * Generic query
2227
+ **/
2228
+ [key: string]: QueryableStorageEntry<ApiType>;
2229
+ };
2230
+ vesting: {
2231
+ /**
2232
+ * Storage version of the pallet.
2233
+ *
2234
+ * New networks start with latest version, as determined by the genesis build.
2235
+ **/
2236
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
2237
+ /**
2238
+ * Information regarding the vesting of a given account.
2239
+ **/
2240
+ vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2241
+ /**
2242
+ * Generic query
2243
+ **/
2244
+ [key: string]: QueryableStorageEntry<ApiType>;
2245
+ };
2246
+ voterList: {
2247
+ /**
2248
+ * Counter for the related counted storage map
2249
+ **/
2250
+ counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2251
+ /**
2252
+ * A bag stored in storage.
2253
+ *
2254
+ * Stores a `Bag` struct, which stores head and tail pointers to itself.
2255
+ **/
2256
+ listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
2257
+ /**
2258
+ * A single node, within some bag.
2259
+ *
2260
+ * Nodes store links forward and back within their respective bags.
2261
+ **/
2262
+ listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2263
+ /**
2264
+ * Generic query
2265
+ **/
2266
+ [key: string]: QueryableStorageEntry<ApiType>;
2267
+ };
2268
+ whitelist: {
2269
+ whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2270
+ /**
2271
+ * Generic query
2272
+ **/
2273
+ [key: string]: QueryableStorageEntry<ApiType>;
2274
+ };
2275
+ xcmPallet: {
2276
+ /**
2277
+ * The existing asset traps.
2278
+ *
2279
+ * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
2280
+ * times this pair has been trapped (usually just 1 if it exists at all).
2281
+ **/
2282
+ assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2283
+ /**
2284
+ * The current migration's stage, if any.
2285
+ **/
2286
+ currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
2287
+ /**
2288
+ * Fungible assets which we know are locked on this chain.
2289
+ **/
2290
+ lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2291
+ /**
2292
+ * The ongoing queries.
2293
+ **/
2294
+ queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
2295
+ /**
2296
+ * The latest available query index.
2297
+ **/
2298
+ queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
2299
+ /**
2300
+ * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
2301
+ * will be stored here.
2302
+ * Runtime APIs can fetch the XCM that was executed by accessing this value.
2303
+ *
2304
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2305
+ * implementation in the XCM executor configuration.
2306
+ **/
2307
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2308
+ /**
2309
+ * Fungible assets which we know are locked on a remote chain.
2310
+ **/
2311
+ remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | {
2312
+ V3: any;
2313
+ } | {
2314
+ V4: any;
2315
+ } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
2316
+ /**
2317
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
2318
+ * then the destinations whose XCM version is unknown are considered unreachable.
2319
+ **/
2320
+ safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2321
+ /**
2322
+ * Whether or not incoming XCMs (both executed locally and received) should be recorded.
2323
+ * Only one XCM program will be recorded at a time.
2324
+ * This is meant to be used in runtime APIs, and it's advised it stays false
2325
+ * for all other use cases, so as to not degrade regular performance.
2326
+ *
2327
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2328
+ * implementation in the XCM executor configuration.
2329
+ **/
2330
+ shouldRecordXcm: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2331
+ /**
2332
+ * The Latest versions that we know various locations support.
2333
+ **/
2334
+ supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2335
+ V2: any;
2336
+ } | {
2337
+ V3: any;
2338
+ } | {
2339
+ V4: any;
2340
+ } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2341
+ /**
2342
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
2343
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
2344
+ * which is used as a prioritization.
2345
+ **/
2346
+ versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
2347
+ /**
2348
+ * All locations that we have requested version notifications from.
2349
+ **/
2350
+ versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2351
+ V2: any;
2352
+ } | {
2353
+ V3: any;
2354
+ } | {
2355
+ V4: any;
2356
+ } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2357
+ /**
2358
+ * The target locations that are subscribed to our version changes, as well as the most recent
2359
+ * of our versions we informed them of.
2360
+ **/
2361
+ versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2362
+ V2: any;
2363
+ } | {
2364
+ V3: any;
2365
+ } | {
2366
+ V4: any;
2367
+ } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2368
+ /**
2369
+ * Global suspension state of the XCM executor.
2370
+ **/
2371
+ xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2372
+ /**
2373
+ * Generic query
2374
+ **/
2375
+ [key: string]: QueryableStorageEntry<ApiType>;
2376
+ };
2377
+ }
2378
+ }