@dedot/chaintypes 0.193.0 → 0.195.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 (187) hide show
  1. package/aleph/consts.d.ts +2 -2
  2. package/aleph/errors.d.ts +228 -228
  3. package/aleph/events.d.ts +122 -226
  4. package/aleph/index.d.ts +13 -17
  5. package/aleph/json-rpc.d.ts +3 -3
  6. package/aleph/query.d.ts +171 -207
  7. package/aleph/runtime.d.ts +47 -63
  8. package/aleph/tx.d.ts +377 -550
  9. package/aleph/view-functions.d.ts +2 -2
  10. package/astar/consts.d.ts +2 -2
  11. package/astar/errors.d.ts +431 -431
  12. package/astar/events.d.ts +232 -401
  13. package/astar/index.d.ts +13 -17
  14. package/astar/json-rpc.d.ts +3 -3
  15. package/astar/query.d.ts +243 -289
  16. package/astar/runtime.d.ts +59 -87
  17. package/astar/tx.d.ts +671 -980
  18. package/astar/view-functions.d.ts +2 -2
  19. package/basilisk/consts.d.ts +2 -2
  20. package/basilisk/errors.d.ts +489 -489
  21. package/basilisk/events.d.ts +187 -408
  22. package/basilisk/index.d.ts +13 -17
  23. package/basilisk/json-rpc.d.ts +3 -3
  24. package/basilisk/query.d.ts +213 -272
  25. package/basilisk/runtime.d.ts +27 -28
  26. package/basilisk/tx.d.ts +579 -842
  27. package/basilisk/view-functions.d.ts +2 -2
  28. package/hydration/consts.d.ts +47 -14
  29. package/hydration/errors.d.ts +827 -737
  30. package/hydration/events.d.ts +639 -527
  31. package/hydration/index.d.ts +14 -18
  32. package/hydration/json-rpc.d.ts +3 -3
  33. package/hydration/query.d.ts +530 -396
  34. package/hydration/runtime.d.ts +181 -89
  35. package/hydration/tx.d.ts +1130 -1167
  36. package/hydration/types.d.ts +889 -42
  37. package/hydration/view-functions.d.ts +2 -2
  38. package/kusama/consts.d.ts +2 -2
  39. package/kusama/errors.d.ts +571 -571
  40. package/kusama/events.d.ts +216 -477
  41. package/kusama/index.d.ts +13 -17
  42. package/kusama/json-rpc.d.ts +3 -3
  43. package/kusama/query.d.ts +360 -502
  44. package/kusama/runtime.d.ts +82 -131
  45. package/kusama/tx.d.ts +851 -1246
  46. package/kusama/view-functions.d.ts +7 -12
  47. package/kusama-asset-hub/consts.d.ts +2 -2
  48. package/kusama-asset-hub/errors.d.ts +653 -653
  49. package/kusama-asset-hub/events.d.ts +286 -629
  50. package/kusama-asset-hub/index.d.ts +14 -17
  51. package/kusama-asset-hub/json-rpc.d.ts +3 -3
  52. package/kusama-asset-hub/query.d.ts +316 -448
  53. package/kusama-asset-hub/runtime.d.ts +74 -111
  54. package/kusama-asset-hub/tx.d.ts +1059 -1558
  55. package/kusama-asset-hub/view-functions.d.ts +7 -9
  56. package/kusama-people/consts.d.ts +2 -2
  57. package/kusama-people/errors.d.ts +160 -160
  58. package/kusama-people/events.d.ts +89 -176
  59. package/kusama-people/index.d.ts +13 -17
  60. package/kusama-people/json-rpc.d.ts +3 -3
  61. package/kusama-people/query.d.ts +114 -145
  62. package/kusama-people/runtime.d.ts +45 -65
  63. package/kusama-people/tx.d.ts +246 -356
  64. package/kusama-people/view-functions.d.ts +3 -5
  65. package/moonbeam/consts.d.ts +2 -2
  66. package/moonbeam/errors.d.ts +478 -478
  67. package/moonbeam/events.d.ts +182 -426
  68. package/moonbeam/index.d.ts +13 -17
  69. package/moonbeam/json-rpc.d.ts +11 -3
  70. package/moonbeam/query.d.ts +234 -294
  71. package/moonbeam/runtime.d.ts +61 -89
  72. package/moonbeam/tx.d.ts +618 -901
  73. package/moonbeam/view-functions.d.ts +2 -2
  74. package/package.json +6 -3
  75. package/paseo/consts.d.ts +2 -2
  76. package/paseo/errors.d.ts +513 -513
  77. package/paseo/events.d.ts +197 -430
  78. package/paseo/index.d.ts +14 -18
  79. package/paseo/json-rpc.d.ts +3 -3
  80. package/paseo/query.d.ts +329 -450
  81. package/paseo/runtime.d.ts +107 -131
  82. package/paseo/tx.d.ts +787 -1151
  83. package/paseo/types.d.ts +7 -0
  84. package/paseo/view-functions.d.ts +7 -12
  85. package/paseo-asset-hub/consts.d.ts +2 -2
  86. package/paseo-asset-hub/errors.d.ts +605 -605
  87. package/paseo-asset-hub/events.d.ts +268 -600
  88. package/paseo-asset-hub/index.d.ts +15 -18
  89. package/paseo-asset-hub/json-rpc.d.ts +3 -3
  90. package/paseo-asset-hub/query.d.ts +293 -413
  91. package/paseo-asset-hub/runtime.d.ts +96 -104
  92. package/paseo-asset-hub/tx.d.ts +997 -1466
  93. package/paseo-asset-hub/types.d.ts +7 -0
  94. package/paseo-asset-hub/view-functions.d.ts +7 -9
  95. package/paseo-hydration/consts.d.ts +13 -3
  96. package/paseo-hydration/errors.d.ts +756 -745
  97. package/paseo-hydration/events.d.ts +277 -554
  98. package/paseo-hydration/index.d.ts +14 -18
  99. package/paseo-hydration/json-rpc.d.ts +3 -3
  100. package/paseo-hydration/query.d.ts +321 -411
  101. package/paseo-hydration/runtime.d.ts +95 -106
  102. package/paseo-hydration/tx.d.ts +923 -1226
  103. package/paseo-hydration/types.d.ts +91 -50
  104. package/paseo-hydration/view-functions.d.ts +2 -2
  105. package/paseo-people/consts.d.ts +2 -2
  106. package/paseo-people/errors.d.ts +162 -162
  107. package/paseo-people/events.d.ts +91 -181
  108. package/paseo-people/index.d.ts +14 -18
  109. package/paseo-people/json-rpc.d.ts +3 -3
  110. package/paseo-people/query.d.ts +116 -143
  111. package/paseo-people/runtime.d.ts +70 -65
  112. package/paseo-people/tx.d.ts +257 -372
  113. package/paseo-people/types.d.ts +7 -0
  114. package/paseo-people/view-functions.d.ts +3 -5
  115. package/polkadot/consts.d.ts +2 -2
  116. package/polkadot/errors.d.ts +501 -501
  117. package/polkadot/events.d.ts +195 -426
  118. package/polkadot/index.d.ts +13 -17
  119. package/polkadot/json-rpc.d.ts +3 -3
  120. package/polkadot/query.d.ts +329 -450
  121. package/polkadot/runtime.d.ts +83 -133
  122. package/polkadot/tx.d.ts +765 -1119
  123. package/polkadot/view-functions.d.ts +7 -12
  124. package/polkadot-asset-hub/consts.d.ts +2 -2
  125. package/polkadot-asset-hub/errors.d.ts +554 -554
  126. package/polkadot-asset-hub/events.d.ts +261 -585
  127. package/polkadot-asset-hub/index.d.ts +14 -17
  128. package/polkadot-asset-hub/json-rpc.d.ts +3 -3
  129. package/polkadot-asset-hub/query.d.ts +279 -396
  130. package/polkadot-asset-hub/runtime.d.ts +65 -93
  131. package/polkadot-asset-hub/tx.d.ts +952 -1400
  132. package/polkadot-asset-hub/view-functions.d.ts +7 -9
  133. package/polkadot-people/consts.d.ts +2 -2
  134. package/polkadot-people/errors.d.ts +160 -160
  135. package/polkadot-people/events.d.ts +89 -176
  136. package/polkadot-people/index.d.ts +13 -17
  137. package/polkadot-people/json-rpc.d.ts +3 -3
  138. package/polkadot-people/query.d.ts +114 -145
  139. package/polkadot-people/runtime.d.ts +46 -67
  140. package/polkadot-people/tx.d.ts +246 -356
  141. package/polkadot-people/view-functions.d.ts +3 -5
  142. package/substrate/consts.d.ts +2 -2
  143. package/substrate/errors.d.ts +909 -909
  144. package/substrate/events.d.ts +389 -794
  145. package/substrate/index.d.ts +14 -17
  146. package/substrate/json-rpc.d.ts +3 -3
  147. package/substrate/query.d.ts +458 -572
  148. package/substrate/runtime.d.ts +82 -126
  149. package/substrate/tx.d.ts +1317 -1936
  150. package/substrate/view-functions.d.ts +2 -2
  151. package/vara/consts.d.ts +9 -37
  152. package/vara/errors.d.ts +402 -382
  153. package/vara/events.d.ts +172 -310
  154. package/vara/index.d.ts +14 -18
  155. package/vara/json-rpc.d.ts +7 -3
  156. package/vara/query.d.ts +299 -331
  157. package/vara/runtime.d.ts +61 -79
  158. package/vara/tx.d.ts +573 -754
  159. package/vara/types.d.ts +71 -26
  160. package/vara/view-functions.d.ts +2 -2
  161. package/westend/consts.d.ts +2 -2
  162. package/westend/errors.d.ts +532 -532
  163. package/westend/events.d.ts +205 -462
  164. package/westend/index.d.ts +13 -17
  165. package/westend/json-rpc.d.ts +3 -4
  166. package/westend/query.d.ts +312 -434
  167. package/westend/runtime.d.ts +83 -135
  168. package/westend/tx.d.ts +807 -1179
  169. package/westend/view-functions.d.ts +7 -12
  170. package/westend-asset-hub/consts.d.ts +2 -2
  171. package/westend-asset-hub/errors.d.ts +605 -605
  172. package/westend-asset-hub/events.d.ts +265 -614
  173. package/westend-asset-hub/index.d.ts +14 -17
  174. package/westend-asset-hub/json-rpc.d.ts +3 -3
  175. package/westend-asset-hub/query.d.ts +293 -418
  176. package/westend-asset-hub/runtime.d.ts +83 -123
  177. package/westend-asset-hub/tx.d.ts +918 -1348
  178. package/westend-asset-hub/view-functions.d.ts +8 -13
  179. package/westend-people/consts.d.ts +2 -2
  180. package/westend-people/errors.d.ts +160 -160
  181. package/westend-people/events.d.ts +93 -186
  182. package/westend-people/index.d.ts +13 -17
  183. package/westend-people/json-rpc.d.ts +3 -3
  184. package/westend-people/query.d.ts +114 -145
  185. package/westend-people/runtime.d.ts +46 -67
  186. package/westend-people/tx.d.ts +251 -363
  187. package/westend-people/view-functions.d.ts +3 -5
