@dedot/chaintypes 0.194.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 -3
  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
package/aleph/query.d.ts CHANGED
@@ -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,
@@ -77,7 +77,7 @@ import type {
77
77
  PalletProxyAnnouncement,
78
78
  } from './types.js';
79
79
 
80
- export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
80
+ export interface ChainStorage extends GenericChainStorage {
81
81
  /**
82
82
  * Pallet `System`'s storage queries
83
83
  **/
@@ -88,28 +88,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
88
88
  * @param {AccountId32Like} arg
89
89
  * @param {Callback<FrameSystemAccountInfo> =} callback
90
90
  **/
91
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
91
+ account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
92
92
 
93
93
  /**
94
94
  * Total extrinsics count for the current block.
95
95
  *
96
96
  * @param {Callback<number | undefined> =} callback
97
97
  **/
98
- extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
98
+ extrinsicCount: GenericStorageQuery<() => number | undefined>;
99
99
 
100
100
  /**
101
101
  * The current weight for the block.
102
102
  *
103
103
  * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
104
104
  **/
105
- blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
105
+ blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
106
106
 
107
107
  /**
108
108
  * Total length (in bytes) for all extrinsics put together, for the current block.
109
109
  *
110
110
  * @param {Callback<number | undefined> =} callback
111
111
  **/
112
- allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
112
+ allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
113
113
 
114
114
  /**
115
115
  * Map of block numbers to block hashes.
@@ -117,7 +117,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
117
117
  * @param {number} arg
118
118
  * @param {Callback<H256> =} callback
119
119
  **/
120
- blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
120
+ blockHash: GenericStorageQuery<(arg: number) => H256, number>;
121
121
 
122
122
  /**
123
123
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
@@ -125,28 +125,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
125
125
  * @param {number} arg
126
126
  * @param {Callback<Bytes> =} callback
127
127
  **/
128
- extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
128
+ extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
129
129
 
130
130
  /**
131
131
  * The current block number being processed. Set by `execute_block`.
132
132
  *
133
133
  * @param {Callback<number> =} callback
134
134
  **/
135
- number: GenericStorageQuery<Rv, () => number>;
135
+ number: GenericStorageQuery<() => number>;
136
136
 
137
137
  /**
138
138
  * Hash of the previous block.
139
139
  *
140
140
  * @param {Callback<H256> =} callback
141
141
  **/
142
- parentHash: GenericStorageQuery<Rv, () => H256>;
142
+ parentHash: GenericStorageQuery<() => H256>;
143
143
 
144
144
  /**
145
145
  * Digest of the current block, also part of the block header.
146
146
  *
147
147
  * @param {Callback<Digest> =} callback
148
148
  **/
149
- digest: GenericStorageQuery<Rv, () => Digest>;
149
+ digest: GenericStorageQuery<() => Digest>;
150
150
 
151
151
  /**
152
152
  * Events deposited for the current block.
@@ -159,14 +159,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
159
159
  *
160
160
  * @param {Callback<Array<FrameSystemEventRecord>> =} callback
161
161
  **/
162
- events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
162
+ events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
163
163
 
164
164
  /**
165
165
  * The number of events in the `Events<T>` list.
166
166
  *
167
167
  * @param {Callback<number> =} callback
168
168
  **/
169
- eventCount: GenericStorageQuery<Rv, () => number>;
169
+ eventCount: GenericStorageQuery<() => number>;
170
170
 
171
171
  /**
172
172
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
@@ -183,21 +183,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
183
183
  * @param {H256} arg
184
184
  * @param {Callback<Array<[number, number]>> =} callback
185
185
  **/
186
- eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
186
+ eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
187
187
 
188
188
  /**
189
189
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
190
190
  *
191
191
  * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
192
192
  **/
193
- lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
193
+ lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
194
194
 
195
195
  /**
196
196
  * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
197
197
  *
198
198
  * @param {Callback<boolean> =} callback
199
199
  **/
200
- upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
200
+ upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
201
201
 
202
202
  /**
203
203
  * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
@@ -205,26 +205,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
205
205
  *
206
206
  * @param {Callback<boolean> =} callback
207
207
  **/
208
- upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
208
+ upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
209
209
 
210
210
  /**
211
211
  * The execution phase of the block.
212
212
  *
213
213
  * @param {Callback<Phase | undefined> =} callback
214
214
  **/
215
- executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
215
+ executionPhase: GenericStorageQuery<() => Phase | undefined>;
216
216
 
217
217
  /**
218
218
  * `Some` if a code upgrade has been authorized.
219
219
  *
220
220
  * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
221
221
  **/
222
- authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
222
+ authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
223
223
 
224
224
  /**
225
225
  * Generic pallet storage query
226
226
  **/
227
- [storage: string]: GenericStorageQuery<Rv>;
227
+ [storage: string]: GenericStorageQuery;
228
228
  };
229
229
  /**
230
230
  * Pallet `RandomnessCollectiveFlip`'s storage queries
@@ -237,12 +237,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
237
237
  *
238
238
  * @param {Callback<Array<H256>> =} callback
239
239
  **/
240
- randomMaterial: GenericStorageQuery<Rv, () => Array<H256>>;
240
+ randomMaterial: GenericStorageQuery<() => Array<H256>>;
241
241
 
242
242
  /**
243
243
  * Generic pallet storage query
244
244
  **/
245
- [storage: string]: GenericStorageQuery<Rv>;
245
+ [storage: string]: GenericStorageQuery;
246
246
  };
247
247
  /**
248
248
  * Pallet `Scheduler`'s storage queries
@@ -252,7 +252,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
252
252
  *
253
253
  * @param {Callback<number | undefined> =} callback
254
254
  **/
255
- incompleteSince: GenericStorageQuery<Rv, () => number | undefined>;
255
+ incompleteSince: GenericStorageQuery<() => number | undefined>;
256
256
 
257
257
  /**
258
258
  * Items to be executed, indexed by the block number that they should be executed on.
@@ -260,7 +260,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
260
260
  * @param {number} arg
261
261
  * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
262
262
  **/
263
- agenda: GenericStorageQuery<Rv, (arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
263
+ agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
264
264
 
265
265
  /**
266
266
  * Lookup from a name to the block number and index of the task.
@@ -271,12 +271,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
271
271
  * @param {FixedBytes<32>} arg
272
272
  * @param {Callback<[number, number] | undefined> =} callback
273
273
  **/
274
- lookup: GenericStorageQuery<Rv, (arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
274
+ lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
275
275
 
276
276
  /**
277
277
  * Generic pallet storage query
278
278
  **/
279
- [storage: string]: GenericStorageQuery<Rv>;
279
+ [storage: string]: GenericStorageQuery;
280
280
  };
281
281
  /**
282
282
  * Pallet `Aura`'s storage queries
@@ -287,7 +287,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
287
287
  *
288
288
  * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
289
289
  **/
290
- authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
290
+ authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
291
291
 
292
292
  /**
293
293
  * The current slot of this block.
@@ -296,12 +296,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
296
296
  *
297
297
  * @param {Callback<SpConsensusSlotsSlot> =} callback
298
298
  **/
299
- currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
299
+ currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
300
300
 
301
301
  /**
302
302
  * Generic pallet storage query
303
303
  **/
304
- [storage: string]: GenericStorageQuery<Rv>;
304
+ [storage: string]: GenericStorageQuery;
305
305
  };
306
306
  /**
307
307
  * Pallet `Timestamp`'s storage queries
@@ -312,7 +312,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
312
312
  *
313
313
  * @param {Callback<bigint> =} callback
314
314
  **/
315
- now: GenericStorageQuery<Rv, () => bigint>;
315
+ now: GenericStorageQuery<() => bigint>;
316
316
 
317
317
  /**
318
318
  * Whether the timestamp has been updated in this block.
@@ -322,12 +322,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
322
322
  *
323
323
  * @param {Callback<boolean> =} callback
324
324
  **/
