@polkadot/api-augment 10.9.1 → 10.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kusama/query.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { Data } from '@polkadot/types';
4
- import type { BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeRuntimeHoldReason, KusamaRuntimeSessionKeys, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotPrimitivesVstagingSlashingPendingSlashes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeRuntimeHoldReason, KusamaRuntimeSessionKeys, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5AssignmentAppPublic, PolkadotPrimitivesV5CandidateCommitments, PolkadotPrimitivesV5CoreOccupied, PolkadotPrimitivesV5DisputeState, PolkadotPrimitivesV5ExecutorParams, PolkadotPrimitivesV5ParasEntry, PolkadotPrimitivesV5ScrapedOnChainVotes, PolkadotPrimitivesV5SessionInfo, PolkadotPrimitivesV5SlashingPendingSlashes, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, PolkadotPrimitivesV5ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -224,6 +224,59 @@ declare module '@polkadot/api-base/types/storage' {
224
224
  **/
225
225
  [key: string]: QueryableStorageEntry<ApiType>;
226
226
  };
227
+ beefy: {
228
+ /**
229
+ * The current authorities set
230
+ **/
231
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
232
+ /**
233
+ * Block number where BEEFY consensus is enabled/started.
234
+ * By changing this (through governance or sudo), BEEFY consensus is effectively
235
+ * restarted from the new block number.
236
+ **/
237
+ genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
238
+ /**
239
+ * Authorities set scheduled to be used with the next session
240
+ **/
241
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
242
+ /**
243
+ * A mapping from BEEFY set ID to the index of the *most recent* session for which its
244
+ * members were responsible.
245
+ *
246
+ * This is only used for validating equivocation proofs. An equivocation proof must
247
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
248
+ * together sessions and BEEFY set ids, i.e. we need to validate that a validator
249
+ * was the owner of a given key on a given session, and what the active set ID was
250
+ * during that session.
251
+ *
252
+ * TWOX-NOTE: `ValidatorSetId` is not under user control.
253
+ **/
254
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
255
+ /**
256
+ * The current validator set id
257
+ **/
258
+ validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
259
+ /**
260
+ * Generic query
261
+ **/
262
+ [key: string]: QueryableStorageEntry<ApiType>;
263
+ };
264
+ beefyMmrLeaf: {
265
+ /**
266
+ * Details of current BEEFY authority set.
267
+ **/
268
+ beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
269
+ /**
270
+ * Details of next BEEFY authority set.
271
+ *
272
+ * This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
273
+ **/
274
+ beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
275
+ /**
276
+ * Generic query
277
+ **/
278
+ [key: string]: QueryableStorageEntry<ApiType>;
279
+ };
227
280
  bounties: {
228
281
  /**
229
282
  * Bounties that have been made.
@@ -688,7 +741,8 @@ declare module '@polkadot/api-base/types/storage' {
688
741
  /**
689
742
  * The HRMP watermark associated with each para.
690
743
  * Invariant:
691
- * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a session.
744
+ * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a
745
+ * session.
692
746
  **/
693
747
  hrmpWatermarks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
694
748
  /**
@@ -753,10 +807,9 @@ declare module '@polkadot/api-base/types/storage' {
753
807
  **/
754
808
  keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
755
809
  /**
756
- * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
757
- * `WrapperOpaque<BoundedOpaqueNetworkState>`.
810
+ * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
758
811
  **/
759
- receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
812
+ receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
760
813
  /**
761
814
  * Generic query
762
815
  **/
@@ -789,9 +842,9 @@ declare module '@polkadot/api-base/types/storage' {
789
842
  * Semantically a `bool`, but this guarantees it should never hit the trie,
790
843
  * as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.
791
844
  *
792
- * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one of
793
- * them writes to the trie and one does not. This confusion makes `Option<()>` more suitable for
794
- * the semantics of this variable.
845
+ * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one
846
+ * of them writes to the trie and one does not. This confusion makes `Option<()>` more suitable
847
+ * for the semantics of this variable.
795
848
  **/
796
849
  hasInitialized: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
797
850
  /**
@@ -821,6 +874,27 @@ declare module '@polkadot/api-base/types/storage' {
821
874
  **/
822
875
  [key: string]: QueryableStorageEntry<ApiType>;
823
876
  };
877
+ mmr: {
878
+ /**
879
+ * Hashes of the nodes in the MMR.
880
+ *
881
+ * Note this collection only contains MMR peaks, the inner nodes (and leaves)
882
+ * are pruned and only stored in the Offchain DB.
883
+ **/
884
+ nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
885
+ /**
886
+ * Current size of the MMR (number of leaves).
887
+ **/
888
+ numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
889
+ /**
890
+ * Latest MMR Root hash.
891
+ **/
892
+ rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
893
+ /**
894
+ * Generic query
895
+ **/
896
+ [key: string]: QueryableStorageEntry<ApiType>;
897
+ };
824
898
  multisig: {
825
899
  /**
826
900
  * The set of open multisig operations.
@@ -1036,6 +1110,12 @@ declare module '@polkadot/api-base/types/storage' {
1036
1110
  **/
1037
1111
  [key: string]: QueryableStorageEntry<ApiType>;
1038
1112
  };
1113
+ paraAssignmentProvider: {
1114
+ /**
1115
+ * Generic query
1116
+ **/
1117
+ [key: string]: QueryableStorageEntry<ApiType>;
1118
+ };
1039
1119
  paraInclusion: {
1040
1120
  /**
1041
1121
  * The latest bitfield for each validator, referred to by their index in the validator set.
@@ -1048,7 +1128,7 @@ declare module '@polkadot/api-base/types/storage' {
1048
1128
  /**
1049
1129
  * The commitments of candidates pending availability, by `ParaId`.
1050
1130
  **/
1051
- pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1131
+ pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1052
1132
  /**
1053
1133
  * Generic query
1054
1134
  **/
@@ -1067,7 +1147,7 @@ declare module '@polkadot/api-base/types/storage' {
1067
1147
  /**
1068
1148
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1069
1149
  **/
1070
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1150
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV5ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1071
1151
  /**
1072
1152
  * Generic query
1073
1153
  **/
@@ -1112,7 +1192,12 @@ declare module '@polkadot/api-base/types/storage' {
1112
1192
  **/
1113
1193
  heads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1114
1194
  /**
1115
- * All parachains. Ordered ascending by `ParaId`. Parathreads are not included.
1195
+ * The context (relay-chain block number) of the most recent parachain head.
1196
+ **/
1197
+ mostRecentContext: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1198
+ /**
1199
+ * All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
1200
+ * included.
1116
1201
  *
1117
1202
  * Consider using the [`ParachainsCache`] type of modifying.
1118
1203
  **/
@@ -1135,11 +1220,11 @@ declare module '@polkadot/api-base/types/storage' {
1135
1220
  **/
1136
1221
  pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1137
1222
  /**
1138
- * Which paras have past code that needs pruning and the relay-chain block at which the code was replaced.
1139
- * Note that this is the actual height of the included block, not the expected height at which the
1140
- * code upgrade would be applied, although they may be equal.
1141
- * This is to ensure the entire acceptance period is covered, not an offset acceptance period starting
1142
- * from the time at which the parachain perceives a code upgrade as having occurred.
1223
+ * Which paras have past code that needs pruning and the relay-chain block at which the code
1224
+ * was replaced. Note that this is the actual height of the included block, not the expected
1225
+ * height at which the code upgrade would be applied, although they may be equal.
1226
+ * This is to ensure the entire acceptance period is covered, not an offset acceptance period
1227
+ * starting from the time at which the parachain perceives a code upgrade as having occurred.
1143
1228
  * Multiple entries for a single para are permitted. Ordered ascending by block number.
1144
1229
  **/
1145
1230
  pastCodePruning: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -1175,17 +1260,18 @@ declare module '@polkadot/api-base/types/storage' {
1175
1260
  **/
1176
1261
  upgradeCooldowns: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1177
1262
  /**
1178
- * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade procedure.
1263
+ * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
1264
+ * procedure.
1179
1265
  *
1180
1266
  * This value is absent when there are no upgrades scheduled or during the time the relay chain
1181
- * performs the checks. It is set at the first relay-chain block when the corresponding parachain
1182
- * can switch its upgrade function. As soon as the parachain's block is included, the value
1183
- * gets reset to `None`.
1267
+ * performs the checks. It is set at the first relay-chain block when the corresponding
1268
+ * parachain can switch its upgrade function. As soon as the parachain's block is included, the
1269
+ * value gets reset to `None`.
1184
1270
  *
1185
1271
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1186
1272
  * the format will require migration of parachains.
1187
1273
  **/
1188
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1274
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1189
1275
  /**
1190
1276
  * This is used by the relay-chain to communicate that there are restrictions for performing
1191
1277
  * an upgrade for this parachain.
@@ -1197,7 +1283,7 @@ declare module '@polkadot/api-base/types/storage' {
1197
1283
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1198
1284
  * the format will require migration of parachains.
1199
1285
  **/
1200
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1286
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1201
1287
  /**
1202
1288
  * Generic query
1203
1289
  **/
@@ -1205,8 +1291,8 @@ declare module '@polkadot/api-base/types/storage' {
1205
1291
  };
1206
1292
  paraScheduler: {
1207
1293
  /**
1208
- * One entry for each availability core. Entries are `None` if the core is not currently occupied. Can be
1209
- * temporarily `Some` if scheduled but not occupied.
1294
+ * One entry for each availability core. Entries are `None` if the core is not currently
1295
+ * occupied. Can be temporarily `Some` if scheduled but not occupied.
1210
1296
  * The i'th parachain belongs to the i'th core, with the remaining cores all being
1211
1297
  * parathread-multiplexers.
1212
1298
  *
@@ -1214,32 +1300,18 @@ declare module '@polkadot/api-base/types/storage' {
1214
1300
  * * The number of parachains and parathread multiplexers
1215
1301
  * * The number of validators divided by `configuration.max_validators_per_core`.
1216
1302
  **/
1217
- availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<Option<PolkadotPrimitivesV4CoreOccupied>>>, []> & QueryableStorageEntry<ApiType, []>;
1218
- /**
1219
- * An index used to ensure that only one claim on a parathread exists in the queue or is
1220
- * currently being handled by an occupied core.
1221
- *
1222
- * Bounded by the number of parathread cores and scheduling lookahead. Reasonably, 10 * 50 = 500.
1223
- **/
1224
- parathreadClaimIndex: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1303
+ availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5CoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1225
1304
  /**
1226
- * A queue of upcoming claims and which core they should be mapped onto.
1227
- *
1228
- * The number of queued claims is bounded at the `scheduling_lookahead`
1229
- * multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500.
1230
- **/
1231
- parathreadQueue: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSchedulerParathreadClaimQueue>, []> & QueryableStorageEntry<ApiType, []>;
1232
- /**
1233
- * Currently scheduled cores - free but up to be occupied.
1234
- *
1235
- * Bounded by the number of cores: one for each parachain and parathread multiplexer.
1236
- *
1237
- * The value contained here will not be valid after the end of a block. Runtime APIs should be used to determine scheduled cores/
1238
- * for the upcoming block.
1305
+ * One entry for each availability core. The `VecDeque` represents the assignments to be
1306
+ * scheduled on that core. `None` is used to signal to not schedule the next para of the core
1307
+ * as there is one currently being scheduled. Not using `None` here would overwrite the
1308
+ * `CoreState` in the runtime API. The value contained here will not be valid after the end of
1309
+ * a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
1239
1310
  **/
1240
- scheduled: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerCoreAssignment>>, []> & QueryableStorageEntry<ApiType, []>;
1311
+ claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<Option<PolkadotPrimitivesV5ParasEntry>>>>, []> & QueryableStorageEntry<ApiType, []>;
1241
1312
  /**
1242
- * The block number where the session start occurred. Used to track how many group rotations have occurred.
1313
+ * The block number where the session start occurred. Used to track how many group rotations
1314
+ * have occurred.
1243
1315
  *
1244
1316
  * Note that in the context of parachains modules the session change is signaled during
1245
1317
  * the block and enacted at the end of the block (at the finalization stage, to be exact).
@@ -1252,8 +1324,9 @@ declare module '@polkadot/api-base/types/storage' {
1252
1324
  * broader set of Polkadot validators, but instead just the subset used for parachains during
1253
1325
  * this session.
1254
1326
  *
1255
- * Bound: The number of cores is the sum of the numbers of parachains and parathread multiplexers.
1256
- * Reasonably, 100-1000. The dominant factor is the number of validators: safe upper bound at 10k.
1327
+ * Bound: The number of cores is the sum of the numbers of parachains and parathread
1328
+ * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
1329
+ * upper bound at 10k.
1257
1330
  **/
1258
1331
  validatorGroups: AugmentedQuery<ApiType, () => Observable<Vec<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
1259
1332
  /**
@@ -1270,7 +1343,7 @@ declare module '@polkadot/api-base/types/storage' {
1270
1343
  /**
1271
1344
  * All ongoing or concluded disputes for the last several sessions.
1272
1345
  **/
1273
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV4DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1346
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV5DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1274
1347
  /**
1275
1348
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1276
1349
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1303,7 +1376,7 @@ declare module '@polkadot/api-base/types/storage' {
1303
1376
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1304
1377
  * When in doubt, use `Sessions` API instead.
1305
1378
  **/
1306
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1379
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1307
1380
  /**
1308
1381
  * The earliest session for which previous session info is stored.
1309
1382
  **/
@@ -1311,13 +1384,13 @@ declare module '@polkadot/api-base/types/storage' {
1311
1384
  /**
1312
1385
  * Executor parameter set for a given session index
1313
1386
  **/
1314
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1387
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1315
1388
  /**
1316
1389
  * Session information in a rolling window.
1317
1390
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1318
1391
  * Does not have any entries before the session index in the first session change notification.
1319
1392
  **/
1320
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1393
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1321
1394
  /**
1322
1395
  * Generic query
1323
1396
  **/
@@ -1330,10 +1403,14 @@ declare module '@polkadot/api-base/types/storage' {
1330
1403
  **/
1331
1404
  activeValidatorIndices: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1332
1405
  /**
1333
- * The parachain attestation keys of the validators actively participating in parachain consensus.
1334
- * This should be the same length as `ActiveValidatorIndices`.
1406
+ * The parachain attestation keys of the validators actively participating in parachain
1407
+ * consensus. This should be the same length as `ActiveValidatorIndices`.
1335
1408
  **/
1336
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1409
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1410
+ /**
1411
+ * All allowed relay-parents.
1412
+ **/
1413
+ allowedRelayParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
1337
1414
  /**
1338
1415
  * The current session index.
1339
1416
  **/
@@ -1347,7 +1424,7 @@ declare module '@polkadot/api-base/types/storage' {
1347
1424
  /**
1348
1425
  * Validators pending dispute slashes.
1349
1426
  **/
1350
- unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingSlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1427
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV5SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1351
1428
  /**
1352
1429
  * `ValidatorSetCount` per session.
1353
1430
  **/
@@ -1448,8 +1525,8 @@ declare module '@polkadot/api-base/types/storage' {
1448
1525
  /**
1449
1526
  * Amount held on deposit for each para and the original depositor.
1450
1527
  *
1451
- * The given account ID is responsible for registering the code and initial head data, but may only do
1452
- * so if it isn't yet registered. (After that, it's up to governance to do so.)
1528
+ * The given account ID is responsible for registering the code and initial head data, but may
1529
+ * only do so if it isn't yet registered. (After that, it's up to governance to do so.)
1453
1530
  **/
1454
1531
  paras: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonParasRegistrarParaInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1455
1532
  /**
@@ -1523,8 +1600,8 @@ declare module '@polkadot/api-base/types/storage' {
1523
1600
  /**
1524
1601
  * Amounts held on deposit for each (possibly future) leased parachain.
1525
1602
  *
1526
- * The actual amount locked on its behalf by any account at any time is the maximum of the second values
1527
- * of the items in this list whose first value is the account.
1603
+ * The actual amount locked on its behalf by any account at any time is the maximum of the
1604
+ * second values of the items in this list whose first value is the account.
1528
1605
  *
1529
1606
  * The first item in the list is the amount locked for the current Lease Period. Following
1530
1607
  * items are for the subsequent lease periods.
@@ -1549,67 +1626,83 @@ declare module '@polkadot/api-base/types/storage' {
1549
1626
  * The current bids, stored ordered by the value of the bid.
1550
1627
  **/
1551
1628
  bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
1629
+ candidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyCandidacy>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1552
1630
  /**
1553
- * The current set of candidates; bidders that are attempting to become members.
1631
+ * The number of challenge rounds there have been. Used to identify stale DefenderVotes.
1554
1632
  **/
1555
- candidates: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
1633
+ challengeRoundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1556
1634
  /**
1557
- * The defending member currently being challenged.
1635
+ * Votes for the defender, keyed by challenge round.
1558
1636
  **/
1559
- defender: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1637
+ defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1560
1638
  /**
1561
- * Votes for the defender.
1639
+ * The defending member currently being challenged, along with a running tally of votes.
1562
1640
  **/
1563
- defenderVotes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1641
+ defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, AccountId32, PalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
1564
1642
  /**
1565
1643
  * The first member.
1566
1644
  **/
1567
1645
  founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1568
1646
  /**
1569
- * The most primary from the most recently approved members.
1647
+ * The most primary from the most recently approved rank 0 members in the society.
1570
1648
  **/
1571
1649
  head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1572
1650
  /**
1573
- * The max number of members for the society at one time.
1651
+ * The current items in `Members` keyed by their unique index. Keys are densely populated
1652
+ * `0..MemberCount` (does not include `MemberCount`).
1653
+ **/
1654
+ memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1655
+ /**
1656
+ * The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
1657
+ **/
1658
+ memberCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1659
+ /**
1660
+ * The current members and their rank. Doesn't include `SuspendedMembers`.
1661
+ **/
1662
+ members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1663
+ /**
1664
+ * At the end of the claim period, this contains the most recently approved members (along with
1665
+ * their bid and round ID) who is from the most recent round with the lowest bid. They will
1666
+ * become the new `Head`.
1574
1667
  **/
1575
- maxMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1668
+ nextHead: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyIntakeRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1576
1669
  /**
1577
- * The current set of members, ordered.
1670
+ * The max number of members for the society at one time.
1578
1671
  **/
1579
- members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1672
+ parameters: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyGroupParams>>, []> & QueryableStorageEntry<ApiType, []>;
1580
1673
  /**
1581
- * Pending payouts; ordered by block number, with the amount that should be paid out.
1674
+ * Information regarding rank-0 payouts, past and future.
1582
1675
  **/
1583
- payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1676
+ payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletSocietyPayoutRecord>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1584
1677
  /**
1585
1678
  * Amount of our account balance that is specifically for the next round's bid(s).
1586
1679
  **/
1587
1680
  pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1681
+ /**
1682
+ * The number of rounds which have passed.
1683
+ **/
1684
+ roundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1588
1685
  /**
1589
1686
  * A hash of the rules of this society concerning membership. Can only be set once and
1590
1687
  * only by the founder.
1591
1688
  **/
1592
1689
  rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
1593
1690
  /**
1594
- * The ongoing number of losing votes cast by the member.
1691
+ * The current skeptic.
1595
1692
  **/
1596
- strikes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1693
+ skeptic: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1597
1694
  /**
1598
- * The set of suspended candidates.
1695
+ * The set of suspended members, with their old membership record.
1599
1696
  **/
1600
- suspendedCandidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u128, PalletSocietyBidKind]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1697
+ suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1601
1698
  /**
1602
- * The set of suspended members.
1699
+ * Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
1603
1700
  **/
1604
- suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<bool>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1701
+ voteClearCursor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1605
1702
  /**
1606
1703
  * Double map from Candidate -> Voter -> (Maybe) Vote.
1607
1704
  **/
1608
1705
  votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
1609
- /**
1610
- * Members currently vouching or banned from vouching again
1611
- **/
1612
- vouching: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVouchingStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1613
1706
  /**
1614
1707
  * Generic query
1615
1708
  **/
@@ -1775,7 +1868,8 @@ declare module '@polkadot/api-base/types/storage' {
1775
1868
  * they wish to support.
1776
1869
  *
1777
1870
  * Note that the keys of this storage map might become non-decodable in case the
1778
- * [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators
1871
+ * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
1872
+ * In this rare case, these nominators
1779
1873
  * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
1780
1874
  * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
1781
1875
  * nominators will effectively not-exist, until they re-submit their preferences such that it
@@ -1852,6 +1946,31 @@ declare module '@polkadot/api-base/types/storage' {
1852
1946
  **/
1853
1947
  [key: string]: QueryableStorageEntry<ApiType>;
1854
1948
  };
1949
+ stateTrieMigration: {
1950
+ /**
1951
+ * The limits that are imposed on automatic migrations.
1952
+ *
1953
+ * If set to None, then no automatic migration happens.
1954
+ **/
1955
+ autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
1956
+ /**
1957
+ * Migration progress.
1958
+ *
1959
+ * This stores the snapshot of the last migrated keys. It can be set into motion and move
1960
+ * forward by any of the means provided by this pallet.
1961
+ **/
1962
+ migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
1963
+ /**
1964
+ * The maximum limits that the signed migration could use.
1965
+ *
1966
+ * If not set, no signed submission is allowed.
1967
+ **/
1968
+ signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
1969
+ /**
1970
+ * Generic query
1971
+ **/
1972
+ [key: string]: QueryableStorageEntry<ApiType>;
1973
+ };
1855
1974
  system: {
1856
1975
  /**
1857
1976
  * The full account information for a particular account ID.
@@ -1895,7 +2014,7 @@ declare module '@polkadot/api-base/types/storage' {
1895
2014
  * allows light-clients to leverage the changes trie storage tracking mechanism and
1896
2015
  * in case of changes fetch the list of events of interest.
1897
2016
  *
1898
- * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
2017
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1899
2018
  * the `EventIndex` then in case if the topic has the same contents on the next block
1900
2019
  * no notification will be triggered thus the event might be lost.
1901
2020
  **/