@@ -1,6 +1,6 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericChainStorage, GenericStorageQuery, Callback, RpcVersion } from 'dedot/types';
3
+ import type { GenericChainStorage, GenericStorageQuery, Callback } from 'dedot/types';
4
4
  import type {
5
5
  AccountId32,
6
6
  AccountId32Like,
@@ -155,7 +155,7 @@ import type {
155
155
  PolkadotRuntimeRuntimeCallLike,
156
156
  } from './types.js';
157
157
 
158
- export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
158
+ export interface ChainStorage extends GenericChainStorage {
159
159
  /**
160
160
  * Pallet `System`'s storage queries
161
161
  **/
@@ -166,35 +166,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
166
166
  * @param {AccountId32Like} arg
167
167
  * @param {Callback<FrameSystemAccountInfo> =} callback
168
168
  **/
169
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
169
+ account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
170
170
 
171
171
  /**
172
172
  * Total extrinsics count for the current block.
173
173
  *
174
174
  * @param {Callback<number | undefined> =} callback
175
175
  **/
176
- extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
176
+ extrinsicCount: GenericStorageQuery<() => number | undefined>;
177
177
 
178
178
  /**
179
179
  * Whether all inherents have been applied.
180
180
  *
181
181
  * @param {Callback<boolean> =} callback
182
182
  **/
183
- inherentsApplied: GenericStorageQuery<Rv, () => boolean>;
183
+ inherentsApplied: GenericStorageQuery<() => boolean>;
184
184
 
185
185
  /**
186
186
  * The current weight for the block.
187
187
  *
188
188
  * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
189
189
  **/
190
- blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
190
+ blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
191
191
 
192
192
  /**
193
193
  * Total length (in bytes) for all extrinsics put together, for the current block.
194
194
  *
195
195
  * @param {Callback<number | undefined> =} callback
196
196
  **/
197
- allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
197
+ allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
198
198
 
199
199
  /**
200
200
  * Map of block numbers to block hashes.
@@ -202,7 +202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
202
202
  * @param {number} arg
203
203
  * @param {Callback<H256> =} callback
204
204
  **/
205
- blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
205
+ blockHash: GenericStorageQuery<(arg: number) => H256, number>;
206
206
 
207
207
  /**
208
208
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
@@ -210,28 +210,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
210
210
  * @param {number} arg
211
211
  * @param {Callback<Bytes> =} callback
212
212
  **/
213
- extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
213
+ extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
214
214
 
215
215
  /**
216
216
  * The current block number being processed. Set by `execute_block`.
217
217
  *
218
218
  * @param {Callback<number> =} callback
219
219
  **/
220
- number: GenericStorageQuery<Rv, () => number>;
220
+ number: GenericStorageQuery<() => number>;
221
221
 
222
222
  /**
223
223
  * Hash of the previous block.
224
224
  *
225
225
  * @param {Callback<H256> =} callback
226
226
  **/
227
- parentHash: GenericStorageQuery<Rv, () => H256>;
227
+ parentHash: GenericStorageQuery<() => H256>;
228
228
 
229
229
  /**
230
230
  * Digest of the current block, also part of the block header.
231
231
  *
232
232
  * @param {Callback<Digest> =} callback
233
233
  **/
234
- digest: GenericStorageQuery<Rv, () => Digest>;
234
+ digest: GenericStorageQuery<() => Digest>;
235
235
 
236
236
  /**
237
237
  * Events deposited for the current block.
@@ -244,14 +244,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
244
244
  *
245
245
  * @param {Callback<Array<FrameSystemEventRecord>> =} callback
246
246
  **/
247
- events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
247
+ events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
248
248
 
249
249
  /**
250
250
  * The number of events in the `Events<T>` list.
251
251
  *
252
252
  * @param {Callback<number> =} callback
253
253
  **/
254
- eventCount: GenericStorageQuery<Rv, () => number>;
254
+ eventCount: GenericStorageQuery<() => number>;
255
255
 
256
256
  /**
257
257
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
@@ -268,21 +268,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
268
268
  * @param {H256} arg
269
269
  * @param {Callback<Array<[number, number]>> =} callback
270
270
  **/
271
- eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
271
+ eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
272
272
 
273
273
  /**
274
274
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
275
275
  *
276
276
  * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
277
277
  **/
278
- lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
278
+ lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
279
279
 
280
280
  /**
281
281
  * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
282
282
  *
283
283
  * @param {Callback<boolean> =} callback
284
284
  **/
285
- upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
285
+ upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
286
286
 
287
287
  /**
288
288
  * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
@@ -290,21 +290,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
290
290
  *
291
291
  * @param {Callback<boolean> =} callback
292
292
  **/
293
- upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
293
+ upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
294
294
 
295
295
  /**
296
296
  * The execution phase of the block.
297
297
  *
298
298
  * @param {Callback<Phase | undefined> =} callback
299
299
  **/
300
- executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
300
+ executionPhase: GenericStorageQuery<() => Phase | undefined>;
301
301
 
302
302
  /**
303
303
  * `Some` if a code upgrade has been authorized.
304
304
  *
305
305
  * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
306
306
  **/
307
- authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
307
+ authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
308
308
 
309
309
  /**
310
310
  * The weight reclaimed for the extrinsic.
@@ -317,12 +317,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
317
317
  *
318
318
  * @param {Callback<SpWeightsWeightV2Weight> =} callback
319
319
  **/
320
- extrinsicWeightReclaimed: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight>;
320
+ extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
321
321
 
322
322
  /**
323
323
  * Generic pallet storage query
324
324
  **/
325
- [storage: string]: GenericStorageQuery<Rv>;
325
+ [storage: string]: GenericStorageQuery;
326
326
  };
327
327
  /**
328
328
  * Pallet `Scheduler`'s storage queries
@@ -333,7 +333,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
333
333
  *
334
334
  * @param {Callback<number | undefined> =} callback
335
335
  **/
336
- incompleteSince: GenericStorageQuery<Rv, () => number | undefined>;
336
+ incompleteSince: GenericStorageQuery<() => number | undefined>;
337
337
 
338
338
  /**
339
339
  * Items to be executed, indexed by the block number that they should be executed on.
@@ -341,7 +341,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
341
341
  * @param {number} arg
342
342
  * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
343
343
  **/
344
- agenda: GenericStorageQuery<Rv, (arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
344
+ agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
345
345
 
346
346
  /**
347
347
  * Retry configurations for items to be executed, indexed by task address.
@@ -349,11 +349,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
349
349
  * @param {[number, number]} arg
350
350
  * @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
351
351
  **/
352
- retries: GenericStorageQuery<
353
- Rv,
354
- (arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
355
- [number, number]
356
- >;
352
+ retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
357
353
 
358
354
  /**
359
355
  * Lookup from a name to the block number and index of the task.
@@ -364,12 +360,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
364
360
  * @param {FixedBytes<32>} arg
365
361
  * @param {Callback<[number, number] | undefined> =} callback
366
362
  **/
367
- lookup: GenericStorageQuery<Rv, (arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
363
+ lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
368
364
 
369
365
  /**
370
366
  * Generic pallet storage query
371
367
  **/
372
- [storage: string]: GenericStorageQuery<Rv>;
368
+ [storage: string]: GenericStorageQuery;
373
369
  };
374
370
  /**
375
371
  * Pallet `Preimage`'s storage queries
@@ -383,7 +379,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
383
379
  *
384
380
  * @deprecated RequestStatusFor
385
381
  **/
386
- statusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
382
+ statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
387
383
 
388
384
  /**
389
385
  * The request status of a given hash.
@@ -391,19 +387,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
391
387
  * @param {H256} arg
392
388
  * @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
393
389
  **/
394
- requestStatusFor: GenericStorageQuery<Rv, (arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
390
+ requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
395
391
 
396
392
  /**
397
393
  *
398
394
  * @param {[H256, number]} arg
399
395
  * @param {Callback<Bytes | undefined> =} callback
400
396
  **/
401
- preimageFor: GenericStorageQuery<Rv, (arg: [H256, number]) => Bytes | undefined, [H256, number]>;
397
+ preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
402
398
 
403
399
  /**
404
400
  * Generic pallet storage query
405
401
  **/
406
- [storage: string]: GenericStorageQuery<Rv>;
402
+ [storage: string]: GenericStorageQuery;
407
403
  };
408
404
  /**
409
405
  * Pallet `Babe`'s storage queries
@@ -414,14 +410,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
414
410
  *
415
411
  * @param {Callback<bigint> =} callback
416
412
  **/
417
- epochIndex: GenericStorageQuery<Rv, () => bigint>;
413
+ epochIndex: GenericStorageQuery<() => bigint>;
418
414
 
419
415
  /**
420
416
  * Current epoch authorities.
421
417
  *
422
418
  * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
423
419
  **/
424
- authorities: GenericStorageQuery<Rv, () => Array<[SpConsensusBabeAppPublic, bigint]>>;
420
+ authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
425
421
 
426
422
  /**
427
423
  * The slot at which the first epoch actually started. This is 0
@@ -429,14 +425,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
429
425
  *
430
426
  * @param {Callback<SpConsensusSlotsSlot> =} callback
431
427
  **/
432
- genesisSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
428
+ genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
433
429
 
434
430
  /**
435
431
  * Current slot number.
436
432
  *
437
433
  * @param {Callback<SpConsensusSlotsSlot> =} callback
438
434
  **/
439
- currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
435
+ currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
440
436
 
441
437
  /**
442
438
  * The epoch randomness for the *current* epoch.
@@ -452,28 +448,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
452
448
  *
453
449
  * @param {Callback<FixedBytes<32>> =} callback
454
450
  **/
455
- randomness: GenericStorageQuery<Rv, () => FixedBytes<32>>;
451
+ randomness: GenericStorageQuery<() => FixedBytes<32>>;
456
452
 
457
453
  /**
458
454
  * Pending epoch configuration change that will be applied when the next epoch is enacted.
459
455
  *
460
456
  * @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
461
457
  **/
462
- pendingEpochConfigChange: GenericStorageQuery<Rv, () => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
458
+ pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
463
459
 
464
460
  /**
465
461
  * Next epoch randomness.
466
462
  *
467
463
  * @param {Callback<FixedBytes<32>> =} callback
468
464
  **/
469
- nextRandomness: GenericStorageQuery<Rv, () => FixedBytes<32>>;
465
+ nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
470
466
 
471
467
  /**
472
468
  * Next epoch authorities.
473
469
  *
474
470
  * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
475
471
  **/
476
- nextAuthorities: GenericStorageQuery<Rv, () => Array<[SpConsensusBabeAppPublic, bigint]>>;
472
+ nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
477
473
 
478
474
  /**
479
475
  * Randomness under construction.
@@ -488,7 +484,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
488
484
  *
489
485
  * @param {Callback<number> =} callback
490
486
  **/
491
- segmentIndex: GenericStorageQuery<Rv, () => number>;
487
+ segmentIndex: GenericStorageQuery<() => number>;
492
488
 
493
489
  /**
494
490
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
@@ -496,7 +492,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
496
492
  * @param {number} arg
497
493
  * @param {Callback<Array<FixedBytes<32>>> =} callback
498
494
  **/
499
- underConstruction: GenericStorageQuery<Rv, (arg: number) => Array<FixedBytes<32>>, number>;
495
+ underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>, number>;
500
496
 
501
497
  /**
502
498
  * Temporary value (cleared at block finalization) which is `Some`
@@ -504,7 +500,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
504
500
  *
505
501
  * @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
506
502
  **/
507
- initialized: GenericStorageQuery<Rv, () => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
503
+ initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
508
504
 
509
505
  /**
510
506
  * This field should always be populated during block processing unless
@@ -514,7 +510,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
514
510
  *
515
511
  * @param {Callback<FixedBytes<32> | undefined> =} callback
516
512
  **/
517
- authorVrfRandomness: GenericStorageQuery<Rv, () => FixedBytes<32> | undefined>;
513
+ authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
518
514
 
519
515
  /**
520
516
  * The block numbers when the last and current epoch have started, respectively `N-1` and
@@ -525,7 +521,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
525
521
  *
526
522
  * @param {Callback<[number, number]> =} callback
527
523
  **/
528
- epochStart: GenericStorageQuery<Rv, () => [number, number]>;
524
+ epochStart: GenericStorageQuery<() => [number, number]>;
529
525
 
530
526
  /**
531
527
  * How late the current block is compared to its parent.
@@ -536,7 +532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
536
532
  *
537
533
  * @param {Callback<number> =} callback
538
534
  **/
539
- lateness: GenericStorageQuery<Rv, () => number>;
535
+ lateness: GenericStorageQuery<() => number>;
540
536
 
541
537
  /**
542
538
  * The configuration for the current epoch. Should never be `None` as it is initialized in
@@ -544,7 +540,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
544
540
  *
545
541
  * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
546
542
  **/
547
- epochConfig: GenericStorageQuery<Rv, () => SpConsensusBabeBabeEpochConfiguration | undefined>;
543
+ epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
548
544
 
549
545
  /**
550
546
  * The configuration for the next epoch, `None` if the config will not change
@@ -552,7 +548,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
552
548
  *
553
549
  * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
554
550
  **/
555
- nextEpochConfig: GenericStorageQuery<Rv, () => SpConsensusBabeBabeEpochConfiguration | undefined>;
551
+ nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
556
552
 
557
553
  /**
558
554
  * A list of the last 100 skipped epochs and the corresponding session index
@@ -566,12 +562,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
566
562
  *
567
563
  * @param {Callback<Array<[bigint, number]>> =} callback
568
564
  **/
569
- skippedEpochs: GenericStorageQuery<Rv, () => Array<[bigint, number]>>;
565
+ skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
570
566
 
571
567
  /**
572
568
  * Generic pallet storage query
573
569
  **/
574
- [storage: string]: GenericStorageQuery<Rv>;
570
+ [storage: string]: GenericStorageQuery;
575
571
  };
576
572
  /**
577
573
  * Pallet `Timestamp`'s storage queries
@@ -582,7 +578,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
582
578
  *
583
579
  * @param {Callback<bigint> =} callback
584
580
  **/
585
- now: GenericStorageQuery<Rv, () => bigint>;
581
+ now: GenericStorageQuery<() => bigint>;
586
582
 
587
583
  /**
588
584
  * Whether the timestamp has been updated in this block.
@@ -592,12 +588,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
592
588
  *
593
589
  * @param {Callback<boolean> =} callback
594
590
  **/
595
- didUpdate: GenericStorageQuery<Rv, () => boolean>;
591
+ didUpdate: GenericStorageQuery<() => boolean>;
596
592
 
597
593
  /**
598
594
  * Generic pallet storage query
599
595
  **/
600
- [storage: string]: GenericStorageQuery<Rv>;
596
+ [storage: string]: GenericStorageQuery;
601
597
  };
602
598
  /**
603
599
  * Pallet `Indices`'s storage queries
@@ -609,12 +605,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
609
605
  * @param {number} arg
610
606
  * @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
611
607
  **/
612
- accounts: GenericStorageQuery<Rv, (arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
608
+ accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
613
609
 
614
610
  /**
615
611
  * Generic pallet storage query
616
612
  **/
617
- [storage: string]: GenericStorageQuery<Rv>;
613
+ [storage: string]: GenericStorageQuery;
618
614
  };
619
615
  /**
620
616
  * Pallet `Balances`'s storage queries
@@ -625,14 +621,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
625
621
  *
626
622
  * @param {Callback<bigint> =} callback
627
623
  **/
628
- totalIssuance: GenericStorageQuery<Rv, () => bigint>;
624
+ totalIssuance: GenericStorageQuery<() => bigint>;
629
625
 
630
626
  /**
631
627
  * The total units of outstanding deactivated balance in the system.
632
628
  *
633
629
  * @param {Callback<bigint> =} callback
634
630
  **/
635
- inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
631
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
636
632
 
637
633
  /**
638
634
  * The Balances pallet example of storing the balance of an account.
@@ -663,7 +659,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
663
659
  * @param {AccountId32Like} arg
664
660
  * @param {Callback<PalletBalancesAccountData> =} callback
665
661
  **/
666
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
662
+ account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
667
663
 
668
664
  /**
669
665
  * Any liquidity locks on some account balances.
@@ -674,7 +670,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
674
670
  * @param {AccountId32Like} arg
675
671
  * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
676
672
  **/
677
- locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
673
+ locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
678
674
 
679
675
  /**
680
676
  * Named reserves on some account balances.
@@ -684,7 +680,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
684
680
  * @param {AccountId32Like} arg
685
681
  * @param {Callback<Array<PalletBalancesReserveData>> =} callback
686
682
  **/
687
- reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
683
+ reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
688
684
 
689
685
  /**
690
686
  * Holds on account balances.
@@ -692,7 +688,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
692
688
  * @param {AccountId32Like} arg
693
689
  * @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
694
690
  **/
695
- holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
691
+ holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
696
692
 
697
693
  /**
698
694
  * Freeze locks on account balances.
@@ -701,7 +697,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
701
697
  * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
702
698
  **/
703
699
  freezes: GenericStorageQuery<
704
- Rv,
705
700
  (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
706
701
  AccountId32
707
702
  >;
@@ -709,7 +704,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
709
704
  /**
710
705
  * Generic pallet storage query
711
706
  **/
712
- [storage: string]: GenericStorageQuery<Rv>;
707
+ [storage: string]: GenericStorageQuery;
713
708
  };
714
709
  /**
715
710
  * Pallet `TransactionPayment`'s storage queries
@@ -719,18 +714,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
719
714
  *
720
715
  * @param {Callback<FixedU128> =} callback
721
716
  **/
722
- nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
717
+ nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
723
718
 
724
719
  /**
725
720
  *
726
721
  * @param {Callback<PalletTransactionPaymentReleases> =} callback
727
722
  **/
728
- storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
723
+ storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
729
724
 
730
725
  /**
731
726
  * Generic pallet storage query
732
727
  **/
733
- [storage: string]: GenericStorageQuery<Rv>;
728
+ [storage: string]: GenericStorageQuery;
734
729
  };
735
730
  /**
736
731
  * Pallet `Authorship`'s storage queries
@@ -741,12 +736,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
741
736
  *
742
737
  * @param {Callback<AccountId32 | undefined> =} callback
743
738
  **/
744
- author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
739
+ author: GenericStorageQuery<() => AccountId32 | undefined>;
745
740
 
746
741
  /**
747
742
  * Generic pallet storage query
748
743
  **/
749
- [storage: string]: GenericStorageQuery<Rv>;
744
+ [storage: string]: GenericStorageQuery;
750
745
  };
751
746
  /**
752
747
  * Pallet `Staking`'s storage queries
@@ -757,14 +752,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
757
752
  *
758
753
  * @param {Callback<number> =} callback
759
754
  **/
760
- validatorCount: GenericStorageQuery<Rv, () => number>;
755
+ validatorCount: GenericStorageQuery<() => number>;
761
756
 
762
757
  /**
763
758
  * Minimum number of staking participants before emergency conditions are imposed.
764
759
  *
765
760
  * @param {Callback<number> =} callback
766
761
  **/
767
- minimumValidatorCount: GenericStorageQuery<Rv, () => number>;
762
+ minimumValidatorCount: GenericStorageQuery<() => number>;
768
763
 
769
764
  /**
770
765
  * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
@@ -773,7 +768,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
773
768
  *
774
769
  * @param {Callback<Array<AccountId32>> =} callback
775
770
  **/
776
- invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
771
+ invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
777
772
 
778
773
  /**
779
774
  * Map from all locked "stash" accounts to the controller account.
@@ -783,28 +778,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
783
778
  * @param {AccountId32Like} arg
784
779
  * @param {Callback<AccountId32 | undefined> =} callback
785
780
  **/
