@dedot/api 0.18.8 → 1.0.0

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 (102) hide show
  1. package/chaintypes/substrate/consts.d.ts +2 -2
  2. package/chaintypes/substrate/consts.js +1 -0
  3. package/chaintypes/substrate/errors.d.ts +909 -909
  4. package/chaintypes/substrate/errors.js +1 -0
  5. package/chaintypes/substrate/events.d.ts +664 -664
  6. package/chaintypes/substrate/events.js +1 -0
  7. package/chaintypes/substrate/index.d.ts +13 -16
  8. package/chaintypes/substrate/index.js +1 -0
  9. package/chaintypes/substrate/json-rpc.d.ts +2 -2
  10. package/chaintypes/substrate/json-rpc.js +1 -0
  11. package/chaintypes/substrate/query.d.ts +509 -527
  12. package/chaintypes/substrate/query.js +1 -0
  13. package/chaintypes/substrate/runtime.d.ts +123 -123
  14. package/chaintypes/substrate/runtime.js +1 -0
  15. package/chaintypes/substrate/tx.d.ts +1311 -1311
  16. package/chaintypes/substrate/tx.js +1 -0
  17. package/chaintypes/substrate/types.js +1 -0
  18. package/chaintypes/substrate/view-functions.d.ts +2 -2
  19. package/chaintypes/substrate/view-functions.js +1 -0
  20. package/cjs/chaintypes/substrate/consts.js +1 -0
  21. package/cjs/chaintypes/substrate/errors.js +1 -0
  22. package/cjs/chaintypes/substrate/events.js +1 -0
  23. package/cjs/chaintypes/substrate/index.js +1 -0
  24. package/cjs/chaintypes/substrate/json-rpc.js +1 -0
  25. package/cjs/chaintypes/substrate/query.js +1 -0
  26. package/cjs/chaintypes/substrate/runtime.js +1 -0
  27. package/cjs/chaintypes/substrate/tx.js +1 -0
  28. package/cjs/chaintypes/substrate/types.js +1 -0
  29. package/cjs/chaintypes/substrate/view-functions.js +1 -0
  30. package/cjs/client/BaseSubstrateClient.js +45 -2
  31. package/cjs/client/DedotClient.js +356 -224
  32. package/cjs/client/LegacyClient.js +99 -23
  33. package/cjs/client/V2Client.js +316 -0
  34. package/cjs/client/explorer/LegacyBlockExplorer.js +263 -0
  35. package/cjs/client/explorer/V2BlockExplorer.js +74 -0
  36. package/cjs/client/explorer/index.js +18 -0
  37. package/cjs/client/utils.js +57 -0
  38. package/cjs/executor/EventExecutor.js +1 -0
  39. package/cjs/executor/RuntimeApiExecutor.js +49 -2
  40. package/cjs/executor/StorageQueryExecutor.js +114 -2
  41. package/cjs/executor/ViewFunctionExecutor.js +21 -2
  42. package/cjs/executor/v2/StorageQueryExecutorV2.js +7 -1
  43. package/cjs/executor/validation-helpers.js +181 -0
  44. package/cjs/extrinsic/submittable/BaseSubmittableExtrinsic.js +86 -2
  45. package/cjs/extrinsic/submittable/SubmittableExtrinsic.js +38 -16
  46. package/cjs/extrinsic/submittable/SubmittableExtrinsicV2.js +12 -2
  47. package/cjs/json-rpc/group/ChainHead/ChainHead.js +226 -21
  48. package/cjs/storage/QueryableStorage.js +1 -0
  49. package/client/BaseSubstrateClient.d.ts +34 -18
  50. package/client/BaseSubstrateClient.js +47 -4
  51. package/client/DedotClient.d.ts +346 -49
  52. package/client/DedotClient.js +356 -224
  53. package/client/LegacyClient.d.ts +22 -17
  54. package/client/LegacyClient.js +101 -25
  55. package/client/V2Client.d.ts +75 -0
  56. package/client/V2Client.js +312 -0
  57. package/client/explorer/LegacyBlockExplorer.d.ts +68 -0
  58. package/client/explorer/LegacyBlockExplorer.js +259 -0
  59. package/client/explorer/V2BlockExplorer.d.ts +40 -0
  60. package/client/explorer/V2BlockExplorer.js +70 -0
  61. package/client/explorer/index.d.ts +2 -0
  62. package/client/explorer/index.js +2 -0
  63. package/client/utils.d.ts +18 -0
  64. package/client/utils.js +52 -0
  65. package/executor/ConstantExecutor.d.ts +1 -2
  66. package/executor/ErrorExecutor.d.ts +2 -2
  67. package/executor/EventExecutor.d.ts +2 -2
  68. package/executor/EventExecutor.js +1 -0
  69. package/executor/Executor.d.ts +4 -5
  70. package/executor/RuntimeApiExecutor.d.ts +2 -2
  71. package/executor/RuntimeApiExecutor.js +27 -3
  72. package/executor/StorageQueryExecutor.d.ts +3 -2
  73. package/executor/StorageQueryExecutor.js +92 -3
  74. package/executor/TxExecutor.d.ts +2 -2
  75. package/executor/ViewFunctionExecutor.d.ts +2 -2
  76. package/executor/ViewFunctionExecutor.js +22 -3
  77. package/executor/v2/RuntimeApiExecutorV2.d.ts +2 -3
  78. package/executor/v2/StorageQueryExecutorV2.d.ts +3 -3
  79. package/executor/v2/StorageQueryExecutorV2.js +8 -2
  80. package/executor/v2/TxExecutorV2.d.ts +5 -5
  81. package/executor/v2/ViewFunctionExecutorV2.d.ts +2 -3
  82. package/executor/validation-helpers.d.ts +36 -0
  83. package/executor/validation-helpers.js +174 -0
  84. package/extrinsic/extensions/SignedExtension.d.ts +1 -1
  85. package/extrinsic/submittable/BaseSubmittableExtrinsic.d.ts +7 -3
  86. package/extrinsic/submittable/BaseSubmittableExtrinsic.js +64 -3
  87. package/extrinsic/submittable/SubmittableExtrinsic.d.ts +4 -1
  88. package/extrinsic/submittable/SubmittableExtrinsic.js +39 -17
  89. package/extrinsic/submittable/SubmittableExtrinsicV2.d.ts +6 -3
  90. package/extrinsic/submittable/SubmittableExtrinsicV2.js +13 -3
  91. package/json-rpc/JsonRpcClient.d.ts +6 -6
  92. package/json-rpc/group/Archive.d.ts +1 -1
  93. package/json-rpc/group/ChainHead/ChainHead.d.ts +18 -2
  94. package/json-rpc/group/ChainHead/ChainHead.js +226 -21
  95. package/json-rpc/group/ChainSpec.d.ts +3 -3
  96. package/json-rpc/group/Transaction.d.ts +1 -1
  97. package/json-rpc/group/TransactionWatch.d.ts +1 -1
  98. package/package.json +9 -9
  99. package/proxychain.d.ts +3 -4
  100. package/storage/NewStorageQuery.d.ts +3 -3
  101. package/storage/QueryableStorage.js +1 -0
  102. package/types.d.ts +94 -6
@@ -1,7 +1,7 @@
1
1
  import type { AccountId32, AccountId32Like, Bytes, BytesLike, Data, Digest, FixedBytes, FixedU128, FixedU64, H160, H256, Perbill, Percent, Phase } from '@dedot/codecs';
2
- import type { GenericChainStorage, GenericStorageQuery, RpcVersion } from '@dedot/types';
2
+ import type { GenericChainStorage, GenericStorageQuery } from '@dedot/types';
3
3
  import type { FrameSupportDispatchPerDispatchClass, FrameSupportPreimagesBounded, FrameSupportTokensFungibleHoldConsideration, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmount, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, KitchensinkRuntimeRuntimeCall, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetRewardsPoolInfo, PalletAssetRewardsPoolStakerInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAutoRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityProvider, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletIdentityUsernameInformation, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsBitFlagsCollectionRole, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletReferendaReferendumInfoTally, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpConsensusSlotsSlot, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingOffenceOffenceSeverity, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from './types.js';
4
- export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
4
+ export interface ChainStorage extends GenericChainStorage {
5
5
  /**
6
6
  * Pallet `System`'s storage queries
7
7
  **/
@@ -12,63 +12,63 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
12
12
  * @param {AccountId32Like} arg
13
13
  * @param {Callback<FrameSystemAccountInfo> =} callback
14
14
  **/
15
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
15
+ account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
16
16
  /**
17
17
  * Total extrinsics count for the current block.
18
18
  *
19
19
  * @param {Callback<number | undefined> =} callback
20
20
  **/
21
- extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
21
+ extrinsicCount: GenericStorageQuery<() => number | undefined>;
22
22
  /**
23
23
  * Whether all inherents have been applied.
24
24
  *
25
25
  * @param {Callback<boolean> =} callback
26
26
  **/
27
- inherentsApplied: GenericStorageQuery<Rv, () => boolean>;
27
+ inherentsApplied: GenericStorageQuery<() => boolean>;
28
28
  /**
29
29
  * The current weight for the block.
30
30
  *
31
31
  * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
32
32
  **/
33
- blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
33
+ blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
34
34
  /**
35
35
  * Total length (in bytes) for all extrinsics put together, for the current block.
36
36
  *
37
37
  * @param {Callback<number | undefined> =} callback
38
38
  **/
39
- allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
39
+ allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
40
40
  /**
41
41
  * Map of block numbers to block hashes.
42
42
  *
43
43
  * @param {number} arg
44
44
  * @param {Callback<H256> =} callback
45
45
  **/
46
- blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
46
+ blockHash: GenericStorageQuery<(arg: number) => H256, number>;
47
47
  /**
48
48
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
49
49
  *
50
50
  * @param {number} arg
51
51
  * @param {Callback<Bytes> =} callback
52
52
  **/
53
- extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
53
+ extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
54
54
  /**
55
55
  * The current block number being processed. Set by `execute_block`.
56
56
  *
57
57
  * @param {Callback<number> =} callback
58
58
  **/
59
- number: GenericStorageQuery<Rv, () => number>;
59
+ number: GenericStorageQuery<() => number>;
60
60
  /**
61
61
  * Hash of the previous block.
62
62
  *
63
63
  * @param {Callback<H256> =} callback
64
64
  **/
65
- parentHash: GenericStorageQuery<Rv, () => H256>;
65
+ parentHash: GenericStorageQuery<() => H256>;
66
66
  /**
67
67
  * Digest of the current block, also part of the block header.
68
68
  *
69
69
  * @param {Callback<Digest> =} callback
70
70
  **/
71
- digest: GenericStorageQuery<Rv, () => Digest>;
71
+ digest: GenericStorageQuery<() => Digest>;
72
72
  /**
73
73
  * Events deposited for the current block.
74
74
  *
@@ -80,13 +80,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
80
80
  *
81
81
  * @param {Callback<Array<FrameSystemEventRecord>> =} callback
82
82
  **/
83
- events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
83
+ events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
84
84
  /**
85
85
  * The number of events in the `Events<T>` list.
86
86
  *
87
87
  * @param {Callback<number> =} callback
88
88
  **/
89
- eventCount: GenericStorageQuery<Rv, () => number>;
89
+ eventCount: GenericStorageQuery<() => number>;
90
90
  /**
91
91
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
92
92
  * of events in the `<Events<T>>` list.
@@ -102,38 +102,38 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
102
102
  * @param {H256} arg
103
103
  * @param {Callback<Array<[number, number]>> =} callback
104
104
  **/
105
- eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
105
+ eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
106
106
  /**
107
107
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
108
108
  *
109
109
  * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
110
110
  **/
111
- lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
111
+ lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
112
112
  /**
113
113
  * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
114
114
  *
115
115
  * @param {Callback<boolean> =} callback
116
116
  **/
117
- upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
117
+ upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
118
118
  /**
119
119
  * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
120
120
  * (default) if not.
121
121
  *
122
122
  * @param {Callback<boolean> =} callback
123
123
  **/
124
- upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
124
+ upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
125
125
  /**
126
126
  * The execution phase of the block.
127
127
  *
128
128
  * @param {Callback<Phase | undefined> =} callback
129
129
  **/
130
- executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
130
+ executionPhase: GenericStorageQuery<() => Phase | undefined>;
131
131
  /**
132
132
  * `Some` if a code upgrade has been authorized.
133
133
  *
134
134
  * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
135
135
  **/
136
- authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
136
+ authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
137
137
  /**
138
138
  * The weight reclaimed for the extrinsic.
139
139
  *
@@ -145,11 +145,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
145
145
  *
146
146
  * @param {Callback<SpWeightsWeightV2Weight> =} callback
147
147
  **/
148
- extrinsicWeightReclaimed: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight>;
148
+ extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
149
149
  /**
150
150
  * Generic pallet storage query
151
151
  **/
152
- [storage: string]: GenericStorageQuery<Rv>;
152
+ [storage: string]: GenericStorageQuery;
153
153
  };
154
154
  /**
155
155
  * Pallet `Babe`'s storage queries
@@ -160,26 +160,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
160
160
  *
161
161
  * @param {Callback<bigint> =} callback
162
162
  **/
163
- epochIndex: GenericStorageQuery<Rv, () => bigint>;
163
+ epochIndex: GenericStorageQuery<() => bigint>;
164
164
  /**
165
165
  * Current epoch authorities.
166
166
  *
167
167
  * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
168
168
  **/
169
- authorities: GenericStorageQuery<Rv, () => Array<[SpConsensusBabeAppPublic, bigint]>>;
169
+ authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
170
170
  /**
171
171
  * The slot at which the first epoch actually started. This is 0
172
172
  * until the first block of the chain.
173
173
  *
174
174
  * @param {Callback<SpConsensusSlotsSlot> =} callback
175
175
  **/
176
- genesisSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
176
+ genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
177
177
  /**
178
178
  * Current slot number.
179
179
  *
180
180
  * @param {Callback<SpConsensusSlotsSlot> =} callback
181
181
  **/
182
- currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
182
+ currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
183
183
  /**
184
184
  * The epoch randomness for the *current* epoch.
185
185
  *
@@ -194,25 +194,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
194
194
  *
195
195
  * @param {Callback<FixedBytes<32>> =} callback
196
196
  **/
197
- randomness: GenericStorageQuery<Rv, () => FixedBytes<32>>;
197
+ randomness: GenericStorageQuery<() => FixedBytes<32>>;
198
198
  /**
199
199
  * Pending epoch configuration change that will be applied when the next epoch is enacted.
200
200
  *
201
201
  * @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
202
202
  **/
203
- pendingEpochConfigChange: GenericStorageQuery<Rv, () => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
203
+ pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
204
204
  /**
205
205
  * Next epoch randomness.
206
206
  *
207
207
  * @param {Callback<FixedBytes<32>> =} callback
208
208
  **/
209
- nextRandomness: GenericStorageQuery<Rv, () => FixedBytes<32>>;
209
+ nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
210
210
  /**
211
211
  * Next epoch authorities.
212
212
  *
213
213
  * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
214
214
  **/
215
- nextAuthorities: GenericStorageQuery<Rv, () => Array<[SpConsensusBabeAppPublic, bigint]>>;
215
+ nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
216
216
  /**
217
217
  * Randomness under construction.
218
218
  *
@@ -226,21 +226,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
226
226
  *
227
227
  * @param {Callback<number> =} callback
228
228
  **/
229
- segmentIndex: GenericStorageQuery<Rv, () => number>;
229
+ segmentIndex: GenericStorageQuery<() => number>;
230
230
  /**
231
231
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
232
232
  *
233
233
  * @param {number} arg
234
234
  * @param {Callback<Array<FixedBytes<32>>> =} callback
235
235
  **/
236
- underConstruction: GenericStorageQuery<Rv, (arg: number) => Array<FixedBytes<32>>, number>;
236
+ underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>, number>;
237
237
  /**
238
238
  * Temporary value (cleared at block finalization) which is `Some`
239
239
  * if per-block initialization has already been called for current block.
240
240
  *
241
241
  * @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
242
242
  **/
243
- initialized: GenericStorageQuery<Rv, () => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
243
+ initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
244
244
  /**
245
245
  * This field should always be populated during block processing unless
246
246
  * secondary plain slots are enabled (which don't contain a VRF output).
@@ -249,7 +249,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
249
249
  *
250
250
  * @param {Callback<FixedBytes<32> | undefined> =} callback
251
251
  **/
252
- authorVrfRandomness: GenericStorageQuery<Rv, () => FixedBytes<32> | undefined>;
252
+ authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
253
253
  /**
254
254
  * The block numbers when the last and current epoch have started, respectively `N-1` and
255
255
  * `N`.
@@ -259,7 +259,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
259
259
  *
260
260
  * @param {Callback<[number, number]> =} callback
261
261
  **/
262
- epochStart: GenericStorageQuery<Rv, () => [number, number]>;
262
+ epochStart: GenericStorageQuery<() => [number, number]>;
263
263
  /**
264
264
  * How late the current block is compared to its parent.
265
265
  *
@@ -269,21 +269,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
269
269
  *
270
270
  * @param {Callback<number> =} callback
271
271
  **/
272
- lateness: GenericStorageQuery<Rv, () => number>;
272
+ lateness: GenericStorageQuery<() => number>;
273
273
  /**
274
274
  * The configuration for the current epoch. Should never be `None` as it is initialized in
275
275
  * genesis.
276
276
  *
277
277
  * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
278
278
  **/
279
- epochConfig: GenericStorageQuery<Rv, () => SpConsensusBabeBabeEpochConfiguration | undefined>;
279
+ epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
280
280
  /**
281
281
  * The configuration for the next epoch, `None` if the config will not change
282
282
  * (you can fallback to `EpochConfig` instead in that case).
283
283
  *
284
284
  * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
285
285
  **/
286
- nextEpochConfig: GenericStorageQuery<Rv, () => SpConsensusBabeBabeEpochConfiguration | undefined>;
286
+ nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
287
287
  /**
288
288
  * A list of the last 100 skipped epochs and the corresponding session index
289
289
  * when the epoch was skipped.
@@ -296,11 +296,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
296
296
  *
297
297
  * @param {Callback<Array<[bigint, number]>> =} callback
298
298
  **/
299
- skippedEpochs: GenericStorageQuery<Rv, () => Array<[bigint, number]>>;
299
+ skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
300
300
  /**
301
301
  * Generic pallet storage query
302
302
  **/
303
- [storage: string]: GenericStorageQuery<Rv>;
303
+ [storage: string]: GenericStorageQuery;
304
304
  };
305
305
  /**
306
306
  * Pallet `Timestamp`'s storage queries
@@ -311,7 +311,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
311
311
  *
312
312
  * @param {Callback<bigint> =} callback
313
313
  **/
314
- now: GenericStorageQuery<Rv, () => bigint>;
314
+ now: GenericStorageQuery<() => bigint>;
315
315
  /**
316
316
  * Whether the timestamp has been updated in this block.
317
317
  *
@@ -320,11 +320,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
320
320
  *
321
321
  * @param {Callback<boolean> =} callback
322
322
  **/
323
- didUpdate: GenericStorageQuery<Rv, () => boolean>;
323
+ didUpdate: GenericStorageQuery<() => boolean>;
324
324
  /**
325
325
  * Generic pallet storage query
326
326
  **/
327
- [storage: string]: GenericStorageQuery<Rv>;
327
+ [storage: string]: GenericStorageQuery;
328
328
  };
329
329
  /**
330
330
  * Pallet `Authorship`'s storage queries
@@ -335,11 +335,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
335
335
  *
336
336
  * @param {Callback<AccountId32 | undefined> =} callback
337
337
  **/
338
- author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
338
+ author: GenericStorageQuery<() => AccountId32 | undefined>;
339
339
  /**
340
340
  * Generic pallet storage query
341
341
  **/
342
- [storage: string]: GenericStorageQuery<Rv>;
342
+ [storage: string]: GenericStorageQuery;
343
343
  };
344
344
  /**
345
345
  * Pallet `Indices`'s storage queries
@@ -351,11 +351,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
351
351
  * @param {number} arg
352
352
  * @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
353
353
  **/
354
- accounts: GenericStorageQuery<Rv, (arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
354
+ accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
355
355
  /**
356
356
  * Generic pallet storage query
357
357
  **/
358
- [storage: string]: GenericStorageQuery<Rv>;
358
+ [storage: string]: GenericStorageQuery;
359
359
  };
360
360
  /**
361
361
  * Pallet `Balances`'s storage queries
@@ -366,13 +366,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
366
366
  *
367
367
  * @param {Callback<bigint> =} callback
368
368
  **/
369
- totalIssuance: GenericStorageQuery<Rv, () => bigint>;
369
+ totalIssuance: GenericStorageQuery<() => bigint>;
370
370
  /**
371
371
  * The total units of outstanding deactivated balance in the system.
372
372
  *
373
373
  * @param {Callback<bigint> =} callback
374
374
  **/
375
- inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
375
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
376
376
  /**
377
377
  * The Balances pallet example of storing the balance of an account.
378
378
  *
@@ -402,7 +402,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
402
402
  * @param {AccountId32Like} arg
403
403
  * @param {Callback<PalletBalancesAccountData> =} callback
404
404
  **/
405
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
405
+ account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
406
406
  /**
407
407
  * Any liquidity locks on some account balances.
408
408
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
@@ -412,7 +412,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
412
412
  * @param {AccountId32Like} arg
413
413
  * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
414
414
  **/
415
- locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
415
+ locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
416
416
  /**
417
417
  * Named reserves on some account balances.
418
418
  *
@@ -421,25 +421,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
421
421
  * @param {AccountId32Like} arg
422
422
  * @param {Callback<Array<PalletBalancesReserveData>> =} callback
423
423
  **/
424
- reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
424
+ reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
425
425
  /**
426
426
  * Holds on account balances.
427
427
  *
428
428
  * @param {AccountId32Like} arg
429
429
  * @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
430
430
  **/
431
- holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
431
+ holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
432
432
  /**
433
433
  * Freeze locks on account balances.
434
434
  *
435
435
  * @param {AccountId32Like} arg
436
436
  * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
437
437
  **/
438
- freezes: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>, AccountId32>;
438
+ freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>, AccountId32>;
439
439
  /**
440
440
  * Generic pallet storage query
441
441
  **/
442
- [storage: string]: GenericStorageQuery<Rv>;
442
+ [storage: string]: GenericStorageQuery;
443
443
  };
444
444
  /**
445
445
  * Pallet `TransactionPayment`'s storage queries
@@ -449,16 +449,16 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
449
449
  *
450
450
  * @param {Callback<FixedU128> =} callback
451
451
  **/
452
- nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
452
+ nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
453
453
  /**
454
454
  *
455
455
  * @param {Callback<PalletTransactionPaymentReleases> =} callback
456
456
  **/
457
- storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
457
+ storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
458
458
  /**
459
459
  * Generic pallet storage query
460
460
  **/
461
- [storage: string]: GenericStorageQuery<Rv>;
461
+ [storage: string]: GenericStorageQuery;
462
462
  };
463
463
  /**
464
464
  * Pallet `ElectionProviderMultiPhase`'s storage queries
@@ -474,13 +474,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
474
474
  *
475
475
  * @param {Callback<number> =} callback
476
476
  **/
