@polkadot/api-augment 16.4.9 → 16.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/assetHubKusama/consts.d.ts +598 -4
  2. package/assetHubKusama/errors.d.ts +1278 -49
  3. package/assetHubKusama/events.d.ts +1691 -127
  4. package/assetHubKusama/query.d.ts +1175 -26
  5. package/assetHubKusama/runtime.d.ts +211 -8
  6. package/assetHubKusama/tx.d.ts +6095 -2628
  7. package/cjs/assetHubKusama/consts.d.ts +598 -4
  8. package/cjs/assetHubKusama/errors.d.ts +1278 -49
  9. package/cjs/assetHubKusama/events.d.ts +1691 -127
  10. package/cjs/assetHubKusama/query.d.ts +1175 -26
  11. package/cjs/assetHubKusama/runtime.d.ts +211 -8
  12. package/cjs/assetHubKusama/tx.d.ts +6095 -2628
  13. package/cjs/kusama/consts.d.ts +46 -104
  14. package/cjs/kusama/errors.d.ts +113 -121
  15. package/cjs/kusama/events.d.ts +258 -228
  16. package/cjs/kusama/query.d.ts +211 -104
  17. package/cjs/kusama/tx.d.ts +451 -236
  18. package/cjs/packageInfo.js +1 -1
  19. package/cjs/polkadot/consts.d.ts +40 -2
  20. package/cjs/polkadot/errors.d.ts +113 -0
  21. package/cjs/polkadot/events.d.ts +247 -1
  22. package/cjs/polkadot/query.d.ts +218 -4
  23. package/cjs/polkadot/runtime.d.ts +15 -1
  24. package/cjs/polkadot/tx.d.ts +399 -12
  25. package/kusama/consts.d.ts +46 -104
  26. package/kusama/errors.d.ts +113 -121
  27. package/kusama/events.d.ts +258 -228
  28. package/kusama/query.d.ts +211 -104
  29. package/kusama/tx.d.ts +451 -236
  30. package/package.json +6 -6
  31. package/packageInfo.js +1 -1
  32. package/polkadot/consts.d.ts +40 -2
  33. package/polkadot/errors.d.ts +113 -0
  34. package/polkadot/events.d.ts +247 -1
  35. package/polkadot/query.d.ts +218 -4
  36. package/polkadot/runtime.d.ts +15 -1
  37. package/polkadot/tx.d.ts +399 -12
