@dedot/chaintypes 0.194.0 → 0.196.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 +15 -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 +15 -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 +15 -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 +16 -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 +15 -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 +16 -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 +15 -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 +15 -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 +16 -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 +17 -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 +16 -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 +16 -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 +15 -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 +16 -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 +15 -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 +16 -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 +16 -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 +15 -17
- package/westend/json-rpc.d.ts +3 -3
- 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 +16 -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 +15 -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
package/substrate/query.d.ts
CHANGED
|
@@ -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,
|
|
@@ -185,7 +185,7 @@ import type {
|
|
|
185
185
|
PalletAssetRewardsPoolInfo,
|
|
186
186
|
} from './types.js';
|
|
187
187
|
|
|
188
|
-
export interface ChainStorage
|
|
188
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
189
189
|
/**
|
|
190
190
|
* Pallet `System`'s storage queries
|
|
191
191
|
**/
|
|
@@ -196,35 +196,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
196
196
|
* @param {AccountId32Like} arg
|
|
197
197
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
198
198
|
**/
|
|
199
|
-
account: GenericStorageQuery<
|
|
199
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Total extrinsics count for the current block.
|
|
203
203
|
*
|
|
204
204
|
* @param {Callback<number | undefined> =} callback
|
|
205
205
|
**/
|
|
206
|
-
extrinsicCount: GenericStorageQuery<
|
|
206
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* Whether all inherents have been applied.
|
|
210
210
|
*
|
|
211
211
|
* @param {Callback<boolean> =} callback
|
|
212
212
|
**/
|
|
213
|
-
inherentsApplied: GenericStorageQuery<
|
|
213
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* The current weight for the block.
|
|
217
217
|
*
|
|
218
218
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
219
219
|
**/
|
|
220
|
-
blockWeight: GenericStorageQuery<
|
|
220
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
224
224
|
*
|
|
225
225
|
* @param {Callback<number | undefined> =} callback
|
|
226
226
|
**/
|
|
227
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
227
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* Map of block numbers to block hashes.
|
|
@@ -232,7 +232,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
232
232
|
* @param {number} arg
|
|
233
233
|
* @param {Callback<H256> =} callback
|
|
234
234
|
**/
|
|
235
|
-
blockHash: GenericStorageQuery<
|
|
235
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -240,28 +240,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
240
240
|
* @param {number} arg
|
|
241
241
|
* @param {Callback<Bytes> =} callback
|
|
242
242
|
**/
|
|
243
|
-
extrinsicData: GenericStorageQuery<
|
|
243
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The current block number being processed. Set by `execute_block`.
|
|
247
247
|
*
|
|
248
248
|
* @param {Callback<number> =} callback
|
|
249
249
|
**/
|
|
250
|
-
number: GenericStorageQuery<
|
|
250
|
+
number: GenericStorageQuery<() => number>;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Hash of the previous block.
|
|
254
254
|
*
|
|
255
255
|
* @param {Callback<H256> =} callback
|
|
256
256
|
**/
|
|
257
|
-
parentHash: GenericStorageQuery<
|
|
257
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
260
|
* Digest of the current block, also part of the block header.
|
|
261
261
|
*
|
|
262
262
|
* @param {Callback<Digest> =} callback
|
|
263
263
|
**/
|
|
264
|
-
digest: GenericStorageQuery<
|
|
264
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* Events deposited for the current block.
|
|
@@ -274,14 +274,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
274
274
|
*
|
|
275
275
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
276
276
|
**/
|
|
277
|
-
events: GenericStorageQuery<
|
|
277
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The number of events in the `Events<T>` list.
|
|
281
281
|
*
|
|
282
282
|
* @param {Callback<number> =} callback
|
|
283
283
|
**/
|
|
284
|
-
eventCount: GenericStorageQuery<
|
|
284
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -298,21 +298,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
298
298
|
* @param {H256} arg
|
|
299
299
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
300
300
|
**/
|
|
301
|
-
eventTopics: GenericStorageQuery<
|
|
301
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
305
305
|
*
|
|
306
306
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
307
307
|
**/
|
|
308
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
308
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
312
312
|
*
|
|
313
313
|
* @param {Callback<boolean> =} callback
|
|
314
314
|
**/
|
|
315
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
315
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -320,21 +320,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
320
320
|
*
|
|
321
321
|
* @param {Callback<boolean> =} callback
|
|
322
322
|
**/
|
|
323
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
323
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* The execution phase of the block.
|
|
327
327
|
*
|
|
328
328
|
* @param {Callback<Phase | undefined> =} callback
|
|
329
329
|
**/
|
|
330
|
-
executionPhase: GenericStorageQuery<
|
|
330
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
333
|
* `Some` if a code upgrade has been authorized.
|
|
334
334
|
*
|
|
335
335
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
336
336
|
**/
|
|
337
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
337
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
338
338
|
|
|
339
339
|
/**
|
|
340
340
|
* The weight reclaimed for the extrinsic.
|
|
@@ -347,12 +347,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
347
347
|
*
|
|
348
348
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
349
349
|
**/
|
|
350
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
350
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
353
|
* Generic pallet storage query
|
|
354
354
|
**/
|
|
355
|
-
[storage: string]: GenericStorageQuery
|
|
355
|
+
[storage: string]: GenericStorageQuery;
|
|
356
356
|
};
|
|
357
357
|
/**
|
|
358
358
|
* Pallet `Babe`'s storage queries
|
|
@@ -363,14 +363,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
363
363
|
*
|
|
364
364
|
* @param {Callback<bigint> =} callback
|
|
365
365
|
**/
|
|
366
|
-
epochIndex: GenericStorageQuery<
|
|
366
|
+
epochIndex: GenericStorageQuery<() => bigint>;
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
369
|
* Current epoch authorities.
|
|
370
370
|
*
|
|
371
371
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
372
372
|
**/
|
|
373
|
-
authorities: GenericStorageQuery<
|
|
373
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* The slot at which the first epoch actually started. This is 0
|
|
@@ -378,14 +378,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
378
378
|
*
|
|
379
379
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
380
380
|
**/
|
|
381
|
-
genesisSlot: GenericStorageQuery<
|
|
381
|
+
genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* Current slot number.
|
|
385
385
|
*
|
|
386
386
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
387
387
|
**/
|
|
388
|
-
currentSlot: GenericStorageQuery<
|
|
388
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* The epoch randomness for the *current* epoch.
|
|
@@ -401,28 +401,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
401
401
|
*
|
|
402
402
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
403
403
|
**/
|
|
404
|
-
randomness: GenericStorageQuery<
|
|
404
|
+
randomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
408
408
|
*
|
|
409
409
|
* @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
|
|
410
410
|
**/
|
|
411
|
-
pendingEpochConfigChange: GenericStorageQuery<
|
|
411
|
+
pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
414
|
* Next epoch randomness.
|
|
415
415
|
*
|
|
416
416
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
417
417
|
**/
|
|
418
|
-
nextRandomness: GenericStorageQuery<
|
|
418
|
+
nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Next epoch authorities.
|
|
422
422
|
*
|
|
423
423
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
424
424
|
**/
|
|
425
|
-
nextAuthorities: GenericStorageQuery<
|
|
425
|
+
nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* Randomness under construction.
|
|
@@ -437,7 +437,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
437
437
|
*
|
|
438
438
|
* @param {Callback<number> =} callback
|
|
439
439
|
**/
|
|
440
|
-
segmentIndex: GenericStorageQuery<
|
|
440
|
+
segmentIndex: GenericStorageQuery<() => number>;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
@@ -445,7 +445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
445
445
|
* @param {number} arg
|
|
446
446
|
* @param {Callback<Array<FixedBytes<32>>> =} callback
|
|
447
447
|
**/
|
|
448
|
-
underConstruction: GenericStorageQuery<
|
|
448
|
+
underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>, number>;
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
451
|
* Temporary value (cleared at block finalization) which is `Some`
|
|
@@ -453,7 +453,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
453
453
|
*
|
|
454
454
|
* @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
|
|
455
455
|
**/
|
|
456
|
-
initialized: GenericStorageQuery<
|
|
456
|
+
initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
459
|
* This field should always be populated during block processing unless
|
|
@@ -463,7 +463,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
463
463
|
*
|
|
464
464
|
* @param {Callback<FixedBytes<32> | undefined> =} callback
|
|
465
465
|
**/
|
|
466
|
-
authorVrfRandomness: GenericStorageQuery<
|
|
466
|
+
authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
@@ -474,7 +474,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
474
474
|
*
|
|
475
475
|
* @param {Callback<[number, number]> =} callback
|
|
476
476
|
**/
|
|
477
|
-
epochStart: GenericStorageQuery<
|
|
477
|
+
epochStart: GenericStorageQuery<() => [number, number]>;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* How late the current block is compared to its parent.
|
|
@@ -485,7 +485,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
485
485
|
*
|
|
486
486
|
* @param {Callback<number> =} callback
|
|
487
487
|
**/
|
|
488
|
-
lateness: GenericStorageQuery<
|
|
488
|
+
lateness: GenericStorageQuery<() => number>;
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
@@ -493,7 +493,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
493
493
|
*
|
|
494
494
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
495
495
|
**/
|
|
496
|
-
epochConfig: GenericStorageQuery<
|
|
496
|
+
epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
499
|
* The configuration for the next epoch, `None` if the config will not change
|
|
@@ -501,7 +501,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
501
501
|
*
|
|
502
502
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
503
503
|
**/
|
|
504
|
-
nextEpochConfig: GenericStorageQuery<
|
|
504
|
+
nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
505
505
|
|
|
506
506
|
/**
|
|
507
507
|
* A list of the last 100 skipped epochs and the corresponding session index
|
|
@@ -515,12 +515,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
515
515
|
*
|
|
516
516
|
* @param {Callback<Array<[bigint, number]>> =} callback
|
|
517
517
|
**/
|
|
518
|
-
skippedEpochs: GenericStorageQuery<
|
|
518
|
+
skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Generic pallet storage query
|
|
522
522
|
**/
|
|
523
|
-
[storage: string]: GenericStorageQuery
|
|
523
|
+
[storage: string]: GenericStorageQuery;
|
|
524
524
|
};
|
|
525
525
|
/**
|
|
526
526
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -531,7 +531,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
531
531
|
*
|
|
532
532
|
* @param {Callback<bigint> =} callback
|
|
533
533
|
**/
|
|
534
|
-
now: GenericStorageQuery<
|
|
534
|
+
now: GenericStorageQuery<() => bigint>;
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
537
|
* Whether the timestamp has been updated in this block.
|
|
@@ -541,12 +541,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
541
541
|
*
|
|
542
542
|
* @param {Callback<boolean> =} callback
|
|
543
543
|
**/
|
|
544
|
-
didUpdate: GenericStorageQuery<
|
|
544
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
547
|
* Generic pallet storage query
|
|
548
548
|
**/
|
|
549
|
-
[storage: string]: GenericStorageQuery
|
|
549
|
+
[storage: string]: GenericStorageQuery;
|
|
550
550
|
};
|
|
551
551
|
/**
|
|
552
552
|
* Pallet `Authorship`'s storage queries
|
|
@@ -557,12 +557,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
557
557
|
*
|
|
558
558
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
559
559
|
**/
|
|
560
|
-
author: GenericStorageQuery<
|
|
560
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
563
|
* Generic pallet storage query
|
|
564
564
|
**/
|
|
565
|
-
[storage: string]: GenericStorageQuery
|
|
565
|
+
[storage: string]: GenericStorageQuery;
|
|
566
566
|
};
|
|
567
567
|
/**
|
|
568
568
|
* Pallet `Indices`'s storage queries
|
|
@@ -574,12 +574,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
574
574
|
* @param {number} arg
|
|
575
575
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
576
576
|
**/
|
|
577
|
-
accounts: GenericStorageQuery<
|
|
577
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* Generic pallet storage query
|
|
581
581
|
**/
|
|
582
|
-
[storage: string]: GenericStorageQuery
|
|
582
|
+
[storage: string]: GenericStorageQuery;
|
|
583
583
|
};
|
|
584
584
|
/**
|
|
585
585
|
* Pallet `Balances`'s storage queries
|
|
@@ -590,14 +590,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
590
590
|
*
|
|
591
591
|
* @param {Callback<bigint> =} callback
|
|
592
592
|
**/
|
|
593
|
-
totalIssuance: GenericStorageQuery<
|
|
593
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
596
|
* The total units of outstanding deactivated balance in the system.
|
|
597
597
|
*
|
|
598
598
|
* @param {Callback<bigint> =} callback
|
|
599
599
|
**/
|
|
600
|
-
inactiveIssuance: GenericStorageQuery<
|
|
600
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
601
601
|
|
|
602
602
|
/**
|
|
603
603
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -628,7 +628,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
628
628
|
* @param {AccountId32Like} arg
|
|
629
629
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
630
630
|
**/
|
|
631
|
-
account: GenericStorageQuery<
|
|
631
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
632
632
|
|
|
633
633
|
/**
|
|
634
634
|
* Any liquidity locks on some account balances.
|
|
@@ -639,7 +639,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
639
639
|
* @param {AccountId32Like} arg
|
|
640
640
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
641
641
|
**/
|
|
642
|
-
locks: GenericStorageQuery<
|
|
642
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* Named reserves on some account balances.
|
|
@@ -649,7 +649,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
649
649
|
* @param {AccountId32Like} arg
|
|
650
650
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
651
651
|
**/
|
|
652
|
-
reserves: GenericStorageQuery<
|
|
652
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
655
|
* Holds on account balances.
|
|
@@ -657,7 +657,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
657
657
|
* @param {AccountId32Like} arg
|
|
658
658
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
659
659
|
**/
|
|
660
|
-
holds: GenericStorageQuery<
|
|
660
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
663
|
* Freeze locks on account balances.
|
|
@@ -666,7 +666,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
666
666
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
667
667
|
**/
|
|
668
668
|
freezes: GenericStorageQuery<
|
|
669
|
-
Rv,
|
|
670
669
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
671
670
|
AccountId32
|
|
672
671
|
>;
|
|
@@ -674,7 +673,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
674
673
|
/**
|
|
675
674
|
* Generic pallet storage query
|
|
676
675
|
**/
|
|
677
|
-
[storage: string]: GenericStorageQuery
|
|
676
|
+
[storage: string]: GenericStorageQuery;
|
|
678
677
|
};
|
|
679
678
|
/**
|
|
680
679
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -684,18 +683,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
684
683
|
*
|
|
685
684
|
* @param {Callback<FixedU128> =} callback
|
|
686
685
|
**/
|
|
687
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
686
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
688
687
|
|
|
689
688
|
/**
|
|
690
689
|
*
|
|
691
690
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
692
691
|
**/
|
|
693
|
-
storageVersion: GenericStorageQuery<
|
|
692
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
694
693
|
|
|
695
694
|
/**
|
|
696
695
|
* Generic pallet storage query
|
|
697
696
|
**/
|
|
698
|
-
[storage: string]: GenericStorageQuery
|
|
697
|
+
[storage: string]: GenericStorageQuery;
|
|
699
698
|
};
|
|
700
699
|
/**
|
|
701
700
|
* Pallet `ElectionProviderMultiPhase`'s storage queries
|
|
@@ -711,14 +710,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
711
710
|
*
|
|
712
711
|
* @param {Callback<number> =} callback
|
|
713
712
|
**/
|
|
714
|
-
round: GenericStorageQuery<
|
|
713
|
+
round: GenericStorageQuery<() => number>;
|
|
715
714
|
|
|
716
715
|
/**
|
|
717
716
|
* Current phase.
|
|
718
717
|
*
|
|
719
718
|
* @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
|
|
720
719
|
**/
|
|
721
|
-
currentPhase: GenericStorageQuery<
|
|
720
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
|
|
722
721
|
|
|
723
722
|
/**
|
|
724
723
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
@@ -727,7 +726,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
727
726
|
*
|
|
728
727
|
* @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
|
|
729
728
|
**/
|
|
730
|
-
queuedSolution: GenericStorageQuery<
|
|
729
|
+
queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
|
|
731
730
|
|
|
732
731
|
/**
|
|
733
732
|
* Snapshot data of the round.
|
|
@@ -737,7 +736,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
737
736
|
*
|
|
738
737
|
* @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
|
|
739
738
|
**/
|
|
740
|
-
snapshot: GenericStorageQuery<
|
|
739
|
+
snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
|
|
741
740
|
|
|
742
741
|
/**
|
|
743
742
|
* Desired number of targets to elect for this round.
|
|
@@ -747,7 +746,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
747
746
|
*
|
|
748
747
|
* @param {Callback<number | undefined> =} callback
|
|
749
748
|
**/
|
|
750
|
-
desiredTargets: GenericStorageQuery<
|
|
749
|
+
desiredTargets: GenericStorageQuery<() => number | undefined>;
|
|
751
750
|
|
|
752
751
|
/**
|
|
753
752
|
* The metadata of the [`RoundSnapshot`]
|
|
@@ -757,7 +756,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
757
756
|
*
|
|
758
757
|
* @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
|
|
759
758
|
**/
|
|
760
|
-
snapshotMetadata: GenericStorageQuery<
|
|
759
|
+
snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
|
|
761
760
|
|
|
762
761
|
/**
|
|
763
762
|
* The next index to be assigned to an incoming signed submission.
|
|
@@ -772,7 +771,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
772
771
|
*
|
|
773
772
|
* @param {Callback<number> =} callback
|
|
774
773
|
**/
|
|
775
|
-
signedSubmissionNextIndex: GenericStorageQuery<
|
|
774
|
+
signedSubmissionNextIndex: GenericStorageQuery<() => number>;
|
|
776
775
|
|
|
777
776
|
/**
|
|
778
777
|
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
|
@@ -784,7 +783,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
784
783
|
*
|
|
785
784
|
* @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
|
|
786
785
|
**/
|
|
787
|
-
signedSubmissionIndices: GenericStorageQuery<
|
|
786
|
+
signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
|
|
788
787
|
|
|
789
788
|
/**
|
|
790
789
|
* Unchecked, signed solutions.
|
|
@@ -799,7 +798,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
799
798
|
* @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
|
|
800
799
|
**/
|
|
801
800
|
signedSubmissionsMap: GenericStorageQuery<
|
|
802
|
-
Rv,
|
|
803
801
|
(arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined,
|
|
804
802
|
number
|
|
805
803
|
>;
|
|
@@ -812,12 +810,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
812
810
|
*
|
|
813
811
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
814
812
|
**/
|
|
815
|
-
minimumUntrustedScore: GenericStorageQuery<
|
|
813
|
+
minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
816
814
|
|
|
817
815
|
/**
|
|
818
816
|
* Generic pallet storage query
|
|
819
817
|
**/
|
|
820
|
-
[storage: string]: GenericStorageQuery
|
|
818
|
+
[storage: string]: GenericStorageQuery;
|
|
821
819
|
};
|
|
822
820
|
/**
|
|
823
821
|
* Pallet `Staking`'s storage queries
|
|
@@ -828,14 +826,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
828
826
|
*
|
|
829
827
|
* @param {Callback<number> =} callback
|
|
830
828
|
**/
|
|
831
|
-
validatorCount: GenericStorageQuery<
|
|
829
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
832
830
|
|
|
833
831
|
/**
|
|
834
832
|
* Minimum number of staking participants before emergency conditions are imposed.
|
|
835
833
|
*
|
|
836
834
|
* @param {Callback<number> =} callback
|
|
837
835
|
**/
|
|
838
|
-
minimumValidatorCount: GenericStorageQuery<
|
|
836
|
+
minimumValidatorCount: GenericStorageQuery<() => number>;
|
|
839
837
|
|
|
840
838
|
/**
|
|
841
839
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -844,7 +842,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
844
842
|
*
|
|
845
843
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
846
844
|
**/
|
|
847
|
-
invulnerables: GenericStorageQuery<
|
|
845
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
848
846
|
|
|
849
847
|
/**
|
|
850
848
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -854,28 +852,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
854
852
|
* @param {AccountId32Like} arg
|
|
855
853
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
856
854
|
**/
|
|
857
|
-
bonded: GenericStorageQuery<
|
|
855
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
858
856
|
|
|
859
857
|
/**
|
|
860
858
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
861
859
|
*
|
|
862
860
|
* @param {Callback<bigint> =} callback
|
|
863
861
|
**/
|
|
864
|
-
minNominatorBond: GenericStorageQuery<
|
|
862
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
865
863
|
|
|
866
864
|
/**
|
|
867
865
|
* The minimum active bond to become and maintain the role of a validator.
|
|
868
866
|
*
|
|
869
867
|
* @param {Callback<bigint> =} callback
|
|
870
868
|
**/
|
|
871
|
-
minValidatorBond: GenericStorageQuery<
|
|
869
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
872
870
|
|
|
873
871
|
/**
|
|
874
872
|
* The minimum active nominator stake of the last successful election.
|
|
875
873
|
*
|
|
876
874
|
* @param {Callback<bigint> =} callback
|
|
877
875
|
**/
|
|
878
|
-
minimumActiveStake: GenericStorageQuery<
|
|
876
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
879
877
|
|
|
880
878
|
/**
|
|
881
879
|
* The minimum amount of commission that validators can set.
|
|
@@ -884,7 +882,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
884
882
|
*
|
|
885
883
|
* @param {Callback<Perbill> =} callback
|
|
886
884
|
**/
|
|
887
|
-
minCommission: GenericStorageQuery<
|
|
885
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
888
886
|
|
|
889
887
|
/**
|
|
890
888
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -895,7 +893,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
895
893
|
* @param {AccountId32Like} arg
|
|
896
894
|
* @param {Callback<PalletStakingStakingLedger | undefined> =} callback
|
|
897
895
|
**/
|
|
898
|
-
ledger: GenericStorageQuery<
|
|
896
|
+
ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
|
|
899
897
|
|
|
900
898
|
/**
|
|
901
899
|
* Where the reward payment should be made. Keyed by stash.
|
|
@@ -905,7 +903,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
905
903
|
* @param {AccountId32Like} arg
|
|
906
904
|
* @param {Callback<PalletStakingRewardDestination | undefined> =} callback
|
|
907
905
|
**/
|
|
908
|
-
payee: GenericStorageQuery<
|
|
906
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
|
|
909
907
|
|
|
910
908
|
/**
|
|
911
909
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -915,14 +913,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
915
913
|
* @param {AccountId32Like} arg
|
|
916
914
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
917
915
|
**/
|
|
918
|
-
validators: GenericStorageQuery<
|
|
916
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
|
|
919
917
|
|
|
920
918
|
/**
|
|
921
919
|
* Counter for the related counted storage map
|
|
922
920
|
*
|
|
923
921
|
* @param {Callback<number> =} callback
|
|
924
922
|
**/
|
|
925
|
-
counterForValidators: GenericStorageQuery<
|
|
923
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
926
924
|
|
|
927
925
|
/**
|
|
928
926
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -931,7 +929,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
931
929
|
*
|
|
932
930
|
* @param {Callback<number | undefined> =} callback
|
|
933
931
|
**/
|
|
934
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
932
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
935
933
|
|
|
936
934
|
/**
|
|
937
935
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -957,14 +955,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
957
955
|
* @param {AccountId32Like} arg
|
|
958
956
|
* @param {Callback<PalletStakingNominations | undefined> =} callback
|
|
959
957
|
**/
|
|
960
|
-
nominators: GenericStorageQuery<
|
|
958
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
|
|
961
959
|
|
|
962
960
|
/**
|
|
963
961
|
* Counter for the related counted storage map
|
|
964
962
|
*
|
|
965
963
|
* @param {Callback<number> =} callback
|
|
966
964
|
**/
|
|
967
|
-
counterForNominators: GenericStorageQuery<
|
|
965
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
968
966
|
|
|
969
967
|
/**
|
|
970
968
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -977,14 +975,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
977
975
|
* @param {AccountId32Like} arg
|
|
978
976
|
* @param {Callback<[] | undefined> =} callback
|
|
979
977
|
**/
|
|
980
|
-
virtualStakers: GenericStorageQuery<
|
|
978
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
981
979
|
|
|
982
980
|
/**
|
|
983
981
|
* Counter for the related counted storage map
|
|
984
982
|
*
|
|
985
983
|
* @param {Callback<number> =} callback
|
|
986
984
|
**/
|
|
987
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
985
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
988
986
|
|
|
989
987
|
/**
|
|
990
988
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -993,7 +991,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
993
991
|
*
|
|
994
992
|
* @param {Callback<number | undefined> =} callback
|
|
995
993
|
**/
|
|
996
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
994
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
997
995
|
|
|
998
996
|
/**
|
|
999
997
|
* The current era index.
|
|
@@ -1003,7 +1001,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1003
1001
|
*
|
|
1004
1002
|
* @param {Callback<number | undefined> =} callback
|
|
1005
1003
|
**/
|
|
1006
|
-
currentEra: GenericStorageQuery<
|
|
1004
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
1007
1005
|
|
|
1008
1006
|
/**
|
|
1009
1007
|
* The active era information, it holds index and start.
|
|
@@ -1013,7 +1011,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1013
1011
|
*
|
|
1014
1012
|
* @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
|
|
1015
1013
|
**/
|
|
1016
|
-
activeEra: GenericStorageQuery<
|
|
1014
|
+
activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
|
|
1017
1015
|
|
|
1018
1016
|
/**
|
|
1019
1017
|
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1024,7 +1022,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1024
1022
|
* @param {number} arg
|
|
1025
1023
|
* @param {Callback<number | undefined> =} callback
|
|
1026
1024
|
**/
|
|
1027
|
-
erasStartSessionIndex: GenericStorageQuery<
|
|
1025
|
+
erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
1028
1026
|
|
|
1029
1027
|
/**
|
|
1030
1028
|
* Exposure of validator at era.
|
|
@@ -1039,7 +1037,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1039
1037
|
* @param {[number, AccountId32Like]} arg
|
|
1040
1038
|
* @param {Callback<SpStakingExposure> =} callback
|
|
1041
1039
|
**/
|
|
1042
|
-
erasStakers: GenericStorageQuery<
|
|
1040
|
+
erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
|
|
1043
1041
|
|
|
1044
1042
|
/**
|
|
1045
1043
|
* Summary of validator exposure at a given era.
|
|
@@ -1059,7 +1057,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1059
1057
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
1060
1058
|
**/
|
|
1061
1059
|
erasStakersOverview: GenericStorageQuery<
|
|
1062
|
-
Rv,
|
|
1063
1060
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
1064
1061
|
[number, AccountId32]
|
|
1065
1062
|
>;
|
|
@@ -1086,7 +1083,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1086
1083
|
* @param {Callback<SpStakingExposure> =} callback
|
|
1087
1084
|
**/
|
|
1088
1085
|
erasStakersClipped: GenericStorageQuery<
|
|
1089
|
-
Rv,
|
|
1090
1086
|
(arg: [number, AccountId32Like]) => SpStakingExposure,
|
|
1091
1087
|
[number, AccountId32]
|
|
1092
1088
|
>;
|
|
@@ -1103,7 +1099,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1103
1099
|
* @param {Callback<SpStakingExposurePage | undefined> =} callback
|
|
1104
1100
|
**/
|
|
1105
1101
|
erasStakersPaged: GenericStorageQuery<
|
|
1106
|
-
Rv,
|
|
1107
1102
|
(arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined,
|
|
1108
1103
|
[number, AccountId32, number]
|
|
1109
1104
|
>;
|
|
@@ -1119,7 +1114,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1119
1114
|
* @param {[number, AccountId32Like]} arg
|
|
1120
1115
|
* @param {Callback<Array<number>> =} callback
|
|
1121
1116
|
**/
|
|
1122
|
-
claimedRewards: GenericStorageQuery<
|
|
1117
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
1123
1118
|
|
|
1124
1119
|
/**
|
|
1125
1120
|
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
@@ -1132,7 +1127,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1132
1127
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
1133
1128
|
**/
|
|
1134
1129
|
erasValidatorPrefs: GenericStorageQuery<
|
|
1135
|
-
Rv,
|
|
1136
1130
|
(arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs,
|
|
1137
1131
|
[number, AccountId32]
|
|
1138
1132
|
>;
|
|
@@ -1145,7 +1139,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1145
1139
|
* @param {number} arg
|
|
1146
1140
|
* @param {Callback<bigint | undefined> =} callback
|
|
1147
1141
|
**/
|
|
1148
|
-
erasValidatorReward: GenericStorageQuery<
|
|
1142
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
1149
1143
|
|
|
1150
1144
|
/**
|
|
1151
1145
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1154,7 +1148,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1154
1148
|
* @param {number} arg
|
|
1155
1149
|
* @param {Callback<PalletStakingEraRewardPoints> =} callback
|
|
1156
1150
|
**/
|
|
1157
|
-
erasRewardPoints: GenericStorageQuery<
|
|
1151
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
|
|
1158
1152
|
|
|
1159
1153
|
/**
|
|
1160
1154
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1163,14 +1157,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1163
1157
|
* @param {number} arg
|
|
1164
1158
|
* @param {Callback<bigint> =} callback
|
|
1165
1159
|
**/
|
|
1166
|
-
erasTotalStake: GenericStorageQuery<
|
|
1160
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
1167
1161
|
|
|
1168
1162
|
/**
|
|
1169
1163
|
* Mode of era forcing.
|
|
1170
1164
|
*
|
|
1171
1165
|
* @param {Callback<PalletStakingForcing> =} callback
|
|
1172
1166
|
**/
|
|
1173
|
-
forceEra: GenericStorageQuery<
|
|
1167
|
+
forceEra: GenericStorageQuery<() => PalletStakingForcing>;
|
|
1174
1168
|
|
|
1175
1169
|
/**
|
|
1176
1170
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -1179,7 +1173,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1179
1173
|
*
|
|
1180
1174
|
* @param {Callback<Percent | undefined> =} callback
|
|
1181
1175
|
**/
|
|
1182
|
-
maxStakedRewards: GenericStorageQuery<
|
|
1176
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
1183
1177
|
|
|
1184
1178
|
/**
|
|
1185
1179
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -1188,7 +1182,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1188
1182
|
*
|
|
1189
1183
|
* @param {Callback<Perbill> =} callback
|
|
1190
1184
|
**/
|
|
1191
|
-
slashRewardFraction: GenericStorageQuery<
|
|
1185
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
1192
1186
|
|
|
1193
1187
|
/**
|
|
1194
1188
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -1196,7 +1190,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1196
1190
|
*
|
|
1197
1191
|
* @param {Callback<bigint> =} callback
|
|
1198
1192
|
**/
|
|
1199
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
1193
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
1200
1194
|
|
|
1201
1195
|
/**
|
|
1202
1196
|
* All unapplied slashes that are queued for later.
|
|
@@ -1204,7 +1198,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1204
1198
|
* @param {number} arg
|
|
1205
1199
|
* @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
|
|
1206
1200
|
**/
|
|
1207
|
-
unappliedSlashes: GenericStorageQuery<
|
|
1201
|
+
unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
|
|
1208
1202
|
|
|
1209
1203
|
/**
|
|
1210
1204
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -1214,7 +1208,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1214
1208
|
*
|
|
1215
1209
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
1216
1210
|
**/
|
|
1217
|
-
bondedEras: GenericStorageQuery<
|
|
1211
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
1218
1212
|
|
|
1219
1213
|
/**
|
|
1220
1214
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -1224,7 +1218,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1224
1218
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
1225
1219
|
**/
|
|
1226
1220
|
validatorSlashInEra: GenericStorageQuery<
|
|
1227
|
-
Rv,
|
|
1228
1221
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
1229
1222
|
[number, AccountId32]
|
|
1230
1223
|
>;
|
|
@@ -1236,7 +1229,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1236
1229
|
* @param {Callback<bigint | undefined> =} callback
|
|
1237
1230
|
**/
|
|
1238
1231
|
nominatorSlashInEra: GenericStorageQuery<
|
|
1239
|
-
Rv,
|
|
1240
1232
|
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
1241
1233
|
[number, AccountId32]
|
|
1242
1234
|
>;
|
|
@@ -1248,7 +1240,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1248
1240
|
* @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
|
|
1249
1241
|
**/
|
|
1250
1242
|
slashingSpans: GenericStorageQuery<
|
|
1251
|
-
Rv,
|
|
1252
1243
|
(arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined,
|
|
1253
1244
|
AccountId32
|
|
1254
1245
|
>;
|
|
@@ -1261,7 +1252,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1261
1252
|
* @param {Callback<PalletStakingSlashingSpanRecord> =} callback
|
|
1262
1253
|
**/
|
|
1263
1254
|
spanSlash: GenericStorageQuery<
|
|
1264
|
-
Rv,
|
|
1265
1255
|
(arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord,
|
|
1266
1256
|
[AccountId32, number]
|
|
1267
1257
|
>;
|
|
@@ -1273,7 +1263,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1273
1263
|
*
|
|
1274
1264
|
* @param {Callback<number> =} callback
|
|
1275
1265
|
**/
|
|
1276
|
-
currentPlannedSession: GenericStorageQuery<
|
|
1266
|
+
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1277
1267
|
|
|
1278
1268
|
/**
|
|
1279
1269
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
@@ -1282,12 +1272,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1282
1272
|
*
|
|
1283
1273
|
* @param {Callback<Percent | undefined> =} callback
|
|
1284
1274
|
**/
|
|
1285
|
-
chillThreshold: GenericStorageQuery<
|
|
1275
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
1286
1276
|
|
|
1287
1277
|
/**
|
|
1288
1278
|
* Generic pallet storage query
|
|
1289
1279
|
**/
|
|
1290
|
-
[storage: string]: GenericStorageQuery
|
|
1280
|
+
[storage: string]: GenericStorageQuery;
|
|
1291
1281
|
};
|
|
1292
1282
|
/**
|
|
1293
1283
|
* Pallet `Session`'s storage queries
|
|
@@ -1298,14 +1288,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1298
1288
|
*
|
|
1299
1289
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1300
1290
|
**/
|
|
1301
|
-
validators: GenericStorageQuery<
|
|
1291
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1302
1292
|
|
|
1303
1293
|
/**
|
|
1304
1294
|
* Current index of the session.
|
|
1305
1295
|
*
|
|
1306
1296
|
* @param {Callback<number> =} callback
|
|
1307
1297
|
**/
|
|
1308
|
-
currentIndex: GenericStorageQuery<
|
|
1298
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1309
1299
|
|
|
1310
1300
|
/**
|
|
1311
1301
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1313,7 +1303,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1313
1303
|
*
|
|
1314
1304
|
* @param {Callback<boolean> =} callback
|
|
1315
1305
|
**/
|
|
1316
|
-
queuedChanged: GenericStorageQuery<
|
|
1306
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1317
1307
|
|
|
1318
1308
|
/**
|
|
1319
1309
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1321,7 +1311,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1321
1311
|
*
|
|
1322
1312
|
* @param {Callback<Array<[AccountId32, KitchensinkRuntimeSessionKeys]>> =} callback
|
|
1323
1313
|
**/
|
|
1324
|
-
queuedKeys: GenericStorageQuery<
|
|
1314
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, KitchensinkRuntimeSessionKeys]>>;
|
|
1325
1315
|
|
|
1326
1316
|
/**
|
|
1327
1317
|
* Indices of disabled validators.
|
|
@@ -1332,7 +1322,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1332
1322
|
*
|
|
1333
1323
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1334
1324
|
**/
|
|
1335
|
-
disabledValidators: GenericStorageQuery<
|
|
1325
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1336
1326
|
|
|
1337
1327
|
/**
|
|
1338
1328
|
* The next session keys for a validator.
|
|
@@ -1340,7 +1330,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1340
1330
|
* @param {AccountId32Like} arg
|
|
1341
1331
|
* @param {Callback<KitchensinkRuntimeSessionKeys | undefined> =} callback
|
|
1342
1332
|
**/
|
|
1343
|
-
nextKeys: GenericStorageQuery<
|
|
1333
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => KitchensinkRuntimeSessionKeys | undefined, AccountId32>;
|
|
1344
1334
|
|
|
1345
1335
|
/**
|
|
1346
1336
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1349,7 +1339,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1349
1339
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1350
1340
|
**/
|
|
1351
1341
|
keyOwner: GenericStorageQuery<
|
|
1352
|
-
Rv,
|
|
1353
1342
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1354
1343
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1355
1344
|
>;
|
|
@@ -1357,7 +1346,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1357
1346
|
/**
|
|
1358
1347
|
* Generic pallet storage query
|
|
1359
1348
|
**/
|
|
1360
|
-
[storage: string]: GenericStorageQuery
|
|
1349
|
+
[storage: string]: GenericStorageQuery;
|
|
1361
1350
|
};
|
|
1362
1351
|
/**
|
|
1363
1352
|
* Pallet `Democracy`'s storage queries
|
|
@@ -1368,14 +1357,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1368
1357
|
*
|
|
1369
1358
|
* @param {Callback<number> =} callback
|
|
1370
1359
|
**/
|
|
1371
|
-
publicPropCount: GenericStorageQuery<
|
|
1360
|
+
publicPropCount: GenericStorageQuery<() => number>;
|
|
1372
1361
|
|
|
1373
1362
|
/**
|
|
1374
1363
|
* The public proposals. Unsorted. The second item is the proposal.
|
|
1375
1364
|
*
|
|
1376
1365
|
* @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
|
|
1377
1366
|
**/
|
|
1378
|
-
publicProps: GenericStorageQuery<
|
|
1367
|
+
publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
|
|
1379
1368
|
|
|
1380
1369
|
/**
|
|
1381
1370
|
* Those who have locked a deposit.
|
|
@@ -1385,14 +1374,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1385
1374
|
* @param {number} arg
|
|
1386
1375
|
* @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
|
|
1387
1376
|
**/
|
|
1388
|
-
depositOf: GenericStorageQuery<
|
|
1377
|
+
depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
|
|
1389
1378
|
|
|
1390
1379
|
/**
|
|
1391
1380
|
* The next free referendum index, aka the number of referenda started so far.
|
|
1392
1381
|
*
|
|
1393
1382
|
* @param {Callback<number> =} callback
|
|
1394
1383
|
**/
|
|
1395
|
-
referendumCount: GenericStorageQuery<
|
|
1384
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1396
1385
|
|
|
1397
1386
|
/**
|
|
1398
1387
|
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
@@ -1400,7 +1389,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1400
1389
|
*
|
|
1401
1390
|
* @param {Callback<number> =} callback
|
|
1402
1391
|
**/
|
|
1403
|
-
lowestUnbaked: GenericStorageQuery<
|
|
1392
|
+
lowestUnbaked: GenericStorageQuery<() => number>;
|
|
1404
1393
|
|
|
1405
1394
|
/**
|
|
1406
1395
|
* Information concerning any given referendum.
|
|
@@ -1410,7 +1399,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1410
1399
|
* @param {number} arg
|
|
1411
1400
|
* @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
|
|
1412
1401
|
**/
|
|
1413
|
-
referendumInfoOf: GenericStorageQuery<
|
|
1402
|
+
referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
|
|
1414
1403
|
|
|
1415
1404
|
/**
|
|
1416
1405
|
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
@@ -1421,7 +1410,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1421
1410
|
* @param {AccountId32Like} arg
|
|
1422
1411
|
* @param {Callback<PalletDemocracyVoteVoting> =} callback
|
|
1423
1412
|
**/
|
|
1424
|
-
votingOf: GenericStorageQuery<
|
|
1413
|
+
votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
|
|
1425
1414
|
|
|
1426
1415
|
/**
|
|
1427
1416
|
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
@@ -1429,7 +1418,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1429
1418
|
*
|
|
1430
1419
|
* @param {Callback<boolean> =} callback
|
|
1431
1420
|
**/
|
|
1432
|
-
lastTabledWasExternal: GenericStorageQuery<
|
|
1421
|
+
lastTabledWasExternal: GenericStorageQuery<() => boolean>;
|
|
1433
1422
|
|
|
1434
1423
|
/**
|
|
1435
1424
|
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
@@ -1439,10 +1428,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1439
1428
|
*
|
|
1440
1429
|
* @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
|
|
1441
1430
|
**/
|
|
1442
|
-
nextExternal: GenericStorageQuery<
|
|
1443
|
-
Rv,
|
|
1444
|
-
() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined
|
|
1445
|
-
>;
|
|
1431
|
+
nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
|
|
1446
1432
|
|
|
1447
1433
|
/**
|
|
1448
1434
|
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
@@ -1451,7 +1437,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1451
1437
|
* @param {H256} arg
|
|
1452
1438
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
1453
1439
|
**/
|
|
1454
|
-
blacklist: GenericStorageQuery<
|
|
1440
|
+
blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
|
|
1455
1441
|
|
|
1456
1442
|
/**
|
|
1457
1443
|
* Record of all proposals that have been subject to emergency cancellation.
|
|
@@ -1459,7 +1445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1459
1445
|
* @param {H256} arg
|
|
1460
1446
|
* @param {Callback<boolean> =} callback
|
|
1461
1447
|
**/
|
|
1462
|
-
cancellations: GenericStorageQuery<
|
|
1448
|
+
cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
1463
1449
|
|
|
1464
1450
|
/**
|
|
1465
1451
|
* General information concerning any proposal or referendum.
|
|
@@ -1473,7 +1459,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1473
1459
|
* @param {Callback<H256 | undefined> =} callback
|
|
1474
1460
|
**/
|
|
1475
1461
|
metadataOf: GenericStorageQuery<
|
|
1476
|
-
Rv,
|
|
1477
1462
|
(arg: PalletDemocracyMetadataOwner) => H256 | undefined,
|
|
1478
1463
|
PalletDemocracyMetadataOwner
|
|
1479
1464
|
>;
|
|
@@ -1481,7 +1466,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1481
1466
|
/**
|
|
1482
1467
|
* Generic pallet storage query
|
|
1483
1468
|
**/
|
|
1484
|
-
[storage: string]: GenericStorageQuery
|
|
1469
|
+
[storage: string]: GenericStorageQuery;
|
|
1485
1470
|
};
|
|
1486
1471
|
/**
|
|
1487
1472
|
* Pallet `Council`'s storage queries
|
|
@@ -1492,7 +1477,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1492
1477
|
*
|
|
1493
1478
|
* @param {Callback<Array<H256>> =} callback
|
|
1494
1479
|
**/
|
|
1495
|
-
proposals: GenericStorageQuery<
|
|
1480
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
1496
1481
|
|
|
1497
1482
|
/**
|
|
1498
1483
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -1500,7 +1485,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1500
1485
|
* @param {H256} arg
|
|
1501
1486
|
* @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
|
|
1502
1487
|
**/
|
|
1503
|
-
proposalOf: GenericStorageQuery<
|
|
1488
|
+
proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
|
|
1504
1489
|
|
|
1505
1490
|
/**
|
|
1506
1491
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -1512,7 +1497,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1512
1497
|
* @param {Callback<[AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined> =} callback
|
|
1513
1498
|
**/
|
|
1514
1499
|
costOf: GenericStorageQuery<
|
|
1515
|
-
Rv,
|
|
1516
1500
|
(arg: H256) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined,
|
|
1517
1501
|
H256
|
|
1518
1502
|
>;
|
|
@@ -1523,33 +1507,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1523
1507
|
* @param {H256} arg
|
|
1524
1508
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
1525
1509
|
**/
|
|
1526
|
-
voting: GenericStorageQuery<
|
|
1510
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
1527
1511
|
|
|
1528
1512
|
/**
|
|
1529
1513
|
* Proposals so far.
|
|
1530
1514
|
*
|
|
1531
1515
|
* @param {Callback<number> =} callback
|
|
1532
1516
|
**/
|
|
1533
|
-
proposalCount: GenericStorageQuery<
|
|
1517
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1534
1518
|
|
|
1535
1519
|
/**
|
|
1536
1520
|
* The current members of the collective. This is stored sorted (just by value).
|
|
1537
1521
|
*
|
|
1538
1522
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1539
1523
|
**/
|
|
1540
|
-
members: GenericStorageQuery<
|
|
1524
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1541
1525
|
|
|
1542
1526
|
/**
|
|
1543
1527
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
1544
1528
|
*
|
|
1545
1529
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1546
1530
|
**/
|
|
1547
|
-
prime: GenericStorageQuery<
|
|
1531
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1548
1532
|
|
|
1549
1533
|
/**
|
|
1550
1534
|
* Generic pallet storage query
|
|
1551
1535
|
**/
|
|
1552
|
-
[storage: string]: GenericStorageQuery
|
|
1536
|
+
[storage: string]: GenericStorageQuery;
|
|
1553
1537
|
};
|
|
1554
1538
|
/**
|
|
1555
1539
|
* Pallet `TechnicalCommittee`'s storage queries
|
|
@@ -1560,7 +1544,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1560
1544
|
*
|
|
1561
1545
|
* @param {Callback<Array<H256>> =} callback
|
|
1562
1546
|
**/
|
|
1563
|
-
proposals: GenericStorageQuery<
|
|
1547
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
1564
1548
|
|
|
1565
1549
|
/**
|
|
1566
1550
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -1568,7 +1552,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1568
1552
|
* @param {H256} arg
|
|
1569
1553
|
* @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
|
|
1570
1554
|
**/
|
|
1571
|
-
proposalOf: GenericStorageQuery<
|
|
1555
|
+
proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
|
|
1572
1556
|
|
|
1573
1557
|
/**
|
|
1574
1558
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -1579,7 +1563,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1579
1563
|
* @param {H256} arg
|
|
1580
1564
|
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
1581
1565
|
**/
|
|
1582
|
-
costOf: GenericStorageQuery<
|
|
1566
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
1583
1567
|
|
|
1584
1568
|
/**
|
|
1585
1569
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -1587,33 +1571,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1587
1571
|
* @param {H256} arg
|
|
1588
1572
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
1589
1573
|
**/
|
|
1590
|
-
voting: GenericStorageQuery<
|
|
1574
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
1591
1575
|
|
|
1592
1576
|
/**
|
|
1593
1577
|
* Proposals so far.
|
|
1594
1578
|
*
|
|
1595
1579
|
* @param {Callback<number> =} callback
|
|
1596
1580
|
**/
|
|
1597
|
-
proposalCount: GenericStorageQuery<
|
|
1581
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1598
1582
|
|
|
1599
1583
|
/**
|
|
1600
1584
|
* The current members of the collective. This is stored sorted (just by value).
|
|
1601
1585
|
*
|
|
1602
1586
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1603
1587
|
**/
|
|
1604
|
-
members: GenericStorageQuery<
|
|
1588
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1605
1589
|
|
|
1606
1590
|
/**
|
|
1607
1591
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
1608
1592
|
*
|
|
1609
1593
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1610
1594
|
**/
|
|
1611
|
-
prime: GenericStorageQuery<
|
|
1595
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1612
1596
|
|
|
1613
1597
|
/**
|
|
1614
1598
|
* Generic pallet storage query
|
|
1615
1599
|
**/
|
|
1616
|
-
[storage: string]: GenericStorageQuery
|
|
1600
|
+
[storage: string]: GenericStorageQuery;
|
|
1617
1601
|
};
|
|
1618
1602
|
/**
|
|
1619
1603
|
* Pallet `Elections`'s storage queries
|
|
@@ -1626,7 +1610,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1626
1610
|
*
|
|
1627
1611
|
* @param {Callback<Array<PalletElectionsPhragmenSeatHolder>> =} callback
|
|
1628
1612
|
**/
|
|
1629
|
-
members: GenericStorageQuery<
|
|
1613
|
+
members: GenericStorageQuery<() => Array<PalletElectionsPhragmenSeatHolder>>;
|
|
1630
1614
|
|
|
1631
1615
|
/**
|
|
1632
1616
|
* The current reserved runners-up.
|
|
@@ -1636,7 +1620,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1636
1620
|
*
|
|
1637
1621
|
* @param {Callback<Array<PalletElectionsPhragmenSeatHolder>> =} callback
|
|
1638
1622
|
**/
|
|
1639
|
-
runnersUp: GenericStorageQuery<
|
|
1623
|
+
runnersUp: GenericStorageQuery<() => Array<PalletElectionsPhragmenSeatHolder>>;
|
|
1640
1624
|
|
|
1641
1625
|
/**
|
|
1642
1626
|
* The present candidate list. A current member or runner-up can never enter this vector
|
|
@@ -1648,14 +1632,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1648
1632
|
*
|
|
1649
1633
|
* @param {Callback<Array<[AccountId32, bigint]>> =} callback
|
|
1650
1634
|
**/
|
|
1651
|
-
candidates: GenericStorageQuery<
|
|
1635
|
+
candidates: GenericStorageQuery<() => Array<[AccountId32, bigint]>>;
|
|
1652
1636
|
|
|
1653
1637
|
/**
|
|
1654
1638
|
* The total number of vote rounds that have happened, excluding the upcoming one.
|
|
1655
1639
|
*
|
|
1656
1640
|
* @param {Callback<number> =} callback
|
|
1657
1641
|
**/
|
|
1658
|
-
electionRounds: GenericStorageQuery<
|
|
1642
|
+
electionRounds: GenericStorageQuery<() => number>;
|
|
1659
1643
|
|
|
1660
1644
|
/**
|
|
1661
1645
|
* Votes and locked stake of a particular voter.
|
|
@@ -1665,12 +1649,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1665
1649
|
* @param {AccountId32Like} arg
|
|
1666
1650
|
* @param {Callback<PalletElectionsPhragmenVoter> =} callback
|
|
1667
1651
|
**/
|
|
1668
|
-
voting: GenericStorageQuery<
|
|
1652
|
+
voting: GenericStorageQuery<(arg: AccountId32Like) => PalletElectionsPhragmenVoter, AccountId32>;
|
|
1669
1653
|
|
|
1670
1654
|
/**
|
|
1671
1655
|
* Generic pallet storage query
|
|
1672
1656
|
**/
|
|
1673
|
-
[storage: string]: GenericStorageQuery
|
|
1657
|
+
[storage: string]: GenericStorageQuery;
|
|
1674
1658
|
};
|
|
1675
1659
|
/**
|
|
1676
1660
|
* Pallet `TechnicalMembership`'s storage queries
|
|
@@ -1681,19 +1665,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1681
1665
|
*
|
|
1682
1666
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1683
1667
|
**/
|
|
1684
|
-
members: GenericStorageQuery<
|
|
1668
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1685
1669
|
|
|
1686
1670
|
/**
|
|
1687
1671
|
* The current prime member, if one exists.
|
|
1688
1672
|
*
|
|
1689
1673
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1690
1674
|
**/
|
|
1691
|
-
prime: GenericStorageQuery<
|
|
1675
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1692
1676
|
|
|
1693
1677
|
/**
|
|
1694
1678
|
* Generic pallet storage query
|
|
1695
1679
|
**/
|
|
1696
|
-
[storage: string]: GenericStorageQuery
|
|
1680
|
+
[storage: string]: GenericStorageQuery;
|
|
1697
1681
|
};
|
|
1698
1682
|
/**
|
|
1699
1683
|
* Pallet `Grandpa`'s storage queries
|
|
@@ -1704,28 +1688,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1704
1688
|
*
|
|
1705
1689
|
* @param {Callback<PalletGrandpaStoredState> =} callback
|
|
1706
1690
|
**/
|
|
1707
|
-
state: GenericStorageQuery<
|
|
1691
|
+
state: GenericStorageQuery<() => PalletGrandpaStoredState>;
|
|
1708
1692
|
|
|
1709
1693
|
/**
|
|
1710
1694
|
* Pending change: (signaled at, scheduled change).
|
|
1711
1695
|
*
|
|
1712
1696
|
* @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
|
|
1713
1697
|
**/
|
|
1714
|
-
pendingChange: GenericStorageQuery<
|
|
1698
|
+
pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
|
|
1715
1699
|
|
|
1716
1700
|
/**
|
|
1717
1701
|
* next block number where we can force a change.
|
|
1718
1702
|
*
|
|
1719
1703
|
* @param {Callback<number | undefined> =} callback
|
|
1720
1704
|
**/
|
|
1721
|
-
nextForced: GenericStorageQuery<
|
|
1705
|
+
nextForced: GenericStorageQuery<() => number | undefined>;
|
|
1722
1706
|
|
|
1723
1707
|
/**
|
|
1724
1708
|
* `true` if we are currently stalled.
|
|
1725
1709
|
*
|
|
1726
1710
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1727
1711
|
**/
|
|
1728
|
-
stalled: GenericStorageQuery<
|
|
1712
|
+
stalled: GenericStorageQuery<() => [number, number] | undefined>;
|
|
1729
1713
|
|
|
1730
1714
|
/**
|
|
1731
1715
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
@@ -1733,7 +1717,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1733
1717
|
*
|
|
1734
1718
|
* @param {Callback<bigint> =} callback
|
|
1735
1719
|
**/
|
|
1736
|
-
currentSetId: GenericStorageQuery<
|
|
1720
|
+
currentSetId: GenericStorageQuery<() => bigint>;
|
|
1737
1721
|
|
|
1738
1722
|
/**
|
|
1739
1723
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
@@ -1750,19 +1734,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1750
1734
|
* @param {bigint} arg
|
|
1751
1735
|
* @param {Callback<number | undefined> =} callback
|
|
1752
1736
|
**/
|
|
1753
|
-
setIdSession: GenericStorageQuery<
|
|
1737
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
1754
1738
|
|
|
1755
1739
|
/**
|
|
1756
1740
|
* The current list of authorities.
|
|
1757
1741
|
*
|
|
1758
1742
|
* @param {Callback<Array<[SpConsensusGrandpaAppPublic, bigint]>> =} callback
|
|
1759
1743
|
**/
|
|
1760
|
-
authorities: GenericStorageQuery<
|
|
1744
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
|
|
1761
1745
|
|
|
1762
1746
|
/**
|
|
1763
1747
|
* Generic pallet storage query
|
|
1764
1748
|
**/
|
|
1765
|
-
[storage: string]: GenericStorageQuery
|
|
1749
|
+
[storage: string]: GenericStorageQuery;
|
|
1766
1750
|
};
|
|
1767
1751
|
/**
|
|
1768
1752
|
* Pallet `Treasury`'s storage queries
|
|
@@ -1776,7 +1760,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1776
1760
|
*
|
|
1777
1761
|
* @param {Callback<number> =} callback
|
|
1778
1762
|
**/
|
|
1779
|
-
proposalCount: GenericStorageQuery<
|
|
1763
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1780
1764
|
|
|
1781
1765
|
/**
|
|
1782
1766
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1787,14 +1771,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1787
1771
|
* @param {number} arg
|
|
1788
1772
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
1789
1773
|
**/
|
|
1790
|
-
proposals: GenericStorageQuery<
|
|
1774
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
1791
1775
|
|
|
1792
1776
|
/**
|
|
1793
1777
|
* The amount which has been reported as inactive to Currency.
|
|
1794
1778
|
*
|
|
1795
1779
|
* @param {Callback<bigint> =} callback
|
|
1796
1780
|
**/
|
|
1797
|
-
deactivated: GenericStorageQuery<
|
|
1781
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
1798
1782
|
|
|
1799
1783
|
/**
|
|
1800
1784
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1804,14 +1788,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1804
1788
|
*
|
|
1805
1789
|
* @param {Callback<Array<number>> =} callback
|
|
1806
1790
|
**/
|
|
1807
|
-
approvals: GenericStorageQuery<
|
|
1791
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
1808
1792
|
|
|
1809
1793
|
/**
|
|
1810
1794
|
* The count of spends that have been made.
|
|
1811
1795
|
*
|
|
1812
1796
|
* @param {Callback<number> =} callback
|
|
1813
1797
|
**/
|
|
1814
|
-
spendCount: GenericStorageQuery<
|
|
1798
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
1815
1799
|
|
|
1816
1800
|
/**
|
|
1817
1801
|
* Spends that have been approved and being processed.
|
|
@@ -1819,19 +1803,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1819
1803
|
* @param {number} arg
|
|
1820
1804
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
1821
1805
|
**/
|
|
1822
|
-
spends: GenericStorageQuery<
|
|
1806
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1823
1807
|
|
|
1824
1808
|
/**
|
|
1825
1809
|
* The blocknumber for the last triggered spend period.
|
|
1826
1810
|
*
|
|
1827
1811
|
* @param {Callback<number | undefined> =} callback
|
|
1828
1812
|
**/
|
|
1829
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
1813
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
1830
1814
|
|
|
1831
1815
|
/**
|
|
1832
1816
|
* Generic pallet storage query
|
|
1833
1817
|
**/
|
|
1834
|
-
[storage: string]: GenericStorageQuery
|
|
1818
|
+
[storage: string]: GenericStorageQuery;
|
|
1835
1819
|
};
|
|
1836
1820
|
/**
|
|
1837
1821
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -1846,7 +1830,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1846
1830
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
1847
1831
|
**/
|
|
1848
1832
|
conversionRateToNative: GenericStorageQuery<
|
|
1849
|
-
Rv,
|
|
1850
1833
|
(arg: FrameSupportTokensFungibleUnionOfNativeOrWithId) => FixedU128 | undefined,
|
|
1851
1834
|
FrameSupportTokensFungibleUnionOfNativeOrWithId
|
|
1852
1835
|
>;
|
|
@@ -1854,7 +1837,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1854
1837
|
/**
|
|
1855
1838
|
* Generic pallet storage query
|
|
1856
1839
|
**/
|
|
1857
|
-
[storage: string]: GenericStorageQuery
|
|
1840
|
+
[storage: string]: GenericStorageQuery;
|
|
1858
1841
|
};
|
|
1859
1842
|
/**
|
|
1860
1843
|
* Pallet `Contracts`'s storage queries
|
|
@@ -1866,7 +1849,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1866
1849
|
* @param {H256} arg
|
|
1867
1850
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1868
1851
|
**/
|
|
1869
|
-
pristineCode: GenericStorageQuery<
|
|
1852
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
1870
1853
|
|
|
1871
1854
|
/**
|
|
1872
1855
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -1874,7 +1857,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1874
1857
|
* @param {H256} arg
|
|
1875
1858
|
* @param {Callback<PalletContractsWasmCodeInfo | undefined> =} callback
|
|
1876
1859
|
**/
|
|
1877
|
-
codeInfoOf: GenericStorageQuery<
|
|
1860
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
|
|
1878
1861
|
|
|
1879
1862
|
/**
|
|
1880
1863
|
* This is a **monotonic** counter incremented on contract instantiation.
|
|
@@ -1902,7 +1885,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1902
1885
|
*
|
|
1903
1886
|
* @param {Callback<bigint> =} callback
|
|
1904
1887
|
**/
|
|
1905
|
-
nonce: GenericStorageQuery<
|
|
1888
|
+
nonce: GenericStorageQuery<() => bigint>;
|
|
1906
1889
|
|
|
1907
1890
|
/**
|
|
1908
1891
|
* The code associated with a given account.
|
|
@@ -1913,7 +1896,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1913
1896
|
* @param {Callback<PalletContractsStorageContractInfo | undefined> =} callback
|
|
1914
1897
|
**/
|
|
1915
1898
|
contractInfoOf: GenericStorageQuery<
|
|
1916
|
-
Rv,
|
|
1917
1899
|
(arg: AccountId32Like) => PalletContractsStorageContractInfo | undefined,
|
|
1918
1900
|
AccountId32
|
|
1919
1901
|
>;
|
|
@@ -1927,7 +1909,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1927
1909
|
* @param {number} arg
|
|
1928
1910
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1929
1911
|
**/
|
|
1930
|
-
deletionQueue: GenericStorageQuery<
|
|
1912
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
1931
1913
|
|
|
1932
1914
|
/**
|
|
1933
1915
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -1935,7 +1917,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1935
1917
|
*
|
|
1936
1918
|
* @param {Callback<PalletContractsStorageDeletionQueueManager> =} callback
|
|
1937
1919
|
**/
|
|
1938
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
1920
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletContractsStorageDeletionQueueManager>;
|
|
1939
1921
|
|
|
1940
1922
|
/**
|
|
1941
1923
|
* A migration can span across multiple blocks. This storage defines a cursor to track the
|
|
@@ -1943,12 +1925,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1943
1925
|
*
|
|
1944
1926
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1945
1927
|
**/
|
|
1946
|
-
migrationInProgress: GenericStorageQuery<
|
|
1928
|
+
migrationInProgress: GenericStorageQuery<() => Bytes | undefined>;
|
|
1947
1929
|
|
|
1948
1930
|
/**
|
|
1949
1931
|
* Generic pallet storage query
|
|
1950
1932
|
**/
|
|
1951
|
-
[storage: string]: GenericStorageQuery
|
|
1933
|
+
[storage: string]: GenericStorageQuery;
|
|
1952
1934
|
};
|
|
1953
1935
|
/**
|
|
1954
1936
|
* Pallet `Sudo`'s storage queries
|
|
@@ -1959,12 +1941,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1959
1941
|
*
|
|
1960
1942
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1961
1943
|
**/
|
|
1962
|
-
key: GenericStorageQuery<
|
|
1944
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1963
1945
|
|
|
1964
1946
|
/**
|
|
1965
1947
|
* Generic pallet storage query
|
|
1966
1948
|
**/
|
|
1967
|
-
[storage: string]: GenericStorageQuery
|
|
1949
|
+
[storage: string]: GenericStorageQuery;
|
|
1968
1950
|
};
|
|
1969
1951
|
/**
|
|
1970
1952
|
* Pallet `ImOnline`'s storage queries
|
|
@@ -1985,14 +1967,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1985
1967
|
*
|
|
1986
1968
|
* @param {Callback<number> =} callback
|
|
1987
1969
|
**/
|
|
1988
|
-
heartbeatAfter: GenericStorageQuery<
|
|
1970
|
+
heartbeatAfter: GenericStorageQuery<() => number>;
|
|
1989
1971
|
|
|
1990
1972
|
/**
|
|
1991
1973
|
* The current set of keys that may issue a heartbeat.
|
|
1992
1974
|
*
|
|
1993
1975
|
* @param {Callback<Array<PalletImOnlineSr25519AppSr25519Public>> =} callback
|
|
1994
1976
|
**/
|
|
1995
|
-
keys: GenericStorageQuery<
|
|
1977
|
+
keys: GenericStorageQuery<() => Array<PalletImOnlineSr25519AppSr25519Public>>;
|
|
1996
1978
|
|
|
1997
1979
|
/**
|
|
1998
1980
|
* For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
|
|
@@ -2000,7 +1982,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2000
1982
|
* @param {[number, number]} arg
|
|
2001
1983
|
* @param {Callback<boolean | undefined> =} callback
|
|
2002
1984
|
**/
|
|
2003
|
-
receivedHeartbeats: GenericStorageQuery<
|
|
1985
|
+
receivedHeartbeats: GenericStorageQuery<(arg: [number, number]) => boolean | undefined, [number, number]>;
|
|
2004
1986
|
|
|
2005
1987
|
/**
|
|
2006
1988
|
* For each session index, we keep a mapping of `ValidatorId<T>` to the
|
|
@@ -2009,12 +1991,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2009
1991
|
* @param {[number, AccountId32Like]} arg
|
|
2010
1992
|
* @param {Callback<number> =} callback
|
|
2011
1993
|
**/
|
|
2012
|
-
authoredBlocks: GenericStorageQuery<
|
|
1994
|
+
authoredBlocks: GenericStorageQuery<(arg: [number, AccountId32Like]) => number, [number, AccountId32]>;
|
|
2013
1995
|
|
|
2014
1996
|
/**
|
|
2015
1997
|
* Generic pallet storage query
|
|
2016
1998
|
**/
|
|
2017
|
-
[storage: string]: GenericStorageQuery
|
|
1999
|
+
[storage: string]: GenericStorageQuery;
|
|
2018
2000
|
};
|
|
2019
2001
|
/**
|
|
2020
2002
|
* Pallet `AuthorityDiscovery`'s storage queries
|
|
@@ -2025,19 +2007,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2025
2007
|
*
|
|
2026
2008
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
2027
2009
|
**/
|
|
2028
|
-
keys: GenericStorageQuery<
|
|
2010
|
+
keys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
2029
2011
|
|
|
2030
2012
|
/**
|
|
2031
2013
|
* Keys of the next authority set.
|
|
2032
2014
|
*
|
|
2033
2015
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
2034
2016
|
**/
|
|
2035
|
-
nextKeys: GenericStorageQuery<
|
|
2017
|
+
nextKeys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
2036
2018
|
|
|
2037
2019
|
/**
|
|
2038
2020
|
* Generic pallet storage query
|
|
2039
2021
|
**/
|
|
2040
|
-
[storage: string]: GenericStorageQuery
|
|
2022
|
+
[storage: string]: GenericStorageQuery;
|
|
2041
2023
|
};
|
|
2042
2024
|
/**
|
|
2043
2025
|
* Pallet `Offences`'s storage queries
|
|
@@ -2049,7 +2031,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2049
2031
|
* @param {H256} arg
|
|
2050
2032
|
* @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
|
|
2051
2033
|
**/
|
|
2052
|
-
reports: GenericStorageQuery<
|
|
2034
|
+
reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
|
|
2053
2035
|
|
|
2054
2036
|
/**
|
|
2055
2037
|
* A vector of reports of the same kind that happened at the same time slot.
|
|
@@ -2058,7 +2040,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2058
2040
|
* @param {Callback<Array<H256>> =} callback
|
|
2059
2041
|
**/
|
|
2060
2042
|
concurrentReportsIndex: GenericStorageQuery<
|
|
2061
|
-
Rv,
|
|
2062
2043
|
(arg: [FixedBytes<16>, BytesLike]) => Array<H256>,
|
|
2063
2044
|
[FixedBytes<16>, Bytes]
|
|
2064
2045
|
>;
|
|
@@ -2066,7 +2047,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2066
2047
|
/**
|
|
2067
2048
|
* Generic pallet storage query
|
|
2068
2049
|
**/
|
|
2069
|
-
[storage: string]: GenericStorageQuery
|
|
2050
|
+
[storage: string]: GenericStorageQuery;
|
|
2070
2051
|
};
|
|
2071
2052
|
/**
|
|
2072
2053
|
* Pallet `Historical`'s storage queries
|
|
@@ -2078,19 +2059,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2078
2059
|
* @param {number} arg
|
|
2079
2060
|
* @param {Callback<[H256, number] | undefined> =} callback
|
|
2080
2061
|
**/
|
|
2081
|
-
historicalSessions: GenericStorageQuery<
|
|
2062
|
+
historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
|
|
2082
2063
|
|
|
2083
2064
|
/**
|
|
2084
2065
|
* The range of historical sessions we store. [first, last)
|
|
2085
2066
|
*
|
|
2086
2067
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2087
2068
|
**/
|
|
2088
|
-
storedRange: GenericStorageQuery<
|
|
2069
|
+
storedRange: GenericStorageQuery<() => [number, number] | undefined>;
|
|
2089
2070
|
|
|
2090
2071
|
/**
|
|
2091
2072
|
* Generic pallet storage query
|
|
2092
2073
|
**/
|
|
2093
|
-
[storage: string]: GenericStorageQuery
|
|
2074
|
+
[storage: string]: GenericStorageQuery;
|
|
2094
2075
|
};
|
|
2095
2076
|
/**
|
|
2096
2077
|
* Pallet `RandomnessCollectiveFlip`'s storage queries
|
|
@@ -2103,12 +2084,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2103
2084
|
*
|
|
2104
2085
|
* @param {Callback<Array<H256>> =} callback
|
|
2105
2086
|
**/
|
|
2106
|
-
randomMaterial: GenericStorageQuery<
|
|
2087
|
+
randomMaterial: GenericStorageQuery<() => Array<H256>>;
|
|
2107
2088
|
|
|
2108
2089
|
/**
|
|
2109
2090
|
* Generic pallet storage query
|
|
2110
2091
|
**/
|
|
2111
|
-
[storage: string]: GenericStorageQuery
|
|
2092
|
+
[storage: string]: GenericStorageQuery;
|
|
2112
2093
|
};
|
|
2113
2094
|
/**
|
|
2114
2095
|
* Pallet `Identity`'s storage queries
|
|
@@ -2123,7 +2104,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2123
2104
|
* @param {AccountId32Like} arg
|
|
2124
2105
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
2125
2106
|
**/
|
|
2126
|
-
identityOf: GenericStorageQuery<
|
|
2107
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
2127
2108
|
|
|
2128
2109
|
/**
|
|
2129
2110
|
* Identifies the primary username of an account.
|
|
@@ -2131,7 +2112,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2131
2112
|
* @param {AccountId32Like} arg
|
|
2132
2113
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2133
2114
|
**/
|
|
2134
|
-
usernameOf: GenericStorageQuery<
|
|
2115
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
2135
2116
|
|
|
2136
2117
|
/**
|
|
2137
2118
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -2140,7 +2121,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2140
2121
|
* @param {AccountId32Like} arg
|
|
2141
2122
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
2142
2123
|
**/
|
|
2143
|
-
superOf: GenericStorageQuery<
|
|
2124
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
2144
2125
|
|
|
2145
2126
|
/**
|
|
2146
2127
|
* Alternative "sub" identities of this account.
|
|
@@ -2152,7 +2133,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2152
2133
|
* @param {AccountId32Like} arg
|
|
2153
2134
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
2154
2135
|
**/
|
|
2155
|
-
subsOf: GenericStorageQuery<
|
|
2136
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
2156
2137
|
|
|
2157
2138
|
/**
|
|
2158
2139
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -2162,7 +2143,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2162
2143
|
*
|
|
2163
2144
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
2164
2145
|
**/
|
|
2165
|
-
registrars: GenericStorageQuery<
|
|
2146
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
2166
2147
|
|
|
2167
2148
|
/**
|
|
2168
2149
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -2170,7 +2151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2170
2151
|
* @param {BytesLike} arg
|
|
2171
2152
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
2172
2153
|
**/
|
|
2173
|
-
authorityOf: GenericStorageQuery<
|
|
2154
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
2174
2155
|
|
|
2175
2156
|
/**
|
|
2176
2157
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -2183,7 +2164,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2183
2164
|
* @param {BytesLike} arg
|
|
2184
2165
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
2185
2166
|
**/
|
|
2186
|
-
usernameInfoOf: GenericStorageQuery<
|
|
2167
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
2187
2168
|
|
|
2188
2169
|
/**
|
|
2189
2170
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -2197,7 +2178,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2197
2178
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
2198
2179
|
**/
|
|
2199
2180
|
pendingUsernames: GenericStorageQuery<
|
|
2200
|
-
Rv,
|
|
2201
2181
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
2202
2182
|
Bytes
|
|
2203
2183
|
>;
|
|
@@ -2211,12 +2191,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2211
2191
|
* @param {BytesLike} arg
|
|
2212
2192
|
* @param {Callback<number | undefined> =} callback
|
|
2213
2193
|
**/
|
|
2214
|
-
unbindingUsernames: GenericStorageQuery<
|
|
2194
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
2215
2195
|
|
|
2216
2196
|
/**
|
|
2217
2197
|
* Generic pallet storage query
|
|
2218
2198
|
**/
|
|
2219
|
-
[storage: string]: GenericStorageQuery
|
|
2199
|
+
[storage: string]: GenericStorageQuery;
|
|
2220
2200
|
};
|
|
2221
2201
|
/**
|
|
2222
2202
|
* Pallet `Society`'s storage queries
|
|
@@ -2227,28 +2207,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2227
2207
|
*
|
|
2228
2208
|
* @param {Callback<PalletSocietyGroupParams | undefined> =} callback
|
|
2229
2209
|
**/
|
|
2230
|
-
parameters: GenericStorageQuery<
|
|
2210
|
+
parameters: GenericStorageQuery<() => PalletSocietyGroupParams | undefined>;
|
|
2231
2211
|
|
|
2232
2212
|
/**
|
|
2233
2213
|
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
2234
2214
|
*
|
|
2235
2215
|
* @param {Callback<bigint> =} callback
|
|
2236
2216
|
**/
|
|
2237
|
-
pot: GenericStorageQuery<
|
|
2217
|
+
pot: GenericStorageQuery<() => bigint>;
|
|
2238
2218
|
|
|
2239
2219
|
/**
|
|
2240
2220
|
* The first member.
|
|
2241
2221
|
*
|
|
2242
2222
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2243
2223
|
**/
|
|
2244
|
-
founder: GenericStorageQuery<
|
|
2224
|
+
founder: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2245
2225
|
|
|
2246
2226
|
/**
|
|
2247
2227
|
* The most primary from the most recently approved rank 0 members in the society.
|
|
2248
2228
|
*
|
|
2249
2229
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2250
2230
|
**/
|
|
2251
|
-
head: GenericStorageQuery<
|
|
2231
|
+
head: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2252
2232
|
|
|
2253
2233
|
/**
|
|
2254
2234
|
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
@@ -2256,7 +2236,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2256
2236
|
*
|
|
2257
2237
|
* @param {Callback<H256 | undefined> =} callback
|
|
2258
2238
|
**/
|
|
2259
|
-
rules: GenericStorageQuery<
|
|
2239
|
+
rules: GenericStorageQuery<() => H256 | undefined>;
|
|
2260
2240
|
|
|
2261
2241
|
/**
|
|
2262
2242
|
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
|
@@ -2264,7 +2244,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2264
2244
|
* @param {AccountId32Like} arg
|
|
2265
2245
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
2266
2246
|
**/
|
|
2267
|
-
members: GenericStorageQuery<
|
|
2247
|
+
members: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
2268
2248
|
|
|
2269
2249
|
/**
|
|
2270
2250
|
* Information regarding rank-0 payouts, past and future.
|
|
@@ -2272,14 +2252,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2272
2252
|
* @param {AccountId32Like} arg
|
|
2273
2253
|
* @param {Callback<PalletSocietyPayoutRecord> =} callback
|
|
2274
2254
|
**/
|
|
2275
|
-
payouts: GenericStorageQuery<
|
|
2255
|
+
payouts: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyPayoutRecord, AccountId32>;
|
|
2276
2256
|
|
|
2277
2257
|
/**
|
|
2278
2258
|
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
|
2279
2259
|
*
|
|
2280
2260
|
* @param {Callback<number> =} callback
|
|
2281
2261
|
**/
|
|
2282
|
-
memberCount: GenericStorageQuery<
|
|
2262
|
+
memberCount: GenericStorageQuery<() => number>;
|
|
2283
2263
|
|
|
2284
2264
|
/**
|
|
2285
2265
|
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
|
@@ -2288,7 +2268,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2288
2268
|
* @param {number} arg
|
|
2289
2269
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2290
2270
|
**/
|
|
2291
|
-
memberByIndex: GenericStorageQuery<
|
|
2271
|
+
memberByIndex: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
|
|
2292
2272
|
|
|
2293
2273
|
/**
|
|
2294
2274
|
* The set of suspended members, with their old membership record.
|
|
@@ -2296,39 +2276,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2296
2276
|
* @param {AccountId32Like} arg
|
|
2297
2277
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
2298
2278
|
**/
|
|
2299
|
-
suspendedMembers: GenericStorageQuery<
|
|
2300
|
-
Rv,
|
|
2301
|
-
(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined,
|
|
2302
|
-
AccountId32
|
|
2303
|
-
>;
|
|
2279
|
+
suspendedMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
2304
2280
|
|
|
2305
2281
|
/**
|
|
2306
2282
|
* The number of rounds which have passed.
|
|
2307
2283
|
*
|
|
2308
2284
|
* @param {Callback<number> =} callback
|
|
2309
2285
|
**/
|
|
2310
|
-
roundCount: GenericStorageQuery<
|
|
2286
|
+
roundCount: GenericStorageQuery<() => number>;
|
|
2311
2287
|
|
|
2312
2288
|
/**
|
|
2313
2289
|
* The current bids, stored ordered by the value of the bid.
|
|
2314
2290
|
*
|
|
2315
2291
|
* @param {Callback<Array<PalletSocietyBid>> =} callback
|
|
2316
2292
|
**/
|
|
2317
|
-
bids: GenericStorageQuery<
|
|
2293
|
+
bids: GenericStorageQuery<() => Array<PalletSocietyBid>>;
|
|
2318
2294
|
|
|
2319
2295
|
/**
|
|
2320
2296
|
*
|
|
2321
2297
|
* @param {AccountId32Like} arg
|
|
2322
2298
|
* @param {Callback<PalletSocietyCandidacy | undefined> =} callback
|
|
2323
2299
|
**/
|
|
2324
|
-
candidates: GenericStorageQuery<
|
|
2300
|
+
candidates: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyCandidacy | undefined, AccountId32>;
|
|
2325
2301
|
|
|
2326
2302
|
/**
|
|
2327
2303
|
* The current skeptic.
|
|
2328
2304
|
*
|
|
2329
2305
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2330
2306
|
**/
|
|
2331
|
-
skeptic: GenericStorageQuery<
|
|
2307
|
+
skeptic: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2332
2308
|
|
|
2333
2309
|
/**
|
|
2334
2310
|
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
@@ -2337,7 +2313,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2337
2313
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
2338
2314
|
**/
|
|
2339
2315
|
votes: GenericStorageQuery<
|
|
2340
|
-
Rv,
|
|
2341
2316
|
(arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
2342
2317
|
[AccountId32, AccountId32]
|
|
2343
2318
|
>;
|
|
@@ -2348,7 +2323,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2348
2323
|
* @param {AccountId32Like} arg
|
|
2349
2324
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2350
2325
|
**/
|
|
2351
|
-
voteClearCursor: GenericStorageQuery<
|
|
2326
|
+
voteClearCursor: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
2352
2327
|
|
|
2353
2328
|
/**
|
|
2354
2329
|
* At the end of the claim period, this contains the most recently approved members (along with
|
|
@@ -2357,21 +2332,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2357
2332
|
*
|
|
2358
2333
|
* @param {Callback<PalletSocietyIntakeRecord | undefined> =} callback
|
|
2359
2334
|
**/
|
|
2360
|
-
nextHead: GenericStorageQuery<
|
|
2335
|
+
nextHead: GenericStorageQuery<() => PalletSocietyIntakeRecord | undefined>;
|
|
2361
2336
|
|
|
2362
2337
|
/**
|
|
2363
2338
|
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
|
2364
2339
|
*
|
|
2365
2340
|
* @param {Callback<number> =} callback
|
|
2366
2341
|
**/
|
|
2367
|
-
challengeRoundCount: GenericStorageQuery<
|
|
2342
|
+
challengeRoundCount: GenericStorageQuery<() => number>;
|
|
2368
2343
|
|
|
2369
2344
|
/**
|
|
2370
2345
|
* The defending member currently being challenged, along with a running tally of votes.
|
|
2371
2346
|
*
|
|
2372
2347
|
* @param {Callback<[AccountId32, AccountId32, PalletSocietyTally] | undefined> =} callback
|
|
2373
2348
|
**/
|
|
2374
|
-
defending: GenericStorageQuery<
|
|
2349
|
+
defending: GenericStorageQuery<() => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
|
|
2375
2350
|
|
|
2376
2351
|
/**
|
|
2377
2352
|
* Votes for the defender, keyed by challenge round.
|
|
@@ -2380,7 +2355,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2380
2355
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
2381
2356
|
**/
|
|
2382
2357
|
defenderVotes: GenericStorageQuery<
|
|
2383
|
-
Rv,
|
|
2384
2358
|
(arg: [number, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
2385
2359
|
[number, AccountId32]
|
|
2386
2360
|
>;
|
|
@@ -2388,7 +2362,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2388
2362
|
/**
|
|
2389
2363
|
* Generic pallet storage query
|
|
2390
2364
|
**/
|
|
2391
|
-
[storage: string]: GenericStorageQuery
|
|
2365
|
+
[storage: string]: GenericStorageQuery;
|
|
2392
2366
|
};
|
|
2393
2367
|
/**
|
|
2394
2368
|
* Pallet `Recovery`'s storage queries
|
|
@@ -2400,11 +2374,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2400
2374
|
* @param {AccountId32Like} arg
|
|
2401
2375
|
* @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
|
|
2402
2376
|
**/
|
|
2403
|
-
recoverable: GenericStorageQuery<
|
|
2404
|
-
Rv,
|
|
2405
|
-
(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined,
|
|
2406
|
-
AccountId32
|
|
2407
|
-
>;
|
|
2377
|
+
recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
|
|
2408
2378
|
|
|
2409
2379
|
/**
|
|
2410
2380
|
* Active recovery attempts.
|
|
@@ -2416,7 +2386,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2416
2386
|
* @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
|
|
2417
2387
|
**/
|
|
2418
2388
|
activeRecoveries: GenericStorageQuery<
|
|
2419
|
-
Rv,
|
|
2420
2389
|
(arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined,
|
|
2421
2390
|
[AccountId32, AccountId32]
|
|
2422
2391
|
>;
|
|
@@ -2429,12 +2398,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2429
2398
|
* @param {AccountId32Like} arg
|
|
2430
2399
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2431
2400
|
**/
|
|
2432
|
-
proxy: GenericStorageQuery<
|
|
2401
|
+
proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
2433
2402
|
|
|
2434
2403
|
/**
|
|
2435
2404
|
* Generic pallet storage query
|
|
2436
2405
|
**/
|
|
2437
|
-
[storage: string]: GenericStorageQuery
|
|
2406
|
+
[storage: string]: GenericStorageQuery;
|
|
2438
2407
|
};
|
|
2439
2408
|
/**
|
|
2440
2409
|
* Pallet `Vesting`'s storage queries
|
|
@@ -2446,11 +2415,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2446
2415
|
* @param {AccountId32Like} arg
|
|
2447
2416
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
2448
2417
|
**/
|
|
2449
|
-
vesting: GenericStorageQuery<
|
|
2450
|
-
Rv,
|
|
2451
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
2452
|
-
AccountId32
|
|
2453
|
-
>;
|
|
2418
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
2454
2419
|
|
|
2455
2420
|
/**
|
|
2456
2421
|
* Storage version of the pallet.
|
|
@@ -2459,12 +2424,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2459
2424
|
*
|
|
2460
2425
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
2461
2426
|
**/
|
|
2462
|
-
storageVersion: GenericStorageQuery<
|
|
2427
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
2463
2428
|
|
|
2464
2429
|
/**
|
|
2465
2430
|
* Generic pallet storage query
|
|
2466
2431
|
**/
|
|
2467
|
-
[storage: string]: GenericStorageQuery
|
|
2432
|
+
[storage: string]: GenericStorageQuery;
|
|
2468
2433
|
};
|
|
2469
2434
|
/**
|
|
2470
2435
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -2475,7 +2440,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2475
2440
|
*
|
|
2476
2441
|
* @param {Callback<number | undefined> =} callback
|
|
2477
2442
|
**/
|
|
2478
|
-
incompleteSince: GenericStorageQuery<
|
|
2443
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
2479
2444
|
|
|
2480
2445
|
/**
|
|
2481
2446
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -2483,7 +2448,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2483
2448
|
* @param {number} arg
|
|
2484
2449
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
2485
2450
|
**/
|
|
2486
|
-
agenda: GenericStorageQuery<
|
|
2451
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
2487
2452
|
|
|
2488
2453
|
/**
|
|
2489
2454
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -2491,11 +2456,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2491
2456
|
* @param {[number, number]} arg
|
|
2492
2457
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
2493
2458
|
**/
|
|
2494
|
-
retries: GenericStorageQuery<
|
|
2495
|
-
Rv,
|
|
2496
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
2497
|
-
[number, number]
|
|
2498
|
-
>;
|
|
2459
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
2499
2460
|
|
|
2500
2461
|
/**
|
|
2501
2462
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -2506,12 +2467,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2506
2467
|
* @param {FixedBytes<32>} arg
|
|
2507
2468
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2508
2469
|
**/
|
|
2509
|
-
lookup: GenericStorageQuery<
|
|
2470
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
2510
2471
|
|
|
2511
2472
|
/**
|
|
2512
2473
|
* Generic pallet storage query
|
|
2513
2474
|
**/
|
|
2514
|
-
[storage: string]: GenericStorageQuery
|
|
2475
|
+
[storage: string]: GenericStorageQuery;
|
|
2515
2476
|
};
|
|
2516
2477
|
/**
|
|
2517
2478
|
* Pallet `Glutton`'s storage queries
|
|
@@ -2525,7 +2486,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2525
2486
|
*
|
|
2526
2487
|
* @param {Callback<FixedU64> =} callback
|
|
2527
2488
|
**/
|
|
2528
|
-
compute: GenericStorageQuery<
|
|
2489
|
+
compute: GenericStorageQuery<() => FixedU64>;
|
|
2529
2490
|
|
|
2530
2491
|
/**
|
|
2531
2492
|
* The proportion of the remaining `proof_size` to consume during `on_idle`.
|
|
@@ -2535,7 +2496,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2535
2496
|
*
|
|
2536
2497
|
* @param {Callback<FixedU64> =} callback
|
|
2537
2498
|
**/
|
|
2538
|
-
storage: GenericStorageQuery<
|
|
2499
|
+
storage: GenericStorageQuery<() => FixedU64>;
|
|
2539
2500
|
|
|
2540
2501
|
/**
|
|
2541
2502
|
* The proportion of the `block length` to consume on each block.
|
|
@@ -2545,7 +2506,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2545
2506
|
*
|
|
2546
2507
|
* @param {Callback<FixedU64> =} callback
|
|
2547
2508
|
**/
|
|
2548
|
-
length: GenericStorageQuery<
|
|
2509
|
+
length: GenericStorageQuery<() => FixedU64>;
|
|
2549
2510
|
|
|
2550
2511
|
/**
|
|
2551
2512
|
* Storage map used for wasting proof size.
|
|
@@ -2560,19 +2521,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2560
2521
|
* @param {number} arg
|
|
2561
2522
|
* @param {Callback<FixedBytes<1024> | undefined> =} callback
|
|
2562
2523
|
**/
|
|
2563
|
-
trashData: GenericStorageQuery<
|
|
2524
|
+
trashData: GenericStorageQuery<(arg: number) => FixedBytes<1024> | undefined, number>;
|
|
2564
2525
|
|
|
2565
2526
|
/**
|
|
2566
2527
|
* The current number of entries in `TrashData`.
|
|
2567
2528
|
*
|
|
2568
2529
|
* @param {Callback<number> =} callback
|
|
2569
2530
|
**/
|
|
2570
|
-
trashDataCount: GenericStorageQuery<
|
|
2531
|
+
trashDataCount: GenericStorageQuery<() => number>;
|
|
2571
2532
|
|
|
2572
2533
|
/**
|
|
2573
2534
|
* Generic pallet storage query
|
|
2574
2535
|
**/
|
|
2575
|
-
[storage: string]: GenericStorageQuery
|
|
2536
|
+
[storage: string]: GenericStorageQuery;
|
|
2576
2537
|
};
|
|
2577
2538
|
/**
|
|
2578
2539
|
* Pallet `Preimage`'s storage queries
|
|
@@ -2584,7 +2545,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2584
2545
|
* @param {H256} arg
|
|
2585
2546
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
2586
2547
|
**/
|
|
2587
|
-
statusFor: GenericStorageQuery<
|
|
2548
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
2588
2549
|
|
|
2589
2550
|
/**
|
|
2590
2551
|
* The request status of a given hash.
|
|
@@ -2592,19 +2553,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2592
2553
|
* @param {H256} arg
|
|
2593
2554
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
2594
2555
|
**/
|
|
2595
|
-
requestStatusFor: GenericStorageQuery<
|
|
2556
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
2596
2557
|
|
|
2597
2558
|
/**
|
|
2598
2559
|
*
|
|
2599
2560
|
* @param {[H256, number]} arg
|
|
2600
2561
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2601
2562
|
**/
|
|
2602
|
-
preimageFor: GenericStorageQuery<
|
|
2563
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
2603
2564
|
|
|
2604
2565
|
/**
|
|
2605
2566
|
* Generic pallet storage query
|
|
2606
2567
|
**/
|
|
2607
|
-
[storage: string]: GenericStorageQuery
|
|
2568
|
+
[storage: string]: GenericStorageQuery;
|
|
2608
2569
|
};
|
|
2609
2570
|
/**
|
|
2610
2571
|
* Pallet `Proxy`'s storage queries
|
|
@@ -2617,11 +2578,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2617
2578
|
* @param {AccountId32Like} arg
|
|
2618
2579
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
2619
2580
|
**/
|
|
2620
|
-
proxies: GenericStorageQuery<
|
|
2621
|
-
Rv,
|
|
2622
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
2623
|
-
AccountId32
|
|
2624
|
-
>;
|
|
2581
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
2625
2582
|
|
|
2626
2583
|
/**
|
|
2627
2584
|
* The announcements made by the proxy (key).
|
|
@@ -2629,16 +2586,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2629
2586
|
* @param {AccountId32Like} arg
|
|
2630
2587
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
2631
2588
|
**/
|
|
2632
|
-
announcements: GenericStorageQuery<
|
|
2633
|
-
Rv,
|
|
2634
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
2635
|
-
AccountId32
|
|
2636
|
-
>;
|
|
2589
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
2637
2590
|
|
|
2638
2591
|
/**
|
|
2639
2592
|
* Generic pallet storage query
|
|
2640
2593
|
**/
|
|
2641
|
-
[storage: string]: GenericStorageQuery
|
|
2594
|
+
[storage: string]: GenericStorageQuery;
|
|
2642
2595
|
};
|
|
2643
2596
|
/**
|
|
2644
2597
|
* Pallet `Multisig`'s storage queries
|
|
@@ -2651,7 +2604,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2651
2604
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
2652
2605
|
**/
|
|
2653
2606
|
multisigs: GenericStorageQuery<
|
|
2654
|
-
Rv,
|
|
2655
2607
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
2656
2608
|
[AccountId32, FixedBytes<32>]
|
|
2657
2609
|
>;
|
|
@@ -2659,7 +2611,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2659
2611
|
/**
|
|
2660
2612
|
* Generic pallet storage query
|
|
2661
2613
|
**/
|
|
2662
|
-
[storage: string]: GenericStorageQuery
|
|
2614
|
+
[storage: string]: GenericStorageQuery;
|
|
2663
2615
|
};
|
|
2664
2616
|
/**
|
|
2665
2617
|
* Pallet `Bounties`'s storage queries
|
|
@@ -2670,7 +2622,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2670
2622
|
*
|
|
2671
2623
|
* @param {Callback<number> =} callback
|
|
2672
2624
|
**/
|
|
2673
|
-
bountyCount: GenericStorageQuery<
|
|
2625
|
+
bountyCount: GenericStorageQuery<() => number>;
|
|
2674
2626
|
|
|
2675
2627
|
/**
|
|
2676
2628
|
* Bounties that have been made.
|
|
@@ -2678,7 +2630,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2678
2630
|
* @param {number} arg
|
|
2679
2631
|
* @param {Callback<PalletBountiesBounty | undefined> =} callback
|
|
2680
2632
|
**/
|
|
2681
|
-
bounties: GenericStorageQuery<
|
|
2633
|
+
bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
|
|
2682
2634
|
|
|
2683
2635
|
/**
|
|
2684
2636
|
* The description of each bounty.
|
|
@@ -2686,19 +2638,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2686
2638
|
* @param {number} arg
|
|
2687
2639
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2688
2640
|
**/
|
|
2689
|
-
bountyDescriptions: GenericStorageQuery<
|
|
2641
|
+
bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2690
2642
|
|
|
2691
2643
|
/**
|
|
2692
2644
|
* Bounty indices that have been approved but not yet funded.
|
|
2693
2645
|
*
|
|
2694
2646
|
* @param {Callback<Array<number>> =} callback
|
|
2695
2647
|
**/
|
|
2696
|
-
bountyApprovals: GenericStorageQuery<
|
|
2648
|
+
bountyApprovals: GenericStorageQuery<() => Array<number>>;
|
|
2697
2649
|
|
|
2698
2650
|
/**
|
|
2699
2651
|
* Generic pallet storage query
|
|
2700
2652
|
**/
|
|
2701
|
-
[storage: string]: GenericStorageQuery
|
|
2653
|
+
[storage: string]: GenericStorageQuery;
|
|
2702
2654
|
};
|
|
2703
2655
|
/**
|
|
2704
2656
|
* Pallet `Tips`'s storage queries
|
|
@@ -2712,7 +2664,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2712
2664
|
* @param {H256} arg
|
|
2713
2665
|
* @param {Callback<PalletTipsOpenTip | undefined> =} callback
|
|
2714
2666
|
**/
|
|
2715
|
-
tips: GenericStorageQuery<
|
|
2667
|
+
tips: GenericStorageQuery<(arg: H256) => PalletTipsOpenTip | undefined, H256>;
|
|
2716
2668
|
|
|
2717
2669
|
/**
|
|
2718
2670
|
* Simple preimage lookup from the reason's hash to the original data. Again, has an
|
|
@@ -2721,12 +2673,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2721
2673
|
* @param {H256} arg
|
|
2722
2674
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2723
2675
|
**/
|
|
2724
|
-
reasons: GenericStorageQuery<
|
|
2676
|
+
reasons: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
2725
2677
|
|
|
2726
2678
|
/**
|
|
2727
2679
|
* Generic pallet storage query
|
|
2728
2680
|
**/
|
|
2729
|
-
[storage: string]: GenericStorageQuery
|
|
2681
|
+
[storage: string]: GenericStorageQuery;
|
|
2730
2682
|
};
|
|
2731
2683
|
/**
|
|
2732
2684
|
* Pallet `Assets`'s storage queries
|
|
@@ -2738,7 +2690,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2738
2690
|
* @param {number} arg
|
|
2739
2691
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
2740
2692
|
**/
|
|
2741
|
-
asset: GenericStorageQuery<
|
|
2693
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
2742
2694
|
|
|
2743
2695
|
/**
|
|
2744
2696
|
* The holdings of a specific account for a specific asset.
|
|
@@ -2747,7 +2699,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2747
2699
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
2748
2700
|
**/
|
|
2749
2701
|
account: GenericStorageQuery<
|
|
2750
|
-
Rv,
|
|
2751
2702
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
2752
2703
|
[number, AccountId32]
|
|
2753
2704
|
>;
|
|
@@ -2761,7 +2712,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2761
2712
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
2762
2713
|
**/
|
|
2763
2714
|
approvals: GenericStorageQuery<
|
|
2764
|
-
Rv,
|
|
2765
2715
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
2766
2716
|
[number, AccountId32, AccountId32]
|
|
2767
2717
|
>;
|
|
@@ -2772,7 +2722,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2772
2722
|
* @param {number} arg
|
|
2773
2723
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
2774
2724
|
**/
|
|
2775
|
-
metadata: GenericStorageQuery<
|
|
2725
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
2776
2726
|
|
|
2777
2727
|
/**
|
|
2778
2728
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -2787,12 +2737,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2787
2737
|
*
|
|
2788
2738
|
* @param {Callback<number | undefined> =} callback
|
|
2789
2739
|
**/
|
|
2790
|
-
nextAssetId: GenericStorageQuery<
|
|
2740
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2791
2741
|
|
|
2792
2742
|
/**
|
|
2793
2743
|
* Generic pallet storage query
|
|
2794
2744
|
**/
|
|
2795
|
-
[storage: string]: GenericStorageQuery
|
|
2745
|
+
[storage: string]: GenericStorageQuery;
|
|
2796
2746
|
};
|
|
2797
2747
|
/**
|
|
2798
2748
|
* Pallet `PoolAssets`'s storage queries
|
|
@@ -2804,7 +2754,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2804
2754
|
* @param {number} arg
|
|
2805
2755
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
2806
2756
|
**/
|
|
2807
|
-
asset: GenericStorageQuery<
|
|
2757
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
2808
2758
|
|
|
2809
2759
|
/**
|
|
2810
2760
|
* The holdings of a specific account for a specific asset.
|
|
@@ -2813,7 +2763,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2813
2763
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
2814
2764
|
**/
|
|
2815
2765
|
account: GenericStorageQuery<
|
|
2816
|
-
Rv,
|
|
2817
2766
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
2818
2767
|
[number, AccountId32]
|
|
2819
2768
|
>;
|
|
@@ -2827,7 +2776,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2827
2776
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
2828
2777
|
**/
|
|
2829
2778
|
approvals: GenericStorageQuery<
|
|
2830
|
-
Rv,
|
|
2831
2779
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
2832
2780
|
[number, AccountId32, AccountId32]
|
|
2833
2781
|
>;
|
|
@@ -2838,7 +2786,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2838
2786
|
* @param {number} arg
|
|
2839
2787
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
2840
2788
|
**/
|
|
2841
|
-
metadata: GenericStorageQuery<
|
|
2789
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
2842
2790
|
|
|
2843
2791
|
/**
|
|
2844
2792
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -2853,12 +2801,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2853
2801
|
*
|
|
2854
2802
|
* @param {Callback<number | undefined> =} callback
|
|
2855
2803
|
**/
|
|
2856
|
-
nextAssetId: GenericStorageQuery<
|
|
2804
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2857
2805
|
|
|
2858
2806
|
/**
|
|
2859
2807
|
* Generic pallet storage query
|
|
2860
2808
|
**/
|
|
2861
|
-
[storage: string]: GenericStorageQuery
|
|
2809
|
+
[storage: string]: GenericStorageQuery;
|
|
2862
2810
|
};
|
|
2863
2811
|
/**
|
|
2864
2812
|
* Pallet `Beefy`'s storage queries
|
|
@@ -2869,21 +2817,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2869
2817
|
*
|
|
2870
2818
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
2871
2819
|
**/
|
|
2872
|
-
authorities: GenericStorageQuery<
|
|
2820
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
2873
2821
|
|
|
2874
2822
|
/**
|
|
2875
2823
|
* The current validator set id
|
|
2876
2824
|
*
|
|
2877
2825
|
* @param {Callback<bigint> =} callback
|
|
2878
2826
|
**/
|
|
2879
|
-
validatorSetId: GenericStorageQuery<
|
|
2827
|
+
validatorSetId: GenericStorageQuery<() => bigint>;
|
|
2880
2828
|
|
|
2881
2829
|
/**
|
|
2882
2830
|
* Authorities set scheduled to be used with the next session
|
|
2883
2831
|
*
|
|
2884
2832
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
2885
2833
|
**/
|
|
2886
|
-
nextAuthorities: GenericStorageQuery<
|
|
2834
|
+
nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
2887
2835
|
|
|
2888
2836
|
/**
|
|
2889
2837
|
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
|
|
@@ -2900,7 +2848,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2900
2848
|
* @param {bigint} arg
|
|
2901
2849
|
* @param {Callback<number | undefined> =} callback
|
|
2902
2850
|
**/
|
|
2903
|
-
setIdSession: GenericStorageQuery<
|
|
2851
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
2904
2852
|
|
|
2905
2853
|
/**
|
|
2906
2854
|
* Block number where BEEFY consensus is enabled/started.
|
|
@@ -2909,12 +2857,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2909
2857
|
*
|
|
2910
2858
|
* @param {Callback<number | undefined> =} callback
|
|
2911
2859
|
**/
|
|
2912
|
-
genesisBlock: GenericStorageQuery<
|
|
2860
|
+
genesisBlock: GenericStorageQuery<() => number | undefined>;
|
|
2913
2861
|
|
|
2914
2862
|
/**
|
|
2915
2863
|
* Generic pallet storage query
|
|
2916
2864
|
**/
|
|
2917
|
-
[storage: string]: GenericStorageQuery
|
|
2865
|
+
[storage: string]: GenericStorageQuery;
|
|
2918
2866
|
};
|
|
2919
2867
|
/**
|
|
2920
2868
|
* Pallet `Mmr`'s storage queries
|
|
@@ -2925,14 +2873,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2925
2873
|
*
|
|
2926
2874
|
* @param {Callback<H256> =} callback
|
|
2927
2875
|
**/
|
|
2928
|
-
rootHash: GenericStorageQuery<
|
|
2876
|
+
rootHash: GenericStorageQuery<() => H256>;
|
|
2929
2877
|
|
|
2930
2878
|
/**
|
|
2931
2879
|
* Current size of the MMR (number of leaves).
|
|
2932
2880
|
*
|
|
2933
2881
|
* @param {Callback<bigint> =} callback
|
|
2934
2882
|
**/
|
|
2935
|
-
numberOfLeaves: GenericStorageQuery<
|
|
2883
|
+
numberOfLeaves: GenericStorageQuery<() => bigint>;
|
|
2936
2884
|
|
|
2937
2885
|
/**
|
|
2938
2886
|
* Hashes of the nodes in the MMR.
|
|
@@ -2943,12 +2891,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2943
2891
|
* @param {bigint} arg
|
|
2944
2892
|
* @param {Callback<H256 | undefined> =} callback
|
|
2945
2893
|
**/
|
|
2946
|
-
nodes: GenericStorageQuery<
|
|
2894
|
+
nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
2947
2895
|
|
|
2948
2896
|
/**
|
|
2949
2897
|
* Generic pallet storage query
|
|
2950
2898
|
**/
|
|
2951
|
-
[storage: string]: GenericStorageQuery
|
|
2899
|
+
[storage: string]: GenericStorageQuery;
|
|
2952
2900
|
};
|
|
2953
2901
|
/**
|
|
2954
2902
|
* Pallet `MmrLeaf`'s storage queries
|
|
@@ -2959,7 +2907,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2959
2907
|
*
|
|
2960
2908
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
2961
2909
|
**/
|
|
2962
|
-
beefyAuthorities: GenericStorageQuery<
|
|
2910
|
+
beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
2963
2911
|
|
|
2964
2912
|
/**
|
|
2965
2913
|
* Details of next BEEFY authority set.
|
|
@@ -2968,12 +2916,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2968
2916
|
*
|
|
2969
2917
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
2970
2918
|
**/
|
|
2971
|
-
beefyNextAuthorities: GenericStorageQuery<
|
|
2919
|
+
beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
2972
2920
|
|
|
2973
2921
|
/**
|
|
2974
2922
|
* Generic pallet storage query
|
|
2975
2923
|
**/
|
|
2976
|
-
[storage: string]: GenericStorageQuery
|
|
2924
|
+
[storage: string]: GenericStorageQuery;
|
|
2977
2925
|
};
|
|
2978
2926
|
/**
|
|
2979
2927
|
* Pallet `Lottery`'s storage queries
|
|
@@ -2983,14 +2931,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2983
2931
|
*
|
|
2984
2932
|
* @param {Callback<number> =} callback
|
|
2985
2933
|
**/
|
|
2986
|
-
lotteryIndex: GenericStorageQuery<
|
|
2934
|
+
lotteryIndex: GenericStorageQuery<() => number>;
|
|
2987
2935
|
|
|
2988
2936
|
/**
|
|
2989
2937
|
* The configuration for the current lottery.
|
|
2990
2938
|
*
|
|
2991
2939
|
* @param {Callback<PalletLotteryLotteryConfig | undefined> =} callback
|
|
2992
2940
|
**/
|
|
2993
|
-
lottery: GenericStorageQuery<
|
|
2941
|
+
lottery: GenericStorageQuery<() => PalletLotteryLotteryConfig | undefined>;
|
|
2994
2942
|
|
|
2995
2943
|
/**
|
|
2996
2944
|
* Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
|
|
@@ -2998,14 +2946,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2998
2946
|
* @param {AccountId32Like} arg
|
|
2999
2947
|
* @param {Callback<[number, Array<[number, number]>]> =} callback
|
|
3000
2948
|
**/
|
|
3001
|
-
participants: GenericStorageQuery<
|
|
2949
|
+
participants: GenericStorageQuery<(arg: AccountId32Like) => [number, Array<[number, number]>], AccountId32>;
|
|
3002
2950
|
|
|
3003
2951
|
/**
|
|
3004
2952
|
* Total number of tickets sold.
|
|
3005
2953
|
*
|
|
3006
2954
|
* @param {Callback<number> =} callback
|
|
3007
2955
|
**/
|
|
3008
|
-
ticketsCount: GenericStorageQuery<
|
|
2956
|
+
ticketsCount: GenericStorageQuery<() => number>;
|
|
3009
2957
|
|
|
3010
2958
|
/**
|
|
3011
2959
|
* Each ticket's owner.
|
|
@@ -3016,7 +2964,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3016
2964
|
* @param {number} arg
|
|
3017
2965
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3018
2966
|
**/
|
|
3019
|
-
tickets: GenericStorageQuery<
|
|
2967
|
+
tickets: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
|
|
3020
2968
|
|
|
3021
2969
|
/**
|
|
3022
2970
|
* The calls stored in this pallet to be used in an active lottery if configured
|
|
@@ -3024,12 +2972,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3024
2972
|
*
|
|
3025
2973
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
3026
2974
|
**/
|
|
3027
|
-
callIndices: GenericStorageQuery<
|
|
2975
|
+
callIndices: GenericStorageQuery<() => Array<[number, number]>>;
|
|
3028
2976
|
|
|
3029
2977
|
/**
|
|
3030
2978
|
* Generic pallet storage query
|
|
3031
2979
|
**/
|
|
3032
|
-
[storage: string]: GenericStorageQuery
|
|
2980
|
+
[storage: string]: GenericStorageQuery;
|
|
3033
2981
|
};
|
|
3034
2982
|
/**
|
|
3035
2983
|
* Pallet `Nis`'s storage queries
|
|
@@ -3044,7 +2992,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3044
2992
|
*
|
|
3045
2993
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3046
2994
|
**/
|
|
3047
|
-
queueTotals: GenericStorageQuery<
|
|
2995
|
+
queueTotals: GenericStorageQuery<() => Array<[number, bigint]>>;
|
|
3048
2996
|
|
|
3049
2997
|
/**
|
|
3050
2998
|
* The queues of bids. Indexed by duration (in `Period`s).
|
|
@@ -3052,14 +3000,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3052
3000
|
* @param {number} arg
|
|
3053
3001
|
* @param {Callback<Array<PalletNisBid>> =} callback
|
|
3054
3002
|
**/
|
|
3055
|
-
queues: GenericStorageQuery<
|
|
3003
|
+
queues: GenericStorageQuery<(arg: number) => Array<PalletNisBid>, number>;
|
|
3056
3004
|
|
|
3057
3005
|
/**
|
|
3058
3006
|
* Summary information over the general state.
|
|
3059
3007
|
*
|
|
3060
3008
|
* @param {Callback<PalletNisSummaryRecord> =} callback
|
|
3061
3009
|
**/
|
|
3062
|
-
summary: GenericStorageQuery<
|
|
3010
|
+
summary: GenericStorageQuery<() => PalletNisSummaryRecord>;
|
|
3063
3011
|
|
|
3064
3012
|
/**
|
|
3065
3013
|
* The currently outstanding receipts, indexed according to the order of creation.
|
|
@@ -3067,12 +3015,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3067
3015
|
* @param {number} arg
|
|
3068
3016
|
* @param {Callback<PalletNisReceiptRecord | undefined> =} callback
|
|
3069
3017
|
**/
|
|
3070
|
-
receipts: GenericStorageQuery<
|
|
3018
|
+
receipts: GenericStorageQuery<(arg: number) => PalletNisReceiptRecord | undefined, number>;
|
|
3071
3019
|
|
|
3072
3020
|
/**
|
|
3073
3021
|
* Generic pallet storage query
|
|
3074
3022
|
**/
|
|
3075
|
-
[storage: string]: GenericStorageQuery
|
|
3023
|
+
[storage: string]: GenericStorageQuery;
|
|
3076
3024
|
};
|
|
3077
3025
|
/**
|
|
3078
3026
|
* Pallet `Uniques`'s storage queries
|
|
@@ -3084,7 +3032,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3084
3032
|
* @param {number} arg
|
|
3085
3033
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
3086
3034
|
**/
|
|
3087
|
-
class: GenericStorageQuery<
|
|
3035
|
+
class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
|
|
3088
3036
|
|
|
3089
3037
|
/**
|
|
3090
3038
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -3092,7 +3040,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3092
3040
|
* @param {AccountId32Like} arg
|
|
3093
3041
|
* @param {Callback<number | undefined> =} callback
|
|
3094
3042
|
**/
|
|
3095
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
3043
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
3096
3044
|
|
|
3097
3045
|
/**
|
|
3098
3046
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -3102,7 +3050,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3102
3050
|
* @param {Callback<[] | undefined> =} callback
|
|
3103
3051
|
**/
|
|
3104
3052
|
account: GenericStorageQuery<
|
|
3105
|
-
Rv,
|
|
3106
3053
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
3107
3054
|
[AccountId32, number, number]
|
|
3108
3055
|
>;
|
|
@@ -3114,7 +3061,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3114
3061
|
* @param {[AccountId32Like, number]} arg
|
|
3115
3062
|
* @param {Callback<[] | undefined> =} callback
|
|
3116
3063
|
**/
|
|
3117
|
-
classAccount: GenericStorageQuery<
|
|
3064
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
3118
3065
|
|
|
3119
3066
|
/**
|
|
3120
3067
|
* The items in existence and their ownership details.
|
|
@@ -3122,7 +3069,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3122
3069
|
* @param {[number, number]} arg
|
|
3123
3070
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
3124
3071
|
**/
|
|
3125
|
-
asset: GenericStorageQuery<
|
|
3072
|
+
asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
|
|
3126
3073
|
|
|
3127
3074
|
/**
|
|
3128
3075
|
* Metadata of a collection.
|
|
@@ -3130,7 +3077,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3130
3077
|
* @param {number} arg
|
|
3131
3078
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
3132
3079
|
**/
|
|
3133
|
-
classMetadataOf: GenericStorageQuery<
|
|
3080
|
+
classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
|
|
3134
3081
|
|
|
3135
3082
|
/**
|
|
3136
3083
|
* Metadata of an item.
|
|
@@ -3139,7 +3086,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3139
3086
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
3140
3087
|
**/
|
|
3141
3088
|
instanceMetadataOf: GenericStorageQuery<
|
|
3142
|
-
Rv,
|
|
3143
3089
|
(arg: [number, number]) => PalletUniquesItemMetadata | undefined,
|
|
3144
3090
|
[number, number]
|
|
3145
3091
|
>;
|
|
@@ -3151,7 +3097,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3151
3097
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
3152
3098
|
**/
|
|
3153
3099
|
attribute: GenericStorageQuery<
|
|
3154
|
-
Rv,
|
|
3155
3100
|
(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
3156
3101
|
[number, number | undefined, Bytes]
|
|
3157
3102
|
>;
|
|
@@ -3163,7 +3108,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3163
3108
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
3164
3109
|
**/
|
|
3165
3110
|
itemPriceOf: GenericStorageQuery<
|
|
3166
|
-
Rv,
|
|
3167
3111
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
3168
3112
|
[number, number]
|
|
3169
3113
|
>;
|
|
@@ -3174,12 +3118,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3174
3118
|
* @param {number} arg
|
|
3175
3119
|
* @param {Callback<number | undefined> =} callback
|
|
3176
3120
|
**/
|
|
3177
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
3121
|
+
collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
3178
3122
|
|
|
3179
3123
|
/**
|
|
3180
3124
|
* Generic pallet storage query
|
|
3181
3125
|
**/
|
|
3182
|
-
[storage: string]: GenericStorageQuery
|
|
3126
|
+
[storage: string]: GenericStorageQuery;
|
|
3183
3127
|
};
|
|
3184
3128
|
/**
|
|
3185
3129
|
* Pallet `Nfts`'s storage queries
|
|
@@ -3191,7 +3135,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3191
3135
|
* @param {number} arg
|
|
3192
3136
|
* @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
|
|
3193
3137
|
**/
|
|
3194
|
-
collection: GenericStorageQuery<
|
|
3138
|
+
collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
|
|
3195
3139
|
|
|
3196
3140
|
/**
|
|
3197
3141
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -3199,7 +3143,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3199
3143
|
* @param {AccountId32Like} arg
|
|
3200
3144
|
* @param {Callback<number | undefined> =} callback
|
|
3201
3145
|
**/
|
|
3202
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
3146
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
3203
3147
|
|
|
3204
3148
|
/**
|
|
3205
3149
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -3209,7 +3153,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3209
3153
|
* @param {Callback<[] | undefined> =} callback
|
|
3210
3154
|
**/
|
|
3211
3155
|
account: GenericStorageQuery<
|
|
3212
|
-
Rv,
|
|
3213
3156
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
3214
3157
|
[AccountId32, number, number]
|
|
3215
3158
|
>;
|
|
@@ -3221,11 +3164,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3221
3164
|
* @param {[AccountId32Like, number]} arg
|
|
3222
3165
|
* @param {Callback<[] | undefined> =} callback
|
|
3223
3166
|
**/
|
|
3224
|
-
collectionAccount: GenericStorageQuery<
|
|
3225
|
-
Rv,
|
|
3226
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
3227
|
-
[AccountId32, number]
|
|
3228
|
-
>;
|
|
3167
|
+
collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
3229
3168
|
|
|
3230
3169
|
/**
|
|
3231
3170
|
* The items in existence and their ownership details.
|
|
@@ -3235,7 +3174,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3235
3174
|
* @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
|
|
3236
3175
|
**/
|
|
3237
3176
|
collectionRoleOf: GenericStorageQuery<
|
|
3238
|
-
Rv,
|
|
3239
3177
|
(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
|
|
3240
3178
|
[number, AccountId32]
|
|
3241
3179
|
>;
|
|
@@ -3246,7 +3184,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3246
3184
|
* @param {[number, number]} arg
|
|
3247
3185
|
* @param {Callback<PalletNftsItemDetails | undefined> =} callback
|
|
3248
3186
|
**/
|
|
3249
|
-
item: GenericStorageQuery<
|
|
3187
|
+
item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
|
|
3250
3188
|
|
|
3251
3189
|
/**
|
|
3252
3190
|
* Metadata of a collection.
|
|
@@ -3254,7 +3192,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3254
3192
|
* @param {number} arg
|
|
3255
3193
|
* @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
|
|
3256
3194
|
**/
|
|
3257
|
-
collectionMetadataOf: GenericStorageQuery<
|
|
3195
|
+
collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
|
|
3258
3196
|
|
|
3259
3197
|
/**
|
|
3260
3198
|
* Metadata of an item.
|
|
@@ -3263,7 +3201,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3263
3201
|
* @param {Callback<PalletNftsItemMetadata | undefined> =} callback
|
|
3264
3202
|
**/
|
|
3265
3203
|
itemMetadataOf: GenericStorageQuery<
|
|
3266
|
-
Rv,
|
|
3267
3204
|
(arg: [number, number]) => PalletNftsItemMetadata | undefined,
|
|
3268
3205
|
[number, number]
|
|
3269
3206
|
>;
|
|
@@ -3275,7 +3212,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3275
3212
|
* @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
|
|
3276
3213
|
**/
|
|
3277
3214
|
attribute: GenericStorageQuery<
|
|
3278
|
-
Rv,
|
|
3279
3215
|
(
|
|
3280
3216
|
arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
|
|
3281
3217
|
) => [Bytes, PalletNftsAttributeDeposit] | undefined,
|
|
@@ -3289,7 +3225,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3289
3225
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
3290
3226
|
**/
|
|
3291
3227
|
itemPriceOf: GenericStorageQuery<
|
|
3292
|
-
Rv,
|
|
3293
3228
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
3294
3229
|
[number, number]
|
|
3295
3230
|
>;
|
|
@@ -3300,7 +3235,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3300
3235
|
* @param {[number, number]} arg
|
|
3301
3236
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3302
3237
|
**/
|
|
3303
|
-
itemAttributesApprovalsOf: GenericStorageQuery<
|
|
3238
|
+
itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
|
|
3304
3239
|
|
|
3305
3240
|
/**
|
|
3306
3241
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
@@ -3308,7 +3243,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3308
3243
|
*
|
|
3309
3244
|
* @param {Callback<number | undefined> =} callback
|
|
3310
3245
|
**/
|
|
3311
|
-
nextCollectionId: GenericStorageQuery<
|
|
3246
|
+
nextCollectionId: GenericStorageQuery<() => number | undefined>;
|
|
3312
3247
|
|
|
3313
3248
|
/**
|
|
3314
3249
|
* Handles all the pending swaps.
|
|
@@ -3316,11 +3251,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3316
3251
|
* @param {[number, number]} arg
|
|
3317
3252
|
* @param {Callback<PalletNftsPendingSwap | undefined> =} callback
|
|
3318
3253
|
**/
|
|
3319
|
-
pendingSwapOf: GenericStorageQuery<
|
|
3320
|
-
Rv,
|
|
3321
|
-
(arg: [number, number]) => PalletNftsPendingSwap | undefined,
|
|
3322
|
-
[number, number]
|
|
3323
|
-
>;
|
|
3254
|
+
pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
|
|
3324
3255
|
|
|
3325
3256
|
/**
|
|
3326
3257
|
* Config of a collection.
|
|
@@ -3328,7 +3259,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3328
3259
|
* @param {number} arg
|
|
3329
3260
|
* @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
|
|
3330
3261
|
**/
|
|
3331
|
-
collectionConfigOf: GenericStorageQuery<
|
|
3262
|
+
collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
|
|
3332
3263
|
|
|
3333
3264
|
/**
|
|
3334
3265
|
* Config of an item.
|
|
@@ -3336,16 +3267,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3336
3267
|
* @param {[number, number]} arg
|
|
3337
3268
|
* @param {Callback<PalletNftsItemConfig | undefined> =} callback
|
|
3338
3269
|
**/
|
|
3339
|
-
itemConfigOf: GenericStorageQuery<
|
|
3340
|
-
Rv,
|
|
3341
|
-
(arg: [number, number]) => PalletNftsItemConfig | undefined,
|
|
3342
|
-
[number, number]
|
|
3343
|
-
>;
|
|
3270
|
+
itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
|
|
3344
3271
|
|
|
3345
3272
|
/**
|
|
3346
3273
|
* Generic pallet storage query
|
|
3347
3274
|
**/
|
|
3348
|
-
[storage: string]: GenericStorageQuery
|
|
3275
|
+
[storage: string]: GenericStorageQuery;
|
|
3349
3276
|
};
|
|
3350
3277
|
/**
|
|
3351
3278
|
* Pallet `NftFractionalization`'s storage queries
|
|
@@ -3358,7 +3285,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3358
3285
|
* @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
|
|
3359
3286
|
**/
|
|
3360
3287
|
nftToAsset: GenericStorageQuery<
|
|
3361
|
-
Rv,
|
|
3362
3288
|
(arg: [number, number]) => PalletNftFractionalizationDetails | undefined,
|
|
3363
3289
|
[number, number]
|
|
3364
3290
|
>;
|
|
@@ -3366,7 +3292,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3366
3292
|
/**
|
|
3367
3293
|
* Generic pallet storage query
|
|
3368
3294
|
**/
|
|
3369
|
-
[storage: string]: GenericStorageQuery
|
|
3295
|
+
[storage: string]: GenericStorageQuery;
|
|
3370
3296
|
};
|
|
3371
3297
|
/**
|
|
3372
3298
|
* Pallet `Salary`'s storage queries
|
|
@@ -3377,7 +3303,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3377
3303
|
*
|
|
3378
3304
|
* @param {Callback<PalletSalaryStatusType | undefined> =} callback
|
|
3379
3305
|
**/
|
|
3380
|
-
status: GenericStorageQuery<
|
|
3306
|
+
status: GenericStorageQuery<() => PalletSalaryStatusType | undefined>;
|
|
3381
3307
|
|
|
3382
3308
|
/**
|
|
3383
3309
|
* The status of a claimant.
|
|
@@ -3385,12 +3311,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3385
3311
|
* @param {AccountId32Like} arg
|
|
3386
3312
|
* @param {Callback<PalletSalaryClaimantStatus | undefined> =} callback
|
|
3387
3313
|
**/
|
|
3388
|
-
claimant: GenericStorageQuery<
|
|
3314
|
+
claimant: GenericStorageQuery<(arg: AccountId32Like) => PalletSalaryClaimantStatus | undefined, AccountId32>;
|
|
3389
3315
|
|
|
3390
3316
|
/**
|
|
3391
3317
|
* Generic pallet storage query
|
|
3392
3318
|
**/
|
|
3393
|
-
[storage: string]: GenericStorageQuery
|
|
3319
|
+
[storage: string]: GenericStorageQuery;
|
|
3394
3320
|
};
|
|
3395
3321
|
/**
|
|
3396
3322
|
* Pallet `CoreFellowship`'s storage queries
|
|
@@ -3401,7 +3327,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3401
3327
|
*
|
|
3402
3328
|
* @param {Callback<PalletCoreFellowshipParamsType> =} callback
|
|
3403
3329
|
**/
|
|
3404
|
-
params: GenericStorageQuery<
|
|
3330
|
+
params: GenericStorageQuery<() => PalletCoreFellowshipParamsType>;
|
|
3405
3331
|
|
|
3406
3332
|
/**
|
|
3407
3333
|
* The status of a claimant.
|
|
@@ -3409,11 +3335,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3409
3335
|
* @param {AccountId32Like} arg
|
|
3410
3336
|
* @param {Callback<PalletCoreFellowshipMemberStatus | undefined> =} callback
|
|
3411
3337
|
**/
|
|
3412
|
-
member: GenericStorageQuery<
|
|
3413
|
-
Rv,
|
|
3414
|
-
(arg: AccountId32Like) => PalletCoreFellowshipMemberStatus | undefined,
|
|
3415
|
-
AccountId32
|
|
3416
|
-
>;
|
|
3338
|
+
member: GenericStorageQuery<(arg: AccountId32Like) => PalletCoreFellowshipMemberStatus | undefined, AccountId32>;
|
|
3417
3339
|
|
|
3418
3340
|
/**
|
|
3419
3341
|
* Some evidence together with the desired outcome for which it was presented.
|
|
@@ -3422,7 +3344,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3422
3344
|
* @param {Callback<[PalletCoreFellowshipWish, Bytes] | undefined> =} callback
|
|
3423
3345
|
**/
|
|
3424
3346
|
memberEvidence: GenericStorageQuery<
|
|
3425
|
-
Rv,
|
|
3426
3347
|
(arg: AccountId32Like) => [PalletCoreFellowshipWish, Bytes] | undefined,
|
|
3427
3348
|
AccountId32
|
|
3428
3349
|
>;
|
|
@@ -3430,7 +3351,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3430
3351
|
/**
|
|
3431
3352
|
* Generic pallet storage query
|
|
3432
3353
|
**/
|
|
3433
|
-
[storage: string]: GenericStorageQuery
|
|
3354
|
+
[storage: string]: GenericStorageQuery;
|
|
3434
3355
|
};
|
|
3435
3356
|
/**
|
|
3436
3357
|
* Pallet `TransactionStorage`'s storage queries
|
|
@@ -3443,7 +3364,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3443
3364
|
* @param {Callback<Array<PalletTransactionStorageTransactionInfo> | undefined> =} callback
|
|
3444
3365
|
**/
|
|
3445
3366
|
transactions: GenericStorageQuery<
|
|
3446
|
-
Rv,
|
|
3447
3367
|
(arg: number) => Array<PalletTransactionStorageTransactionInfo> | undefined,
|
|
3448
3368
|
number
|
|
3449
3369
|
>;
|
|
@@ -3454,21 +3374,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3454
3374
|
* @param {number} arg
|
|
3455
3375
|
* @param {Callback<number> =} callback
|
|
3456
3376
|
**/
|
|
3457
|
-
chunkCount: GenericStorageQuery<
|
|
3377
|
+
chunkCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
3458
3378
|
|
|
3459
3379
|
/**
|
|
3460
3380
|
* Storage fee per byte.
|
|
3461
3381
|
*
|
|
3462
3382
|
* @param {Callback<bigint | undefined> =} callback
|
|
3463
3383
|
**/
|
|
3464
|
-
byteFee: GenericStorageQuery<
|
|
3384
|
+
byteFee: GenericStorageQuery<() => bigint | undefined>;
|
|
3465
3385
|
|
|
3466
3386
|
/**
|
|
3467
3387
|
* Storage fee per transaction.
|
|
3468
3388
|
*
|
|
3469
3389
|
* @param {Callback<bigint | undefined> =} callback
|
|
3470
3390
|
**/
|
|
3471
|
-
entryFee: GenericStorageQuery<
|
|
3391
|
+
entryFee: GenericStorageQuery<() => bigint | undefined>;
|
|
3472
3392
|
|
|
3473
3393
|
/**
|
|
3474
3394
|
* Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`
|
|
@@ -3476,25 +3396,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3476
3396
|
*
|
|
3477
3397
|
* @param {Callback<number> =} callback
|
|
3478
3398
|
**/
|
|
3479
|
-
storagePeriod: GenericStorageQuery<
|
|
3399
|
+
storagePeriod: GenericStorageQuery<() => number>;
|
|
3480
3400
|
|
|
3481
3401
|
/**
|
|
3482
3402
|
*
|
|
3483
3403
|
* @param {Callback<Array<PalletTransactionStorageTransactionInfo>> =} callback
|
|
3484
3404
|
**/
|
|
3485
|
-
blockTransactions: GenericStorageQuery<
|
|
3405
|
+
blockTransactions: GenericStorageQuery<() => Array<PalletTransactionStorageTransactionInfo>>;
|
|
3486
3406
|
|
|
3487
3407
|
/**
|
|
3488
3408
|
* Was the proof checked in this block?
|
|
3489
3409
|
*
|
|
3490
3410
|
* @param {Callback<boolean> =} callback
|
|
3491
3411
|
**/
|
|
3492
|
-
proofChecked: GenericStorageQuery<
|
|
3412
|
+
proofChecked: GenericStorageQuery<() => boolean>;
|
|
3493
3413
|
|
|
3494
3414
|
/**
|
|
3495
3415
|
* Generic pallet storage query
|
|
3496
3416
|
**/
|
|
3497
|
-
[storage: string]: GenericStorageQuery
|
|
3417
|
+
[storage: string]: GenericStorageQuery;
|
|
3498
3418
|
};
|
|
3499
3419
|
/**
|
|
3500
3420
|
* Pallet `VoterList`'s storage queries
|
|
@@ -3508,14 +3428,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3508
3428
|
* @param {AccountId32Like} arg
|
|
3509
3429
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
3510
3430
|
**/
|
|
3511
|
-
listNodes: GenericStorageQuery<
|
|
3431
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
3512
3432
|
|
|
3513
3433
|
/**
|
|
3514
3434
|
* Counter for the related counted storage map
|
|
3515
3435
|
*
|
|
3516
3436
|
* @param {Callback<number> =} callback
|
|
3517
3437
|
**/
|
|
3518
|
-
counterForListNodes: GenericStorageQuery<
|
|
3438
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
3519
3439
|
|
|
3520
3440
|
/**
|
|
3521
3441
|
* A bag stored in storage.
|
|
@@ -3525,12 +3445,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3525
3445
|
* @param {bigint} arg
|
|
3526
3446
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
3527
3447
|
**/
|
|
3528
|
-
listBags: GenericStorageQuery<
|
|
3448
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
3529
3449
|
|
|
3530
3450
|
/**
|
|
3531
3451
|
* Generic pallet storage query
|
|
3532
3452
|
**/
|
|
3533
|
-
[storage: string]: GenericStorageQuery
|
|
3453
|
+
[storage: string]: GenericStorageQuery;
|
|
3534
3454
|
};
|
|
3535
3455
|
/**
|
|
3536
3456
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -3544,7 +3464,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3544
3464
|
*
|
|
3545
3465
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
3546
3466
|
**/
|
|
3547
|
-
migrationProcess: GenericStorageQuery<
|
|
3467
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
3548
3468
|
|
|
3549
3469
|
/**
|
|
3550
3470
|
* The limits that are imposed on automatic migrations.
|
|
@@ -3553,7 +3473,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3553
3473
|
*
|
|
3554
3474
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
3555
3475
|
**/
|
|
3556
|
-
autoLimits: GenericStorageQuery<
|
|
3476
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
3557
3477
|
|
|
3558
3478
|
/**
|
|
3559
3479
|
* The maximum limits that the signed migration could use.
|
|
@@ -3562,12 +3482,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3562
3482
|
*
|
|
3563
3483
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
3564
3484
|
**/
|
|
3565
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
3485
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
3566
3486
|
|
|
3567
3487
|
/**
|
|
3568
3488
|
* Generic pallet storage query
|
|
3569
3489
|
**/
|
|
3570
|
-
[storage: string]: GenericStorageQuery
|
|
3490
|
+
[storage: string]: GenericStorageQuery;
|
|
3571
3491
|
};
|
|
3572
3492
|
/**
|
|
3573
3493
|
* Pallet `ChildBounties`'s storage queries
|
|
@@ -3579,7 +3499,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3579
3499
|
*
|
|
3580
3500
|
* @param {Callback<number> =} callback
|
|
3581
3501
|
**/
|
|
3582
|
-
childBountyCount: GenericStorageQuery<
|
|
3502
|
+
childBountyCount: GenericStorageQuery<() => number>;
|
|
3583
3503
|
|
|
3584
3504
|
/**
|
|
3585
3505
|
* Number of active child bounties per parent bounty.
|
|
@@ -3588,7 +3508,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3588
3508
|
* @param {number} arg
|
|
3589
3509
|
* @param {Callback<number> =} callback
|
|
3590
3510
|
**/
|
|
3591
|
-
parentChildBounties: GenericStorageQuery<
|
|
3511
|
+
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
3592
3512
|
|
|
3593
3513
|
/**
|
|
3594
3514
|
* Number of total child bounties per parent bounty, including completed bounties.
|
|
@@ -3596,7 +3516,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3596
3516
|
* @param {number} arg
|
|
3597
3517
|
* @param {Callback<number> =} callback
|
|
3598
3518
|
**/
|
|
3599
|
-
parentTotalChildBounties: GenericStorageQuery<
|
|
3519
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
3600
3520
|
|
|
3601
3521
|
/**
|
|
3602
3522
|
* Child bounties that have been added.
|
|
@@ -3605,7 +3525,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3605
3525
|
* @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
|
|
3606
3526
|
**/
|
|
3607
3527
|
childBounties: GenericStorageQuery<
|
|
3608
|
-
Rv,
|
|
3609
3528
|
(arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
|
|
3610
3529
|
[number, number]
|
|
3611
3530
|
>;
|
|
@@ -3618,7 +3537,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3618
3537
|
* @param {[number, number]} arg
|
|
3619
3538
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3620
3539
|
**/
|
|
3621
|
-
childBountyDescriptionsV1: GenericStorageQuery<
|
|
3540
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
3622
3541
|
|
|
3623
3542
|
/**
|
|
3624
3543
|
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
@@ -3630,7 +3549,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3630
3549
|
* @param {number} arg
|
|
3631
3550
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
3632
3551
|
**/
|
|
3633
|
-
v0ToV1ChildBountyIds: GenericStorageQuery<
|
|
3552
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
3634
3553
|
|
|
3635
3554
|
/**
|
|
3636
3555
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -3638,12 +3557,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3638
3557
|
* @param {number} arg
|
|
3639
3558
|
* @param {Callback<bigint> =} callback
|
|
3640
3559
|
**/
|
|
3641
|
-
childrenCuratorFees: GenericStorageQuery<
|
|
3560
|
+
childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
3642
3561
|
|
|
3643
3562
|
/**
|
|
3644
3563
|
* Generic pallet storage query
|
|
3645
3564
|
**/
|
|
3646
|
-
[storage: string]: GenericStorageQuery
|
|
3565
|
+
[storage: string]: GenericStorageQuery;
|
|
3647
3566
|
};
|
|
3648
3567
|
/**
|
|
3649
3568
|
* Pallet `Referenda`'s storage queries
|
|
@@ -3654,7 +3573,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3654
3573
|
*
|
|
3655
3574
|
* @param {Callback<number> =} callback
|
|
3656
3575
|
**/
|
|
3657
|
-
referendumCount: GenericStorageQuery<
|
|
3576
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
3658
3577
|
|
|
3659
3578
|
/**
|
|
3660
3579
|
* Information concerning any given referendum.
|
|
@@ -3662,7 +3581,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3662
3581
|
* @param {number} arg
|
|
3663
3582
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
3664
3583
|
**/
|
|
3665
|
-
referendumInfoFor: GenericStorageQuery<
|
|
3584
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
3666
3585
|
|
|
3667
3586
|
/**
|
|
3668
3587
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -3673,7 +3592,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3673
3592
|
* @param {number} arg
|
|
3674
3593
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3675
3594
|
**/
|
|
3676
|
-
trackQueue: GenericStorageQuery<
|
|
3595
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
3677
3596
|
|
|
3678
3597
|
/**
|
|
3679
3598
|
* The number of referenda being decided currently.
|
|
@@ -3681,7 +3600,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3681
3600
|
* @param {number} arg
|
|
3682
3601
|
* @param {Callback<number> =} callback
|
|
3683
3602
|
**/
|
|
3684
|
-
decidingCount: GenericStorageQuery<
|
|
3603
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
3685
3604
|
|
|
3686
3605
|
/**
|
|
3687
3606
|
* The metadata is a general information concerning the referendum.
|
|
@@ -3694,12 +3613,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3694
3613
|
* @param {number} arg
|
|
3695
3614
|
* @param {Callback<H256 | undefined> =} callback
|
|
3696
3615
|
**/
|
|
3697
|
-
metadataOf: GenericStorageQuery<
|
|
3616
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3698
3617
|
|
|
3699
3618
|
/**
|
|
3700
3619
|
* Generic pallet storage query
|
|
3701
3620
|
**/
|
|
3702
|
-
[storage: string]: GenericStorageQuery
|
|
3621
|
+
[storage: string]: GenericStorageQuery;
|
|
3703
3622
|
};
|
|
3704
3623
|
/**
|
|
3705
3624
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -3713,7 +3632,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3713
3632
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
3714
3633
|
**/
|
|
3715
3634
|
votingFor: GenericStorageQuery<
|
|
3716
|
-
Rv,
|
|
3717
3635
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
3718
3636
|
[AccountId32, number]
|
|
3719
3637
|
>;
|
|
@@ -3726,12 +3644,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3726
3644
|
* @param {AccountId32Like} arg
|
|
3727
3645
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3728
3646
|
**/
|
|
3729
|
-
classLocksFor: GenericStorageQuery<
|
|
3647
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
3730
3648
|
|
|
3731
3649
|
/**
|
|
3732
3650
|
* Generic pallet storage query
|
|
3733
3651
|
**/
|
|
3734
|
-
[storage: string]: GenericStorageQuery
|
|
3652
|
+
[storage: string]: GenericStorageQuery;
|
|
3735
3653
|
};
|
|
3736
3654
|
/**
|
|
3737
3655
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -3742,12 +3660,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3742
3660
|
* @param {H256} arg
|
|
3743
3661
|
* @param {Callback<[] | undefined> =} callback
|
|
3744
3662
|
**/
|
|
3745
|
-
whitelistedCall: GenericStorageQuery<
|
|
3663
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
3746
3664
|
|
|
3747
3665
|
/**
|
|
3748
3666
|
* Generic pallet storage query
|
|
3749
3667
|
**/
|
|
3750
|
-
[storage: string]: GenericStorageQuery
|
|
3668
|
+
[storage: string]: GenericStorageQuery;
|
|
3751
3669
|
};
|
|
3752
3670
|
/**
|
|
3753
3671
|
* Pallet `AllianceMotion`'s storage queries
|
|
@@ -3758,7 +3676,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3758
3676
|
*
|
|
3759
3677
|
* @param {Callback<Array<H256>> =} callback
|
|
3760
3678
|
**/
|
|
3761
|
-
proposals: GenericStorageQuery<
|
|
3679
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
3762
3680
|
|
|
3763
3681
|
/**
|
|
3764
3682
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -3766,7 +3684,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3766
3684
|
* @param {H256} arg
|
|
3767
3685
|
* @param {Callback<KitchensinkRuntimeRuntimeCall | undefined> =} callback
|
|
3768
3686
|
**/
|
|
3769
|
-
proposalOf: GenericStorageQuery<
|
|
3687
|
+
proposalOf: GenericStorageQuery<(arg: H256) => KitchensinkRuntimeRuntimeCall | undefined, H256>;
|
|
3770
3688
|
|
|
3771
3689
|
/**
|
|
3772
3690
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -3777,7 +3695,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3777
3695
|
* @param {H256} arg
|
|
3778
3696
|
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
3779
3697
|
**/
|
|
3780
|
-
costOf: GenericStorageQuery<
|
|
3698
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
3781
3699
|
|
|
3782
3700
|
/**
|
|
3783
3701
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -3785,33 +3703,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3785
3703
|
* @param {H256} arg
|
|
3786
3704
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
3787
3705
|
**/
|
|
3788
|
-
voting: GenericStorageQuery<
|
|
3706
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
3789
3707
|
|
|
3790
3708
|
/**
|
|
3791
3709
|
* Proposals so far.
|
|
3792
3710
|
*
|
|
3793
3711
|
* @param {Callback<number> =} callback
|
|
3794
3712
|
**/
|
|
3795
|
-
proposalCount: GenericStorageQuery<
|
|
3713
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
3796
3714
|
|
|
3797
3715
|
/**
|
|
3798
3716
|
* The current members of the collective. This is stored sorted (just by value).
|
|
3799
3717
|
*
|
|
3800
3718
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3801
3719
|
**/
|
|
3802
|
-
members: GenericStorageQuery<
|
|
3720
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3803
3721
|
|
|
3804
3722
|
/**
|
|
3805
3723
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
3806
3724
|
*
|
|
3807
3725
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3808
3726
|
**/
|
|
3809
|
-
prime: GenericStorageQuery<
|
|
3727
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3810
3728
|
|
|
3811
3729
|
/**
|
|
3812
3730
|
* Generic pallet storage query
|
|
3813
3731
|
**/
|
|
3814
|
-
[storage: string]: GenericStorageQuery
|
|
3732
|
+
[storage: string]: GenericStorageQuery;
|
|
3815
3733
|
};
|
|
3816
3734
|
/**
|
|
3817
3735
|
* Pallet `Alliance`'s storage queries
|
|
@@ -3823,14 +3741,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3823
3741
|
*
|
|
3824
3742
|
* @param {Callback<PalletAllianceCid | undefined> =} callback
|
|
3825
3743
|
**/
|
|
3826
|
-
rule: GenericStorageQuery<
|
|
3744
|
+
rule: GenericStorageQuery<() => PalletAllianceCid | undefined>;
|
|
3827
3745
|
|
|
3828
3746
|
/**
|
|
3829
3747
|
* The current IPFS CIDs of any announcements.
|
|
3830
3748
|
*
|
|
3831
3749
|
* @param {Callback<Array<PalletAllianceCid>> =} callback
|
|
3832
3750
|
**/
|
|
3833
|
-
announcements: GenericStorageQuery<
|
|
3751
|
+
announcements: GenericStorageQuery<() => Array<PalletAllianceCid>>;
|
|
3834
3752
|
|
|
3835
3753
|
/**
|
|
3836
3754
|
* Maps members to their candidacy deposit.
|
|
@@ -3838,7 +3756,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3838
3756
|
* @param {AccountId32Like} arg
|
|
3839
3757
|
* @param {Callback<bigint | undefined> =} callback
|
|
3840
3758
|
**/
|
|
3841
|
-
depositOf: GenericStorageQuery<
|
|
3759
|
+
depositOf: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
3842
3760
|
|
|
3843
3761
|
/**
|
|
3844
3762
|
* Maps member type to members of each type.
|
|
@@ -3846,7 +3764,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3846
3764
|
* @param {PalletAllianceMemberRole} arg
|
|
3847
3765
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3848
3766
|
**/
|
|
3849
|
-
members: GenericStorageQuery<
|
|
3767
|
+
members: GenericStorageQuery<(arg: PalletAllianceMemberRole) => Array<AccountId32>, PalletAllianceMemberRole>;
|
|
3850
3768
|
|
|
3851
3769
|
/**
|
|
3852
3770
|
* A set of members who gave a retirement notice. They can retire after the end of retirement
|
|
@@ -3855,7 +3773,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3855
3773
|
* @param {AccountId32Like} arg
|
|
3856
3774
|
* @param {Callback<number | undefined> =} callback
|
|
3857
3775
|
**/
|
|
3858
|
-
retiringMembers: GenericStorageQuery<
|
|
3776
|
+
retiringMembers: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
3859
3777
|
|
|
3860
3778
|
/**
|
|
3861
3779
|
* The current list of accounts deemed unscrupulous. These accounts non grata cannot submit
|
|
@@ -3863,19 +3781,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3863
3781
|
*
|
|
3864
3782
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3865
3783
|
**/
|
|
3866
|
-
unscrupulousAccounts: GenericStorageQuery<
|
|
3784
|
+
unscrupulousAccounts: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3867
3785
|
|
|
3868
3786
|
/**
|
|
3869
3787
|
* The current list of websites deemed unscrupulous.
|
|
3870
3788
|
*
|
|
3871
3789
|
* @param {Callback<Array<Bytes>> =} callback
|
|
3872
3790
|
**/
|
|
3873
|
-
unscrupulousWebsites: GenericStorageQuery<
|
|
3791
|
+
unscrupulousWebsites: GenericStorageQuery<() => Array<Bytes>>;
|
|
3874
3792
|
|
|
3875
3793
|
/**
|
|
3876
3794
|
* Generic pallet storage query
|
|
3877
3795
|
**/
|
|
3878
|
-
[storage: string]: GenericStorageQuery
|
|
3796
|
+
[storage: string]: GenericStorageQuery;
|
|
3879
3797
|
};
|
|
3880
3798
|
/**
|
|
3881
3799
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -3890,14 +3808,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3890
3808
|
*
|
|
3891
3809
|
* @param {Callback<bigint> =} callback
|
|
3892
3810
|
**/
|
|
3893
|
-
totalValueLocked: GenericStorageQuery<
|
|
3811
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
3894
3812
|
|
|
3895
3813
|
/**
|
|
3896
3814
|
* Minimum amount to bond to join a pool.
|
|
3897
3815
|
*
|
|
3898
3816
|
* @param {Callback<bigint> =} callback
|
|
3899
3817
|
**/
|
|
3900
|
-
minJoinBond: GenericStorageQuery<
|
|
3818
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
3901
3819
|
|
|
3902
3820
|
/**
|
|
3903
3821
|
* Minimum bond required to create a pool.
|
|
@@ -3910,7 +3828,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3910
3828
|
*
|
|
3911
3829
|
* @param {Callback<bigint> =} callback
|
|
3912
3830
|
**/
|
|
3913
|
-
minCreateBond: GenericStorageQuery<
|
|
3831
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
3914
3832
|
|
|
3915
3833
|
/**
|
|
3916
3834
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -3918,7 +3836,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3918
3836
|
*
|
|
3919
3837
|
* @param {Callback<number | undefined> =} callback
|
|
3920
3838
|
**/
|
|
3921
|
-
maxPools: GenericStorageQuery<
|
|
3839
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
3922
3840
|
|
|
3923
3841
|
/**
|
|
3924
3842
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -3926,7 +3844,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3926
3844
|
*
|
|
3927
3845
|
* @param {Callback<number | undefined> =} callback
|
|
3928
3846
|
**/
|
|
3929
|
-
maxPoolMembers: GenericStorageQuery<
|
|
3847
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
3930
3848
|
|
|
3931
3849
|
/**
|
|
3932
3850
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -3934,7 +3852,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3934
3852
|
*
|
|
3935
3853
|
* @param {Callback<number | undefined> =} callback
|
|
3936
3854
|
**/
|
|
3937
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
3855
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
3938
3856
|
|
|
3939
3857
|
/**
|
|
3940
3858
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -3943,7 +3861,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3943
3861
|
*
|
|
3944
3862
|
* @param {Callback<Perbill | undefined> =} callback
|
|
3945
3863
|
**/
|
|
3946
|
-
globalMaxCommission: GenericStorageQuery<
|
|
3864
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
3947
3865
|
|
|
3948
3866
|
/**
|
|
3949
3867
|
* Active members.
|
|
@@ -3954,7 +3872,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3954
3872
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
3955
3873
|
**/
|
|
3956
3874
|
poolMembers: GenericStorageQuery<
|
|
3957
|
-
Rv,
|
|
3958
3875
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
3959
3876
|
AccountId32
|
|
3960
3877
|
>;
|
|
@@ -3964,7 +3881,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3964
3881
|
*
|
|
3965
3882
|
* @param {Callback<number> =} callback
|
|
3966
3883
|
**/
|
|
3967
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
3884
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
3968
3885
|
|
|
3969
3886
|
/**
|
|
3970
3887
|
* Storage for bonded pools.
|
|
@@ -3972,14 +3889,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3972
3889
|
* @param {number} arg
|
|
3973
3890
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
3974
3891
|
**/
|
|
3975
|
-
bondedPools: GenericStorageQuery<
|
|
3892
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
3976
3893
|
|
|
3977
3894
|
/**
|
|
3978
3895
|
* Counter for the related counted storage map
|
|
3979
3896
|
*
|
|
3980
3897
|
* @param {Callback<number> =} callback
|
|
3981
3898
|
**/
|
|
3982
|
-
counterForBondedPools: GenericStorageQuery<
|
|
3899
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
3983
3900
|
|
|
3984
3901
|
/**
|
|
3985
3902
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -3988,14 +3905,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3988
3905
|
* @param {number} arg
|
|
3989
3906
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
3990
3907
|
**/
|
|
3991
|
-
rewardPools: GenericStorageQuery<
|
|
3908
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
3992
3909
|
|
|
3993
3910
|
/**
|
|
3994
3911
|
* Counter for the related counted storage map
|
|
3995
3912
|
*
|
|
3996
3913
|
* @param {Callback<number> =} callback
|
|
3997
3914
|
**/
|
|
3998
|
-
counterForRewardPools: GenericStorageQuery<
|
|
3915
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
3999
3916
|
|
|
4000
3917
|
/**
|
|
4001
3918
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -4004,14 +3921,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4004
3921
|
* @param {number} arg
|
|
4005
3922
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
4006
3923
|
**/
|
|
4007
|
-
subPoolsStorage: GenericStorageQuery<
|
|
3924
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
4008
3925
|
|
|
4009
3926
|
/**
|
|
4010
3927
|
* Counter for the related counted storage map
|
|
4011
3928
|
*
|
|
4012
3929
|
* @param {Callback<number> =} callback
|
|
4013
3930
|
**/
|
|
4014
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
3931
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
4015
3932
|
|
|
4016
3933
|
/**
|
|
4017
3934
|
* Metadata for the pool.
|
|
@@ -4019,21 +3936,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4019
3936
|
* @param {number} arg
|
|
4020
3937
|
* @param {Callback<Bytes> =} callback
|
|
4021
3938
|
**/
|
|
4022
|
-
metadata: GenericStorageQuery<
|
|
3939
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
4023
3940
|
|
|
4024
3941
|
/**
|
|
4025
3942
|
* Counter for the related counted storage map
|
|
4026
3943
|
*
|
|
4027
3944
|
* @param {Callback<number> =} callback
|
|
4028
3945
|
**/
|
|
4029
|
-
counterForMetadata: GenericStorageQuery<
|
|
3946
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
4030
3947
|
|
|
4031
3948
|
/**
|
|
4032
3949
|
* Ever increasing number of all pools created so far.
|
|
4033
3950
|
*
|
|
4034
3951
|
* @param {Callback<number> =} callback
|
|
4035
3952
|
**/
|
|
4036
|
-
lastPoolId: GenericStorageQuery<
|
|
3953
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
4037
3954
|
|
|
4038
3955
|
/**
|
|
4039
3956
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -4044,14 +3961,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4044
3961
|
* @param {AccountId32Like} arg
|
|
4045
3962
|
* @param {Callback<number | undefined> =} callback
|
|
4046
3963
|
**/
|
|
4047
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
3964
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
4048
3965
|
|
|
4049
3966
|
/**
|
|
4050
3967
|
* Counter for the related counted storage map
|
|
4051
3968
|
*
|
|
4052
3969
|
* @param {Callback<number> =} callback
|
|
4053
3970
|
**/
|
|
4054
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
3971
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
4055
3972
|
|
|
4056
3973
|
/**
|
|
4057
3974
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -4059,16 +3976,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4059
3976
|
* @param {AccountId32Like} arg
|
|
4060
3977
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
4061
3978
|
**/
|
|
4062
|
-
claimPermissions: GenericStorageQuery<
|
|
4063
|
-
Rv,
|
|
4064
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
4065
|
-
AccountId32
|
|
4066
|
-
>;
|
|
3979
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
4067
3980
|
|
|
4068
3981
|
/**
|
|
4069
3982
|
* Generic pallet storage query
|
|
4070
3983
|
**/
|
|
4071
|
-
[storage: string]: GenericStorageQuery
|
|
3984
|
+
[storage: string]: GenericStorageQuery;
|
|
4072
3985
|
};
|
|
4073
3986
|
/**
|
|
4074
3987
|
* Pallet `RankedPolls`'s storage queries
|
|
@@ -4079,7 +3992,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4079
3992
|
*
|
|
4080
3993
|
* @param {Callback<number> =} callback
|
|
4081
3994
|
**/
|
|
4082
|
-
referendumCount: GenericStorageQuery<
|
|
3995
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
4083
3996
|
|
|
4084
3997
|
/**
|
|
4085
3998
|
* Information concerning any given referendum.
|
|
@@ -4087,7 +4000,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4087
4000
|
* @param {number} arg
|
|
4088
4001
|
* @param {Callback<PalletReferendaReferendumInfoTally | undefined> =} callback
|
|
4089
4002
|
**/
|
|
4090
|
-
referendumInfoFor: GenericStorageQuery<
|
|
4003
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfoTally | undefined, number>;
|
|
4091
4004
|
|
|
4092
4005
|
/**
|
|
4093
4006
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -4098,7 +4011,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4098
4011
|
* @param {number} arg
|
|
4099
4012
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
4100
4013
|
**/
|
|
4101
|
-
trackQueue: GenericStorageQuery<
|
|
4014
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, number]>, number>;
|
|
4102
4015
|
|
|
4103
4016
|
/**
|
|
4104
4017
|
* The number of referenda being decided currently.
|
|
@@ -4106,7 +4019,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4106
4019
|
* @param {number} arg
|
|
4107
4020
|
* @param {Callback<number> =} callback
|
|
4108
4021
|
**/
|
|
4109
|
-
decidingCount: GenericStorageQuery<
|
|
4022
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
4110
4023
|
|
|
4111
4024
|
/**
|
|
4112
4025
|
* The metadata is a general information concerning the referendum.
|
|
@@ -4119,12 +4032,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4119
4032
|
* @param {number} arg
|
|
4120
4033
|
* @param {Callback<H256 | undefined> =} callback
|
|
4121
4034
|
**/
|
|
4122
|
-
metadataOf: GenericStorageQuery<
|
|
4035
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
4123
4036
|
|
|
4124
4037
|
/**
|
|
4125
4038
|
* Generic pallet storage query
|
|
4126
4039
|
**/
|
|
4127
|
-
[storage: string]: GenericStorageQuery
|
|
4040
|
+
[storage: string]: GenericStorageQuery;
|
|
4128
4041
|
};
|
|
4129
4042
|
/**
|
|
4130
4043
|
* Pallet `RankedCollective`'s storage queries
|
|
@@ -4137,7 +4050,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4137
4050
|
* @param {number} arg
|
|
4138
4051
|
* @param {Callback<number> =} callback
|
|
4139
4052
|
**/
|
|
4140
|
-
memberCount: GenericStorageQuery<
|
|
4053
|
+
memberCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
4141
4054
|
|
|
4142
4055
|
/**
|
|
4143
4056
|
* The current members of the collective.
|
|
@@ -4145,11 +4058,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4145
4058
|
* @param {AccountId32Like} arg
|
|
4146
4059
|
* @param {Callback<PalletRankedCollectiveMemberRecord | undefined> =} callback
|
|
4147
4060
|
**/
|
|
4148
|
-
members: GenericStorageQuery<
|
|
4149
|
-
Rv,
|
|
4150
|
-
(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined,
|
|
4151
|
-
AccountId32
|
|
4152
|
-
>;
|
|
4061
|
+
members: GenericStorageQuery<(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined, AccountId32>;
|
|
4153
4062
|
|
|
4154
4063
|
/**
|
|
4155
4064
|
* The index of each ranks's member into the group of members who have at least that rank.
|
|
@@ -4157,7 +4066,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4157
4066
|
* @param {[number, AccountId32Like]} arg
|
|
4158
4067
|
* @param {Callback<number | undefined> =} callback
|
|
4159
4068
|
**/
|
|
4160
|
-
idToIndex: GenericStorageQuery<
|
|
4069
|
+
idToIndex: GenericStorageQuery<(arg: [number, AccountId32Like]) => number | undefined, [number, AccountId32]>;
|
|
4161
4070
|
|
|
4162
4071
|
/**
|
|
4163
4072
|
* The members in the collective by index. All indices in the range `0..MemberCount` will
|
|
@@ -4166,7 +4075,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4166
4075
|
* @param {[number, number]} arg
|
|
4167
4076
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4168
4077
|
**/
|
|
4169
|
-
indexToId: GenericStorageQuery<
|
|
4078
|
+
indexToId: GenericStorageQuery<(arg: [number, number]) => AccountId32 | undefined, [number, number]>;
|
|
4170
4079
|
|
|
4171
4080
|
/**
|
|
4172
4081
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -4175,7 +4084,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4175
4084
|
* @param {Callback<PalletRankedCollectiveVoteRecord | undefined> =} callback
|
|
4176
4085
|
**/
|
|
4177
4086
|
voting: GenericStorageQuery<
|
|
4178
|
-
Rv,
|
|
4179
4087
|
(arg: [number, AccountId32Like]) => PalletRankedCollectiveVoteRecord | undefined,
|
|
4180
4088
|
[number, AccountId32]
|
|
4181
4089
|
>;
|
|
@@ -4185,12 +4093,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4185
4093
|
* @param {number} arg
|
|
4186
4094
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4187
4095
|
**/
|
|
4188
|
-
votingCleanup: GenericStorageQuery<
|
|
4096
|
+
votingCleanup: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
4189
4097
|
|
|
4190
4098
|
/**
|
|
4191
4099
|
* Generic pallet storage query
|
|
4192
4100
|
**/
|
|
4193
|
-
[storage: string]: GenericStorageQuery
|
|
4101
|
+
[storage: string]: GenericStorageQuery;
|
|
4194
4102
|
};
|
|
4195
4103
|
/**
|
|
4196
4104
|
* Pallet `AssetConversion`'s storage queries
|
|
@@ -4204,7 +4112,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4204
4112
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
4205
4113
|
**/
|
|
4206
4114
|
pools: GenericStorageQuery<
|
|
4207
|
-
Rv,
|
|
4208
4115
|
(
|
|
4209
4116
|
arg: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId],
|
|
4210
4117
|
) => PalletAssetConversionPoolInfo | undefined,
|
|
@@ -4217,12 +4124,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4217
4124
|
*
|
|
4218
4125
|
* @param {Callback<number | undefined> =} callback
|
|
4219
4126
|
**/
|
|
4220
|
-
nextPoolAssetId: GenericStorageQuery<
|
|
4127
|
+
nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
|
|
4221
4128
|
|
|
4222
4129
|
/**
|
|
4223
4130
|
* Generic pallet storage query
|
|
4224
4131
|
**/
|
|
4225
|
-
[storage: string]: GenericStorageQuery
|
|
4132
|
+
[storage: string]: GenericStorageQuery;
|
|
4226
4133
|
};
|
|
4227
4134
|
/**
|
|
4228
4135
|
* Pallet `FastUnstake`'s storage queries
|
|
@@ -4235,7 +4142,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4235
4142
|
*
|
|
4236
4143
|
* @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
|
|
4237
4144
|
**/
|
|
4238
|
-
head: GenericStorageQuery<
|
|
4145
|
+
head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
|
|
4239
4146
|
|
|
4240
4147
|
/**
|
|
4241
4148
|
* The map of all accounts wishing to be unstaked.
|
|
@@ -4245,14 +4152,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4245
4152
|
* @param {AccountId32Like} arg
|
|
4246
4153
|
* @param {Callback<bigint | undefined> =} callback
|
|
4247
4154
|
**/
|
|
4248
|
-
queue: GenericStorageQuery<
|
|
4155
|
+
queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
4249
4156
|
|
|
4250
4157
|
/**
|
|
4251
4158
|
* Counter for the related counted storage map
|
|
4252
4159
|
*
|
|
4253
4160
|
* @param {Callback<number> =} callback
|
|
4254
4161
|
**/
|
|
4255
|
-
counterForQueue: GenericStorageQuery<
|
|
4162
|
+
counterForQueue: GenericStorageQuery<() => number>;
|
|
4256
4163
|
|
|
4257
4164
|
/**
|
|
4258
4165
|
* Number of eras to check per block.
|
|
@@ -4266,12 +4173,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4266
4173
|
*
|
|
4267
4174
|
* @param {Callback<number> =} callback
|
|
4268
4175
|
**/
|
|
4269
|
-
erasToCheckPerBlock: GenericStorageQuery<
|
|
4176
|
+
erasToCheckPerBlock: GenericStorageQuery<() => number>;
|
|
4270
4177
|
|
|
4271
4178
|
/**
|
|
4272
4179
|
* Generic pallet storage query
|
|
4273
4180
|
**/
|
|
4274
|
-
[storage: string]: GenericStorageQuery
|
|
4181
|
+
[storage: string]: GenericStorageQuery;
|
|
4275
4182
|
};
|
|
4276
4183
|
/**
|
|
4277
4184
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -4283,14 +4190,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4283
4190
|
* @param {number} arg
|
|
4284
4191
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
4285
4192
|
**/
|
|
4286
|
-
bookStateFor: GenericStorageQuery<
|
|
4193
|
+
bookStateFor: GenericStorageQuery<(arg: number) => PalletMessageQueueBookState, number>;
|
|
4287
4194
|
|
|
4288
4195
|
/**
|
|
4289
4196
|
* The origin at which we should begin servicing.
|
|
4290
4197
|
*
|
|
4291
4198
|
* @param {Callback<number | undefined> =} callback
|
|
4292
4199
|
**/
|
|
4293
|
-
serviceHead: GenericStorageQuery<
|
|
4200
|
+
serviceHead: GenericStorageQuery<() => number | undefined>;
|
|
4294
4201
|
|
|
4295
4202
|
/**
|
|
4296
4203
|
* The map of page indices to pages.
|
|
@@ -4298,12 +4205,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4298
4205
|
* @param {[number, number]} arg
|
|
4299
4206
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
4300
4207
|
**/
|
|
4301
|
-
pages: GenericStorageQuery<
|
|
4208
|
+
pages: GenericStorageQuery<(arg: [number, number]) => PalletMessageQueuePage | undefined, [number, number]>;
|
|
4302
4209
|
|
|
4303
4210
|
/**
|
|
4304
4211
|
* Generic pallet storage query
|
|
4305
4212
|
**/
|
|
4306
|
-
[storage: string]: GenericStorageQuery
|
|
4213
|
+
[storage: string]: GenericStorageQuery;
|
|
4307
4214
|
};
|
|
4308
4215
|
/**
|
|
4309
4216
|
* Pallet `Pov`'s storage queries
|
|
@@ -4313,40 +4220,40 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4313
4220
|
*
|
|
4314
4221
|
* @param {Callback<number | undefined> =} callback
|
|
4315
4222
|
**/
|
|
4316
|
-
value: GenericStorageQuery<
|
|
4223
|
+
value: GenericStorageQuery<() => number | undefined>;
|
|
4317
4224
|
|
|
4318
4225
|
/**
|
|
4319
4226
|
*
|
|
4320
4227
|
* @param {Callback<number | undefined> =} callback
|
|
4321
4228
|
**/
|
|
4322
|
-
value2: GenericStorageQuery<
|
|
4229
|
+
value2: GenericStorageQuery<() => number | undefined>;
|
|
4323
4230
|
|
|
4324
4231
|
/**
|
|
4325
4232
|
* A value without a MEL bound.
|
|
4326
4233
|
*
|
|
4327
4234
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4328
4235
|
**/
|
|
4329
|
-
unboundedValue: GenericStorageQuery<
|
|
4236
|
+
unboundedValue: GenericStorageQuery<() => Bytes | undefined>;
|
|
4330
4237
|
|
|
4331
4238
|
/**
|
|
4332
4239
|
* A value with a MEL bound of 32 byte.
|
|
4333
4240
|
*
|
|
4334
4241
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4335
4242
|
**/
|
|
4336
|
-
boundedValue: GenericStorageQuery<
|
|
4243
|
+
boundedValue: GenericStorageQuery<() => Bytes | undefined>;
|
|
4337
4244
|
|
|
4338
4245
|
/**
|
|
4339
4246
|
* 4MiB value.
|
|
4340
4247
|
*
|
|
4341
4248
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4342
4249
|
**/
|
|
4343
|
-
largeValue: GenericStorageQuery<
|
|
4250
|
+
largeValue: GenericStorageQuery<() => Bytes | undefined>;
|
|
4344
4251
|
|
|
4345
4252
|
/**
|
|
4346
4253
|
*
|
|
4347
4254
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4348
4255
|
**/
|
|
4349
|
-
largeValue2: GenericStorageQuery<
|
|
4256
|
+
largeValue2: GenericStorageQuery<() => Bytes | undefined>;
|
|
4350
4257
|
|
|
4351
4258
|
/**
|
|
4352
4259
|
* A map with a maximum of 1M entries.
|
|
@@ -4354,7 +4261,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4354
4261
|
* @param {number} arg
|
|
4355
4262
|
* @param {Callback<number | undefined> =} callback
|
|
4356
4263
|
**/
|
|
4357
|
-
map1M: GenericStorageQuery<
|
|
4264
|
+
map1M: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
4358
4265
|
|
|
4359
4266
|
/**
|
|
4360
4267
|
* A map with a maximum of 16M entries.
|
|
@@ -4362,40 +4269,40 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4362
4269
|
* @param {number} arg
|
|
4363
4270
|
* @param {Callback<number | undefined> =} callback
|
|
4364
4271
|
**/
|
|
4365
|
-
map16M: GenericStorageQuery<
|
|
4272
|
+
map16M: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
4366
4273
|
|
|
4367
4274
|
/**
|
|
4368
4275
|
*
|
|
4369
4276
|
* @param {[number, number]} arg
|
|
4370
4277
|
* @param {Callback<number | undefined> =} callback
|
|
4371
4278
|
**/
|
|
4372
|
-
doubleMap1M: GenericStorageQuery<
|
|
4279
|
+
doubleMap1M: GenericStorageQuery<(arg: [number, number]) => number | undefined, [number, number]>;
|
|
4373
4280
|
|
|
4374
4281
|
/**
|
|
4375
4282
|
*
|
|
4376
4283
|
* @param {number} arg
|
|
4377
4284
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
4378
4285
|
**/
|
|
4379
|
-
unboundedMap: GenericStorageQuery<
|
|
4286
|
+
unboundedMap: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
|
|
4380
4287
|
|
|
4381
4288
|
/**
|
|
4382
4289
|
*
|
|
4383
4290
|
* @param {number} arg
|
|
4384
4291
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
4385
4292
|
**/
|
|
4386
|
-
unboundedMap2: GenericStorageQuery<
|
|
4293
|
+
unboundedMap2: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
|
|
4387
4294
|
|
|
4388
4295
|
/**
|
|
4389
4296
|
*
|
|
4390
4297
|
* @param {number} arg
|
|
4391
4298
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
4392
4299
|
**/
|
|
4393
|
-
unboundedMapTwox: GenericStorageQuery<
|
|
4300
|
+
unboundedMapTwox: GenericStorageQuery<(arg: number) => Array<number> | undefined, number>;
|
|
4394
4301
|
|
|
4395
4302
|
/**
|
|
4396
4303
|
* Generic pallet storage query
|
|
4397
4304
|
**/
|
|
4398
|
-
[storage: string]: GenericStorageQuery
|
|
4305
|
+
[storage: string]: GenericStorageQuery;
|
|
4399
4306
|
};
|
|
4400
4307
|
/**
|
|
4401
4308
|
* Pallet `TxPause`'s storage queries
|
|
@@ -4407,12 +4314,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4407
4314
|
* @param {[BytesLike, BytesLike]} arg
|
|
4408
4315
|
* @param {Callback<[] | undefined> =} callback
|
|
4409
4316
|
**/
|
|
4410
|
-
pausedCalls: GenericStorageQuery<
|
|
4317
|
+
pausedCalls: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
|
|
4411
4318
|
|
|
4412
4319
|
/**
|
|
4413
4320
|
* Generic pallet storage query
|
|
4414
4321
|
**/
|
|
4415
|
-
[storage: string]: GenericStorageQuery
|
|
4322
|
+
[storage: string]: GenericStorageQuery;
|
|
4416
4323
|
};
|
|
4417
4324
|
/**
|
|
4418
4325
|
* Pallet `SafeMode`'s storage queries
|
|
@@ -4427,7 +4334,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4427
4334
|
*
|
|
4428
4335
|
* @param {Callback<number | undefined> =} callback
|
|
4429
4336
|
**/
|
|
4430
|
-
enteredUntil: GenericStorageQuery<
|
|
4337
|
+
enteredUntil: GenericStorageQuery<() => number | undefined>;
|
|
4431
4338
|
|
|
4432
4339
|
/**
|
|
4433
4340
|
* Holds the reserve that was taken from an account at a specific block number.
|
|
@@ -4438,12 +4345,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4438
4345
|
* @param {[AccountId32Like, number]} arg
|
|
4439
4346
|
* @param {Callback<bigint | undefined> =} callback
|
|
4440
4347
|
**/
|
|
4441
|
-
deposits: GenericStorageQuery<
|
|
4348
|
+
deposits: GenericStorageQuery<(arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
|
|
4442
4349
|
|
|
4443
4350
|
/**
|
|
4444
4351
|
* Generic pallet storage query
|
|
4445
4352
|
**/
|
|
4446
|
-
[storage: string]: GenericStorageQuery
|
|
4353
|
+
[storage: string]: GenericStorageQuery;
|
|
4447
4354
|
};
|
|
4448
4355
|
/**
|
|
4449
4356
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -4456,7 +4363,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4456
4363
|
*
|
|
4457
4364
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
4458
4365
|
**/
|
|
4459
|
-
cursor: GenericStorageQuery<
|
|
4366
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
4460
4367
|
|
|
4461
4368
|
/**
|
|
4462
4369
|
* Set of all successfully executed migrations.
|
|
@@ -4467,12 +4374,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4467
4374
|
* @param {BytesLike} arg
|
|
4468
4375
|
* @param {Callback<[] | undefined> =} callback
|
|
4469
4376
|
**/
|
|
4470
|
-
historic: GenericStorageQuery<
|
|
4377
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
4471
4378
|
|
|
4472
4379
|
/**
|
|
4473
4380
|
* Generic pallet storage query
|
|
4474
4381
|
**/
|
|
4475
|
-
[storage: string]: GenericStorageQuery
|
|
4382
|
+
[storage: string]: GenericStorageQuery;
|
|
4476
4383
|
};
|
|
4477
4384
|
/**
|
|
4478
4385
|
* Pallet `Broker`'s storage queries
|
|
@@ -4483,35 +4390,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4483
4390
|
*
|
|
4484
4391
|
* @param {Callback<PalletBrokerConfigRecord | undefined> =} callback
|
|
4485
4392
|
**/
|
|
4486
|
-
configuration: GenericStorageQuery<
|
|
4393
|
+
configuration: GenericStorageQuery<() => PalletBrokerConfigRecord | undefined>;
|
|
4487
4394
|
|
|
4488
4395
|
/**
|
|
4489
4396
|
* The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
|
|
4490
4397
|
*
|
|
4491
4398
|
* @param {Callback<Array<Array<PalletBrokerScheduleItem>>> =} callback
|
|
4492
4399
|
**/
|
|
4493
|
-
reservations: GenericStorageQuery<
|
|
4400
|
+
reservations: GenericStorageQuery<() => Array<Array<PalletBrokerScheduleItem>>>;
|
|
4494
4401
|
|
|
4495
4402
|
/**
|
|
4496
4403
|
* The Polkadot Core legacy leases.
|
|
4497
4404
|
*
|
|
4498
4405
|
* @param {Callback<Array<PalletBrokerLeaseRecordItem>> =} callback
|
|
4499
4406
|
**/
|
|
4500
|
-
leases: GenericStorageQuery<
|
|
4407
|
+
leases: GenericStorageQuery<() => Array<PalletBrokerLeaseRecordItem>>;
|
|
4501
4408
|
|
|
4502
4409
|
/**
|
|
4503
4410
|
* The current status of miscellaneous subsystems of this pallet.
|
|
4504
4411
|
*
|
|
4505
4412
|
* @param {Callback<PalletBrokerStatusRecord | undefined> =} callback
|
|
4506
4413
|
**/
|
|
4507
|
-
status: GenericStorageQuery<
|
|
4414
|
+
status: GenericStorageQuery<() => PalletBrokerStatusRecord | undefined>;
|
|
4508
4415
|
|
|
4509
4416
|
/**
|
|
4510
4417
|
* The details of the current sale, including its properties and status.
|
|
4511
4418
|
*
|
|
4512
4419
|
* @param {Callback<PalletBrokerSaleInfoRecord | undefined> =} callback
|
|
4513
4420
|
**/
|
|
4514
|
-
saleInfo: GenericStorageQuery<
|
|
4421
|
+
saleInfo: GenericStorageQuery<() => PalletBrokerSaleInfoRecord | undefined>;
|
|
4515
4422
|
|
|
4516
4423
|
/**
|
|
4517
4424
|
* Records of potential renewals.
|
|
@@ -4522,7 +4429,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4522
4429
|
* @param {Callback<PalletBrokerPotentialRenewalRecord | undefined> =} callback
|
|
4523
4430
|
**/
|
|
4524
4431
|
potentialRenewals: GenericStorageQuery<
|
|
4525
|
-
Rv,
|
|
4526
4432
|
(arg: PalletBrokerPotentialRenewalId) => PalletBrokerPotentialRenewalRecord | undefined,
|
|
4527
4433
|
PalletBrokerPotentialRenewalId
|
|
4528
4434
|
>;
|
|
@@ -4534,7 +4440,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4534
4440
|
* @param {Callback<PalletBrokerRegionRecord | undefined> =} callback
|
|
4535
4441
|
**/
|
|
4536
4442
|
regions: GenericStorageQuery<
|
|
4537
|
-
Rv,
|
|
4538
4443
|
(arg: PalletBrokerRegionId) => PalletBrokerRegionRecord | undefined,
|
|
4539
4444
|
PalletBrokerRegionId
|
|
4540
4445
|
>;
|
|
@@ -4546,7 +4451,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4546
4451
|
* @param {Callback<Array<PalletBrokerScheduleItem> | undefined> =} callback
|
|
4547
4452
|
**/
|
|
4548
4453
|
workplan: GenericStorageQuery<
|
|
4549
|
-
Rv,
|
|
4550
4454
|
(arg: [number, number]) => Array<PalletBrokerScheduleItem> | undefined,
|
|
4551
4455
|
[number, number]
|
|
4552
4456
|
>;
|
|
@@ -4557,7 +4461,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4557
4461
|
* @param {number} arg
|
|
4558
4462
|
* @param {Callback<Array<PalletBrokerScheduleItem>> =} callback
|
|
4559
4463
|
**/
|
|
4560
|
-
workload: GenericStorageQuery<
|
|
4464
|
+
workload: GenericStorageQuery<(arg: number) => Array<PalletBrokerScheduleItem>, number>;
|
|
4561
4465
|
|
|
4562
4466
|
/**
|
|
4563
4467
|
* Record of a single contribution to the Instantaneous Coretime Pool.
|
|
@@ -4566,7 +4470,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4566
4470
|
* @param {Callback<PalletBrokerContributionRecord | undefined> =} callback
|
|
4567
4471
|
**/
|
|
4568
4472
|
instaPoolContribution: GenericStorageQuery<
|
|
4569
|
-
Rv,
|
|
4570
4473
|
(arg: PalletBrokerRegionId) => PalletBrokerContributionRecord | undefined,
|
|
4571
4474
|
PalletBrokerRegionId
|
|
4572
4475
|
>;
|
|
@@ -4577,7 +4480,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4577
4480
|
* @param {number} arg
|
|
4578
4481
|
* @param {Callback<PalletBrokerPoolIoRecord> =} callback
|
|
4579
4482
|
**/
|
|
4580
|
-
instaPoolIo: GenericStorageQuery<
|
|
4483
|
+
instaPoolIo: GenericStorageQuery<(arg: number) => PalletBrokerPoolIoRecord, number>;
|
|
4581
4484
|
|
|
4582
4485
|
/**
|
|
4583
4486
|
* Total InstaPool rewards for each Timeslice and the number of core parts which contributed.
|
|
@@ -4585,14 +4488,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4585
4488
|
* @param {number} arg
|
|
4586
4489
|
* @param {Callback<PalletBrokerInstaPoolHistoryRecord | undefined> =} callback
|
|
4587
4490
|
**/
|
|
4588
|
-
instaPoolHistory: GenericStorageQuery<
|
|
4491
|
+
instaPoolHistory: GenericStorageQuery<(arg: number) => PalletBrokerInstaPoolHistoryRecord | undefined, number>;
|
|
4589
4492
|
|
|
4590
4493
|
/**
|
|
4591
4494
|
* Received core count change from the relay chain.
|
|
4592
4495
|
*
|
|
4593
4496
|
* @param {Callback<number | undefined> =} callback
|
|
4594
4497
|
**/
|
|
4595
|
-
coreCountInbox: GenericStorageQuery<
|
|
4498
|
+
coreCountInbox: GenericStorageQuery<() => number | undefined>;
|
|
4596
4499
|
|
|
4597
4500
|
/**
|
|
4598
4501
|
* Keeping track of cores which have auto-renewal enabled.
|
|
@@ -4601,19 +4504,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4601
4504
|
*
|
|
4602
4505
|
* @param {Callback<Array<PalletBrokerAutoRenewalRecord>> =} callback
|
|
4603
4506
|
**/
|
|
4604
|
-
autoRenewals: GenericStorageQuery<
|
|
4507
|
+
autoRenewals: GenericStorageQuery<() => Array<PalletBrokerAutoRenewalRecord>>;
|
|
4605
4508
|
|
|
4606
4509
|
/**
|
|
4607
4510
|
* Received revenue info from the relay chain.
|
|
4608
4511
|
*
|
|
4609
4512
|
* @param {Callback<PalletBrokerOnDemandRevenueRecord | undefined> =} callback
|
|
4610
4513
|
**/
|
|
4611
|
-
revenueInbox: GenericStorageQuery<
|
|
4514
|
+
revenueInbox: GenericStorageQuery<() => PalletBrokerOnDemandRevenueRecord | undefined>;
|
|
4612
4515
|
|
|
4613
4516
|
/**
|
|
4614
4517
|
* Generic pallet storage query
|
|
4615
4518
|
**/
|
|
4616
|
-
[storage: string]: GenericStorageQuery
|
|
4519
|
+
[storage: string]: GenericStorageQuery;
|
|
4617
4520
|
};
|
|
4618
4521
|
/**
|
|
4619
4522
|
* Pallet `TasksExample`'s storage queries
|
|
@@ -4624,7 +4527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4624
4527
|
*
|
|
4625
4528
|
* @param {Callback<[number, number]> =} callback
|
|
4626
4529
|
**/
|
|
4627
|
-
total: GenericStorageQuery<
|
|
4530
|
+
total: GenericStorageQuery<() => [number, number]>;
|
|
4628
4531
|
|
|
4629
4532
|
/**
|
|
4630
4533
|
* Numbers to be added into the total.
|
|
@@ -4632,12 +4535,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4632
4535
|
* @param {number} arg
|
|
4633
4536
|
* @param {Callback<number | undefined> =} callback
|
|
4634
4537
|
**/
|
|
4635
|
-
numbers: GenericStorageQuery<
|
|
4538
|
+
numbers: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
4636
4539
|
|
|
4637
4540
|
/**
|
|
4638
4541
|
* Generic pallet storage query
|
|
4639
4542
|
**/
|
|
4640
|
-
[storage: string]: GenericStorageQuery
|
|
4543
|
+
[storage: string]: GenericStorageQuery;
|
|
4641
4544
|
};
|
|
4642
4545
|
/**
|
|
4643
4546
|
* Pallet `Mixnet`'s storage queries
|
|
@@ -4649,14 +4552,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4649
4552
|
*
|
|
4650
4553
|
* @param {Callback<number> =} callback
|
|
4651
4554
|
**/
|
|
4652
|
-
currentSessionIndex: GenericStorageQuery<
|
|
4555
|
+
currentSessionIndex: GenericStorageQuery<() => number>;
|
|
4653
4556
|
|
|
4654
4557
|
/**
|
|
4655
4558
|
* Block in which the current session started.
|
|
4656
4559
|
*
|
|
4657
4560
|
* @param {Callback<number> =} callback
|
|
4658
4561
|
**/
|
|
4659
|
-
currentSessionStartBlock: GenericStorageQuery<
|
|
4562
|
+
currentSessionStartBlock: GenericStorageQuery<() => number>;
|
|
4660
4563
|
|
|
4661
4564
|
/**
|
|
4662
4565
|
* Authority list for the next session.
|
|
@@ -4664,7 +4567,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4664
4567
|
* @param {number} arg
|
|
4665
4568
|
* @param {Callback<SpMixnetAppPublic | undefined> =} callback
|
|
4666
4569
|
**/
|
|
4667
|
-
nextAuthorityIds: GenericStorageQuery<
|
|
4570
|
+
nextAuthorityIds: GenericStorageQuery<(arg: number) => SpMixnetAppPublic | undefined, number>;
|
|
4668
4571
|
|
|
4669
4572
|
/**
|
|
4670
4573
|
* Mixnode sets by session index. Only the mixnode sets for the previous, current, and next
|
|
@@ -4677,16 +4580,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4677
4580
|
* @param {[number, number]} arg
|
|
4678
4581
|
* @param {Callback<PalletMixnetBoundedMixnode | undefined> =} callback
|
|
4679
4582
|
**/
|
|
4680
|
-
mixnodes: GenericStorageQuery<
|
|
4681
|
-
Rv,
|
|
4682
|
-
(arg: [number, number]) => PalletMixnetBoundedMixnode | undefined,
|
|
4683
|
-
[number, number]
|
|
4684
|
-
>;
|
|
4583
|
+
mixnodes: GenericStorageQuery<(arg: [number, number]) => PalletMixnetBoundedMixnode | undefined, [number, number]>;
|
|
4685
4584
|
|
|
4686
4585
|
/**
|
|
4687
4586
|
* Generic pallet storage query
|
|
4688
4587
|
**/
|
|
4689
|
-
[storage: string]: GenericStorageQuery
|
|
4588
|
+
[storage: string]: GenericStorageQuery;
|
|
4690
4589
|
};
|
|
4691
4590
|
/**
|
|
4692
4591
|
* Pallet `Parameters`'s storage queries
|
|
@@ -4699,7 +4598,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4699
4598
|
* @param {Callback<KitchensinkRuntimeRuntimeParametersValue | undefined> =} callback
|
|
4700
4599
|
**/
|
|
4701
4600
|
parameters: GenericStorageQuery<
|
|
4702
|
-
Rv,
|
|
4703
4601
|
(arg: KitchensinkRuntimeRuntimeParametersKey) => KitchensinkRuntimeRuntimeParametersValue | undefined,
|
|
4704
4602
|
KitchensinkRuntimeRuntimeParametersKey
|
|
4705
4603
|
>;
|
|
@@ -4707,7 +4605,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4707
4605
|
/**
|
|
4708
4606
|
* Generic pallet storage query
|
|
4709
4607
|
**/
|
|
4710
|
-
[storage: string]: GenericStorageQuery
|
|
4608
|
+
[storage: string]: GenericStorageQuery;
|
|
4711
4609
|
};
|
|
4712
4610
|
/**
|
|
4713
4611
|
* Pallet `PalletExampleMbms`'s storage queries
|
|
@@ -4719,12 +4617,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4719
4617
|
* @param {number} arg
|
|
4720
4618
|
* @param {Callback<bigint | undefined> =} callback
|
|
4721
4619
|
**/
|
|
4722
|
-
myMap: GenericStorageQuery<
|
|
4620
|
+
myMap: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
4723
4621
|
|
|
4724
4622
|
/**
|
|
4725
4623
|
* Generic pallet storage query
|
|
4726
4624
|
**/
|
|
4727
|
-
[storage: string]: GenericStorageQuery
|
|
4625
|
+
[storage: string]: GenericStorageQuery;
|
|
4728
4626
|
};
|
|
4729
4627
|
/**
|
|
4730
4628
|
* Pallet `Revive`'s storage queries
|
|
@@ -4736,7 +4634,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4736
4634
|
* @param {H256} arg
|
|
4737
4635
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4738
4636
|
**/
|
|
4739
|
-
pristineCode: GenericStorageQuery<
|
|
4637
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
4740
4638
|
|
|
4741
4639
|
/**
|
|
4742
4640
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -4744,7 +4642,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4744
4642
|
* @param {H256} arg
|
|
4745
4643
|
* @param {Callback<PalletReviveWasmCodeInfo | undefined> =} callback
|
|
4746
4644
|
**/
|
|
4747
|
-
codeInfoOf: GenericStorageQuery<
|
|
4645
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletReviveWasmCodeInfo | undefined, H256>;
|
|
4748
4646
|
|
|
4749
4647
|
/**
|
|
4750
4648
|
* The code associated with a given account.
|
|
@@ -4752,7 +4650,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4752
4650
|
* @param {H160} arg
|
|
4753
4651
|
* @param {Callback<PalletReviveStorageContractInfo | undefined> =} callback
|
|
4754
4652
|
**/
|
|
4755
|
-
contractInfoOf: GenericStorageQuery<
|
|
4653
|
+
contractInfoOf: GenericStorageQuery<(arg: H160) => PalletReviveStorageContractInfo | undefined, H160>;
|
|
4756
4654
|
|
|
4757
4655
|
/**
|
|
4758
4656
|
* The immutable data associated with a given account.
|
|
@@ -4760,7 +4658,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4760
4658
|
* @param {H160} arg
|
|
4761
4659
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4762
4660
|
**/
|
|
4763
|
-
immutableDataOf: GenericStorageQuery<
|
|
4661
|
+
immutableDataOf: GenericStorageQuery<(arg: H160) => Bytes | undefined, H160>;
|
|
4764
4662
|
|
|
4765
4663
|
/**
|
|
4766
4664
|
* Evicted contracts that await child trie deletion.
|
|
@@ -4771,7 +4669,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4771
4669
|
* @param {number} arg
|
|
4772
4670
|
* @param {Callback<Bytes | undefined> =} callback
|
|
4773
4671
|
**/
|
|
4774
|
-
deletionQueue: GenericStorageQuery<
|
|
4672
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
4775
4673
|
|
|
4776
4674
|
/**
|
|
4777
4675
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -4779,7 +4677,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4779
4677
|
*
|
|
4780
4678
|
* @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
|
|
4781
4679
|
**/
|
|
4782
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
4680
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletReviveStorageDeletionQueueManager>;
|
|
4783
4681
|
|
|
4784
4682
|
/**
|
|
4785
4683
|
* Map a Ethereum address to its original `AccountId32`.
|
|
@@ -4792,12 +4690,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4792
4690
|
* @param {H160} arg
|
|
4793
4691
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4794
4692
|
**/
|
|
4795
|
-
originalAccount: GenericStorageQuery<
|
|
4693
|
+
originalAccount: GenericStorageQuery<(arg: H160) => AccountId32 | undefined, H160>;
|
|
4796
4694
|
|
|
4797
4695
|
/**
|
|
4798
4696
|
* Generic pallet storage query
|
|
4799
4697
|
**/
|
|
4800
|
-
[storage: string]: GenericStorageQuery
|
|
4698
|
+
[storage: string]: GenericStorageQuery;
|
|
4801
4699
|
};
|
|
4802
4700
|
/**
|
|
4803
4701
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -4813,7 +4711,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4813
4711
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
4814
4712
|
**/
|
|
4815
4713
|
delegators: GenericStorageQuery<
|
|
4816
|
-
Rv,
|
|
4817
4714
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
4818
4715
|
AccountId32
|
|
4819
4716
|
>;
|
|
@@ -4823,7 +4720,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4823
4720
|
*
|
|
4824
4721
|
* @param {Callback<number> =} callback
|
|
4825
4722
|
**/
|
|
4826
|
-
counterForDelegators: GenericStorageQuery<
|
|
4723
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
4827
4724
|
|
|
4828
4725
|
/**
|
|
4829
4726
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -4831,23 +4728,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4831
4728
|
* @param {AccountId32Like} arg
|
|
4832
4729
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
4833
4730
|
**/
|
|
4834
|
-
agents: GenericStorageQuery<
|
|
4835
|
-
Rv,
|
|
4836
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
4837
|
-
AccountId32
|
|
4838
|
-
>;
|
|
4731
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
4839
4732
|
|
|
4840
4733
|
/**
|
|
4841
4734
|
* Counter for the related counted storage map
|
|
4842
4735
|
*
|
|
4843
4736
|
* @param {Callback<number> =} callback
|
|
4844
4737
|
**/
|
|
4845
|
-
counterForAgents: GenericStorageQuery<
|
|
4738
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
4846
4739
|
|
|
4847
4740
|
/**
|
|
4848
4741
|
* Generic pallet storage query
|
|
4849
4742
|
**/
|
|
4850
|
-
[storage: string]: GenericStorageQuery
|
|
4743
|
+
[storage: string]: GenericStorageQuery;
|
|
4851
4744
|
};
|
|
4852
4745
|
/**
|
|
4853
4746
|
* Pallet `AssetRewards`'s storage queries
|
|
@@ -4860,7 +4753,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4860
4753
|
* @param {Callback<PalletAssetRewardsPoolStakerInfo | undefined> =} callback
|
|
4861
4754
|
**/
|
|
4862
4755
|
poolStakers: GenericStorageQuery<
|
|
4863
|
-
Rv,
|
|
4864
4756
|
(arg: [number, AccountId32Like]) => PalletAssetRewardsPoolStakerInfo | undefined,
|
|
4865
4757
|
[number, AccountId32]
|
|
4866
4758
|
>;
|
|
@@ -4871,7 +4763,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4871
4763
|
* @param {number} arg
|
|
4872
4764
|
* @param {Callback<PalletAssetRewardsPoolInfo | undefined> =} callback
|
|
4873
4765
|
**/
|
|
4874
|
-
pools: GenericStorageQuery<
|
|
4766
|
+
pools: GenericStorageQuery<(arg: number) => PalletAssetRewardsPoolInfo | undefined, number>;
|
|
4875
4767
|
|
|
4876
4768
|
/**
|
|
4877
4769
|
* The cost associated with storing pool information on-chain which was incurred by the pool
|
|
@@ -4883,7 +4775,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4883
4775
|
* @param {Callback<[AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined> =} callback
|
|
4884
4776
|
**/
|
|
4885
4777
|
poolCost: GenericStorageQuery<
|
|
4886
|
-
Rv,
|
|
4887
4778
|
(arg: number) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined,
|
|
4888
4779
|
number
|
|
4889
4780
|
>;
|
|
@@ -4895,12 +4786,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4895
4786
|
*
|
|
4896
4787
|
* @param {Callback<number> =} callback
|
|
4897
4788
|
**/
|
|
4898
|
-
nextPoolId: GenericStorageQuery<
|
|
4789
|
+
nextPoolId: GenericStorageQuery<() => number>;
|
|
4899
4790
|
|
|
4900
4791
|
/**
|
|
4901
4792
|
* Generic pallet storage query
|
|
4902
4793
|
**/
|
|
4903
|
-
[storage: string]: GenericStorageQuery
|
|
4794
|
+
[storage: string]: GenericStorageQuery;
|
|
4904
4795
|
};
|
|
4905
4796
|
/**
|
|
4906
4797
|
* Pallet `AssetsFreezer`'s storage queries
|
|
@@ -4913,7 +4804,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4913
4804
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
4914
4805
|
**/
|
|
4915
4806
|
freezes: GenericStorageQuery<
|
|
4916
|
-
Rv,
|
|
4917
4807
|
(arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
4918
4808
|
[number, AccountId32]
|
|
4919
4809
|
>;
|
|
@@ -4924,15 +4814,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4924
4814
|
* @param {[number, AccountId32Like]} arg
|
|
4925
4815
|
* @param {Callback<bigint | undefined> =} callback
|
|
4926
4816
|
**/
|
|
4927
|
-
frozenBalances: GenericStorageQuery<
|
|
4928
|
-
Rv,
|
|
4929
|
-
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
4930
|
-
[number, AccountId32]
|
|
4931
|
-
>;
|
|
4817
|
+
frozenBalances: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined, [number, AccountId32]>;
|
|
4932
4818
|
|
|
4933
4819
|
/**
|
|
4934
4820
|
* Generic pallet storage query
|
|
4935
4821
|
**/
|
|
4936
|
-
[storage: string]: GenericStorageQuery
|
|
4822
|
+
[storage: string]: GenericStorageQuery;
|
|
4937
4823
|
};
|
|
4938
4824
|
}
|