786
- bonded: GenericStorageQuery<Rv, (arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
781
+ bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
787
782
 
788
783
  /**
789
784
  * The minimum active bond to become and maintain the role of a nominator.
790
785
  *
791
786
  * @param {Callback<bigint> =} callback
792
787
  **/
793
- minNominatorBond: GenericStorageQuery<Rv, () => bigint>;
788
+ minNominatorBond: GenericStorageQuery<() => bigint>;
794
789
 
795
790
  /**
796
791
  * The minimum active bond to become and maintain the role of a validator.
797
792
  *
798
793
  * @param {Callback<bigint> =} callback
799
794
  **/
800
- minValidatorBond: GenericStorageQuery<Rv, () => bigint>;
795
+ minValidatorBond: GenericStorageQuery<() => bigint>;
801
796
 
802
797
  /**
803
798
  * The minimum active nominator stake of the last successful election.
804
799
  *
805
800
  * @param {Callback<bigint> =} callback
806
801
  **/
807
- minimumActiveStake: GenericStorageQuery<Rv, () => bigint>;
802
+ minimumActiveStake: GenericStorageQuery<() => bigint>;
808
803
 
809
804
  /**
810
805
  * The minimum amount of commission that validators can set.
@@ -813,7 +808,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
813
808
  *
814
809
  * @param {Callback<Perbill> =} callback
815
810
  **/
816
- minCommission: GenericStorageQuery<Rv, () => Perbill>;
811
+ minCommission: GenericStorageQuery<() => Perbill>;
817
812
 
818
813
  /**
819
814
  * Map from all (unlocked) "controller" accounts to the info regarding the staking.
@@ -824,7 +819,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
824
819
  * @param {AccountId32Like} arg
825
820
  * @param {Callback<PalletStakingStakingLedger | undefined> =} callback
826
821
  **/
827
- ledger: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
822
+ ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
828
823
 
829
824
  /**
830
825
  * Where the reward payment should be made. Keyed by stash.
@@ -834,7 +829,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
834
829
  * @param {AccountId32Like} arg
835
830
  * @param {Callback<PalletStakingRewardDestination | undefined> =} callback
836
831
  **/
837
- payee: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
832
+ payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
838
833
 
839
834
  /**
840
835
  * The map from (wannabe) validator stash key to the preferences of that validator.
@@ -844,14 +839,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
844
839
  * @param {AccountId32Like} arg
845
840
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
846
841
  **/
847
- validators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
842
+ validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
848
843
 
849
844
  /**
850
845
  * Counter for the related counted storage map
851
846
  *
852
847
  * @param {Callback<number> =} callback
853
848
  **/
854
- counterForValidators: GenericStorageQuery<Rv, () => number>;
849
+ counterForValidators: GenericStorageQuery<() => number>;
855
850
 
856
851
  /**
857
852
  * The maximum validator count before we stop allowing new validators to join.
@@ -860,7 +855,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
860
855
  *
861
856
  * @param {Callback<number | undefined> =} callback
862
857
  **/
863
- maxValidatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
858
+ maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
864
859
 
865
860
  /**
866
861
  * The map from nominator stash key to their nomination preferences, namely the validators that
@@ -886,14 +881,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
886
881
  * @param {AccountId32Like} arg
887
882
  * @param {Callback<PalletStakingNominations | undefined> =} callback
888
883
  **/
889
- nominators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
884
+ nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
890
885
 
891
886
  /**
892
887
  * Counter for the related counted storage map
893
888
  *
894
889
  * @param {Callback<number> =} callback
895
890
  **/
896
- counterForNominators: GenericStorageQuery<Rv, () => number>;
891
+ counterForNominators: GenericStorageQuery<() => number>;
897
892
 
898
893
  /**
899
894
  * Stakers whose funds are managed by other pallets.
@@ -906,14 +901,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
906
901
  * @param {AccountId32Like} arg
907
902
  * @param {Callback<[] | undefined> =} callback
908
903
  **/
909
- virtualStakers: GenericStorageQuery<Rv, (arg: AccountId32Like) => [] | undefined, AccountId32>;
904
+ virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
910
905
 
911
906
  /**
912
907
  * Counter for the related counted storage map
913
908
  *
914
909
  * @param {Callback<number> =} callback
915
910
  **/
916
- counterForVirtualStakers: GenericStorageQuery<Rv, () => number>;
911
+ counterForVirtualStakers: GenericStorageQuery<() => number>;
917
912
 
918
913
  /**
919
914
  * The maximum nominator count before we stop allowing new validators to join.
@@ -922,7 +917,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
922
917
  *
923
918
  * @param {Callback<number | undefined> =} callback
924
919
  **/
925
- maxNominatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
920
+ maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
926
921
 
927
922
  /**
928
923
  * The current era index.
@@ -932,7 +927,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
932
927
  *
933
928
  * @param {Callback<number | undefined> =} callback
934
929
  **/
935
- currentEra: GenericStorageQuery<Rv, () => number | undefined>;
930
+ currentEra: GenericStorageQuery<() => number | undefined>;
936
931
 
937
932
  /**
938
933
  * The active era information, it holds index and start.
@@ -942,7 +937,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
942
937
  *
943
938
  * @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
944
939
  **/
945
- activeEra: GenericStorageQuery<Rv, () => PalletStakingActiveEraInfo | undefined>;
940
+ activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
946
941
 
947
942
  /**
948
943
  * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
@@ -953,7 +948,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
953
948
  * @param {number} arg
954
949
  * @param {Callback<number | undefined> =} callback
955
950
  **/
956
- erasStartSessionIndex: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
951
+ erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
957
952
 
958
953
  /**
959
954
  * Exposure of validator at era.
@@ -968,7 +963,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
968
963
  * @param {[number, AccountId32Like]} arg
969
964
  * @param {Callback<SpStakingExposure> =} callback
970
965
  **/
971
- erasStakers: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
966
+ erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
972
967
 
973
968
  /**
974
969
  * Summary of validator exposure at a given era.
@@ -988,7 +983,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
988
983
  * @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
989
984
  **/
990
985
  erasStakersOverview: GenericStorageQuery<
991
- Rv,
992
986
  (arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
993
987
  [number, AccountId32]
994
988
  >;
@@ -1015,7 +1009,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1015
1009
  * @param {Callback<SpStakingExposure> =} callback
1016
1010
  **/
1017
1011
  erasStakersClipped: GenericStorageQuery<
1018
- Rv,
1019
1012
  (arg: [number, AccountId32Like]) => SpStakingExposure,
1020
1013
  [number, AccountId32]
1021
1014
  >;
@@ -1032,7 +1025,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1032
1025
  * @param {Callback<SpStakingExposurePage | undefined> =} callback
1033
1026
  **/
1034
1027
  erasStakersPaged: GenericStorageQuery<
1035
- Rv,
1036
1028
  (arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined,
1037
1029
  [number, AccountId32, number]
1038
1030
  >;
@@ -1048,7 +1040,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1048
1040
  * @param {[number, AccountId32Like]} arg
1049
1041
  * @param {Callback<Array<number>> =} callback
1050
1042
  **/
1051
- claimedRewards: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
1043
+ claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
1052
1044
 
1053
1045
  /**
1054
1046
  * Similar to `ErasStakers`, this holds the preferences of validators.
@@ -1061,7 +1053,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1061
1053
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
1062
1054
  **/
1063
1055
  erasValidatorPrefs: GenericStorageQuery<
1064
- Rv,
1065
1056
  (arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs,
1066
1057
  [number, AccountId32]
1067
1058
  >;
@@ -1074,7 +1065,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1074
1065
  * @param {number} arg
1075
1066
  * @param {Callback<bigint | undefined> =} callback
1076
1067
  **/
1077
- erasValidatorReward: GenericStorageQuery<Rv, (arg: number) => bigint | undefined, number>;
1068
+ erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
1078
1069
 
1079
1070
  /**
1080
1071
  * Rewards for the last [`Config::HistoryDepth`] eras.
@@ -1083,7 +1074,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1083
1074
  * @param {number} arg
1084
1075
  * @param {Callback<PalletStakingEraRewardPoints> =} callback
1085
1076
  **/
1086
- erasRewardPoints: GenericStorageQuery<Rv, (arg: number) => PalletStakingEraRewardPoints, number>;
1077
+ erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
1087
1078
 
1088
1079
  /**
1089
1080
  * The total amount staked for the last [`Config::HistoryDepth`] eras.
@@ -1092,14 +1083,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1092
1083
  * @param {number} arg
1093
1084
  * @param {Callback<bigint> =} callback
1094
1085
  **/
1095
- erasTotalStake: GenericStorageQuery<Rv, (arg: number) => bigint, number>;
1086
+ erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
1096
1087
 
1097
1088
  /**
1098
1089
  * Mode of era forcing.
1099
1090
  *
1100
1091
  * @param {Callback<PalletStakingForcing> =} callback
1101
1092
  **/
1102
- forceEra: GenericStorageQuery<Rv, () => PalletStakingForcing>;
1093
+ forceEra: GenericStorageQuery<() => PalletStakingForcing>;
1103
1094
 
1104
1095
  /**
1105
1096
  * Maximum staked rewards, i.e. the percentage of the era inflation that
@@ -1108,7 +1099,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1108
1099
  *
1109
1100
  * @param {Callback<Percent | undefined> =} callback
1110
1101
  **/
1111
- maxStakedRewards: GenericStorageQuery<Rv, () => Percent | undefined>;
1102
+ maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
1112
1103
 
1113
1104
  /**
1114
1105
  * The percentage of the slash that is distributed to reporters.
@@ -1117,7 +1108,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1117
1108
  *
1118
1109
  * @param {Callback<Perbill> =} callback
1119
1110
  **/
1120
- slashRewardFraction: GenericStorageQuery<Rv, () => Perbill>;
1111
+ slashRewardFraction: GenericStorageQuery<() => Perbill>;
1121
1112
 
1122
1113
  /**
1123
1114
  * The amount of currency given to reporters of a slash event which was
@@ -1125,7 +1116,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1125
1116
  *
1126
1117
  * @param {Callback<bigint> =} callback
1127
1118
  **/
1128
- canceledSlashPayout: GenericStorageQuery<Rv, () => bigint>;
1119
+ canceledSlashPayout: GenericStorageQuery<() => bigint>;
1129
1120
 
1130
1121
  /**
1131
1122
  * All unapplied slashes that are queued for later.
@@ -1133,7 +1124,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1133
1124
  * @param {number} arg
1134
1125
  * @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
1135
1126
  **/
1136
- unappliedSlashes: GenericStorageQuery<Rv, (arg: number) => Array<PalletStakingUnappliedSlash>, number>;
1127
+ unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
1137
1128
 
1138
1129
  /**
1139
1130
  * A mapping from still-bonded eras to the first session index of that era.
@@ -1143,7 +1134,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1143
1134
  *
1144
1135
  * @param {Callback<Array<[number, number]>> =} callback
1145
1136
  **/
1146
- bondedEras: GenericStorageQuery<Rv, () => Array<[number, number]>>;
1137
+ bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
1147
1138
 
1148
1139
  /**
1149
1140
  * All slashing events on validators, mapped by era to the highest slash proportion
@@ -1153,7 +1144,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1153
1144
  * @param {Callback<[Perbill, bigint] | undefined> =} callback
1154
1145
  **/
1155
1146
  validatorSlashInEra: GenericStorageQuery<
1156
- Rv,
1157
1147
  (arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
1158
1148
  [number, AccountId32]
1159
1149
  >;
@@ -1165,7 +1155,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1165
1155
  * @param {Callback<bigint | undefined> =} callback
1166
1156
  **/
1167
1157
  nominatorSlashInEra: GenericStorageQuery<
1168
- Rv,
1169
1158
  (arg: [number, AccountId32Like]) => bigint | undefined,
1170
1159
  [number, AccountId32]
1171
1160
  >;
@@ -1177,7 +1166,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1177
1166
  * @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
1178
1167
  **/
1179
1168
  slashingSpans: GenericStorageQuery<
1180
- Rv,
1181
1169
  (arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined,
1182
1170
  AccountId32
1183
1171
  >;
@@ -1190,7 +1178,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1190
1178
  * @param {Callback<PalletStakingSlashingSpanRecord> =} callback
1191
1179
  **/
1192
1180
  spanSlash: GenericStorageQuery<
1193
- Rv,
1194
1181
  (arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord,
1195
1182
  [AccountId32, number]
1196
1183
  >;
@@ -1202,7 +1189,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1202
1189
  *
1203
1190
  * @param {Callback<number> =} callback
1204
1191
  **/
1205
- currentPlannedSession: GenericStorageQuery<Rv, () => number>;
1192
+ currentPlannedSession: GenericStorageQuery<() => number>;
1206
1193
 
1207
1194
  /**
1208
1195
  * The threshold for when users can start calling `chill_other` for other validators /
@@ -1211,12 +1198,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1211
1198
  *
1212
1199
  * @param {Callback<Percent | undefined> =} callback
1213
1200
  **/
1214
- chillThreshold: GenericStorageQuery<Rv, () => Percent | undefined>;
1201
+ chillThreshold: GenericStorageQuery<() => Percent | undefined>;
1215
1202
 
1216
1203
  /**
1217
1204
  * Generic pallet storage query
1218
1205
  **/
1219
- [storage: string]: GenericStorageQuery<Rv>;
1206
+ [storage: string]: GenericStorageQuery;
1220
1207
  };
1221
1208
  /**
1222
1209
  * Pallet `Offences`'s storage queries
@@ -1228,7 +1215,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1228
1215
  * @param {H256} arg
1229
1216
  * @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
1230
1217
  **/
1231
- reports: GenericStorageQuery<Rv, (arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
1218
+ reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
1232
1219
 
1233
1220
  /**
1234
1221
  * A vector of reports of the same kind that happened at the same time slot.
@@ -1237,7 +1224,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1237
1224
  * @param {Callback<Array<H256>> =} callback
1238
1225
  **/
1239
1226
  concurrentReportsIndex: GenericStorageQuery<
1240
- Rv,
1241
1227
  (arg: [FixedBytes<16>, BytesLike]) => Array<H256>,
1242
1228
  [FixedBytes<16>, Bytes]
1243
1229
  >;
@@ -1245,7 +1231,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1245
1231
  /**
1246
1232
  * Generic pallet storage query
1247
1233
  **/
1248
- [storage: string]: GenericStorageQuery<Rv>;
1234
+ [storage: string]: GenericStorageQuery;
1249
1235
  };
1250
1236
  /**
1251
1237
  * Pallet `Historical`'s storage queries
@@ -1257,19 +1243,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1257
1243
  * @param {number} arg
1258
1244
  * @param {Callback<[H256, number] | undefined> =} callback
1259
1245
  **/
1260
- historicalSessions: GenericStorageQuery<Rv, (arg: number) => [H256, number] | undefined, number>;
1246
+ historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
1261
1247
 
1262
1248
  /**
1263
1249
  * The range of historical sessions we store. [first, last)
1264
1250
  *
1265
1251
  * @param {Callback<[number, number] | undefined> =} callback
1266
1252
  **/
1267
- storedRange: GenericStorageQuery<Rv, () => [number, number] | undefined>;
1253
+ storedRange: GenericStorageQuery<() => [number, number] | undefined>;
1268
1254
 
1269
1255
  /**
1270
1256
  * Generic pallet storage query
1271
1257
  **/
1272
- [storage: string]: GenericStorageQuery<Rv>;
1258
+ [storage: string]: GenericStorageQuery;
1273
1259
  };
1274
1260
  /**
1275
1261
  * Pallet `Session`'s storage queries
@@ -1280,14 +1266,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1280
1266
  *
1281
1267
  * @param {Callback<Array<AccountId32>> =} callback
1282
1268
  **/
1283
- validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1269
+ validators: GenericStorageQuery<() => Array<AccountId32>>;
1284
1270
 
1285
1271
  /**
1286
1272
  * Current index of the session.
1287
1273
  *
1288
1274
  * @param {Callback<number> =} callback
1289
1275
  **/
1290
- currentIndex: GenericStorageQuery<Rv, () => number>;
1276
+ currentIndex: GenericStorageQuery<() => number>;
1291
1277
 
1292
1278
  /**
1293
1279
  * True if the underlying economic identities or weighting behind the validators
@@ -1295,7 +1281,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1295
1281
  *
1296
1282
  * @param {Callback<boolean> =} callback
1297
1283
  **/
1298
- queuedChanged: GenericStorageQuery<Rv, () => boolean>;
1284
+ queuedChanged: GenericStorageQuery<() => boolean>;
1299
1285
 
1300
1286
  /**
1301
1287
  * The queued keys for the next session. When the next session begins, these keys
@@ -1303,7 +1289,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1303
1289
  *
1304
1290
  * @param {Callback<Array<[AccountId32, PolkadotRuntimeSessionKeys]>> =} callback
1305
1291
  **/
1306
- queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, PolkadotRuntimeSessionKeys]>>;
1292
+ queuedKeys: GenericStorageQuery<() => Array<[AccountId32, PolkadotRuntimeSessionKeys]>>;
1307
1293
 
1308
1294
  /**
1309
1295
  * Indices of disabled validators.
@@ -1314,7 +1300,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1314
1300
  *
1315
1301
  * @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
1316
1302
  **/
1317
- disabledValidators: GenericStorageQuery<Rv, () => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1303
+ disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1318
1304
 
1319
1305
  /**
1320
1306
  * The next session keys for a validator.
@@ -1322,7 +1308,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1322
1308
  * @param {AccountId32Like} arg
1323
1309
  * @param {Callback<PolkadotRuntimeSessionKeys | undefined> =} callback
1324
1310
  **/
1325
- nextKeys: GenericStorageQuery<Rv, (arg: AccountId32Like) => PolkadotRuntimeSessionKeys | undefined, AccountId32>;
1311
+ nextKeys: GenericStorageQuery<(arg: AccountId32Like) => PolkadotRuntimeSessionKeys | undefined, AccountId32>;
1326
1312
 
1327
1313
  /**
1328
1314
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
@@ -1331,7 +1317,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1331
1317
  * @param {Callback<AccountId32 | undefined> =} callback
1332
1318
  **/
1333
1319
  keyOwner: GenericStorageQuery<
1334
- Rv,
1335
1320
  (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
1336
1321
  [SpCoreCryptoKeyTypeId, Bytes]
1337
1322
  >;
@@ -1339,7 +1324,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1339
1324
  /**
1340
1325
  * Generic pallet storage query
1341
1326
  **/
1342
- [storage: string]: GenericStorageQuery<Rv>;
1327
+ [storage: string]: GenericStorageQuery;
1343
1328
  };
1344
1329
  /**
1345
1330
  * Pallet `Grandpa`'s storage queries
@@ -1350,28 +1335,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1350
1335
  *
1351
1336
  * @param {Callback<PalletGrandpaStoredState> =} callback
1352
1337
  **/
1353
- state: GenericStorageQuery<Rv, () => PalletGrandpaStoredState>;
1338
+ state: GenericStorageQuery<() => PalletGrandpaStoredState>;
1354
1339
 
1355
1340
  /**
1356
1341
  * Pending change: (signaled at, scheduled change).
1357
1342
  *
1358
1343
  * @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
1359
1344
  **/
1360
- pendingChange: GenericStorageQuery<Rv, () => PalletGrandpaStoredPendingChange | undefined>;
1345
+ pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
1361
1346
 
1362
1347
  /**
1363
1348
  * next block number where we can force a change.
1364
1349
  *
1365
1350
  * @param {Callback<number | undefined> =} callback
1366
1351
  **/
1367
- nextForced: GenericStorageQuery<Rv, () => number | undefined>;
1352
+ nextForced: GenericStorageQuery<() => number | undefined>;
1368
1353
 
1369
1354
  /**
1370
1355
  * `true` if we are currently stalled.
1371
1356
  *
1372
1357
  * @param {Callback<[number, number] | undefined> =} callback
1373
1358
  **/
1374
- stalled: GenericStorageQuery<Rv, () => [number, number] | undefined>;
1359
+ stalled: GenericStorageQuery<() => [number, number] | undefined>;
1375
1360
 
1376
1361
  /**
1377
1362
  * The number of changes (both in terms of keys and underlying economic responsibilities)
@@ -1379,7 +1364,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1379
1364
  *
1380
1365
  * @param {Callback<bigint> =} callback
1381
1366
  **/
1382
- currentSetId: GenericStorageQuery<Rv, () => bigint>;
1367
+ currentSetId: GenericStorageQuery<() => bigint>;
1383
1368
 
1384
1369
  /**
1385
1370
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
@@ -1396,19 +1381,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1396
1381
  * @param {bigint} arg
1397
1382
  * @param {Callback<number | undefined> =} callback
1398
1383
  **/
1399
- setIdSession: GenericStorageQuery<Rv, (arg: bigint) => number | undefined, bigint>;
1384
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
1400
1385
 
1401
1386
  /**
1402
1387
  * The current list of authorities.
1403
1388
  *
1404
1389
  * @param {Callback<Array<[SpConsensusGrandpaAppPublic, bigint]>> =} callback
1405
1390
  **/
1406
- authorities: GenericStorageQuery<Rv, () => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
1391
+ authorities: GenericStorageQuery<() => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
1407
1392
 
1408
1393
  /**
1409
1394
  * Generic pallet storage query
1410
1395
  **/
1411
- [storage: string]: GenericStorageQuery<Rv>;
1396
+ [storage: string]: GenericStorageQuery;
1412
1397
  };
1413
1398
  /**
1414
1399
  * Pallet `AuthorityDiscovery`'s storage queries
@@ -1419,19 +1404,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1419
1404
  *
1420
1405
  * @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
1421
1406
  **/
1422
- keys: GenericStorageQuery<Rv, () => Array<SpAuthorityDiscoveryAppPublic>>;
1407
+ keys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
1423
1408
 
1424
1409
  /**
1425
1410
  * Keys of the next authority set.
1426
1411
  *
1427
1412
  * @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
1428
1413
  **/
1429
- nextKeys: GenericStorageQuery<Rv, () => Array<SpAuthorityDiscoveryAppPublic>>;
1414
+ nextKeys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
1430
1415
 
1431
1416
  /**
1432
1417
  * Generic pallet storage query
1433
1418
  **/
1434
- [storage: string]: GenericStorageQuery<Rv>;
1419
+ [storage: string]: GenericStorageQuery;
1435
1420
  };
1436
1421
  /**
1437
1422
  * Pallet `Treasury`'s storage queries
@@ -1445,7 +1430,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1445
1430
  *
1446
1431
  * @param {Callback<number> =} callback
1447
1432
  **/
1448
- proposalCount: GenericStorageQuery<Rv, () => number>;
1433
+ proposalCount: GenericStorageQuery<() => number>;
1449
1434
 
1450
1435
  /**
1451
1436
  * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
@@ -1456,14 +1441,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1456
1441
  * @param {number} arg
1457
1442
  * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1458
1443
  **/
1459
- proposals: GenericStorageQuery<Rv, (arg: number) => PalletTreasuryProposal | undefined, number>;
1444
+ proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
1460
1445
 
1461
1446
  /**
1462
1447
  * The amount which has been reported as inactive to Currency.
1463
1448
  *
1464
1449
  * @param {Callback<bigint> =} callback
1465
1450
  **/
1466
- deactivated: GenericStorageQuery<Rv, () => bigint>;
1451
+ deactivated: GenericStorageQuery<() => bigint>;
1467
1452
 
1468
1453
  /**
1469
1454
  * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
@@ -1473,14 +1458,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1473
1458
  *
1474
1459
  * @param {Callback<Array<number>> =} callback
1475
1460
  **/
1476
- approvals: GenericStorageQuery<Rv, () => Array<number>>;
1461
+ approvals: GenericStorageQuery<() => Array<number>>;
1477
1462
 
1478
1463
  /**
1479
1464
  * The count of spends that have been made.
1480
1465
  *
1481
1466
  * @param {Callback<number> =} callback
1482
1467
  **/
1483
- spendCount: GenericStorageQuery<Rv, () => number>;
1468
+ spendCount: GenericStorageQuery<() => number>;
1484
1469
 
1485
1470
  /**
1486
1471
  * Spends that have been approved and being processed.
@@ -1488,19 +1473,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1488
1473
  * @param {number} arg
1489
1474
  * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1490
1475
  **/
1491
- spends: GenericStorageQuery<Rv, (arg: number) => PalletTreasurySpendStatus | undefined, number>;
1476
+ spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
1492
1477
 
1493
1478
  /**
1494
1479
  * The blocknumber for the last triggered spend period.
1495
1480
  *
1496
1481
  * @param {Callback<number | undefined> =} callback
1497
1482
  **/
1498
- lastSpendPeriod: GenericStorageQuery<Rv, () => number | undefined>;
1483
+ lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
1499
1484
 
1500
1485
  /**
1501
1486
  * Generic pallet storage query
1502
1487
  **/
1503
- [storage: string]: GenericStorageQuery<Rv>;
1488
+ [storage: string]: GenericStorageQuery;
1504
1489
  };
1505
1490
  /**
1506
1491
  * Pallet `ConvictionVoting`'s storage queries
@@ -1514,7 +1499,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1514
1499
  * @param {Callback<PalletConvictionVotingVoteVoting> =} callback
1515
1500
  **/
1516
1501
  votingFor: GenericStorageQuery<
1517
- Rv,
1518
1502
  (arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
1519
1503
  [AccountId32, number]
1520
1504
  >;
@@ -1527,12 +1511,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1527
1511
  * @param {AccountId32Like} arg
1528
1512
  * @param {Callback<Array<[number, bigint]>> =} callback
1529
1513
  **/
1530
- classLocksFor: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
1514
+ classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
1531
1515
 
1532
1516
  /**
1533
1517
  * Generic pallet storage query
1534
1518
  **/
1535
- [storage: string]: GenericStorageQuery<Rv>;
1519
+ [storage: string]: GenericStorageQuery;
1536
1520
  };
1537
1521
  /**
1538
1522
  * Pallet `Referenda`'s storage queries
@@ -1543,7 +1527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1543
1527
  *
1544
1528
  * @param {Callback<number> =} callback
1545
1529
  **/
1546
- referendumCount: GenericStorageQuery<Rv, () => number>;
1530
+ referendumCount: GenericStorageQuery<() => number>;
1547
1531
 
1548
1532
  /**
1549
1533
  * Information concerning any given referendum.
@@ -1551,7 +1535,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1551
1535
  * @param {number} arg
1552
1536
  * @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
1553
1537
  **/
1554
- referendumInfoFor: GenericStorageQuery<Rv, (arg: number) => PalletReferendaReferendumInfo | undefined, number>;
1538
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
1555
1539
 
1556
1540
  /**
1557
1541
  * The sorted list of referenda ready to be decided but not yet being decided, ordered by
@@ -1562,7 +1546,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1562
1546
  * @param {number} arg
1563
1547
  * @param {Callback<Array<[number, bigint]>> =} callback
1564
1548
  **/
1565
- trackQueue: GenericStorageQuery<Rv, (arg: number) => Array<[number, bigint]>, number>;
1549
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
1566
1550
 
1567
1551
  /**
1568
1552
  * The number of referenda being decided currently.
@@ -1570,7 +1554,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1570
1554
  * @param {number} arg
1571
1555
  * @param {Callback<number> =} callback
1572
1556
  **/
1573
- decidingCount: GenericStorageQuery<Rv, (arg: number) => number, number>;
1557
+ decidingCount: GenericStorageQuery<(arg: number) => number, number>;
1574
1558
 
1575
1559
  /**
1576
1560
  * The metadata is a general information concerning the referendum.
@@ -1583,12 +1567,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1583
1567
  * @param {number} arg
1584
1568
  * @param {Callback<H256 | undefined> =} callback
1585
1569
  **/
1586
- metadataOf: GenericStorageQuery<Rv, (arg: number) => H256 | undefined, number>;
1570
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
1587
1571
 
1588
1572
  /**
1589
1573
  * Generic pallet storage query
1590
1574
  **/
1591
- [storage: string]: GenericStorageQuery<Rv>;
1575
+ [storage: string]: GenericStorageQuery;
1592
1576
  };