325
- didUpdate: GenericStorageQuery<Rv, () => boolean>;
325
+ didUpdate: GenericStorageQuery<() => boolean>;
326
326
 
327
327
  /**
328
328
  * Generic pallet storage query
329
329
  **/
330
- [storage: string]: GenericStorageQuery<Rv>;
330
+ [storage: string]: GenericStorageQuery;
331
331
  };
332
332
  /**
333
333
  * Pallet `Balances`'s storage queries
@@ -338,14 +338,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
338
338
  *
339
339
  * @param {Callback<bigint> =} callback
340
340
  **/
341
- totalIssuance: GenericStorageQuery<Rv, () => bigint>;
341
+ totalIssuance: GenericStorageQuery<() => bigint>;
342
342
 
343
343
  /**
344
344
  * The total units of outstanding deactivated balance in the system.
345
345
  *
346
346
  * @param {Callback<bigint> =} callback
347
347
  **/
348
- inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
348
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
349
349
 
350
350
  /**
351
351
  * The Balances pallet example of storing the balance of an account.
@@ -376,7 +376,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
376
376
  * @param {AccountId32Like} arg
377
377
  * @param {Callback<PalletBalancesAccountData> =} callback
378
378
  **/
379
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
379
+ account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
380
380
 
381
381
  /**
382
382
  * Any liquidity locks on some account balances.
@@ -385,7 +385,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
385
385
  * @param {AccountId32Like} arg
386
386
  * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
387
387
  **/
388
- locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
388
+ locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
389
389
 
390
390
  /**
391
391
  * Named reserves on some account balances.
@@ -393,7 +393,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
393
393
  * @param {AccountId32Like} arg
394
394
  * @param {Callback<Array<PalletBalancesReserveData>> =} callback
395
395
  **/
396
- reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
396
+ reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
397
397
 
398
398
  /**
399
399
  * Holds on account balances.
@@ -401,7 +401,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
401
401
  * @param {AccountId32Like} arg
402
402
  * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
403
403
  **/
404
- holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesIdAmount>, AccountId32>;
404
+ holds: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesIdAmount>, AccountId32>;
405
405
 
406
406
  /**
407
407
  * Freeze locks on account balances.
@@ -410,7 +410,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
410
410
  * @param {Callback<Array<PalletBalancesIdAmountRuntimeFreezeReason>> =} callback
411
411
  **/
412
412
  freezes: GenericStorageQuery<
413
- Rv,
414
413
  (arg: AccountId32Like) => Array<PalletBalancesIdAmountRuntimeFreezeReason>,
415
414
  AccountId32
416
415
  >;
@@ -418,7 +417,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
418
417
  /**
419
418
  * Generic pallet storage query
420
419
  **/
421
- [storage: string]: GenericStorageQuery<Rv>;
420
+ [storage: string]: GenericStorageQuery;
422
421
  };
423
422
  /**
424
423
  * Pallet `TransactionPayment`'s storage queries
@@ -428,18 +427,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
428
427
  *
429
428
  * @param {Callback<FixedU128> =} callback
430
429
  **/
431
- nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
430
+ nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
432
431
 
433
432
  /**
434
433
  *
435
434
  * @param {Callback<PalletTransactionPaymentReleases> =} callback
436
435
  **/
437
- storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
436
+ storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
438
437
 
439
438
  /**
440
439
  * Generic pallet storage query
441
440
  **/
442
- [storage: string]: GenericStorageQuery<Rv>;
441
+ [storage: string]: GenericStorageQuery;
443
442
  };
444
443
  /**
445
444
  * Pallet `Authorship`'s storage queries
@@ -450,12 +449,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
450
449
  *
451
450
  * @param {Callback<AccountId32 | undefined> =} callback
452
451
  **/
453
- author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
452
+ author: GenericStorageQuery<() => AccountId32 | undefined>;
454
453
 
455
454
  /**
456
455
  * Generic pallet storage query
457
456
  **/
458
- [storage: string]: GenericStorageQuery<Rv>;
457
+ [storage: string]: GenericStorageQuery;
459
458
  };
460
459
  /**
461
460
  * Pallet `Staking`'s storage queries
@@ -466,14 +465,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
466
465
  *
467
466
  * @param {Callback<number> =} callback
468
467
  **/
469
- validatorCount: GenericStorageQuery<Rv, () => number>;
468
+ validatorCount: GenericStorageQuery<() => number>;
470
469
 
471
470
  /**
472
471
  * Minimum number of staking participants before emergency conditions are imposed.
473
472
  *
474
473
  * @param {Callback<number> =} callback
475
474
  **/
476
- minimumValidatorCount: GenericStorageQuery<Rv, () => number>;
475
+ minimumValidatorCount: GenericStorageQuery<() => number>;
477
476
 
478
477
  /**
479
478
  * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
@@ -482,7 +481,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
482
481
  *
483
482
  * @param {Callback<Array<AccountId32>> =} callback
484
483
  **/
485
- invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
484
+ invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
486
485
 
487
486
  /**
488
487
  * Map from all locked "stash" accounts to the controller account.
@@ -492,28 +491,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
492
491
  * @param {AccountId32Like} arg
493
492
  * @param {Callback<AccountId32 | undefined> =} callback
494
493
  **/
