@pezkuwi/api-augment 16.5.5

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