1593
1577
  /**
1594
1578
  * Pallet `Whitelist`'s storage queries
@@ -1599,12 +1583,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1599
1583
  * @param {H256} arg
1600
1584
  * @param {Callback<[] | undefined> =} callback
1601
1585
  **/
1602
- whitelistedCall: GenericStorageQuery<Rv, (arg: H256) => [] | undefined, H256>;
1586
+ whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
1603
1587
 
1604
1588
  /**
1605
1589
  * Generic pallet storage query
1606
1590
  **/
1607
- [storage: string]: GenericStorageQuery<Rv>;
1591
+ [storage: string]: GenericStorageQuery;
1608
1592
  };
1609
1593
  /**
1610
1594
  * Pallet `Claims`'s storage queries
@@ -1615,13 +1599,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1615
1599
  * @param {EthereumAddressLike} arg
1616
1600
  * @param {Callback<bigint | undefined> =} callback
1617
1601
  **/
1618
- claims: GenericStorageQuery<Rv, (arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
1602
+ claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
1619
1603
 
1620
1604
  /**
1621
1605
  *
1622
1606
  * @param {Callback<bigint> =} callback
1623
1607
  **/
1624
- total: GenericStorageQuery<Rv, () => bigint>;
1608
+ total: GenericStorageQuery<() => bigint>;
1625
1609
 
1626
1610
  /**
1627
1611
  * Vesting schedule for a claim.
@@ -1632,11 +1616,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1632
1616
  * @param {EthereumAddressLike} arg
1633
1617
  * @param {Callback<[bigint, bigint, number] | undefined> =} callback
1634
1618
  **/
1635
- vesting: GenericStorageQuery<
1636
- Rv,
1637
- (arg: EthereumAddressLike) => [bigint, bigint, number] | undefined,
1638
- EthereumAddress
1639
- >;
1619
+ vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined, EthereumAddress>;
1640
1620
 
1641
1621
  /**
1642
1622
  * The statement kind that must be signed, if any.
@@ -1645,7 +1625,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1645
1625
  * @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
1646
1626
  **/
1647
1627
  signing: GenericStorageQuery<
1648
- Rv,
1649
1628
  (arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined,
1650
1629
  EthereumAddress
1651
1630
  >;
@@ -1656,12 +1635,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1656
1635
  * @param {AccountId32Like} arg
1657
1636
  * @param {Callback<EthereumAddress | undefined> =} callback
1658
1637
  **/
1659
- preclaims: GenericStorageQuery<Rv, (arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
1638
+ preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
1660
1639
 
1661
1640
  /**
1662
1641
  * Generic pallet storage query
1663
1642
  **/
1664
- [storage: string]: GenericStorageQuery<Rv>;
1643
+ [storage: string]: GenericStorageQuery;
1665
1644
  };
1666
1645
  /**
1667
1646
  * Pallet `Vesting`'s storage queries
@@ -1673,11 +1652,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1673
1652
  * @param {AccountId32Like} arg
1674
1653
  * @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
1675
1654
  **/
1676
- vesting: GenericStorageQuery<
1677
- Rv,
1678
- (arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
1679
- AccountId32
1680
- >;
1655
+ vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
1681
1656
 
1682
1657
  /**
1683
1658
  * Storage version of the pallet.
@@ -1686,12 +1661,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1686
1661
  *
1687
1662
  * @param {Callback<PalletVestingReleases> =} callback
1688
1663
  **/
1689
- storageVersion: GenericStorageQuery<Rv, () => PalletVestingReleases>;
1664
+ storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
1690
1665
 
1691
1666
  /**
1692
1667
  * Generic pallet storage query
1693
1668
  **/
1694
- [storage: string]: GenericStorageQuery<Rv>;
1669
+ [storage: string]: GenericStorageQuery;
1695
1670
  };
1696
1671
  /**
1697
1672
  * Pallet `Proxy`'s storage queries
@@ -1704,11 +1679,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1704
1679
  * @param {AccountId32Like} arg
1705
1680
  * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1706
1681
  **/
1707
- proxies: GenericStorageQuery<
1708
- Rv,
1709
- (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
1710
- AccountId32
1711
- >;
1682
+ proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
1712
1683
 
1713
1684
  /**
1714
1685
  * The announcements made by the proxy (key).
@@ -1716,16 +1687,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1716
1687
  * @param {AccountId32Like} arg
1717
1688
  * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1718
1689
  **/
1719
- announcements: GenericStorageQuery<
1720
- Rv,
1721
- (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
1722
- AccountId32
1723
- >;
1690
+ announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
1724
1691
 
1725
1692
  /**
1726
1693
  * Generic pallet storage query
1727
1694
  **/
1728
- [storage: string]: GenericStorageQuery<Rv>;
1695
+ [storage: string]: GenericStorageQuery;
1729
1696
  };
1730
1697
  /**
1731
1698
  * Pallet `Multisig`'s storage queries
@@ -1738,7 +1705,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1738
1705
  * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1739
1706
  **/
1740
1707
  multisigs: GenericStorageQuery<
1741
- Rv,
1742
1708
  (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
1743
1709
  [AccountId32, FixedBytes<32>]
1744
1710
  >;
@@ -1746,7 +1712,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1746
1712
  /**
1747
1713
  * Generic pallet storage query
1748
1714
  **/
1749
- [storage: string]: GenericStorageQuery<Rv>;
1715
+ [storage: string]: GenericStorageQuery;
1750
1716
  };
1751
1717
  /**
1752
1718
  * Pallet `Bounties`'s storage queries
@@ -1757,7 +1723,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1757
1723
  *
1758
1724
  * @param {Callback<number> =} callback
1759
1725
  **/
1760
- bountyCount: GenericStorageQuery<Rv, () => number>;
1726
+ bountyCount: GenericStorageQuery<() => number>;
1761
1727
 
1762
1728
  /**
1763
1729
  * Bounties that have been made.
@@ -1765,7 +1731,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1765
1731
  * @param {number} arg
1766
1732
  * @param {Callback<PalletBountiesBounty | undefined> =} callback
1767
1733
  **/
1768
- bounties: GenericStorageQuery<Rv, (arg: number) => PalletBountiesBounty | undefined, number>;
1734
+ bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
1769
1735
 
1770
1736
  /**
1771
1737
  * The description of each bounty.
@@ -1773,19 +1739,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1773
1739
  * @param {number} arg
1774
1740
  * @param {Callback<Bytes | undefined> =} callback
1775
1741
  **/
1776
- bountyDescriptions: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
1742
+ bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
1777
1743
 
1778
1744
  /**
1779
1745
  * Bounty indices that have been approved but not yet funded.
1780
1746
  *
1781
1747
  * @param {Callback<Array<number>> =} callback
1782
1748
  **/
1783
- bountyApprovals: GenericStorageQuery<Rv, () => Array<number>>;
1749
+ bountyApprovals: GenericStorageQuery<() => Array<number>>;
1784
1750
 
1785
1751
  /**
1786
1752
  * Generic pallet storage query
1787
1753
  **/
1788
- [storage: string]: GenericStorageQuery<Rv>;
1754
+ [storage: string]: GenericStorageQuery;
1789
1755
  };
1790
1756
  /**
1791
1757
  * Pallet `ChildBounties`'s storage queries
@@ -1797,7 +1763,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1797
1763
  *
1798
1764
  * @param {Callback<number> =} callback
1799
1765
  **/
1800
- childBountyCount: GenericStorageQuery<Rv, () => number>;
1766
+ childBountyCount: GenericStorageQuery<() => number>;
1801
1767
 
1802
1768
  /**
1803
1769
  * Number of active child bounties per parent bounty.
@@ -1806,7 +1772,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1806
1772
  * @param {number} arg
1807
1773
  * @param {Callback<number> =} callback
1808
1774
  **/
1809
- parentChildBounties: GenericStorageQuery<Rv, (arg: number) => number, number>;
1775
+ parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
1810
1776
 
1811
1777
  /**
1812
1778
  * Number of total child bounties per parent bounty, including completed bounties.
@@ -1814,7 +1780,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1814
1780
  * @param {number} arg
1815
1781
  * @param {Callback<number> =} callback
1816
1782
  **/
1817
- parentTotalChildBounties: GenericStorageQuery<Rv, (arg: number) => number, number>;
1783
+ parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
1818
1784
 
1819
1785
  /**
1820
1786
  * Child bounties that have been added.
@@ -1823,7 +1789,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1823
1789
  * @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
1824
1790
  **/
1825
1791
  childBounties: GenericStorageQuery<
1826
- Rv,
1827
1792
  (arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
1828
1793
  [number, number]
1829
1794
  >;
@@ -1836,7 +1801,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1836
1801
  * @param {[number, number]} arg
1837
1802
  * @param {Callback<Bytes | undefined> =} callback
1838
1803
  **/
1839
- childBountyDescriptionsV1: GenericStorageQuery<Rv, (arg: [number, number]) => Bytes | undefined, [number, number]>;
1804
+ childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
1840
1805
 
1841
1806
  /**
1842
1807
  * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
@@ -1848,7 +1813,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1848
1813
  * @param {number} arg
1849
1814
  * @param {Callback<[number, number] | undefined> =} callback
1850
1815
  **/
1851
- v0ToV1ChildBountyIds: GenericStorageQuery<Rv, (arg: number) => [number, number] | undefined, number>;
1816
+ v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
1852
1817
 
1853
1818
  /**
1854
1819
  * The cumulative child-bounty curator fee for each parent bounty.
@@ -1856,12 +1821,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1856
1821
  * @param {number} arg
1857
1822
  * @param {Callback<bigint> =} callback
1858
1823
  **/
1859
- childrenCuratorFees: GenericStorageQuery<Rv, (arg: number) => bigint, number>;
1824
+ childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
1860
1825
 
1861
1826
  /**
1862
1827
  * Generic pallet storage query
1863
1828
  **/
1864
- [storage: string]: GenericStorageQuery<Rv>;
1829
+ [storage: string]: GenericStorageQuery;
1865
1830
  };
1866
1831
  /**
1867
1832
  * Pallet `ElectionProviderMultiPhase`'s storage queries
@@ -1877,14 +1842,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1877
1842
  *
1878
1843
  * @param {Callback<number> =} callback
1879
1844
  **/
1880
- round: GenericStorageQuery<Rv, () => number>;
1845
+ round: GenericStorageQuery<() => number>;
1881
1846
 
1882
1847
  /**
1883
1848
  * Current phase.
1884
1849
  *
1885
1850
  * @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
1886
1851
  **/
1887
- currentPhase: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhasePhase>;
1852
+ currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
1888
1853
 
1889
1854
  /**
1890
1855
  * Current best solution, signed or unsigned, queued to be returned upon `elect`.
@@ -1893,7 +1858,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1893
1858
  *
1894
1859
  * @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
1895
1860
  **/
1896
- queuedSolution: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseReadySolution | undefined>;
1861
+ queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
1897
1862
 
1898
1863
  /**
1899
1864
  * Snapshot data of the round.
@@ -1903,7 +1868,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1903
1868
  *
1904
1869
  * @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
1905
1870
  **/
1906
- snapshot: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
1871
+ snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
1907
1872
 
1908
1873
  /**
1909
1874
  * Desired number of targets to elect for this round.
@@ -1913,7 +1878,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1913
1878
  *
1914
1879
  * @param {Callback<number | undefined> =} callback
1915
1880
  **/
1916
- desiredTargets: GenericStorageQuery<Rv, () => number | undefined>;
1881
+ desiredTargets: GenericStorageQuery<() => number | undefined>;
1917
1882
 
1918
1883
  /**
1919
1884
  * The metadata of the [`RoundSnapshot`]
@@ -1923,7 +1888,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1923
1888
  *
1924
1889
  * @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
1925
1890
  **/
1926
- snapshotMetadata: GenericStorageQuery<Rv, () => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
1891
+ snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
1927
1892
 
1928
1893
  /**
1929
1894
  * The next index to be assigned to an incoming signed submission.
@@ -1938,7 +1903,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1938
1903
  *
1939
1904
  * @param {Callback<number> =} callback
1940
1905
  **/
1941
- signedSubmissionNextIndex: GenericStorageQuery<Rv, () => number>;
1906
+ signedSubmissionNextIndex: GenericStorageQuery<() => number>;
1942
1907
 
1943
1908
  /**
1944
1909
  * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
@@ -1950,7 +1915,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1950
1915
  *
1951
1916
  * @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
1952
1917
  **/
1953
- signedSubmissionIndices: GenericStorageQuery<Rv, () => Array<[SpNposElectionsElectionScore, number, number]>>;
1918
+ signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
1954
1919
 
1955
1920
  /**
1956
1921
  * Unchecked, signed solutions.
@@ -1965,7 +1930,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1965
1930
  * @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
1966
1931
  **/
1967
1932
  signedSubmissionsMap: GenericStorageQuery<
1968
- Rv,
1969
1933
  (arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined,
1970
1934
  number
1971
1935
  >;
@@ -1978,12 +1942,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1978
1942
  *
1979
1943
  * @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
1980
1944
  **/
1981
- minimumUntrustedScore: GenericStorageQuery<Rv, () => SpNposElectionsElectionScore | undefined>;
1945
+ minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
1982
1946
 
1983
1947
  /**
1984
1948
  * Generic pallet storage query
1985
1949
  **/
1986
- [storage: string]: GenericStorageQuery<Rv>;
1950
+ [storage: string]: GenericStorageQuery;
1987
1951
  };
1988
1952
  /**
1989
1953
  * Pallet `VoterList`'s storage queries
@@ -1997,14 +1961,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1997
1961
  * @param {AccountId32Like} arg
1998
1962
  * @param {Callback<PalletBagsListListNode | undefined> =} callback
1999
1963
  **/
2000
- listNodes: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
1964
+ listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
2001
1965
 
2002
1966
  /**
2003
1967
  * Counter for the related counted storage map
2004
1968
  *
2005
1969
  * @param {Callback<number> =} callback
2006
1970
  **/
2007
- counterForListNodes: GenericStorageQuery<Rv, () => number>;
1971
+ counterForListNodes: GenericStorageQuery<() => number>;
2008
1972
 
2009
1973
  /**
2010
1974
  * A bag stored in storage.
@@ -2014,7 +1978,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2014
1978
  * @param {bigint} arg
2015
1979
  * @param {Callback<PalletBagsListListBag | undefined> =} callback
2016
1980
  **/
2017
- listBags: GenericStorageQuery<Rv, (arg: bigint) => PalletBagsListListBag | undefined, bigint>;
1981
+ listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
2018
1982
 
2019
1983
  /**
2020
1984
  * Pointer that remembers the next node that will be auto-rebagged.
@@ -2022,7 +1986,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2022
1986
  *
2023
1987
  * @param {Callback<AccountId32 | undefined> =} callback
2024
1988
  **/
2025
- nextNodeAutoRebagged: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1989
+ nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
2026
1990
 
2027
1991
  /**
2028
1992
  * Lock all updates to this pallet.
@@ -2032,12 +1996,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2032
1996
  *
2033
1997
  * @param {Callback<[] | undefined> =} callback
2034
1998
  **/
2035
- lock: GenericStorageQuery<Rv, () => [] | undefined>;
1999
+ lock: GenericStorageQuery<() => [] | undefined>;
2036
2000
 
2037
2001
  /**
2038
2002
  * Generic pallet storage query
2039
2003
  **/
2040
- [storage: string]: GenericStorageQuery<Rv>;
2004
+ [storage: string]: GenericStorageQuery;
2041
2005
  };
2042
2006
  /**
2043
2007
  * Pallet `NominationPools`'s storage queries
@@ -2052,14 +2016,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2052
2016
  *
2053
2017
  * @param {Callback<bigint> =} callback
2054
2018
  **/
2055
- totalValueLocked: GenericStorageQuery<Rv, () => bigint>;
2019
+ totalValueLocked: GenericStorageQuery<() => bigint>;
2056
2020
 
2057
2021
  /**
2058
2022
  * Minimum amount to bond to join a pool.
2059
2023
  *
2060
2024
  * @param {Callback<bigint> =} callback
2061
2025
  **/
2062
- minJoinBond: GenericStorageQuery<Rv, () => bigint>;
2026
+ minJoinBond: GenericStorageQuery<() => bigint>;
2063
2027
 
2064
2028
  /**
2065
2029
  * Minimum bond required to create a pool.
@@ -2072,7 +2036,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2072
2036
  *
2073
2037
  * @param {Callback<bigint> =} callback
2074
2038
  **/
2075
- minCreateBond: GenericStorageQuery<Rv, () => bigint>;
2039
+ minCreateBond: GenericStorageQuery<() => bigint>;
2076
2040
 
2077
2041
  /**
2078
2042
  * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
@@ -2080,7 +2044,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2080
2044
  *
2081
2045
  * @param {Callback<number | undefined> =} callback
2082
2046
  **/
2083
- maxPools: GenericStorageQuery<Rv, () => number | undefined>;
2047
+ maxPools: GenericStorageQuery<() => number | undefined>;
2084
2048
 
2085
2049
  /**
2086
2050
  * Maximum number of members that can exist in the system. If `None`, then the count
@@ -2088,7 +2052,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2088
2052
  *
2089
2053
  * @param {Callback<number | undefined> =} callback
2090
2054
  **/
2091
- maxPoolMembers: GenericStorageQuery<Rv, () => number | undefined>;
2055
+ maxPoolMembers: GenericStorageQuery<() => number | undefined>;
2092
2056
 
2093
2057
  /**
2094
2058
  * Maximum number of members that may belong to pool. If `None`, then the count of
@@ -2096,7 +2060,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2096
2060
  *
2097
2061
  * @param {Callback<number | undefined> =} callback
2098
2062
  **/
2099
- maxPoolMembersPerPool: GenericStorageQuery<Rv, () => number | undefined>;
2063
+ maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
2100
2064
 
2101
2065
  /**
2102
2066
  * The maximum commission that can be charged by a pool. Used on commission payouts to bound
@@ -2105,7 +2069,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2105
2069
  *
2106
2070
  * @param {Callback<Perbill | undefined> =} callback
2107
2071
  **/
2108
- globalMaxCommission: GenericStorageQuery<Rv, () => Perbill | undefined>;
2072
+ globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
2109
2073
 
2110
2074
  /**
2111
2075
  * Active members.
@@ -2116,7 +2080,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2116
2080
  * @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
2117
2081
  **/
2118
2082
  poolMembers: GenericStorageQuery<
2119
- Rv,
2120
2083
  (arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
2121
2084
  AccountId32
2122
2085
  >;
@@ -2126,7 +2089,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2126
2089
  *
2127
2090
  * @param {Callback<number> =} callback
2128
2091
  **/
2129
- counterForPoolMembers: GenericStorageQuery<Rv, () => number>;
2092
+ counterForPoolMembers: GenericStorageQuery<() => number>;
2130
2093
 
2131
2094
  /**
2132
2095
  * Storage for bonded pools.
@@ -2134,14 +2097,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2134
2097
  * @param {number} arg
2135
2098
  * @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
2136
2099
  **/
2137
- bondedPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
2100
+ bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
2138
2101
 
2139
2102
  /**
2140
2103
  * Counter for the related counted storage map
2141
2104
  *
2142
2105
  * @param {Callback<number> =} callback
2143
2106
  **/
2144
- counterForBondedPools: GenericStorageQuery<Rv, () => number>;
2107
+ counterForBondedPools: GenericStorageQuery<() => number>;
2145
2108
 
2146
2109
  /**
2147
2110
  * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
@@ -2150,14 +2113,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2150
2113
  * @param {number} arg
2151
2114
  * @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
2152
2115
  **/
2153
- rewardPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
2116
+ rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
2154
2117
 
2155
2118
  /**
2156
2119
  * Counter for the related counted storage map
2157
2120
  *
2158
2121
  * @param {Callback<number> =} callback
2159
2122
  **/
2160
- counterForRewardPools: GenericStorageQuery<Rv, () => number>;
2123
+ counterForRewardPools: GenericStorageQuery<() => number>;
2161
2124
 
2162
2125
  /**
2163
2126
  * Groups of unbonding pools. Each group of unbonding pools belongs to a
@@ -2166,14 +2129,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2166
2129
  * @param {number} arg
2167
2130
  * @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
2168
2131
  **/
2169
- subPoolsStorage: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsSubPools | undefined, number>;
2132
+ subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
2170
2133
 
2171
2134
  /**
2172
2135
  * Counter for the related counted storage map
2173
2136
  *
2174
2137
  * @param {Callback<number> =} callback
2175
2138
  **/
2176
- counterForSubPoolsStorage: GenericStorageQuery<Rv, () => number>;
2139
+ counterForSubPoolsStorage: GenericStorageQuery<() => number>;
2177
2140
 
2178
2141
  /**
2179
2142
  * Metadata for the pool.
@@ -2181,21 +2144,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2181
2144
  * @param {number} arg
2182
2145
  * @param {Callback<Bytes> =} callback
2183
2146
  **/
2184
- metadata: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
2147
+ metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
2185
2148
 
2186
2149
  /**
2187
2150
  * Counter for the related counted storage map
2188
2151
  *
2189
2152
  * @param {Callback<number> =} callback
2190
2153
  **/
2191
- counterForMetadata: GenericStorageQuery<Rv, () => number>;
2154
+ counterForMetadata: GenericStorageQuery<() => number>;
2192
2155
 
2193
2156
  /**
2194
2157
  * Ever increasing number of all pools created so far.
2195
2158
  *
2196
2159
  * @param {Callback<number> =} callback
2197
2160
  **/
2198
- lastPoolId: GenericStorageQuery<Rv, () => number>;
2161
+ lastPoolId: GenericStorageQuery<() => number>;
2199
2162
 
2200
2163
  /**
2201
2164
  * A reverse lookup from the pool's account id to its id.
@@ -2206,14 +2169,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2206
2169
  * @param {AccountId32Like} arg
2207
2170
  * @param {Callback<number | undefined> =} callback
2208
2171
  **/
2209
- reversePoolIdLookup: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
2172
+ reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
2210
2173
 
2211
2174
  /**
2212
2175
  * Counter for the related counted storage map
2213
2176
  *
2214
2177
  * @param {Callback<number> =} callback
2215
2178
  **/
2216
- counterForReversePoolIdLookup: GenericStorageQuery<Rv, () => number>;
2179
+ counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
2217
2180
 
2218
2181
  /**
2219
2182
  * Map from a pool member account to their opted claim permission.
@@ -2221,16 +2184,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2221
2184
  * @param {AccountId32Like} arg
2222
2185
  * @param {Callback<PalletNominationPoolsClaimPermission> =} callback
2223
2186
  **/
2224
- claimPermissions: GenericStorageQuery<
2225
- Rv,
2226
- (arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
2227
- AccountId32
2228
- >;
2187
+ claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
2229
2188
 
2230
2189
  /**
2231
2190
  * Generic pallet storage query
2232
2191
  **/
2233
- [storage: string]: GenericStorageQuery<Rv>;
2192
+ [storage: string]: GenericStorageQuery;
2234
2193
  };
2235
2194
  /**
2236
2195
  * Pallet `FastUnstake`'s storage queries
@@ -2243,7 +2202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2243
2202
  *
2244
2203
  * @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
2245
2204
  **/
2246
- head: GenericStorageQuery<Rv, () => PalletFastUnstakeUnstakeRequest | undefined>;
2205
+ head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
2247
2206
 
2248
2207
  /**
2249
2208
  * The map of all accounts wishing to be unstaked.
@@ -2253,14 +2212,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2253
2212
  * @param {AccountId32Like} arg
2254
2213
  * @param {Callback<bigint | undefined> =} callback
2255
2214
  **/
2256
- queue: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint | undefined, AccountId32>;
2215
+ queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
2257
2216
 
2258
2217
  /**
2259
2218
  * Counter for the related counted storage map
2260
2219
  *
2261
2220
  * @param {Callback<number> =} callback
2262
2221
  **/
2263
- counterForQueue: GenericStorageQuery<Rv, () => number>;
2222
+ counterForQueue: GenericStorageQuery<() => number>;
2264
2223
 
2265
2224
  /**
2266
2225
  * Number of eras to check per block.
@@ -2274,12 +2233,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2274
2233
  *
2275
2234
  * @param {Callback<number> =} callback
2276
2235
  **/
2277
- erasToCheckPerBlock: GenericStorageQuery<Rv, () => number>;
2236
+ erasToCheckPerBlock: GenericStorageQuery<() => number>;
2278
2237
 
2279
2238
  /**
2280
2239
  * Generic pallet storage query
2281
2240
  **/
2282
- [storage: string]: GenericStorageQuery<Rv>;
2241
+ [storage: string]: GenericStorageQuery;
2283
2242
  };
2284
2243
  /**
2285
2244
  * Pallet `DelegatedStaking`'s storage queries
@@ -2295,7 +2254,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2295
2254
  * @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
2296
2255
  **/
2297
2256
  delegators: GenericStorageQuery<
2298
- Rv,
2299
2257
  (arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
2300
2258
  AccountId32
2301
2259
  >;
@@ -2305,7 +2263,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2305
2263
  *
2306
2264
  * @param {Callback<number> =} callback
2307
2265
  **/
2308
- counterForDelegators: GenericStorageQuery<Rv, () => number>;
2266
+ counterForDelegators: GenericStorageQuery<() => number>;
2309
2267
 
2310
2268
  /**
2311
2269
  * Map of `Agent` to their `Ledger`.
@@ -2313,23 +2271,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2313
2271
  * @param {AccountId32Like} arg
2314
2272
  * @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
2315
2273
  **/
2316
- agents: GenericStorageQuery<
2317
- Rv,
2318
- (arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
2319
- AccountId32
2320
- >;
2274
+ agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
2321
2275
 
2322
2276
  /**
2323
2277
  * Counter for the related counted storage map
2324
2278
  *
2325
2279
  * @param {Callback<number> =} callback
2326
2280
  **/
2327
- counterForAgents: GenericStorageQuery<Rv, () => number>;
2281
+ counterForAgents: GenericStorageQuery<() => number>;
2328
2282
 
2329
2283
  /**
2330
2284
  * Generic pallet storage query
2331
2285
  **/
2332
- [storage: string]: GenericStorageQuery<Rv>;
2286
+ [storage: string]: GenericStorageQuery;
2333
2287
  };
2334
2288
  /**
2335
2289
  * Pallet `StakingAhClient`'s storage queries
@@ -2342,17 +2296,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2342
2296
  *
2343
2297
  * @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
2344
2298
  **/
2345
- validatorSet: GenericStorageQuery<Rv, () => [number, Array<AccountId32>] | undefined>;
2299
+ validatorSet: GenericStorageQuery<() => [number, Array<AccountId32>] | undefined>;
2346
2300
 
2347
2301
  /**
2348
2302
  * An incomplete validator set report.
2349
2303
  *
2350
2304
  * @param {Callback<PalletStakingAsyncRcClientValidatorSetReport | undefined> =} callback
2351
2305
  **/
2352
- incompleteValidatorSetReport: GenericStorageQuery<
2353
- Rv,
2354
- () => PalletStakingAsyncRcClientValidatorSetReport | undefined
2355
- >;
2306
+ incompleteValidatorSetReport: GenericStorageQuery<() => PalletStakingAsyncRcClientValidatorSetReport | undefined>;
2356
2307
 
2357
2308
  /**
2358
2309
  * All of the points of the validators.
@@ -2363,7 +2314,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2363
2314
  * @param {AccountId32Like} arg
2364
2315
  * @param {Callback<number> =} callback
2365
2316
  **/
2366
- validatorPoints: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
2317
+ validatorPoints: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
2367
2318
 
2368
2319
  /**
2369
2320
  * Indicates the current operating mode of the pallet.
@@ -2373,7 +2324,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2373
2324
  *
2374
2325
  * @param {Callback<PalletStakingAsyncAhClientOperatingMode> =} callback
2375
2326
  **/
2376
- mode: GenericStorageQuery<Rv, () => PalletStakingAsyncAhClientOperatingMode>;
2327
+ mode: GenericStorageQuery<() => PalletStakingAsyncAhClientOperatingMode>;
2377
2328
 
2378
2329
  /**
2379
2330
  * A storage value that is set when a `new_session` gives a new validator set to the session
@@ -2387,7 +2338,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2387
2338
  *
2388
2339
  * @param {Callback<number | undefined> =} callback
2389
2340
  **/
2390
- nextSessionChangesValidators: GenericStorageQuery<Rv, () => number | undefined>;
2341
+ nextSessionChangesValidators: GenericStorageQuery<() => number | undefined>;
2391
2342
 
2392
2343
  /**
2393
2344
  * The session index at which the latest elected validator set was applied.
@@ -2397,7 +2348,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2397
2348
  *
2398
2349
  * @param {Callback<number | undefined> =} callback
2399
2350
  **/
2400
- validatorSetAppliedAt: GenericStorageQuery<Rv, () => number | undefined>;
2351
+ validatorSetAppliedAt: GenericStorageQuery<() => number | undefined>;
2401
2352
 
2402
2353
  /**
2403
2354
  * A session report that is outgoing, and should be sent.
@@ -2407,7 +2358,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2407
2358
  *
2408
2359
  * @param {Callback<[PalletStakingAsyncRcClientSessionReport, number] | undefined> =} callback
2409
2360
  **/
2410
- outgoingSessionReport: GenericStorageQuery<Rv, () => [PalletStakingAsyncRcClientSessionReport, number] | undefined>;
2361
+ outgoingSessionReport: GenericStorageQuery<() => [PalletStakingAsyncRcClientSessionReport, number] | undefined>;
2411
2362
 
2412
2363
  /**
2413
2364
  * Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
@@ -2416,7 +2367,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2416
2367
  * @param {Callback<Array<[number, PalletStakingAsyncRcClientOffence]>> =} callback
2417
2368
  **/
2418
2369
  offenceSendQueueOffences: GenericStorageQuery<
2419
- Rv,
2420
2370
  (arg: number) => Array<[number, PalletStakingAsyncRcClientOffence]>,
2421
2371
  number
2422
2372
  >;
@@ -2426,12 +2376,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2426
2376
  *
2427
2377
  * @param {Callback<number> =} callback
2428
2378
  **/
2429
- offenceSendQueueCursor: GenericStorageQuery<Rv, () => number>;
2379
+ offenceSendQueueCursor: GenericStorageQuery<() => number>;
2430
2380
 
2431
2381
  /**
2432
2382
  * Generic pallet storage query
2433
2383
  **/
2434
- [storage: string]: GenericStorageQuery<Rv>;
2384
+ [storage: string]: GenericStorageQuery;
2435
2385
  };
2436
2386
  /**
2437
2387
  * Pallet `Configuration`'s storage queries
@@ -2442,7 +2392,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2442
2392
  *
2443
2393
  * @param {Callback<PolkadotRuntimeParachainsConfigurationHostConfiguration> =} callback
2444
2394
  **/
2445
- activeConfig: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsConfigurationHostConfiguration>;
2395
+ activeConfig: GenericStorageQuery<() => PolkadotRuntimeParachainsConfigurationHostConfiguration>;
2446
2396
 
2447
2397
  /**
2448
2398
  * Pending configuration changes.
@@ -2455,10 +2405,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2455
2405
  *
2456
2406
  * @param {Callback<Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>> =} callback
2457
2407
  **/
2458
- pendingConfigs: GenericStorageQuery<
2459
- Rv,
2460
- () => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>
2461
- >;
2408
+ pendingConfigs: GenericStorageQuery<() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>;
2462
2409
 
2463
2410
  /**
2464
2411
  * If this is set, then the configuration setters will bypass the consistency checks. This
@@ -2466,12 +2413,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2466
2413
  *
2467
2414
  * @param {Callback<boolean> =} callback
2468
2415
  **/
2469
- bypassConsistencyCheck: GenericStorageQuery<Rv, () => boolean>;
2416
+ bypassConsistencyCheck: GenericStorageQuery<() => boolean>;
2470
2417
 
2471
2418
  /**
2472
2419
  * Generic pallet storage query
2473
2420
  **/
2474
- [storage: string]: GenericStorageQuery<Rv>;
2421
+ [storage: string]: GenericStorageQuery;
2475
2422
  };