@@ -2,13 +2,116 @@ import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H160, H256, Perbill } from '@polkadot/types/interfaces/runtime';
6
- import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
5
+ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
+ import type { AccountId32, H160, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
+ import type { AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameElectionProviderSupportBoundedSupports, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAhMigratorBalancesBefore, PalletAhMigratorMigrationStage, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollatorSelectionCandidateInfo, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockSignedSubmissionMetadata, PalletElectionProviderMultiBlockVerifierImplsPartialBackings, PalletElectionProviderMultiBlockVerifierImplsStatus, PalletElectionProviderMultiBlockVerifierImplsValidSolution, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType, PalletRcMigratorAccountsAccount, PalletRcMigratorQueuePriority, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoOriginCaller, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingAsyncActiveEraInfo, PalletStakingAsyncEraRewardPoints, PalletStakingAsyncForcing, PalletStakingAsyncLedgerStakingLedger, PalletStakingAsyncNominations, PalletStakingAsyncPalletBoundedExposurePage, PalletStakingAsyncPalletPruningStep, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncSlashingOffenceRecord, PalletStakingAsyncSnapshotStatus, PalletStakingAsyncUnappliedSlash, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingPagedExposureMetadata, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
8
  import type { Observable } from '@polkadot/types/types';
8
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
10
11
  declare module '@polkadot/api-base/types/storage' {
11
12
  interface AugmentedQueries<ApiType extends ApiTypes> {
13
+ ahMigrator: {
14
+ /**
15
+ * Helper storage item to store the total balance / total issuance of native token at the start
16
+ * of the migration. Since teleports are disabled during migration, the total issuance will not
17
+ * change for other reason than the migration itself.
18
+ **/
19
+ ahBalancesBefore: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorBalancesBefore>, []> & QueryableStorageEntry<ApiType, []>;
20
+ /**
21
+ * The Asset Hub migration state.
22
+ **/
23
+ ahMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
24
+ /**
25
+ * The priority of the DMP queue during migration.
26
+ *
27
+ * Controls how the DMP (Downward Message Passing) queue is processed relative to other queues
28
+ * during the migration process. This helps ensure timely processing of migration messages.
29
+ * The default priority pattern is defined in the pallet configuration, but can be overridden
30
+ * by a storage value of this type.
31
+ **/
32
+ dmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
33
+ /**
34
+ * An optional account id of a manager.
35
+ *
36
+ * This account id has similar privileges to [`Config::AdminOrigin`] except that it
37
+ * can not set the manager account id via `set_manager` call.
38
+ **/
39
+ manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
40
+ /**
41
+ * Block number when migration finished and extrinsics were unlocked.
42
+ *
43
+ * This is set when entering the `MigrationDone` stage hence when
44
+ * `RcMigrationStage::is_finished()` becomes `true`.
45
+ **/
46
+ migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
47
+ /**
48
+ * The block number at which the migration began and the pallet's extrinsics were locked.
49
+ *
50
+ * This value is set when entering the `WaitingForAh` stage, i.e., when
51
+ * `RcMigrationStage::is_ongoing()` becomes `true`.
52
+ **/
53
+ migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
54
+ /**
55
+ * RC accounts that failed to migrate when were received on the Asset Hub.
56
+ *
57
+ * This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
58
+ **/
59
+ rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
60
+ /**
61
+ * Generic query
62
+ **/
63
+ [key: string]: QueryableStorageEntry<ApiType>;
64
+ };
65
+ ahOps: {
66
+ /**
67
+ * Amount of balance that a contributor made towards a crowdloan.
68
+ *
69
+ * `withdraw_crowdloan_contribution` can be permissionlessly called once the block number
70
+ * passed to unlock the balance for a specific account.
71
+ *
72
+ * The keys are as follows:
73
+ * - Block number after which the balance can be unlocked.
74
+ * - The para_id of the crowdloan.
75
+ * - The account that made the contribution.
76
+ *
77
+ * The value is (fund_pot, balance). The contribution pot is the second key in the
78
+ * `RcCrowdloanContribution` storage.
79
+ **/
80
+ rcCrowdloanContribution: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128]>>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
81
+ /**
82
+ * The reserve that was taken to create a crowdloan.
83
+ *
84
+ * This is normally 500 DOT and can be refunded as last step after all
85
+ * `RcCrowdloanContribution`s of this loan have been withdrawn.
86
+ *
87
+ * Keys:
88
+ * - Block number after which this can be unreserved
89
+ * - The para_id of the crowdloan
90
+ * - The account that will have the balance unreserved
91
+ **/
92
+ rcCrowdloanReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
93
+ /**
94
+ * Amount of balance that was reserved for winning a lease auction.
95
+ *
96
+ * `unreserve_lease_deposit` can be permissionlessly called once the block number passed to
97
+ * unreserve the deposit. It is implicitly called by `withdraw_crowdloan_contribution`.
98
+ *
99
+ * The account here can either be a crowdloan account or a solo bidder. If it is a crowdloan
100
+ * account, then the summed up contributions for it in the contributions map will equate the
101
+ * reserved balance here.
102
+ *
103
+ * The keys are as follows:
104
+ * - Block number after which the deposit can be unreserved.
105
+ * - The para_id of the lease slot.
106
+ * - The account that will have the balance unreserved.
107
+ * - The balance to be unreserved.
108
+ **/
109
+ rcLeaseReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
110
+ /**
111
+ * Generic query
112
+ **/
113
+ [key: string]: QueryableStorageEntry<ApiType>;
114
+ };
12
115
  assetConversion: {
13
116
  /**
14
117
  * Stores the `PoolAssetId` that is going to be used for the next lp token.
@@ -19,13 +122,31 @@ declare module '@polkadot/api-base/types/storage' {
19
122
  * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
20
123
  * created rather than people sending tokens directly to a pool's public account.
21
124
  **/
22
- pools: AugmentedQuery<ApiType, (arg: ITuple<[StagingXcmV4Location, StagingXcmV4Location]> | [StagingXcmV4Location | {
125
+ pools: AugmentedQuery<ApiType, (arg: ITuple<[StagingXcmV5Location, StagingXcmV5Location]> | [StagingXcmV5Location | {
23
126
  parents?: any;
24
127
  interior?: any;
25
- } | string | Uint8Array, StagingXcmV4Location | {
128
+ } | string | Uint8Array, StagingXcmV5Location | {
26
129
  parents?: any;
27
130
  interior?: any;
28
- } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[StagingXcmV4Location, StagingXcmV4Location]>]> & QueryableStorageEntry<ApiType, [ITuple<[StagingXcmV4Location, StagingXcmV4Location]>]>;
131
+ } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[StagingXcmV5Location, StagingXcmV5Location]>]> & QueryableStorageEntry<ApiType, [ITuple<[StagingXcmV5Location, StagingXcmV5Location]>]>;
132
+ /**
133
+ * Generic query
134
+ **/
135
+ [key: string]: QueryableStorageEntry<ApiType>;
136
+ };
137
+ assetRate: {
138
+ /**
139
+ * Maps an asset to its fixed point representation in the native balance.
140
+ *
141
+ * E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)`
142
+ **/
143
+ conversionRateToNative: AugmentedQuery<ApiType, (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset | {
144
+ V3: any;
145
+ } | {
146
+ V4: any;
147
+ } | {
148
+ V5: any;
149
+ } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
29
150
  /**
30
151
  * Generic query
31
152
  **/
@@ -151,14 +272,11 @@ declare module '@polkadot/api-base/types/storage' {
151
272
  /**
152
273
  * Freeze locks on account balances.
153
274
  **/
154
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
275
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
155
276
  /**
156
277
  * Holds on account balances.
157
278
  **/
158
- holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
159
- readonly id: AssetHubKusamaRuntimeRuntimeHoldReason;
160
- readonly amount: u128;
161
- } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
279
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
162
280
  /**
163
281
  * The total units of outstanding deactivated balance in the system.
164
282
  **/
@@ -185,6 +303,93 @@ declare module '@polkadot/api-base/types/storage' {
185
303
  **/
186
304
  [key: string]: QueryableStorageEntry<ApiType>;
187
305
  };
306
+ bounties: {
307
+ /**
308
+ * Bounties that have been made.
309
+ **/
310
+ bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
311
+ /**
312
+ * Bounty indices that have been approved but not yet funded.
313
+ **/
314
+ bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
315
+ /**
316
+ * Number of bounty proposals that have been made.
317
+ **/
318
+ bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
319
+ /**
320
+ * The description of each bounty.
321
+ **/
322
+ bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
323
+ /**
324
+ * Generic query
325
+ **/
326
+ [key: string]: QueryableStorageEntry<ApiType>;
327
+ };
328
+ childBounties: {
329
+ /**
330
+ * Child bounties that have been added.
331
+ **/
332
+ childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
333
+ /**
334
+ * DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
335
+ * for each parent bounty. Number of total child bounties. Will be removed in May 2025.
336
+ **/
337
+ childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
338
+ /**
339
+ * The description of each child-bounty. Indexed by `(parent_id, child_id)`.
340
+ *
341
+ * This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
342
+ **/
343
+ childBountyDescriptionsV1: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
344
+ /**
345
+ * The cumulative child-bounty curator fee for each parent bounty.
346
+ **/
347
+ childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
348
+ /**
349
+ * Number of active child bounties per parent bounty.
350
+ * Map of parent bounty index to number of child bounties.
351
+ **/
352
+ parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
353
+ /**
354
+ * Number of total child bounties per parent bounty, including completed bounties.
355
+ **/
356
+ parentTotalChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
357
+ /**
358
+ * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
359
+ *
360
+ * The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
361
+ * based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
362
+ * The item intended solely for client convenience and not used in the pallet's core logic.
363
+ **/
364
+ v0ToV1ChildBountyIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
365
+ /**
366
+ * Generic query
367
+ **/
368
+ [key: string]: QueryableStorageEntry<ApiType>;
369
+ };
370
+ claims: {
371
+ claims: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<u128>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
372
+ /**
373
+ * Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
374
+ **/
375
+ preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<EthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
376
+ /**
377
+ * The statement kind that must be signed, if any.
378
+ **/
379
+ signing: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<PolkadotRuntimeCommonClaimsStatementKind>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
380
+ total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
381
+ /**
382
+ * Vesting schedule for a claim.
383
+ * First balance is the total amount that should be held for vesting.
384
+ * Second balance is how much should be unlocked per block.
385
+ * The block number is when the vesting should start.
386
+ **/
387
+ vesting: AugmentedQuery<ApiType, (arg: EthereumAddress | string | Uint8Array) => Observable<Option<ITuple<[u128, u128, u32]>>>, [EthereumAddress]> & QueryableStorageEntry<ApiType, [EthereumAddress]>;
388
+ /**
389
+ * Generic query
390
+ **/
391
+ [key: string]: QueryableStorageEntry<ApiType>;
392
+ };
188
393
  collatorSelection: {
189
394
  /**
190
395
  * Fixed amount to deposit to become a collator.
@@ -219,34 +424,76 @@ declare module '@polkadot/api-base/types/storage' {
219
424
  **/
220
425
  [key: string]: QueryableStorageEntry<ApiType>;
221
426
  };
427
+ convictionVoting: {
428
+ /**
429
+ * The voting classes which have a non-zero lock requirement and the lock amounts which they
430
+ * require. The actual amount locked on behalf of this pallet should always be the maximum of
431
+ * this list.
432
+ **/
433
+ classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
434
+ /**
435
+ * All voting for a particular voter in a particular voting class. We store the balance for the
436
+ * number of votes that we have recorded.
437
+ **/
438
+ votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
439
+ /**
440
+ * Generic query
441
+ **/
442
+ [key: string]: QueryableStorageEntry<ApiType>;
443
+ };
444
+ delegatedStaking: {
445
+ /**
446
+ * Map of `Agent` to their `Ledger`.
447
+ **/
448
+ agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
449
+ /**
450
+ * Counter for the related counted storage map
451
+ **/
452
+ counterForAgents: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
453
+ /**
454
+ * Counter for the related counted storage map
455
+ **/
456
+ counterForDelegators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
457
+ /**
458
+ * Map of Delegators to their `Delegation`.
459
+ *
460
+ * Implementation note: We are not using a double map with `delegator` and `agent` account
461
+ * as keys since we want to restrict delegators to delegate only to one account at a time.
462
+ **/
463
+ delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
464
+ /**
465
+ * Generic query
466
+ **/
467
+ [key: string]: QueryableStorageEntry<ApiType>;
468
+ };
222
469
  foreignAssets: {
223
470
  /**
224
471
  * The holdings of a specific account for a specific asset.
225
472
  **/
226
- account: AugmentedQuery<ApiType, (arg1: StagingXcmV4Location | {
473
+ account: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | {
227
474
  parents?: any;
228
475
  interior?: any;
229
- } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [StagingXcmV4Location, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location, AccountId32]>;
476
+ } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [StagingXcmV5Location, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32]>;
230
477
  /**
231
478
  * Approved balance transfers. First balance is the amount approved for transfer. Second
232
479
  * is the amount of `T::Currency` reserved for storing this.
233
480
  * First key is the asset ID, second key is the owner and third key is the delegate.
234
481
  **/
235
- approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV4Location | {
482
+ approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | {
236
483
  parents?: any;
237
484
  interior?: any;
238
- } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [StagingXcmV4Location, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location, AccountId32, AccountId32]>;
485
+ } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [StagingXcmV5Location, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32, AccountId32]>;
239
486
  /**
240
487
  * Details of an asset.
241
488
  **/
242
- asset: AugmentedQuery<ApiType, (arg: StagingXcmV4Location | {
489
+ asset: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | {
243
490
  parents?: any;
244
491
  interior?: any;
245
- } | string | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [StagingXcmV4Location]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location]>;
492
+ } | string | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
246
493
  /**
247
494
  * Metadata of an asset.
248
495
  **/
249
- metadata: AugmentedQuery<ApiType, (arg: StagingXcmV4Location | {
496
+ metadata: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | {
250
497
  parents?: any;
251
498
  interior?: any;
252
499
  } | string | Uint8Array) => Observable<{
@@ -255,7 +502,7 @@ declare module '@polkadot/api-base/types/storage' {
255
502
  readonly symbol: Bytes;
256
503
  readonly decimals: u8;
257
504
  readonly isFrozen: bool;
258
- } & Struct>, [StagingXcmV4Location]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location]>;
505
+ } & Struct>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
259
506
  /**
260
507
  * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
261
508
  * item has no effect.
@@ -267,7 +514,17 @@ declare module '@polkadot/api-base/types/storage' {
267
514
  * The initial next asset ID can be set using the [`GenesisConfig`] or the
268
515
  * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
269
516
  **/
270
- nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<StagingXcmV4Location>>, []> & QueryableStorageEntry<ApiType, []>;
517
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<StagingXcmV5Location>>, []> & QueryableStorageEntry<ApiType, []>;
518
+ /**
519
+ * Generic query
520
+ **/
521
+ [key: string]: QueryableStorageEntry<ApiType>;
522
+ };
523
+ indices: {
524
+ /**
525
+ * The lookup from index to account.
526
+ **/
527
+ accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
271
528
  /**
272
529
  * Generic query
273
530
  **/
@@ -303,6 +560,150 @@ declare module '@polkadot/api-base/types/storage' {
303
560
  **/
304
561
  [key: string]: QueryableStorageEntry<ApiType>;
305
562
  };
563
+ multiBlockElection: {
564
+ /**
565
+ * Current phase.
566
+ **/
567
+ currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiBlockPhase>, []> & QueryableStorageEntry<ApiType, []>;
568
+ /**
569
+ * Desired number of targets to elect for this round.
570
+ **/
571
+ desiredTargets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
572
+ /**
573
+ * Paginated target snapshot.
574
+ *
575
+ * For the time being, since we assume one pages of targets, at most ONE key will exist.
576
+ **/
577
+ pagedTargetSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
578
+ /**
579
+ * Same as [`PagedTargetSnapshot`], but it will store the hash of the snapshot.
580
+ *
581
+ * The hash is generated using [`frame_system::Config::Hashing`].
582
+ **/
583
+ pagedTargetSnapshotHash: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
584
+ /**
585
+ * Paginated voter snapshot. At most [`T::Pages`] keys will exist.
586
+ **/
587
+ pagedVoterSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
588
+ /**
589
+ * Same as [`PagedVoterSnapshot`], but it will store the hash of the snapshot.
590
+ *
591
+ * The hash is generated using [`frame_system::Config::Hashing`].
592
+ **/
593
+ pagedVoterSnapshotHash: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
594
+ /**
595
+ * Internal counter for the number of rounds.
596
+ *
597
+ * This is useful for de-duplication of transactions submitted to the pool, and general
598
+ * diagnostics of the pallet.
599
+ *
600
+ * This is merely incremented once per every time that an upstream `elect` is called.
601
+ **/
602
+ round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
603
+ /**
604
+ * Generic query
605
+ **/
606
+ [key: string]: QueryableStorageEntry<ApiType>;
607
+ };
608
+ multiBlockElectionSigned: {
609
+ /**
610
+ * Accounts whitelisted by governance to always submit their solutions.
611
+ *
612
+ * They are different in that:
613
+ *
614
+ * * They always pay a fixed deposit for submission, specified by
615
+ * [`Config::InvulnerableDeposit`]. They pay no page deposit.
616
+ * * If _ejected_ by better solution from [`SortedScores`], they will get their full deposit
617
+ * back.
618
+ * * They always get their tx-fee back even if they are _discarded_.
619
+ **/
620
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
621
+ sortedScores: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, SpNposElectionsElectionScore]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
622
+ /**
623
+ * Map from account to the metadata of their submission.
624
+ *
625
+ * invariant: for any Key1 of type `AccountId` in [`Submissions`], this storage map also has a
626
+ * value.
627
+ **/
628
+ submissionMetadataStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletElectionProviderMultiBlockSignedSubmissionMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
629
+ /**
630
+ * Triple map from (round, account, page) to a solution page.
631
+ **/
632
+ submissionStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<AssetHubKusamaRuntimeStakingNposCompactSolution24>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
633
+ /**
634
+ * Generic query
635
+ **/
636
+ [key: string]: QueryableStorageEntry<ApiType>;
637
+ };
638
+ multiBlockElectionVerifier: {
639
+ /**
640
+ * The minimum score that each solution must attain in order to be considered feasible.
641
+ **/
642
+ minimumScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
643
+ /**
644
+ * The `(amount, count)` of backings, divided per page.
645
+ *
646
+ * This is stored because in the last block of verification we need them to compute the score,
647
+ * and check `MaxBackersPerWinnerFinal`.
648
+ *
649
+ * This can only ever live for the invalid variant of the solution. Once it is valid, we don't
650
+ * need this information anymore; the score is already computed once in
651
+ * [`QueuedSolutionScore`], and the backing counts are checked.
652
+ **/
653
+ queuedSolutionBackings: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
654
+ /**
655
+ * The score of the valid variant of [`QueuedSolution`].
656
+ *
657
+ * This only ever lives for the `valid` variant.
658
+ **/
659
+ queuedSolutionScore: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpNposElectionsElectionScore>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
660
+ /**
661
+ * The `X` variant of the current queued solution. Might be the valid one or not.
662
+ *
663
+ * The two variants of this storage item is to avoid the need of copying. Recall that once a
664
+ * `VerifyingSolution` is being processed, it needs to write its partial supports *somewhere*.
665
+ * Writing theses supports on top of a *good* queued supports is wrong, since we might bail.
666
+ * Writing them to a bugger and copying at the ned is slightly better, but expensive. This flag
667
+ * system is best of both worlds.
668
+ **/
669
+ queuedSolutionX: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<FrameElectionProviderSupportBoundedSupports>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
670
+ /**
671
+ * The `Y` variant of the current queued solution. Might be the valid one or not.
672
+ **/
673
+ queuedSolutionY: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<FrameElectionProviderSupportBoundedSupports>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
674
+ /**
675
+ * Pointer to the variant of [`QueuedSolutionX`] or [`QueuedSolutionY`] that is currently
676
+ * valid.
677
+ **/
678
+ queuedValidVariant: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletElectionProviderMultiBlockVerifierImplsValidSolution>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
679
+ /**
680
+ * Storage item for [`Status`].
681
+ **/
682
+ statusStorage: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiBlockVerifierImplsStatus>, []> & QueryableStorageEntry<ApiType, []>;
683
+ /**
684
+ * Generic query
685
+ **/
686
+ [key: string]: QueryableStorageEntry<ApiType>;
687
+ };
688
+ multiBlockMigrations: {
689
+ /**
690
+ * The currently active migration to run and its cursor.
691
+ *
692
+ * `None` indicates that no migration is running.
693
+ **/
694
+ cursor: AugmentedQuery<ApiType, () => Observable<Option<PalletMigrationsMigrationCursor>>, []> & QueryableStorageEntry<ApiType, []>;
695
+ /**
696
+ * Set of all successfully executed migrations.
697
+ *
698
+ * This is used as blacklist, to not re-execute migrations that have not been removed from the
699
+ * codebase yet. Governance can regularly clear this out via `clear_historic`.
700
+ **/
701
+ historic: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<Null>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
702
+ /**
703
+ * Generic query
704
+ **/
705
+ [key: string]: QueryableStorageEntry<ApiType>;
706
+ };
306
707
  multisig: {
307
708
  /**
308
709
  * The set of open multisig operations.
@@ -401,6 +802,118 @@ declare module '@polkadot/api-base/types/storage' {
401
802
  **/
402
803
  [key: string]: QueryableStorageEntry<ApiType>;
403
804
  };
805
+ nominationPools: {
806
+ /**
807
+ * Storage for bonded pools.
808
+ **/
809
+ bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
810
+ /**
811
+ * Map from a pool member account to their opted claim permission.
812
+ **/
813
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
814
+ /**
815
+ * Counter for the related counted storage map
816
+ **/
817
+ counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
818
+ /**
819
+ * Counter for the related counted storage map
820
+ **/
821
+ counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
822
+ /**
823
+ * Counter for the related counted storage map
824
+ **/
825
+ counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
826
+ /**
827
+ * Counter for the related counted storage map
828
+ **/
829
+ counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
830
+ /**
831
+ * Counter for the related counted storage map
832
+ **/
833
+ counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
834
+ /**
835
+ * Counter for the related counted storage map
836
+ **/
837
+ counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
838
+ /**
839
+ * The maximum commission that can be charged by a pool. Used on commission payouts to bound
840
+ * pool commissions that are > `GlobalMaxCommission`, necessary if a future
841
+ * `GlobalMaxCommission` is lower than some current pool commissions.
842
+ **/
843
+ globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
844
+ /**
845
+ * Ever increasing number of all pools created so far.
846
+ **/
847
+ lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
848
+ /**
849
+ * Maximum number of members that can exist in the system. If `None`, then the count
850
+ * members are not bound on a system wide basis.
851
+ **/
852
+ maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
853
+ /**
854
+ * Maximum number of members that may belong to pool. If `None`, then the count of
855
+ * members is not bound on a per pool basis.
856
+ **/
857
+ maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
858
+ /**
859
+ * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
860
+ * pools can exist.
861
+ **/
862
+ maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
863
+ /**
864
+ * Metadata for the pool.
865
+ **/
866
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
867
+ /**
868
+ * Minimum bond required to create a pool.
869
+ *
870
+ * This is the amount that the depositor must put as their initial stake in the pool, as an
871
+ * indication of "skin in the game".
872
+ *
873
+ * This is the value that will always exist in the staking ledger of the pool bonded account
874
+ * while all other accounts leave.
875
+ **/
876
+ minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
877
+ /**
878
+ * Minimum amount to bond to join a pool.
879
+ **/
880
+ minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
881
+ /**
882
+ * Active members.
883
+ *
884
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
885
+ **/
886
+ poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
887
+ /**
888
+ * A reverse lookup from the pool's account id to its id.
889
+ *
890
+ * This is only used for slashing and on automatic withdraw update. In all other instances, the
891
+ * pool id is used, and the accounts are deterministically derived from it.
892
+ **/
893
+ reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
894
+ /**
895
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
896
+ * claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
897
+ **/
898
+ rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
899
+ /**
900
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a
901
+ * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
902
+ **/
903
+ subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
904
+ /**
905
+ * The sum of funds across all pools.
906
+ *
907
+ * This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
908
+ * because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
909
+ * `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
910
+ **/
911
+ totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
912
+ /**
913
+ * Generic query
914
+ **/
915
+ [key: string]: QueryableStorageEntry<ApiType>;
916
+ };
404
917
  parachainInfo: {
405
918
  parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
406
919
  /**
@@ -447,8 +960,6 @@ declare module '@polkadot/api-base/types/storage' {
447
960
  hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;
448
961
  /**
449
962
  * HRMP watermark that was set in a block.
450
- *
451
- * This will be cleared in `on_initialize` of each new block.
452
963
  **/
453
964
  hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
454
965
  /**
@@ -465,6 +976,18 @@ declare module '@polkadot/api-base/types/storage' {
465
976
  * by the system inherent.
466
977
  **/
467
978
  lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;
979
+ /**
980
+ * The last processed downward message.
981
+ *
982
+ * We need to keep track of this to filter the messages that have been already processed.
983
+ **/
984
+ lastProcessedDownwardMessage: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemParachainInherentInboundMessageId>>, []> & QueryableStorageEntry<ApiType, []>;
985
+ /**
986
+ * The last processed HRMP message.
987
+ *
988
+ * We need to keep track of this to filter the messages that have been already processed.
989
+ **/
990
+ lastProcessedHrmpMessage: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemParachainInherentInboundMessageId>>, []> & QueryableStorageEntry<ApiType, []>;
468
991
  /**
469
992
  * The relay chain block number associated with the last parachain block.
470
993
  *
@@ -575,6 +1098,26 @@ declare module '@polkadot/api-base/types/storage' {
575
1098
  **/
576
1099
  [key: string]: QueryableStorageEntry<ApiType>;
577
1100
  };
1101
+ parameters: {
1102
+ /**
1103
+ * Stored parameters.
1104
+ **/
1105
+ parameters: AugmentedQuery<ApiType, (arg: AssetHubKusamaRuntimeRuntimeParametersKey | {
1106
+ Issuance: any;
1107
+ } | {
1108
+ Treasury: any;
1109
+ } | {
1110
+ StakingElection: any;
1111
+ } | {
1112
+ Scheduler: any;
1113
+ } | {
1114
+ MessageQueue: any;
1115
+ } | string | Uint8Array) => Observable<Option<AssetHubKusamaRuntimeRuntimeParametersValue>>, [AssetHubKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [AssetHubKusamaRuntimeRuntimeParametersKey]>;
1116
+ /**
1117
+ * Generic query
1118
+ **/
1119
+ [key: string]: QueryableStorageEntry<ApiType>;
1120
+ };
578
1121
  polkadotXcm: {
579
1122
  /**
580
1123
  * The existing asset traps.
@@ -727,6 +1270,21 @@ declare module '@polkadot/api-base/types/storage' {
727
1270
  **/
728
1271
  [key: string]: QueryableStorageEntry<ApiType>;
729
1272
  };
1273
+ preimage: {
1274
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
1275
+ /**
1276
+ * The request status of a given hash.
1277
+ **/
1278
+ requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1279
+ /**
1280
+ * The request status of a given hash.
1281
+ **/
1282
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1283
+ /**
1284
+ * Generic query
1285
+ **/
1286
+ [key: string]: QueryableStorageEntry<ApiType>;
1287
+ };
730
1288
  proxy: {
731
1289
  /**
732
1290
  * The announcements made by the proxy (key).
@@ -736,7 +1294,64 @@ declare module '@polkadot/api-base/types/storage' {
736
1294
  * The set of account proxies. Maps the account which has delegated to the accounts
737
1295
  * which are being delegated to, together with the amount held on deposit.
738
1296
  **/
739
- proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1297
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1298
+ /**
1299
+ * Generic query
1300
+ **/
1301
+ [key: string]: QueryableStorageEntry<ApiType>;
1302
+ };
1303
+ recovery: {
1304
+ /**
1305
+ * Active recovery attempts.
1306
+ *
1307
+ * First account is the account to be recovered, and the second account
1308
+ * is the user trying to recover the account.
1309
+ **/
1310
+ activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
1311
+ /**
1312
+ * The list of allowed proxy accounts.
1313
+ *
1314
+ * Map from the user who can access it to the recovered account.
1315
+ **/
1316
+ proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1317
+ /**
1318
+ * The set of recoverable accounts and their recovery configuration.
1319
+ **/
1320
+ recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1321
+ /**
1322
+ * Generic query
1323
+ **/
1324
+ [key: string]: QueryableStorageEntry<ApiType>;
1325
+ };
1326
+ referenda: {
1327
+ /**
1328
+ * The number of referenda being decided currently.
1329
+ **/
1330
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1331
+ /**
1332
+ * The metadata is a general information concerning the referendum.
1333
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1334
+ * dump or IPFS hash of a JSON file.
1335
+ *
1336
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1337
+ * large preimages.
1338
+ **/
1339
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1340
+ /**
1341
+ * The next free referendum index, aka the number of referenda started so far.
1342
+ **/
1343
+ referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1344
+ /**
1345
+ * Information concerning any given referendum.
1346
+ **/
1347
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoOriginCaller>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1348
+ /**
1349
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1350
+ * conviction-weighted approvals.
1351
+ *
1352
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1353
+ **/
1354
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
740
1355
  /**
741
1356
  * Generic query
742
1357
  **/
@@ -755,13 +1370,13 @@ declare module '@polkadot/api-base/types/storage' {
755
1370
  };
756
1371
  revive: {
757
1372
  /**
758
- * A mapping from a contract's code hash to its code info.
1373
+ * The data associated to a contract or externally owned account.
759
1374
  **/
760
- codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1375
+ accountInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageAccountInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
761
1376
  /**
762
- * The code associated with a given account.
1377
+ * A mapping from a contract's code hash to its code info.
763
1378
  **/
764
- contractInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageContractInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
1379
+ codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveVmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
765
1380
  /**
766
1381
  * Evicted contracts that await child trie deletion.
767
1382
  *
@@ -796,6 +1411,31 @@ declare module '@polkadot/api-base/types/storage' {
796
1411
  **/
797
1412
  [key: string]: QueryableStorageEntry<ApiType>;
798
1413
  };
1414
+ scheduler: {
1415
+ /**
1416
+ * Items to be executed, indexed by the block number that they should be executed on.
1417
+ **/
1418
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1419
+ /**
1420
+ * Block number at which the agenda began incomplete execution.
1421
+ **/
1422
+ incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1423
+ /**
1424
+ * Lookup from a name to the block number and index of the task.
1425
+ *
1426
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1427
+ * identities.
1428
+ **/
1429
+ lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1430
+ /**
1431
+ * Retry configurations for items to be executed, indexed by task address.
1432
+ **/
1433
+ retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
1434
+ /**
1435
+ * Generic query
1436
+ **/
1437
+ [key: string]: QueryableStorageEntry<ApiType>;
1438
+ };
799
1439
  session: {
800
1440
  /**
801
1441
  * Current index of the session.
@@ -836,6 +1476,431 @@ declare module '@polkadot/api-base/types/storage' {
836
1476
  **/
837
1477
  [key: string]: QueryableStorageEntry<ApiType>;
838
1478
  };
1479
+ society: {
1480
+ /**
1481
+ * The current bids, stored ordered by the value of the bid.
1482
+ **/
1483
+ bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
1484
+ candidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyCandidacy>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1485
+ /**
1486
+ * The number of challenge rounds there have been. Used to identify stale DefenderVotes.
1487
+ **/
1488
+ challengeRoundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1489
+ /**
1490
+ * Votes for the defender, keyed by challenge round.
1491
+ **/
1492
+ defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1493
+ /**
1494
+ * The defending member currently being challenged, along with a running tally of votes.
1495
+ **/
1496
+ defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, AccountId32, PalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
1497
+ /**
1498
+ * The first member.
1499
+ **/
1500
+ founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1501
+ /**
1502
+ * The most primary from the most recently approved rank 0 members in the society.
1503
+ **/
1504
+ head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1505
+ /**
1506
+ * The current items in `Members` keyed by their unique index. Keys are densely populated
1507
+ * `0..MemberCount` (does not include `MemberCount`).
1508
+ **/
1509
+ memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1510
+ /**
1511
+ * The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
1512
+ **/
1513
+ memberCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1514
+ /**
1515
+ * The current members and their rank. Doesn't include `SuspendedMembers`.
1516
+ **/
1517
+ members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1518
+ /**
1519
+ * Next challenge rotation scheduled with [Config::BlockNumberProvider].
1520
+ **/
1521
+ nextChallengeAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1522
+ /**
1523
+ * At the end of the claim period, this contains the most recently approved members (along with
1524
+ * their bid and round ID) who is from the most recent round with the lowest bid. They will
1525
+ * become the new `Head`.
1526
+ **/
1527
+ nextHead: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyIntakeRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1528
+ /**
1529
+ * Next intake rotation scheduled with [Config::BlockNumberProvider].
1530
+ **/
1531
+ nextIntakeAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1532
+ /**
1533
+ * The max number of members for the society at one time.
1534
+ **/
1535
+ parameters: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyGroupParams>>, []> & QueryableStorageEntry<ApiType, []>;
1536
+ /**
1537
+ * Information regarding rank-0 payouts, past and future.
1538
+ **/
1539
+ payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletSocietyPayoutRecord>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1540
+ /**
1541
+ * Amount of our account balance that is specifically for the next round's bid(s).
1542
+ **/
1543
+ pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1544
+ /**
1545
+ * The number of rounds which have passed.
1546
+ **/
1547
+ roundCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1548
+ /**
1549
+ * A hash of the rules of this society concerning membership. Can only be set once and
1550
+ * only by the founder.
1551
+ **/
1552
+ rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
1553
+ /**
1554
+ * The current skeptic.
1555
+ **/
1556
+ skeptic: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1557
+ /**
1558
+ * The set of suspended members, with their old membership record.
1559
+ **/
1560
+ suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1561
+ /**
1562
+ * Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
1563
+ **/
1564
+ voteClearCursor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1565
+ /**
1566
+ * Double map from Candidate -> Voter -> (Maybe) Vote.
1567
+ **/
1568
+ votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
1569
+ /**
1570
+ * Generic query
1571
+ **/
1572
+ [key: string]: QueryableStorageEntry<ApiType>;
1573
+ };
1574
+ staking: {
1575
+ /**
1576
+ * The active era information, it holds index and start.
1577
+ *
1578
+ * The active era is the era being currently rewarded. Validator set of this era must be
1579
+ * equal to what is RC's session pallet.
1580
+ **/
1581
+ activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1582
+ /**
1583
+ * Map from all locked "stash" accounts to the controller account.
1584
+ *
1585
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1586
+ **/
1587
+ bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1588
+ /**
1589
+ * A mapping from still-bonded eras to the first session index of that era.
1590
+ *
1591
+ * Must contains information for eras for the range:
1592
+ * `[active_era - bounding_duration; active_era]`
1593
+ **/
1594
+ bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1595
+ /**
1596
+ * The amount of currency given to reporters of a slash event which was
1597
+ * canceled by extraordinary circumstances (e.g. governance).
1598
+ **/
1599
+ canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1600
+ /**
1601
+ * Cancelled slashes by era and validator with maximum slash fraction to be cancelled.
1602
+ *
1603
+ * When slashes are cancelled by governance, this stores the era and the validators
1604
+ * whose slashes should be cancelled, along with the maximum slash fraction that should
1605
+ * be cancelled for each validator.
1606
+ **/
1607
+ cancelledSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, Perbill]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1608
+ /**
1609
+ * The threshold for when users can start calling `chill_other` for other validators /
1610
+ * nominators. The threshold is compared to the actual number of validators / nominators
1611
+ * (`CountFor*`) in the system compared to the configured max (`Max*Count`).
1612
+ **/
1613
+ chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1614
+ /**
1615
+ * History of claimed paged rewards by era and validator.
1616
+ *
1617
+ * This is keyed by era and validator stash which maps to the set of page indexes which have
1618
+ * been claimed.
1619
+ *
1620
+ * It is removed after [`Config::HistoryDepth`] eras.
1621
+ **/
1622
+ claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1623
+ /**
1624
+ * Counter for the related counted storage map
1625
+ **/
1626
+ counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1627
+ /**
1628
+ * Counter for the related counted storage map
1629
+ **/
1630
+ counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1631
+ /**
1632
+ * Counter for the related counted storage map
1633
+ **/
1634
+ counterForVirtualStakers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1635
+ /**
1636
+ * The current planned era index.
1637
+ *
1638
+ * This is the latest planned era, depending on how the Session pallet queues the validator
1639
+ * set, it might be active or not.
1640
+ **/
1641
+ currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1642
+ /**
1643
+ * A bounded list of the "electable" stashes that resulted from a successful election.
1644
+ **/
1645
+ electableStashes: AugmentedQuery<ApiType, () => Observable<BTreeSet<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1646
+ /**
1647
+ * Tracks the current step of era pruning process for each era being lazily pruned.
1648
+ **/
1649
+ eraPruningState: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletPruningStep>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1650
+ /**
1651
+ * Rewards for the last [`Config::HistoryDepth`] eras.
1652
+ * If reward hasn't been set or has been removed then 0 reward is returned.
1653
+ **/
1654
+ erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingAsyncEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1655
+ /**
1656
+ * Summary of validator exposure at a given era.
1657
+ *
1658
+ * This contains the total stake in support of the validator and their own stake. In addition,
1659
+ * it can also be used to get the number of nominators backing this validator and the number of
1660
+ * exposure pages they are divided into. The page count is useful to determine the number of
1661
+ * pages of rewards that needs to be claimed.
1662
+ *
1663
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
1664
+ * Should only be accessed through `Eras`.
1665
+ *
1666
+ * Is it removed after [`Config::HistoryDepth`] eras.
1667
+ * If stakers hasn't been set or has been removed then empty overview is returned.
1668
+ **/
1669
+ erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1670
+ /**
1671
+ * Paginated exposure of a validator at given era.
1672
+ *
1673
+ * This is keyed first by the era index to allow bulk deletion, then stash account and finally
1674
+ * the page. Should only be accessed through `Eras`.
1675
+ *
1676
+ * This is cleared after [`Config::HistoryDepth`] eras.
1677
+ **/
1678
+ erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletBoundedExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
1679
+ /**
1680
+ * The total amount staked for the last [`Config::HistoryDepth`] eras.
1681
+ * If total hasn't been set or has been removed then 0 stake is returned.
1682
+ **/
1683
+ erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1684
+ /**
1685
+ * Exposure of validator at era with the preferences of validators.
1686
+ *
1687
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
1688
+ *
1689
+ * Is it removed after [`Config::HistoryDepth`] eras.
1690
+ **/
1691
+ erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingAsyncValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1692
+ /**
1693
+ * The total validator era payout for the last [`Config::HistoryDepth`] eras.
1694
+ *
1695
+ * Eras that haven't finished yet or has been removed doesn't have reward.
1696
+ **/
1697
+ erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1698
+ /**
1699
+ * Mode of era forcing.
1700
+ **/
1701
+ forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncForcing>, []> & QueryableStorageEntry<ApiType, []>;
1702
+ /**
1703
+ * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
1704
+ * easy to initialize and the performance hit is minimal (we expect no more than four
1705
+ * invulnerables) and restricted to testnets.
1706
+ **/
1707
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1708
+ /**
1709
+ * Map from all (unlocked) "controller" accounts to the info regarding the staking.
1710
+ *
1711
+ * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
1712
+ * by [`StakingLedger`] to ensure data and lock consistency.
1713
+ **/
1714
+ ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncLedgerStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1715
+ /**
1716
+ * The maximum nominator count before we stop allowing new validators to join.
1717
+ *
1718
+ * When this value is not set, no limits are enforced.
1719
+ **/
1720
+ maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1721
+ /**
1722
+ * Maximum staked rewards, i.e. the percentage of the era inflation that
1723
+ * is used for stake rewards.
1724
+ * See [Era payout](./index.html#era-payout).
1725
+ **/
1726
+ maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1727
+ /**
1728
+ * The maximum validator count before we stop allowing new validators to join.
1729
+ *
1730
+ * When this value is not set, no limits are enforced.
1731
+ **/
1732
+ maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1733
+ /**
1734
+ * The minimum amount of commission that validators can set.
1735
+ *
1736
+ * If set to `0`, no limit exists.
1737
+ **/
1738
+ minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1739
+ /**
1740
+ * The minimum active nominator stake of the last successful election.
1741
+ **/
1742
+ minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1743
+ /**
1744
+ * The minimum active bond to become and maintain the role of a nominator.
1745
+ **/
1746
+ minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1747
+ /**
1748
+ * The minimum active bond to become and maintain the role of a validator.
1749
+ **/
1750
+ minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1751
+ /**
1752
+ * Keeps track of an ongoing multi-page election solution request.
1753
+ *
1754
+ * If `Some(_)``, it is the next page that we intend to elect. If `None`, we are not in the
1755
+ * election process.
1756
+ *
1757
+ * This is only set in multi-block elections. Should always be `None` otherwise.
1758
+ **/
1759
+ nextElectionPage: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1760
+ /**
1761
+ * The map from nominator stash key to their nomination preferences, namely the validators that
1762
+ * they wish to support.
1763
+ *
1764
+ * Note that the keys of this storage map might become non-decodable in case the
1765
+ * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
1766
+ * In this rare case, these nominators
1767
+ * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
1768
+ * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
1769
+ * nominators will effectively not-exist, until they re-submit their preferences such that it
1770
+ * is within the bounds of the newly set `Config::MaxNominations`.
1771
+ *
1772
+ * This implies that `::iter_keys().count()` and `::iter().count()` might return different
1773
+ * values for this map. Moreover, the main `::count()` is aligned with the former, namely the
1774
+ * number of keys that exist.
1775
+ *
1776
+ * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
1777
+ * [`Call::chill_other`] dispatchable by anyone.
1778
+ *
1779
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1780
+ **/
1781
+ nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1782
+ /**
1783
+ * Stores reported offences in a queue until they are processed in subsequent blocks.
1784
+ *
1785
+ * Each offence is recorded under the corresponding era index and the offending validator's
1786
+ * account. If an offence spans multiple pages, only one page is processed at a time. Offences
1787
+ * are handled sequentially, with their associated slashes computed and stored in
1788
+ * `UnappliedSlashes`. These slashes are then applied in a future era as determined by
1789
+ * `SlashDeferDuration`.
1790
+ *
1791
+ * Any offences tied to an era older than `BondingDuration` are automatically dropped.
1792
+ * Processing always prioritizes the oldest era first.
1793
+ **/
1794
+ offenceQueue: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncSlashingOffenceRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1795
+ /**
1796
+ * Tracks the eras that contain offences in `OffenceQueue`, sorted from **earliest to latest**.
1797
+ *
1798
+ * - This ensures efficient retrieval of the oldest offence without iterating through
1799
+ * `OffenceQueue`.
1800
+ * - When a new offence is added to `OffenceQueue`, its era is **inserted in sorted order**
1801
+ * if not already present.
1802
+ * - When all offences for an era are processed, it is **removed** from this list.
1803
+ * - The maximum length of this vector is bounded by `BondingDuration`.
1804
+ *
1805
+ * This eliminates the need for expensive iteration and sorting when fetching the next offence
1806
+ * to process.
1807
+ **/
1808
+ offenceQueueEras: AugmentedQuery<ApiType, () => Observable<Option<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
1809
+ /**
1810
+ * Where the reward payment should be made. Keyed by stash.
1811
+ *
1812
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1813
+ **/
1814
+ payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1815
+ /**
1816
+ * Tracks the currently processed offence record from the `OffenceQueue`.
1817
+ *
1818
+ * - When processing offences, an offence record is **popped** from the oldest era in
1819
+ * `OffenceQueue` and stored here.
1820
+ * - The function `process_offence` reads from this storage, processing one page of exposure at
1821
+ * a time.
1822
+ * - After processing a page, the `exposure_page` count is **decremented** until it reaches
1823
+ * zero.
1824
+ * - Once fully processed, the offence record is removed from this storage.
1825
+ *
1826
+ * This ensures that offences are processed incrementally, preventing excessive computation
1827
+ * in a single block while maintaining correct slashing behavior.
1828
+ **/
1829
+ processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, AccountId32, PalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
1830
+ /**
1831
+ * The percentage of the slash that is distributed to reporters.
1832
+ *
1833
+ * The rest of the slashed value is handled by the `Slash`.
1834
+ **/
1835
+ slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1836
+ /**
1837
+ * All unapplied slashes that are queued for later.
1838
+ **/
1839
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[AccountId32, Perbill, u32]> | [AccountId32 | string | Uint8Array, Perbill | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletStakingAsyncUnappliedSlash>>, [u32, ITuple<[AccountId32, Perbill, u32]>]> & QueryableStorageEntry<ApiType, [u32, ITuple<[AccountId32, Perbill, u32]>]>;
1840
+ /**
1841
+ * The ideal number of active validators.
1842
+ **/
1843
+ validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1844
+ /**
1845
+ * The map from (wannabe) validator stash key to the preferences of that validator.
1846
+ *
1847
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1848
+ **/
1849
+ validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingAsyncValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1850
+ /**
1851
+ * All slashing events on validators, mapped by era to the highest slash proportion
1852
+ * and slash value of the era.
1853
+ **/
1854
+ validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1855
+ /**
1856
+ * Stakers whose funds are managed by other pallets.
1857
+ *
1858
+ * This pallet does not apply any locks on them, therefore they are only virtually bonded. They
1859
+ * are expected to be keyless accounts and hence should not be allowed to mutate their ledger
1860
+ * directly via this pallet. Instead, these accounts are managed by other pallets and accessed
1861
+ * via low level apis. We keep track of them to do minimal integrity checks.
1862
+ **/
1863
+ virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1864
+ /**
1865
+ * Voter snapshot progress status.
1866
+ *
1867
+ * If the status is `Ongoing`, it keeps a cursor of the last voter retrieved to proceed when
1868
+ * creating the next snapshot page.
1869
+ **/
1870
+ voterSnapshotStatus: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncSnapshotStatus>, []> & QueryableStorageEntry<ApiType, []>;
1871
+ /**
1872
+ * Generic query
1873
+ **/
1874
+ [key: string]: QueryableStorageEntry<ApiType>;
1875
+ };
1876
+ stakingRcClient: {
1877
+ /**
1878
+ * An incomplete incoming session report that we have not acted upon yet.
1879
+ **/
1880
+ incompleteSessionReport: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncRcClientSessionReport>>, []> & QueryableStorageEntry<ApiType, []>;
1881
+ /**
1882
+ * The last session report's `end_index` that we have acted upon.
1883
+ *
1884
+ * This allows this pallet to ensure a sequentially increasing sequence of session reports
1885
+ * passed to staking.
1886
+ *
1887
+ * Note that with the XCM being the backbone of communication, we have a guarantee on the
1888
+ * ordering of messages. As long as the RC sends session reports in order, we _eventually_
1889
+ * receive them in the same correct order as well.
1890
+ **/
1891
+ lastSessionReportEndingIndex: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1892
+ /**
1893
+ * A validator set that is outgoing, and should be sent.
1894
+ *
1895
+ * This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
1896
+ * or the second value reaches zero, at which point we drop it.
1897
+ **/
1898
+ outgoingValidatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PalletStakingAsyncRcClientValidatorSetReport, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1899
+ /**
1900
+ * Generic query
1901
+ **/
1902
+ [key: string]: QueryableStorageEntry<ApiType>;
1903
+ };
839
1904
  stateTrieMigration: {
840
1905
  /**
841
1906
  * The limits that are imposed on automatic migrations.
@@ -1006,6 +2071,49 @@ declare module '@polkadot/api-base/types/storage' {
1006
2071
  **/
1007
2072
  [key: string]: QueryableStorageEntry<ApiType>;
1008
2073
  };
2074
+ treasury: {
2075
+ /**
2076
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2077
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2078
+ *
2079
+ * Proposal indices that have been approved but not yet awarded.
2080
+ **/
2081
+ approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2082
+ /**
2083
+ * The amount which has been reported as inactive to Currency.
2084
+ **/
2085
+ deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
2086
+ /**
2087
+ * The blocknumber for the last triggered spend period.
2088
+ **/
2089
+ lastSpendPeriod: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2090
+ /**
2091
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2092
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2093
+ *
2094
+ * Number of proposals that have been made.
2095
+ **/
2096
+ proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2097
+ /**
2098
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2099
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2100
+ *
2101
+ * Proposals that have been made.
2102
+ **/
2103
+ proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2104
+ /**
2105
+ * The count of spends that have been made.
2106
+ **/
2107
+ spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2108
+ /**
2109
+ * Spends that have been approved and being processed.
2110
+ **/
2111
+ spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2112
+ /**
2113
+ * Generic query
2114
+ **/
2115
+ [key: string]: QueryableStorageEntry<ApiType>;
2116
+ };
1009
2117
  uniques: {
1010
2118
  /**
1011
2119
  * The items held by any given account; set out this way so that items owned by a single
@@ -1070,6 +2178,47 @@ declare module '@polkadot/api-base/types/storage' {
1070
2178
  **/
1071
2179
  [key: string]: QueryableStorageEntry<ApiType>;
1072
2180
  };
2181
+ voterList: {
2182
+ /**
2183
+ * Counter for the related counted storage map
2184
+ **/
2185
+ counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
2186
+ /**
2187
+ * A bag stored in storage.
2188
+ *
2189
+ * Stores a `Bag` struct, which stores head and tail pointers to itself.
2190
+ **/
2191
+ listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
2192
+ /**
2193
+ * A single node, within some bag.
2194
+ *
2195
+ * Nodes store links forward and back within their respective bags.
2196
+ **/
2197
+ listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2198
+ /**
2199
+ * Lock all updates to this pallet.
2200
+ *
2201
+ * If any nodes needs updating, removal or addition due to a temporary lock, the
2202
+ * [`Call::rebag`] can be used.
2203
+ **/
2204
+ lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
2205
+ /**
2206
+ * Pointer that remembers the next node that will be auto-rebagged.
2207
+ * When `None`, the next scan will start from the list head again.
2208
+ **/
2209
+ nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
2210
+ /**
2211
+ * Generic query
2212
+ **/
2213
+ [key: string]: QueryableStorageEntry<ApiType>;
2214
+ };
2215
+ whitelist: {
2216
+ whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2217
+ /**
2218
+ * Generic query
2219
+ **/
2220
+ [key: string]: QueryableStorageEntry<ApiType>;
2221
+ };
1073
2222
  xcmpQueue: {
1074
2223
  /**
1075
2224
  * The factor to multiply the base delivery fee by.