495
- bonded: GenericStorageQuery<Rv, (arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
494
+ bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
496
495
 
497
496
  /**
498
497
  * The minimum active bond to become and maintain the role of a nominator.
499
498
  *
500
499
  * @param {Callback<bigint> =} callback
501
500
  **/
502
- minNominatorBond: GenericStorageQuery<Rv, () => bigint>;
501
+ minNominatorBond: GenericStorageQuery<() => bigint>;
503
502
 
504
503
  /**
505
504
  * The minimum active bond to become and maintain the role of a validator.
506
505
  *
507
506
  * @param {Callback<bigint> =} callback
508
507
  **/
509
- minValidatorBond: GenericStorageQuery<Rv, () => bigint>;
508
+ minValidatorBond: GenericStorageQuery<() => bigint>;
510
509
 
511
510
  /**
512
511
  * The minimum active nominator stake of the last successful election.
513
512
  *
514
513
  * @param {Callback<bigint> =} callback
515
514
  **/
516
- minimumActiveStake: GenericStorageQuery<Rv, () => bigint>;
515
+ minimumActiveStake: GenericStorageQuery<() => bigint>;
517
516
 
518
517
  /**
519
518
  * The minimum amount of commission that validators can set.
@@ -522,7 +521,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
522
521
  *
523
522
  * @param {Callback<Perbill> =} callback
524
523
  **/
525
- minCommission: GenericStorageQuery<Rv, () => Perbill>;
524
+ minCommission: GenericStorageQuery<() => Perbill>;
526
525
 
527
526
  /**
528
527
  * Map from all (unlocked) "controller" accounts to the info regarding the staking.
@@ -533,7 +532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
533
532
  * @param {AccountId32Like} arg
534
533
  * @param {Callback<PalletStakingStakingLedger | undefined> =} callback
535
534
  **/
536
- ledger: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
535
+ ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
537
536
 
538
537
  /**
539
538
  * Where the reward payment should be made. Keyed by stash.
@@ -543,7 +542,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
543
542
  * @param {AccountId32Like} arg
544
543
  * @param {Callback<PalletStakingRewardDestination> =} callback
545
544
  **/
546
- payee: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingRewardDestination, AccountId32>;
545
+ payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination, AccountId32>;
547
546
 
548
547
  /**
549
548
  * The map from (wannabe) validator stash key to the preferences of that validator.
@@ -553,14 +552,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
553
552
  * @param {AccountId32Like} arg
554
553
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
555
554
  **/
556
- validators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
555
+ validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
557
556
 
558
557
  /**
559
558
  * Counter for the related counted storage map
560
559
  *
561
560
  * @param {Callback<number> =} callback
562
561
  **/
563
- counterForValidators: GenericStorageQuery<Rv, () => number>;
562
+ counterForValidators: GenericStorageQuery<() => number>;
564
563
 
565
564
  /**
566
565
  * The maximum validator count before we stop allowing new validators to join.
@@ -569,7 +568,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
569
568
  *
570
569
  * @param {Callback<number | undefined> =} callback
571
570
  **/
572
- maxValidatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
571
+ maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
573
572
 
574
573
  /**
575
574
  * The map from nominator stash key to their nomination preferences, namely the validators that
@@ -595,14 +594,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
595
594
  * @param {AccountId32Like} arg
596
595
  * @param {Callback<PalletStakingNominations | undefined> =} callback
597
596
  **/
598
- nominators: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
597
+ nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
599
598
 
600
599
  /**
601
600
  * Counter for the related counted storage map
602
601
  *
603
602
  * @param {Callback<number> =} callback
604
603
  **/
605
- counterForNominators: GenericStorageQuery<Rv, () => number>;
604
+ counterForNominators: GenericStorageQuery<() => number>;
606
605
 
607
606
  /**
608
607
  * The maximum nominator count before we stop allowing new validators to join.
@@ -611,7 +610,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
611
610
  *
612
611
  * @param {Callback<number | undefined> =} callback
613
612
  **/
614
- maxNominatorsCount: GenericStorageQuery<Rv, () => number | undefined>;
613
+ maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
615
614
 
616
615
  /**
617
616
  * The current era index.
@@ -621,7 +620,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
621
620
  *
622
621
  * @param {Callback<number | undefined> =} callback
623
622
  **/
624
- currentEra: GenericStorageQuery<Rv, () => number | undefined>;
623
+ currentEra: GenericStorageQuery<() => number | undefined>;
625
624
 
626
625
  /**
627
626
  * The active era information, it holds index and start.
@@ -631,7 +630,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
631
630
  *
632
631
  * @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
633
632
  **/
634
- activeEra: GenericStorageQuery<Rv, () => PalletStakingActiveEraInfo | undefined>;
633
+ activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
635
634
 
636
635
  /**
637
636
  * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
@@ -642,7 +641,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
642
641
  * @param {number} arg
643
642
  * @param {Callback<number | undefined> =} callback
644
643
  **/
645
- erasStartSessionIndex: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
644
+ erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
646
645
 
647
646
  /**
648
647
  * Exposure of validator at era.
@@ -657,7 +656,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
657
656
  * @param {[number, AccountId32Like]} arg
658
657
  * @param {Callback<SpStakingExposure> =} callback
659
658
  **/
660
- erasStakers: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
659
+ erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
661
660
 
662
661
  /**
663
662
  * Summary of validator exposure at a given era.
@@ -677,7 +676,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
677
676
  * @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
678
677
  **/
679
678
  erasStakersOverview: GenericStorageQuery<
680
- Rv,
681
679
  (arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
682
680
  [number, AccountId32]
683
681
  >;
@@ -704,7 +702,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
704
702
  * @param {Callback<SpStakingExposure> =} callback
705
703
  **/
706
704
  erasStakersClipped: GenericStorageQuery<
707
- Rv,
708
705
  (arg: [number, AccountId32Like]) => SpStakingExposure,
709
706
  [number, AccountId32]
710
707
  >;
@@ -721,7 +718,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
721
718
  * @param {Callback<SpStakingExposurePage | undefined> =} callback
722
719
  **/
723
720
  erasStakersPaged: GenericStorageQuery<
724
- Rv,
725
721
  (arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined,
726
722
  [number, AccountId32, number]
727
723
  >;
@@ -737,7 +733,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
737
733
  * @param {[number, AccountId32Like]} arg
738
734
  * @param {Callback<Array<number>> =} callback
739
735
  **/
740
- claimedRewards: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
736
+ claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
741
737
 
742
738
  /**
743
739
  * Similar to `ErasStakers`, this holds the preferences of validators.
@@ -750,7 +746,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
750
746
  * @param {Callback<PalletStakingValidatorPrefs> =} callback
751
747
  **/
752
748
  erasValidatorPrefs: GenericStorageQuery<
753
- Rv,
754
749
  (arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs,
755
750
  [number, AccountId32]
756
751
  >;
@@ -763,7 +758,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
763
758
  * @param {number} arg
764
759
  * @param {Callback<bigint | undefined> =} callback
765
760
  **/
766
- erasValidatorReward: GenericStorageQuery<Rv, (arg: number) => bigint | undefined, number>;
761
+ erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
767
762
 
768
763
  /**
769
764
  * Rewards for the last [`Config::HistoryDepth`] eras.
@@ -772,7 +767,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
772
767
  * @param {number} arg
773
768
  * @param {Callback<PalletStakingEraRewardPoints> =} callback
774
769
  **/
775
- erasRewardPoints: GenericStorageQuery<Rv, (arg: number) => PalletStakingEraRewardPoints, number>;
770
+ erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
776
771
 
777
772
  /**
778
773
  * The total amount staked for the last [`Config::HistoryDepth`] eras.
@@ -781,14 +776,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
781
776
  * @param {number} arg
782
777
  * @param {Callback<bigint> =} callback
783
778
  **/
784
- erasTotalStake: GenericStorageQuery<Rv, (arg: number) => bigint, number>;
779
+ erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
785
780
 
786
781
  /**
787
782
  * Mode of era forcing.
788
783
  *
789
784
  * @param {Callback<PalletStakingForcing> =} callback
790
785
  **/
791
- forceEra: GenericStorageQuery<Rv, () => PalletStakingForcing>;
786
+ forceEra: GenericStorageQuery<() => PalletStakingForcing>;
792
787
 
793
788
  /**
794
789
  * The percentage of the slash that is distributed to reporters.
@@ -797,7 +792,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
797
792
  *
798
793
  * @param {Callback<Perbill> =} callback
799
794
  **/
800
- slashRewardFraction: GenericStorageQuery<Rv, () => Perbill>;
795
+ slashRewardFraction: GenericStorageQuery<() => Perbill>;
801
796
 
802
797
  /**
803
798
  * The amount of currency given to reporters of a slash event which was
@@ -805,7 +800,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
805
800
  *
806
801
  * @param {Callback<bigint> =} callback
807
802
  **/
808
- canceledSlashPayout: GenericStorageQuery<Rv, () => bigint>;
803
+ canceledSlashPayout: GenericStorageQuery<() => bigint>;
809
804
 
810
805
  /**
811
806
  * All unapplied slashes that are queued for later.
@@ -813,7 +808,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
813
808
  * @param {number} arg
814
809
  * @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
815
810
  **/
816
- unappliedSlashes: GenericStorageQuery<Rv, (arg: number) => Array<PalletStakingUnappliedSlash>, number>;
811
+ unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
817
812
 
818
813
  /**
819
814
  * A mapping from still-bonded eras to the first session index of that era.
@@ -823,7 +818,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
823
818
  *
824
819
  * @param {Callback<Array<[number, number]>> =} callback
825
820
  **/
826
- bondedEras: GenericStorageQuery<Rv, () => Array<[number, number]>>;
821
+ bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
827
822
 
828
823
  /**
829
824
  * All slashing events on validators, mapped by era to the highest slash proportion
@@ -833,7 +828,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
833
828
  * @param {Callback<[Perbill, bigint] | undefined> =} callback
834
829
  **/
835
830
  validatorSlashInEra: GenericStorageQuery<
836
- Rv,
837
831
  (arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
838
832
  [number, AccountId32]
839
833
  >;
@@ -845,7 +839,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
845
839
  * @param {Callback<bigint | undefined> =} callback
846
840
  **/
847
841
  nominatorSlashInEra: GenericStorageQuery<
848
- Rv,
849
842
  (arg: [number, AccountId32Like]) => bigint | undefined,
850
843
  [number, AccountId32]
851
844
  >;
@@ -857,7 +850,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
857
850
  * @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
858
851
  **/
859
852
  slashingSpans: GenericStorageQuery<
860
- Rv,
861
853
  (arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined,
862
854
  AccountId32
863
855
  >;
@@ -870,7 +862,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
870
862
  * @param {Callback<PalletStakingSlashingSpanRecord> =} callback
871
863
  **/
872
864
  spanSlash: GenericStorageQuery<
873
- Rv,
874
865
  (arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord,
875
866
  [AccountId32, number]
876
867
  >;
@@ -882,7 +873,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
882
873
  *
883
874
  * @param {Callback<number> =} callback
884
875
  **/
885
- currentPlannedSession: GenericStorageQuery<Rv, () => number>;
876
+ currentPlannedSession: GenericStorageQuery<() => number>;
886
877
 
887
878
  /**
888
879
  * Indices of validators that have offended in the active era and whether they are currently
@@ -897,7 +888,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
897
888
  *
898
889
  * @param {Callback<Array<[number, boolean]>> =} callback
899
890
  **/
900
- offendingValidators: GenericStorageQuery<Rv, () => Array<[number, boolean]>>;
891
+ offendingValidators: GenericStorageQuery<() => Array<[number, boolean]>>;
901
892
 
902
893
  /**
903
894
  * The threshold for when users can start calling `chill_other` for other validators /
@@ -906,12 +897,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
906
897
  *
907
898
  * @param {Callback<Percent | undefined> =} callback
908
899
  **/
909
- chillThreshold: GenericStorageQuery<Rv, () => Percent | undefined>;
900
+ chillThreshold: GenericStorageQuery<() => Percent | undefined>;
910
901
 
911
902
  /**
912
903
  * Generic pallet storage query
913
904
  **/
914
- [storage: string]: GenericStorageQuery<Rv>;
905
+ [storage: string]: GenericStorageQuery;
915
906
  };
916
907
  /**
917
908
  * Pallet `History`'s storage queries
@@ -923,19 +914,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
923
914
  * @param {number} arg
924
915
  * @param {Callback<[H256, number] | undefined> =} callback
925
916
  **/
926
- historicalSessions: GenericStorageQuery<Rv, (arg: number) => [H256, number] | undefined, number>;
917
+ historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
927
918
 
928
919
  /**
929
920
  * The range of historical sessions we store. [first, last)
930
921
  *
931
922
  * @param {Callback<[number, number] | undefined> =} callback
932
923
  **/
933
- storedRange: GenericStorageQuery<Rv, () => [number, number] | undefined>;
924
+ storedRange: GenericStorageQuery<() => [number, number] | undefined>;
934
925
 
935
926
  /**
936
927
  * Generic pallet storage query
937
928
  **/
938
- [storage: string]: GenericStorageQuery<Rv>;
929
+ [storage: string]: GenericStorageQuery;
939
930
  };
940
931
  /**
941
932
  * Pallet `Session`'s storage queries
@@ -946,14 +937,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
946
937
  *
947
938
  * @param {Callback<Array<AccountId32>> =} callback
948
939
  **/
949
- validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
940
+ validators: GenericStorageQuery<() => Array<AccountId32>>;
950
941
 
951
942
  /**
952
943
  * Current index of the session.
953
944
  *
954
945
  * @param {Callback<number> =} callback
955
946
  **/
956
- currentIndex: GenericStorageQuery<Rv, () => number>;
947
+ currentIndex: GenericStorageQuery<() => number>;
957
948
 
958
949
  /**
959
950
  * True if the underlying economic identities or weighting behind the validators
@@ -961,7 +952,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
961
952
  *
962
953
  * @param {Callback<boolean> =} callback
963
954
  **/
964
- queuedChanged: GenericStorageQuery<Rv, () => boolean>;
955
+ queuedChanged: GenericStorageQuery<() => boolean>;
965
956
 
966
957
  /**
967
958
  * The queued keys for the next session. When the next session begins, these keys
@@ -969,7 +960,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
969
960
  *
970
961
  * @param {Callback<Array<[AccountId32, PrimitivesAlephNodeSessionKeys]>> =} callback
971
962
  **/
972
- queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, PrimitivesAlephNodeSessionKeys]>>;
963
+ queuedKeys: GenericStorageQuery<() => Array<[AccountId32, PrimitivesAlephNodeSessionKeys]>>;
973
964
 
974
965
  /**
975
966
  * Indices of disabled validators.
@@ -980,7 +971,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
980
971
  *
981
972
  * @param {Callback<Array<number>> =} callback
982
973
  **/
983
- disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
974
+ disabledValidators: GenericStorageQuery<() => Array<number>>;
984
975
 
985
976
  /**
986
977
  * The next session keys for a validator.
@@ -988,11 +979,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
988
979
  * @param {AccountId32Like} arg
989
980
  * @param {Callback<PrimitivesAlephNodeSessionKeys | undefined> =} callback
990
981
  **/
991
- nextKeys: GenericStorageQuery<
992
- Rv,
993
- (arg: AccountId32Like) => PrimitivesAlephNodeSessionKeys | undefined,
994
- AccountId32
995
- >;
982
+ nextKeys: GenericStorageQuery<(arg: AccountId32Like) => PrimitivesAlephNodeSessionKeys | undefined, AccountId32>;
996
983
 
997
984
  /**
998
985
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
@@ -1001,7 +988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1001
988
  * @param {Callback<AccountId32 | undefined> =} callback
1002
989
  **/
1003
990
  keyOwner: GenericStorageQuery<
1004
- Rv,
1005
991
  (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
1006
992
  [SpCoreCryptoKeyTypeId, Bytes]
1007
993
  >;
@@ -1009,7 +995,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1009
995
  /**
1010
996
  * Generic pallet storage query
1011
997
  **/
1012
- [storage: string]: GenericStorageQuery<Rv>;
998
+ [storage: string]: GenericStorageQuery;
1013
999
  };
1014
1000
  /**
1015
1001
  * Pallet `Aleph`'s storage queries
@@ -1019,82 +1005,82 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1019
1005
  *
1020
1006
  * @param {Callback<bigint> =} callback
1021
1007
  **/
1022
- azeroCap: GenericStorageQuery<Rv, () => bigint>;
1008
+ azeroCap: GenericStorageQuery<() => bigint>;
1023
1009
 
1024
1010
  /**
1025
1011
  *
1026
1012
  * @param {Callback<bigint> =} callback
1027
1013
  **/
1028
- exponentialInflationHorizon: GenericStorageQuery<Rv, () => bigint>;
1014
+ exponentialInflationHorizon: GenericStorageQuery<() => bigint>;
1029
1015
 
1030
1016
  /**
1031
1017
  *
1032
1018
  * @param {Callback<Array<PrimitivesAppPublic>> =} callback
1033
1019
  **/
1034
- authorities: GenericStorageQuery<Rv, () => Array<PrimitivesAppPublic>>;
1020
+ authorities: GenericStorageQuery<() => Array<PrimitivesAppPublic>>;
1035
1021
 
1036
1022
  /**
1037
1023
  *
1038
1024
  * @param {Callback<Array<PrimitivesAppPublic>> =} callback
1039
1025
  **/
1040
- nextAuthorities: GenericStorageQuery<Rv, () => Array<PrimitivesAppPublic>>;
1026
+ nextAuthorities: GenericStorageQuery<() => Array<PrimitivesAppPublic>>;
1041
1027
 
1042
1028
  /**
1043
1029
  * Set of account ids that will be used as authorities in the next session
1044
1030
  *
1045
1031
  * @param {Callback<Array<AccountId32>> =} callback
1046
1032
  **/
1047
- nextFinalityCommittee: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1033
+ nextFinalityCommittee: GenericStorageQuery<() => Array<AccountId32>>;
1048
1034
 
1049
1035
  /**
1050
1036
  *
1051
1037
  * @param {Callback<PrimitivesAppPublic | undefined> =} callback
1052
1038
  **/
1053
- emergencyFinalizer: GenericStorageQuery<Rv, () => PrimitivesAppPublic | undefined>;
1039
+ emergencyFinalizer: GenericStorageQuery<() => PrimitivesAppPublic | undefined>;
1054
1040
 
1055
1041
  /**
1056
1042
  *
1057
1043
  * @param {Callback<PrimitivesAppPublic | undefined> =} callback
1058
1044
  **/
1059
- queuedEmergencyFinalizer: GenericStorageQuery<Rv, () => PrimitivesAppPublic | undefined>;
1045
+ queuedEmergencyFinalizer: GenericStorageQuery<() => PrimitivesAppPublic | undefined>;
1060
1046
 
1061
1047
  /**
1062
1048
  *
1063
1049
  * @param {Callback<PrimitivesAppPublic | undefined> =} callback
1064
1050
  **/
1065
- nextEmergencyFinalizer: GenericStorageQuery<Rv, () => PrimitivesAppPublic | undefined>;
1051
+ nextEmergencyFinalizer: GenericStorageQuery<() => PrimitivesAppPublic | undefined>;
1066
1052
 
1067
1053
  /**
1068
1054
  * Current finality version.
1069
1055
  *
1070
1056
  * @param {Callback<number> =} callback
1071
1057
  **/
1072
- finalityVersion: GenericStorageQuery<Rv, () => number>;
1058
+ finalityVersion: GenericStorageQuery<() => number>;
1073
1059
 
1074
1060
  /**
1075
1061
  * Scheduled finality version change.
1076
1062
  *
1077
1063
  * @param {Callback<PrimitivesVersionChange | undefined> =} callback
1078
1064
  **/
1079
- finalityScheduledVersionChange: GenericStorageQuery<Rv, () => PrimitivesVersionChange | undefined>;
1065
+ finalityScheduledVersionChange: GenericStorageQuery<() => PrimitivesVersionChange | undefined>;
1080
1066
 
1081
1067
  /**
1082
1068
  *
1083
1069
  * @param {number} arg
1084
1070
  * @param {Callback<PrimitivesScore | undefined> =} callback
1085
1071
  **/
1086
- abftScores: GenericStorageQuery<Rv, (arg: number) => PrimitivesScore | undefined, number>;
1072
+ abftScores: GenericStorageQuery<(arg: number) => PrimitivesScore | undefined, number>;
1087
1073
 
1088
1074
  /**
1089
1075
  *
1090
1076
  * @param {Callback<number> =} callback
1091
1077
  **/
1092
- lastScoreNonce: GenericStorageQuery<Rv, () => number>;
1078
+ lastScoreNonce: GenericStorageQuery<() => number>;
1093
1079
 
1094
1080
  /**
1095
1081
  * Generic pallet storage query
1096
1082
  **/
1097
- [storage: string]: GenericStorageQuery<Rv>;
1083
+ [storage: string]: GenericStorageQuery;
1098
1084
  };
1099
1085
  /**
1100
1086
  * Pallet `Elections`'s storage queries
@@ -1105,35 +1091,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1105
1091
  *
1106
1092
  * @param {Callback<PrimitivesCommitteeSeats> =} callback
1107
1093
  **/
1108
- committeeSize: GenericStorageQuery<Rv, () => PrimitivesCommitteeSeats>;
1094
+ committeeSize: GenericStorageQuery<() => PrimitivesCommitteeSeats>;
1109
1095
 
1110
1096
  /**
1111
1097
  * Desired size of a committee in effect from a new era.
1112
1098
  *
1113
1099
  * @param {Callback<PrimitivesCommitteeSeats> =} callback
1114
1100
  **/
1115
- nextEraCommitteeSize: GenericStorageQuery<Rv, () => PrimitivesCommitteeSeats>;
1101
+ nextEraCommitteeSize: GenericStorageQuery<() => PrimitivesCommitteeSeats>;
1116
1102
 
1117
1103
  /**
1118
1104
  * Next era's list of reserved validators.
1119
1105
  *
1120
1106
  * @param {Callback<Array<AccountId32>> =} callback
1121
1107
  **/
1122
- nextEraReservedValidators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1108
+ nextEraReservedValidators: GenericStorageQuery<() => Array<AccountId32>>;
1123
1109
 
1124
1110
  /**
1125
1111
  * Current era's list of reserved validators.
1126
1112
  *
1127
1113
  * @param {Callback<PrimitivesEraValidators> =} callback
1128
1114
  **/
1129
- currentEraValidators: GenericStorageQuery<Rv, () => PrimitivesEraValidators>;
1115
+ currentEraValidators: GenericStorageQuery<() => PrimitivesEraValidators>;
1130
1116
 
1131
1117
  /**
1132
1118
  * Next era's list of non reserved validators.
1133
1119
  *
1134
1120
  * @param {Callback<Array<AccountId32>> =} callback
1135
1121
  **/
1136
- nextEraNonReservedValidators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
1122
+ nextEraNonReservedValidators: GenericStorageQuery<() => Array<AccountId32>>;
1137
1123
 
1138
1124
  /**
1139
1125
  * Openness of the elections, whether we allow all candidates that bonded enough tokens or
@@ -1141,12 +1127,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1141
1127
  *
1142
1128
  * @param {Callback<PrimitivesElectionOpenness> =} callback
1143
1129
  **/
1144
- openness: GenericStorageQuery<Rv, () => PrimitivesElectionOpenness>;
1130
+ openness: GenericStorageQuery<() => PrimitivesElectionOpenness>;
1145
1131
 
1146
1132
  /**
1147
1133
  * Generic pallet storage query
1148
1134
  **/
1149
- [storage: string]: GenericStorageQuery<Rv>;
1135
+ [storage: string]: GenericStorageQuery;
1150
1136
  };
1151
1137
  /**
1152
1138
  * Pallet `Treasury`'s storage queries
@@ -1157,7 +1143,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1157
1143
  *
1158
1144
  * @param {Callback<number> =} callback
1159
1145
  **/
1160
- proposalCount: GenericStorageQuery<Rv, () => number>;
1146
+ proposalCount: GenericStorageQuery<() => number>;
1161
1147
 
1162
1148
  /**
1163
1149
  * Proposals that have been made.
@@ -1165,28 +1151,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1165
1151
  * @param {number} arg
1166
1152
  * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1167
1153
  **/
1168
- proposals: GenericStorageQuery<Rv, (arg: number) => PalletTreasuryProposal | undefined, number>;
1154
+ proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
1169
1155
 
1170
1156
  /**
1171
1157
  * The amount which has been reported as inactive to Currency.
1172
1158
  *
1173
1159
  * @param {Callback<bigint> =} callback
1174
1160
  **/
1175
- deactivated: GenericStorageQuery<Rv, () => bigint>;
1161
+ deactivated: GenericStorageQuery<() => bigint>;
1176
1162
 
1177
1163
  /**
1178
1164
  * Proposal indices that have been approved but not yet awarded.
1179
1165
  *
1180
1166
  * @param {Callback<Array<number>> =} callback
1181
1167
  **/
1182
- approvals: GenericStorageQuery<Rv, () => Array<number>>;
1168
+ approvals: GenericStorageQuery<() => Array<number>>;
1183
1169
 
1184
1170
  /**
1185
1171
  * The count of spends that have been made.
1186
1172
  *
1187
1173
  * @param {Callback<number> =} callback
1188
1174
  **/
1189
- spendCount: GenericStorageQuery<Rv, () => number>;
1175
+ spendCount: GenericStorageQuery<() => number>;
1190
1176
 
1191
1177
  /**
1192
1178
  * Spends that have been approved and being processed.
@@ -1194,12 +1180,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1194
1180
  * @param {number} arg
1195
1181
  * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1196
1182
  **/
1197
- spends: GenericStorageQuery<Rv, (arg: number) => PalletTreasurySpendStatus | undefined, number>;
1183
+ spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
1198
1184
 
1199
1185
  /**
1200
1186
  * Generic pallet storage query
1201
1187
  **/
1202
- [storage: string]: GenericStorageQuery<Rv>;
1188
+ [storage: string]: GenericStorageQuery;
1203
1189
  };
1204
1190
  /**
1205
1191
  * Pallet `Vesting`'s storage queries
@@ -1211,11 +1197,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1211
1197
  * @param {AccountId32Like} arg
1212
1198
  * @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
1213
1199
  **/
1214
- vesting: GenericStorageQuery<
1215
- Rv,
1216
- (arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
1217
- AccountId32
1218
- >;
1200
+ vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
1219
1201
 
1220
1202
  /**
1221
1203
  * Storage version of the pallet.
@@ -1224,12 +1206,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1224
1206
  *
1225
1207
  * @param {Callback<PalletVestingReleases> =} callback
1226
1208
  **/
1227
- storageVersion: GenericStorageQuery<Rv, () => PalletVestingReleases>;
1209
+ storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
1228
1210
 
1229
1211
  /**
1230
1212
  * Generic pallet storage query
1231
1213
  **/
1232
- [storage: string]: GenericStorageQuery<Rv>;
1214
+ [storage: string]: GenericStorageQuery;
1233
1215
  };
1234
1216
  /**
1235
1217
  * Pallet `Multisig`'s storage queries
@@ -1242,7 +1224,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1242
1224
  * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1243
1225
  **/
1244
1226
  multisigs: GenericStorageQuery<
1245
- Rv,
1246
1227
  (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
1247
1228
  [AccountId32, FixedBytes<32>]
1248
1229
  >;
@@ -1250,7 +1231,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1250
1231
  /**
1251
1232
  * Generic pallet storage query
1252
1233
  **/
1253
- [storage: string]: GenericStorageQuery<Rv>;
1234
+ [storage: string]: GenericStorageQuery;
1254
1235
  };
1255
1236
  /**
1256
1237
  * Pallet `Sudo`'s storage queries
@@ -1261,12 +1242,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1261
1242
  *
1262
1243
  * @param {Callback<AccountId32 | undefined> =} callback
1263
1244
  **/
1264
- key: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
1245
+ key: GenericStorageQuery<() => AccountId32 | undefined>;
1265
1246
 
1266
1247
  /**
1267
1248
  * Generic pallet storage query
1268
1249
  **/
1269
- [storage: string]: GenericStorageQuery<Rv>;
1250
+ [storage: string]: GenericStorageQuery;
1270
1251
  };