2476
2423
  /**
2477
2424
  * Pallet `ParasShared`'s storage queries
@@ -2482,7 +2429,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2482
2429
  *
2483
2430
  * @param {Callback<number> =} callback
2484
2431
  **/
2485
- currentSessionIndex: GenericStorageQuery<Rv, () => number>;
2432
+ currentSessionIndex: GenericStorageQuery<() => number>;
2486
2433
 
2487
2434
  /**
2488
2435
  * All the validators actively participating in parachain consensus.
@@ -2490,7 +2437,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2490
2437
  *
2491
2438
  * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
2492
2439
  **/
2493
- activeValidatorIndices: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorIndex>>;
2440
+ activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorIndex>>;
2494
2441
 
2495
2442
  /**
2496
2443
  * The parachain attestation keys of the validators actively participating in parachain
@@ -2498,19 +2445,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2498
2445
  *
2499
2446
  * @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
2500
2447
  **/
2501
- activeValidatorKeys: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
2448
+ activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
2502
2449
 
2503
2450
  /**
2504
2451
  * All allowed relay-parents.
2505
2452
  *
2506
2453
  * @param {Callback<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker> =} callback
2507
2454
  **/
2508
- allowedRelayParents: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>;
2455
+ allowedRelayParents: GenericStorageQuery<() => PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>;
2509
2456
 