477
- round: GenericStorageQuery<Rv, () => number>;
477
+ round: GenericStorageQuery<() => number>;
478
478
  /**
479
479
  * Current phase.
480
480
  *
481
481
  * @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
482
482
  **/
483
- currentPhase: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhasePhase>;
483
+ currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
484
484
  /**
485
485
  * Current best solution, signed or unsigned, queued to be returned upon `elect`.
486
486
  *
@@ -488,7 +488,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
488
488
  *
489
489
  * @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
490
490
  **/
491
- queuedSolution: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseReadySolution | undefined>;
491
+ queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
492
492
  /**
493
493
  * Snapshot data of the round.
494
494
  *
@@ -497,7 +497,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
497
497
  *
498
498
  * @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
499
499
  **/
500
- snapshot: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
500
+ snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
501
501
  /**
502
502
  * Desired number of targets to elect for this round.
503
503
  *
@@ -506,7 +506,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
506
506
  *
507
507
  * @param {Callback<number | undefined> =} callback
508
508
  **/
509
- desiredTargets: GenericStorageQuery<Rv, () => number | undefined>;
509
+ desiredTargets: GenericStorageQuery<() => number | undefined>;
510
510
  /**
511
511
  * The metadata of the [`RoundSnapshot`]
512
512
  *
@@ -515,7 +515,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
515
515
  *
516
516
  * @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
517
517
  **/
518
- snapshotMetadata: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
518
+ snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
519
519
  /**
520
520
  * The next index to be assigned to an incoming signed submission.
521
521
  *
@@ -529,7 +529,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
529
529
  *
530
530
  * @param {Callback<number> =} callback
531
531
  **/
532
- signedSubmissionNextIndex: GenericStorageQuery<Rv, () => number>;
532
+ signedSubmissionNextIndex: GenericStorageQuery<() => number>;
533
533
  /**
534
534
  * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
535
535
  * value in `SignedSubmissions`.
@@ -540,7 +540,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
540
540
  *
541
541
  * @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
542
542
  **/
543
- signedSubmissionIndices: GenericStorageQuery<Rv, () => Array<[SpNposElectionsElectionScore, number, number]>>;
543
+ signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
544
544
  /**
545
545
  * Unchecked, signed solutions.
546
546
  *
@@ -553,7 +553,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
553
553
  * @param {number} arg
554
554
  * @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
555
555
  **/