1271
1252
  /**
1272
1253
  * Pallet `Contracts`'s storage queries
@@ -1278,7 +1259,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1278
1259
  * @param {H256} arg
1279
1260
  * @param {Callback<Bytes | undefined> =} callback
1280
1261
  **/
1281
- pristineCode: GenericStorageQuery<Rv, (arg: H256) => Bytes | undefined, H256>;
1262
+ pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
1282
1263
 
1283
1264
  /**
1284
1265
  * A mapping from a contract's code hash to its code info.
@@ -1286,7 +1267,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1286
1267
  * @param {H256} arg
1287
1268
  * @param {Callback<PalletContractsWasmCodeInfo | undefined> =} callback
1288
1269
  **/
1289
- codeInfoOf: GenericStorageQuery<Rv, (arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
1270
+ codeInfoOf: GenericStorageQuery<(arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
1290
1271
 
1291
1272
  /**
1292
1273
  * This is a **monotonic** counter incremented on contract instantiation.
@@ -1314,7 +1295,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1314
1295
  *
1315
1296
  * @param {Callback<bigint> =} callback
1316
1297
  **/
1317
- nonce: GenericStorageQuery<Rv, () => bigint>;
1298
+ nonce: GenericStorageQuery<() => bigint>;
1318
1299
 
1319
1300
  /**
1320
1301
  * The code associated with a given account.
@@ -1325,7 +1306,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1325
1306
  * @param {Callback<PalletContractsStorageContractInfo | undefined> =} callback
1326
1307
  **/
1327
1308
  contractInfoOf: GenericStorageQuery<
1328
- Rv,
1329
1309
  (arg: AccountId32Like) => PalletContractsStorageContractInfo | undefined,
1330
1310
  AccountId32
1331
1311
  >;
@@ -1339,7 +1319,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1339
1319
  * @param {number} arg
1340
1320
  * @param {Callback<Bytes | undefined> =} callback
1341
1321
  **/
1342
- deletionQueue: GenericStorageQuery<Rv, (arg: number) => Bytes | undefined, number>;
1322
+ deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
1343
1323
 
1344
1324
  /**
1345
1325
  * A pair of monotonic counters used to track the latest contract marked for deletion
@@ -1347,7 +1327,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1347
1327
  *
1348
1328
  * @param {Callback<PalletContractsStorageDeletionQueueManager> =} callback
1349
1329
  **/
1350
- deletionQueueCounter: GenericStorageQuery<Rv, () => PalletContractsStorageDeletionQueueManager>;
1330
+ deletionQueueCounter: GenericStorageQuery<() => PalletContractsStorageDeletionQueueManager>;
1351
1331
 
1352
1332
  /**
1353
1333
  * A migration can span across multiple blocks. This storage defines a cursor to track the
@@ -1355,12 +1335,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1355
1335
  *
1356
1336
  * @param {Callback<Bytes | undefined> =} callback
1357
1337
  **/
1358
- migrationInProgress: GenericStorageQuery<Rv, () => Bytes | undefined>;
1338
+ migrationInProgress: GenericStorageQuery<() => Bytes | undefined>;
1359
1339
 
1360
1340
  /**
1361
1341
  * Generic pallet storage query
1362
1342
  **/
1363
- [storage: string]: GenericStorageQuery<Rv>;
1343
+ [storage: string]: GenericStorageQuery;
1364
1344
  };
1365
1345
  /**
1366
1346
  * Pallet `NominationPools`'s storage queries
@@ -1375,14 +1355,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1375
1355
  *
1376
1356
  * @param {Callback<bigint> =} callback
1377
1357
  **/
1378
- totalValueLocked: GenericStorageQuery<Rv, () => bigint>;
1358
+ totalValueLocked: GenericStorageQuery<() => bigint>;
1379
1359
 
1380
1360
  /**
1381
1361
  * Minimum amount to bond to join a pool.
1382
1362
  *
1383
1363
  * @param {Callback<bigint> =} callback
1384
1364
  **/
1385
- minJoinBond: GenericStorageQuery<Rv, () => bigint>;
1365
+ minJoinBond: GenericStorageQuery<() => bigint>;
1386
1366
 
1387
1367
  /**
1388
1368
  * Minimum bond required to create a pool.
@@ -1395,7 +1375,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1395
1375
  *
1396
1376
  * @param {Callback<bigint> =} callback
1397
1377
  **/
1398
- minCreateBond: GenericStorageQuery<Rv, () => bigint>;
1378
+ minCreateBond: GenericStorageQuery<() => bigint>;
1399
1379
 
1400
1380
  /**
1401
1381
  * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
@@ -1403,7 +1383,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1403
1383
  *
1404
1384
  * @param {Callback<number | undefined> =} callback
1405
1385
  **/
1406
- maxPools: GenericStorageQuery<Rv, () => number | undefined>;
1386
+ maxPools: GenericStorageQuery<() => number | undefined>;
1407
1387
 
1408
1388
  /**
1409
1389
  * Maximum number of members that can exist in the system. If `None`, then the count
@@ -1411,7 +1391,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1411
1391
  *
1412
1392
  * @param {Callback<number | undefined> =} callback
1413
1393
  **/
1414
- maxPoolMembers: GenericStorageQuery<Rv, () => number | undefined>;
1394
+ maxPoolMembers: GenericStorageQuery<() => number | undefined>;
1415
1395
 
1416
1396
  /**
1417
1397
  * Maximum number of members that may belong to pool. If `None`, then the count of
@@ -1419,7 +1399,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1419
1399
  *
1420
1400
  * @param {Callback<number | undefined> =} callback
1421
1401
  **/
1422
- maxPoolMembersPerPool: GenericStorageQuery<Rv, () => number | undefined>;
1402
+ maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
1423
1403
 
1424
1404
  /**
1425
1405
  * The maximum commission that can be charged by a pool. Used on commission payouts to bound
@@ -1428,7 +1408,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1428
1408
  *
1429
1409
  * @param {Callback<Perbill | undefined> =} callback
1430
1410
  **/
1431
- globalMaxCommission: GenericStorageQuery<Rv, () => Perbill | undefined>;
1411
+ globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
1432
1412
 
1433
1413
  /**
1434
1414
  * Active members.
@@ -1439,7 +1419,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1439
1419
  * @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
1440
1420
  **/
1441
1421
  poolMembers: GenericStorageQuery<
1442
- Rv,
1443
1422
  (arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
1444
1423
  AccountId32
1445
1424
  >;
@@ -1449,7 +1428,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1449
1428
  *
1450
1429
  * @param {Callback<number> =} callback
1451
1430
  **/
1452
- counterForPoolMembers: GenericStorageQuery<Rv, () => number>;
1431
+ counterForPoolMembers: GenericStorageQuery<() => number>;
1453
1432
 
1454
1433
  /**
1455
1434
  * Storage for bonded pools.
@@ -1457,14 +1436,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1457
1436
  * @param {number} arg
1458
1437
  * @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
1459
1438
  **/
1460
- bondedPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
1439
+ bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
1461
1440
 
1462
1441
  /**
1463
1442
  * Counter for the related counted storage map
1464
1443
  *
1465
1444
  * @param {Callback<number> =} callback
1466
1445
  **/
1467
- counterForBondedPools: GenericStorageQuery<Rv, () => number>;
1446
+ counterForBondedPools: GenericStorageQuery<() => number>;
1468
1447
 
1469
1448
  /**
1470
1449
  * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
@@ -1473,14 +1452,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1473
1452
  * @param {number} arg
1474
1453
  * @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
1475
1454
  **/
1476
- rewardPools: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
1455
+ rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
1477
1456
 
1478
1457
  /**
1479
1458
  * Counter for the related counted storage map
1480
1459
  *
1481
1460
  * @param {Callback<number> =} callback
1482
1461
  **/
1483
- counterForRewardPools: GenericStorageQuery<Rv, () => number>;
1462
+ counterForRewardPools: GenericStorageQuery<() => number>;
1484
1463
 
1485
1464
  /**
1486
1465
  * Groups of unbonding pools. Each group of unbonding pools belongs to a
@@ -1489,14 +1468,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1489
1468
  * @param {number} arg
1490
1469
  * @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
1491
1470
  **/
1492
- subPoolsStorage: GenericStorageQuery<Rv, (arg: number) => PalletNominationPoolsSubPools | undefined, number>;
1471
+ subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
1493
1472
 
1494
1473
  /**
1495
1474
  * Counter for the related counted storage map
1496
1475
  *
1497
1476
  * @param {Callback<number> =} callback
1498
1477
  **/
1499
- counterForSubPoolsStorage: GenericStorageQuery<Rv, () => number>;
1478
+ counterForSubPoolsStorage: GenericStorageQuery<() => number>;
1500
1479
 
1501
1480
  /**
1502
1481
  * Metadata for the pool.
@@ -1504,21 +1483,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1504
1483
  * @param {number} arg
1505
1484
  * @param {Callback<Bytes> =} callback
1506
1485
  **/
1507
- metadata: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
1486
+ metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
1508
1487
 
1509
1488
  /**
1510
1489
  * Counter for the related counted storage map
1511
1490
  *
1512
1491
  * @param {Callback<number> =} callback
1513
1492
  **/
1514
- counterForMetadata: GenericStorageQuery<Rv, () => number>;
1493
+ counterForMetadata: GenericStorageQuery<() => number>;
1515
1494
 
1516
1495
  /**
1517
1496
  * Ever increasing number of all pools created so far.
1518
1497
  *
1519
1498
  * @param {Callback<number> =} callback
1520
1499
  **/
1521
- lastPoolId: GenericStorageQuery<Rv, () => number>;
1500
+ lastPoolId: GenericStorageQuery<() => number>;
1522
1501
 
1523
1502
  /**
1524
1503
  * A reverse lookup from the pool's account id to its id.
@@ -1529,14 +1508,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1529
1508
  * @param {AccountId32Like} arg
1530
1509
  * @param {Callback<number | undefined> =} callback
1531
1510
  **/
1532
- reversePoolIdLookup: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
1511
+ reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
1533
1512
 
1534
1513
  /**
1535
1514
  * Counter for the related counted storage map
1536
1515
  *
1537
1516
  * @param {Callback<number> =} callback
1538
1517
  **/
1539
- counterForReversePoolIdLookup: GenericStorageQuery<Rv, () => number>;
1518
+ counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
1540
1519
 
1541
1520
  /**
1542
1521
  * Map from a pool member account to their opted claim permission.
@@ -1544,16 +1523,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1544
1523
  * @param {AccountId32Like} arg
1545
1524
  * @param {Callback<PalletNominationPoolsClaimPermission> =} callback
1546
1525
  **/
1547
- claimPermissions: GenericStorageQuery<
1548
- Rv,
1549
- (arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
1550
- AccountId32
1551
- >;
1526
+ claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
1552
1527
 
1553
1528
  /**
1554
1529
  * Generic pallet storage query
1555
1530
  **/
1556
- [storage: string]: GenericStorageQuery<Rv>;
1531
+ [storage: string]: GenericStorageQuery;
1557
1532
  };
1558
1533
  /**
1559
1534
  * Pallet `Identity`'s storage queries
@@ -1569,7 +1544,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1569
1544
  * @param {Callback<[PalletIdentityRegistration, Bytes | undefined] | undefined> =} callback
1570
1545
  **/
1571
1546
  identityOf: GenericStorageQuery<
1572
- Rv,
1573
1547
  (arg: AccountId32Like) => [PalletIdentityRegistration, Bytes | undefined] | undefined,
1574
1548
  AccountId32
1575
1549
  >;
@@ -1581,7 +1555,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1581
1555
  * @param {AccountId32Like} arg
1582
1556
  * @param {Callback<[AccountId32, Data] | undefined> =} callback
1583
1557
  **/
1584
- superOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
1558
+ superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
1585
1559
 
1586
1560
  /**
1587
1561
  * Alternative "sub" identities of this account.
@@ -1593,7 +1567,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1593
1567
  * @param {AccountId32Like} arg
1594
1568
  * @param {Callback<[bigint, Array<AccountId32>]> =} callback
1595
1569
  **/
1596
- subsOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
1570
+ subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
1597
1571
 
1598
1572
  /**
1599
1573
  * The set of registrars. Not expected to get very big as can only be added through a
@@ -1603,7 +1577,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1603
1577
  *
1604
1578
  * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
1605
1579
  **/
1606
- registrars: GenericStorageQuery<Rv, () => Array<PalletIdentityRegistrarInfo | undefined>>;
1580
+ registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
1607
1581
 
1608
1582
  /**
1609
1583
  * A map of the accounts who are authorized to grant usernames.
@@ -1612,7 +1586,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1612
1586
  * @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
1613
1587
  **/
1614
1588
  usernameAuthorities: GenericStorageQuery<
1615
- Rv,
1616
1589
  (arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
1617
1590
  AccountId32
1618
1591
  >;
@@ -1627,7 +1600,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1627
1600
  * @param {BytesLike} arg
1628
1601
  * @param {Callback<AccountId32 | undefined> =} callback
1629
1602
  **/
1630
- accountOfUsername: GenericStorageQuery<Rv, (arg: BytesLike) => AccountId32 | undefined, Bytes>;
1603
+ accountOfUsername: GenericStorageQuery<(arg: BytesLike) => AccountId32 | undefined, Bytes>;
1631
1604
 
1632
1605
  /**
1633
1606
  * Usernames that an authority has granted, but that the account controller has not confirmed
@@ -1640,12 +1613,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1640
1613
  * @param {BytesLike} arg
1641
1614
  * @param {Callback<[AccountId32, number] | undefined> =} callback
1642
1615
  **/
1643
- pendingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
1616
+ pendingUsernames: GenericStorageQuery<(arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
1644
1617
 
1645
1618
  /**
1646
1619
  * Generic pallet storage query
1647
1620
  **/
1648
- [storage: string]: GenericStorageQuery<Rv>;
1621
+ [storage: string]: GenericStorageQuery;
1649
1622
  };
1650
1623
  /**
1651
1624
  * Pallet `CommitteeManagement`'s storage queries
@@ -1655,7 +1628,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1655
1628
  *
1656
1629
  * @param {Callback<Perquintill> =} callback
1657
1630
  **/
1658
- lenientThreshold: GenericStorageQuery<Rv, () => Perquintill>;
1631
+ lenientThreshold: GenericStorageQuery<() => Perquintill>;
1659
1632
 
1660
1633
  /**
1661
1634
  * A lookup how many blocks a validator produced.
@@ -1663,21 +1636,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1663
1636
  * @param {AccountId32Like} arg
1664
1637
  * @param {Callback<number> =} callback
1665
1638
  **/
1666
- sessionValidatorBlockCount: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
1639
+ sessionValidatorBlockCount: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
1667
1640
 
1668
1641
  /**
1669
1642
  * Total possible reward per validator for the current era.
1670
1643
  *
1671
1644
  * @param {Callback<PalletCommitteeManagementValidatorTotalRewards | undefined> =} callback
1672
1645
  **/
1673
- validatorEraTotalReward: GenericStorageQuery<Rv, () => PalletCommitteeManagementValidatorTotalRewards | undefined>;
1646
+ validatorEraTotalReward: GenericStorageQuery<() => PalletCommitteeManagementValidatorTotalRewards | undefined>;
1674
1647
 
1675
1648
  /**
1676
1649
  * Current era config for ban functionality related to block production.
1677
1650
  *
1678
1651
  * @param {Callback<PrimitivesProductionBanConfig> =} callback
1679
1652
  **/
1680
- productionBanConfig: GenericStorageQuery<Rv, () => PrimitivesProductionBanConfig>;
1653
+ productionBanConfig: GenericStorageQuery<() => PrimitivesProductionBanConfig>;
1681
1654
 
1682
1655
  /**
1683
1656
  * A lookup for a number of underperformance sessions in block production for a given validator
@@ -1685,7 +1658,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1685
1658
  * @param {AccountId32Like} arg
1686
1659
  * @param {Callback<number> =} callback
1687
1660
  **/
1688
- underperformedValidatorSessionCount: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
1661
+ underperformedValidatorSessionCount: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
1689
1662
 
1690
1663
  /**
1691
1664
  * Validators to be removed from non reserved list in the next era
@@ -1693,7 +1666,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1693
1666
  * @param {AccountId32Like} arg
1694
1667
  * @param {Callback<PrimitivesBanInfo | undefined> =} callback
1695
1668
  **/
1696
- banned: GenericStorageQuery<Rv, (arg: AccountId32Like) => PrimitivesBanInfo | undefined, AccountId32>;
1669
+ banned: GenericStorageQuery<(arg: AccountId32Like) => PrimitivesBanInfo | undefined, AccountId32>;
1697
1670
 
1698
1671
  /**
1699
1672
  * SessionValidators in the current session.
@@ -1701,7 +1674,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1701
1674
  * @param {Callback<PalletCommitteeManagementCurrentAndNextSessionValidators> =} callback
1702
1675
  **/
1703
1676
  currentAndNextSessionValidatorsStorage: GenericStorageQuery<
1704
- Rv,
1705
1677
  () => PalletCommitteeManagementCurrentAndNextSessionValidators
1706
1678
  >;
1707
1679
 
@@ -1711,19 +1683,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1711
1683
  * @param {AccountId32Like} arg
1712
1684
  * @param {Callback<number> =} callback
1713
1685
  **/
1714
- underperformedFinalizerSessionCount: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
1686
+ underperformedFinalizerSessionCount: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
1715
1687
 
1716
1688
  /**
1717
1689
  * Current era config for ban functionality related to block finality.
1718
1690
  *
1719
1691
  * @param {Callback<PrimitivesFinalityBanConfig> =} callback
1720
1692
  **/
1721
- finalityBanConfig: GenericStorageQuery<Rv, () => PrimitivesFinalityBanConfig>;
1693
+ finalityBanConfig: GenericStorageQuery<() => PrimitivesFinalityBanConfig>;
1722
1694
 
1723
1695
  /**
1724
1696
  * Generic pallet storage query
1725
1697
  **/
1726
- [storage: string]: GenericStorageQuery<Rv>;
1698
+ [storage: string]: GenericStorageQuery;
1727
1699
  };
1728
1700
  /**
1729
1701
  * Pallet `Proxy`'s storage queries
@@ -1736,11 +1708,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1736
1708
  * @param {AccountId32Like} arg
1737
1709
  * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1738
1710
  **/
1739
- proxies: GenericStorageQuery<
1740
- Rv,
1741
- (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
1742
- AccountId32
1743
- >;
1711
+ proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
1744
1712
 
1745
1713
  /**
1746
1714
  * The announcements made by the proxy (key).
@@ -1748,16 +1716,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1748
1716
  * @param {AccountId32Like} arg
1749
1717
  * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1750
1718
  **/
1751
- announcements: GenericStorageQuery<
1752
- Rv,
1753
- (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
1754
- AccountId32
1755
- >;
1719
+ announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
1756
1720
 
1757
1721
  /**
1758
1722
  * Generic pallet storage query
1759
1723
  **/
1760
- [storage: string]: GenericStorageQuery<Rv>;
1724
+ [storage: string]: GenericStorageQuery;
1761
1725
  };
1762
1726
  /**
1763
1727
  * Pallet `SafeMode`'s storage queries
@@ -1772,7 +1736,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1772
1736
  *
1773
1737
  * @param {Callback<number | undefined> =} callback
1774
1738
  **/
1775
- enteredUntil: GenericStorageQuery<Rv, () => number | undefined>;
1739
+ enteredUntil: GenericStorageQuery<() => number | undefined>;
1776
1740
 
1777
1741
  /**
1778
1742
  * Holds the reserve that was taken from an account at a specific block number.
@@ -1783,12 +1747,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1783
1747
  * @param {[AccountId32Like, number]} arg
1784
1748
  * @param {Callback<bigint | undefined> =} callback
1785
1749
  **/
1786
- deposits: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
1750
+ deposits: GenericStorageQuery<(arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
1787
1751
 
1788
1752
  /**
1789
1753
  * Generic pallet storage query
1790
1754
  **/
1791
- [storage: string]: GenericStorageQuery<Rv>;
1755
+ [storage: string]: GenericStorageQuery;
1792
1756
  };
1793
1757
  /**
1794
1758
  * Pallet `TxPause`'s storage queries
@@ -1800,11 +1764,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1800
1764
  * @param {[BytesLike, BytesLike]} arg
1801
1765
  * @param {Callback<[] | undefined> =} callback
1802
1766
  **/
1803
- pausedCalls: GenericStorageQuery<Rv, (arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
1767
+ pausedCalls: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
1804
1768
 
1805
1769
  /**
1806
1770
  * Generic pallet storage query
1807
1771
  **/
1808
- [storage: string]: GenericStorageQuery<Rv>;
1772
+ [storage: string]: GenericStorageQuery;
1809
1773
  };
1810
1774
  }