2510
2457
  /**
2511
2458
  * Generic pallet storage query
2512
2459
  **/
2513
- [storage: string]: GenericStorageQuery<Rv>;
2460
+ [storage: string]: GenericStorageQuery;
2514
2461
  };
2515
2462
  /**
2516
2463
  * Pallet `ParaInclusion`'s storage queries
@@ -2527,7 +2474,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2527
2474
  * @param {Callback<Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined> =} callback
2528
2475
  **/
2529
2476
  v1: GenericStorageQuery<
2530
- Rv,
2531
2477
  (
2532
2478
  arg: PolkadotParachainPrimitivesPrimitivesId,
2533
2479
  ) => Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined,
@@ -2537,7 +2483,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2537
2483
  /**
2538
2484
  * Generic pallet storage query
2539
2485
  **/
2540
- [storage: string]: GenericStorageQuery<Rv>;
2486
+ [storage: string]: GenericStorageQuery;
2541
2487
  };
2542
2488
  /**
2543
2489
  * Pallet `ParaInherent`'s storage queries
@@ -2553,19 +2499,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2553
2499
  *
2554
2500
  * @param {Callback<[] | undefined> =} callback
2555
2501
  **/
2556
- included: GenericStorageQuery<Rv, () => [] | undefined>;
2502
+ included: GenericStorageQuery<() => [] | undefined>;
2557
2503
 
2558
2504
  /**
2559
2505
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
2560
2506
  *
2561
2507
  * @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
2562
2508
  **/
2563
- onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
2509
+ onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
2564
2510
 
2565
2511
  /**
2566
2512
  * Generic pallet storage query
2567
2513
  **/
2568
- [storage: string]: GenericStorageQuery<Rv>;
2514
+ [storage: string]: GenericStorageQuery;
2569
2515
  };
2570
2516
  /**
2571
2517
  * Pallet `ParaScheduler`'s storage queries
@@ -2582,7 +2528,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2582
2528
  *
2583
2529
  * @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
2584
2530
  **/
2585
- validatorGroups: GenericStorageQuery<Rv, () => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
2531
+ validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
2586
2532
 
2587
2533
  /**
2588
2534
  * The block number where the session start occurred. Used to track how many group rotations
@@ -2595,7 +2541,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2595
2541
  *
2596
2542
  * @param {Callback<number> =} callback
2597
2543
  **/
2598
- sessionStartBlock: GenericStorageQuery<Rv, () => number>;
2544
+ sessionStartBlock: GenericStorageQuery<() => number>;
2599
2545
 
2600
2546
  /**
2601
2547
  * One entry for each availability core. The `VecDeque` represents the assignments to be
@@ -2604,14 +2550,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2604
2550
  * @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
2605
2551
  **/
2606
2552
  claimQueue: GenericStorageQuery<
2607
- Rv,
2608
2553
  () => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
2609
2554
  >;
2610
2555
 
2611
2556
  /**
2612
2557
  * Generic pallet storage query
2613
2558
  **/
2614
- [storage: string]: GenericStorageQuery<Rv>;
2559
+ [storage: string]: GenericStorageQuery;
2615
2560
  };
2616
2561
  /**
2617
2562
  * Pallet `Paras`'s storage queries
@@ -2627,7 +2572,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2627
2572
  * @param {Callback<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined> =} callback
2628
2573
  **/
2629
2574
  pvfActiveVoteMap: GenericStorageQuery<
2630
- Rv,
2631
2575
  (
2632
2576
  arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
2633
2577
  ) => PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined,
@@ -2639,7 +2583,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2639
2583
  *
2640
2584
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>> =} callback
2641
2585
  **/
2642
- pvfActiveVoteList: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>;
2586
+ pvfActiveVoteList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>;
2643
2587
 
2644
2588
  /**
2645
2589
  * All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
@@ -2649,7 +2593,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2649
2593
  *
2650
2594
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
2651
2595
  **/
2652
- parachains: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesId>>;
2596
+ parachains: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
2653
2597
 
2654
2598
  /**
2655
2599
  * The current lifecycle of a all known Para IDs.
@@ -2658,7 +2602,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2658
2602
  * @param {Callback<PolkadotRuntimeParachainsParasParaLifecycle | undefined> =} callback
2659
2603
  **/
2660
2604
  paraLifecycles: GenericStorageQuery<
2661
- Rv,
2662
2605
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaLifecycle | undefined,
2663
2606
  PolkadotParachainPrimitivesPrimitivesId
2664
2607
  >;
@@ -2670,7 +2613,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2670
2613
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesHeadData | undefined> =} callback
2671
2614
  **/
2672
2615
  heads: GenericStorageQuery<
2673
- Rv,
2674
2616
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesHeadData | undefined,
2675
2617
  PolkadotParachainPrimitivesPrimitivesId
2676
2618
  >;
@@ -2682,7 +2624,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2682
2624
  * @param {Callback<number | undefined> =} callback
2683
2625
  **/
2684
2626
  mostRecentContext: GenericStorageQuery<
