@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.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -4
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- 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
|
|
3
|
+
import type { GenericChainStorage, GenericStorageQuery, Callback } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
AccountId32,
|
|
6
6
|
AccountId32Like,
|
|
@@ -140,7 +140,7 @@ import type {
|
|
|
140
140
|
PalletRcMigratorQueuePriority,
|
|
141
141
|
} from './types.js';
|
|
142
142
|
|
|
143
|
-
export interface ChainStorage
|
|
143
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
144
144
|
/**
|
|
145
145
|
* Pallet `System`'s storage queries
|
|
146
146
|
**/
|
|
@@ -151,35 +151,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
151
151
|
* @param {AccountId32Like} arg
|
|
152
152
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
153
153
|
**/
|
|
154
|
-
account: GenericStorageQuery<
|
|
154
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Total extrinsics count for the current block.
|
|
158
158
|
*
|
|
159
159
|
* @param {Callback<number | undefined> =} callback
|
|
160
160
|
**/
|
|
161
|
-
extrinsicCount: GenericStorageQuery<
|
|
161
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Whether all inherents have been applied.
|
|
165
165
|
*
|
|
166
166
|
* @param {Callback<boolean> =} callback
|
|
167
167
|
**/
|
|
168
|
-
inherentsApplied: GenericStorageQuery<
|
|
168
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* The current weight for the block.
|
|
172
172
|
*
|
|
173
173
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
174
174
|
**/
|
|
175
|
-
blockWeight: GenericStorageQuery<
|
|
175
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
179
179
|
*
|
|
180
180
|
* @param {Callback<number | undefined> =} callback
|
|
181
181
|
**/
|
|
182
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
182
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Map of block numbers to block hashes.
|
|
@@ -187,7 +187,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
187
187
|
* @param {number} arg
|
|
188
188
|
* @param {Callback<H256> =} callback
|
|
189
189
|
**/
|
|
190
|
-
blockHash: GenericStorageQuery<
|
|
190
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -195,28 +195,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
195
195
|
* @param {number} arg
|
|
196
196
|
* @param {Callback<Bytes> =} callback
|
|
197
197
|
**/
|
|
198
|
-
extrinsicData: GenericStorageQuery<
|
|
198
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* The current block number being processed. Set by `execute_block`.
|
|
202
202
|
*
|
|
203
203
|
* @param {Callback<number> =} callback
|
|
204
204
|
**/
|
|
205
|
-
number: GenericStorageQuery<
|
|
205
|
+
number: GenericStorageQuery<() => number>;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* Hash of the previous block.
|
|
209
209
|
*
|
|
210
210
|
* @param {Callback<H256> =} callback
|
|
211
211
|
**/
|
|
212
|
-
parentHash: GenericStorageQuery<
|
|
212
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Digest of the current block, also part of the block header.
|
|
216
216
|
*
|
|
217
217
|
* @param {Callback<Digest> =} callback
|
|
218
218
|
**/
|
|
219
|
-
digest: GenericStorageQuery<
|
|
219
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Events deposited for the current block.
|
|
@@ -229,14 +229,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
229
229
|
*
|
|
230
230
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
231
231
|
**/
|
|
232
|
-
events: GenericStorageQuery<
|
|
232
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* The number of events in the `Events<T>` list.
|
|
236
236
|
*
|
|
237
237
|
* @param {Callback<number> =} callback
|
|
238
238
|
**/
|
|
239
|
-
eventCount: GenericStorageQuery<
|
|
239
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -253,21 +253,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
253
253
|
* @param {H256} arg
|
|
254
254
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
255
255
|
**/
|
|
256
|
-
eventTopics: GenericStorageQuery<
|
|
256
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
260
260
|
*
|
|
261
261
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
262
262
|
**/
|
|
263
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
263
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
267
267
|
*
|
|
268
268
|
* @param {Callback<boolean> =} callback
|
|
269
269
|
**/
|
|
270
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
270
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -275,21 +275,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
275
275
|
*
|
|
276
276
|
* @param {Callback<boolean> =} callback
|
|
277
277
|
**/
|
|
278
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
278
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* The execution phase of the block.
|
|
282
282
|
*
|
|
283
283
|
* @param {Callback<Phase | undefined> =} callback
|
|
284
284
|
**/
|
|
285
|
-
executionPhase: GenericStorageQuery<
|
|
285
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* `Some` if a code upgrade has been authorized.
|
|
289
289
|
*
|
|
290
290
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
291
291
|
**/
|
|
292
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
292
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* The weight reclaimed for the extrinsic.
|
|
@@ -302,12 +302,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
302
302
|
*
|
|
303
303
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
304
304
|
**/
|
|
305
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
305
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* Generic pallet storage query
|
|
309
309
|
**/
|
|
310
|
-
[storage: string]: GenericStorageQuery
|
|
310
|
+
[storage: string]: GenericStorageQuery;
|
|
311
311
|
};
|
|
312
312
|
/**
|
|
313
313
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -323,7 +323,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
323
323
|
*
|
|
324
324
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
325
325
|
**/
|
|
326
|
-
unincludedSegment: GenericStorageQuery<
|
|
326
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -333,7 +333,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
333
333
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
334
334
|
**/
|
|
335
335
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
336
|
-
Rv,
|
|
337
336
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
338
337
|
>;
|
|
339
338
|
|
|
@@ -347,7 +346,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
347
346
|
*
|
|
348
347
|
* @param {Callback<Bytes> =} callback
|
|
349
348
|
**/
|
|
350
|
-
pendingValidationCode: GenericStorageQuery<
|
|
349
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
351
350
|
|
|
352
351
|
/**
|
|
353
352
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -358,7 +357,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
358
357
|
*
|
|
359
358
|
* @param {Callback<Bytes | undefined> =} callback
|
|
360
359
|
**/
|
|
361
|
-
newValidationCode: GenericStorageQuery<
|
|
360
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
362
361
|
|
|
363
362
|
/**
|
|
364
363
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -367,14 +366,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
367
366
|
*
|
|
368
367
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
369
368
|
**/
|
|
370
|
-
validationData: GenericStorageQuery<
|
|
369
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
371
370
|
|
|
372
371
|
/**
|
|
373
372
|
* Were the validation data set to notify the relay chain?
|
|
374
373
|
*
|
|
375
374
|
* @param {Callback<boolean> =} callback
|
|
376
375
|
**/
|
|
377
|
-
didSetValidationCode: GenericStorageQuery<
|
|
376
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
378
377
|
|
|
379
378
|
/**
|
|
380
379
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -383,7 +382,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
383
382
|
*
|
|
384
383
|
* @param {Callback<number> =} callback
|
|
385
384
|
**/
|
|
386
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
385
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
387
386
|
|
|
388
387
|
/**
|
|
389
388
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -396,7 +395,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
396
395
|
*
|
|
397
396
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
398
397
|
**/
|
|
399
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
398
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
400
399
|
|
|
401
400
|
/**
|
|
402
401
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -407,7 +406,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
407
406
|
*
|
|
408
407
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
409
408
|
**/
|
|
410
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
409
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
411
410
|
|
|
412
411
|
/**
|
|
413
412
|
* The state proof for the last relay parent block.
|
|
@@ -419,7 +418,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
419
418
|
*
|
|
420
419
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
421
420
|
**/
|
|
422
|
-
relayStateProof: GenericStorageQuery<
|
|
421
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
423
422
|
|
|
424
423
|
/**
|
|
425
424
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -433,7 +432,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
433
432
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
434
433
|
**/
|
|
435
434
|
relevantMessagingState: GenericStorageQuery<
|
|
436
|
-
Rv,
|
|
437
435
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
438
436
|
>;
|
|
439
437
|
|
|
@@ -447,7 +445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
447
445
|
*
|
|
448
446
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
449
447
|
**/
|
|
450
|
-
hostConfiguration: GenericStorageQuery<
|
|
448
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
451
449
|
|
|
452
450
|
/**
|
|
453
451
|
* The last downward message queue chain head we have observed.
|
|
@@ -457,7 +455,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
457
455
|
*
|
|
458
456
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
459
457
|
**/
|
|
460
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
458
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
461
459
|
|
|
462
460
|
/**
|
|
463
461
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -468,7 +466,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
468
466
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
469
467
|
**/
|
|
470
468
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
471
|
-
Rv,
|
|
472
469
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
473
470
|
>;
|
|
474
471
|
|
|
@@ -479,7 +476,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
479
476
|
*
|
|
480
477
|
* @param {Callback<number> =} callback
|
|
481
478
|
**/
|
|
482
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
479
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
483
480
|
|
|
484
481
|
/**
|
|
485
482
|
* The last processed downward message.
|
|
@@ -489,7 +486,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
489
486
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
490
487
|
**/
|
|
491
488
|
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
492
|
-
Rv,
|
|
493
489
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
494
490
|
>;
|
|
495
491
|
|
|
@@ -498,7 +494,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
498
494
|
*
|
|
499
495
|
* @param {Callback<number> =} callback
|
|
500
496
|
**/
|
|
501
|
-
hrmpWatermark: GenericStorageQuery<
|
|
497
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
502
498
|
|
|
503
499
|
/**
|
|
504
500
|
* The last processed HRMP message.
|
|
@@ -508,7 +504,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
508
504
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
509
505
|
**/
|
|
510
506
|
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
511
|
-
Rv,
|
|
512
507
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
513
508
|
>;
|
|
514
509
|
|
|
@@ -519,7 +514,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
519
514
|
*
|
|
520
515
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
521
516
|
**/
|
|
522
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
517
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
523
518
|
|
|
524
519
|
/**
|
|
525
520
|
* Upward messages that were sent in a block.
|
|
@@ -528,21 +523,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
528
523
|
*
|
|
529
524
|
* @param {Callback<Array<Bytes>> =} callback
|
|
530
525
|
**/
|
|
531
|
-
upwardMessages: GenericStorageQuery<
|
|
526
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
532
527
|
|
|
533
528
|
/**
|
|
534
529
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
535
530
|
*
|
|
536
531
|
* @param {Callback<Array<Bytes>> =} callback
|
|
537
532
|
**/
|
|
538
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
533
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
539
534
|
|
|
540
535
|
/**
|
|
541
536
|
* The factor to multiply the base delivery fee by for UMP.
|
|
542
537
|
*
|
|
543
538
|
* @param {Callback<FixedU128> =} callback
|
|
544
539
|
**/
|
|
545
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
540
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
546
541
|
|
|
547
542
|
/**
|
|
548
543
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -550,7 +545,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
550
545
|
*
|
|
551
546
|
* @param {Callback<number> =} callback
|
|
552
547
|
**/
|
|
553
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
548
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
554
549
|
|
|
555
550
|
/**
|
|
556
551
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -558,7 +553,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
558
553
|
*
|
|
559
554
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
560
555
|
**/
|
|
561
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
556
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
562
557
|
|
|
563
558
|
/**
|
|
564
559
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -566,7 +561,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
566
561
|
*
|
|
567
562
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
568
563
|
**/
|
|
569
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
564
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
570
565
|
|
|
571
566
|
/**
|
|
572
567
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -575,12 +570,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
575
570
|
*
|
|
576
571
|
* @param {Callback<Bytes | undefined> =} callback
|
|
577
572
|
**/
|
|
578
|
-
customValidationHeadData: GenericStorageQuery<
|
|
573
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
579
574
|
|
|
580
575
|
/**
|
|
581
576
|
* Generic pallet storage query
|
|
582
577
|
**/
|
|
583
|
-
[storage: string]: GenericStorageQuery
|
|
578
|
+
[storage: string]: GenericStorageQuery;
|
|
584
579
|
};
|
|
585
580
|
/**
|
|
586
581
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -591,7 +586,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
591
586
|
*
|
|
592
587
|
* @param {Callback<bigint> =} callback
|
|
593
588
|
**/
|
|
594
|
-
now: GenericStorageQuery<
|
|
589
|
+
now: GenericStorageQuery<() => bigint>;
|
|
595
590
|
|
|
596
591
|
/**
|
|
597
592
|
* Whether the timestamp has been updated in this block.
|
|
@@ -601,12 +596,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
601
596
|
*
|
|
602
597
|
* @param {Callback<boolean> =} callback
|
|
603
598
|
**/
|
|
604
|
-
didUpdate: GenericStorageQuery<
|
|
599
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
605
600
|
|
|
606
601
|
/**
|
|
607
602
|
* Generic pallet storage query
|
|
608
603
|
**/
|
|
609
|
-
[storage: string]: GenericStorageQuery
|
|
604
|
+
[storage: string]: GenericStorageQuery;
|
|
610
605
|
};
|
|
611
606
|
/**
|
|
612
607
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -616,12 +611,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
616
611
|
*
|
|
617
612
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
618
613
|
**/
|
|
619
|
-
parachainId: GenericStorageQuery<
|
|
614
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
620
615
|
|
|
621
616
|
/**
|
|
622
617
|
* Generic pallet storage query
|
|
623
618
|
**/
|
|
624
|
-
[storage: string]: GenericStorageQuery
|
|
619
|
+
[storage: string]: GenericStorageQuery;
|
|
625
620
|
};
|
|
626
621
|
/**
|
|
627
622
|
* Pallet `Preimage`'s storage queries
|
|
@@ -635,7 +630,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
635
630
|
*
|
|
636
631
|
* @deprecated RequestStatusFor
|
|
637
632
|
**/
|
|
638
|
-
statusFor: GenericStorageQuery<
|
|
633
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
639
634
|
|
|
640
635
|
/**
|
|
641
636
|
* The request status of a given hash.
|
|
@@ -643,19 +638,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
643
638
|
* @param {H256} arg
|
|
644
639
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
645
640
|
**/
|
|
646
|
-
requestStatusFor: GenericStorageQuery<
|
|
641
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
647
642
|
|
|
648
643
|
/**
|
|
649
644
|
*
|
|
650
645
|
* @param {[H256, number]} arg
|
|
651
646
|
* @param {Callback<Bytes | undefined> =} callback
|
|
652
647
|
**/
|
|
653
|
-
preimageFor: GenericStorageQuery<
|
|
648
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
654
649
|
|
|
655
650
|
/**
|
|
656
651
|
* Generic pallet storage query
|
|
657
652
|
**/
|
|
658
|
-
[storage: string]: GenericStorageQuery
|
|
653
|
+
[storage: string]: GenericStorageQuery;
|
|
659
654
|
};
|
|
660
655
|
/**
|
|
661
656
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -666,7 +661,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
666
661
|
*
|
|
667
662
|
* @param {Callback<number | undefined> =} callback
|
|
668
663
|
**/
|
|
669
|
-
incompleteSince: GenericStorageQuery<
|
|
664
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
670
665
|
|
|
671
666
|
/**
|
|
672
667
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -674,7 +669,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
674
669
|
* @param {number} arg
|
|
675
670
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
676
671
|
**/
|
|
677
|
-
agenda: GenericStorageQuery<
|
|
672
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
678
673
|
|
|
679
674
|
/**
|
|
680
675
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -682,11 +677,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
682
677
|
* @param {[number, number]} arg
|
|
683
678
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
684
679
|
**/
|
|
685
|
-
retries: GenericStorageQuery<
|
|
686
|
-
Rv,
|
|
687
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
688
|
-
[number, number]
|
|
689
|
-
>;
|
|
680
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
690
681
|
|
|
691
682
|
/**
|
|
692
683
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -697,12 +688,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
697
688
|
* @param {FixedBytes<32>} arg
|
|
698
689
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
699
690
|
**/
|
|
700
|
-
lookup: GenericStorageQuery<
|
|
691
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
701
692
|
|
|
702
693
|
/**
|
|
703
694
|
* Generic pallet storage query
|
|
704
695
|
**/
|
|
705
|
-
[storage: string]: GenericStorageQuery
|
|
696
|
+
[storage: string]: GenericStorageQuery;
|
|
706
697
|
};
|
|
707
698
|
/**
|
|
708
699
|
* Pallet `Parameters`'s storage queries
|
|
@@ -715,7 +706,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
715
706
|
* @param {Callback<AssetHubPolkadotRuntimeRuntimeParametersValue | undefined> =} callback
|
|
716
707
|
**/
|
|
717
708
|
parameters: GenericStorageQuery<
|
|
718
|
-
Rv,
|
|
719
709
|
(arg: AssetHubPolkadotRuntimeRuntimeParametersKey) => AssetHubPolkadotRuntimeRuntimeParametersValue | undefined,
|
|
720
710
|
AssetHubPolkadotRuntimeRuntimeParametersKey
|
|
721
711
|
>;
|
|
@@ -723,7 +713,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
723
713
|
/**
|
|
724
714
|
* Generic pallet storage query
|
|
725
715
|
**/
|
|
726
|
-
[storage: string]: GenericStorageQuery
|
|
716
|
+
[storage: string]: GenericStorageQuery;
|
|
727
717
|
};
|
|
728
718
|
/**
|
|
729
719
|
* Pallet `Balances`'s storage queries
|
|
@@ -734,14 +724,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
734
724
|
*
|
|
735
725
|
* @param {Callback<bigint> =} callback
|
|
736
726
|
**/
|
|
737
|
-
totalIssuance: GenericStorageQuery<
|
|
727
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
738
728
|
|
|
739
729
|
/**
|
|
740
730
|
* The total units of outstanding deactivated balance in the system.
|
|
741
731
|
*
|
|
742
732
|
* @param {Callback<bigint> =} callback
|
|
743
733
|
**/
|
|
744
|
-
inactiveIssuance: GenericStorageQuery<
|
|
734
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
745
735
|
|
|
746
736
|
/**
|
|
747
737
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -772,7 +762,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
772
762
|
* @param {AccountId32Like} arg
|
|
773
763
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
774
764
|
**/
|
|
775
|
-
account: GenericStorageQuery<
|
|
765
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
776
766
|
|
|
777
767
|
/**
|
|
778
768
|
* Any liquidity locks on some account balances.
|
|
@@ -783,7 +773,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
783
773
|
* @param {AccountId32Like} arg
|
|
784
774
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
785
775
|
**/
|
|
786
|
-
locks: GenericStorageQuery<
|
|
776
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
787
777
|
|
|
788
778
|
/**
|
|
789
779
|
* Named reserves on some account balances.
|
|
@@ -793,7 +783,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
793
783
|
* @param {AccountId32Like} arg
|
|
794
784
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
795
785
|
**/
|
|
796
|
-
reserves: GenericStorageQuery<
|
|
786
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
797
787
|
|
|
798
788
|
/**
|
|
799
789
|
* Holds on account balances.
|
|
@@ -802,7 +792,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
802
792
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>> =} callback
|
|
803
793
|
**/
|
|
804
794
|
holds: GenericStorageQuery<
|
|
805
|
-
Rv,
|
|
806
795
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
807
796
|
AccountId32
|
|
808
797
|
>;
|
|
@@ -814,7 +803,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
814
803
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
815
804
|
**/
|
|
816
805
|
freezes: GenericStorageQuery<
|
|
817
|
-
Rv,
|
|
818
806
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
819
807
|
AccountId32
|
|
820
808
|
>;
|
|
@@ -822,7 +810,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
822
810
|
/**
|
|
823
811
|
* Generic pallet storage query
|
|
824
812
|
**/
|
|
825
|
-
[storage: string]: GenericStorageQuery
|
|
813
|
+
[storage: string]: GenericStorageQuery;
|
|
826
814
|
};
|
|
827
815
|
/**
|
|
828
816
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -832,18 +820,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
832
820
|
*
|
|
833
821
|
* @param {Callback<FixedU128> =} callback
|
|
834
822
|
**/
|
|
835
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
823
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
836
824
|
|
|
837
825
|
/**
|
|
838
826
|
*
|
|
839
827
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
840
828
|
**/
|
|
841
|
-
storageVersion: GenericStorageQuery<
|
|
829
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
842
830
|
|
|
843
831
|
/**
|
|
844
832
|
* Generic pallet storage query
|
|
845
833
|
**/
|
|
846
|
-
[storage: string]: GenericStorageQuery
|
|
834
|
+
[storage: string]: GenericStorageQuery;
|
|
847
835
|
};
|
|
848
836
|
/**
|
|
849
837
|
* Pallet `Vesting`'s storage queries
|
|
@@ -855,11 +843,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
855
843
|
* @param {AccountId32Like} arg
|
|
856
844
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
857
845
|
**/
|
|
858
|
-
vesting: GenericStorageQuery<
|
|
859
|
-
Rv,
|
|
860
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
861
|
-
AccountId32
|
|
862
|
-
>;
|
|
846
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
863
847
|
|
|
864
848
|
/**
|
|
865
849
|
* Storage version of the pallet.
|
|
@@ -868,12 +852,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
868
852
|
*
|
|
869
853
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
870
854
|
**/
|
|
871
|
-
storageVersion: GenericStorageQuery<
|
|
855
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
872
856
|
|
|
873
857
|
/**
|
|
874
858
|
* Generic pallet storage query
|
|
875
859
|
**/
|
|
876
|
-
[storage: string]: GenericStorageQuery
|
|
860
|
+
[storage: string]: GenericStorageQuery;
|
|
877
861
|
};
|
|
878
862
|
/**
|
|
879
863
|
* Pallet `Claims`'s storage queries
|
|
@@ -884,13 +868,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
884
868
|
* @param {EthereumAddressLike} arg
|
|
885
869
|
* @param {Callback<bigint | undefined> =} callback
|
|
886
870
|
**/
|
|
887
|
-
claims: GenericStorageQuery<
|
|
871
|
+
claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
|
|
888
872
|
|
|
889
873
|
/**
|
|
890
874
|
*
|
|
891
875
|
* @param {Callback<bigint> =} callback
|
|
892
876
|
**/
|
|
893
|
-
total: GenericStorageQuery<
|
|
877
|
+
total: GenericStorageQuery<() => bigint>;
|
|
894
878
|
|
|
895
879
|
/**
|
|
896
880
|
* Vesting schedule for a claim.
|
|
@@ -901,11 +885,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
901
885
|
* @param {EthereumAddressLike} arg
|
|
902
886
|
* @param {Callback<[bigint, bigint, number] | undefined> =} callback
|
|
903
887
|
**/
|
|
904
|
-
vesting: GenericStorageQuery<
|
|
905
|
-
Rv,
|
|
906
|
-
(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined,
|
|
907
|
-
EthereumAddress
|
|
908
|
-
>;
|
|
888
|
+
vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined, EthereumAddress>;
|
|
909
889
|
|
|
910
890
|
/**
|
|
911
891
|
* The statement kind that must be signed, if any.
|
|
@@ -914,7 +894,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
914
894
|
* @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
|
|
915
895
|
**/
|
|
916
896
|
signing: GenericStorageQuery<
|
|
917
|
-
Rv,
|
|
918
897
|
(arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined,
|
|
919
898
|
EthereumAddress
|
|
920
899
|
>;
|
|
@@ -925,12 +904,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
925
904
|
* @param {AccountId32Like} arg
|
|
926
905
|
* @param {Callback<EthereumAddress | undefined> =} callback
|
|
927
906
|
**/
|
|
928
|
-
preclaims: GenericStorageQuery<
|
|
907
|
+
preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
|
|
929
908
|
|
|
930
909
|
/**
|
|
931
910
|
* Generic pallet storage query
|
|
932
911
|
**/
|
|
933
|
-
[storage: string]: GenericStorageQuery
|
|
912
|
+
[storage: string]: GenericStorageQuery;
|
|
934
913
|
};
|
|
935
914
|
/**
|
|
936
915
|
* Pallet `Authorship`'s storage queries
|
|
@@ -941,12 +920,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
941
920
|
*
|
|
942
921
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
943
922
|
**/
|
|
944
|
-
author: GenericStorageQuery<
|
|
923
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
945
924
|
|
|
946
925
|
/**
|
|
947
926
|
* Generic pallet storage query
|
|
948
927
|
**/
|
|
949
|
-
[storage: string]: GenericStorageQuery
|
|
928
|
+
[storage: string]: GenericStorageQuery;
|
|
950
929
|
};
|
|
951
930
|
/**
|
|
952
931
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -957,7 +936,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
957
936
|
*
|
|
958
937
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
959
938
|
**/
|
|
960
|
-
invulnerables: GenericStorageQuery<
|
|
939
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
961
940
|
|
|
962
941
|
/**
|
|
963
942
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -968,7 +947,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
968
947
|
*
|
|
969
948
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
970
949
|
**/
|
|
971
|
-
candidateList: GenericStorageQuery<
|
|
950
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
972
951
|
|
|
973
952
|
/**
|
|
974
953
|
* Last block authored by collator.
|
|
@@ -976,7 +955,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
976
955
|
* @param {AccountId32Like} arg
|
|
977
956
|
* @param {Callback<number> =} callback
|
|
978
957
|
**/
|
|
979
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
958
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
980
959
|
|
|
981
960
|
/**
|
|
982
961
|
* Desired number of candidates.
|
|
@@ -985,7 +964,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
985
964
|
*
|
|
986
965
|
* @param {Callback<number> =} callback
|
|
987
966
|
**/
|
|
988
|
-
desiredCandidates: GenericStorageQuery<
|
|
967
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
989
968
|
|
|
990
969
|
/**
|
|
991
970
|
* Fixed amount to deposit to become a collator.
|
|
@@ -994,12 +973,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
994
973
|
*
|
|
995
974
|
* @param {Callback<bigint> =} callback
|
|
996
975
|
**/
|
|
997
|
-
candidacyBond: GenericStorageQuery<
|
|
976
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
998
977
|
|
|
999
978
|
/**
|
|
1000
979
|
* Generic pallet storage query
|
|
1001
980
|
**/
|
|
1002
|
-
[storage: string]: GenericStorageQuery
|
|
981
|
+
[storage: string]: GenericStorageQuery;
|
|
1003
982
|
};
|
|
1004
983
|
/**
|
|
1005
984
|
* Pallet `Session`'s storage queries
|
|
@@ -1010,14 +989,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1010
989
|
*
|
|
1011
990
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1012
991
|
**/
|
|
1013
|
-
validators: GenericStorageQuery<
|
|
992
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1014
993
|
|
|
1015
994
|
/**
|
|
1016
995
|
* Current index of the session.
|
|
1017
996
|
*
|
|
1018
997
|
* @param {Callback<number> =} callback
|
|
1019
998
|
**/
|
|
1020
|
-
currentIndex: GenericStorageQuery<
|
|
999
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1021
1000
|
|
|
1022
1001
|
/**
|
|
1023
1002
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1025,7 +1004,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1025
1004
|
*
|
|
1026
1005
|
* @param {Callback<boolean> =} callback
|
|
1027
1006
|
**/
|
|
1028
|
-
queuedChanged: GenericStorageQuery<
|
|
1007
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1029
1008
|
|
|
1030
1009
|
/**
|
|
1031
1010
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1033,7 +1012,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1033
1012
|
*
|
|
1034
1013
|
* @param {Callback<Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>> =} callback
|
|
1035
1014
|
**/
|
|
1036
|
-
queuedKeys: GenericStorageQuery<
|
|
1015
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>>;
|
|
1037
1016
|
|
|
1038
1017
|
/**
|
|
1039
1018
|
* Indices of disabled validators.
|
|
@@ -1044,7 +1023,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1044
1023
|
*
|
|
1045
1024
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1046
1025
|
**/
|
|
1047
|
-
disabledValidators: GenericStorageQuery<
|
|
1026
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1048
1027
|
|
|
1049
1028
|
/**
|
|
1050
1029
|
* The next session keys for a validator.
|
|
@@ -1053,7 +1032,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1053
1032
|
* @param {Callback<AssetHubPolkadotRuntimeSessionKeys | undefined> =} callback
|
|
1054
1033
|
**/
|
|
1055
1034
|
nextKeys: GenericStorageQuery<
|
|
1056
|
-
Rv,
|
|
1057
1035
|
(arg: AccountId32Like) => AssetHubPolkadotRuntimeSessionKeys | undefined,
|
|
1058
1036
|
AccountId32
|
|
1059
1037
|
>;
|
|
@@ -1065,7 +1043,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1065
1043
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1066
1044
|
**/
|
|
1067
1045
|
keyOwner: GenericStorageQuery<
|
|
1068
|
-
Rv,
|
|
1069
1046
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1070
1047
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1071
1048
|
>;
|
|
@@ -1073,7 +1050,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1073
1050
|
/**
|
|
1074
1051
|
* Generic pallet storage query
|
|
1075
1052
|
**/
|
|
1076
|
-
[storage: string]: GenericStorageQuery
|
|
1053
|
+
[storage: string]: GenericStorageQuery;
|
|
1077
1054
|
};
|
|
1078
1055
|
/**
|
|
1079
1056
|
* Pallet `Aura`'s storage queries
|
|
@@ -1084,7 +1061,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1084
1061
|
*
|
|
1085
1062
|
* @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
|
|
1086
1063
|
**/
|
|
1087
|
-
authorities: GenericStorageQuery<
|
|
1064
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraEd25519AppEd25519Public>>;
|
|
1088
1065
|
|
|
1089
1066
|
/**
|
|
1090
1067
|
* The current slot of this block.
|
|
@@ -1093,12 +1070,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1093
1070
|
*
|
|
1094
1071
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
1095
1072
|
**/
|
|
1096
|
-
currentSlot: GenericStorageQuery<
|
|
1073
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
1097
1074
|
|
|
1098
1075
|
/**
|
|
1099
1076
|
* Generic pallet storage query
|
|
1100
1077
|
**/
|
|
1101
|
-
[storage: string]: GenericStorageQuery
|
|
1078
|
+
[storage: string]: GenericStorageQuery;
|
|
1102
1079
|
};
|
|
1103
1080
|
/**
|
|
1104
1081
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -1113,7 +1090,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1113
1090
|
*
|
|
1114
1091
|
* @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
|
|
1115
1092
|
**/
|
|
1116
|
-
authorities: GenericStorageQuery<
|
|
1093
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraEd25519AppEd25519Public>>;
|
|
1117
1094
|
|
|
1118
1095
|
/**
|
|
1119
1096
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -1123,12 +1100,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1123
1100
|
*
|
|
1124
1101
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1125
1102
|
**/
|
|
1126
|
-
relaySlotInfo: GenericStorageQuery<
|
|
1103
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1127
1104
|
|
|
1128
1105
|
/**
|
|
1129
1106
|
* Generic pallet storage query
|
|
1130
1107
|
**/
|
|
1131
|
-
[storage: string]: GenericStorageQuery
|
|
1108
|
+
[storage: string]: GenericStorageQuery;
|
|
1132
1109
|
};
|
|
1133
1110
|
/**
|
|
1134
1111
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1146,7 +1123,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1146
1123
|
*
|
|
1147
1124
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1148
1125
|
**/
|
|
1149
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1126
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1150
1127
|
|
|
1151
1128
|
/**
|
|
1152
1129
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1158,7 +1135,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1158
1135
|
*
|
|
1159
1136
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1160
1137
|
**/
|
|
1161
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1138
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1162
1139
|
|
|
1163
1140
|
/**
|
|
1164
1141
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1167,7 +1144,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1167
1144
|
* @param {Callback<Bytes> =} callback
|
|
1168
1145
|
**/
|
|
1169
1146
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1170
|
-
Rv,
|
|
1171
1147
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1172
1148
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1173
1149
|
>;
|
|
@@ -1179,7 +1155,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1179
1155
|
* @param {Callback<Bytes> =} callback
|
|
1180
1156
|
**/
|
|
1181
1157
|
signalMessages: GenericStorageQuery<
|
|
1182
|
-
Rv,
|
|
1183
1158
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1184
1159
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1185
1160
|
>;
|
|
@@ -1189,14 +1164,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1189
1164
|
*
|
|
1190
1165
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1191
1166
|
**/
|
|
1192
|
-
queueConfig: GenericStorageQuery<
|
|
1167
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1193
1168
|
|
|
1194
1169
|
/**
|
|
1195
1170
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1196
1171
|
*
|
|
1197
1172
|
* @param {Callback<boolean> =} callback
|
|
1198
1173
|
**/
|
|
1199
|
-
queueSuspended: GenericStorageQuery<
|
|
1174
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1200
1175
|
|
|
1201
1176
|
/**
|
|
1202
1177
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1205,7 +1180,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1205
1180
|
* @param {Callback<FixedU128> =} callback
|
|
1206
1181
|
**/
|
|
1207
1182
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1208
|
-
Rv,
|
|
1209
1183
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1210
1184
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1211
1185
|
>;
|
|
@@ -1213,7 +1187,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1213
1187
|
/**
|
|
1214
1188
|
* Generic pallet storage query
|
|
1215
1189
|
**/
|
|
1216
|
-
[storage: string]: GenericStorageQuery
|
|
1190
|
+
[storage: string]: GenericStorageQuery;
|
|
1217
1191
|
};
|
|
1218
1192
|
/**
|
|
1219
1193
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1224,7 +1198,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1224
1198
|
*
|
|
1225
1199
|
* @param {Callback<bigint> =} callback
|
|
1226
1200
|
**/
|
|
1227
|
-
queryCounter: GenericStorageQuery<
|
|
1201
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1228
1202
|
|
|
1229
1203
|
/**
|
|
1230
1204
|
* The ongoing queries.
|
|
@@ -1232,7 +1206,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1232
1206
|
* @param {bigint} arg
|
|
1233
1207
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1234
1208
|
**/
|
|
1235
|
-
queries: GenericStorageQuery<
|
|
1209
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1236
1210
|
|
|
1237
1211
|
/**
|
|
1238
1212
|
* The existing asset traps.
|
|
@@ -1243,7 +1217,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1243
1217
|
* @param {H256} arg
|
|
1244
1218
|
* @param {Callback<number> =} callback
|
|
1245
1219
|
**/
|
|
1246
|
-
assetTraps: GenericStorageQuery<
|
|
1220
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1247
1221
|
|
|
1248
1222
|
/**
|
|
1249
1223
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1251,7 +1225,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1251
1225
|
*
|
|
1252
1226
|
* @param {Callback<number | undefined> =} callback
|
|
1253
1227
|
**/
|
|
1254
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1228
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1255
1229
|
|
|
1256
1230
|
/**
|
|
1257
1231
|
* The Latest versions that we know various locations support.
|
|
@@ -1260,7 +1234,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1260
1234
|
* @param {Callback<number | undefined> =} callback
|
|
1261
1235
|
**/
|
|
1262
1236
|
supportedVersion: GenericStorageQuery<
|
|
1263
|
-
Rv,
|
|
1264
1237
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1265
1238
|
[number, XcmVersionedLocation]
|
|
1266
1239
|
>;
|
|
@@ -1272,7 +1245,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1272
1245
|
* @param {Callback<bigint | undefined> =} callback
|
|
1273
1246
|
**/
|
|
1274
1247
|
versionNotifiers: GenericStorageQuery<
|
|
1275
|
-
Rv,
|
|
1276
1248
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1277
1249
|
[number, XcmVersionedLocation]
|
|
1278
1250
|
>;
|
|
@@ -1285,7 +1257,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1285
1257
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1286
1258
|
**/
|
|
1287
1259
|
versionNotifyTargets: GenericStorageQuery<
|
|
1288
|
-
Rv,
|
|
1289
1260
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1290
1261
|
[number, XcmVersionedLocation]
|
|
1291
1262
|
>;
|
|
@@ -1297,14 +1268,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1297
1268
|
*
|
|
1298
1269
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1299
1270
|
**/
|
|
1300
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1271
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1301
1272
|
|
|
1302
1273
|
/**
|
|
1303
1274
|
* The current migration's stage, if any.
|
|
1304
1275
|
*
|
|
1305
1276
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1306
1277
|
**/
|
|
1307
|
-
currentMigration: GenericStorageQuery<
|
|
1278
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1308
1279
|
|
|
1309
1280
|
/**
|
|
1310
1281
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1313,7 +1284,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1313
1284
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1314
1285
|
**/
|
|
1315
1286
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1316
|
-
Rv,
|
|
1317
1287
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1318
1288
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1319
1289
|
>;
|
|
@@ -1325,7 +1295,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1325
1295
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1326
1296
|
**/
|
|
1327
1297
|
lockedFungibles: GenericStorageQuery<
|
|
1328
|
-
Rv,
|
|
1329
1298
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1330
1299
|
AccountId32
|
|
1331
1300
|
>;
|
|
@@ -1335,7 +1304,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1335
1304
|
*
|
|
1336
1305
|
* @param {Callback<boolean> =} callback
|
|
1337
1306
|
**/
|
|
1338
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1307
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1339
1308
|
|
|
1340
1309
|
/**
|
|
1341
1310
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1348,7 +1317,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1348
1317
|
*
|
|
1349
1318
|
* @param {Callback<boolean> =} callback
|
|
1350
1319
|
**/
|
|
1351
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1320
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1352
1321
|
|
|
1353
1322
|
/**
|
|
1354
1323
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1360,7 +1329,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1360
1329
|
*
|
|
1361
1330
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1362
1331
|
**/
|
|
1363
|
-
recordedXcm: GenericStorageQuery<
|
|
1332
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1364
1333
|
|
|
1365
1334
|
/**
|
|
1366
1335
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1371,7 +1340,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1371
1340
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1372
1341
|
**/
|
|
1373
1342
|
authorizedAliases: GenericStorageQuery<
|
|
1374
|
-
Rv,
|
|
1375
1343
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1376
1344
|
XcmVersionedLocation
|
|
1377
1345
|
>;
|
|
@@ -1379,7 +1347,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1379
1347
|
/**
|
|
1380
1348
|
* Generic pallet storage query
|
|
1381
1349
|
**/
|
|
1382
|
-
[storage: string]: GenericStorageQuery
|
|
1350
|
+
[storage: string]: GenericStorageQuery;
|
|
1383
1351
|
};
|
|
1384
1352
|
/**
|
|
1385
1353
|
* Pallet `ToKusamaXcmRouter`'s storage queries
|
|
@@ -1396,12 +1364,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1396
1364
|
*
|
|
1397
1365
|
* @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
|
|
1398
1366
|
**/
|
|
1399
|
-
bridge: GenericStorageQuery<
|
|
1367
|
+
bridge: GenericStorageQuery<() => BpXcmBridgeHubRouterBridgeState>;
|
|
1400
1368
|
|
|
1401
1369
|
/**
|
|
1402
1370
|
* Generic pallet storage query
|
|
1403
1371
|
**/
|
|
1404
|
-
[storage: string]: GenericStorageQuery
|
|
1372
|
+
[storage: string]: GenericStorageQuery;
|
|
1405
1373
|
};
|
|
1406
1374
|
/**
|
|
1407
1375
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1414,7 +1382,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1414
1382
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1415
1383
|
**/
|
|
1416
1384
|
bookStateFor: GenericStorageQuery<
|
|
1417
|
-
Rv,
|
|
1418
1385
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1419
1386
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1420
1387
|
>;
|
|
@@ -1424,7 +1391,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1424
1391
|
*
|
|
1425
1392
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1426
1393
|
**/
|
|
1427
|
-
serviceHead: GenericStorageQuery<
|
|
1394
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1428
1395
|
|
|
1429
1396
|
/**
|
|
1430
1397
|
* The map of page indices to pages.
|
|
@@ -1433,7 +1400,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1433
1400
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1434
1401
|
**/
|
|
1435
1402
|
pages: GenericStorageQuery<
|
|
1436
|
-
Rv,
|
|
1437
1403
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1438
1404
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1439
1405
|
>;
|
|
@@ -1441,7 +1407,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1441
1407
|
/**
|
|
1442
1408
|
* Generic pallet storage query
|
|
1443
1409
|
**/
|
|
1444
|
-
[storage: string]: GenericStorageQuery
|
|
1410
|
+
[storage: string]: GenericStorageQuery;
|
|
1445
1411
|
};
|
|
1446
1412
|
/**
|
|
1447
1413
|
* Pallet `SnowbridgeSystemFrontend`'s storage queries
|
|
@@ -1452,12 +1418,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1452
1418
|
*
|
|
1453
1419
|
* @param {Callback<SnowbridgeCoreOperatingModeBasicOperatingMode> =} callback
|
|
1454
1420
|
**/
|
|
1455
|
-
exportOperatingMode: GenericStorageQuery<
|
|
1421
|
+
exportOperatingMode: GenericStorageQuery<() => SnowbridgeCoreOperatingModeBasicOperatingMode>;
|
|
1456
1422
|
|
|
1457
1423
|
/**
|
|
1458
1424
|
* Generic pallet storage query
|
|
1459
1425
|
**/
|
|
1460
|
-
[storage: string]: GenericStorageQuery
|
|
1426
|
+
[storage: string]: GenericStorageQuery;
|
|
1461
1427
|
};
|
|
1462
1428
|
/**
|
|
1463
1429
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1470,7 +1436,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1470
1436
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1471
1437
|
**/
|
|
1472
1438
|
multisigs: GenericStorageQuery<
|
|
1473
|
-
Rv,
|
|
1474
1439
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1475
1440
|
[AccountId32, FixedBytes<32>]
|
|
1476
1441
|
>;
|
|
@@ -1478,7 +1443,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1478
1443
|
/**
|
|
1479
1444
|
* Generic pallet storage query
|
|
1480
1445
|
**/
|
|
1481
|
-
[storage: string]: GenericStorageQuery
|
|
1446
|
+
[storage: string]: GenericStorageQuery;
|
|
1482
1447
|
};
|
|
1483
1448
|
/**
|
|
1484
1449
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1492,7 +1457,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1492
1457
|
* @param {Callback<[Array<PalletProxyProxyDefinitionProxyType>, bigint]> =} callback
|
|
1493
1458
|
**/
|
|
1494
1459
|
proxies: GenericStorageQuery<
|
|
1495
|
-
Rv,
|
|
1496
1460
|
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinitionProxyType>, bigint],
|
|
1497
1461
|
AccountId32
|
|
1498
1462
|
>;
|
|
@@ -1503,16 +1467,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1503
1467
|
* @param {AccountId32Like} arg
|
|
1504
1468
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1505
1469
|
**/
|
|
1506
|
-
announcements: GenericStorageQuery<
|
|
1507
|
-
Rv,
|
|
1508
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1509
|
-
AccountId32
|
|
1510
|
-
>;
|
|
1470
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1511
1471
|
|
|
1512
1472
|
/**
|
|
1513
1473
|
* Generic pallet storage query
|
|
1514
1474
|
**/
|
|
1515
|
-
[storage: string]: GenericStorageQuery
|
|
1475
|
+
[storage: string]: GenericStorageQuery;
|
|
1516
1476
|
};
|
|
1517
1477
|
/**
|
|
1518
1478
|
* Pallet `Indices`'s storage queries
|
|
@@ -1524,12 +1484,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1524
1484
|
* @param {number} arg
|
|
1525
1485
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
1526
1486
|
**/
|
|
1527
|
-
accounts: GenericStorageQuery<
|
|
1487
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
1528
1488
|
|
|
1529
1489
|
/**
|
|
1530
1490
|
* Generic pallet storage query
|
|
1531
1491
|
**/
|
|
1532
|
-
[storage: string]: GenericStorageQuery
|
|
1492
|
+
[storage: string]: GenericStorageQuery;
|
|
1533
1493
|
};
|
|
1534
1494
|
/**
|
|
1535
1495
|
* Pallet `Assets`'s storage queries
|
|
@@ -1541,7 +1501,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1541
1501
|
* @param {number} arg
|
|
1542
1502
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1543
1503
|
**/
|
|
1544
|
-
asset: GenericStorageQuery<
|
|
1504
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1545
1505
|
|
|
1546
1506
|
/**
|
|
1547
1507
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1550,7 +1510,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1550
1510
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1551
1511
|
**/
|
|
1552
1512
|
account: GenericStorageQuery<
|
|
1553
|
-
Rv,
|
|
1554
1513
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1555
1514
|
[number, AccountId32]
|
|
1556
1515
|
>;
|
|
@@ -1564,7 +1523,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1564
1523
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1565
1524
|
**/
|
|
1566
1525
|
approvals: GenericStorageQuery<
|
|
1567
|
-
Rv,
|
|
1568
1526
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1569
1527
|
[number, AccountId32, AccountId32]
|
|
1570
1528
|
>;
|
|
@@ -1575,7 +1533,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1575
1533
|
* @param {number} arg
|
|
1576
1534
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1577
1535
|
**/
|
|
1578
|
-
metadata: GenericStorageQuery<
|
|
1536
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1579
1537
|
|
|
1580
1538
|
/**
|
|
1581
1539
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1590,12 +1548,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1590
1548
|
*
|
|
1591
1549
|
* @param {Callback<number | undefined> =} callback
|
|
1592
1550
|
**/
|
|
1593
|
-
nextAssetId: GenericStorageQuery<
|
|
1551
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
1594
1552
|
|
|
1595
1553
|
/**
|
|
1596
1554
|
* Generic pallet storage query
|
|
1597
1555
|
**/
|
|
1598
|
-
[storage: string]: GenericStorageQuery
|
|
1556
|
+
[storage: string]: GenericStorageQuery;
|
|
1599
1557
|
};
|
|
1600
1558
|
/**
|
|
1601
1559
|
* Pallet `Uniques`'s storage queries
|
|
@@ -1607,7 +1565,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1607
1565
|
* @param {number} arg
|
|
1608
1566
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
1609
1567
|
**/
|
|
1610
|
-
class: GenericStorageQuery<
|
|
1568
|
+
class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
|
|
1611
1569
|
|
|
1612
1570
|
/**
|
|
1613
1571
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1615,7 +1573,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1615
1573
|
* @param {AccountId32Like} arg
|
|
1616
1574
|
* @param {Callback<number | undefined> =} callback
|
|
1617
1575
|
**/
|
|
1618
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1576
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1619
1577
|
|
|
1620
1578
|
/**
|
|
1621
1579
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1625,7 +1583,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1625
1583
|
* @param {Callback<[] | undefined> =} callback
|
|
1626
1584
|
**/
|
|
1627
1585
|
account: GenericStorageQuery<
|
|
1628
|
-
Rv,
|
|
1629
1586
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1630
1587
|
[AccountId32, number, number]
|
|
1631
1588
|
>;
|
|
@@ -1637,7 +1594,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1637
1594
|
* @param {[AccountId32Like, number]} arg
|
|
1638
1595
|
* @param {Callback<[] | undefined> =} callback
|
|
1639
1596
|
**/
|
|
1640
|
-
classAccount: GenericStorageQuery<
|
|
1597
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1641
1598
|
|
|
1642
1599
|
/**
|
|
1643
1600
|
* The items in existence and their ownership details.
|
|
@@ -1645,7 +1602,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1645
1602
|
* @param {[number, number]} arg
|
|
1646
1603
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
1647
1604
|
**/
|
|
1648
|
-
asset: GenericStorageQuery<
|
|
1605
|
+
asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
|
|
1649
1606
|
|
|
1650
1607
|
/**
|
|
1651
1608
|
* Metadata of a collection.
|
|
@@ -1653,7 +1610,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1653
1610
|
* @param {number} arg
|
|
1654
1611
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
1655
1612
|
**/
|
|
1656
|
-
classMetadataOf: GenericStorageQuery<
|
|
1613
|
+
classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
|
|
1657
1614
|
|
|
1658
1615
|
/**
|
|
1659
1616
|
* Metadata of an item.
|
|
@@ -1662,7 +1619,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1662
1619
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
1663
1620
|
**/
|
|
1664
1621
|
instanceMetadataOf: GenericStorageQuery<
|
|
1665
|
-
Rv,
|
|
1666
1622
|
(arg: [number, number]) => PalletUniquesItemMetadata | undefined,
|
|
1667
1623
|
[number, number]
|
|
1668
1624
|
>;
|
|
@@ -1674,7 +1630,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1674
1630
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
1675
1631
|
**/
|
|
1676
1632
|
attribute: GenericStorageQuery<
|
|
1677
|
-
Rv,
|
|
1678
1633
|
(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
1679
1634
|
[number, number | undefined, Bytes]
|
|
1680
1635
|
>;
|
|
@@ -1686,7 +1641,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1686
1641
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1687
1642
|
**/
|
|
1688
1643
|
itemPriceOf: GenericStorageQuery<
|
|
1689
|
-
Rv,
|
|
1690
1644
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1691
1645
|
[number, number]
|
|
1692
1646
|
>;
|
|
@@ -1697,12 +1651,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1697
1651
|
* @param {number} arg
|
|
1698
1652
|
* @param {Callback<number | undefined> =} callback
|
|
1699
1653
|
**/
|
|
1700
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
1654
|
+
collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
1701
1655
|
|
|
1702
1656
|
/**
|
|
1703
1657
|
* Generic pallet storage query
|
|
1704
1658
|
**/
|
|
1705
|
-
[storage: string]: GenericStorageQuery
|
|
1659
|
+
[storage: string]: GenericStorageQuery;
|
|
1706
1660
|
};
|
|
1707
1661
|
/**
|
|
1708
1662
|
* Pallet `Nfts`'s storage queries
|
|
@@ -1714,7 +1668,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1714
1668
|
* @param {number} arg
|
|
1715
1669
|
* @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
|
|
1716
1670
|
**/
|
|
1717
|
-
collection: GenericStorageQuery<
|
|
1671
|
+
collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
|
|
1718
1672
|
|
|
1719
1673
|
/**
|
|
1720
1674
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1722,7 +1676,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1722
1676
|
* @param {AccountId32Like} arg
|
|
1723
1677
|
* @param {Callback<number | undefined> =} callback
|
|
1724
1678
|
**/
|
|
1725
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1679
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1726
1680
|
|
|
1727
1681
|
/**
|
|
1728
1682
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1732,7 +1686,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1732
1686
|
* @param {Callback<[] | undefined> =} callback
|
|
1733
1687
|
**/
|
|
1734
1688
|
account: GenericStorageQuery<
|
|
1735
|
-
Rv,
|
|
1736
1689
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1737
1690
|
[AccountId32, number, number]
|
|
1738
1691
|
>;
|
|
@@ -1744,11 +1697,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1744
1697
|
* @param {[AccountId32Like, number]} arg
|
|
1745
1698
|
* @param {Callback<[] | undefined> =} callback
|
|
1746
1699
|
**/
|
|
1747
|
-
collectionAccount: GenericStorageQuery<
|
|
1748
|
-
Rv,
|
|
1749
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
1750
|
-
[AccountId32, number]
|
|
1751
|
-
>;
|
|
1700
|
+
collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1752
1701
|
|
|
1753
1702
|
/**
|
|
1754
1703
|
* The items in existence and their ownership details.
|
|
@@ -1758,7 +1707,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1758
1707
|
* @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
|
|
1759
1708
|
**/
|
|
1760
1709
|
collectionRoleOf: GenericStorageQuery<
|
|
1761
|
-
Rv,
|
|
1762
1710
|
(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
|
|
1763
1711
|
[number, AccountId32]
|
|
1764
1712
|
>;
|
|
@@ -1769,7 +1717,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1769
1717
|
* @param {[number, number]} arg
|
|
1770
1718
|
* @param {Callback<PalletNftsItemDetails | undefined> =} callback
|
|
1771
1719
|
**/
|
|
1772
|
-
item: GenericStorageQuery<
|
|
1720
|
+
item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
|
|
1773
1721
|
|
|
1774
1722
|
/**
|
|
1775
1723
|
* Metadata of a collection.
|
|
@@ -1777,7 +1725,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1777
1725
|
* @param {number} arg
|
|
1778
1726
|
* @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
|
|
1779
1727
|
**/
|
|
1780
|
-
collectionMetadataOf: GenericStorageQuery<
|
|
1728
|
+
collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
|
|
1781
1729
|
|
|
1782
1730
|
/**
|
|
1783
1731
|
* Metadata of an item.
|
|
@@ -1786,7 +1734,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1786
1734
|
* @param {Callback<PalletNftsItemMetadata | undefined> =} callback
|
|
1787
1735
|
**/
|
|
1788
1736
|
itemMetadataOf: GenericStorageQuery<
|
|
1789
|
-
Rv,
|
|
1790
1737
|
(arg: [number, number]) => PalletNftsItemMetadata | undefined,
|
|
1791
1738
|
[number, number]
|
|
1792
1739
|
>;
|
|
@@ -1798,7 +1745,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1798
1745
|
* @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
|
|
1799
1746
|
**/
|
|
1800
1747
|
attribute: GenericStorageQuery<
|
|
1801
|
-
Rv,
|
|
1802
1748
|
(
|
|
1803
1749
|
arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
|
|
1804
1750
|
) => [Bytes, PalletNftsAttributeDeposit] | undefined,
|
|
@@ -1812,7 +1758,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1812
1758
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1813
1759
|
**/
|
|
1814
1760
|
itemPriceOf: GenericStorageQuery<
|
|
1815
|
-
Rv,
|
|
1816
1761
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1817
1762
|
[number, number]
|
|
1818
1763
|
>;
|
|
@@ -1823,7 +1768,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1823
1768
|
* @param {[number, number]} arg
|
|
1824
1769
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1825
1770
|
**/
|
|
1826
|
-
itemAttributesApprovalsOf: GenericStorageQuery<
|
|
1771
|
+
itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
|
|
1827
1772
|
|
|
1828
1773
|
/**
|
|
1829
1774
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
@@ -1831,7 +1776,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1831
1776
|
*
|
|
1832
1777
|
* @param {Callback<number | undefined> =} callback
|
|
1833
1778
|
**/
|
|
1834
|
-
nextCollectionId: GenericStorageQuery<
|
|
1779
|
+
nextCollectionId: GenericStorageQuery<() => number | undefined>;
|
|
1835
1780
|
|
|
1836
1781
|
/**
|
|
1837
1782
|
* Handles all the pending swaps.
|
|
@@ -1839,11 +1784,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1839
1784
|
* @param {[number, number]} arg
|
|
1840
1785
|
* @param {Callback<PalletNftsPendingSwap | undefined> =} callback
|
|
1841
1786
|
**/
|
|
1842
|
-
pendingSwapOf: GenericStorageQuery<
|
|
1843
|
-
Rv,
|
|
1844
|
-
(arg: [number, number]) => PalletNftsPendingSwap | undefined,
|
|
1845
|
-
[number, number]
|
|
1846
|
-
>;
|
|
1787
|
+
pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
|
|
1847
1788
|
|
|
1848
1789
|
/**
|
|
1849
1790
|
* Config of a collection.
|
|
@@ -1851,7 +1792,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1851
1792
|
* @param {number} arg
|
|
1852
1793
|
* @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
|
|
1853
1794
|
**/
|
|
1854
|
-
collectionConfigOf: GenericStorageQuery<
|
|
1795
|
+
collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
|
|
1855
1796
|
|
|
1856
1797
|
/**
|
|
1857
1798
|
* Config of an item.
|
|
@@ -1859,16 +1800,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1859
1800
|
* @param {[number, number]} arg
|
|
1860
1801
|
* @param {Callback<PalletNftsItemConfig | undefined> =} callback
|
|
1861
1802
|
**/
|
|
1862
|
-
itemConfigOf: GenericStorageQuery<
|
|
1863
|
-
Rv,
|
|
1864
|
-
(arg: [number, number]) => PalletNftsItemConfig | undefined,
|
|
1865
|
-
[number, number]
|
|
1866
|
-
>;
|
|
1803
|
+
itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
|
|
1867
1804
|
|
|
1868
1805
|
/**
|
|
1869
1806
|
* Generic pallet storage query
|
|
1870
1807
|
**/
|
|
1871
|
-
[storage: string]: GenericStorageQuery
|
|
1808
|
+
[storage: string]: GenericStorageQuery;
|
|
1872
1809
|
};
|
|
1873
1810
|
/**
|
|
1874
1811
|
* Pallet `ForeignAssets`'s storage queries
|
|
@@ -1881,7 +1818,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1881
1818
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1882
1819
|
**/
|
|
1883
1820
|
asset: GenericStorageQuery<
|
|
1884
|
-
Rv,
|
|
1885
1821
|
(arg: StagingXcmV5Location) => PalletAssetsAssetDetails | undefined,
|
|
1886
1822
|
StagingXcmV5Location
|
|
1887
1823
|
>;
|
|
@@ -1893,7 +1829,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1893
1829
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1894
1830
|
**/
|
|
1895
1831
|
account: GenericStorageQuery<
|
|
1896
|
-
Rv,
|
|
1897
1832
|
(arg: [StagingXcmV5Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1898
1833
|
[StagingXcmV5Location, AccountId32]
|
|
1899
1834
|
>;
|
|
@@ -1907,7 +1842,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1907
1842
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1908
1843
|
**/
|
|
1909
1844
|
approvals: GenericStorageQuery<
|
|
1910
|
-
Rv,
|
|
1911
1845
|
(arg: [StagingXcmV5Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1912
1846
|
[StagingXcmV5Location, AccountId32, AccountId32]
|
|
1913
1847
|
>;
|
|
@@ -1918,7 +1852,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1918
1852
|
* @param {StagingXcmV5Location} arg
|
|
1919
1853
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1920
1854
|
**/
|
|
1921
|
-
metadata: GenericStorageQuery<
|
|
1855
|
+
metadata: GenericStorageQuery<(arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
1922
1856
|
|
|
1923
1857
|
/**
|
|
1924
1858
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1933,12 +1867,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1933
1867
|
*
|
|
1934
1868
|
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
1935
1869
|
**/
|
|
1936
|
-
nextAssetId: GenericStorageQuery<
|
|
1870
|
+
nextAssetId: GenericStorageQuery<() => StagingXcmV5Location | undefined>;
|
|
1937
1871
|
|
|
1938
1872
|
/**
|
|
1939
1873
|
* Generic pallet storage query
|
|
1940
1874
|
**/
|
|
1941
|
-
[storage: string]: GenericStorageQuery
|
|
1875
|
+
[storage: string]: GenericStorageQuery;
|
|
1942
1876
|
};
|
|
1943
1877
|
/**
|
|
1944
1878
|
* Pallet `PoolAssets`'s storage queries
|
|
@@ -1950,7 +1884,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1950
1884
|
* @param {number} arg
|
|
1951
1885
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1952
1886
|
**/
|
|
1953
|
-
asset: GenericStorageQuery<
|
|
1887
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1954
1888
|
|
|
1955
1889
|
/**
|
|
1956
1890
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1959,7 +1893,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1959
1893
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1960
1894
|
**/
|
|
1961
1895
|
account: GenericStorageQuery<
|
|
1962
|
-
Rv,
|
|
1963
1896
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1964
1897
|
[number, AccountId32]
|
|
1965
1898
|
>;
|
|
@@ -1973,7 +1906,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1973
1906
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1974
1907
|
**/
|
|
1975
1908
|
approvals: GenericStorageQuery<
|
|
1976
|
-
Rv,
|
|
1977
1909
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1978
1910
|
[number, AccountId32, AccountId32]
|
|
1979
1911
|
>;
|
|
@@ -1984,7 +1916,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1984
1916
|
* @param {number} arg
|
|
1985
1917
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1986
1918
|
**/
|
|
1987
|
-
metadata: GenericStorageQuery<
|
|
1919
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1988
1920
|
|
|
1989
1921
|
/**
|
|
1990
1922
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1999,12 +1931,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1999
1931
|
*
|
|
2000
1932
|
* @param {Callback<number | undefined> =} callback
|
|
2001
1933
|
**/
|
|
2002
|
-
nextAssetId: GenericStorageQuery<
|
|
1934
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2003
1935
|
|
|
2004
1936
|
/**
|
|
2005
1937
|
* Generic pallet storage query
|
|
2006
1938
|
**/
|
|
2007
|
-
[storage: string]: GenericStorageQuery
|
|
1939
|
+
[storage: string]: GenericStorageQuery;
|
|
2008
1940
|
};
|
|
2009
1941
|
/**
|
|
2010
1942
|
* Pallet `AssetConversion`'s storage queries
|
|
@@ -2018,7 +1950,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2018
1950
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
2019
1951
|
**/
|
|
2020
1952
|
pools: GenericStorageQuery<
|
|
2021
|
-
Rv,
|
|
2022
1953
|
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => PalletAssetConversionPoolInfo | undefined,
|
|
2023
1954
|
[StagingXcmV5Location, StagingXcmV5Location]
|
|
2024
1955
|
>;
|
|
@@ -2029,12 +1960,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2029
1960
|
*
|
|
2030
1961
|
* @param {Callback<number | undefined> =} callback
|
|
2031
1962
|
**/
|
|
2032
|
-
nextPoolAssetId: GenericStorageQuery<
|
|
1963
|
+
nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2033
1964
|
|
|
2034
1965
|
/**
|
|
2035
1966
|
* Generic pallet storage query
|
|
2036
1967
|
**/
|
|
2037
|
-
[storage: string]: GenericStorageQuery
|
|
1968
|
+
[storage: string]: GenericStorageQuery;
|
|
2038
1969
|
};
|
|
2039
1970
|
/**
|
|
2040
1971
|
* Pallet `Treasury`'s storage queries
|
|
@@ -2048,7 +1979,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2048
1979
|
*
|
|
2049
1980
|
* @param {Callback<number> =} callback
|
|
2050
1981
|
**/
|
|
2051
|
-
proposalCount: GenericStorageQuery<
|
|
1982
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2052
1983
|
|
|
2053
1984
|
/**
|
|
2054
1985
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2059,14 +1990,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2059
1990
|
* @param {number} arg
|
|
2060
1991
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2061
1992
|
**/
|
|
2062
|
-
proposals: GenericStorageQuery<
|
|
1993
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2063
1994
|
|
|
2064
1995
|
/**
|
|
2065
1996
|
* The amount which has been reported as inactive to Currency.
|
|
2066
1997
|
*
|
|
2067
1998
|
* @param {Callback<bigint> =} callback
|
|
2068
1999
|
**/
|
|
2069
|
-
deactivated: GenericStorageQuery<
|
|
2000
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
2070
2001
|
|
|
2071
2002
|
/**
|
|
2072
2003
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2076,14 +2007,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2076
2007
|
*
|
|
2077
2008
|
* @param {Callback<Array<number>> =} callback
|
|
2078
2009
|
**/
|
|
2079
|
-
approvals: GenericStorageQuery<
|
|
2010
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
2080
2011
|
|
|
2081
2012
|
/**
|
|
2082
2013
|
* The count of spends that have been made.
|
|
2083
2014
|
*
|
|
2084
2015
|
* @param {Callback<number> =} callback
|
|
2085
2016
|
**/
|
|
2086
|
-
spendCount: GenericStorageQuery<
|
|
2017
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
2087
2018
|
|
|
2088
2019
|
/**
|
|
2089
2020
|
* Spends that have been approved and being processed.
|
|
@@ -2091,19 +2022,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2091
2022
|
* @param {number} arg
|
|
2092
2023
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
2093
2024
|
**/
|
|
2094
|
-
spends: GenericStorageQuery<
|
|
2025
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
2095
2026
|
|
|
2096
2027
|
/**
|
|
2097
2028
|
* The blocknumber for the last triggered spend period.
|
|
2098
2029
|
*
|
|
2099
2030
|
* @param {Callback<number | undefined> =} callback
|
|
2100
2031
|
**/
|
|
2101
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
2032
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
2102
2033
|
|
|
2103
2034
|
/**
|
|
2104
2035
|
* Generic pallet storage query
|
|
2105
2036
|
**/
|
|
2106
|
-
[storage: string]: GenericStorageQuery
|
|
2037
|
+
[storage: string]: GenericStorageQuery;
|
|
2107
2038
|
};
|
|
2108
2039
|
/**
|
|
2109
2040
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -2117,7 +2048,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2117
2048
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
2118
2049
|
**/
|
|
2119
2050
|
votingFor: GenericStorageQuery<
|
|
2120
|
-
Rv,
|
|
2121
2051
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
2122
2052
|
[AccountId32, number]
|
|
2123
2053
|
>;
|
|
@@ -2130,12 +2060,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2130
2060
|
* @param {AccountId32Like} arg
|
|
2131
2061
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2132
2062
|
**/
|
|
2133
|
-
classLocksFor: GenericStorageQuery<
|
|
2063
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
2134
2064
|
|
|
2135
2065
|
/**
|
|
2136
2066
|
* Generic pallet storage query
|
|
2137
2067
|
**/
|
|
2138
|
-
[storage: string]: GenericStorageQuery
|
|
2068
|
+
[storage: string]: GenericStorageQuery;
|
|
2139
2069
|
};
|
|
2140
2070
|
/**
|
|
2141
2071
|
* Pallet `Referenda`'s storage queries
|
|
@@ -2146,7 +2076,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2146
2076
|
*
|
|
2147
2077
|
* @param {Callback<number> =} callback
|
|
2148
2078
|
**/
|
|
2149
|
-
referendumCount: GenericStorageQuery<
|
|
2079
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
2150
2080
|
|
|
2151
2081
|
/**
|
|
2152
2082
|
* Information concerning any given referendum.
|
|
@@ -2155,7 +2085,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2155
2085
|
* @param {Callback<PalletReferendaReferendumInfoOriginCaller | undefined> =} callback
|
|
2156
2086
|
**/
|
|
2157
2087
|
referendumInfoFor: GenericStorageQuery<
|
|
2158
|
-
Rv,
|
|
2159
2088
|
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
2160
2089
|
number
|
|
2161
2090
|
>;
|
|
@@ -2169,7 +2098,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2169
2098
|
* @param {number} arg
|
|
2170
2099
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2171
2100
|
**/
|
|
2172
|
-
trackQueue: GenericStorageQuery<
|
|
2101
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
2173
2102
|
|
|
2174
2103
|
/**
|
|
2175
2104
|
* The number of referenda being decided currently.
|
|
@@ -2177,7 +2106,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2177
2106
|
* @param {number} arg
|
|
2178
2107
|
* @param {Callback<number> =} callback
|
|
2179
2108
|
**/
|
|
2180
|
-
decidingCount: GenericStorageQuery<
|
|
2109
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
2181
2110
|
|
|
2182
2111
|
/**
|
|
2183
2112
|
* The metadata is a general information concerning the referendum.
|
|
@@ -2190,12 +2119,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2190
2119
|
* @param {number} arg
|
|
2191
2120
|
* @param {Callback<H256 | undefined> =} callback
|
|
2192
2121
|
**/
|
|
2193
|
-
metadataOf: GenericStorageQuery<
|
|
2122
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
2194
2123
|
|
|
2195
2124
|
/**
|
|
2196
2125
|
* Generic pallet storage query
|
|
2197
2126
|
**/
|
|
2198
|
-
[storage: string]: GenericStorageQuery
|
|
2127
|
+
[storage: string]: GenericStorageQuery;
|
|
2199
2128
|
};
|
|
2200
2129
|
/**
|
|
2201
2130
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -2206,12 +2135,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2206
2135
|
* @param {H256} arg
|
|
2207
2136
|
* @param {Callback<[] | undefined> =} callback
|
|
2208
2137
|
**/
|
|
2209
|
-
whitelistedCall: GenericStorageQuery<
|
|
2138
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
2210
2139
|
|
|
2211
2140
|
/**
|
|
2212
2141
|
* Generic pallet storage query
|
|
2213
2142
|
**/
|
|
2214
|
-
[storage: string]: GenericStorageQuery
|
|
2143
|
+
[storage: string]: GenericStorageQuery;
|
|
2215
2144
|
};
|
|
2216
2145
|
/**
|
|
2217
2146
|
* Pallet `Bounties`'s storage queries
|
|
@@ -2222,7 +2151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2222
2151
|
*
|
|
2223
2152
|
* @param {Callback<number> =} callback
|
|
2224
2153
|
**/
|
|
2225
|
-
bountyCount: GenericStorageQuery<
|
|
2154
|
+
bountyCount: GenericStorageQuery<() => number>;
|
|
2226
2155
|
|
|
2227
2156
|
/**
|
|
2228
2157
|
* Bounties that have been made.
|
|
@@ -2230,7 +2159,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2230
2159
|
* @param {number} arg
|
|
2231
2160
|
* @param {Callback<PalletBountiesBounty | undefined> =} callback
|
|
2232
2161
|
**/
|
|
2233
|
-
bounties: GenericStorageQuery<
|
|
2162
|
+
bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
|
|
2234
2163
|
|
|
2235
2164
|
/**
|
|
2236
2165
|
* The description of each bounty.
|
|
@@ -2238,19 +2167,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2238
2167
|
* @param {number} arg
|
|
2239
2168
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2240
2169
|
**/
|
|
2241
|
-
bountyDescriptions: GenericStorageQuery<
|
|
2170
|
+
bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2242
2171
|
|
|
2243
2172
|
/**
|
|
2244
2173
|
* Bounty indices that have been approved but not yet funded.
|
|
2245
2174
|
*
|
|
2246
2175
|
* @param {Callback<Array<number>> =} callback
|
|
2247
2176
|
**/
|
|
2248
|
-
bountyApprovals: GenericStorageQuery<
|
|
2177
|
+
bountyApprovals: GenericStorageQuery<() => Array<number>>;
|
|
2249
2178
|
|
|
2250
2179
|
/**
|
|
2251
2180
|
* Generic pallet storage query
|
|
2252
2181
|
**/
|
|
2253
|
-
[storage: string]: GenericStorageQuery
|
|
2182
|
+
[storage: string]: GenericStorageQuery;
|
|
2254
2183
|
};
|
|
2255
2184
|
/**
|
|
2256
2185
|
* Pallet `ChildBounties`'s storage queries
|
|
@@ -2262,7 +2191,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2262
2191
|
*
|
|
2263
2192
|
* @param {Callback<number> =} callback
|
|
2264
2193
|
**/
|
|
2265
|
-
childBountyCount: GenericStorageQuery<
|
|
2194
|
+
childBountyCount: GenericStorageQuery<() => number>;
|
|
2266
2195
|
|
|
2267
2196
|
/**
|
|
2268
2197
|
* Number of active child bounties per parent bounty.
|
|
@@ -2271,7 +2200,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2271
2200
|
* @param {number} arg
|
|
2272
2201
|
* @param {Callback<number> =} callback
|
|
2273
2202
|
**/
|
|
2274
|
-
parentChildBounties: GenericStorageQuery<
|
|
2203
|
+
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2275
2204
|
|
|
2276
2205
|
/**
|
|
2277
2206
|
* Number of total child bounties per parent bounty, including completed bounties.
|
|
@@ -2279,7 +2208,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2279
2208
|
* @param {number} arg
|
|
2280
2209
|
* @param {Callback<number> =} callback
|
|
2281
2210
|
**/
|
|
2282
|
-
parentTotalChildBounties: GenericStorageQuery<
|
|
2211
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2283
2212
|
|
|
2284
2213
|
/**
|
|
2285
2214
|
* Child bounties that have been added.
|
|
@@ -2288,7 +2217,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2288
2217
|
* @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
|
|
2289
2218
|
**/
|
|
2290
2219
|
childBounties: GenericStorageQuery<
|
|
2291
|
-
Rv,
|
|
2292
2220
|
(arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
|
|
2293
2221
|
[number, number]
|
|
2294
2222
|
>;
|
|
@@ -2301,7 +2229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2301
2229
|
* @param {[number, number]} arg
|
|
2302
2230
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2303
2231
|
**/
|
|
2304
|
-
childBountyDescriptionsV1: GenericStorageQuery<
|
|
2232
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
2305
2233
|
|
|
2306
2234
|
/**
|
|
2307
2235
|
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
@@ -2313,7 +2241,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2313
2241
|
* @param {number} arg
|
|
2314
2242
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2315
2243
|
**/
|
|
2316
|
-
v0ToV1ChildBountyIds: GenericStorageQuery<
|
|
2244
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
2317
2245
|
|
|
2318
2246
|
/**
|
|
2319
2247
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -2321,12 +2249,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2321
2249
|
* @param {number} arg
|
|
2322
2250
|
* @param {Callback<bigint> =} callback
|
|
2323
2251
|
**/
|
|
2324
|
-
childrenCuratorFees: GenericStorageQuery<
|
|
2252
|
+
childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2325
2253
|
|
|
2326
2254
|
/**
|
|
2327
2255
|
* Generic pallet storage query
|
|
2328
2256
|
**/
|
|
2329
|
-
[storage: string]: GenericStorageQuery
|
|
2257
|
+
[storage: string]: GenericStorageQuery;
|
|
2330
2258
|
};
|
|
2331
2259
|
/**
|
|
2332
2260
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -2341,7 +2269,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2341
2269
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
2342
2270
|
**/
|
|
2343
2271
|
conversionRateToNative: GenericStorageQuery<
|
|
2344
|
-
Rv,
|
|
2345
2272
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
2346
2273
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
2347
2274
|
>;
|
|
@@ -2349,7 +2276,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2349
2276
|
/**
|
|
2350
2277
|
* Generic pallet storage query
|
|
2351
2278
|
**/
|
|
2352
|
-
[storage: string]: GenericStorageQuery
|
|
2279
|
+
[storage: string]: GenericStorageQuery;
|
|
2353
2280
|
};
|
|
2354
2281
|
/**
|
|
2355
2282
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -2363,7 +2290,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2363
2290
|
*
|
|
2364
2291
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
2365
2292
|
**/
|
|
2366
|
-
migrationProcess: GenericStorageQuery<
|
|
2293
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
2367
2294
|
|
|
2368
2295
|
/**
|
|
2369
2296
|
* The limits that are imposed on automatic migrations.
|
|
@@ -2372,7 +2299,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2372
2299
|
*
|
|
2373
2300
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2374
2301
|
**/
|
|
2375
|
-
autoLimits: GenericStorageQuery<
|
|
2302
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2376
2303
|
|
|
2377
2304
|
/**
|
|
2378
2305
|
* The maximum limits that the signed migration could use.
|
|
@@ -2381,12 +2308,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2381
2308
|
*
|
|
2382
2309
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2383
2310
|
**/
|
|
2384
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
2311
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2385
2312
|
|
|
2386
2313
|
/**
|
|
2387
2314
|
* Generic pallet storage query
|
|
2388
2315
|
**/
|
|
2389
|
-
[storage: string]: GenericStorageQuery
|
|
2316
|
+
[storage: string]: GenericStorageQuery;
|
|
2390
2317
|
};
|
|
2391
2318
|
/**
|
|
2392
2319
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -2401,14 +2328,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2401
2328
|
*
|
|
2402
2329
|
* @param {Callback<bigint> =} callback
|
|
2403
2330
|
**/
|
|
2404
|
-
totalValueLocked: GenericStorageQuery<
|
|
2331
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
2405
2332
|
|
|
2406
2333
|
/**
|
|
2407
2334
|
* Minimum amount to bond to join a pool.
|
|
2408
2335
|
*
|
|
2409
2336
|
* @param {Callback<bigint> =} callback
|
|
2410
2337
|
**/
|
|
2411
|
-
minJoinBond: GenericStorageQuery<
|
|
2338
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
2412
2339
|
|
|
2413
2340
|
/**
|
|
2414
2341
|
* Minimum bond required to create a pool.
|
|
@@ -2421,7 +2348,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2421
2348
|
*
|
|
2422
2349
|
* @param {Callback<bigint> =} callback
|
|
2423
2350
|
**/
|
|
2424
|
-
minCreateBond: GenericStorageQuery<
|
|
2351
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
2425
2352
|
|
|
2426
2353
|
/**
|
|
2427
2354
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -2429,7 +2356,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2429
2356
|
*
|
|
2430
2357
|
* @param {Callback<number | undefined> =} callback
|
|
2431
2358
|
**/
|
|
2432
|
-
maxPools: GenericStorageQuery<
|
|
2359
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
2433
2360
|
|
|
2434
2361
|
/**
|
|
2435
2362
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -2437,7 +2364,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2437
2364
|
*
|
|
2438
2365
|
* @param {Callback<number | undefined> =} callback
|
|
2439
2366
|
**/
|
|
2440
|
-
maxPoolMembers: GenericStorageQuery<
|
|
2367
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
2441
2368
|
|
|
2442
2369
|
/**
|
|
2443
2370
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -2445,7 +2372,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2445
2372
|
*
|
|
2446
2373
|
* @param {Callback<number | undefined> =} callback
|
|
2447
2374
|
**/
|
|
2448
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
2375
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
2449
2376
|
|
|
2450
2377
|
/**
|
|
2451
2378
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -2454,7 +2381,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2454
2381
|
*
|
|
2455
2382
|
* @param {Callback<Perbill | undefined> =} callback
|
|
2456
2383
|
**/
|
|
2457
|
-
globalMaxCommission: GenericStorageQuery<
|
|
2384
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
2458
2385
|
|
|
2459
2386
|
/**
|
|
2460
2387
|
* Active members.
|
|
@@ -2465,7 +2392,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2465
2392
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
2466
2393
|
**/
|
|
2467
2394
|
poolMembers: GenericStorageQuery<
|
|
2468
|
-
Rv,
|
|
2469
2395
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
2470
2396
|
AccountId32
|
|
2471
2397
|
>;
|
|
@@ -2475,7 +2401,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2475
2401
|
*
|
|
2476
2402
|
* @param {Callback<number> =} callback
|
|
2477
2403
|
**/
|
|
2478
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
2404
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
2479
2405
|
|
|
2480
2406
|
/**
|
|
2481
2407
|
* Storage for bonded pools.
|
|
@@ -2483,14 +2409,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2483
2409
|
* @param {number} arg
|
|
2484
2410
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
2485
2411
|
**/
|
|
2486
|
-
bondedPools: GenericStorageQuery<
|
|
2412
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
2487
2413
|
|
|
2488
2414
|
/**
|
|
2489
2415
|
* Counter for the related counted storage map
|
|
2490
2416
|
*
|
|
2491
2417
|
* @param {Callback<number> =} callback
|
|
2492
2418
|
**/
|
|
2493
|
-
counterForBondedPools: GenericStorageQuery<
|
|
2419
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
2494
2420
|
|
|
2495
2421
|
/**
|
|
2496
2422
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -2499,14 +2425,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2499
2425
|
* @param {number} arg
|
|
2500
2426
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
2501
2427
|
**/
|
|
2502
|
-
rewardPools: GenericStorageQuery<
|
|
2428
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
2503
2429
|
|
|
2504
2430
|
/**
|
|
2505
2431
|
* Counter for the related counted storage map
|
|
2506
2432
|
*
|
|
2507
2433
|
* @param {Callback<number> =} callback
|
|
2508
2434
|
**/
|
|
2509
|
-
counterForRewardPools: GenericStorageQuery<
|
|
2435
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2510
2436
|
|
|
2511
2437
|
/**
|
|
2512
2438
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2515,14 +2441,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2515
2441
|
* @param {number} arg
|
|
2516
2442
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2517
2443
|
**/
|
|
2518
|
-
subPoolsStorage: GenericStorageQuery<
|
|
2444
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2519
2445
|
|
|
2520
2446
|
/**
|
|
2521
2447
|
* Counter for the related counted storage map
|
|
2522
2448
|
*
|
|
2523
2449
|
* @param {Callback<number> =} callback
|
|
2524
2450
|
**/
|
|
2525
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
2451
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2526
2452
|
|
|
2527
2453
|
/**
|
|
2528
2454
|
* Metadata for the pool.
|
|
@@ -2530,21 +2456,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2530
2456
|
* @param {number} arg
|
|
2531
2457
|
* @param {Callback<Bytes> =} callback
|
|
2532
2458
|
**/
|
|
2533
|
-
metadata: GenericStorageQuery<
|
|
2459
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2534
2460
|
|
|
2535
2461
|
/**
|
|
2536
2462
|
* Counter for the related counted storage map
|
|
2537
2463
|
*
|
|
2538
2464
|
* @param {Callback<number> =} callback
|
|
2539
2465
|
**/
|
|
2540
|
-
counterForMetadata: GenericStorageQuery<
|
|
2466
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
2541
2467
|
|
|
2542
2468
|
/**
|
|
2543
2469
|
* Ever increasing number of all pools created so far.
|
|
2544
2470
|
*
|
|
2545
2471
|
* @param {Callback<number> =} callback
|
|
2546
2472
|
**/
|
|
2547
|
-
lastPoolId: GenericStorageQuery<
|
|
2473
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
2548
2474
|
|
|
2549
2475
|
/**
|
|
2550
2476
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -2555,14 +2481,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2555
2481
|
* @param {AccountId32Like} arg
|
|
2556
2482
|
* @param {Callback<number | undefined> =} callback
|
|
2557
2483
|
**/
|
|
2558
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2484
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
2559
2485
|
|
|
2560
2486
|
/**
|
|
2561
2487
|
* Counter for the related counted storage map
|
|
2562
2488
|
*
|
|
2563
2489
|
* @param {Callback<number> =} callback
|
|
2564
2490
|
**/
|
|
2565
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2491
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
2566
2492
|
|
|
2567
2493
|
/**
|
|
2568
2494
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -2570,16 +2496,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2570
2496
|
* @param {AccountId32Like} arg
|
|
2571
2497
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
2572
2498
|
**/
|
|
2573
|
-
claimPermissions: GenericStorageQuery<
|
|
2574
|
-
Rv,
|
|
2575
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
2576
|
-
AccountId32
|
|
2577
|
-
>;
|
|
2499
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
2578
2500
|
|
|
2579
2501
|
/**
|
|
2580
2502
|
* Generic pallet storage query
|
|
2581
2503
|
**/
|
|
2582
|
-
[storage: string]: GenericStorageQuery
|
|
2504
|
+
[storage: string]: GenericStorageQuery;
|
|
2583
2505
|
};
|
|
2584
2506
|
/**
|
|
2585
2507
|
* Pallet `VoterList`'s storage queries
|
|
@@ -2593,14 +2515,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2593
2515
|
* @param {AccountId32Like} arg
|
|
2594
2516
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
2595
2517
|
**/
|
|
2596
|
-
listNodes: GenericStorageQuery<
|
|
2518
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
2597
2519
|
|
|
2598
2520
|
/**
|
|
2599
2521
|
* Counter for the related counted storage map
|
|
2600
2522
|
*
|
|
2601
2523
|
* @param {Callback<number> =} callback
|
|
2602
2524
|
**/
|
|
2603
|
-
counterForListNodes: GenericStorageQuery<
|
|
2525
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
2604
2526
|
|
|
2605
2527
|
/**
|
|
2606
2528
|
* A bag stored in storage.
|
|
@@ -2610,7 +2532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2610
2532
|
* @param {bigint} arg
|
|
2611
2533
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
2612
2534
|
**/
|
|
2613
|
-
listBags: GenericStorageQuery<
|
|
2535
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
2614
2536
|
|
|
2615
2537
|
/**
|
|
2616
2538
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -2618,7 +2540,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2618
2540
|
*
|
|
2619
2541
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2620
2542
|
**/
|
|
2621
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
2543
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2622
2544
|
|
|
2623
2545
|
/**
|
|
2624
2546
|
* Lock all updates to this pallet.
|
|
@@ -2628,12 +2550,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2628
2550
|
*
|
|
2629
2551
|
* @param {Callback<[] | undefined> =} callback
|
|
2630
2552
|
**/
|
|
2631
|
-
lock: GenericStorageQuery<
|
|
2553
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2632
2554
|
|
|
2633
2555
|
/**
|
|
2634
2556
|
* Generic pallet storage query
|
|
2635
2557
|
**/
|
|
2636
|
-
[storage: string]: GenericStorageQuery
|
|
2558
|
+
[storage: string]: GenericStorageQuery;
|
|
2637
2559
|
};
|
|
2638
2560
|
/**
|
|
2639
2561
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -2649,7 +2571,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2649
2571
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2650
2572
|
**/
|
|
2651
2573
|
delegators: GenericStorageQuery<
|
|
2652
|
-
Rv,
|
|
2653
2574
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2654
2575
|
AccountId32
|
|
2655
2576
|
>;
|
|
@@ -2659,7 +2580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2659
2580
|
*
|
|
2660
2581
|
* @param {Callback<number> =} callback
|
|
2661
2582
|
**/
|
|
2662
|
-
counterForDelegators: GenericStorageQuery<
|
|
2583
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2663
2584
|
|
|
2664
2585
|
/**
|
|
2665
2586
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -2667,23 +2588,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2667
2588
|
* @param {AccountId32Like} arg
|
|
2668
2589
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2669
2590
|
**/
|
|
2670
|
-
agents: GenericStorageQuery<
|
|
2671
|
-
Rv,
|
|
2672
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2673
|
-
AccountId32
|
|
2674
|
-
>;
|
|
2591
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2675
2592
|
|
|
2676
2593
|
/**
|
|
2677
2594
|
* Counter for the related counted storage map
|
|
2678
2595
|
*
|
|
2679
2596
|
* @param {Callback<number> =} callback
|
|
2680
2597
|
**/
|
|
2681
|
-
counterForAgents: GenericStorageQuery<
|
|
2598
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
2682
2599
|
|
|
2683
2600
|
/**
|
|
2684
2601
|
* Generic pallet storage query
|
|
2685
2602
|
**/
|
|
2686
|
-
[storage: string]: GenericStorageQuery
|
|
2603
|
+
[storage: string]: GenericStorageQuery;
|
|
2687
2604
|
};
|
|
2688
2605
|
/**
|
|
2689
2606
|
* Pallet `StakingRcClient`'s storage queries
|
|
@@ -2694,7 +2611,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2694
2611
|
*
|
|
2695
2612
|
* @param {Callback<PalletStakingAsyncRcClientSessionReport | undefined> =} callback
|
|
2696
2613
|
**/
|
|
2697
|
-
incompleteSessionReport: GenericStorageQuery<
|
|
2614
|
+
incompleteSessionReport: GenericStorageQuery<() => PalletStakingAsyncRcClientSessionReport | undefined>;
|
|
2698
2615
|
|
|
2699
2616
|
/**
|
|
2700
2617
|
* The last session report's `end_index` that we have acted upon.
|
|
@@ -2708,7 +2625,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2708
2625
|
*
|
|
2709
2626
|
* @param {Callback<number | undefined> =} callback
|
|
2710
2627
|
**/
|
|
2711
|
-
lastSessionReportEndingIndex: GenericStorageQuery<
|
|
2628
|
+
lastSessionReportEndingIndex: GenericStorageQuery<() => number | undefined>;
|
|
2712
2629
|
|
|
2713
2630
|
/**
|
|
2714
2631
|
* A validator set that is outgoing, and should be sent.
|
|
@@ -2718,15 +2635,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2718
2635
|
*
|
|
2719
2636
|
* @param {Callback<[PalletStakingAsyncRcClientValidatorSetReport, number] | undefined> =} callback
|
|
2720
2637
|
**/
|
|
2721
|
-
outgoingValidatorSet: GenericStorageQuery<
|
|
2722
|
-
Rv,
|
|
2723
|
-
() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined
|
|
2724
|
-
>;
|
|
2638
|
+
outgoingValidatorSet: GenericStorageQuery<() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined>;
|
|
2725
2639
|
|
|
2726
2640
|
/**
|
|
2727
2641
|
* Generic pallet storage query
|
|
2728
2642
|
**/
|
|
2729
|
-
[storage: string]: GenericStorageQuery
|
|
2643
|
+
[storage: string]: GenericStorageQuery;
|
|
2730
2644
|
};
|
|
2731
2645
|
/**
|
|
2732
2646
|
* Pallet `MultiBlockElection`'s storage queries
|
|
@@ -2742,14 +2656,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2742
2656
|
*
|
|
2743
2657
|
* @param {Callback<number> =} callback
|
|
2744
2658
|
**/
|
|
2745
|
-
round: GenericStorageQuery<
|
|
2659
|
+
round: GenericStorageQuery<() => number>;
|
|
2746
2660
|
|
|
2747
2661
|
/**
|
|
2748
2662
|
* Current phase.
|
|
2749
2663
|
*
|
|
2750
2664
|
* @param {Callback<PalletElectionProviderMultiBlockPhase> =} callback
|
|
2751
2665
|
**/
|
|
2752
|
-
currentPhase: GenericStorageQuery<
|
|
2666
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiBlockPhase>;
|
|
2753
2667
|
|
|
2754
2668
|
/**
|
|
2755
2669
|
* Desired number of targets to elect for this round.
|
|
@@ -2757,7 +2671,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2757
2671
|
* @param {number} arg
|
|
2758
2672
|
* @param {Callback<number | undefined> =} callback
|
|
2759
2673
|
**/
|
|
2760
|
-
desiredTargets: GenericStorageQuery<
|
|
2674
|
+
desiredTargets: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
2761
2675
|
|
|
2762
2676
|
/**
|
|
2763
2677
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
|
@@ -2766,7 +2680,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2766
2680
|
* @param {Callback<Array<[AccountId32, bigint, Array<AccountId32>]> | undefined> =} callback
|
|
2767
2681
|
**/
|
|
2768
2682
|
pagedVoterSnapshot: GenericStorageQuery<
|
|
2769
|
-
Rv,
|
|
2770
2683
|
(arg: [number, number]) => Array<[AccountId32, bigint, Array<AccountId32>]> | undefined,
|
|
2771
2684
|
[number, number]
|
|
2772
2685
|
>;
|
|
@@ -2779,7 +2692,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2779
2692
|
* @param {[number, number]} arg
|
|
2780
2693
|
* @param {Callback<H256 | undefined> =} callback
|
|
2781
2694
|
**/
|
|
2782
|
-
pagedVoterSnapshotHash: GenericStorageQuery<
|
|
2695
|
+
pagedVoterSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2783
2696
|
|
|
2784
2697
|
/**
|
|
2785
2698
|
* Paginated target snapshot.
|
|
@@ -2790,7 +2703,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2790
2703
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
2791
2704
|
**/
|
|
2792
2705
|
pagedTargetSnapshot: GenericStorageQuery<
|
|
2793
|
-
Rv,
|
|
2794
2706
|
(arg: [number, number]) => Array<AccountId32> | undefined,
|
|
2795
2707
|
[number, number]
|
|
2796
2708
|
>;
|
|
@@ -2803,12 +2715,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2803
2715
|
* @param {[number, number]} arg
|
|
2804
2716
|
* @param {Callback<H256 | undefined> =} callback
|
|
2805
2717
|
**/
|
|
2806
|
-
pagedTargetSnapshotHash: GenericStorageQuery<
|
|
2718
|
+
pagedTargetSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2807
2719
|
|
|
2808
2720
|
/**
|
|
2809
2721
|
* Generic pallet storage query
|
|
2810
2722
|
**/
|
|
2811
|
-
[storage: string]: GenericStorageQuery
|
|
2723
|
+
[storage: string]: GenericStorageQuery;
|
|
2812
2724
|
};
|
|
2813
2725
|
/**
|
|
2814
2726
|
* Pallet `MultiBlockElectionVerifier`'s storage queries
|
|
@@ -2827,7 +2739,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2827
2739
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2828
2740
|
**/
|
|
2829
2741
|
queuedSolutionX: GenericStorageQuery<
|
|
2830
|
-
Rv,
|
|
2831
2742
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2832
2743
|
[number, number]
|
|
2833
2744
|
>;
|
|
@@ -2839,7 +2750,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2839
2750
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2840
2751
|
**/
|
|
2841
2752
|
queuedSolutionY: GenericStorageQuery<
|
|
2842
|
-
Rv,
|
|
2843
2753
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2844
2754
|
[number, number]
|
|
2845
2755
|
>;
|
|
@@ -2852,7 +2762,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2852
2762
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsValidSolution> =} callback
|
|
2853
2763
|
**/
|
|
2854
2764
|
queuedValidVariant: GenericStorageQuery<
|
|
2855
|
-
Rv,
|
|
2856
2765
|
(arg: number) => PalletElectionProviderMultiBlockVerifierImplsValidSolution,
|
|
2857
2766
|
number
|
|
2858
2767
|
>;
|
|
@@ -2871,7 +2780,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2871
2780
|
* @param {Callback<Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined> =} callback
|
|
2872
2781
|
**/
|
|
2873
2782
|
queuedSolutionBackings: GenericStorageQuery<
|
|
2874
|
-
Rv,
|
|
2875
2783
|
(
|
|
2876
2784
|
arg: [number, number],
|
|
2877
2785
|
) => Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined,
|
|
@@ -2886,26 +2794,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2886
2794
|
* @param {number} arg
|
|
2887
2795
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2888
2796
|
**/
|
|
2889
|
-
queuedSolutionScore: GenericStorageQuery<
|
|
2797
|
+
queuedSolutionScore: GenericStorageQuery<(arg: number) => SpNposElectionsElectionScore | undefined, number>;
|
|
2890
2798
|
|
|
2891
2799
|
/**
|
|
2892
2800
|
* The minimum score that each solution must attain in order to be considered feasible.
|
|
2893
2801
|
*
|
|
2894
2802
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2895
2803
|
**/
|
|
2896
|
-
minimumScore: GenericStorageQuery<
|
|
2804
|
+
minimumScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
2897
2805
|
|
|
2898
2806
|
/**
|
|
2899
2807
|
* Storage item for [`Status`].
|
|
2900
2808
|
*
|
|
2901
2809
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsStatus> =} callback
|
|
2902
2810
|
**/
|
|
2903
|
-
statusStorage: GenericStorageQuery<
|
|
2811
|
+
statusStorage: GenericStorageQuery<() => PalletElectionProviderMultiBlockVerifierImplsStatus>;
|
|
2904
2812
|
|
|
2905
2813
|
/**
|
|
2906
2814
|
* Generic pallet storage query
|
|
2907
2815
|
**/
|
|
2908
|
-
[storage: string]: GenericStorageQuery
|
|
2816
|
+
[storage: string]: GenericStorageQuery;
|
|
2909
2817
|
};
|
|
2910
2818
|
/**
|
|
2911
2819
|
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
@@ -2924,14 +2832,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2924
2832
|
*
|
|
2925
2833
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2926
2834
|
**/
|
|
2927
|
-
invulnerables: GenericStorageQuery<
|
|
2835
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2928
2836
|
|
|
2929
2837
|
/**
|
|
2930
2838
|
*
|
|
2931
2839
|
* @param {number} arg
|
|
2932
2840
|
* @param {Callback<Array<[AccountId32, SpNposElectionsElectionScore]>> =} callback
|
|
2933
2841
|
**/
|
|
2934
|
-
sortedScores: GenericStorageQuery<
|
|
2842
|
+
sortedScores: GenericStorageQuery<(arg: number) => Array<[AccountId32, SpNposElectionsElectionScore]>, number>;
|
|
2935
2843
|
|
|
2936
2844
|
/**
|
|
2937
2845
|
* Triple map from (round, account, page) to a solution page.
|
|
@@ -2940,7 +2848,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2940
2848
|
* @param {Callback<AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined> =} callback
|
|
2941
2849
|
**/
|
|
2942
2850
|
submissionStorage: GenericStorageQuery<
|
|
2943
|
-
Rv,
|
|
2944
2851
|
(arg: [number, AccountId32Like, number]) => AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined,
|
|
2945
2852
|
[number, AccountId32, number]
|
|
2946
2853
|
>;
|
|
@@ -2955,7 +2862,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2955
2862
|
* @param {Callback<PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined> =} callback
|
|
2956
2863
|
**/
|
|
2957
2864
|
submissionMetadataStorage: GenericStorageQuery<
|
|
2958
|
-
Rv,
|
|
2959
2865
|
(arg: [number, AccountId32Like]) => PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined,
|
|
2960
2866
|
[number, AccountId32]
|
|
2961
2867
|
>;
|
|
@@ -2963,7 +2869,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2963
2869
|
/**
|
|
2964
2870
|
* Generic pallet storage query
|
|
2965
2871
|
**/
|
|
2966
|
-
[storage: string]: GenericStorageQuery
|
|
2872
|
+
[storage: string]: GenericStorageQuery;
|
|
2967
2873
|
};
|
|
2968
2874
|
/**
|
|
2969
2875
|
* Pallet `Staking`'s storage queries
|
|
@@ -2974,7 +2880,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2974
2880
|
*
|
|
2975
2881
|
* @param {Callback<number> =} callback
|
|
2976
2882
|
**/
|
|
2977
|
-
validatorCount: GenericStorageQuery<
|
|
2883
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
2978
2884
|
|
|
2979
2885
|
/**
|
|
2980
2886
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -2983,7 +2889,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2983
2889
|
*
|
|
2984
2890
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2985
2891
|
**/
|
|
2986
|
-
invulnerables: GenericStorageQuery<
|
|
2892
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2987
2893
|
|
|
2988
2894
|
/**
|
|
2989
2895
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -2993,28 +2899,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2993
2899
|
* @param {AccountId32Like} arg
|
|
2994
2900
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2995
2901
|
**/
|
|
2996
|
-
bonded: GenericStorageQuery<
|
|
2902
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
2997
2903
|
|
|
2998
2904
|
/**
|
|
2999
2905
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
3000
2906
|
*
|
|
3001
2907
|
* @param {Callback<bigint> =} callback
|
|
3002
2908
|
**/
|
|
3003
|
-
minNominatorBond: GenericStorageQuery<
|
|
2909
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
3004
2910
|
|
|
3005
2911
|
/**
|
|
3006
2912
|
* The minimum active bond to become and maintain the role of a validator.
|
|
3007
2913
|
*
|
|
3008
2914
|
* @param {Callback<bigint> =} callback
|
|
3009
2915
|
**/
|
|
3010
|
-
minValidatorBond: GenericStorageQuery<
|
|
2916
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
3011
2917
|
|
|
3012
2918
|
/**
|
|
3013
2919
|
* The minimum active nominator stake of the last successful election.
|
|
3014
2920
|
*
|
|
3015
2921
|
* @param {Callback<bigint> =} callback
|
|
3016
2922
|
**/
|
|
3017
|
-
minimumActiveStake: GenericStorageQuery<
|
|
2923
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
3018
2924
|
|
|
3019
2925
|
/**
|
|
3020
2926
|
* The minimum amount of commission that validators can set.
|
|
@@ -3023,7 +2929,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3023
2929
|
*
|
|
3024
2930
|
* @param {Callback<Perbill> =} callback
|
|
3025
2931
|
**/
|
|
3026
|
-
minCommission: GenericStorageQuery<
|
|
2932
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
3027
2933
|
|
|
3028
2934
|
/**
|
|
3029
2935
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -3035,7 +2941,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3035
2941
|
* @param {Callback<PalletStakingAsyncLedgerStakingLedger | undefined> =} callback
|
|
3036
2942
|
**/
|
|
3037
2943
|
ledger: GenericStorageQuery<
|
|
3038
|
-
Rv,
|
|
3039
2944
|
(arg: AccountId32Like) => PalletStakingAsyncLedgerStakingLedger | undefined,
|
|
3040
2945
|
AccountId32
|
|
3041
2946
|
>;
|
|
@@ -3048,11 +2953,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3048
2953
|
* @param {AccountId32Like} arg
|
|
3049
2954
|
* @param {Callback<PalletStakingAsyncRewardDestination | undefined> =} callback
|
|
3050
2955
|
**/
|
|
3051
|
-
payee: GenericStorageQuery<
|
|
3052
|
-
Rv,
|
|
3053
|
-
(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined,
|
|
3054
|
-
AccountId32
|
|
3055
|
-
>;
|
|
2956
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined, AccountId32>;
|
|
3056
2957
|
|
|
3057
2958
|
/**
|
|
3058
2959
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -3062,14 +2963,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3062
2963
|
* @param {AccountId32Like} arg
|
|
3063
2964
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3064
2965
|
**/
|
|
3065
|
-
validators: GenericStorageQuery<
|
|
2966
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncValidatorPrefs, AccountId32>;
|
|
3066
2967
|
|
|
3067
2968
|
/**
|
|
3068
2969
|
* Counter for the related counted storage map
|
|
3069
2970
|
*
|
|
3070
2971
|
* @param {Callback<number> =} callback
|
|
3071
2972
|
**/
|
|
3072
|
-
counterForValidators: GenericStorageQuery<
|
|
2973
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
3073
2974
|
|
|
3074
2975
|
/**
|
|
3075
2976
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -3078,7 +2979,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3078
2979
|
*
|
|
3079
2980
|
* @param {Callback<number | undefined> =} callback
|
|
3080
2981
|
**/
|
|
3081
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
2982
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3082
2983
|
|
|
3083
2984
|
/**
|
|
3084
2985
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -3104,18 +3005,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3104
3005
|
* @param {AccountId32Like} arg
|
|
3105
3006
|
* @param {Callback<PalletStakingAsyncNominations | undefined> =} callback
|
|
3106
3007
|
**/
|
|
3107
|
-
nominators: GenericStorageQuery<
|
|
3108
|
-
Rv,
|
|
3109
|
-
(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined,
|
|
3110
|
-
AccountId32
|
|
3111
|
-
>;
|
|
3008
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined, AccountId32>;
|
|
3112
3009
|
|
|
3113
3010
|
/**
|
|
3114
3011
|
* Counter for the related counted storage map
|
|
3115
3012
|
*
|
|
3116
3013
|
* @param {Callback<number> =} callback
|
|
3117
3014
|
**/
|
|
3118
|
-
counterForNominators: GenericStorageQuery<
|
|
3015
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
3119
3016
|
|
|
3120
3017
|
/**
|
|
3121
3018
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -3128,14 +3025,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3128
3025
|
* @param {AccountId32Like} arg
|
|
3129
3026
|
* @param {Callback<[] | undefined> =} callback
|
|
3130
3027
|
**/
|
|
3131
|
-
virtualStakers: GenericStorageQuery<
|
|
3028
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
3132
3029
|
|
|
3133
3030
|
/**
|
|
3134
3031
|
* Counter for the related counted storage map
|
|
3135
3032
|
*
|
|
3136
3033
|
* @param {Callback<number> =} callback
|
|
3137
3034
|
**/
|
|
3138
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
3035
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
3139
3036
|
|
|
3140
3037
|
/**
|
|
3141
3038
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -3144,7 +3041,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3144
3041
|
*
|
|
3145
3042
|
* @param {Callback<number | undefined> =} callback
|
|
3146
3043
|
**/
|
|
3147
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
3044
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3148
3045
|
|
|
3149
3046
|
/**
|
|
3150
3047
|
* The current planned era index.
|
|
@@ -3154,7 +3051,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3154
3051
|
*
|
|
3155
3052
|
* @param {Callback<number | undefined> =} callback
|
|
3156
3053
|
**/
|
|
3157
|
-
currentEra: GenericStorageQuery<
|
|
3054
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
3158
3055
|
|
|
3159
3056
|
/**
|
|
3160
3057
|
* The active era information, it holds index and start.
|
|
@@ -3164,7 +3061,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3164
3061
|
*
|
|
3165
3062
|
* @param {Callback<PalletStakingAsyncActiveEraInfo | undefined> =} callback
|
|
3166
3063
|
**/
|
|
3167
|
-
activeEra: GenericStorageQuery<
|
|
3064
|
+
activeEra: GenericStorageQuery<() => PalletStakingAsyncActiveEraInfo | undefined>;
|
|
3168
3065
|
|
|
3169
3066
|
/**
|
|
3170
3067
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -3174,7 +3071,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3174
3071
|
*
|
|
3175
3072
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
3176
3073
|
**/
|
|
3177
|
-
bondedEras: GenericStorageQuery<
|
|
3074
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
3178
3075
|
|
|
3179
3076
|
/**
|
|
3180
3077
|
* Summary of validator exposure at a given era.
|
|
@@ -3194,7 +3091,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3194
3091
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
3195
3092
|
**/
|
|
3196
3093
|
erasStakersOverview: GenericStorageQuery<
|
|
3197
|
-
Rv,
|
|
3198
3094
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
3199
3095
|
[number, AccountId32]
|
|
3200
3096
|
>;
|
|
@@ -3211,7 +3107,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3211
3107
|
* @param {Callback<PalletStakingAsyncPalletBoundedExposurePage | undefined> =} callback
|
|
3212
3108
|
**/
|
|
3213
3109
|
erasStakersPaged: GenericStorageQuery<
|
|
3214
|
-
Rv,
|
|
3215
3110
|
(arg: [number, AccountId32Like, number]) => PalletStakingAsyncPalletBoundedExposurePage | undefined,
|
|
3216
3111
|
[number, AccountId32, number]
|
|
3217
3112
|
>;
|
|
@@ -3227,7 +3122,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3227
3122
|
* @param {[number, AccountId32Like]} arg
|
|
3228
3123
|
* @param {Callback<Array<number>> =} callback
|
|
3229
3124
|
**/
|
|
3230
|
-
claimedRewards: GenericStorageQuery<
|
|
3125
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
3231
3126
|
|
|
3232
3127
|
/**
|
|
3233
3128
|
* Exposure of validator at era with the preferences of validators.
|
|
@@ -3240,7 +3135,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3240
3135
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3241
3136
|
**/
|
|
3242
3137
|
erasValidatorPrefs: GenericStorageQuery<
|
|
3243
|
-
Rv,
|
|
3244
3138
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncValidatorPrefs,
|
|
3245
3139
|
[number, AccountId32]
|
|
3246
3140
|
>;
|
|
@@ -3253,7 +3147,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3253
3147
|
* @param {number} arg
|
|
3254
3148
|
* @param {Callback<bigint | undefined> =} callback
|
|
3255
3149
|
**/
|
|
3256
|
-
erasValidatorReward: GenericStorageQuery<
|
|
3150
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
3257
3151
|
|
|
3258
3152
|
/**
|
|
3259
3153
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3262,7 +3156,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3262
3156
|
* @param {number} arg
|
|
3263
3157
|
* @param {Callback<PalletStakingAsyncEraRewardPoints> =} callback
|
|
3264
3158
|
**/
|
|
3265
|
-
erasRewardPoints: GenericStorageQuery<
|
|
3159
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingAsyncEraRewardPoints, number>;
|
|
3266
3160
|
|
|
3267
3161
|
/**
|
|
3268
3162
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3271,14 +3165,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3271
3165
|
* @param {number} arg
|
|
3272
3166
|
* @param {Callback<bigint> =} callback
|
|
3273
3167
|
**/
|
|
3274
|
-
erasTotalStake: GenericStorageQuery<
|
|
3168
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
3275
3169
|
|
|
3276
3170
|
/**
|
|
3277
3171
|
* Mode of era forcing.
|
|
3278
3172
|
*
|
|
3279
3173
|
* @param {Callback<PalletStakingAsyncForcing> =} callback
|
|
3280
3174
|
**/
|
|
3281
|
-
forceEra: GenericStorageQuery<
|
|
3175
|
+
forceEra: GenericStorageQuery<() => PalletStakingAsyncForcing>;
|
|
3282
3176
|
|
|
3283
3177
|
/**
|
|
3284
3178
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -3287,7 +3181,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3287
3181
|
*
|
|
3288
3182
|
* @param {Callback<Percent | undefined> =} callback
|
|
3289
3183
|
**/
|
|
3290
|
-
maxStakedRewards: GenericStorageQuery<
|
|
3184
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
3291
3185
|
|
|
3292
3186
|
/**
|
|
3293
3187
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -3296,7 +3190,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3296
3190
|
*
|
|
3297
3191
|
* @param {Callback<Perbill> =} callback
|
|
3298
3192
|
**/
|
|
3299
|
-
slashRewardFraction: GenericStorageQuery<
|
|
3193
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
3300
3194
|
|
|
3301
3195
|
/**
|
|
3302
3196
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -3304,7 +3198,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3304
3198
|
*
|
|
3305
3199
|
* @param {Callback<bigint> =} callback
|
|
3306
3200
|
**/
|
|
3307
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
3201
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
3308
3202
|
|
|
3309
3203
|
/**
|
|
3310
3204
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
|
@@ -3322,7 +3216,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3322
3216
|
* @param {Callback<PalletStakingAsyncSlashingOffenceRecord | undefined> =} callback
|
|
3323
3217
|
**/
|
|
3324
3218
|
offenceQueue: GenericStorageQuery<
|
|
3325
|
-
Rv,
|
|
3326
3219
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncSlashingOffenceRecord | undefined,
|
|
3327
3220
|
[number, AccountId32]
|
|
3328
3221
|
>;
|
|
@@ -3342,7 +3235,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3342
3235
|
*
|
|
3343
3236
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
3344
3237
|
**/
|
|
3345
|
-
offenceQueueEras: GenericStorageQuery<
|
|
3238
|
+
offenceQueueEras: GenericStorageQuery<() => Array<number> | undefined>;
|
|
3346
3239
|
|
|
3347
3240
|
/**
|
|
3348
3241
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
|
@@ -3361,7 +3254,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3361
3254
|
* @param {Callback<[number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined> =} callback
|
|
3362
3255
|
**/
|
|
3363
3256
|
processingOffence: GenericStorageQuery<
|
|
3364
|
-
Rv,
|
|
3365
3257
|
() => [number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined
|
|
3366
3258
|
>;
|
|
3367
3259
|
|
|
@@ -3372,7 +3264,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3372
3264
|
* @param {Callback<PalletStakingAsyncUnappliedSlash | undefined> =} callback
|
|
3373
3265
|
**/
|
|
3374
3266
|
unappliedSlashes: GenericStorageQuery<
|
|
3375
|
-
Rv,
|
|
3376
3267
|
(arg: [number, [AccountId32Like, Perbill, number]]) => PalletStakingAsyncUnappliedSlash | undefined,
|
|
3377
3268
|
[number, [AccountId32, Perbill, number]]
|
|
3378
3269
|
>;
|
|
@@ -3387,7 +3278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3387
3278
|
* @param {number} arg
|
|
3388
3279
|
* @param {Callback<Array<[AccountId32, Perbill]>> =} callback
|
|
3389
3280
|
**/
|
|
3390
|
-
cancelledSlashes: GenericStorageQuery<
|
|
3281
|
+
cancelledSlashes: GenericStorageQuery<(arg: number) => Array<[AccountId32, Perbill]>, number>;
|
|
3391
3282
|
|
|
3392
3283
|
/**
|
|
3393
3284
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -3397,7 +3288,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3397
3288
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
3398
3289
|
**/
|
|
3399
3290
|
validatorSlashInEra: GenericStorageQuery<
|
|
3400
|
-
Rv,
|
|
3401
3291
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
3402
3292
|
[number, AccountId32]
|
|
3403
3293
|
>;
|
|
@@ -3409,7 +3299,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3409
3299
|
*
|
|
3410
3300
|
* @param {Callback<Percent | undefined> =} callback
|
|
3411
3301
|
**/
|
|
3412
|
-
chillThreshold: GenericStorageQuery<
|
|
3302
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
3413
3303
|
|
|
3414
3304
|
/**
|
|
3415
3305
|
* Voter snapshot progress status.
|
|
@@ -3419,7 +3309,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3419
3309
|
*
|
|
3420
3310
|
* @param {Callback<PalletStakingAsyncSnapshotStatus> =} callback
|
|
3421
3311
|
**/
|
|
3422
|
-
voterSnapshotStatus: GenericStorageQuery<
|
|
3312
|
+
voterSnapshotStatus: GenericStorageQuery<() => PalletStakingAsyncSnapshotStatus>;
|
|
3423
3313
|
|
|
3424
3314
|
/**
|
|
3425
3315
|
* Keeps track of an ongoing multi-page election solution request.
|
|
@@ -3431,14 +3321,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3431
3321
|
*
|
|
3432
3322
|
* @param {Callback<number | undefined> =} callback
|
|
3433
3323
|
**/
|
|
3434
|
-
nextElectionPage: GenericStorageQuery<
|
|
3324
|
+
nextElectionPage: GenericStorageQuery<() => number | undefined>;
|
|
3435
3325
|
|
|
3436
3326
|
/**
|
|
3437
3327
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
|
3438
3328
|
*
|
|
3439
3329
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3440
3330
|
**/
|
|
3441
|
-
electableStashes: GenericStorageQuery<
|
|
3331
|
+
electableStashes: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3442
3332
|
|
|
3443
3333
|
/**
|
|
3444
3334
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
|
@@ -3446,12 +3336,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3446
3336
|
* @param {number} arg
|
|
3447
3337
|
* @param {Callback<PalletStakingAsyncPalletPruningStep | undefined> =} callback
|
|
3448
3338
|
**/
|
|
3449
|
-
eraPruningState: GenericStorageQuery<
|
|
3339
|
+
eraPruningState: GenericStorageQuery<(arg: number) => PalletStakingAsyncPalletPruningStep | undefined, number>;
|
|
3450
3340
|
|
|
3451
3341
|
/**
|
|
3452
3342
|
* Generic pallet storage query
|
|
3453
3343
|
**/
|
|
3454
|
-
[storage: string]: GenericStorageQuery
|
|
3344
|
+
[storage: string]: GenericStorageQuery;
|
|
3455
3345
|
};
|
|
3456
3346
|
/**
|
|
3457
3347
|
* Pallet `AhOps`'s storage queries
|
|
@@ -3477,7 +3367,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3477
3367
|
* @param {Callback<bigint | undefined> =} callback
|
|
3478
3368
|
**/
|
|
3479
3369
|
rcLeaseReserve: GenericStorageQuery<
|
|
3480
|
-
Rv,
|
|
3481
3370
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3482
3371
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3483
3372
|
>;
|
|
@@ -3500,7 +3389,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3500
3389
|
* @param {Callback<[AccountId32, bigint] | undefined> =} callback
|
|
3501
3390
|
**/
|
|
3502
3391
|
rcCrowdloanContribution: GenericStorageQuery<
|
|
3503
|
-
Rv,
|
|
3504
3392
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => [AccountId32, bigint] | undefined,
|
|
3505
3393
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3506
3394
|
>;
|
|
@@ -3520,7 +3408,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3520
3408
|
* @param {Callback<bigint | undefined> =} callback
|
|
3521
3409
|
**/
|
|
3522
3410
|
rcCrowdloanReserve: GenericStorageQuery<
|
|
3523
|
-
Rv,
|
|
3524
3411
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3525
3412
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3526
3413
|
>;
|
|
@@ -3528,7 +3415,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3528
3415
|
/**
|
|
3529
3416
|
* Generic pallet storage query
|
|
3530
3417
|
**/
|
|
3531
|
-
[storage: string]: GenericStorageQuery
|
|
3418
|
+
[storage: string]: GenericStorageQuery;
|
|
3532
3419
|
};
|
|
3533
3420
|
/**
|
|
3534
3421
|
* Pallet `AhMigrator`'s storage queries
|
|
@@ -3542,18 +3429,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3542
3429
|
* @param {AccountId32Like} arg
|
|
3543
3430
|
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
3544
3431
|
**/
|
|
3545
|
-
rcAccounts: GenericStorageQuery<
|
|
3546
|
-
Rv,
|
|
3547
|
-
(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined,
|
|
3548
|
-
AccountId32
|
|
3549
|
-
>;
|
|
3432
|
+
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined, AccountId32>;
|
|
3550
3433
|
|
|
3551
3434
|
/**
|
|
3552
3435
|
* The Asset Hub migration state.
|
|
3553
3436
|
*
|
|
3554
3437
|
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
3555
3438
|
**/
|
|
3556
|
-
ahMigrationStage: GenericStorageQuery<
|
|
3439
|
+
ahMigrationStage: GenericStorageQuery<() => PalletAhMigratorMigrationStage>;
|
|
3557
3440
|
|
|
3558
3441
|
/**
|
|
3559
3442
|
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
@@ -3562,7 +3445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3562
3445
|
*
|
|
3563
3446
|
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
3564
3447
|
**/
|
|
3565
|
-
ahBalancesBefore: GenericStorageQuery<
|
|
3448
|
+
ahBalancesBefore: GenericStorageQuery<() => PalletAhMigratorBalancesBefore>;
|
|
3566
3449
|
|
|
3567
3450
|
/**
|
|
3568
3451
|
* The priority of the DMP queue during migration.
|
|
@@ -3574,7 +3457,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3574
3457
|
*
|
|
3575
3458
|
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
3576
3459
|
**/
|
|
3577
|
-
dmpQueuePriorityConfig: GenericStorageQuery<
|
|
3460
|
+
dmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
3578
3461
|
|
|
3579
3462
|
/**
|
|
3580
3463
|
* An optional account id of a manager.
|
|
@@ -3584,7 +3467,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3584
3467
|
*
|
|
3585
3468
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3586
3469
|
**/
|
|
3587
|
-
manager: GenericStorageQuery<
|
|
3470
|
+
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3588
3471
|
|
|
3589
3472
|
/**
|
|
3590
3473
|
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
@@ -3594,7 +3477,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3594
3477
|
*
|
|
3595
3478
|
* @param {Callback<number | undefined> =} callback
|
|
3596
3479
|
**/
|
|
3597
|
-
migrationStartBlock: GenericStorageQuery<
|
|
3480
|
+
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
3598
3481
|
|
|
3599
3482
|
/**
|
|
3600
3483
|
* Block number when migration finished and extrinsics were unlocked.
|
|
@@ -3604,11 +3487,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3604
3487
|
*
|
|
3605
3488
|
* @param {Callback<number | undefined> =} callback
|
|
3606
3489
|
**/
|
|
3607
|
-
migrationEndBlock: GenericStorageQuery<
|
|
3490
|
+
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
3608
3491
|
|
|
3609
3492
|
/**
|
|
3610
3493
|
* Generic pallet storage query
|
|
3611
3494
|
**/
|
|
3612
|
-
[storage: string]: GenericStorageQuery
|
|
3495
|
+
[storage: string]: GenericStorageQuery;
|
|
3613
3496
|
};
|
|
3614
3497
|
}
|