556
- signedSubmissionsMap: GenericStorageQuery<Rv, (arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined, number>;
556
+ signedSubmissionsMap: GenericStorageQuery<(arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined, number>;
557
557
  /**
558
558
  * The minimum score that each 'untrusted' solution must attain in order to be considered
559
559
  * feasible.
@@ -562,11 +562,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
562
562
  *
563
563
  * @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
564
564
  **/
565
- minimumUntrustedScore: GenericStorageQuery<Rv, () => SpNposElectionsElectionScore | undefined>;
565
+ minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
566
566
  /**
567
567
  * Generic pallet storage query
568
568
  **/
569
- [storage: string]: GenericStorageQuery<Rv>;
569
+ [storage: string]: GenericStorageQuery;
570
570
  };
571
571
  /**
572
572
  * Pallet `Staking`'s storage queries
@@ -577,13 +577,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
577
577
  *
578
578
  * @param {Callback<number> =} callback
579
579
  **/
580
- validatorCount: GenericStorageQuery<Rv, () => number>;
580
+ validatorCount: GenericStorageQuery<() => number>;
581
581
  /**
582
582
  * Minimum number of staking participants before emergency conditions are imposed.
583
583
  *
584
584
  * @param {Callback<number> =} callback
585
585
  **/
586
- minimumValidatorCount: GenericStorageQuery<Rv, () => number>;
586
+ minimumValidatorCount: GenericStorageQuery<() => number>;
587
587
  /**
588
588
  * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
589
589
  * easy to initialize and the performance hit is minimal (we expect no more than four
@@ -591,7 +591,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
591
591
  *
592
592
  * @param {Callback<Array<AccountId32>> =} callback
593
593
  **/
594
- invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
594
+ invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
595
595
  /**
596
596
  * Map from all locked "stash" accounts to the controller account.
597
597
  *
@@ -600,25 +600,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
600
600
  * @param {AccountId32Like} arg
601
601
  * @param {Callback<AccountId32 | undefined> =} callback
602
602
  **/
603
- bonded: GenericStorageQuery<Rv, (arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
603
+ bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
604
604
  /**
605
605
  * The minimum active bond to become and maintain the role of a nominator.
606
606
  *
607
607
  * @param {Callback<bigint> =} callback
608
608
  **/
609
- minNominatorBond: GenericStorageQuery<Rv, () => bigint>;
609
+ minNominatorBond: GenericStorageQuery<() => bigint>;
610
610
  /**
611
611
  * The minimum active bond to become and maintain the role of a validator.
612
612
  *
613
613
  * @param {Callback<bigint> =} callback
614
614
  **/
615
- minValidatorBond: GenericStorageQuery<Rv, () => bigint>;
615
+ minValidatorBond: GenericStorageQuery<() => bigint>;
616
616
  /**
617
617
  * The minimum active nominator stake of the last successful election.
618
618
  *
619
619
  * @param {Callback<bigint> =} callback
620
620
  **/
621
- minimumActiveStake: GenericStorageQuery<Rv, () => bigint>;
621
+ minimumActiveStake: GenericStorageQuery<() => bigint>;
622
622
  /**
623
623
  * The minimum amount of commission that validators can set.
624
624
  *
@@ -626,7 +626,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
626
626
  *
627
627
  * @param {Callback<Perbill> =} callback
628
628
  **/
629
- minCommission: GenericStorageQuery<Rv, () => Perbill>;
629
+ minCommission: GenericStorageQuery<() => Perbill>;
630
630
  /**
631
631
  * Map from all (unlocked) "controller" accounts to the info regarding the staking.
632
632
  *
@@ -636,7 +636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
636
636
  * @param {AccountId32Like} arg
637
637
  * @param {Callback<PalletStakingStakingLedger | undefined> =} callback
638
638
  **/
639
- ledger: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
639
+ ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
640
640
  /**
641
641
  * Where the reward payment should be made. Keyed by stash.
642
642
  *
@@ -645,7 +645,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
645
645
  * @param {AccountId32Like} arg
646
646
  * @param {Callback<PalletStakingRewardDestination | undefined> =} callback
647
647
  **/
648
- payee: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
648
+ payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
649
649
  /**
650
650
  * The map from (wannabe) validator stash key to the preferences of that validator.
651
651
  *
@@ -654,13 +654,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
654
654
  * @param {AccountId32Like} arg
655
655
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
656
656
  **/
657
- validators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
657
+ validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
658
658
  /**
659
659
  * Counter for the related counted storage map
660
660
  *
661
661
  * @param {Callback<number> =} callback
662
662
  **/
663
- counterForValidators: GenericStorageQuery<Rv, () => number>;
663
+ counterForValidators: GenericStorageQuery<() => number>;
664
664
  /**
665
665
  * The maximum validator count before we stop allowing new validators to join.
666
666
  *
@@ -668,7 +668,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
668
668
  *
669
669
  * @param {Callback<number | undefined> =} callback
670
670
  **/
671
- maxValidatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
671
+ maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
672
672
  /**
673
673
  * The map from nominator stash key to their nomination preferences, namely the validators that
674
674
  * they wish to support.
@@ -693,13 +693,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
693
693
  * @param {AccountId32Like} arg
694
694
  * @param {Callback<PalletStakingNominations | undefined> =} callback
695
695
  **/
696
- nominators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
696
+ nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
697
697
  /**
698
698
  * Counter for the related counted storage map
699
699
  *
700
700
  * @param {Callback<number> =} callback
701
701
  **/
702
- counterForNominators: GenericStorageQuery<Rv, () => number>;
702
+ counterForNominators: GenericStorageQuery<() => number>;
703
703
  /**
704
704
  * Stakers whose funds are managed by other pallets.
705
705
  *
@@ -711,13 +711,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
711
711
  * @param {AccountId32Like} arg
712
712
  * @param {Callback<[] | undefined> =} callback
713
713
  **/
714
- virtualStakers: GenericStorageQuery<Rv, (arg: AccountId32Like) => [] | undefined, AccountId32>;
714
+ virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
715
715
  /**
716
716
  * Counter for the related counted storage map
717
717
  *
718
718
  * @param {Callback<number> =} callback
719
719
  **/
720
- counterForVirtualStakers: GenericStorageQuery<Rv, () => number>;
720
+ counterForVirtualStakers: GenericStorageQuery<() => number>;
721
721
  /**
722
722
  * The maximum nominator count before we stop allowing new validators to join.
723
723
  *
@@ -725,7 +725,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
725
725
  *
726
726
  * @param {Callback<number | undefined> =} callback
727
727
  **/
728
- maxNominatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
728
+ maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
729
729
  /**
730
730
  * The current era index.
731
731
  *
@@ -734,7 +734,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
734
734
  *
735
735
  * @param {Callback<number | undefined> =} callback
736
736
  **/
737
- currentEra: GenericStorageQuery<Rv, () => number | undefined>;
737
+ currentEra: GenericStorageQuery<() => number | undefined>;
738
738
  /**
739
739
  * The active era information, it holds index and start.
740
740
  *
@@ -743,7 +743,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
743
743
  *
744
744
  * @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
745
745
  **/
746
- activeEra: GenericStorageQuery<Rv, () => PalletStakingActiveEraInfo | undefined>;
746
+ activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
747
747
  /**
748
748
  * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
749
749
  *
@@ -753,7 +753,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
753
753
  * @param {number} arg
754
754
  * @param {Callback<number | undefined> =} callback
755
755
  **/
756
- erasStartSessionIndex: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
756
+ erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
757
757
  /**
758
758
  * Exposure of validator at era.
759
759
  *
@@ -767,7 +767,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
767
767
  * @param {[number, AccountId32Like]} arg
768
768
  * @param {Callback<SpStakingExposure> =} callback
769
769
  **/
770
- erasStakers: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
770
+ erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
771
771
  /**
772
772
  * Summary of validator exposure at a given era.
773
773
  *
@@ -785,7 +785,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
785
785
  * @param {[number, AccountId32Like]} arg
786
786
  * @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
787
787
  **/
788
- erasStakersOverview: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined, [
788
+ erasStakersOverview: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined, [
789
789
  number,
790
790
  AccountId32
791
791
  ]>;
@@ -810,7 +810,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
810
810
  * @param {[number, AccountId32Like]} arg
811
811
  * @param {Callback<SpStakingExposure> =} callback
812
812
  **/
813
- erasStakersClipped: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => SpStakingExposure, [
813
+ erasStakersClipped: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [
814
814
  number,
815
815
  AccountId32
816
816
  ]>;
@@ -825,7 +825,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
825
825
  * @param {[number, AccountId32Like, number]} arg
826
826
  * @param {Callback<SpStakingExposurePage | undefined> =} callback
827
827
  **/
828
- erasStakersPaged: GenericStorageQuery<Rv, (arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined, [
828
+ erasStakersPaged: GenericStorageQuery<(arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined, [
829
829
  number,
830
830
  AccountId32,
831
831
  number
@@ -841,7 +841,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
841
841
  * @param {[number, AccountId32Like]} arg
842
842
  * @param {Callback<Array<number>> =} callback
843
843
  **/
844
- claimedRewards: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
844
+ claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
845
845
  /**
846
846
  * Similar to `ErasStakers`, this holds the preferences of validators.
847
847
  *
@@ -852,7 +852,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
852
852
  * @param {[number, AccountId32Like]} arg
853
853
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
854
854
  **/
855
- erasValidatorPrefs: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs, [
855
+ erasValidatorPrefs: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs, [
856
856
  number,
857
857
  AccountId32
858
858
  ]>;
@@ -864,7 +864,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
864
864
  * @param {number} arg
865
865
  * @param {Callback<bigint | undefined> =} callback
866
866
  **/
867
- erasValidatorReward: GenericStorageQuery<Rv, (arg: number) => bigint | undefined, number>;
867
+ erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
868
868
  /**
869
869
  * Rewards for the last [`Config::HistoryDepth`] eras.
870
870
  * If reward hasn't been set or has been removed then 0 reward is returned.
@@ -872,7 +872,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
872
872
  * @param {number} arg
873
873
  * @param {Callback<PalletStakingEraRewardPoints> =} callback
874
874
  **/
875
- erasRewardPoints: GenericStorageQuery<Rv, (arg: number) => PalletStakingEraRewardPoints, number>;
875
+ erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
876
876
  /**
877
877
  * The total amount staked for the last [`Config::HistoryDepth`] eras.
878
878
  * If total hasn't been set or has been removed then 0 stake is returned.
@@ -880,13 +880,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
880
880
  * @param {number} arg
881
881
  * @param {Callback<bigint> =} callback
882
882
  **/
883
- erasTotalStake: GenericStorageQuery<Rv, (arg: number) => bigint, number>;
883
+ erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
884
884
  /**
885
885
  * Mode of era forcing.
886
886
  *
887
887
  * @param {Callback<PalletStakingForcing> =} callback
888
888
  **/
889
- forceEra: GenericStorageQuery<Rv, () => PalletStakingForcing>;
889
+ forceEra: GenericStorageQuery<() => PalletStakingForcing>;
890
890
  /**
891
891
  * Maximum staked rewards, i.e. the percentage of the era inflation that
892
892
  * is used for stake rewards.
@@ -894,7 +894,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
894
894
  *
895
895
  * @param {Callback<Percent | undefined> =} callback
896
896
  **/
897
- maxStakedRewards: GenericStorageQuery<Rv, () => Percent | undefined>;
897
+ maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
898
898
  /**
899
899
  * The percentage of the slash that is distributed to reporters.
900
900
  *
@@ -902,21 +902,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
902
902
  *
903
903
  * @param {Callback<Perbill> =} callback
904
904
  **/
905
- slashRewardFraction: GenericStorageQuery<Rv, () => Perbill>;
905
+ slashRewardFraction: GenericStorageQuery<() => Perbill>;
906
906
  /**
907
907
  * The amount of currency given to reporters of a slash event which was
908
908
  * canceled by extraordinary circumstances (e.g. governance).
909
909
  *
910
910
  * @param {Callback<bigint> =} callback
911
911
  **/
912
- canceledSlashPayout: GenericStorageQuery<Rv, () => bigint>;
912
+ canceledSlashPayout: GenericStorageQuery<() => bigint>;
913
913
  /**
914
914
  * All unapplied slashes that are queued for later.
915
915
  *
916
916
  * @param {number} arg
917
917
  * @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
918
918
  **/
919
- unappliedSlashes: GenericStorageQuery<Rv, (arg: number) => Array<PalletStakingUnappliedSlash>, number>;
919
+ unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
920
920
  /**
921
921
  * A mapping from still-bonded eras to the first session index of that era.
922
922
  *
@@ -925,7 +925,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
925
925
  *
926
926
  * @param {Callback<Array<[number, number]>> =} callback
927
927
  **/
928
- bondedEras: GenericStorageQuery<Rv, () => Array<[number, number]>>;
928
+ bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
929
929
  /**
930
930
  * All slashing events on validators, mapped by era to the highest slash proportion
931
931
  * and slash value of the era.
@@ -933,7 +933,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
933
933
  * @param {[number, AccountId32Like]} arg
934
934
  * @param {Callback<[Perbill, bigint] | undefined> =} callback
935
935
  **/
936
- validatorSlashInEra: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined, [
936
+ validatorSlashInEra: GenericStorageQuery<(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined, [
937
937
  number,
938
938
  AccountId32
939
939
  ]>;
@@ -943,7 +943,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
943
943
  * @param {[number, AccountId32Like]} arg
944
944
  * @param {Callback<bigint | undefined> =} callback
945
945
  **/
946
- nominatorSlashInEra: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => bigint | undefined, [
946
+ nominatorSlashInEra: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined, [
947
947
  number,
948
948
  AccountId32
949
949
  ]>;
@@ -953,7 +953,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
953
953
  * @param {AccountId32Like} arg
954
954
  * @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
955
955
  **/
956
- slashingSpans: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined, AccountId32>;
956
+ slashingSpans: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined, AccountId32>;
957
957
  /**
958
958
  * Records information about the maximum slash of a stash within a slashing span,
959
959
  * as well as how much reward has been paid out.
@@ -961,7 +961,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
961
961
  * @param {[AccountId32Like, number]} arg
962
962
  * @param {Callback<PalletStakingSlashingSpanRecord> =} callback
963
963
  **/
964
- spanSlash: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord, [
964
+ spanSlash: GenericStorageQuery<(arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord, [
965
965
  AccountId32,
966
966
  number
967
967
  ]>;
@@ -972,7 +972,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
972
972
  *
973
973
  * @param {Callback<number> =} callback
974
974
  **/
975
- currentPlannedSession: GenericStorageQuery<Rv, () => number>;
975
+ currentPlannedSession: GenericStorageQuery<() => number>;
976
976
  /**
977
977
  * The threshold for when users can start calling `chill_other` for other validators /
978
978
  * nominators. The threshold is compared to the actual number of validators / nominators
@@ -980,11 +980,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
980
980
  *
981
981
  * @param {Callback<Percent | undefined> =} callback
982
982
  **/
983
- chillThreshold: GenericStorageQuery<Rv, () => Percent | undefined>;
983
+ chillThreshold: GenericStorageQuery<() => Percent | undefined>;
984
984
  /**
985
985
  * Generic pallet storage query
986
986
  **/
987
- [storage: string]: GenericStorageQuery<Rv>;
987
+ [storage: string]: GenericStorageQuery;
988
988
  };
989
989
  /**
990
990
  * Pallet `Session`'s storage queries
@@ -995,27 +995,27 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
995
995
  *
996
996
  * @param {Callback<Array<AccountId32>> =} callback
997
997
  **/
998
- validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
998
+ validators: GenericStorageQuery<() => Array<AccountId32>>;
999
999
  /**
1000
1000
  * Current index of the session.
1001
1001
  *
1002
1002
  * @param {Callback<number> =} callback
1003
1003
  **/
1004
- currentIndex: GenericStorageQuery<Rv, () => number>;
1004
+ currentIndex: GenericStorageQuery<() => number>;
1005
1005
  /**
1006
1006
  * True if the underlying economic identities or weighting behind the validators
1007
1007
  * has changed in the queued validator set.
1008
1008
  *
1009
1009
  * @param {Callback<boolean> =} callback
1010
1010
  **/
1011
- queuedChanged: GenericStorageQuery<Rv, () => boolean>;
1011
+ queuedChanged: GenericStorageQuery<() => boolean>;
1012
1012
  /**
1013
1013
  * The queued keys for the next session. When the next session begins, these keys
1014
1014
  * will be used to determine the validator's session keys.
1015
1015
  *
1016
1016
  * @param {Callback<Array<[AccountId32, KitchensinkRuntimeSessionKeys]>> =} callback
1017
1017
  **/
1018
- queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, KitchensinkRuntimeSessionKeys]>>;
1018
+ queuedKeys: GenericStorageQuery<() => Array<[AccountId32, KitchensinkRuntimeSessionKeys]>>;
1019
1019
  /**
1020
1020
  * Indices of disabled validators.
1021
1021
  *
@@ -1025,28 +1025,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1025
1025
  *
1026
1026
  * @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
1027
1027
  **/
1028
- disabledValidators: GenericStorageQuery<Rv, () => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1028
+ disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1029
1029
  /**
1030
1030
  * The next session keys for a validator.
1031
1031
  *
1032
1032
  * @param {AccountId32Like} arg
1033
1033
  * @param {Callback<KitchensinkRuntimeSessionKeys | undefined> =} callback
1034
1034
  **/
1035
- nextKeys: GenericStorageQuery<Rv, (arg: AccountId32Like) => KitchensinkRuntimeSessionKeys | undefined, AccountId32>;
1035
+ nextKeys: GenericStorageQuery<(arg: AccountId32Like) => KitchensinkRuntimeSessionKeys | undefined, AccountId32>;
1036
1036
  /**
1037
1037
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1038
1038
  *
1039
1039
  * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
1040
1040
  * @param {Callback<AccountId32 | undefined> =} callback
1041
1041
  **/
1042
- keyOwner: GenericStorageQuery<Rv, (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined, [
1042
+ keyOwner: GenericStorageQuery<(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined, [
1043
1043
  SpCoreCryptoKeyTypeId,
1044
1044
  Bytes
1045
1045
  ]>;
1046
1046
  /**
1047
1047
  * Generic pallet storage query
1048
1048
  **/
1049
- [storage: string]: GenericStorageQuery<Rv>;
1049
+ [storage: string]: GenericStorageQuery;
1050
1050
  };
1051
1051
  /**
1052
1052
  * Pallet `Democracy`'s storage queries
@@ -1057,13 +1057,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1057
1057
  *
1058
1058
  * @param {Callback<number> =} callback
1059
1059
  **/
1060
- publicPropCount: GenericStorageQuery<Rv, () => number>;
1060
+ publicPropCount: GenericStorageQuery<() => number>;
1061
1061
  /**
1062
1062
  * The public proposals. Unsorted. The second item is the proposal.
1063
1063
  *
1064
1064
  * @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
1065
1065
  **/
1066
- publicProps: GenericStorageQuery<Rv, () => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
1066
+ publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
1067
1067
  /**
1068
1068
  * Those who have locked a deposit.
1069
1069
  *
@@ -1072,20 +1072,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1072
1072
  * @param {number} arg
1073
1073
  * @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
1074
1074
  **/
1075
- depositOf: GenericStorageQuery<Rv, (arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
1075
+ depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
1076
1076
  /**
1077
1077
  * The next free referendum index, aka the number of referenda started so far.
1078
1078
  *
1079
1079
  * @param {Callback<number> =} callback
1080
1080
  **/
1081
- referendumCount: GenericStorageQuery<Rv, () => number>;
1081
+ referendumCount: GenericStorageQuery<() => number>;
1082
1082
  /**
1083
1083
  * The lowest referendum index representing an unbaked referendum. Equal to
1084
1084
  * `ReferendumCount` if there isn't a unbaked referendum.
1085
1085
  *
1086
1086
  * @param {Callback<number> =} callback
1087
1087
  **/
1088
- lowestUnbaked: GenericStorageQuery<Rv, () => number>;
1088
+ lowestUnbaked: GenericStorageQuery<() => number>;
1089
1089
  /**
1090
1090
  * Information concerning any given referendum.
1091
1091
  *
@@ -1094,7 +1094,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1094
1094
  * @param {number} arg
1095
1095
  * @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
1096
1096
  **/
1097
- referendumInfoOf: GenericStorageQuery<Rv, (arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
1097
+ referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
1098
1098
  /**
1099
1099
  * All votes for a particular voter. We store the balance for the number of votes that we
1100
1100
  * have recorded. The second item is the total amount of delegations, that will be added.
@@ -1104,14 +1104,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1104
1104
  * @param {AccountId32Like} arg
1105
1105
  * @param {Callback<PalletDemocracyVoteVoting> =} callback
1106
1106
  **/
1107
- votingOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
1107
+ votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
1108
1108
  /**
1109
1109
  * True if the last referendum tabled was submitted externally. False if it was a public
1110
1110
  * proposal.
1111
1111
  *
1112
1112
  * @param {Callback<boolean> =} callback
1113
1113
  **/
1114
- lastTabledWasExternal: GenericStorageQuery<Rv, () => boolean>;
1114
+ lastTabledWasExternal: GenericStorageQuery<() => boolean>;
1115
1115
  /**
1116
1116
  * The referendum to be tabled whenever it would be valid to table an external proposal.
1117
1117
  * This happens when a referendum needs to be tabled and one of two conditions are met:
@@ -1120,7 +1120,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1120
1120
  *
1121
1121
  * @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
1122
1122
  **/
1123
- nextExternal: GenericStorageQuery<Rv, () => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
1123
+ nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
1124
1124
  /**
1125
1125
  * A record of who vetoed what. Maps proposal hash to a possible existent block number
1126
1126
  * (until when it may not be resubmitted) and who vetoed it.
@@ -1128,14 +1128,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1128
1128
  * @param {H256} arg
1129
1129
  * @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
1130
1130
  **/
1131
- blacklist: GenericStorageQuery<Rv, (arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
1131
+ blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
1132
1132
  /**
1133
1133
  * Record of all proposals that have been subject to emergency cancellation.
1134
1134
  *
1135
1135
  * @param {H256} arg
1136
1136
  * @param {Callback<boolean> =} callback
1137
1137
  **/
1138
- cancellations: GenericStorageQuery<Rv, (arg: H256) => boolean, H256>;
1138
+ cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
1139
1139
  /**
1140
1140
  * General information concerning any proposal or referendum.
1141
1141
  * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
@@ -1147,11 +1147,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1147
1147
  * @param {PalletDemocracyMetadataOwner} arg
1148
1148
  * @param {Callback<H256 | undefined> =} callback
1149
1149
  **/
1150
- metadataOf: GenericStorageQuery<Rv, (arg: PalletDemocracyMetadataOwner) => H256 | undefined, PalletDemocracyMetadataOwner>;
1150
+ metadataOf: GenericStorageQuery<(arg: PalletDemocracyMetadataOwner) => H256 | undefined, PalletDemocracyMetadataOwner>;
1151
1151
  /**
1152
1152
  * Generic pallet storage query
1153
1153
  **/
1154
- [storage: string]: GenericStorageQuery<Rv>;
1154
+ [storage: string]: GenericStorageQuery;
1155
1155
  };
1156
1156
  /**
1157
1157
  * Pallet `Council`'s storage queries
@@ -1162,14 +1162,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1162
1162
  *
1163
1163
  * @param {Callback<Array<H256>> =} callback
1164
1164
  **/
1165
- proposals: GenericStorageQuery<Rv, () => Array<H256>>;
1165
+ proposals: GenericStorageQuery<() => Array<H256>>;
1166
1166
  /**
1167
1167
  * Actual proposal for a given hash, if it's current.
1168
1168
  *
1169
1169
  * @param {H256} arg
1170
1170
  * @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
1171
1171
  **/
1172
- proposalOf: GenericStorageQuery<Rv, (arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
1172
+ proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
1173
1173
  /**
1174
1174
  * Consideration cost created for publishing and storing a proposal.
1175
1175
  *
@@ -1179,36 +1179,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1179
1179
  * @param {H256} arg
1180
1180
  * @param {Callback<[AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined> =} callback
1181
1181
  **/
1182
- costOf: GenericStorageQuery<Rv, (arg: H256) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined, H256>;
1182
+ costOf: GenericStorageQuery<(arg: H256) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined, H256>;
1183
1183
  /**
1184
1184
  * Votes on a given proposal, if it is ongoing.
1185
1185
  *
1186
1186
  * @param {H256} arg
1187
1187
  * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1188
1188
  **/
1189
- voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
1189
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
1190
1190
  /**
1191
1191
  * Proposals so far.
1192
1192
  *
1193
1193
  * @param {Callback<number> =} callback
1194
1194
  **/
1195
- proposalCount: GenericStorageQuery<Rv, () => number>;
1195
+ proposalCount: GenericStorageQuery<() => number>;
1196
1196
  /**
1197
1197
  * The current members of the collective. This is stored sorted (just by value).
1198
1198
  *
1199
1199
  * @param {Callback<Array<AccountId32>> =} callback
1200
1200
  **/
1201
- members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1201
+ members: GenericStorageQuery<() => Array<AccountId32>>;
1202
1202
  /**
1203
1203
  * The prime member that helps determine the default vote behavior in case of abstentions.
1204
1204
  *
1205
1205
  * @param {Callback<AccountId32 | undefined> =} callback
1206
1206
  **/
1207
- prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1207
+ prime: GenericStorageQuery<() => AccountId32 | undefined>;
1208
1208
  /**
1209
1209
  * Generic pallet storage query
1210
1210
  **/
1211
- [storage: string]: GenericStorageQuery<Rv>;
1211
+ [storage: string]: GenericStorageQuery;
1212
1212
  };
1213
1213
  /**
1214
1214
  * Pallet `TechnicalCommittee`'s storage queries
@@ -1219,14 +1219,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1219
1219
  *
1220
1220
  * @param {Callback<Array<H256>> =} callback
1221
1221
  **/
1222
- proposals: GenericStorageQuery<Rv, () => Array<H256>>;
1222
+ proposals: GenericStorageQuery<() => Array<H256>>;
1223
1223
  /**
1224
1224
  * Actual proposal for a given hash, if it's current.
1225
1225
  *
1226
1226
  * @param {H256} arg
1227
1227
  * @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
1228
1228
  **/
1229
- proposalOf: GenericStorageQuery<Rv, (arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
1229
+ proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
1230
1230
  /**
1231
1231
  * Consideration cost created for publishing and storing a proposal.
1232
1232
  *
@@ -1236,36 +1236,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1236
1236
  * @param {H256} arg
1237
1237
  * @param {Callback<[AccountId32, []] | undefined> =} callback
1238
1238
  **/
1239
- costOf: GenericStorageQuery<Rv, (arg: H256) => [AccountId32, []] | undefined, H256>;
1239
+ costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
1240
1240
  /**
1241
1241
  * Votes on a given proposal, if it is ongoing.
1242
1242
  *
1243
1243
  * @param {H256} arg
1244
1244
  * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1245
1245
  **/
1246
- voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
1246
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
1247
1247
  /**
1248
1248
  * Proposals so far.
1249
1249
  *
1250
1250
  * @param {Callback<number> =} callback
1251
1251
  **/
1252
- proposalCount: GenericStorageQuery<Rv, () => number>;
1252
+ proposalCount: GenericStorageQuery<() => number>;
1253
1253
  /**
1254
1254
  * The current members of the collective. This is stored sorted (just by value).
1255
1255
  *
1256
1256
  * @param {Callback<Array<AccountId32>> =} callback
1257
1257
  **/
1258
- members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1258
+ members: GenericStorageQuery<() => Array<AccountId32>>;
1259
1259
  /**
1260
1260
  * The prime member that helps determine the default vote behavior in case of abstentions.
1261
1261
  *
1262
1262
  * @param {Callback<AccountId32 | undefined> =} callback
1263
1263
  **/
1264
- prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1264
+ prime: GenericStorageQuery<() => AccountId32 | undefined>;
1265
1265
  /**
1266
1266
  * Generic pallet storage query
1267
1267
  **/
1268
- [storage: string]: GenericStorageQuery<Rv>;
1268
+ [storage: string]: GenericStorageQuery;
1269
1269
  };
1270
1270
  /**
1271
1271
  * Pallet `Elections`'s storage queries
@@ -1278,7 +1278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1278
1278
  *
1279
1279
  * @param {Callback<Array<PalletElectionsPhragmenSeatHolder>> =} callback
1280
1280
  **/
1281
- members: GenericStorageQuery<Rv, () => Array<PalletElectionsPhragmenSeatHolder>>;
1281
+ members: GenericStorageQuery<() => Array<PalletElectionsPhragmenSeatHolder>>;
1282
1282
  /**
1283
1283
  * The current reserved runners-up.
1284
1284
  *
@@ -1287,7 +1287,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1287
1287
  *
1288
1288
  * @param {Callback<Array<PalletElectionsPhragmenSeatHolder>> =} callback
1289
1289
  **/
1290
- runnersUp: GenericStorageQuery<Rv, () => Array<PalletElectionsPhragmenSeatHolder>>;
1290
+ runnersUp: GenericStorageQuery<() => Array<PalletElectionsPhragmenSeatHolder>>;
1291
1291
  /**
1292
1292
  * The present candidate list. A current member or runner-up can never enter this vector
1293
1293
  * and is always implicitly assumed to be a candidate.
@@ -1298,13 +1298,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1298
1298
  *
1299
1299
  * @param {Callback<Array<[AccountId32, bigint]>> =} callback
1300
1300
  **/
1301
- candidates: GenericStorageQuery<Rv, () => Array<[AccountId32, bigint]>>;
1301
+ candidates: GenericStorageQuery<() => Array<[AccountId32, bigint]>>;
1302
1302
  /**
1303
1303
  * The total number of vote rounds that have happened, excluding the upcoming one.
1304
1304
  *
1305
1305
  * @param {Callback<number> =} callback
1306
1306
  **/
1307
- electionRounds: GenericStorageQuery<Rv, () => number>;
1307
+ electionRounds: GenericStorageQuery<() => number>;
1308
1308
  /**
1309
1309
  * Votes and locked stake of a particular voter.
1310
1310
  *
@@ -1313,11 +1313,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1313
1313
  * @param {AccountId32Like} arg
1314
1314
  * @param {Callback<PalletElectionsPhragmenVoter> =} callback
1315
1315
  **/
1316
- voting: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletElectionsPhragmenVoter, AccountId32>;
1316
+ voting: GenericStorageQuery<(arg: AccountId32Like) => PalletElectionsPhragmenVoter, AccountId32>;
1317
1317
  /**
1318
1318
  * Generic pallet storage query
1319
1319
  **/
1320
- [storage: string]: GenericStorageQuery<Rv>;
1320
+ [storage: string]: GenericStorageQuery;
1321
1321
  };
1322
1322
  /**
1323
1323
  * Pallet `TechnicalMembership`'s storage queries
@@ -1328,17 +1328,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1328
1328
  *
1329
1329
  * @param {Callback<Array<AccountId32>> =} callback
1330
1330
  **/
1331
- members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1331
+ members: GenericStorageQuery<() => Array<AccountId32>>;
1332
1332
  /**
1333
1333
  * The current prime member, if one exists.
1334
1334
  *
1335
1335
  * @param {Callback<AccountId32 | undefined> =} callback
1336
1336
  **/
1337
- prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1337
+ prime: GenericStorageQuery<() => AccountId32 | undefined>;
1338
1338
  /**
1339
1339
  * Generic pallet storage query
1340
1340
  **/
1341
- [storage: string]: GenericStorageQuery<Rv>;
1341
+ [storage: string]: GenericStorageQuery;
1342
1342
  };
1343
1343
  /**
1344
1344
  * Pallet `Grandpa`'s storage queries
@@ -1349,32 +1349,32 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1349
1349
  *
1350
1350
  * @param {Callback<PalletGrandpaStoredState> =} callback
1351
1351
  **/
1352
- state: GenericStorageQuery<Rv, () => PalletGrandpaStoredState>;
1352
+ state: GenericStorageQuery<() => PalletGrandpaStoredState>;
1353
1353
  /**
1354
1354
  * Pending change: (signaled at, scheduled change).
1355
1355
  *
1356
1356
  * @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
1357
1357
  **/
1358
- pendingChange: GenericStorageQuery<Rv, () => PalletGrandpaStoredPendingChange | undefined>;
1358
+ pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
1359
1359
  /**
1360
1360
  * next block number where we can force a change.
1361
1361
  *
1362
1362
  * @param {Callback<number | undefined> =} callback
1363
1363
  **/
1364
- nextForced: GenericStorageQuery<Rv, () => number | undefined>;
1364
+ nextForced: GenericStorageQuery<() => number | undefined>;
1365
1365
  /**
1366
1366
  * `true` if we are currently stalled.
1367
1367
  *
1368
1368
  * @param {Callback<[number, number] | undefined> =} callback
1369
1369
  **/
1370
- stalled: GenericStorageQuery<Rv, () => [number, number] | undefined>;
1370
+ stalled: GenericStorageQuery<() => [number, number] | undefined>;
1371
1371
  /**
1372
1372
  * The number of changes (both in terms of keys and underlying economic responsibilities)
1373
1373
  * in the "set" of Grandpa validators from genesis.
1374
1374
  *
1375
1375
  * @param {Callback<bigint> =} callback
1376
1376
  **/
1377
- currentSetId: GenericStorageQuery<Rv, () => bigint>;
1377
+ currentSetId: GenericStorageQuery<() => bigint>;
1378
1378
  /**
1379
1379
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
1380
1380
  * members were responsible.
@@ -1390,17 +1390,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1390
1390
  * @param {bigint} arg
1391
1391
  * @param {Callback<number | undefined> =} callback
1392
1392
  **/
1393
- setIdSession: GenericStorageQuery<Rv, (arg: bigint) => number | undefined, bigint>;
1393
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
1394
1394
  /**
1395
1395
  * The current list of authorities.
1396
1396
  *
1397
1397
  * @param {Callback<Array<[SpConsensusGrandpaAppPublic, bigint]>> =} callback
1398
1398
  **/
1399
- authorities: GenericStorageQuery<Rv, () => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
1399
+ authorities: GenericStorageQuery<() => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
1400
1400
  /**
1401
1401
  * Generic pallet storage query
1402
1402
  **/
1403
- [storage: string]: GenericStorageQuery<Rv>;
1403
+ [storage: string]: GenericStorageQuery;
1404
1404
  };
1405
1405
  /**
1406
1406
  * Pallet `Treasury`'s storage queries
@@ -1414,7 +1414,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1414
1414
  *
1415
1415
  * @param {Callback<number> =} callback
1416
1416
  **/
1417
- proposalCount: GenericStorageQuery<Rv, () => number>;
1417
+ proposalCount: GenericStorageQuery<() => number>;
1418
1418
  /**
1419
1419
  * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1420
1420
  * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
@@ -1424,13 +1424,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1424
1424
  * @param {number} arg
1425
1425
  * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1426
1426
  **/
1427
- proposals: GenericStorageQuery<Rv, (arg: number) => PalletTreasuryProposal | undefined, number>;
1427
+ proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
1428
1428
  /**
1429
1429
  * The amount which has been reported as inactive to Currency.
1430
1430
  *
1431
1431
  * @param {Callback<bigint> =} callback
1432
1432
  **/
1433
- deactivated: GenericStorageQuery<Rv, () => bigint>;
1433
+ deactivated: GenericStorageQuery<() => bigint>;
1434
1434
  /**
1435
1435
  * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1436
1436
  * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
@@ -1439,30 +1439,30 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1439
1439
  *
1440
1440
  * @param {Callback<Array<number>> =} callback
1441
1441
  **/
1442
- approvals: GenericStorageQuery<Rv, () => Array<number>>;
1442
+ approvals: GenericStorageQuery<() => Array<number>>;
1443
1443
  /**
1444
1444
  * The count of spends that have been made.
1445
1445
  *
1446
1446
  * @param {Callback<number> =} callback
1447
1447
  **/
1448
- spendCount: GenericStorageQuery<Rv, () => number>;
1448
+ spendCount: GenericStorageQuery<() => number>;
1449
1449
  /**
1450
1450
  * Spends that have been approved and being processed.
1451
1451
  *
1452
1452
  * @param {number} arg
1453
1453
  * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1454
1454
  **/
1455
- spends: GenericStorageQuery<Rv, (arg: number) => PalletTreasurySpendStatus | undefined, number>;
1455
+ spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
1456
1456
  /**
1457
1457
  * The blocknumber for the last triggered spend period.
1458
1458
  *
1459
1459
  * @param {Callback<number | undefined> =} callback
1460
1460
  **/
1461
- lastSpendPeriod: GenericStorageQuery<Rv, () => number | undefined>;
1461
+ lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
1462
1462
  /**
1463
1463
  * Generic pallet storage query
1464
1464
  **/
1465
- [storage: string]: GenericStorageQuery<Rv>;
1465
+ [storage: string]: GenericStorageQuery;
1466
1466
  };
1467
1467
  /**
1468
1468
  * Pallet `AssetRate`'s storage queries
@@ -1476,11 +1476,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1476
1476
  * @param {FrameSupportTokensFungibleUnionOfNativeOrWithId} arg
1477
1477
  * @param {Callback<FixedU128 | undefined> =} callback
1478
1478
  **/
1479
- conversionRateToNative: GenericStorageQuery<Rv, (arg: FrameSupportTokensFungibleUnionOfNativeOrWithId) => FixedU128 | undefined, FrameSupportTokensFungibleUnionOfNativeOrWithId>;
1479
+ conversionRateToNative: GenericStorageQuery<(arg: FrameSupportTokensFungibleUnionOfNativeOrWithId) => FixedU128 | undefined, FrameSupportTokensFungibleUnionOfNativeOrWithId>;
1480
1480
  /**
1481
1481
  * Generic pallet storage query
1482
1482
  **/
1483
- [storage: string]: GenericStorageQuery<Rv>;
1483
+ [storage: string]: GenericStorageQuery;
1484
1484
  };
1485
1485
  /**
1486
1486
  * Pallet `Contracts`'s storage queries
@@ -1492,14 +1492,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1492
1492
  * @param {H256} arg
1493
1493
  * @param {Callback<Bytes | undefined> =} callback
1494
1494
  **/
1495
- pristineCode: GenericStorageQuery<Rv, (arg: H256) => Bytes | undefined, H256>;
1495
+ pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
1496
1496
  /**
1497
1497
  * A mapping from a contract's code hash to its code info.
1498
1498
  *
1499
1499
  * @param {H256} arg
1500
1500
  * @param {Callback<PalletContractsWasmCodeInfo | undefined> =} callback
1501
1501
  **/
1502
- codeInfoOf: GenericStorageQuery<Rv, (arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
1502
+ codeInfoOf: GenericStorageQuery<(arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
1503
1503
  /**
1504
1504
  * This is a **monotonic** counter incremented on contract instantiation.
1505
1505
  *
@@ -1526,7 +1526,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1526
1526
  *
1527
1527
  * @param {Callback<bigint> =} callback
1528
1528
  **/
1529
- nonce: GenericStorageQuery<Rv, () => bigint>;
1529
+ nonce: GenericStorageQuery<() => bigint>;
1530
1530
  /**
1531
1531
  * The code associated with a given account.
1532
1532
  *
@@ -1535,7 +1535,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1535
1535
  * @param {AccountId32Like} arg
1536
1536
  * @param {Callback<PalletContractsStorageContractInfo | undefined> =} callback
1537
1537
  **/
1538
- contractInfoOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletContractsStorageContractInfo | undefined, AccountId32>;
1538
+ contractInfoOf: GenericStorageQuery<(arg: AccountId32Like) => PalletContractsStorageContractInfo | undefined, AccountId32>;
1539
1539
  /**
1540
1540
  * Evicted contracts that await child trie deletion.
1541
1541
  *
@@ -1545,25 +1545,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1545
1545
  * @param {number} arg
1546
1546
  * @param {Callback<Bytes | undefined> =} callback
1547
1547
  **/
1548
- deletionQueue: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
1548
+ deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
1549
1549
  /**
1550
1550
  * A pair of monotonic counters used to track the latest contract marked for deletion
1551
1551
  * and the latest deleted contract in queue.
1552
1552
  *
1553
1553
  * @param {Callback<PalletContractsStorageDeletionQueueManager> =} callback
1554
1554
  **/
1555
- deletionQueueCounter: GenericStorageQuery<Rv, () => PalletContractsStorageDeletionQueueManager>;
1555
+ deletionQueueCounter: GenericStorageQuery<() => PalletContractsStorageDeletionQueueManager>;
1556
1556
  /**
1557
1557
  * A migration can span across multiple blocks. This storage defines a cursor to track the
1558
1558
  * progress of the migration, enabling us to resume from the last completed position.
1559
1559
  *
1560
1560
  * @param {Callback<Bytes | undefined> =} callback
1561
1561
  **/
1562
- migrationInProgress: GenericStorageQuery<Rv, () => Bytes | undefined>;
1562
+ migrationInProgress: GenericStorageQuery<() => Bytes | undefined>;
1563
1563
  /**
1564
1564
  * Generic pallet storage query
1565
1565
  **/
1566
- [storage: string]: GenericStorageQuery<Rv>;
1566
+ [storage: string]: GenericStorageQuery;
1567
1567
  };
1568
1568
  /**
1569
1569
  * Pallet `Sudo`'s storage queries
@@ -1574,11 +1574,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1574
1574
  *
1575
1575
  * @param {Callback<AccountId32 | undefined> =} callback
1576
1576
  **/
1577
- key: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1577
+ key: GenericStorageQuery<() => AccountId32 | undefined>;
1578
1578
  /**
1579
1579
  * Generic pallet storage query
1580
1580
  **/
1581
- [storage: string]: GenericStorageQuery<Rv>;
1581
+ [storage: string]: GenericStorageQuery;
1582
1582
  };
1583
1583
  /**
1584
1584
  * Pallet `ImOnline`'s storage queries
@@ -1599,20 +1599,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1599
1599
  *
1600
1600
  * @param {Callback<number> =} callback
1601
1601
  **/
1602
- heartbeatAfter: GenericStorageQuery<Rv, () => number>;
1602
+ heartbeatAfter: GenericStorageQuery<() => number>;
1603
1603
  /**
1604
1604
  * The current set of keys that may issue a heartbeat.
1605
1605
  *
1606
1606
  * @param {Callback<Array<PalletImOnlineSr25519AppSr25519Public>> =} callback
1607
1607
  **/
1608
- keys: GenericStorageQuery<Rv, () => Array<PalletImOnlineSr25519AppSr25519Public>>;
1608
+ keys: GenericStorageQuery<() => Array<PalletImOnlineSr25519AppSr25519Public>>;
1609
1609
  /**
1610
1610
  * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
1611
1611
  *
1612
1612
  * @param {[number, number]} arg
1613
1613
  * @param {Callback<boolean | undefined> =} callback
1614
1614
  **/
1615
- receivedHeartbeats: GenericStorageQuery<Rv, (arg: [number, number]) => boolean | undefined, [number, number]>;
1615
+ receivedHeartbeats: GenericStorageQuery<(arg: [number, number]) => boolean | undefined, [number, number]>;
1616
1616
  /**
1617
1617
  * For each session index, we keep a mapping of `ValidatorId<T>` to the
1618
1618
  * number of blocks authored by the given authority.
@@ -1620,11 +1620,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1620
1620
  * @param {[number, AccountId32Like]} arg
1621
1621
  * @param {Callback<number> =} callback
1622
1622
  **/
1623
- authoredBlocks: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => number, [number, AccountId32]>;
1623
+ authoredBlocks: GenericStorageQuery<(arg: [number, AccountId32Like]) => number, [number, AccountId32]>;
1624
1624
  /**
1625
1625
  * Generic pallet storage query
1626
1626
  **/
1627
- [storage: string]: GenericStorageQuery<Rv>;
1627
+ [storage: string]: GenericStorageQuery;
1628
1628
  };
1629
1629
  /**
1630
1630
  * Pallet `AuthorityDiscovery`'s storage queries
@@ -1635,17 +1635,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1635
1635
  *
1636
1636
  * @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
1637
1637
  **/
1638
- keys: GenericStorageQuery<Rv, () => Array<SpAuthorityDiscoveryAppPublic>>;
1638
+ keys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
1639
1639
  /**
1640
1640
  * Keys of the next authority set.
1641
1641
  *
1642
1642
  * @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
1643
1643
  **/
1644
- nextKeys: GenericStorageQuery<Rv, () => Array<SpAuthorityDiscoveryAppPublic>>;
1644
+ nextKeys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
1645
1645
  /**
1646
1646
  * Generic pallet storage query
1647
1647
  **/
1648
- [storage: string]: GenericStorageQuery<Rv>;
1648
+ [storage: string]: GenericStorageQuery;
1649
1649
  };
1650
1650
  /**
1651
1651
  * Pallet `Offences`'s storage queries
@@ -1657,21 +1657,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1657
1657
  * @param {H256} arg
1658
1658
  * @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
1659
1659
  **/
1660
- reports: GenericStorageQuery<Rv, (arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
1660
+ reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
1661
1661
  /**
1662
1662
  * A vector of reports of the same kind that happened at the same time slot.
1663
1663
  *
1664
1664
  * @param {[FixedBytes<16>, BytesLike]} arg
1665
1665
  * @param {Callback<Array<H256>> =} callback
1666
1666
  **/
1667
- concurrentReportsIndex: GenericStorageQuery<Rv, (arg: [FixedBytes<16>, BytesLike]) => Array<H256>, [
1667
+ concurrentReportsIndex: GenericStorageQuery<(arg: [FixedBytes<16>, BytesLike]) => Array<H256>, [
1668
1668
  FixedBytes<16>,
1669
1669
  Bytes
1670
1670
  ]>;
1671
1671
  /**
1672
1672
  * Generic pallet storage query
1673
1673
  **/
1674
- [storage: string]: GenericStorageQuery<Rv>;
1674
+ [storage: string]: GenericStorageQuery;
1675
1675
  };
1676
1676
  /**
1677
1677
  * Pallet `Historical`'s storage queries
@@ -1683,17 +1683,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1683
1683
  * @param {number} arg
1684
1684
  * @param {Callback<[H256, number] | undefined> =} callback
1685
1685
  **/
1686
- historicalSessions: GenericStorageQuery<Rv, (arg: number) => [H256, number] | undefined, number>;
1686
+ historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
1687
1687
  /**
1688
1688
  * The range of historical sessions we store. [first, last)
1689
1689
  *
1690
1690
  * @param {Callback<[number, number] | undefined> =} callback
1691
1691
  **/
1692
- storedRange: GenericStorageQuery<Rv, () => [number, number] | undefined>;
1692
+ storedRange: GenericStorageQuery<() => [number, number] | undefined>;
1693
1693
  /**
1694
1694
  * Generic pallet storage query
1695
1695
  **/
1696
- [storage: string]: GenericStorageQuery<Rv>;
1696
+ [storage: string]: GenericStorageQuery;
1697
1697
  };
1698
1698
  /**
1699
1699
  * Pallet `RandomnessCollectiveFlip`'s storage queries
@@ -1706,11 +1706,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1706
1706
  *
1707
1707
  * @param {Callback<Array<H256>> =} callback
1708
1708
  **/
1709
- randomMaterial: GenericStorageQuery<Rv, () => Array<H256>>;
1709
+ randomMaterial: GenericStorageQuery<() => Array<H256>>;
1710
1710
  /**
1711
1711
  * Generic pallet storage query
1712
1712
  **/
1713
- [storage: string]: GenericStorageQuery<Rv>;
1713
+ [storage: string]: GenericStorageQuery;
1714
1714
  };
1715
1715
  /**
1716
1716
  * Pallet `Identity`'s storage queries
@@ -1725,14 +1725,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1725
1725
  * @param {AccountId32Like} arg
1726
1726
  * @param {Callback<PalletIdentityRegistration | undefined> =} callback
1727
1727
  **/
1728
- identityOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
1728
+ identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
1729
1729
  /**
1730
1730
  * Identifies the primary username of an account.
1731
1731
  *
1732
1732
  * @param {AccountId32Like} arg
1733
1733
  * @param {Callback<Bytes | undefined> =} callback
1734
1734
  **/
1735
- usernameOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => Bytes | undefined, AccountId32>;
1735
+ usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
1736
1736
  /**
1737
1737
  * The super-identity of an alternative "sub" identity together with its name, within that
1738
1738
  * context. If the account is not some other account's sub-identity, then just `None`.
@@ -1740,7 +1740,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1740
1740
  * @param {AccountId32Like} arg
1741
1741
  * @param {Callback<[AccountId32, Data] | undefined> =} callback
1742
1742
  **/
1743
- superOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
1743
+ superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
1744
1744
  /**
1745
1745
  * Alternative "sub" identities of this account.
1746
1746
  *
@@ -1751,7 +1751,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1751
1751
  * @param {AccountId32Like} arg
1752
1752
  * @param {Callback<[bigint, Array<AccountId32>]> =} callback
1753
1753
  **/
1754
- subsOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
1754
+ subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
1755
1755
  /**
1756
1756
  * The set of registrars. Not expected to get very big as can only be added through a
1757
1757
  * special origin (likely a council motion).
@@ -1760,14 +1760,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1760
1760
  *
1761
1761
  * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
1762
1762
  **/
1763
- registrars: GenericStorageQuery<Rv, () => Array<PalletIdentityRegistrarInfo | undefined>>;
1763
+ registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
1764
1764
  /**
1765
1765
  * A map of the accounts who are authorized to grant usernames.
1766
1766
  *
1767
1767
  * @param {BytesLike} arg
1768
1768
  * @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
1769
1769
  **/
1770
- authorityOf: GenericStorageQuery<Rv, (arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
1770
+ authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
1771
1771
  /**
1772
1772
  * Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
1773
1773
  * the username. The `owner` value should be a key in the `UsernameOf` map, but it may not if
@@ -1779,7 +1779,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1779
1779
  * @param {BytesLike} arg
1780
1780
  * @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
1781
1781
  **/
1782
- usernameInfoOf: GenericStorageQuery<Rv, (arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
1782
+ usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
1783
1783
  /**
1784
1784
  * Usernames that an authority has granted, but that the account controller has not confirmed
1785
1785
  * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
@@ -1791,7 +1791,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1791
1791
  * @param {BytesLike} arg
1792
1792
  * @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
1793
1793
  **/
1794
- pendingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined, Bytes>;
1794
+ pendingUsernames: GenericStorageQuery<(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined, Bytes>;
1795
1795
  /**
1796
1796
  * Usernames for which the authority that granted them has started the removal process by
1797
1797
  * unbinding them. Each unbinding username maps to its grace period expiry, which is the first
@@ -1801,11 +1801,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1801
1801
  * @param {BytesLike} arg
1802
1802
  * @param {Callback<number | undefined> =} callback
1803
1803
  **/
1804
- unbindingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => number | undefined, Bytes>;
1804
+ unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
1805
1805
  /**
1806
1806
  * Generic pallet storage query
1807
1807
  **/
1808
- [storage: string]: GenericStorageQuery<Rv>;
1808
+ [storage: string]: GenericStorageQuery;
1809
1809
  };
1810
1810
  /**
1811
1811
  * Pallet `Society`'s storage queries
@@ -1816,52 +1816,52 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1816
1816
  *
1817
1817
  * @param {Callback<PalletSocietyGroupParams | undefined> =} callback
1818
1818
  **/
1819
- parameters: GenericStorageQuery<Rv, () => PalletSocietyGroupParams | undefined>;
1819
+ parameters: GenericStorageQuery<() => PalletSocietyGroupParams | undefined>;
1820
1820
  /**
1821
1821
  * Amount of our account balance that is specifically for the next round's bid(s).
1822
1822
  *
1823
1823
  * @param {Callback<bigint> =} callback
1824
1824
  **/
1825
- pot: GenericStorageQuery<Rv, () => bigint>;
1825
+ pot: GenericStorageQuery<() => bigint>;
1826
1826
  /**
1827
1827
  * The first member.
1828
1828
  *
1829
1829
  * @param {Callback<AccountId32 | undefined> =} callback
1830
1830
  **/
1831
- founder: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1831
+ founder: GenericStorageQuery<() => AccountId32 | undefined>;
1832
1832
  /**
1833
1833
  * The most primary from the most recently approved rank 0 members in the society.
1834
1834
  *
1835
1835
  * @param {Callback<AccountId32 | undefined> =} callback
1836
1836
  **/
1837
- head: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1837
+ head: GenericStorageQuery<() => AccountId32 | undefined>;
1838
1838
  /**
1839
1839
  * A hash of the rules of this society concerning membership. Can only be set once and
1840
1840
  * only by the founder.
1841
1841
  *
1842
1842
  * @param {Callback<H256 | undefined> =} callback
1843
1843
  **/
1844
- rules: GenericStorageQuery<Rv, () => H256 | undefined>;
1844
+ rules: GenericStorageQuery<() => H256 | undefined>;
1845
1845
  /**
1846
1846
  * The current members and their rank. Doesn't include `SuspendedMembers`.
1847
1847
  *
1848
1848
  * @param {AccountId32Like} arg
1849
1849
  * @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
1850
1850
  **/
1851
- members: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
1851
+ members: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
1852
1852
  /**
1853
1853
  * Information regarding rank-0 payouts, past and future.
1854
1854
  *
1855
1855
  * @param {AccountId32Like} arg
1856
1856
  * @param {Callback<PalletSocietyPayoutRecord> =} callback
1857
1857
  **/
1858
- payouts: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletSocietyPayoutRecord, AccountId32>;
1858
+ payouts: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyPayoutRecord, AccountId32>;
1859
1859
  /**
1860
1860
  * The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
1861
1861
  *
1862
1862
  * @param {Callback<number> =} callback
1863
1863
  **/
1864
- memberCount: GenericStorageQuery<Rv, () => number>;
1864
+ memberCount: GenericStorageQuery<() => number>;
1865
1865
  /**
1866
1866
  * The current items in `Members` keyed by their unique index. Keys are densely populated
1867
1867
  * `0..MemberCount` (does not include `MemberCount`).
@@ -1869,45 +1869,45 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1869
1869
  * @param {number} arg
1870
1870
  * @param {Callback<AccountId32 | undefined> =} callback
1871
1871
  **/
1872
- memberByIndex: GenericStorageQuery<Rv, (arg: number) => AccountId32 | undefined, number>;
1872
+ memberByIndex: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
1873
1873
  /**
1874
1874
  * The set of suspended members, with their old membership record.
1875
1875
  *
1876
1876
  * @param {AccountId32Like} arg
1877
1877
  * @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
1878
1878
  **/
1879
- suspendedMembers: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
1879
+ suspendedMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
1880
1880
  /**
1881
1881
  * The number of rounds which have passed.
1882
1882
  *
1883
1883
  * @param {Callback<number> =} callback
1884
1884
  **/
1885
- roundCount: GenericStorageQuery<Rv, () => number>;
1885
+ roundCount: GenericStorageQuery<() => number>;
1886
1886
  /**
1887
1887
  * The current bids, stored ordered by the value of the bid.
1888
1888
  *
1889
1889
  * @param {Callback<Array<PalletSocietyBid>> =} callback
1890
1890
  **/
1891
- bids: GenericStorageQuery<Rv, () => Array<PalletSocietyBid>>;
1891
+ bids: GenericStorageQuery<() => Array<PalletSocietyBid>>;
1892
1892
  /**
1893
1893
  *
1894
1894
  * @param {AccountId32Like} arg
1895
1895
  * @param {Callback<PalletSocietyCandidacy | undefined> =} callback
1896
1896
  **/
1897
- candidates: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletSocietyCandidacy | undefined, AccountId32>;
1897
+ candidates: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyCandidacy | undefined, AccountId32>;
1898
1898
  /**
1899
1899
  * The current skeptic.
1900
1900
  *
1901
1901
  * @param {Callback<AccountId32 | undefined> =} callback
1902
1902
  **/
1903
- skeptic: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1903
+ skeptic: GenericStorageQuery<() => AccountId32 | undefined>;
1904
1904
  /**
1905
1905
  * Double map from Candidate -> Voter -> (Maybe) Vote.
1906
1906
  *
1907
1907
  * @param {[AccountId32Like, AccountId32Like]} arg
1908
1908
  * @param {Callback<PalletSocietyVote | undefined> =} callback
1909
1909
  **/
1910
- votes: GenericStorageQuery<Rv, (arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined, [
1910
+ votes: GenericStorageQuery<(arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined, [
1911
1911
  AccountId32,
1912
1912
  AccountId32
1913
1913
  ]>;
@@ -1917,7 +1917,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1917
1917
  * @param {AccountId32Like} arg
1918
1918
  * @param {Callback<Bytes | undefined> =} callback
1919
1919
  **/
1920
- voteClearCursor: GenericStorageQuery<Rv, (arg: AccountId32Like) => Bytes | undefined, AccountId32>;
1920
+ voteClearCursor: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
1921
1921
  /**
1922
1922
  * At the end of the claim period, this contains the most recently approved members (along with
1923
1923
  * their bid and round ID) who is from the most recent round with the lowest bid. They will
@@ -1925,33 +1925,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1925
1925
  *
1926
1926
  * @param {Callback<PalletSocietyIntakeRecord | undefined> =} callback
1927
1927
  **/
1928
- nextHead: GenericStorageQuery<Rv, () => PalletSocietyIntakeRecord | undefined>;
1928
+ nextHead: GenericStorageQuery<() => PalletSocietyIntakeRecord | undefined>;
1929
1929
  /**
1930
1930
  * The number of challenge rounds there have been. Used to identify stale DefenderVotes.
1931
1931
  *
1932
1932
  * @param {Callback<number> =} callback
1933
1933
  **/
1934
- challengeRoundCount: GenericStorageQuery<Rv, () => number>;
1934
+ challengeRoundCount: GenericStorageQuery<() => number>;
1935
1935
  /**
1936
1936
  * The defending member currently being challenged, along with a running tally of votes.
1937
1937
  *
1938
1938
  * @param {Callback<[AccountId32, AccountId32, PalletSocietyTally] | undefined> =} callback
1939
1939
  **/
1940
- defending: GenericStorageQuery<Rv, () => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
1940
+ defending: GenericStorageQuery<() => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
1941
1941
  /**
1942
1942
  * Votes for the defender, keyed by challenge round.
1943
1943
  *
1944
1944
  * @param {[number, AccountId32Like]} arg
1945
1945
  * @param {Callback<PalletSocietyVote | undefined> =} callback
1946
1946
  **/
1947
- defenderVotes: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletSocietyVote | undefined, [
1947
+ defenderVotes: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletSocietyVote | undefined, [
1948
1948
  number,
1949
1949
  AccountId32
1950
1950
  ]>;
1951
1951
  /**
1952
1952
  * Generic pallet storage query
1953
1953
  **/
1954
- [storage: string]: GenericStorageQuery<Rv>;
1954
+ [storage: string]: GenericStorageQuery;
1955
1955
  };
1956
1956
  /**
1957
1957
  * Pallet `Recovery`'s storage queries
@@ -1963,7 +1963,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1963
1963
  * @param {AccountId32Like} arg
1964
1964
  * @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
1965
1965
  **/
1966
- recoverable: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
1966
+ recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
1967
1967
  /**
1968
1968
  * Active recovery attempts.
1969
1969
  *
@@ -1973,7 +1973,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1973
1973
  * @param {[AccountId32Like, AccountId32Like]} arg
1974
1974
  * @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
1975
1975
  **/
1976
- activeRecoveries: GenericStorageQuery<Rv, (arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined, [
1976
+ activeRecoveries: GenericStorageQuery<(arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined, [
1977
1977
  AccountId32,
1978
1978
  AccountId32
1979
1979
  ]>;
@@ -1985,11 +1985,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1985
1985
  * @param {AccountId32Like} arg
1986
1986
  * @param {Callback<AccountId32 | undefined> =} callback
1987
1987
  **/
1988
- proxy: GenericStorageQuery<Rv, (arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
1988
+ proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
1989
1989
  /**
1990
1990
  * Generic pallet storage query
1991
1991
  **/
1992
- [storage: string]: GenericStorageQuery<Rv>;
1992
+ [storage: string]: GenericStorageQuery;
1993
1993
  };
1994
1994
  /**
1995
1995
  * Pallet `Vesting`'s storage queries
@@ -2001,7 +2001,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2001
2001
  * @param {AccountId32Like} arg
2002
2002
  * @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
2003
2003
  **/
2004
- vesting: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
2004
+ vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
2005
2005
  /**
2006
2006
  * Storage version of the pallet.
2007
2007
  *
@@ -2009,11 +2009,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2009
2009
  *
2010
2010
  * @param {Callback<PalletVestingReleases> =} callback
2011
2011
  **/
2012
- storageVersion: GenericStorageQuery<Rv, () => PalletVestingReleases>;
2012
+ storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
2013
2013
  /**
2014
2014
  * Generic pallet storage query
2015
2015
  **/
2016
- [storage: string]: GenericStorageQuery<Rv>;
2016
+ [storage: string]: GenericStorageQuery;
2017
2017
  };
2018
2018
  /**
2019
2019
  * Pallet `Scheduler`'s storage queries
@@ -2024,24 +2024,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2024
2024
  *
2025
2025
  * @param {Callback<number | undefined> =} callback
2026
2026
  **/
2027
- incompleteSince: GenericStorageQuery<Rv, () => number | undefined>;
2027
+ incompleteSince: GenericStorageQuery<() => number | undefined>;
2028
2028
  /**
2029
2029
  * Items to be executed, indexed by the block number that they should be executed on.
2030
2030
  *
2031
2031
  * @param {number} arg
2032
2032
  * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
2033
2033
  **/
2034
- agenda: GenericStorageQuery<Rv, (arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
2034
+ agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
2035
2035
  /**
2036
2036
  * Retry configurations for items to be executed, indexed by task address.
2037
2037
  *
2038
2038
  * @param {[number, number]} arg
2039
2039
  * @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
2040
2040
  **/
2041
- retries: GenericStorageQuery<Rv, (arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [
2042
- number,
2043
- number
2044
- ]>;
2041
+ retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
2045
2042
  /**
2046
2043
  * Lookup from a name to the block number and index of the task.
2047
2044
  *
@@ -2051,11 +2048,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2051
2048
  * @param {FixedBytes<32>} arg
2052
2049
  * @param {Callback<[number, number] | undefined> =} callback
2053
2050
  **/
2054
- lookup: GenericStorageQuery<Rv, (arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
2051
+ lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
2055
2052
  /**
2056
2053
  * Generic pallet storage query
2057
2054
  **/
2058
- [storage: string]: GenericStorageQuery<Rv>;
2055
+ [storage: string]: GenericStorageQuery;
2059
2056
  };
2060
2057
  /**
2061
2058
  * Pallet `Glutton`'s storage queries
@@ -2069,7 +2066,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2069
2066
  *
2070
2067
  * @param {Callback<FixedU64> =} callback
2071
2068
  **/
2072
- compute: GenericStorageQuery<Rv, () => FixedU64>;
2069
+ compute: GenericStorageQuery<() => FixedU64>;
2073
2070
  /**
2074
2071
  * The proportion of the remaining `proof_size` to consume during `on_idle`.
2075
2072
  *
@@ -2078,7 +2075,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2078
2075
  *
2079
2076
  * @param {Callback<FixedU64> =} callback
2080
2077
  **/
2081
- storage: GenericStorageQuery<Rv, () => FixedU64>;
2078
+ storage: GenericStorageQuery<() => FixedU64>;
2082
2079
  /**
2083
2080
  * The proportion of the `block length` to consume on each block.
2084
2081
  *
@@ -2087,7 +2084,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2087
2084
  *
2088
2085
  * @param {Callback<FixedU64> =} callback
2089
2086
  **/
2090
- length: GenericStorageQuery<Rv, () => FixedU64>;
2087
+ length: GenericStorageQuery<() => FixedU64>;
2091
2088
  /**
2092
2089
  * Storage map used for wasting proof size.
2093
2090
  *
@@ -2101,17 +2098,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2101
2098
  * @param {number} arg
2102
2099
  * @param {Callback<FixedBytes<1024> | undefined> =} callback
2103
2100
  **/
2104
- trashData: GenericStorageQuery<Rv, (arg: number) => FixedBytes<1024> | undefined, number>;
2101
+ trashData: GenericStorageQuery<(arg: number) => FixedBytes<1024> | undefined, number>;
2105
2102
  /**
2106
2103
  * The current number of entries in `TrashData`.
2107
2104
  *
2108
2105
  * @param {Callback<number> =} callback
2109
2106
  **/
2110
- trashDataCount: GenericStorageQuery<Rv, () => number>;
2107
+ trashDataCount: GenericStorageQuery<() => number>;
2111
2108
  /**
2112
2109
  * Generic pallet storage query
2113
2110
  **/
2114
- [storage: string]: GenericStorageQuery<Rv>;
2111
+ [storage: string]: GenericStorageQuery;
2115
2112
  };
2116
2113
  /**
2117
2114
  * Pallet `Preimage`'s storage queries
@@ -2123,24 +2120,24 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2123
2120
  * @param {H256} arg
2124
2121
  * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
2125
2122
  **/
2126
- statusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
2123
+ statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
2127
2124
  /**
2128
2125
  * The request status of a given hash.
2129
2126
  *
2130
2127
  * @param {H256} arg
2131
2128
  * @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
2132
2129
  **/
2133
- requestStatusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
2130
+ requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
2134
2131
  /**
2135
2132
  *
2136
2133
  * @param {[H256, number]} arg
2137
2134
  * @param {Callback<Bytes | undefined> =} callback
2138
2135
  **/
2139
- preimageFor: GenericStorageQuery<Rv, (arg: [H256, number]) => Bytes | undefined, [H256, number]>;
2136
+ preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
2140
2137
  /**
2141
2138
  * Generic pallet storage query
2142
2139
  **/
2143
- [storage: string]: GenericStorageQuery<Rv>;
2140
+ [storage: string]: GenericStorageQuery;
2144
2141
  };
2145
2142
  /**
2146
2143
  * Pallet `Proxy`'s storage queries
@@ -2153,18 +2150,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2153
2150
  * @param {AccountId32Like} arg
2154
2151
  * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
2155
2152
  **/
2156
- proxies: GenericStorageQuery<Rv, (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
2153
+ proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
2157
2154
  /**
2158
2155
  * The announcements made by the proxy (key).
2159
2156
  *
2160
2157
  * @param {AccountId32Like} arg
2161
2158
  * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
2162
2159
  **/
2163
- announcements: GenericStorageQuery<Rv, (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
2160
+ announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
2164
2161
  /**
2165
2162
  * Generic pallet storage query
2166
2163
  **/
2167
- [storage: string]: GenericStorageQuery<Rv>;
2164
+ [storage: string]: GenericStorageQuery;
2168
2165
  };
2169
2166
  /**
2170
2167
  * Pallet `Multisig`'s storage queries
@@ -2176,14 +2173,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2176
2173
  * @param {[AccountId32Like, FixedBytes<32>]} arg
2177
2174
  * @param {Callback<PalletMultisigMultisig | undefined> =} callback
2178
2175
  **/
2179
- multisigs: GenericStorageQuery<Rv, (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined, [
2176
+ multisigs: GenericStorageQuery<(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined, [
2180
2177
  AccountId32,
2181
2178
  FixedBytes<32>
2182
2179
  ]>;
2183
2180
  /**
2184
2181
  * Generic pallet storage query
2185
2182
  **/
2186
- [storage: string]: GenericStorageQuery<Rv>;
2183
+ [storage: string]: GenericStorageQuery;
2187
2184
  };
2188
2185
  /**
2189
2186
  * Pallet `Bounties`'s storage queries
@@ -2194,31 +2191,31 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2194
2191
  *
2195
2192
  * @param {Callback<number> =} callback
2196
2193
  **/
2197
- bountyCount: GenericStorageQuery<Rv, () => number>;
2194
+ bountyCount: GenericStorageQuery<() => number>;
2198
2195
  /**
2199
2196
  * Bounties that have been made.
2200
2197
  *
2201
2198
  * @param {number} arg
2202
2199
  * @param {Callback<PalletBountiesBounty | undefined> =} callback
2203
2200
  **/
2204
- bounties: GenericStorageQuery<Rv, (arg: number) => PalletBountiesBounty | undefined, number>;
2201
+ bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
2205
2202
  /**
2206
2203
  * The description of each bounty.
2207
2204
  *
2208
2205
  * @param {number} arg
2209
2206
  * @param {Callback<Bytes | undefined> =} callback
2210
2207
  **/
2211
- bountyDescriptions: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
2208
+ bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
2212
2209
  /**
2213
2210
  * Bounty indices that have been approved but not yet funded.
2214
2211
  *
2215
2212
  * @param {Callback<Array<number>> =} callback
2216
2213
  **/
2217
- bountyApprovals: GenericStorageQuery<Rv, () => Array<number>>;
2214
+ bountyApprovals: GenericStorageQuery<() => Array<number>>;
2218
2215
  /**
2219
2216
  * Generic pallet storage query
2220
2217
  **/
2221
- [storage: string]: GenericStorageQuery<Rv>;
2218
+ [storage: string]: GenericStorageQuery;
2222
2219
  };
2223
2220
  /**
2224
2221
  * Pallet `Tips`'s storage queries
@@ -2232,7 +2229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2232
2229
  * @param {H256} arg
2233
2230
  * @param {Callback<PalletTipsOpenTip | undefined> =} callback
2234
2231
  **/
2235
- tips: GenericStorageQuery<Rv, (arg: H256) => PalletTipsOpenTip | undefined, H256>;
2232
+ tips: GenericStorageQuery<(arg: H256) => PalletTipsOpenTip | undefined, H256>;
2236
2233
  /**
2237
2234
  * Simple preimage lookup from the reason's hash to the original data. Again, has an
2238
2235
  * insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
@@ -2240,11 +2237,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2240
2237
  * @param {H256} arg
2241
2238
  * @param {Callback<Bytes | undefined> =} callback
2242
2239
  **/
2243
- reasons: GenericStorageQuery<Rv, (arg: H256) => Bytes | undefined, H256>;
2240
+ reasons: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
2244
2241
  /**
2245
2242
  * Generic pallet storage query
2246
2243
  **/
2247
- [storage: string]: GenericStorageQuery<Rv>;
2244
+ [storage: string]: GenericStorageQuery;
2248
2245
  };
2249
2246
  /**
2250
2247
  * Pallet `Assets`'s storage queries
@@ -2256,14 +2253,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2256
2253
  * @param {number} arg
2257
2254
  * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
2258
2255
  **/
2259
- asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
2256
+ asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
2260
2257
  /**
2261
2258
  * The holdings of a specific account for a specific asset.
2262
2259
  *
2263
2260
  * @param {[number, AccountId32Like]} arg
2264
2261
  * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
2265
2262
  **/
2266
- account: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined, [
2263
+ account: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined, [
2267
2264
  number,
2268
2265
  AccountId32
2269
2266
  ]>;
@@ -2275,7 +2272,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2275
2272
  * @param {[number, AccountId32Like, AccountId32Like]} arg
2276
2273
  * @param {Callback<PalletAssetsApproval | undefined> =} callback
2277
2274
  **/
2278
- approvals: GenericStorageQuery<Rv, (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined, [
2275
+ approvals: GenericStorageQuery<(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined, [
2279
2276
  number,
2280
2277
  AccountId32,
2281
2278
  AccountId32
@@ -2286,7 +2283,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2286
2283
  * @param {number} arg
2287
2284
  * @param {Callback<PalletAssetsAssetMetadata> =} callback
2288
2285
  **/
2289
- metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
2286
+ metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
2290
2287
  /**
2291
2288
  * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
2292
2289
  * item has no effect.
@@ -2300,11 +2297,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2300
2297
  *
2301
2298
  * @param {Callback<number | undefined> =} callback
2302
2299
  **/
2303
- nextAssetId: GenericStorageQuery<Rv, () => number | undefined>;
2300
+ nextAssetId: GenericStorageQuery<() => number | undefined>;
2304
2301
  /**
2305
2302
  * Generic pallet storage query
2306
2303
  **/
2307
- [storage: string]: GenericStorageQuery<Rv>;
2304
+ [storage: string]: GenericStorageQuery;
2308
2305
  };
2309
2306
  /**
2310
2307
  * Pallet `PoolAssets`'s storage queries
@@ -2316,14 +2313,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2316
2313
  * @param {number} arg
2317
2314
  * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
2318
2315
  **/
2319
- asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
2316
+ asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
2320
2317
  /**
2321
2318
  * The holdings of a specific account for a specific asset.
2322
2319
  *
2323
2320
  * @param {[number, AccountId32Like]} arg
2324
2321
  * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
2325
2322
  **/
2326
- account: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined, [
2323
+ account: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined, [
2327
2324
  number,
2328
2325
  AccountId32
2329
2326
  ]>;
@@ -2335,7 +2332,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2335
2332
  * @param {[number, AccountId32Like, AccountId32Like]} arg
2336
2333
  * @param {Callback<PalletAssetsApproval | undefined> =} callback
2337
2334
  **/
2338
- approvals: GenericStorageQuery<Rv, (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined, [
2335
+ approvals: GenericStorageQuery<(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined, [
2339
2336
  number,
2340
2337
  AccountId32,
2341
2338
  AccountId32
@@ -2346,7 +2343,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2346
2343
  * @param {number} arg
2347
2344
  * @param {Callback<PalletAssetsAssetMetadata> =} callback
2348
2345
  **/
2349
- metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
2346
+ metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
2350
2347
  /**
2351
2348
  * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
2352
2349
  * item has no effect.
@@ -2360,11 +2357,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2360
2357
  *
2361
2358
  * @param {Callback<number | undefined> =} callback
2362
2359
  **/
2363
- nextAssetId: GenericStorageQuery<Rv, () => number | undefined>;
2360
+ nextAssetId: GenericStorageQuery<() => number | undefined>;
2364
2361
  /**
2365
2362
  * Generic pallet storage query
2366
2363
  **/
2367
- [storage: string]: GenericStorageQuery<Rv>;
2364
+ [storage: string]: GenericStorageQuery;
2368
2365
  };
2369
2366
  /**
2370
2367
  * Pallet `Beefy`'s storage queries
@@ -2375,19 +2372,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2375
2372
  *
2376
2373
  * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
2377
2374
  **/
2378
- authorities: GenericStorageQuery<Rv, () => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
2375
+ authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
2379
2376
  /**
2380
2377
  * The current validator set id
2381
2378
  *
2382
2379
  * @param {Callback<bigint> =} callback
2383
2380
  **/
2384
- validatorSetId: GenericStorageQuery<Rv, () => bigint>;
2381
+ validatorSetId: GenericStorageQuery<() => bigint>;
2385
2382
  /**
2386
2383
  * Authorities set scheduled to be used with the next session
2387
2384
  *
2388
2385
  * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
2389
2386
  **/
2390
- nextAuthorities: GenericStorageQuery<Rv, () => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
2387
+ nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
2391
2388
  /**
2392
2389
  * A mapping from BEEFY set ID to the index of the *most recent* session for which its
2393
2390
  * members were responsible.
@@ -2403,7 +2400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2403
2400
  * @param {bigint} arg
2404
2401
  * @param {Callback<number | undefined> =} callback
2405
2402
  **/
2406
- setIdSession: GenericStorageQuery<Rv, (arg: bigint) => number | undefined, bigint>;
2403
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
2407
2404
  /**
2408
2405
  * Block number where BEEFY consensus is enabled/started.
2409
2406
  * By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
@@ -2411,11 +2408,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2411
2408
  *
2412
2409
  * @param {Callback<number | undefined> =} callback
2413
2410
  **/
2414
- genesisBlock: GenericStorageQuery<Rv, () => number | undefined>;
2411
+ genesisBlock: GenericStorageQuery<() => number | undefined>;
2415
2412
  /**
2416
2413
  * Generic pallet storage query
2417
2414
  **/
2418
- [storage: string]: GenericStorageQuery<Rv>;
2415
+ [storage: string]: GenericStorageQuery;
2419
2416
  };
2420
2417
  /**
2421
2418
  * Pallet `Mmr`'s storage queries
@@ -2426,13 +2423,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2426
2423
  *
2427
2424
  * @param {Callback<H256> =} callback
2428
2425
  **/
2429
- rootHash: GenericStorageQuery<Rv, () => H256>;
2426
+ rootHash: GenericStorageQuery<() => H256>;
2430
2427
  /**
2431
2428
  * Current size of the MMR (number of leaves).
2432
2429
  *
2433
2430
  * @param {Callback<bigint> =} callback
2434
2431
  **/
2435
- numberOfLeaves: GenericStorageQuery<Rv, () => bigint>;
2432
+ numberOfLeaves: GenericStorageQuery<() => bigint>;
2436
2433
  /**
2437
2434
  * Hashes of the nodes in the MMR.
2438
2435
  *
@@ -2442,11 +2439,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2442
2439
  * @param {bigint} arg
2443
2440
  * @param {Callback<H256 | undefined> =} callback
2444
2441
  **/
2445
- nodes: GenericStorageQuery<Rv, (arg: bigint) => H256 | undefined, bigint>;
2442
+ nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
2446
2443
  /**
2447
2444
  * Generic pallet storage query
2448
2445
  **/
2449
- [storage: string]: GenericStorageQuery<Rv>;
2446
+ [storage: string]: GenericStorageQuery;
2450
2447
  };
2451
2448
  /**
2452
2449
  * Pallet `MmrLeaf`'s storage queries
@@ -2457,7 +2454,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2457
2454
  *
2458
2455
  * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
2459
2456
  **/
2460
- beefyAuthorities: GenericStorageQuery<Rv, () => SpConsensusBeefyMmrBeefyAuthoritySet>;
2457
+ beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
2461
2458
  /**
2462
2459
  * Details of next BEEFY authority set.
2463
2460
  *
@@ -2465,11 +2462,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2465
2462
  *
2466
2463
  * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
2467
2464
  **/
2468
- beefyNextAuthorities: GenericStorageQuery<Rv, () => SpConsensusBeefyMmrBeefyAuthoritySet>;
2465
+ beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
2469
2466
  /**
2470
2467
  * Generic pallet storage query
2471
2468
  **/
2472
- [storage: string]: GenericStorageQuery<Rv>;
2469
+ [storage: string]: GenericStorageQuery;
2473
2470
  };
2474
2471
  /**
2475
2472
  * Pallet `Lottery`'s storage queries
@@ -2479,26 +2476,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2479
2476
  *
2480
2477
  * @param {Callback<number> =} callback
2481
2478
  **/
2482
- lotteryIndex: GenericStorageQuery<Rv, () => number>;
2479
+ lotteryIndex: GenericStorageQuery<() => number>;
2483
2480
  /**
2484
2481
  * The configuration for the current lottery.
2485
2482
  *
2486
2483
  * @param {Callback<PalletLotteryLotteryConfig | undefined> =} callback
2487
2484
  **/
2488
- lottery: GenericStorageQuery<Rv, () => PalletLotteryLotteryConfig | undefined>;
2485
+ lottery: GenericStorageQuery<() => PalletLotteryLotteryConfig | undefined>;
2489
2486
  /**
2490
2487
  * Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
2491
2488
  *
2492
2489
  * @param {AccountId32Like} arg
2493
2490
  * @param {Callback<[number, Array<[number, number]>]> =} callback
2494
2491
  **/
2495
- participants: GenericStorageQuery<Rv, (arg: AccountId32Like) => [number, Array<[number, number]>], AccountId32>;
2492
+ participants: GenericStorageQuery<(arg: AccountId32Like) => [number, Array<[number, number]>], AccountId32>;
2496
2493
  /**
2497
2494
  * Total number of tickets sold.
2498
2495
  *
2499
2496
  * @param {Callback<number> =} callback
2500
2497
  **/
2501
- ticketsCount: GenericStorageQuery<Rv, () => number>;
2498
+ ticketsCount: GenericStorageQuery<() => number>;
2502
2499
  /**
2503
2500
  * Each ticket's owner.
2504
2501
  *
@@ -2508,18 +2505,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2508
2505
  * @param {number} arg
2509
2506
  * @param {Callback<AccountId32 | undefined> =} callback
2510
2507
  **/
2511
- tickets: GenericStorageQuery<Rv, (arg: number) => AccountId32 | undefined, number>;
2508
+ tickets: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
2512
2509
  /**
2513
2510
  * The calls stored in this pallet to be used in an active lottery if configured
2514
2511
  * by `Config::ValidateCall`.
2515
2512
  *
2516
2513
  * @param {Callback<Array<[number, number]>> =} callback
2517
2514
  **/
2518
- callIndices: GenericStorageQuery<Rv, () => Array<[number, number]>>;
2515
+ callIndices: GenericStorageQuery<() => Array<[number, number]>>;
2519
2516
  /**
2520
2517
  * Generic pallet storage query
2521
2518
  **/
2522
- [storage: string]: GenericStorageQuery<Rv>;
2519
+ [storage: string]: GenericStorageQuery;
2523
2520
  };
2524
2521
  /**
2525
2522
  * Pallet `Nis`'s storage queries
@@ -2534,31 +2531,31 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2534
2531
  *
2535
2532
  * @param {Callback<Array<[number, bigint]>> =} callback
2536
2533
  **/
2537
- queueTotals: GenericStorageQuery<Rv, () => Array<[number, bigint]>>;
2534
+ queueTotals: GenericStorageQuery<() => Array<[number, bigint]>>;
2538
2535
  /**
2539
2536
  * The queues of bids. Indexed by duration (in `Period`s).
2540
2537
  *
2541
2538
  * @param {number} arg
2542
2539
  * @param {Callback<Array<PalletNisBid>> =} callback
2543
2540
  **/
2544
- queues: GenericStorageQuery<Rv, (arg: number) => Array<PalletNisBid>, number>;
2541
+ queues: GenericStorageQuery<(arg: number) => Array<PalletNisBid>, number>;
2545
2542
  /**
2546
2543
  * Summary information over the general state.
2547
2544
  *
2548
2545
  * @param {Callback<PalletNisSummaryRecord> =} callback
2549
2546
  **/
2550
- summary: GenericStorageQuery<Rv, () => PalletNisSummaryRecord>;
2547
+ summary: GenericStorageQuery<() => PalletNisSummaryRecord>;
2551
2548
  /**
2552
2549
  * The currently outstanding receipts, indexed according to the order of creation.
2553
2550
  *
2554
2551
  * @param {number} arg
2555
2552
  * @param {Callback<PalletNisReceiptRecord | undefined> =} callback
2556
2553
  **/
2557
- receipts: GenericStorageQuery<Rv, (arg: number) => PalletNisReceiptRecord | undefined, number>;
2554
+ receipts: GenericStorageQuery<(arg: number) => PalletNisReceiptRecord | undefined, number>;
2558
2555
  /**
2559
2556
  * Generic pallet storage query
2560
2557
  **/
2561
- [storage: string]: GenericStorageQuery<Rv>;
2558
+ [storage: string]: GenericStorageQuery;
2562
2559
  };
2563
2560
  /**
2564
2561
  * Pallet `Uniques`'s storage queries
@@ -2570,14 +2567,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2570
2567
  * @param {number} arg
2571
2568
  * @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
2572
2569
  **/
2573
- class: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionDetails | undefined, number>;
2570
+ class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
2574
2571
  /**
2575
2572
  * The collection, if any, of which an account is willing to take ownership.
2576
2573
  *
2577
2574
  * @param {AccountId32Like} arg
2578
2575
  * @param {Callback<number | undefined> =} callback
2579
2576
  **/
2580
- ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
2577
+ ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
2581
2578
  /**
2582
2579
  * The items held by any given account; set out this way so that items owned by a single
2583
2580
  * account can be enumerated.
@@ -2585,7 +2582,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2585
2582
  * @param {[AccountId32Like, number, number]} arg
2586
2583
  * @param {Callback<[] | undefined> =} callback
2587
2584
  **/
2588
- account: GenericStorageQuery<Rv, (arg: [AccountId32Like, number, number]) => [] | undefined, [
2585
+ account: GenericStorageQuery<(arg: [AccountId32Like, number, number]) => [] | undefined, [
2589
2586
  AccountId32,
2590
2587
  number,
2591
2588
  number
@@ -2597,28 +2594,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2597
2594
  * @param {[AccountId32Like, number]} arg
2598
2595
  * @param {Callback<[] | undefined> =} callback
2599
2596
  **/
2600
- classAccount: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
2597
+ classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
2601
2598
  /**
2602
2599
  * The items in existence and their ownership details.
2603
2600
  *
2604
2601
  * @param {[number, number]} arg
2605
2602
  * @param {Callback<PalletUniquesItemDetails | undefined> =} callback
2606
2603
  **/
2607
- asset: GenericStorageQuery<Rv, (arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
2604
+ asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
2608
2605
  /**
2609
2606
  * Metadata of a collection.
2610
2607
  *
2611
2608
  * @param {number} arg
2612
2609
  * @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
2613
2610
  **/
2614
- classMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
2611
+ classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
2615
2612
  /**
2616
2613
  * Metadata of an item.
2617
2614
  *
2618
2615
  * @param {[number, number]} arg
2619
2616
  * @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
2620
2617
  **/
2621
- instanceMetadataOf: GenericStorageQuery<Rv, (arg: [number, number]) => PalletUniquesItemMetadata | undefined, [
2618
+ instanceMetadataOf: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemMetadata | undefined, [
2622
2619
  number,
2623
2620
  number
2624
2621
  ]>;
@@ -2628,7 +2625,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2628
2625
  * @param {[number, number | undefined, BytesLike]} arg
2629
2626
  * @param {Callback<[Bytes, bigint] | undefined> =} callback
2630
2627
  **/
2631
- attribute: GenericStorageQuery<Rv, (arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined, [
2628
+ attribute: GenericStorageQuery<(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined, [
2632
2629
  number,
2633
2630
  number | undefined,
2634
2631
  Bytes
@@ -2639,7 +2636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2639
2636
  * @param {[number, number]} arg
2640
2637
  * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
2641
2638
  **/
2642
- itemPriceOf: GenericStorageQuery<Rv, (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined, [
2639
+ itemPriceOf: GenericStorageQuery<(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined, [
2643
2640
  number,
2644
2641
  number
2645
2642
  ]>;
@@ -2649,11 +2646,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2649
2646
  * @param {number} arg
2650
2647
  * @param {Callback<number | undefined> =} callback
2651
2648
  **/
2652
- collectionMaxSupply: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
2649
+ collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
2653
2650
  /**
2654
2651
  * Generic pallet storage query
2655
2652
  **/
2656
- [storage: string]: GenericStorageQuery<Rv>;
2653
+ [storage: string]: GenericStorageQuery;
2657
2654
  };
2658
2655
  /**
2659
2656
  * Pallet `Nfts`'s storage queries
@@ -2665,14 +2662,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2665
2662
  * @param {number} arg
2666
2663
  * @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
2667
2664
  **/
2668
- collection: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionDetails | undefined, number>;
2665
+ collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
2669
2666
  /**
2670
2667
  * The collection, if any, of which an account is willing to take ownership.
2671
2668
  *
2672
2669
  * @param {AccountId32Like} arg
2673
2670
  * @param {Callback<number | undefined> =} callback
2674
2671
  **/
2675
- ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
2672
+ ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
2676
2673
  /**
2677
2674
  * The items held by any given account; set out this way so that items owned by a single
2678
2675
  * account can be enumerated.
@@ -2680,7 +2677,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2680
2677
  * @param {[AccountId32Like, number, number]} arg
2681
2678
  * @param {Callback<[] | undefined> =} callback
2682
2679
  **/
2683
- account: GenericStorageQuery<Rv, (arg: [AccountId32Like, number, number]) => [] | undefined, [
2680
+ account: GenericStorageQuery<(arg: [AccountId32Like, number, number]) => [] | undefined, [
2684
2681
  AccountId32,
2685
2682
  number,
2686
2683
  number
@@ -2692,10 +2689,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2692
2689
  * @param {[AccountId32Like, number]} arg
2693
2690
  * @param {Callback<[] | undefined> =} callback
2694
2691
  **/
2695
- collectionAccount: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => [] | undefined, [
2696
- AccountId32,
2697
- number
2698
- ]>;
2692
+ collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
2699
2693
  /**
2700
2694
  * The items in existence and their ownership details.
2701
2695
  * Stores collection roles as per account.
@@ -2703,7 +2697,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2703
2697
  * @param {[number, AccountId32Like]} arg
2704
2698
  * @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
2705
2699
  **/
2706
- collectionRoleOf: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined, [
2700
+ collectionRoleOf: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined, [
2707
2701
  number,
2708
2702
  AccountId32
2709
2703
  ]>;
@@ -2713,21 +2707,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2713
2707
  * @param {[number, number]} arg
2714
2708
  * @param {Callback<PalletNftsItemDetails | undefined> =} callback
2715
2709
  **/
2716
- item: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
2710
+ item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
2717
2711
  /**
2718
2712
  * Metadata of a collection.
2719
2713
  *
2720
2714
  * @param {number} arg
2721
2715
  * @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
2722
2716
  **/
2723
- collectionMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionMetadata | undefined, number>;
2717
+ collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
2724
2718
  /**
2725
2719
  * Metadata of an item.
2726
2720
  *
2727
2721
  * @param {[number, number]} arg
2728
2722
  * @param {Callback<PalletNftsItemMetadata | undefined> =} callback
2729
2723
  **/
2730
- itemMetadataOf: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsItemMetadata | undefined, [
2724
+ itemMetadataOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemMetadata | undefined, [
2731
2725
  number,
2732
2726
  number
2733
2727
  ]>;
@@ -2737,7 +2731,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2737
2731
  * @param {[number, number | undefined, PalletNftsAttributeNamespace, BytesLike]} arg
2738
2732
  * @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
2739
2733
  **/
2740
- attribute: GenericStorageQuery<Rv, (arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike]) => [Bytes, PalletNftsAttributeDeposit] | undefined, [
2734
+ attribute: GenericStorageQuery<(arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike]) => [Bytes, PalletNftsAttributeDeposit] | undefined, [
2741
2735
  number,
2742
2736
  number | undefined,
2743
2737
  PalletNftsAttributeNamespace,
@@ -2749,7 +2743,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2749
2743
  * @param {[number, number]} arg
2750
2744
  * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
2751
2745
  **/
2752
- itemPriceOf: GenericStorageQuery<Rv, (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined, [
2746
+ itemPriceOf: GenericStorageQuery<(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined, [
2753
2747
  number,
2754
2748
  number
2755
2749
  ]>;
@@ -2759,45 +2753,39 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2759
2753
  * @param {[number, number]} arg
2760
2754
  * @param {Callback<Array<AccountId32>> =} callback
2761
2755
  **/
2762
- itemAttributesApprovalsOf: GenericStorageQuery<Rv, (arg: [number, number]) => Array<AccountId32>, [number, number]>;
2756
+ itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
2763
2757
  /**
2764
2758
  * Stores the `CollectionId` that is going to be used for the next collection.
2765
2759
  * This gets incremented whenever a new collection is created.
2766
2760
  *
2767
2761
  * @param {Callback<number | undefined> =} callback
2768
2762
  **/
2769
- nextCollectionId: GenericStorageQuery<Rv, () => number | undefined>;
2763
+ nextCollectionId: GenericStorageQuery<() => number | undefined>;
2770
2764
  /**
2771
2765
  * Handles all the pending swaps.
2772
2766
  *
2773
2767
  * @param {[number, number]} arg
2774
2768
  * @param {Callback<PalletNftsPendingSwap | undefined> =} callback
2775
2769
  **/
2776
- pendingSwapOf: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsPendingSwap | undefined, [
2777
- number,
2778
- number
2779
- ]>;
2770
+ pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
2780
2771
  /**
2781
2772
  * Config of a collection.
2782
2773
  *
2783
2774
  * @param {number} arg
2784
2775
  * @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
2785
2776
  **/
2786
- collectionConfigOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionConfig | undefined, number>;
2777
+ collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
2787
2778
  /**
2788
2779
  * Config of an item.
2789
2780
  *
2790
2781
  * @param {[number, number]} arg
2791
2782
  * @param {Callback<PalletNftsItemConfig | undefined> =} callback
2792
2783
  **/
2793
- itemConfigOf: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsItemConfig | undefined, [
2794
- number,
2795
- number
2796
- ]>;
2784
+ itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
2797
2785
  /**
2798
2786
  * Generic pallet storage query
2799
2787
  **/
2800
- [storage: string]: GenericStorageQuery<Rv>;
2788
+ [storage: string]: GenericStorageQuery;
2801
2789
  };
2802
2790
  /**
2803
2791
  * Pallet `NftFractionalization`'s storage queries
@@ -2809,14 +2797,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2809
2797
  * @param {[number, number]} arg
2810
2798
  * @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
2811
2799
  **/
2812
- nftToAsset: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftFractionalizationDetails | undefined, [
2800
+ nftToAsset: GenericStorageQuery<(arg: [number, number]) => PalletNftFractionalizationDetails | undefined, [
2813
2801
  number,
2814
2802
  number
2815
2803
  ]>;
2816
2804
  /**
2817
2805
  * Generic pallet storage query
2818
2806
  **/
2819
- [storage: string]: GenericStorageQuery<Rv>;
2807
+ [storage: string]: GenericStorageQuery;
2820
2808
  };
2821
2809
  /**
2822
2810
  * Pallet `Salary`'s storage queries
@@ -2827,18 +2815,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2827
2815
  *
2828
2816
  * @param {Callback<PalletSalaryStatusType | undefined> =} callback
2829
2817
  **/
2830
- status: GenericStorageQuery<Rv, () => PalletSalaryStatusType | undefined>;
2818
+ status: GenericStorageQuery<() => PalletSalaryStatusType | undefined>;
2831
2819
  /**
2832
2820
  * The status of a claimant.
2833
2821
  *
2834
2822
  * @param {AccountId32Like} arg
2835
2823
  * @param {Callback<PalletSalaryClaimantStatus | undefined> =} callback
2836
2824
  **/
2837
- claimant: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletSalaryClaimantStatus | undefined, AccountId32>;
2825
+ claimant: GenericStorageQuery<(arg: AccountId32Like) => PalletSalaryClaimantStatus | undefined, AccountId32>;
2838
2826
  /**
2839
2827
  * Generic pallet storage query
2840
2828
  **/
2841
- [storage: string]: GenericStorageQuery<Rv>;
2829
+ [storage: string]: GenericStorageQuery;
2842
2830
  };
2843
2831
  /**
2844
2832
  * Pallet `CoreFellowship`'s storage queries
@@ -2849,25 +2837,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2849
2837
  *
2850
2838
  * @param {Callback<PalletCoreFellowshipParamsType> =} callback
2851
2839
  **/
2852
- params: GenericStorageQuery<Rv, () => PalletCoreFellowshipParamsType>;
2840
+ params: GenericStorageQuery<() => PalletCoreFellowshipParamsType>;
2853
2841
  /**
2854
2842
  * The status of a claimant.
2855
2843
  *
2856
2844
  * @param {AccountId32Like} arg
2857
2845
  * @param {Callback<PalletCoreFellowshipMemberStatus | undefined> =} callback
2858
2846
  **/
2859
- member: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletCoreFellowshipMemberStatus | undefined, AccountId32>;
2847
+ member: GenericStorageQuery<(arg: AccountId32Like) => PalletCoreFellowshipMemberStatus | undefined, AccountId32>;
2860
2848
  /**
2861
2849
  * Some evidence together with the desired outcome for which it was presented.
2862
2850
  *
2863
2851
  * @param {AccountId32Like} arg
2864
2852
  * @param {Callback<[PalletCoreFellowshipWish, Bytes] | undefined> =} callback
2865
2853
  **/
2866
- memberEvidence: GenericStorageQuery<Rv, (arg: AccountId32Like) => [PalletCoreFellowshipWish, Bytes] | undefined, AccountId32>;
2854
+ memberEvidence: GenericStorageQuery<(arg: AccountId32Like) => [PalletCoreFellowshipWish, Bytes] | undefined, AccountId32>;
2867
2855
  /**
2868
2856
  * Generic pallet storage query
2869
2857
  **/
2870
- [storage: string]: GenericStorageQuery<Rv>;
2858
+ [storage: string]: GenericStorageQuery;
2871
2859
  };
2872
2860
  /**
2873
2861
  * Pallet `TransactionStorage`'s storage queries
@@ -2879,48 +2867,48 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2879
2867
  * @param {number} arg
2880
2868
  * @param {Callback<Array<PalletTransactionStorageTransactionInfo> | undefined> =} callback
2881
2869
  **/
2882
- transactions: GenericStorageQuery<Rv, (arg: number) => Array<PalletTransactionStorageTransactionInfo> | undefined, number>;
2870
+ transactions: GenericStorageQuery<(arg: number) => Array<PalletTransactionStorageTransactionInfo> | undefined, number>;
2883
2871
  /**
2884
2872
  * Count indexed chunks for each block.
2885
2873
  *
2886
2874
  * @param {number} arg
2887
2875
  * @param {Callback<number> =} callback
2888
2876
  **/
2889
- chunkCount: GenericStorageQuery<Rv, (arg: number) => number, number>;
2877
+ chunkCount: GenericStorageQuery<(arg: number) => number, number>;
2890
2878
  /**
2891
2879
  * Storage fee per byte.
2892
2880
  *
2893
2881
  * @param {Callback<bigint | undefined> =} callback
2894
2882
  **/
2895
- byteFee: GenericStorageQuery<Rv, () => bigint | undefined>;
2883
+ byteFee: GenericStorageQuery<() => bigint | undefined>;
2896
2884
  /**
2897
2885
  * Storage fee per transaction.
2898
2886
  *
2899
2887
  * @param {Callback<bigint | undefined> =} callback
2900
2888
  **/
2901
- entryFee: GenericStorageQuery<Rv, () => bigint | undefined>;
2889
+ entryFee: GenericStorageQuery<() => bigint | undefined>;
2902
2890
  /**
2903
2891
  * Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`
2904
2892
  * for block authoring.
2905
2893
  *
2906
2894
  * @param {Callback<number> =} callback
2907
2895
  **/
2908
- storagePeriod: GenericStorageQuery<Rv, () => number>;
2896
+ storagePeriod: GenericStorageQuery<() => number>;
2909
2897
  /**
2910
2898
  *
2911
2899
  * @param {Callback<Array<PalletTransactionStorageTransactionInfo>> =} callback
2912
2900
  **/
2913
- blockTransactions: GenericStorageQuery<Rv, () => Array<PalletTransactionStorageTransactionInfo>>;
2901
+ blockTransactions: GenericStorageQuery<() => Array<PalletTransactionStorageTransactionInfo>>;
2914
2902
  /**
2915
2903
  * Was the proof checked in this block?
2916
2904
  *
2917
2905
  * @param {Callback<boolean> =} callback
2918
2906
  **/
2919
- proofChecked: GenericStorageQuery<Rv, () => boolean>;
2907
+ proofChecked: GenericStorageQuery<() => boolean>;
2920
2908
  /**
2921
2909
  * Generic pallet storage query
2922
2910
  **/
2923
- [storage: string]: GenericStorageQuery<Rv>;
2911
+ [storage: string]: GenericStorageQuery;
2924
2912
  };
2925
2913
  /**
2926
2914
  * Pallet `VoterList`'s storage queries
@@ -2934,13 +2922,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2934
2922
  * @param {AccountId32Like} arg
2935
2923
  * @param {Callback<PalletBagsListListNode | undefined> =} callback
2936
2924
  **/
2937
- listNodes: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
2925
+ listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
2938
2926
  /**
2939
2927
  * Counter for the related counted storage map
2940
2928
  *
2941
2929
  * @param {Callback<number> =} callback
2942
2930
  **/
2943
- counterForListNodes: GenericStorageQuery<Rv, () => number>;
2931
+ counterForListNodes: GenericStorageQuery<() => number>;
2944
2932
  /**
2945
2933
  * A bag stored in storage.
2946
2934
  *
@@ -2949,11 +2937,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2949
2937
  * @param {bigint} arg
2950
2938
  * @param {Callback<PalletBagsListListBag | undefined> =} callback
2951
2939
  **/
2952
- listBags: GenericStorageQuery<Rv, (arg: bigint) => PalletBagsListListBag | undefined, bigint>;
2940
+ listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
2953
2941
  /**
2954
2942
  * Generic pallet storage query
2955
2943
  **/
2956
- [storage: string]: GenericStorageQuery<Rv>;
2944
+ [storage: string]: GenericStorageQuery;
2957
2945
  };
2958
2946
  /**
2959
2947
  * Pallet `StateTrieMigration`'s storage queries
@@ -2967,7 +2955,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2967
2955
  *
2968
2956
  * @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
2969
2957
  **/
2970
- migrationProcess: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationTask>;
2958
+ migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
2971
2959
  /**
2972
2960
  * The limits that are imposed on automatic migrations.
2973
2961
  *
@@ -2975,7 +2963,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2975
2963
  *
2976
2964
  * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
2977
2965
  **/
2978
- autoLimits: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationLimits | undefined>;
2966
+ autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
2979
2967
  /**
2980
2968
  * The maximum limits that the signed migration could use.
2981
2969
  *
@@ -2983,11 +2971,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2983
2971
  *
2984
2972
  * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
2985
2973
  **/
2986
- signedMigrationMaxLimits: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationLimits | undefined>;
2974
+ signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
2987
2975
  /**
2988
2976
  * Generic pallet storage query
2989
2977
  **/
2990
- [storage: string]: GenericStorageQuery<Rv>;
2978
+ [storage: string]: GenericStorageQuery;
2991
2979
  };
2992
2980
  /**
2993
2981
  * Pallet `ChildBounties`'s storage queries
@@ -2999,7 +2987,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2999
2987
  *
3000
2988
  * @param {Callback<number> =} callback
3001
2989
  **/
3002
- childBountyCount: GenericStorageQuery<Rv, () => number>;
2990
+ childBountyCount: GenericStorageQuery<() => number>;
3003
2991
  /**
3004
2992
  * Number of active child bounties per parent bounty.
3005
2993
  * Map of parent bounty index to number of child bounties.
@@ -3007,21 +2995,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3007
2995
  * @param {number} arg
3008
2996
  * @param {Callback<number> =} callback
3009
2997
  **/
3010
- parentChildBounties: GenericStorageQuery<Rv, (arg: number) => number, number>;
2998
+ parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
3011
2999
  /**
3012
3000
  * Number of total child bounties per parent bounty, including completed bounties.
3013
3001
  *
3014
3002
  * @param {number} arg
3015
3003
  * @param {Callback<number> =} callback
3016
3004
  **/
3017
- parentTotalChildBounties: GenericStorageQuery<Rv, (arg: number) => number, number>;
3005
+ parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
3018
3006
  /**
3019
3007
  * Child bounties that have been added.
3020
3008
  *
3021
3009
  * @param {[number, number]} arg
3022
3010
  * @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
3023
3011
  **/
3024
- childBounties: GenericStorageQuery<Rv, (arg: [number, number]) => PalletChildBountiesChildBounty | undefined, [
3012
+ childBounties: GenericStorageQuery<(arg: [number, number]) => PalletChildBountiesChildBounty | undefined, [
3025
3013
  number,
3026
3014
  number
3027
3015
  ]>;
@@ -3033,7 +3021,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3033
3021
  * @param {[number, number]} arg
3034
3022
  * @param {Callback<Bytes | undefined> =} callback
3035
3023
  **/
3036
- childBountyDescriptionsV1: GenericStorageQuery<Rv, (arg: [number, number]) => Bytes | undefined, [number, number]>;
3024
+ childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
3037
3025
  /**
3038
3026
  * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
3039
3027
  *
@@ -3044,18 +3032,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3044
3032
  * @param {number} arg
3045
3033
  * @param {Callback<[number, number] | undefined> =} callback
3046
3034
  **/
3047
- v0ToV1ChildBountyIds: GenericStorageQuery<Rv, (arg: number) => [number, number] | undefined, number>;
3035
+ v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
3048
3036
  /**
3049
3037
  * The cumulative child-bounty curator fee for each parent bounty.
3050
3038
  *
3051
3039
  * @param {number} arg
3052
3040
  * @param {Callback<bigint> =} callback
3053
3041
  **/
3054
- childrenCuratorFees: GenericStorageQuery<Rv, (arg: number) => bigint, number>;
3042
+ childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
3055
3043
  /**
3056
3044
  * Generic pallet storage query
3057
3045
  **/
3058
- [storage: string]: GenericStorageQuery<Rv>;
3046
+ [storage: string]: GenericStorageQuery;
3059
3047
  };
3060
3048
  /**
3061
3049
  * Pallet `Referenda`'s storage queries
@@ -3066,14 +3054,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3066
3054
  *
3067
3055
  * @param {Callback<number> =} callback
3068
3056
  **/
3069
- referendumCount: GenericStorageQuery<Rv, () => number>;
3057
+ referendumCount: GenericStorageQuery<() => number>;
3070
3058
  /**
3071
3059
  * Information concerning any given referendum.
3072
3060
  *
3073
3061
  * @param {number} arg
3074
3062
  * @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
3075
3063
  **/
3076
- referendumInfoFor: GenericStorageQuery<Rv, (arg: number) => PalletReferendaReferendumInfo | undefined, number>;
3064
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
3077
3065
  /**
3078
3066
  * The sorted list of referenda ready to be decided but not yet being decided, ordered by
3079
3067
  * conviction-weighted approvals.
@@ -3083,14 +3071,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3083
3071
  * @param {number} arg
3084
3072
  * @param {Callback<Array<[number, bigint]>> =} callback
3085
3073
  **/
3086
- trackQueue: GenericStorageQuery<Rv, (arg: number) => Array<[number, bigint]>, number>;
3074
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
3087
3075
  /**
3088
3076
  * The number of referenda being decided currently.
3089
3077
  *
3090
3078
  * @param {number} arg
3091
3079
  * @param {Callback<number> =} callback
3092
3080
  **/
3093
- decidingCount: GenericStorageQuery<Rv, (arg: number) => number, number>;
3081
+ decidingCount: GenericStorageQuery<(arg: number) => number, number>;
3094
3082
  /**
3095
3083
  * The metadata is a general information concerning the referendum.
3096
3084
  * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
@@ -3102,11 +3090,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3102
3090
  * @param {number} arg
3103
3091
  * @param {Callback<H256 | undefined> =} callback
3104
3092
  **/
3105
- metadataOf: GenericStorageQuery<Rv, (arg: number) => H256 | undefined, number>;
3093
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
3106
3094
  /**
3107
3095
  * Generic pallet storage query
3108
3096
  **/
3109
- [storage: string]: GenericStorageQuery<Rv>;
3097
+ [storage: string]: GenericStorageQuery;
3110
3098
  };
3111
3099
  /**
3112
3100
  * Pallet `ConvictionVoting`'s storage queries
@@ -3119,7 +3107,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3119
3107
  * @param {[AccountId32Like, number]} arg
3120
3108
  * @param {Callback<PalletConvictionVotingVoteVoting> =} callback
3121
3109
  **/
3122
- votingFor: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting, [
3110
+ votingFor: GenericStorageQuery<(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting, [
3123
3111
  AccountId32,
3124
3112
  number
3125
3113
  ]>;
@@ -3131,11 +3119,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3131
3119
  * @param {AccountId32Like} arg
3132
3120
  * @param {Callback<Array<[number, bigint]>> =} callback
3133
3121
  **/
3134
- classLocksFor: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
3122
+ classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
3135
3123
  /**
3136
3124
  * Generic pallet storage query
3137
3125
  **/
3138
- [storage: string]: GenericStorageQuery<Rv>;
3126
+ [storage: string]: GenericStorageQuery;
3139
3127
  };
3140
3128
  /**
3141
3129
  * Pallet `Whitelist`'s storage queries
@@ -3146,11 +3134,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3146
3134
  * @param {H256} arg
3147
3135
  * @param {Callback<[] | undefined> =} callback
3148
3136
  **/
3149
- whitelistedCall: GenericStorageQuery<Rv, (arg: H256) => [] | undefined, H256>;
3137
+ whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
3150
3138
  /**
3151
3139
  * Generic pallet storage query
3152
3140
  **/
3153
- [storage: string]: GenericStorageQuery<Rv>;
3141
+ [storage: string]: GenericStorageQuery;
3154
3142
  };
3155
3143
  /**
3156
3144
  * Pallet `AllianceMotion`'s storage queries
@@ -3161,14 +3149,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3161
3149
  *
3162
3150
  * @param {Callback<Array<H256>> =} callback
3163
3151
  **/
3164
- proposals: GenericStorageQuery<Rv, () => Array<H256>>;
3152
+ proposals: GenericStorageQuery<() => Array<H256>>;
3165
3153
  /**
3166
3154
  * Actual proposal for a given hash, if it's current.
3167
3155
  *
3168
3156
  * @param {H256} arg
3169
3157
  * @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
3170
3158
  **/
3171
- proposalOf: GenericStorageQuery<Rv, (arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
3159
+ proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
3172
3160
  /**
3173
3161
  * Consideration cost created for publishing and storing a proposal.
3174
3162
  *
@@ -3178,36 +3166,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3178
3166
  * @param {H256} arg
3179
3167
  * @param {Callback<[AccountId32, []] | undefined> =} callback
3180
3168
  **/
3181
- costOf: GenericStorageQuery<Rv, (arg: H256) => [AccountId32, []] | undefined, H256>;
3169
+ costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
3182
3170
  /**
3183
3171
  * Votes on a given proposal, if it is ongoing.
3184
3172
  *
3185
3173
  * @param {H256} arg
3186
3174
  * @param {Callback<PalletCollectiveVotes | undefined> =} callback
3187
3175
  **/
3188
- voting: GenericStorageQuery<Rv, (arg: H256) => PalletCollectiveVotes | undefined, H256>;
3176
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
3189
3177
  /**
3190
3178
  * Proposals so far.
3191
3179
  *
3192
3180
  * @param {Callback<number> =} callback
3193
3181
  **/
3194
- proposalCount: GenericStorageQuery<Rv, () => number>;
3182
+ proposalCount: GenericStorageQuery<() => number>;
3195
3183
  /**
3196
3184
  * The current members of the collective. This is stored sorted (just by value).
3197
3185
  *
3198
3186
  * @param {Callback<Array<AccountId32>> =} callback
3199
3187
  **/
3200
- members: GenericStorageQuery<Rv, () => Array<AccountId32>>;
3188
+ members: GenericStorageQuery<() => Array<AccountId32>>;
3201
3189
  /**
3202
3190
  * The prime member that helps determine the default vote behavior in case of abstentions.
3203
3191
  *
3204
3192
  * @param {Callback<AccountId32 | undefined> =} callback
3205
3193
  **/
3206
- prime: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
3194
+ prime: GenericStorageQuery<() => AccountId32 | undefined>;
3207
3195
  /**
3208
3196
  * Generic pallet storage query
3209
3197
  **/
3210
- [storage: string]: GenericStorageQuery<Rv>;
3198
+ [storage: string]: GenericStorageQuery;
3211
3199
  };
3212
3200
  /**
3213
3201
  * Pallet `Alliance`'s storage queries
@@ -3219,27 +3207,27 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3219
3207
  *
3220
3208
  * @param {Callback<PalletAllianceCid | undefined> =} callback
3221
3209
  **/
3222
- rule: GenericStorageQuery<Rv, () => PalletAllianceCid | undefined>;
3210
+ rule: GenericStorageQuery<() => PalletAllianceCid | undefined>;
3223
3211
  /**
3224
3212
  * The current IPFS CIDs of any announcements.
3225
3213
  *
3226
3214
  * @param {Callback<Array<PalletAllianceCid>> =} callback
3227
3215
  **/
3228
- announcements: GenericStorageQuery<Rv, () => Array<PalletAllianceCid>>;
3216
+ announcements: GenericStorageQuery<() => Array<PalletAllianceCid>>;
3229
3217
  /**
3230
3218
  * Maps members to their candidacy deposit.
3231
3219
  *
3232
3220
  * @param {AccountId32Like} arg
3233
3221
  * @param {Callback<bigint | undefined> =} callback
3234
3222
  **/
3235
- depositOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint | undefined, AccountId32>;
3223
+ depositOf: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
3236
3224
  /**
3237
3225
  * Maps member type to members of each type.
3238
3226
  *
3239
3227
  * @param {PalletAllianceMemberRole} arg
3240
3228
  * @param {Callback<Array<AccountId32>> =} callback
3241
3229
  **/
3242
- members: GenericStorageQuery<Rv, (arg: PalletAllianceMemberRole) => Array<AccountId32>, PalletAllianceMemberRole>;
3230
+ members: GenericStorageQuery<(arg: PalletAllianceMemberRole) => Array<AccountId32>, PalletAllianceMemberRole>;
3243
3231
  /**
3244
3232
  * A set of members who gave a retirement notice. They can retire after the end of retirement
3245
3233
  * period stored as a future block number.
@@ -3247,24 +3235,24 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3247
3235
  * @param {AccountId32Like} arg
3248
3236
  * @param {Callback<number | undefined> =} callback
3249
3237
  **/
3250
- retiringMembers: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
3238
+ retiringMembers: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
3251
3239
  /**
3252
3240
  * The current list of accounts deemed unscrupulous. These accounts non grata cannot submit
3253
3241
  * candidacy.
3254
3242
  *
3255
3243
  * @param {Callback<Array<AccountId32>> =} callback
3256
3244
  **/
3257
- unscrupulousAccounts: GenericStorageQuery<Rv, () => Array<AccountId32>>;
3245
+ unscrupulousAccounts: GenericStorageQuery<() => Array<AccountId32>>;
3258
3246
  /**
3259
3247
  * The current list of websites deemed unscrupulous.
3260
3248
  *
3261
3249
  * @param {Callback<Array<Bytes>> =} callback
3262
3250
  **/
3263
- unscrupulousWebsites: GenericStorageQuery<Rv, () => Array<Bytes>>;
3251
+ unscrupulousWebsites: GenericStorageQuery<() => Array<Bytes>>;
3264
3252
  /**
3265
3253
  * Generic pallet storage query
3266
3254
  **/
3267
- [storage: string]: GenericStorageQuery<Rv>;
3255
+ [storage: string]: GenericStorageQuery;
3268
3256
  };
3269
3257
  /**
3270
3258
  * Pallet `NominationPools`'s storage queries
@@ -3279,13 +3267,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3279
3267
  *
3280
3268
  * @param {Callback<bigint> =} callback
3281
3269
  **/
3282
- totalValueLocked: GenericStorageQuery<Rv, () => bigint>;
3270
+ totalValueLocked: GenericStorageQuery<() => bigint>;
3283
3271
  /**
3284
3272
  * Minimum amount to bond to join a pool.
3285
3273
  *
3286
3274
  * @param {Callback<bigint> =} callback
3287
3275
  **/
3288
- minJoinBond: GenericStorageQuery<Rv, () => bigint>;
3276
+ minJoinBond: GenericStorageQuery<() => bigint>;
3289
3277
  /**
3290
3278
  * Minimum bond required to create a pool.
3291
3279
  *
@@ -3297,28 +3285,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3297
3285
  *
3298
3286
  * @param {Callback<bigint> =} callback
3299
3287
  **/
3300
- minCreateBond: GenericStorageQuery<Rv, () => bigint>;
3288
+ minCreateBond: GenericStorageQuery<() => bigint>;
3301
3289
  /**
3302
3290
  * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
3303
3291
  * pools can exist.
3304
3292
  *
3305
3293
  * @param {Callback<number | undefined> =} callback
3306
3294
  **/
3307
- maxPools: GenericStorageQuery<Rv, () => number | undefined>;
3295
+ maxPools: GenericStorageQuery<() => number | undefined>;
3308
3296
  /**
3309
3297
  * Maximum number of members that can exist in the system. If `None`, then the count
3310
3298
  * members are not bound on a system wide basis.
3311
3299
  *
3312
3300
  * @param {Callback<number | undefined> =} callback
3313
3301
  **/
3314
- maxPoolMembers: GenericStorageQuery<Rv, () => number | undefined>;
3302
+ maxPoolMembers: GenericStorageQuery<() => number | undefined>;
3315
3303
  /**
3316
3304
  * Maximum number of members that may belong to pool. If `None`, then the count of
3317
3305
  * members is not bound on a per pool basis.
3318
3306
  *
3319
3307
  * @param {Callback<number | undefined> =} callback
3320
3308
  **/
3321
- maxPoolMembersPerPool: GenericStorageQuery<Rv, () => number | undefined>;
3309
+ maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
3322
3310
  /**
3323
3311
  * The maximum commission that can be charged by a pool. Used on commission payouts to bound
3324
3312
  * pool commissions that are > `GlobalMaxCommission`, necessary if a future
@@ -3326,7 +3314,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3326
3314
  *
3327
3315
  * @param {Callback<Perbill | undefined> =} callback
3328
3316
  **/
3329
- globalMaxCommission: GenericStorageQuery<Rv, () => Perbill | undefined>;
3317
+ globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
3330
3318
  /**
3331
3319
  * Active members.
3332
3320
  *
@@ -3335,26 +3323,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3335
3323
  * @param {AccountId32Like} arg
3336
3324
  * @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
3337
3325
  **/
3338
- poolMembers: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined, AccountId32>;
3326
+ poolMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined, AccountId32>;
3339
3327
  /**
3340
3328
  * Counter for the related counted storage map
3341
3329
  *
3342
3330
  * @param {Callback<number> =} callback
3343
3331
  **/
3344
- counterForPoolMembers: GenericStorageQuery<Rv, () => number>;
3332
+ counterForPoolMembers: GenericStorageQuery<() => number>;
3345
3333
  /**
3346
3334
  * Storage for bonded pools.
3347
3335
  *
3348
3336
  * @param {number} arg
3349
3337
  * @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
3350
3338
  **/
3351
- bondedPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
3339
+ bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
3352
3340
  /**
3353
3341
  * Counter for the related counted storage map
3354
3342
  *
3355
3343
  * @param {Callback<number> =} callback
3356
3344
  **/
3357
- counterForBondedPools: GenericStorageQuery<Rv, () => number>;
3345
+ counterForBondedPools: GenericStorageQuery<() => number>;
3358
3346
  /**
3359
3347
  * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
3360
3348
  * claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
@@ -3362,13 +3350,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3362
3350
  * @param {number} arg
3363
3351
  * @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
3364
3352
  **/
3365
- rewardPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
3353
+ rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
3366
3354
  /**
3367
3355
  * Counter for the related counted storage map
3368
3356
  *
3369
3357
  * @param {Callback<number> =} callback
3370
3358
  **/
3371
- counterForRewardPools: GenericStorageQuery<Rv, () => number>;
3359
+ counterForRewardPools: GenericStorageQuery<() => number>;
3372
3360
  /**
3373
3361
  * Groups of unbonding pools. Each group of unbonding pools belongs to a
3374
3362
  * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
@@ -3376,32 +3364,32 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3376
3364
  * @param {number} arg
3377
3365
  * @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
3378
3366
  **/
3379
- subPoolsStorage: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsSubPools | undefined, number>;
3367
+ subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
3380
3368
  /**
3381
3369
  * Counter for the related counted storage map
3382
3370
  *
3383
3371
  * @param {Callback<number> =} callback
3384
3372
  **/
3385
- counterForSubPoolsStorage: GenericStorageQuery<Rv, () => number>;
3373
+ counterForSubPoolsStorage: GenericStorageQuery<() => number>;
3386
3374
  /**
3387
3375
  * Metadata for the pool.
3388
3376
  *
3389
3377
  * @param {number} arg
3390
3378
  * @param {Callback<Bytes> =} callback
3391
3379
  **/
3392
- metadata: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
3380
+ metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
3393
3381
  /**
3394
3382
  * Counter for the related counted storage map
3395
3383
  *
3396
3384
  * @param {Callback<number> =} callback
3397
3385
  **/
3398
- counterForMetadata: GenericStorageQuery<Rv, () => number>;
3386
+ counterForMetadata: GenericStorageQuery<() => number>;
3399
3387
  /**
3400
3388
  * Ever increasing number of all pools created so far.
3401
3389
  *
3402
3390
  * @param {Callback<number> =} callback
3403
3391
  **/
3404
- lastPoolId: GenericStorageQuery<Rv, () => number>;
3392
+ lastPoolId: GenericStorageQuery<() => number>;
3405
3393
  /**
3406
3394
  * A reverse lookup from the pool's account id to its id.
3407
3395
  *
@@ -3411,24 +3399,24 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3411
3399
  * @param {AccountId32Like} arg
3412
3400
  * @param {Callback<number | undefined> =} callback
3413
3401
  **/
3414
- reversePoolIdLookup: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
3402
+ reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
3415
3403
  /**
3416
3404
  * Counter for the related counted storage map
3417
3405
  *
3418
3406
  * @param {Callback<number> =} callback
3419
3407
  **/
3420
- counterForReversePoolIdLookup: GenericStorageQuery<Rv, () => number>;
3408
+ counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
3421
3409
  /**
3422
3410
  * Map from a pool member account to their opted claim permission.
3423
3411
  *
3424
3412
  * @param {AccountId32Like} arg
3425
3413
  * @param {Callback<PalletNominationPoolsClaimPermission> =} callback
3426
3414
  **/
3427
- claimPermissions: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
3415
+ claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
3428
3416
  /**
3429
3417
  * Generic pallet storage query
3430
3418
  **/
3431
- [storage: string]: GenericStorageQuery<Rv>;
3419
+ [storage: string]: GenericStorageQuery;
3432
3420
  };
3433
3421
  /**
3434
3422
  * Pallet `RankedPolls`'s storage queries
@@ -3439,14 +3427,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3439
3427
  *
3440
3428
  * @param {Callback<number> =} callback
3441
3429
  **/
3442
- referendumCount: GenericStorageQuery<Rv, () => number>;
3430
+ referendumCount: GenericStorageQuery<() => number>;
3443
3431
  /**
3444
3432
  * Information concerning any given referendum.
3445
3433
  *
3446
3434
  * @param {number} arg
3447
3435
  * @param {Callback<PalletReferendaReferendumInfoTally | undefined> =} callback
3448
3436
  **/
3449
- referendumInfoFor: GenericStorageQuery<Rv, (arg: number) => PalletReferendaReferendumInfoTally | undefined, number>;
3437
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfoTally | undefined, number>;
3450
3438
  /**
3451
3439
  * The sorted list of referenda ready to be decided but not yet being decided, ordered by
3452
3440
  * conviction-weighted approvals.
@@ -3456,14 +3444,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3456
3444
  * @param {number} arg
3457
3445
  * @param {Callback<Array<[number, number]>> =} callback
3458
3446
  **/
3459
- trackQueue: GenericStorageQuery<Rv, (arg: number) => Array<[number, number]>, number>;
3447
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, number]>, number>;
3460
3448
  /**
3461
3449
  * The number of referenda being decided currently.
3462
3450
  *
3463
3451
  * @param {number} arg
3464
3452
  * @param {Callback<number> =} callback
3465
3453
  **/
3466
- decidingCount: GenericStorageQuery<Rv, (arg: number) => number, number>;
3454
+ decidingCount: GenericStorageQuery<(arg: number) => number, number>;
3467
3455
  /**
3468
3456
  * The metadata is a general information concerning the referendum.
3469
3457
  * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
@@ -3475,11 +3463,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3475
3463
  * @param {number} arg
3476
3464
  * @param {Callback<H256 | undefined> =} callback
3477
3465
  **/
3478
- metadataOf: GenericStorageQuery<Rv, (arg: number) => H256 | undefined, number>;
3466
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
3479
3467
  /**
3480
3468
  * Generic pallet storage query
3481
3469
  **/
3482
- [storage: string]: GenericStorageQuery<Rv>;
3470
+ [storage: string]: GenericStorageQuery;
3483
3471
  };
3484
3472
  /**
3485
3473
  * Pallet `RankedCollective`'s storage queries
@@ -3492,21 +3480,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3492
3480
  * @param {number} arg
3493
3481
  * @param {Callback<number> =} callback
3494
3482
  **/
3495
- memberCount: GenericStorageQuery<Rv, (arg: number) => number, number>;
3483
+ memberCount: GenericStorageQuery<(arg: number) => number, number>;
3496
3484
  /**
3497
3485
  * The current members of the collective.
3498
3486
  *
3499
3487
  * @param {AccountId32Like} arg
3500
3488
  * @param {Callback<PalletRankedCollectiveMemberRecord | undefined> =} callback
3501
3489
  **/
3502
- members: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined, AccountId32>;
3490
+ members: GenericStorageQuery<(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined, AccountId32>;
3503
3491
  /**
3504
3492
  * The index of each ranks's member into the group of members who have at least that rank.
3505
3493
  *
3506
3494
  * @param {[number, AccountId32Like]} arg
3507
3495
  * @param {Callback<number | undefined> =} callback
3508
3496
  **/
3509
- idToIndex: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => number | undefined, [number, AccountId32]>;
3497
+ idToIndex: GenericStorageQuery<(arg: [number, AccountId32Like]) => number | undefined, [number, AccountId32]>;
3510
3498
  /**
3511
3499
  * The members in the collective by index. All indices in the range `0..MemberCount` will
3512
3500
  * return `Some`, however a member's index is not guaranteed to remain unchanged over time.
@@ -3514,14 +3502,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3514
3502
  * @param {[number, number]} arg
3515
3503
  * @param {Callback<AccountId32 | undefined> =} callback
3516
3504
  **/
3517
- indexToId: GenericStorageQuery<Rv, (arg: [number, number]) => AccountId32 | undefined, [number, number]>;
3505
+ indexToId: GenericStorageQuery<(arg: [number, number]) => AccountId32 | undefined, [number, number]>;
3518
3506
  /**
3519
3507
  * Votes on a given proposal, if it is ongoing.
3520
3508
  *
3521
3509
  * @param {[number, AccountId32Like]} arg
3522
3510
  * @param {Callback<PalletRankedCollectiveVoteRecord | undefined> =} callback
3523
3511
  **/
3524
- voting: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletRankedCollectiveVoteRecord | undefined, [
3512
+ voting: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletRankedCollectiveVoteRecord | undefined, [
3525
3513
  number,
3526
3514
  AccountId32
3527
3515
  ]>;
@@ -3530,11 +3518,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3530
3518
  * @param {number} arg
3531
3519
  * @param {Callback<Bytes | undefined> =} callback
3532
3520
  **/
3533
- votingCleanup: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
3521
+ votingCleanup: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
3534
3522
  /**
3535
3523
  * Generic pallet storage query
3536
3524
  **/
3537
- [storage: string]: GenericStorageQuery<Rv>;
3525
+ [storage: string]: GenericStorageQuery;
3538
3526
  };
3539
3527
  /**
3540
3528
  * Pallet `AssetConversion`'s storage queries
@@ -3547,7 +3535,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3547
3535
  * @param {[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]} arg
3548
3536
  * @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
3549
3537
  **/
3550
- pools: GenericStorageQuery<Rv, (arg: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]) => PalletAssetConversionPoolInfo | undefined, [
3538
+ pools: GenericStorageQuery<(arg: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]) => PalletAssetConversionPoolInfo | undefined, [
3551
3539
  FrameSupportTokensFungibleUnionOfNativeOrWithId,
3552
3540
  FrameSupportTokensFungibleUnionOfNativeOrWithId
3553
3541
  ]>;
@@ -3557,11 +3545,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3557
3545
  *
3558
3546
  * @param {Callback<number | undefined> =} callback
3559
3547
  **/
3560
- nextPoolAssetId: GenericStorageQuery<Rv, () => number | undefined>;
3548
+ nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
3561
3549
  /**
3562
3550
  * Generic pallet storage query
3563
3551
  **/
3564
- [storage: string]: GenericStorageQuery<Rv>;
3552
+ [storage: string]: GenericStorageQuery;
3565
3553
  };
3566
3554
  /**
3567
3555
  * Pallet `FastUnstake`'s storage queries
@@ -3574,7 +3562,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3574
3562
  *
3575
3563
  * @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
3576
3564
  **/
3577
- head: GenericStorageQuery<Rv, () => PalletFastUnstakeUnstakeRequest | undefined>;
3565
+ head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
3578
3566
  /**
3579
3567
  * The map of all accounts wishing to be unstaked.
3580
3568
  *
@@ -3583,13 +3571,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3583
3571
  * @param {AccountId32Like} arg
3584
3572
  * @param {Callback<bigint | undefined> =} callback
3585
3573
  **/
3586
- queue: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint | undefined, AccountId32>;
3574
+ queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
3587
3575
  /**
3588
3576
  * Counter for the related counted storage map
3589
3577
  *
3590
3578
  * @param {Callback<number> =} callback
3591
3579
  **/
3592
- counterForQueue: GenericStorageQuery<Rv, () => number>;
3580
+ counterForQueue: GenericStorageQuery<() => number>;
3593
3581
  /**
3594
3582
  * Number of eras to check per block.
3595
3583
  *
@@ -3602,11 +3590,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3602
3590
  *
3603
3591
  * @param {Callback<number> =} callback
3604
3592
  **/
3605
- erasToCheckPerBlock: GenericStorageQuery<Rv, () => number>;
3593
+ erasToCheckPerBlock: GenericStorageQuery<() => number>;
3606
3594
  /**
3607
3595
  * Generic pallet storage query
3608
3596
  **/
3609
- [storage: string]: GenericStorageQuery<Rv>;
3597
+ [storage: string]: GenericStorageQuery;
3610
3598
  };
3611
3599
  /**
3612
3600
  * Pallet `MessageQueue`'s storage queries
@@ -3618,24 +3606,24 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3618
3606
  * @param {number} arg
3619
3607
  * @param {Callback<PalletMessageQueueBookState> =} callback
3620
3608
  **/
3621
- bookStateFor: GenericStorageQuery<Rv, (arg: number) => PalletMessageQueueBookState, number>;
3609
+ bookStateFor: GenericStorageQuery<(arg: number) => PalletMessageQueueBookState, number>;
3622
3610
  /**
3623
3611
  * The origin at which we should begin servicing.
3624
3612
  *
3625
3613
  * @param {Callback<number | undefined> =} callback
3626
3614
  **/
3627
- serviceHead: GenericStorageQuery<Rv, () => number | undefined>;
3615
+ serviceHead: GenericStorageQuery<() => number | undefined>;
3628
3616
  /**
3629
3617
  * The map of page indices to pages.
3630
3618
  *
3631
3619
  * @param {[number, number]} arg
3632
3620
  * @param {Callback<PalletMessageQueuePage | undefined> =} callback
3633
3621
  **/
3634
- pages: GenericStorageQuery<Rv, (arg: [number, number]) => PalletMessageQueuePage | undefined, [number, number]>;
3622
+ pages: GenericStorageQuery<(arg: [number, number]) => PalletMessageQueuePage | undefined, [number, number]>;
3635
3623
  /**
3636
3624
  * Generic pallet storage query
3637
3625
  **/
3638
- [storage: string]: GenericStorageQuery<Rv>;
3626
+ [storage: string]: GenericStorageQuery;
3639
3627
  };
3640
3628
  /**
3641
3629
  * Pallet `Pov`'s storage queries
@@ -3645,77 +3633,77 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3645
3633
  *
3646
3634
  * @param {Callback<number | undefined> =} callback
3647
3635
  **/
3648
- value: GenericStorageQuery<Rv, () => number | undefined>;
3636
+ value: GenericStorageQuery<() => number | undefined>;
3649
3637
  /**
3650
3638
  *
3651
3639
  * @param {Callback<number | undefined> =} callback
3652
3640
  **/
3653
- value2: GenericStorageQuery<Rv, () => number | undefined>;
3641
+ value2: GenericStorageQuery<() => number | undefined>;
3654
3642
  /**
3655
3643
  * A value without a MEL bound.
3656
3644
  *
3657
3645
  * @param {Callback<Bytes | undefined> =} callback
3658
3646
  **/
3659
- unboundedValue: GenericStorageQuery<Rv, () => Bytes | undefined>;
3647
+ unboundedValue: GenericStorageQuery<() => Bytes | undefined>;
3660
3648
  /**
3661
3649
  * A value with a MEL bound of 32 byte.
3662
3650
  *
3663
3651
  * @param {Callback<Bytes | undefined> =} callback
3664
3652
  **/
3665
- boundedValue: GenericStorageQuery<Rv, () => Bytes | undefined>;
3653
+ boundedValue: GenericStorageQuery<() => Bytes | undefined>;
3666
3654
  /**
3667
3655
  * 4MiB value.
3668
3656
  *
3669
3657
  * @param {Callback<Bytes | undefined> =} callback
3670
3658
  **/
3671
- largeValue: GenericStorageQuery<Rv, () => Bytes | undefined>;
3659
+ largeValue: GenericStorageQuery<() => Bytes | undefined>;
3672
3660
  /**
3673
3661
  *
3674
3662
  * @param {Callback<Bytes | undefined> =} callback
3675
3663
  **/
3676
- largeValue2: GenericStorageQuery<Rv, () => Bytes | undefined>;
3664
+ largeValue2: GenericStorageQuery<() => Bytes | undefined>;
3677
3665
  /**
3678
3666
  * A map with a maximum of 1M entries.
3679
3667
  *
3680
3668
  * @param {number} arg
3681
3669
  * @param {Callback<number | undefined> =} callback
3682
3670
  **/
3683
- map1M: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
3671
+ map1M: GenericStorageQuery<(arg: number) => number | undefined, number>;
3684
3672
  /**
3685
3673
  * A map with a maximum of 16M entries.
3686
3674
  *
3687
3675
  * @param {number} arg
3688
3676
  * @param {Callback<number | undefined> =} callback
3689
3677
  **/
3690
- map16M: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
3678
+ map16M: GenericStorageQuery<(arg: number) => number | undefined, number>;
3691
3679
  /**
3692
3680
  *
3693
3681
  * @param {[number, number]} arg
3694
3682
  * @param {Callback<number | undefined> =} callback
3695
3683
  **/
3696
- doubleMap1M: GenericStorageQuery<Rv, (arg: [number, number]) => number | undefined, [number, number]>;
3684
+ doubleMap1M: GenericStorageQuery<(arg: [number, number]) => number | undefined, [number, number]>;
3697
3685
  /**
3698
3686
  *
3699
3687
  * @param {number} arg
3700
3688
  * @param {Callback<Array<number> | undefined> =} callback
3701
3689
  **/
3702
- unboundedMap: GenericStorageQuery<Rv, (arg: number) => Array<number> | undefined, number>;
3690
+ unboundedMap: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
3703
3691
  /**
3704
3692
  *
3705
3693
  * @param {number} arg
3706
3694
  * @param {Callback<Array<number> | undefined> =} callback
3707
3695
  **/
3708
- unboundedMap2: GenericStorageQuery<Rv, (arg: number) => Array<number> | undefined, number>;
3696
+ unboundedMap2: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
3709
3697
  /**
3710
3698
  *
3711
3699
  * @param {number} arg
3712
3700
  * @param {Callback<Array<number> | undefined> =} callback
3713
3701
  **/
3714
- unboundedMapTwox: GenericStorageQuery<Rv, (arg: number) => Array<number> | undefined, number>;
3702
+ unboundedMapTwox: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
3715
3703
  /**
3716
3704
  * Generic pallet storage query
3717
3705
  **/
3718
- [storage: string]: GenericStorageQuery<Rv>;
3706
+ [storage: string]: GenericStorageQuery;
3719
3707
  };
3720
3708
  /**
3721
3709
  * Pallet `TxPause`'s storage queries
@@ -3727,11 +3715,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3727
3715
  * @param {[BytesLike, BytesLike]} arg
3728
3716
  * @param {Callback<[] | undefined> =} callback
3729
3717
  **/
3730
- pausedCalls: GenericStorageQuery<Rv, (arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
3718
+ pausedCalls: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
3731
3719
  /**
3732
3720
  * Generic pallet storage query
3733
3721
  **/
3734
- [storage: string]: GenericStorageQuery<Rv>;
3722
+ [storage: string]: GenericStorageQuery;
3735
3723
  };
3736
3724
  /**
3737
3725
  * Pallet `SafeMode`'s storage queries
@@ -3746,7 +3734,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3746
3734
  *
3747
3735
  * @param {Callback<number | undefined> =} callback
3748
3736
  **/
3749
- enteredUntil: GenericStorageQuery<Rv, () => number | undefined>;
3737
+ enteredUntil: GenericStorageQuery<() => number | undefined>;
3750
3738
  /**
3751
3739
  * Holds the reserve that was taken from an account at a specific block number.
3752
3740
  *
@@ -3756,11 +3744,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3756
3744
  * @param {[AccountId32Like, number]} arg
3757
3745
  * @param {Callback<bigint | undefined> =} callback
3758
3746
  **/
3759
- deposits: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
3747
+ deposits: GenericStorageQuery<(arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
3760
3748
  /**
3761
3749
  * Generic pallet storage query
3762
3750
  **/
3763
- [storage: string]: GenericStorageQuery<Rv>;
3751
+ [storage: string]: GenericStorageQuery;
3764
3752
  };
3765
3753
  /**
3766
3754
  * Pallet `MultiBlockMigrations`'s storage queries
@@ -3773,7 +3761,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3773
3761
  *
3774
3762
  * @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
3775
3763
  **/
3776
- cursor: GenericStorageQuery<Rv, () => PalletMigrationsMigrationCursor | undefined>;
3764
+ cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
3777
3765
  /**
3778
3766
  * Set of all successfully executed migrations.
3779
3767
  *
@@ -3783,11 +3771,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3783
3771
  * @param {BytesLike} arg
3784
3772
  * @param {Callback<[] | undefined> =} callback
3785
3773
  **/
3786
- historic: GenericStorageQuery<Rv, (arg: BytesLike) => [] | undefined, Bytes>;
3774
+ historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
3787
3775
  /**
3788
3776
  * Generic pallet storage query
3789
3777
  **/
3790
- [storage: string]: GenericStorageQuery<Rv>;
3778
+ [storage: string]: GenericStorageQuery;
3791
3779
  };
3792
3780
  /**
3793
3781
  * Pallet `Broker`'s storage queries
@@ -3798,31 +3786,31 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3798
3786
  *
3799
3787
  * @param {Callback<PalletBrokerConfigRecord | undefined> =} callback
3800
3788
  **/
3801
- configuration: GenericStorageQuery<Rv, () => PalletBrokerConfigRecord | undefined>;
3789
+ configuration: GenericStorageQuery<() => PalletBrokerConfigRecord | undefined>;
3802
3790
  /**
3803
3791
  * The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
3804
3792
  *
3805
3793
  * @param {Callback<Array<Array<PalletBrokerScheduleItem>>> =} callback
3806
3794
  **/
3807
- reservations: GenericStorageQuery<Rv, () => Array<Array<PalletBrokerScheduleItem>>>;
3795
+ reservations: GenericStorageQuery<() => Array<Array<PalletBrokerScheduleItem>>>;
3808
3796
  /**
3809
3797
  * The Polkadot Core legacy leases.
3810
3798
  *
3811
3799
  * @param {Callback<Array<PalletBrokerLeaseRecordItem>> =} callback
3812
3800
  **/
3813
- leases: GenericStorageQuery<Rv, () => Array<PalletBrokerLeaseRecordItem>>;
3801
+ leases: GenericStorageQuery<() => Array<PalletBrokerLeaseRecordItem>>;
3814
3802
  /**
3815
3803
  * The current status of miscellaneous subsystems of this pallet.
3816
3804
  *
3817
3805
  * @param {Callback<PalletBrokerStatusRecord | undefined> =} callback
3818
3806
  **/
3819
- status: GenericStorageQuery<Rv, () => PalletBrokerStatusRecord | undefined>;
3807
+ status: GenericStorageQuery<() => PalletBrokerStatusRecord | undefined>;
3820
3808
  /**
3821
3809
  * The details of the current sale, including its properties and status.
3822
3810
  *
3823
3811
  * @param {Callback<PalletBrokerSaleInfoRecord | undefined> =} callback
3824
3812
  **/
3825
- saleInfo: GenericStorageQuery<Rv, () => PalletBrokerSaleInfoRecord | undefined>;
3813
+ saleInfo: GenericStorageQuery<() => PalletBrokerSaleInfoRecord | undefined>;
3826
3814
  /**
3827
3815
  * Records of potential renewals.
3828
3816
  *
@@ -3831,21 +3819,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3831
3819
  * @param {PalletBrokerPotentialRenewalId} arg
3832
3820
  * @param {Callback<PalletBrokerPotentialRenewalRecord | undefined> =} callback
3833
3821
  **/
3834
- potentialRenewals: GenericStorageQuery<Rv, (arg: PalletBrokerPotentialRenewalId) => PalletBrokerPotentialRenewalRecord | undefined, PalletBrokerPotentialRenewalId>;
3822
+ potentialRenewals: GenericStorageQuery<(arg: PalletBrokerPotentialRenewalId) => PalletBrokerPotentialRenewalRecord | undefined, PalletBrokerPotentialRenewalId>;
3835
3823
  /**
3836
3824
  * The current (unassigned or provisionally assigend) Regions.
3837
3825
  *
3838
3826
  * @param {PalletBrokerRegionId} arg
3839
3827
  * @param {Callback<PalletBrokerRegionRecord | undefined> =} callback
3840
3828
  **/
3841
- regions: GenericStorageQuery<Rv, (arg: PalletBrokerRegionId) => PalletBrokerRegionRecord | undefined, PalletBrokerRegionId>;
3829
+ regions: GenericStorageQuery<(arg: PalletBrokerRegionId) => PalletBrokerRegionRecord | undefined, PalletBrokerRegionId>;
3842
3830
  /**
3843
3831
  * The work we plan on having each core do at a particular time in the future.
3844
3832
  *
3845
3833
  * @param {[number, number]} arg
3846
3834
  * @param {Callback<Array<PalletBrokerScheduleItem> | undefined> =} callback
3847
3835
  **/
3848
- workplan: GenericStorageQuery<Rv, (arg: [number, number]) => Array<PalletBrokerScheduleItem> | undefined, [
3836
+ workplan: GenericStorageQuery<(arg: [number, number]) => Array<PalletBrokerScheduleItem> | undefined, [
3849
3837
  number,
3850
3838
  number
3851
3839
  ]>;
@@ -3855,34 +3843,34 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3855
3843
  * @param {number} arg
3856
3844
  * @param {Callback<Array<PalletBrokerScheduleItem>> =} callback
3857
3845
  **/
3858
- workload: GenericStorageQuery<Rv, (arg: number) => Array<PalletBrokerScheduleItem>, number>;
3846
+ workload: GenericStorageQuery<(arg: number) => Array<PalletBrokerScheduleItem>, number>;
3859
3847
  /**
3860
3848
  * Record of a single contribution to the Instantaneous Coretime Pool.
3861
3849
  *
3862
3850
  * @param {PalletBrokerRegionId} arg
3863
3851
  * @param {Callback<PalletBrokerContributionRecord | undefined> =} callback
3864
3852
  **/
3865
- instaPoolContribution: GenericStorageQuery<Rv, (arg: PalletBrokerRegionId) => PalletBrokerContributionRecord | undefined, PalletBrokerRegionId>;
3853
+ instaPoolContribution: GenericStorageQuery<(arg: PalletBrokerRegionId) => PalletBrokerContributionRecord | undefined, PalletBrokerRegionId>;
3866
3854
  /**
3867
3855
  * Record of Coretime entering or leaving the Instantaneous Coretime Pool.
3868
3856
  *
3869
3857
  * @param {number} arg
3870
3858
  * @param {Callback<PalletBrokerPoolIoRecord> =} callback
3871
3859
  **/
3872
- instaPoolIo: GenericStorageQuery<Rv, (arg: number) => PalletBrokerPoolIoRecord, number>;
3860
+ instaPoolIo: GenericStorageQuery<(arg: number) => PalletBrokerPoolIoRecord, number>;
3873
3861
  /**
3874
3862
  * Total InstaPool rewards for each Timeslice and the number of core parts which contributed.
3875
3863
  *
3876
3864
  * @param {number} arg
3877
3865
  * @param {Callback<PalletBrokerInstaPoolHistoryRecord | undefined> =} callback
3878
3866
  **/
3879
- instaPoolHistory: GenericStorageQuery<Rv, (arg: number) => PalletBrokerInstaPoolHistoryRecord | undefined, number>;
3867
+ instaPoolHistory: GenericStorageQuery<(arg: number) => PalletBrokerInstaPoolHistoryRecord | undefined, number>;
3880
3868
  /**
3881
3869
  * Received core count change from the relay chain.
3882
3870
  *
3883
3871
  * @param {Callback<number | undefined> =} callback
3884
3872
  **/
3885
- coreCountInbox: GenericStorageQuery<Rv, () => number | undefined>;
3873
+ coreCountInbox: GenericStorageQuery<() => number | undefined>;
3886
3874
  /**
3887
3875
  * Keeping track of cores which have auto-renewal enabled.
3888
3876
  *
@@ -3890,17 +3878,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3890
3878
  *
3891
3879
  * @param {Callback<Array<PalletBrokerAutoRenewalRecord>> =} callback
3892
3880
  **/
3893
- autoRenewals: GenericStorageQuery<Rv, () => Array<PalletBrokerAutoRenewalRecord>>;
3881
+ autoRenewals: GenericStorageQuery<() => Array<PalletBrokerAutoRenewalRecord>>;
3894
3882
  /**
3895
3883
  * Received revenue info from the relay chain.
3896
3884
  *
3897
3885
  * @param {Callback<PalletBrokerOnDemandRevenueRecord | undefined> =} callback
3898
3886
  **/
3899
- revenueInbox: GenericStorageQuery<Rv, () => PalletBrokerOnDemandRevenueRecord | undefined>;
3887
+ revenueInbox: GenericStorageQuery<() => PalletBrokerOnDemandRevenueRecord | undefined>;
3900
3888
  /**
3901
3889
  * Generic pallet storage query
3902
3890
  **/
3903
- [storage: string]: GenericStorageQuery<Rv>;
3891
+ [storage: string]: GenericStorageQuery;
3904
3892
  };
3905
3893
  /**
3906
3894
  * Pallet `TasksExample`'s storage queries
@@ -3911,18 +3899,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3911
3899
  *
3912
3900
  * @param {Callback<[number, number]> =} callback
3913
3901
  **/
3914
- total: GenericStorageQuery<Rv, () => [number, number]>;
3902
+ total: GenericStorageQuery<() => [number, number]>;
3915
3903
  /**
3916
3904
  * Numbers to be added into the total.
3917
3905
  *
3918
3906
  * @param {number} arg
3919
3907
  * @param {Callback<number | undefined> =} callback
3920
3908
  **/
3921
- numbers: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
3909
+ numbers: GenericStorageQuery<(arg: number) => number | undefined, number>;
3922
3910
  /**
3923
3911
  * Generic pallet storage query
3924
3912
  **/
3925
- [storage: string]: GenericStorageQuery<Rv>;
3913
+ [storage: string]: GenericStorageQuery;
3926
3914
  };
3927
3915
  /**
3928
3916
  * Pallet `Mixnet`'s storage queries
@@ -3934,20 +3922,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3934
3922
  *
3935
3923
  * @param {Callback<number> =} callback
3936
3924
  **/
3937
- currentSessionIndex: GenericStorageQuery<Rv, () => number>;
3925
+ currentSessionIndex: GenericStorageQuery<() => number>;
3938
3926
  /**
3939
3927
  * Block in which the current session started.
3940
3928
  *
3941
3929
  * @param {Callback<number> =} callback
3942
3930
  **/
3943
- currentSessionStartBlock: GenericStorageQuery<Rv, () => number>;
3931
+ currentSessionStartBlock: GenericStorageQuery<() => number>;
3944
3932
  /**
3945
3933
  * Authority list for the next session.
3946
3934
  *
3947
3935
  * @param {number} arg
3948
3936
  * @param {Callback<SpMixnetAppPublic | undefined> =} callback
3949
3937
  **/
3950
- nextAuthorityIds: GenericStorageQuery<Rv, (arg: number) => SpMixnetAppPublic | undefined, number>;
3938
+ nextAuthorityIds: GenericStorageQuery<(arg: number) => SpMixnetAppPublic | undefined, number>;
3951
3939
  /**
3952
3940
  * Mixnode sets by session index. Only the mixnode sets for the previous, current, and next
3953
3941
  * sessions are kept; older sets are discarded.
@@ -3959,14 +3947,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3959
3947
  * @param {[number, number]} arg
3960
3948
  * @param {Callback<PalletMixnetBoundedMixnode | undefined> =} callback
3961
3949
  **/
3962
- mixnodes: GenericStorageQuery<Rv, (arg: [number, number]) => PalletMixnetBoundedMixnode | undefined, [
3963
- number,
3964
- number
3965
- ]>;
3950
+ mixnodes: GenericStorageQuery<(arg: [number, number]) => PalletMixnetBoundedMixnode | undefined, [number, number]>;
3966
3951
  /**
3967
3952
  * Generic pallet storage query
3968
3953
  **/
3969
- [storage: string]: GenericStorageQuery<Rv>;
3954
+ [storage: string]: GenericStorageQuery;
3970
3955
  };
3971
3956
  /**
3972
3957
  * Pallet `Parameters`'s storage queries
@@ -3978,11 +3963,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3978
3963
  * @param {KitchensinkRuntimeRuntimeParametersKey} arg
3979
3964
  * @param {Callback<KitchensinkRuntimeRuntimeParametersValue | undefined> =} callback
3980
3965
  **/
3981
- parameters: GenericStorageQuery<Rv, (arg: KitchensinkRuntimeRuntimeParametersKey) => KitchensinkRuntimeRuntimeParametersValue | undefined, KitchensinkRuntimeRuntimeParametersKey>;
3966
+ parameters: GenericStorageQuery<(arg: KitchensinkRuntimeRuntimeParametersKey) => KitchensinkRuntimeRuntimeParametersValue | undefined, KitchensinkRuntimeRuntimeParametersKey>;
3982
3967
  /**
3983
3968
  * Generic pallet storage query
3984
3969
  **/
3985
- [storage: string]: GenericStorageQuery<Rv>;
3970
+ [storage: string]: GenericStorageQuery;
3986
3971
  };
3987
3972
  /**
3988
3973
  * Pallet `PalletExampleMbms`'s storage queries
@@ -3994,11 +3979,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3994
3979
  * @param {number} arg
3995
3980
  * @param {Callback<bigint | undefined> =} callback
3996
3981
  **/
3997
- myMap: GenericStorageQuery<Rv, (arg: number) => bigint | undefined, number>;
3982
+ myMap: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
3998
3983
  /**
3999
3984
  * Generic pallet storage query
4000
3985
  **/
4001
- [storage: string]: GenericStorageQuery<Rv>;
3986
+ [storage: string]: GenericStorageQuery;
4002
3987
  };
4003
3988
  /**
4004
3989
  * Pallet `Revive`'s storage queries
@@ -4010,28 +3995,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4010
3995
  * @param {H256} arg
4011
3996
  * @param {Callback<Bytes | undefined> =} callback
4012
3997
  **/
4013
- pristineCode: GenericStorageQuery<Rv, (arg: H256) => Bytes | undefined, H256>;
3998
+ pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
4014
3999
  /**
4015
4000
  * A mapping from a contract's code hash to its code info.
4016
4001
  *
4017
4002
  * @param {H256} arg
4018
4003
  * @param {Callback<PalletReviveWasmCodeInfo | undefined> =} callback
4019
4004
  **/
4020
- codeInfoOf: GenericStorageQuery<Rv, (arg: H256) => PalletReviveWasmCodeInfo | undefined, H256>;
4005
+ codeInfoOf: GenericStorageQuery<(arg: H256) => PalletReviveWasmCodeInfo | undefined, H256>;
4021
4006
  /**
4022
4007
  * The code associated with a given account.
4023
4008
  *
4024
4009
  * @param {H160} arg
4025
4010
  * @param {Callback<PalletReviveStorageContractInfo | undefined> =} callback
4026
4011
  **/
4027
- contractInfoOf: GenericStorageQuery<Rv, (arg: H160) => PalletReviveStorageContractInfo | undefined, H160>;
4012
+ contractInfoOf: GenericStorageQuery<(arg: H160) => PalletReviveStorageContractInfo | undefined, H160>;
4028
4013
  /**
4029
4014
  * The immutable data associated with a given account.
4030
4015
  *
4031
4016
  * @param {H160} arg
4032
4017
  * @param {Callback<Bytes | undefined> =} callback
4033
4018
  **/
4034
- immutableDataOf: GenericStorageQuery<Rv, (arg: H160) => Bytes | undefined, H160>;
4019
+ immutableDataOf: GenericStorageQuery<(arg: H160) => Bytes | undefined, H160>;
4035
4020
  /**
4036
4021
  * Evicted contracts that await child trie deletion.
4037
4022
  *
@@ -4041,14 +4026,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4041
4026
  * @param {number} arg
4042
4027
  * @param {Callback<Bytes | undefined> =} callback
4043
4028
  **/
4044
- deletionQueue: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
4029
+ deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
4045
4030
  /**
4046
4031
  * A pair of monotonic counters used to track the latest contract marked for deletion
4047
4032
  * and the latest deleted contract in queue.
4048
4033
  *
4049
4034
  * @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
4050
4035
  **/
4051
- deletionQueueCounter: GenericStorageQuery<Rv, () => PalletReviveStorageDeletionQueueManager>;
4036
+ deletionQueueCounter: GenericStorageQuery<() => PalletReviveStorageDeletionQueueManager>;
4052
4037
  /**
4053
4038
  * Map a Ethereum address to its original `AccountId32`.
4054
4039
  *
@@ -4060,11 +4045,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4060
4045
  * @param {H160} arg
4061
4046
  * @param {Callback<AccountId32 | undefined> =} callback
4062
4047
  **/
4063
- originalAccount: GenericStorageQuery<Rv, (arg: H160) => AccountId32 | undefined, H160>;
4048
+ originalAccount: GenericStorageQuery<(arg: H160) => AccountId32 | undefined, H160>;
4064
4049
  /**
4065
4050
  * Generic pallet storage query
4066
4051
  **/
4067
- [storage: string]: GenericStorageQuery<Rv>;
4052
+ [storage: string]: GenericStorageQuery;
4068
4053
  };
4069
4054
  /**
4070
4055
  * Pallet `DelegatedStaking`'s storage queries
@@ -4079,30 +4064,30 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4079
4064
  * @param {AccountId32Like} arg
4080
4065
  * @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
4081
4066
  **/
4082
- delegators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined, AccountId32>;
4067
+ delegators: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined, AccountId32>;
4083
4068
  /**
4084
4069
  * Counter for the related counted storage map
4085
4070
  *
4086
4071
  * @param {Callback<number> =} callback
4087
4072
  **/
4088
- counterForDelegators: GenericStorageQuery<Rv, () => number>;
4073
+ counterForDelegators: GenericStorageQuery<() => number>;
4089
4074
  /**
4090
4075
  * Map of `Agent` to their `Ledger`.
4091
4076
  *
4092
4077
  * @param {AccountId32Like} arg
4093
4078
  * @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
4094
4079
  **/
4095
- agents: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
4080
+ agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
4096
4081
  /**
4097
4082
  * Counter for the related counted storage map
4098
4083
  *
4099
4084
  * @param {Callback<number> =} callback
4100
4085
  **/
4101
- counterForAgents: GenericStorageQuery<Rv, () => number>;
4086
+ counterForAgents: GenericStorageQuery<() => number>;
4102
4087
  /**
4103
4088
  * Generic pallet storage query
4104
4089
  **/
4105
- [storage: string]: GenericStorageQuery<Rv>;
4090
+ [storage: string]: GenericStorageQuery;
4106
4091
  };
4107
4092
  /**
4108
4093
  * Pallet `AssetRewards`'s storage queries
@@ -4114,7 +4099,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4114
4099
  * @param {[number, AccountId32Like]} arg
4115
4100
  * @param {Callback<PalletAssetRewardsPoolStakerInfo | undefined> =} callback
4116
4101
  **/
4117
- poolStakers: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => PalletAssetRewardsPoolStakerInfo | undefined, [
4102
+ poolStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletAssetRewardsPoolStakerInfo | undefined, [
4118
4103
  number,
4119
4104
  AccountId32
4120
4105
  ]>;
@@ -4124,7 +4109,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4124
4109
  * @param {number} arg
4125
4110
  * @param {Callback<PalletAssetRewardsPoolInfo | undefined> =} callback
4126
4111
  **/
4127
- pools: GenericStorageQuery<Rv, (arg: number) => PalletAssetRewardsPoolInfo | undefined, number>;
4112
+ pools: GenericStorageQuery<(arg: number) => PalletAssetRewardsPoolInfo | undefined, number>;
4128
4113
  /**
4129
4114
  * The cost associated with storing pool information on-chain which was incurred by the pool
4130
4115
  * creator.
@@ -4134,7 +4119,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4134
4119
  * @param {number} arg
4135
4120
  * @param {Callback<[AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined> =} callback
4136
4121
  **/
4137
- poolCost: GenericStorageQuery<Rv, (arg: number) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined, number>;
4122
+ poolCost: GenericStorageQuery<(arg: number) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined, number>;
4138
4123
  /**
4139
4124
  * Stores the [`PoolId`] to use for the next pool.
4140
4125
  *
@@ -4142,11 +4127,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4142
4127
  *
4143
4128
  * @param {Callback<number> =} callback
4144
4129
  **/
4145
- nextPoolId: GenericStorageQuery<Rv, () => number>;
4130
+ nextPoolId: GenericStorageQuery<() => number>;
4146
4131
  /**
4147
4132
  * Generic pallet storage query
4148
4133
  **/
4149
- [storage: string]: GenericStorageQuery<Rv>;
4134
+ [storage: string]: GenericStorageQuery;
4150
4135
  };
4151
4136
  /**
4152
4137
  * Pallet `AssetsFreezer`'s storage queries
@@ -4158,7 +4143,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4158
4143
  * @param {[number, AccountId32Like]} arg
4159
4144
  * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
4160
4145
  **/
4161
- freezes: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>, [
4146
+ freezes: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>, [
4162
4147
  number,
4163
4148
  AccountId32
4164
4149
  ]>;
@@ -4168,13 +4153,10 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4168
4153
  * @param {[number, AccountId32Like]} arg
4169
4154
  * @param {Callback<bigint | undefined> =} callback
4170
4155
  **/
4171
- frozenBalances: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => bigint | undefined, [
4172
- number,
4173
- AccountId32
4174
- ]>;
4156
+ frozenBalances: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined, [number, AccountId32]>;
4175
4157
  /**
4176
4158
  * Generic pallet storage query
4177
4159
  **/
4178
- [storage: string]: GenericStorageQuery<Rv>;
4160
+ [storage: string]: GenericStorageQuery;
4179
4161
  };
4180
4162
  }