2685
- Rv,
2686
2627
  (arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
2687
2628
  PolkadotParachainPrimitivesPrimitivesId
2688
2629
  >;
@@ -2696,7 +2637,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2696
2637
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2697
2638
  **/
2698
2639
  currentCodeHash: GenericStorageQuery<
2699
- Rv,
2700
2640
  (
2701
2641
  arg: PolkadotParachainPrimitivesPrimitivesId,
2702
2642
  ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
@@ -2713,7 +2653,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2713
2653
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2714
2654
  **/
2715
2655
  pastCodeHash: GenericStorageQuery<
2716
- Rv,
2717
2656
  (
2718
2657
  arg: [PolkadotParachainPrimitivesPrimitivesId, number],
2719
2658
  ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
@@ -2729,7 +2668,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2729
2668
  * @param {Callback<PolkadotRuntimeParachainsParasParaPastCodeMeta> =} callback
2730
2669
  **/
2731
2670
  pastCodeMeta: GenericStorageQuery<
2732
- Rv,
2733
2671
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaPastCodeMeta,
2734
2672
  PolkadotParachainPrimitivesPrimitivesId
2735
2673
  >;
@@ -2744,7 +2682,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2744
2682
  *
2745
2683
  * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2746
2684
  **/
2747
- pastCodePruning: GenericStorageQuery<Rv, () => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2685
+ pastCodePruning: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2748
2686
 
2749
2687
  /**
2750
2688
  * The block number at which the planned code change is expected for a parachain.
@@ -2756,7 +2694,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2756
2694
  * @param {Callback<number | undefined> =} callback
2757
2695
  **/
2758
2696
  futureCodeUpgrades: GenericStorageQuery<
2759
- Rv,
2760
2697
  (arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
2761
2698
  PolkadotParachainPrimitivesPrimitivesId
2762
2699
  >;
@@ -2773,7 +2710,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2773
2710
  *
2774
2711
  * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2775
2712
  **/
2776
- futureCodeUpgradesAt: GenericStorageQuery<Rv, () => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2713
+ futureCodeUpgradesAt: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2777
2714
 
2778
2715
  /**
2779
2716
  * The actual future code hash of a para.
@@ -2784,7 +2721,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2784
2721
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2785
2722
  **/
2786
2723
  futureCodeHash: GenericStorageQuery<
2787
- Rv,
2788
2724
  (
2789
2725
  arg: PolkadotParachainPrimitivesPrimitivesId,
2790
2726
  ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
@@ -2798,7 +2734,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2798
2734
  * @param {Callback<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined> =} callback
2799
2735
  **/
2800
2736
  authorizedCodeHash: GenericStorageQuery<
2801
- Rv,
2802
2737
  (
2803
2738
  arg: PolkadotParachainPrimitivesPrimitivesId,
2804
2739
  ) => PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined,
@@ -2821,7 +2756,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2821
2756
  * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
2822
2757
  **/
2823
2758
  upgradeGoAheadSignal: GenericStorageQuery<
2824
- Rv,
2825
2759
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
2826
2760
  PolkadotParachainPrimitivesPrimitivesId
2827
2761
  >;
@@ -2841,7 +2775,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2841
2775
  * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
2842
2776
  **/
2843
2777
  upgradeRestrictionSignal: GenericStorageQuery<
2844
- Rv,
2845
2778
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
2846
2779
  PolkadotParachainPrimitivesPrimitivesId
2847
2780
  >;
@@ -2853,7 +2786,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2853
2786
  *
2854
2787
  * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2855
2788
  **/
2856
- upgradeCooldowns: GenericStorageQuery<Rv, () => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2789
+ upgradeCooldowns: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2857
2790
 
2858
2791
  /**
2859
2792
  * The list of upcoming code upgrades.
@@ -2865,7 +2798,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2865
2798
  *
2866
2799
  * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2867
2800
  **/
2868
- upcomingUpgrades: GenericStorageQuery<Rv, () => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2801
+ upcomingUpgrades: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2869
2802
 
2870
2803
  /**
2871
2804
  * The actions to perform during the start of a specific session index.
@@ -2873,7 +2806,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2873
2806
  * @param {number} arg
2874
2807
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
2875
2808
  **/
2876
- actionsQueue: GenericStorageQuery<Rv, (arg: number) => Array<PolkadotParachainPrimitivesPrimitivesId>, number>;
2809
+ actionsQueue: GenericStorageQuery<(arg: number) => Array<PolkadotParachainPrimitivesPrimitivesId>, number>;
2877
2810
 
2878
2811
  /**
2879
2812
  * Upcoming paras instantiation arguments.
@@ -2885,7 +2818,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2885
2818
  * @param {Callback<PolkadotRuntimeParachainsParasParaGenesisArgs | undefined> =} callback
2886
2819
  **/
2887
2820
  upcomingParasGenesis: GenericStorageQuery<
2888
- Rv,
2889
2821
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaGenesisArgs | undefined,
2890
2822
  PolkadotParachainPrimitivesPrimitivesId
2891
2823
  >;
@@ -2897,7 +2829,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2897
2829
  * @param {Callback<number> =} callback
2898
2830
  **/
2899
2831
  codeByHashRefs: GenericStorageQuery<
2900
- Rv,
2901
2832
  (arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash) => number,
2902
2833
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash
2903
2834
  >;
@@ -2912,7 +2843,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2912
2843
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined> =} callback
2913
2844
  **/
2914
2845
  codeByHash: GenericStorageQuery<
2915
- Rv,
2916
2846
  (
2917
2847
  arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
2918
2848
  ) => PolkadotParachainPrimitivesPrimitivesValidationCode | undefined,
@@ -2922,7 +2852,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2922
2852
  /**
2923
2853
  * Generic pallet storage query
2924
2854
  **/
2925
- [storage: string]: GenericStorageQuery<Rv>;
2855
+ [storage: string]: GenericStorageQuery;
2926
2856
  };
2927
2857
  /**
2928
2858
  * Pallet `Initializer`'s storage queries
@@ -2940,7 +2870,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2940
2870
  *
2941
2871
  * @param {Callback<[] | undefined> =} callback
2942
2872
  **/
2943
- hasInitialized: GenericStorageQuery<Rv, () => [] | undefined>;
2873
+ hasInitialized: GenericStorageQuery<() => [] | undefined>;
2944
2874
 
2945
2875
  /**
2946
2876
  * Buffered session changes.
@@ -2953,15 +2883,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2953
2883
  *
2954
2884
  * @param {Callback<Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>> =} callback
2955
2885
  **/
2956
- bufferedSessionChanges: GenericStorageQuery<
2957
- Rv,
2958
- () => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>
2959
- >;
2886
+ bufferedSessionChanges: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>;
2960
2887
 
2961
2888
  /**
2962
2889
  * Generic pallet storage query
2963
2890
  **/
2964
- [storage: string]: GenericStorageQuery<Rv>;
2891
+ [storage: string]: GenericStorageQuery;
2965
2892
  };
2966
2893
  /**
2967
2894
  * Pallet `Dmp`'s storage queries
@@ -2974,7 +2901,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2974
2901
  * @param {Callback<Array<PolkadotCorePrimitivesInboundDownwardMessage>> =} callback
2975
2902
  **/
2976
2903
  downwardMessageQueues: GenericStorageQuery<
2977
- Rv,
2978
2904
  (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotCorePrimitivesInboundDownwardMessage>,
2979
2905
  PolkadotParachainPrimitivesPrimitivesId
2980
2906
  >;
@@ -2992,7 +2918,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2992
2918
  * @param {Callback<H256> =} callback
2993
2919
  **/
2994
2920
  downwardMessageQueueHeads: GenericStorageQuery<
2995
- Rv,
2996
2921
  (arg: PolkadotParachainPrimitivesPrimitivesId) => H256,
2997
2922
  PolkadotParachainPrimitivesPrimitivesId
2998
2923
  >;
@@ -3004,7 +2929,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3004
2929
  * @param {Callback<FixedU128> =} callback
3005
2930
  **/
3006
2931
  deliveryFeeFactor: GenericStorageQuery<
3007
- Rv,
3008
2932
  (arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
3009
2933
  PolkadotParachainPrimitivesPrimitivesId
3010
2934
  >;
@@ -3012,7 +2936,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3012
2936
  /**
3013
2937
  * Generic pallet storage query
3014
2938
  **/
3015
- [storage: string]: GenericStorageQuery<Rv>;
2939
+ [storage: string]: GenericStorageQuery;
3016
2940
  };
3017
2941
  /**
3018
2942
  * Pallet `Hrmp`'s storage queries
@@ -3030,7 +2954,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3030
2954
  * @param {Callback<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined> =} callback
3031
2955
  **/
3032
2956
  hrmpOpenChannelRequests: GenericStorageQuery<
3033
- Rv,
3034
2957
  (
3035
2958
  arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
3036
2959
  ) => PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined,
@@ -3041,10 +2964,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3041
2964
  *
3042
2965
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
3043
2966
  **/
3044
- hrmpOpenChannelRequestsList: GenericStorageQuery<
3045
- Rv,
3046
- () => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
3047
- >;
2967
+ hrmpOpenChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
3048
2968
 
3049
2969
  /**
3050
2970
  * This mapping tracks how many open channel requests are initiated by a given sender para.
@@ -3055,7 +2975,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3055
2975
  * @param {Callback<number> =} callback
3056
2976
  **/
3057
2977
  hrmpOpenChannelRequestCount: GenericStorageQuery<
3058
- Rv,
3059
2978
  (arg: PolkadotParachainPrimitivesPrimitivesId) => number,
3060
2979
  PolkadotParachainPrimitivesPrimitivesId
3061
2980
  >;
@@ -3069,7 +2988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3069
2988
  * @param {Callback<number> =} callback
3070
2989
  **/
3071
2990
  hrmpAcceptedChannelRequestCount: GenericStorageQuery<
3072
- Rv,
3073
2991
  (arg: PolkadotParachainPrimitivesPrimitivesId) => number,
3074
2992
  PolkadotParachainPrimitivesPrimitivesId
3075
2993
  >;
@@ -3087,7 +3005,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3087
3005
  * @param {Callback<[] | undefined> =} callback
3088
3006
  **/
3089
3007
  hrmpCloseChannelRequests: GenericStorageQuery<
3090
- Rv,
3091
3008
  (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => [] | undefined,
3092
3009
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId
3093
3010
  >;
@@ -3096,10 +3013,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3096
3013
  *
3097
3014
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
3098
3015
  **/
3099
- hrmpCloseChannelRequestsList: GenericStorageQuery<
3100
- Rv,
3101
- () => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
3102
- >;
3016
+ hrmpCloseChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
3103
3017
 
3104
3018
  /**
3105
3019
  * The HRMP watermark associated with each para.
@@ -3111,7 +3025,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3111
3025
  * @param {Callback<number | undefined> =} callback
3112
3026
  **/
3113
3027
  hrmpWatermarks: GenericStorageQuery<
3114
- Rv,
3115
3028
  (arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
3116
3029
  PolkadotParachainPrimitivesPrimitivesId
3117
3030
  >;
@@ -3125,7 +3038,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3125
3038
  * @param {Callback<PolkadotRuntimeParachainsHrmpHrmpChannel | undefined> =} callback
3126
3039
  **/
3127
3040
  hrmpChannels: GenericStorageQuery<
3128
- Rv,
3129
3041
  (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => PolkadotRuntimeParachainsHrmpHrmpChannel | undefined,
3130
3042
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId
3131
3043
  >;
@@ -3149,7 +3061,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3149
3061
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3150
3062
  **/
3151
3063
  hrmpIngressChannelsIndex: GenericStorageQuery<
3152
- Rv,
3153
3064
  (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
3154
3065
  PolkadotParachainPrimitivesPrimitivesId
3155
3066
  >;
@@ -3160,7 +3071,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3160
3071
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3161
3072
  **/
3162
3073
  hrmpEgressChannelsIndex: GenericStorageQuery<
3163
- Rv,
3164
3074
  (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
3165
3075
  PolkadotParachainPrimitivesPrimitivesId
3166
3076
  >;
@@ -3173,7 +3083,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3173
3083
  * @param {Callback<Array<PolkadotCorePrimitivesInboundHrmpMessage>> =} callback
3174
3084
  **/
3175
3085
  hrmpChannelContents: GenericStorageQuery<
3176
- Rv,
3177
3086
  (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => Array<PolkadotCorePrimitivesInboundHrmpMessage>,
3178
3087
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId
3179
3088
  >;
@@ -3190,7 +3099,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3190
3099
  * @param {Callback<Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>> =} callback
3191
3100
  **/
3192
3101
  hrmpChannelDigests: GenericStorageQuery<
3193
- Rv,
3194
3102
  (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>,
3195
3103
  PolkadotParachainPrimitivesPrimitivesId
3196
3104
  >;
@@ -3198,7 +3106,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3198
3106
  /**
3199
3107
  * Generic pallet storage query
3200
3108
  **/
3201
- [storage: string]: GenericStorageQuery<Rv>;
3109
+ [storage: string]: GenericStorageQuery;
3202
3110
  };
3203
3111
  /**
3204
3112
  * Pallet `ParaSessionInfo`'s storage queries
@@ -3211,14 +3119,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3211
3119
  *
3212
3120
  * @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
3213
3121
  **/
3214
- assignmentKeysUnsafe: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
3122
+ assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
3215
3123
 
3216
3124
  /**
3217
3125
  * The earliest session for which previous session info is stored.
3218
3126
  *
3219
3127
  * @param {Callback<number> =} callback
3220
3128
  **/
3221
- earliestStoredSession: GenericStorageQuery<Rv, () => number>;
3129
+ earliestStoredSession: GenericStorageQuery<() => number>;
3222
3130
 
3223
3131
  /**
3224
3132
  * Session information in a rolling window.
@@ -3228,7 +3136,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3228
3136
  * @param {number} arg
3229
3137
  * @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
3230
3138
  **/
3231
- sessions: GenericStorageQuery<Rv, (arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
3139
+ sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
3232
3140
 
3233
3141
  /**
3234
3142
  * The validator account keys of the validators actively participating in parachain consensus.
@@ -3236,7 +3144,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3236
3144
  * @param {number} arg
3237
3145
  * @param {Callback<Array<AccountId32> | undefined> =} callback
3238
3146
  **/
3239
- accountKeys: GenericStorageQuery<Rv, (arg: number) => Array<AccountId32> | undefined, number>;
3147
+ accountKeys: GenericStorageQuery<(arg: number) => Array<AccountId32> | undefined, number>;
3240
3148
 
3241
3149
  /**
3242
3150
  * Executor parameter set for a given session index
@@ -3244,16 +3152,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3244
3152
  * @param {number} arg
3245
3153
  * @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
3246
3154
  **/
3247
- sessionExecutorParams: GenericStorageQuery<
3248
- Rv,
3249
- (arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined,
3250
- number
3251
- >;
3155
+ sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined, number>;
3252
3156
 
3253
3157
  /**
3254
3158
  * Generic pallet storage query
3255
3159
  **/
3256
- [storage: string]: GenericStorageQuery<Rv>;
3160
+ [storage: string]: GenericStorageQuery;
3257
3161
  };
3258
3162
  /**
3259
3163
  * Pallet `ParasDisputes`'s storage queries
@@ -3265,7 +3169,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3265
3169
  *
3266
3170
  * @param {Callback<number | undefined> =} callback
3267
3171
  **/
3268
- lastPrunedSession: GenericStorageQuery<Rv, () => number | undefined>;
3172
+ lastPrunedSession: GenericStorageQuery<() => number | undefined>;
3269
3173
 
3270
3174
  /**
3271
3175
  * All ongoing or concluded disputes for the last several sessions.
@@ -3274,7 +3178,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3274
3178
  * @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
3275
3179
  **/
3276
3180
  disputes: GenericStorageQuery<
3277
- Rv,
3278
3181
  (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
3279
3182
  [number, PolkadotCorePrimitivesCandidateHash]
3280
3183
  >;
@@ -3287,7 +3190,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3287
3190
  * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
3288
3191
  **/
3289
3192
  backersOnDisputes: GenericStorageQuery<
3290
- Rv,
3291
3193
  (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
3292
3194
  [number, PolkadotCorePrimitivesCandidateHash]
3293
3195
  >;
@@ -3300,7 +3202,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3300
3202
  * @param {Callback<number | undefined> =} callback
3301
3203
  **/
3302
3204
  included: GenericStorageQuery<
3303
- Rv,
3304
3205
  (arg: [number, PolkadotCorePrimitivesCandidateHash]) => number | undefined,
3305
3206
  [number, PolkadotCorePrimitivesCandidateHash]
3306
3207
  >;
@@ -3313,12 +3214,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3313
3214
  *
3314
3215
  * @param {Callback<number | undefined> =} callback
3315
3216
  **/
3316
- frozen: GenericStorageQuery<Rv, () => number | undefined>;
3217
+ frozen: GenericStorageQuery<() => number | undefined>;
3317
3218
 
3318
3219
  /**
3319
3220
  * Generic pallet storage query
3320
3221
  **/
3321
- [storage: string]: GenericStorageQuery<Rv>;
3222
+ [storage: string]: GenericStorageQuery;
3322
3223
  };
3323
3224
  /**
3324
3225
  * Pallet `ParasSlashing`'s storage queries
@@ -3331,7 +3232,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3331
3232
  * @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
3332
3233
  **/
3333
3234
  unappliedSlashes: GenericStorageQuery<
3334
- Rv,
3335
3235
  (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
3336
3236
  [number, PolkadotCorePrimitivesCandidateHash]
3337
3237
  >;
@@ -3342,12 +3242,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3342
3242
  * @param {number} arg
3343
3243
  * @param {Callback<number | undefined> =} callback
3344
3244
  **/
3345
- validatorSetCounts: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
3245
+ validatorSetCounts: GenericStorageQuery<(arg: number) => number | undefined, number>;
3346
3246
 
3347
3247
  /**
3348
3248
  * Generic pallet storage query
3349
3249
  **/
3350
- [storage: string]: GenericStorageQuery<Rv>;
3250
+ [storage: string]: GenericStorageQuery;
3351
3251
  };
3352
3252
  /**
3353
3253
  * Pallet `OnDemand`'s storage queries
@@ -3362,7 +3262,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3362
3262
  * @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
3363
3263
  **/
3364
3264
  paraIdAffinity: GenericStorageQuery<
3365
- Rv,
3366
3265
  (
3367
3266
  arg: PolkadotParachainPrimitivesPrimitivesId,
3368
3267
  ) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
@@ -3374,14 +3273,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3374
3273
  *
3375
3274
  * @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
3376
3275
  **/
3377
- queueStatus: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
3276
+ queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
3378
3277
 
3379
3278
  /**
3380
3279
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
3381
3280
  *
3382
3281
  * @param {Callback<BinaryHeapEnqueuedOrder> =} callback
3383
3282
  **/
3384
- freeEntries: GenericStorageQuery<Rv, () => BinaryHeapEnqueuedOrder>;
3283
+ freeEntries: GenericStorageQuery<() => BinaryHeapEnqueuedOrder>;
3385
3284
 
3386
3285
  /**
3387
3286
  * Queue entries that are currently bound to a particular core due to core affinity.
@@ -3390,7 +3289,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3390
3289
  * @param {Callback<BinaryHeapEnqueuedOrder> =} callback
3391
3290
  **/
3392
3291
  affinityEntries: GenericStorageQuery<
3393
- Rv,
3394
3292
  (arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
3395
3293
  PolkadotPrimitivesV8CoreIndex
3396
3294
  >;
@@ -3400,7 +3298,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3400
3298
  *
3401
3299
  * @param {Callback<Array<bigint>> =} callback
3402
3300
  **/
3403
- revenue: GenericStorageQuery<Rv, () => Array<bigint>>;
3301
+ revenue: GenericStorageQuery<() => Array<bigint>>;
3404
3302
 
3405
3303
  /**
3406
3304
  * Keeps track of credits owned by each account.
@@ -3408,12 +3306,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3408
3306
  * @param {AccountId32Like} arg
3409
3307
  * @param {Callback<bigint> =} callback
3410
3308
  **/
3411
- credits: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint, AccountId32>;
3309
+ credits: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
3412
3310
 
3413
3311
  /**
3414
3312
  * Generic pallet storage query
3415
3313
  **/
3416
- [storage: string]: GenericStorageQuery<Rv>;
3314
+ [storage: string]: GenericStorageQuery;
3417
3315
  };
3418
3316
  /**
3419
3317
  * Pallet `CoretimeAssignmentProvider`'s storage queries
@@ -3429,7 +3327,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3429
3327
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
3430
3328
  **/
3431
3329
  coreSchedules: GenericStorageQuery<
3432
- Rv,
3433
3330
  (arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
3434
3331
  [number, PolkadotPrimitivesV8CoreIndex]
3435
3332
  >;
@@ -3444,7 +3341,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3444
3341
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
3445
3342
  **/
3446
3343
  coreDescriptors: GenericStorageQuery<
3447
- Rv,
3448
3344
  (arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
3449
3345
  PolkadotPrimitivesV8CoreIndex
3450
3346
  >;
@@ -3452,7 +3348,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3452
3348
  /**
3453
3349
  * Generic pallet storage query
3454
3350
  **/
3455
- [storage: string]: GenericStorageQuery<Rv>;
3351
+ [storage: string]: GenericStorageQuery;
3456
3352
  };
3457
3353
  /**
3458
3354
  * Pallet `Registrar`'s storage queries
@@ -3465,7 +3361,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3465
3361
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesId | undefined> =} callback
3466
3362
  **/
3467
3363
  pendingSwap: GenericStorageQuery<
3468
- Rv,
3469
3364
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesId | undefined,
3470
3365
  PolkadotParachainPrimitivesPrimitivesId
3471
3366
  >;
@@ -3480,7 +3375,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3480
3375
  * @param {Callback<PolkadotRuntimeCommonParasRegistrarParaInfo | undefined> =} callback
3481
3376
  **/
3482
3377
  paras: GenericStorageQuery<
3483
- Rv,
3484
3378
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonParasRegistrarParaInfo | undefined,
3485
3379
  PolkadotParachainPrimitivesPrimitivesId
3486
3380
  >;
@@ -3490,12 +3384,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3490
3384
  *
3491
3385
  * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
3492
3386
  **/
3493
- nextFreeParaId: GenericStorageQuery<Rv, () => PolkadotParachainPrimitivesPrimitivesId>;
3387
+ nextFreeParaId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
3494
3388
 
3495
3389
  /**
3496
3390
  * Generic pallet storage query
3497
3391
  **/
3498
- [storage: string]: GenericStorageQuery<Rv>;
3392
+ [storage: string]: GenericStorageQuery;
3499
3393
  };
3500
3394
  /**
3501
3395
  * Pallet `Slots`'s storage queries
@@ -3523,7 +3417,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3523
3417
  * @param {Callback<Array<[AccountId32, bigint] | undefined>> =} callback
3524
3418
  **/
3525
3419
  leases: GenericStorageQuery<
3526
- Rv,
3527
3420
  (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[AccountId32, bigint] | undefined>,
3528
3421
  PolkadotParachainPrimitivesPrimitivesId
3529
3422
  >;
@@ -3531,7 +3424,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3531
3424
  /**
3532
3425
  * Generic pallet storage query
3533
3426
  **/
3534
- [storage: string]: GenericStorageQuery<Rv>;
3427
+ [storage: string]: GenericStorageQuery;
3535
3428
  };
3536
3429
  /**
3537
3430
  * Pallet `Auctions`'s storage queries
@@ -3542,7 +3435,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3542
3435
  *
3543
3436
  * @param {Callback<number> =} callback
3544
3437
  **/
3545
- auctionCounter: GenericStorageQuery<Rv, () => number>;
3438
+ auctionCounter: GenericStorageQuery<() => number>;
3546
3439
 
3547
3440
  /**
3548
3441
  * Information relating to the current auction, if there is one.
@@ -3553,7 +3446,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3553
3446
  *
3554
3447
  * @param {Callback<[number, number] | undefined> =} callback
3555
3448
  **/
3556
- auctionInfo: GenericStorageQuery<Rv, () => [number, number] | undefined>;
3449
+ auctionInfo: GenericStorageQuery<() => [number, number] | undefined>;
3557
3450
 
3558
3451
  /**
3559
3452
  * Amounts currently reserved in the accounts of the bidders currently winning
@@ -3563,7 +3456,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3563
3456
  * @param {Callback<bigint | undefined> =} callback
3564
3457
  **/
3565
3458
  reservedAmounts: GenericStorageQuery<
3566
- Rv,
3567
3459
  (arg: [AccountId32Like, PolkadotParachainPrimitivesPrimitivesId]) => bigint | undefined,
3568
3460
  [AccountId32, PolkadotParachainPrimitivesPrimitivesId]
3569
3461
  >;
@@ -3577,7 +3469,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3577
3469
  * @param {Callback<FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined> =} callback
3578
3470
  **/
3579
3471
  winning: GenericStorageQuery<
3580
- Rv,
3581
3472
  (
3582
3473
  arg: number,
3583
3474
  ) => FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined,
@@ -3587,7 +3478,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3587
3478
  /**
3588
3479
  * Generic pallet storage query
3589
3480
  **/
3590
- [storage: string]: GenericStorageQuery<Rv>;
3481
+ [storage: string]: GenericStorageQuery;
3591
3482
  };
3592
3483
  /**
3593
3484
  * Pallet `Crowdloan`'s storage queries
@@ -3600,7 +3491,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3600
3491
  * @param {Callback<PolkadotRuntimeCommonCrowdloanFundInfo | undefined> =} callback
3601
3492
  **/
3602
3493
  funds: GenericStorageQuery<
3603
- Rv,
3604
3494
  (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonCrowdloanFundInfo | undefined,
3605
3495
  PolkadotParachainPrimitivesPrimitivesId
3606
3496
  >;
@@ -3611,26 +3501,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3611
3501
  *
3612
3502
  * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3613
3503
  **/
3614
- newRaise: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesId>>;
3504
+ newRaise: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
3615
3505
 
3616
3506
  /**
3617
3507
  * The number of auctions that have entered into their ending period so far.
3618
3508
  *
3619
3509
  * @param {Callback<number> =} callback
3620
3510
  **/
3621
- endingsCount: GenericStorageQuery<Rv, () => number>;
3511
+ endingsCount: GenericStorageQuery<() => number>;
3622
3512
 
3623
3513
  /**
3624
3514
  * Tracker for the next available fund index
3625
3515
  *
3626
3516
  * @param {Callback<number> =} callback
3627
3517
  **/
3628
- nextFundIndex: GenericStorageQuery<Rv, () => number>;
3518
+ nextFundIndex: GenericStorageQuery<() => number>;
3629
3519
 
3630
3520
  /**
3631
3521
  * Generic pallet storage query
3632
3522
  **/
3633
- [storage: string]: GenericStorageQuery<Rv>;
3523
+ [storage: string]: GenericStorageQuery;
3634
3524
  };
3635
3525
  /**
3636
3526
  * Pallet `StateTrieMigration`'s storage queries
@@ -3644,7 +3534,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3644
3534
  *
3645
3535
  * @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
3646
3536
  **/
3647
- migrationProcess: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationTask>;
3537
+ migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
3648
3538
 
3649
3539
  /**
3650
3540
  * The limits that are imposed on automatic migrations.
@@ -3653,7 +3543,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3653
3543
  *
3654
3544
  * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
3655
3545
  **/
3656
- autoLimits: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationLimits | undefined>;
3546
+ autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
3657
3547
 
3658
3548
  /**
3659
3549
  * The maximum limits that the signed migration could use.
@@ -3662,12 +3552,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3662
3552
  *
3663
3553
  * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
3664
3554
  **/
3665
- signedMigrationMaxLimits: GenericStorageQuery<Rv, () => PalletStateTrieMigrationMigrationLimits | undefined>;
3555
+ signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
3666
3556
 
3667
3557
  /**
3668
3558
  * Generic pallet storage query
3669
3559
  **/
3670
- [storage: string]: GenericStorageQuery<Rv>;
3560
+ [storage: string]: GenericStorageQuery;
3671
3561
  };
3672
3562
  /**
3673
3563
  * Pallet `XcmPallet`'s storage queries
@@ -3678,7 +3568,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3678
3568
  *
3679
3569
  * @param {Callback<bigint> =} callback
3680
3570
  **/
3681
- queryCounter: GenericStorageQuery<Rv, () => bigint>;
3571
+ queryCounter: GenericStorageQuery<() => bigint>;
3682
3572
 
3683
3573
  /**
3684
3574
  * The ongoing queries.
@@ -3686,7 +3576,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3686
3576
  * @param {bigint} arg
3687
3577
  * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
3688
3578
  **/
3689
- queries: GenericStorageQuery<Rv, (arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
3579
+ queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
3690
3580
 
3691
3581
  /**
3692
3582
  * The existing asset traps.
@@ -3697,7 +3587,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3697
3587
  * @param {H256} arg
3698
3588
  * @param {Callback<number> =} callback
3699
3589
  **/
3700
- assetTraps: GenericStorageQuery<Rv, (arg: H256) => number, H256>;
3590
+ assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
3701
3591
 
3702
3592
  /**
3703
3593
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
@@ -3705,7 +3595,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3705
3595
  *
3706
3596
  * @param {Callback<number | undefined> =} callback
3707
3597
  **/
3708
- safeXcmVersion: GenericStorageQuery<Rv, () => number | undefined>;
3598
+ safeXcmVersion: GenericStorageQuery<() => number | undefined>;
3709
3599
 
3710
3600
  /**
3711
3601
  * The Latest versions that we know various locations support.
@@ -3714,7 +3604,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3714
3604
  * @param {Callback<number | undefined> =} callback
3715
3605
  **/
3716
3606
  supportedVersion: GenericStorageQuery<
3717
- Rv,
3718
3607
  (arg: [number, XcmVersionedLocation]) => number | undefined,
3719
3608
  [number, XcmVersionedLocation]
3720
3609
  >;
@@ -3726,7 +3615,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3726
3615
  * @param {Callback<bigint | undefined> =} callback
3727
3616
  **/
3728
3617
  versionNotifiers: GenericStorageQuery<
3729
- Rv,
3730
3618
  (arg: [number, XcmVersionedLocation]) => bigint | undefined,
3731
3619
  [number, XcmVersionedLocation]
3732
3620
  >;
@@ -3739,7 +3627,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3739
3627
  * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
3740
3628
  **/
3741
3629
  versionNotifyTargets: GenericStorageQuery<
3742
- Rv,
3743
3630
  (arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
3744
3631
  [number, XcmVersionedLocation]
3745
3632
  >;
@@ -3751,14 +3638,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3751
3638
  *
3752
3639
  * @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
3753
3640
  **/
3754
- versionDiscoveryQueue: GenericStorageQuery<Rv, () => Array<[XcmVersionedLocation, number]>>;
3641
+ versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
3755
3642
 
3756
3643
  /**
3757
3644
  * The current migration's stage, if any.
3758
3645
  *
3759
3646
  * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
3760
3647
  **/
3761
- currentMigration: GenericStorageQuery<Rv, () => PalletXcmVersionMigrationStage | undefined>;
3648
+ currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
3762
3649
 
3763
3650
  /**
3764
3651
  * Fungible assets which we know are locked on a remote chain.
@@ -3767,7 +3654,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3767
3654
  * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
3768
3655
  **/
3769
3656
  remoteLockedFungibles: GenericStorageQuery<
3770
- Rv,
3771
3657
  (arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
3772
3658
  [number, AccountId32, XcmVersionedAssetId]
3773
3659
  >;
@@ -3779,7 +3665,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3779
3665
  * @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
3780
3666
  **/
3781
3667
  lockedFungibles: GenericStorageQuery<
3782
- Rv,
3783
3668
  (arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
3784
3669
  AccountId32
3785
3670
  >;
@@ -3789,7 +3674,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3789
3674
  *
3790
3675
  * @param {Callback<boolean> =} callback
3791
3676
  **/
3792
- xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
3677
+ xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
3793
3678
 
3794
3679
  /**
3795
3680
  * Whether or not incoming XCMs (both executed locally and received) should be recorded.
@@ -3802,7 +3687,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3802
3687
  *
3803
3688
  * @param {Callback<boolean> =} callback
3804
3689
  **/
3805
- shouldRecordXcm: GenericStorageQuery<Rv, () => boolean>;
3690
+ shouldRecordXcm: GenericStorageQuery<() => boolean>;
3806
3691
 
3807
3692
  /**
3808
3693
  * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
@@ -3814,7 +3699,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3814
3699
  *
3815
3700
  * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
3816
3701
  **/
3817
- recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
3702
+ recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
3818
3703
 
3819
3704
  /**
3820
3705
  * Map of authorized aliasers of local origins. Each local location can authorize a list of
@@ -3825,7 +3710,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3825
3710
  * @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
3826
3711
  **/
3827
3712
  authorizedAliases: GenericStorageQuery<
3828
- Rv,
3829
3713
  (arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
3830
3714
  XcmVersionedLocation
3831
3715
  >;
@@ -3833,7 +3717,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3833
3717
  /**
3834
3718
  * Generic pallet storage query
3835
3719
  **/
3836
- [storage: string]: GenericStorageQuery<Rv>;
3720
+ [storage: string]: GenericStorageQuery;
3837
3721
  };
3838
3722
  /**
3839
3723
  * Pallet `MessageQueue`'s storage queries
@@ -3846,7 +3730,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3846
3730
  * @param {Callback<PalletMessageQueueBookState> =} callback
3847
3731
  **/
3848
3732
  bookStateFor: GenericStorageQuery<
3849
- Rv,
3850
3733
  (arg: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin) => PalletMessageQueueBookState,
3851
3734
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin
3852
3735
  >;
@@ -3856,7 +3739,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3856
3739
  *
3857
3740
  * @param {Callback<PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined> =} callback
3858
3741
  **/
3859
- serviceHead: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined>;
3742
+ serviceHead: GenericStorageQuery<() => PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined>;
3860
3743
 
3861
3744
  /**
3862
3745
  * The map of page indices to pages.
@@ -3865,7 +3748,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3865
3748
  * @param {Callback<PalletMessageQueuePage | undefined> =} callback
3866
3749
  **/
3867
3750
  pages: GenericStorageQuery<
3868
- Rv,
3869
3751
  (arg: [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
3870
3752
  [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]
3871
3753
  >;
@@ -3873,7 +3755,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3873
3755
  /**
3874
3756
  * Generic pallet storage query
3875
3757
  **/
3876
- [storage: string]: GenericStorageQuery<Rv>;
3758
+ [storage: string]: GenericStorageQuery;
3877
3759
  };
3878
3760
  /**
3879
3761
  * Pallet `AssetRate`'s storage queries
@@ -3888,7 +3770,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3888
3770
  * @param {Callback<FixedU128 | undefined> =} callback
3889
3771
  **/
3890
3772
  conversionRateToNative: GenericStorageQuery<
3891
- Rv,
3892
3773
  (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
3893
3774
  PolkadotRuntimeCommonImplsVersionedLocatableAsset
3894
3775
  >;
@@ -3896,7 +3777,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3896
3777
  /**
3897
3778
  * Generic pallet storage query
3898
3779
  **/
3899
- [storage: string]: GenericStorageQuery<Rv>;
3780
+ [storage: string]: GenericStorageQuery;
3900
3781
  };
3901
3782
  /**
3902
3783
  * Pallet `Beefy`'s storage queries
@@ -3907,21 +3788,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3907
3788
  *
3908
3789
  * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
3909
3790
  **/
3910
- authorities: GenericStorageQuery<Rv, () => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3791
+ authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3911
3792
 
3912
3793
  /**
3913
3794
  * The current validator set id
3914
3795
  *
3915
3796
  * @param {Callback<bigint> =} callback
3916
3797
  **/
3917
- validatorSetId: GenericStorageQuery<Rv, () => bigint>;
3798
+ validatorSetId: GenericStorageQuery<() => bigint>;
3918
3799
 
3919
3800
  /**
3920
3801
  * Authorities set scheduled to be used with the next session
3921
3802
  *
3922
3803
  * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
3923
3804
  **/
3924
- nextAuthorities: GenericStorageQuery<Rv, () => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3805
+ nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3925
3806
 
3926
3807
  /**
3927
3808
  * A mapping from BEEFY set ID to the index of the *most recent* session for which its
@@ -3938,7 +3819,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3938
3819
  * @param {bigint} arg
3939
3820
  * @param {Callback<number | undefined> =} callback
3940
3821
  **/
3941
- setIdSession: GenericStorageQuery<Rv, (arg: bigint) => number | undefined, bigint>;
3822
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
3942
3823
 
3943
3824
  /**
3944
3825
  * Block number where BEEFY consensus is enabled/started.
@@ -3947,12 +3828,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3947
3828
  *
3948
3829
  * @param {Callback<number | undefined> =} callback
3949
3830
  **/
3950
- genesisBlock: GenericStorageQuery<Rv, () => number | undefined>;
3831
+ genesisBlock: GenericStorageQuery<() => number | undefined>;
3951
3832
 
3952
3833
  /**
3953
3834
  * Generic pallet storage query
3954
3835
  **/
3955
- [storage: string]: GenericStorageQuery<Rv>;
3836
+ [storage: string]: GenericStorageQuery;
3956
3837
  };
3957
3838
  /**
3958
3839
  * Pallet `Mmr`'s storage queries
@@ -3963,14 +3844,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3963
3844
  *
3964
3845
  * @param {Callback<H256> =} callback
3965
3846
  **/
3966
- rootHash: GenericStorageQuery<Rv, () => H256>;
3847
+ rootHash: GenericStorageQuery<() => H256>;
3967
3848
 
3968
3849
  /**
3969
3850
  * Current size of the MMR (number of leaves).
3970
3851
  *
3971
3852
  * @param {Callback<bigint> =} callback
3972
3853
  **/
3973
- numberOfLeaves: GenericStorageQuery<Rv, () => bigint>;
3854
+ numberOfLeaves: GenericStorageQuery<() => bigint>;
3974
3855
 
3975
3856
  /**
3976
3857
  * Hashes of the nodes in the MMR.
@@ -3981,12 +3862,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3981
3862
  * @param {bigint} arg
3982
3863
  * @param {Callback<H256 | undefined> =} callback
3983
3864
  **/
3984
- nodes: GenericStorageQuery<Rv, (arg: bigint) => H256 | undefined, bigint>;
3865
+ nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
3985
3866
 
3986
3867
  /**
3987
3868
  * Generic pallet storage query
3988
3869
  **/
3989
- [storage: string]: GenericStorageQuery<Rv>;
3870
+ [storage: string]: GenericStorageQuery;
3990
3871
  };
3991
3872
  /**
3992
3873
  * Pallet `BeefyMmrLeaf`'s storage queries
@@ -3997,7 +3878,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3997
3878
  *
3998
3879
  * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
3999
3880
  **/
4000
- beefyAuthorities: GenericStorageQuery<Rv, () => SpConsensusBeefyMmrBeefyAuthoritySet>;
3881
+ beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
4001
3882
 
4002
3883
  /**
4003
3884
  * Details of next BEEFY authority set.
@@ -4006,12 +3887,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4006
3887
  *
4007
3888
  * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
4008
3889
  **/
4009
- beefyNextAuthorities: GenericStorageQuery<Rv, () => SpConsensusBeefyMmrBeefyAuthoritySet>;
3890
+ beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
4010
3891
 
4011
3892
  /**
4012
3893
  * Generic pallet storage query
4013
3894
  **/
4014
- [storage: string]: GenericStorageQuery<Rv>;
3895
+ [storage: string]: GenericStorageQuery;
4015
3896
  };
4016
3897
  /**
4017
3898
  * Pallet `RcMigrator`'s storage queries
@@ -4022,7 +3903,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4022
3903
  *
4023
3904
  * @param {Callback<PalletRcMigratorMigrationStage> =} callback
4024
3905
  **/
4025
- rcMigrationStage: GenericStorageQuery<Rv, () => PalletRcMigratorMigrationStage>;
3906
+ rcMigrationStage: GenericStorageQuery<() => PalletRcMigratorMigrationStage>;
4026
3907
 
4027
3908
  /**
4028
3909
  * Helper storage item to obtain and store the known accounts that should be kept partially or
@@ -4032,7 +3913,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4032
3913
  * @param {Callback<PalletRcMigratorAccountsAccountState | undefined> =} callback
4033
3914
  **/
4034
3915
  rcAccounts: GenericStorageQuery<
4035
- Rv,
4036
3916
  (arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
4037
3917
  AccountId32
4038
3918
  >;
@@ -4042,14 +3922,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4042
3922
  *
4043
3923
  * @param {Callback<number> =} callback
4044
3924
  **/
4045
- counterForRcAccounts: GenericStorageQuery<Rv, () => number>;
3925
+ counterForRcAccounts: GenericStorageQuery<() => number>;
4046
3926
 
4047
3927
  /**
4048
3928
  * Helper storage item to store the total balance that should be kept on Relay Chain.
4049
3929
  *
4050
3930
  * @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
4051
3931
  **/
4052
- rcMigratedBalance: GenericStorageQuery<Rv, () => PalletRcMigratorAccountsMigratedBalances>;
3932
+ rcMigratedBalance: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
4053
3933
 
4054
3934
  /**
4055
3935
  * Helper storage item to store the total balance that should be kept on Relay Chain after
@@ -4061,7 +3941,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4061
3941
  *
4062
3942
  * @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
4063
3943
  **/
4064
- rcMigratedBalanceArchive: GenericStorageQuery<Rv, () => PalletRcMigratorAccountsMigratedBalances>;
3944
+ rcMigratedBalanceArchive: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
4065
3945
 
4066
3946
  /**
4067
3947
  * The pending XCM messages.
@@ -4073,14 +3953,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4073
3953
  * @param {[bigint, H256]} arg
4074
3954
  * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
4075
3955
  **/
4076
- pendingXcmMessages: GenericStorageQuery<Rv, (arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
3956
+ pendingXcmMessages: GenericStorageQuery<(arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
4077
3957
 
4078
3958
  /**
4079
3959
  * Counter for the related counted storage map
4080
3960
  *
4081
3961
  * @param {Callback<number> =} callback
4082
3962
  **/
4083
- counterForPendingXcmMessages: GenericStorageQuery<Rv, () => number>;
3963
+ counterForPendingXcmMessages: GenericStorageQuery<() => number>;
4084
3964
 
4085
3965
  /**
4086
3966
  * Accounts that use the proxy pallet to delegate permissions and have no nonce.
@@ -4090,7 +3970,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4090
3970
  * @param {AccountId32Like} arg
4091
3971
  * @param {Callback<boolean | undefined> =} callback
4092
3972
  **/
4093
- pureProxyCandidatesMigrated: GenericStorageQuery<Rv, (arg: AccountId32Like) => boolean | undefined, AccountId32>;
3973
+ pureProxyCandidatesMigrated: GenericStorageQuery<(arg: AccountId32Like) => boolean | undefined, AccountId32>;
4094
3974
 
4095
3975
  /**
4096
3976
  * The pending XCM response queries and their XCM hash referencing the message in the
@@ -4104,14 +3984,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4104
3984
  * @param {bigint} arg
4105
3985
  * @param {Callback<H256 | undefined> =} callback
4106
3986
  **/
4107
- pendingXcmQueries: GenericStorageQuery<Rv, (arg: bigint) => H256 | undefined, bigint>;
3987
+ pendingXcmQueries: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
4108
3988
 
4109
3989
  /**
4110
3990
  * Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
4111
3991
  *
4112
3992
  * @param {Callback<number | undefined> =} callback
4113
3993
  **/
4114
- unprocessedMsgBuffer: GenericStorageQuery<Rv, () => number | undefined>;
3994
+ unprocessedMsgBuffer: GenericStorageQuery<() => number | undefined>;
4115
3995
 
4116
3996
  /**
4117
3997
  * The priority of the Asset Hub UMP queue during migration.
@@ -4123,7 +4003,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4123
4003
  *
4124
4004
  * @param {Callback<PalletRcMigratorQueuePriority> =} callback
4125
4005
  **/
4126
- ahUmpQueuePriorityConfig: GenericStorageQuery<Rv, () => PalletRcMigratorQueuePriority>;
4006
+ ahUmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
4127
4007
 
4128
4008
  /**
4129
4009
  * An optional account id of a manager.
@@ -4133,7 +4013,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4133
4013
  *
4134
4014
  * @param {Callback<AccountId32 | undefined> =} callback
4135
4015
  **/
4136
- manager: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
4016
+ manager: GenericStorageQuery<() => AccountId32 | undefined>;
4137
4017
 
4138
4018
  /**
4139
4019
  * An optional account id of a canceller.
@@ -4142,7 +4022,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4142
4022
  *
4143
4023
  * @param {Callback<AccountId32 | undefined> =} callback
4144
4024
  **/
4145
- canceller: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
4025
+ canceller: GenericStorageQuery<() => AccountId32 | undefined>;
4146
4026
 
4147
4027
  /**
4148
4028
  * The block number at which the migration began and the pallet's extrinsics were locked.
@@ -4152,7 +4032,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4152
4032
  *
4153
4033
  * @param {Callback<number | undefined> =} callback
4154
4034
  **/
4155
- migrationStartBlock: GenericStorageQuery<Rv, () => number | undefined>;
4035
+ migrationStartBlock: GenericStorageQuery<() => number | undefined>;
4156
4036
 
4157
4037
  /**
4158
4038
  * Block number when migration finished and extrinsics were unlocked.
@@ -4162,7 +4042,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4162
4042
  *
4163
4043
  * @param {Callback<number | undefined> =} callback
4164
4044
  **/
4165
- migrationEndBlock: GenericStorageQuery<Rv, () => number | undefined>;
4045
+ migrationEndBlock: GenericStorageQuery<() => number | undefined>;
4166
4046
 
4167
4047
  /**
4168
4048
  * The duration of the pre migration warm-up period.
@@ -4172,7 +4052,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4172
4052
  *
4173
4053
  * @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
4174
4054
  **/
4175
- warmUpPeriod: GenericStorageQuery<Rv, () => FrameSupportScheduleDispatchTime | undefined>;
4055
+ warmUpPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
4176
4056
 
4177
4057
  /**
4178
4058
  * The duration of the post migration cool-off period.
@@ -4183,14 +4063,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4183
4063
  *
4184
4064
  * @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
4185
4065
  **/
4186
- coolOffPeriod: GenericStorageQuery<Rv, () => FrameSupportScheduleDispatchTime | undefined>;
4066
+ coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
4187
4067
 
4188
4068
  /**
4189
4069
  * The migration settings.
4190
4070
  *
4191
4071
  * @param {Callback<PalletRcMigratorMigrationSettings | undefined> =} callback
4192
4072
  **/
4193
- settings: GenericStorageQuery<Rv, () => PalletRcMigratorMigrationSettings | undefined>;
4073
+ settings: GenericStorageQuery<() => PalletRcMigratorMigrationSettings | undefined>;
4194
4074
 
4195
4075
  /**
4196
4076
  * The multisig AccountIDs that votes to execute a specific call.
@@ -4199,7 +4079,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4199
4079
  * @param {Callback<Array<AccountId32>> =} callback
4200
4080
  **/
4201
4081
  managerMultisigs: GenericStorageQuery<
4202
- Rv,
4203
4082
  (arg: PolkadotRuntimeRuntimeCallLike) => Array<AccountId32>,
4204
4083
  PolkadotRuntimeRuntimeCall
4205
4084
  >;
@@ -4211,7 +4090,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4211
4090
  *
4212
4091
  * @param {Callback<number> =} callback
4213
4092
  **/
4214
- managerMultisigRound: GenericStorageQuery<Rv, () => number>;
4093
+ managerMultisigRound: GenericStorageQuery<() => number>;
4215
4094
 
4216
4095
  /**
4217
4096
  * How often each participant voted in the current round.
@@ -4221,11 +4100,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4221
4100
  * @param {AccountId32Like} arg
4222
4101
  * @param {Callback<number> =} callback
4223
4102
  **/
4224
- managerVotesInCurrentRound: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
4103
+ managerVotesInCurrentRound: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
4225
4104
 
4226
4105
  /**
4227
4106
  * Generic pallet storage query
4228
4107
  **/
4229
- [storage: string]: GenericStorageQuery<Rv>;
4108
+ [storage: string]: GenericStorageQuery;
4230
4109
  };
4231
4110
  }