@dedot/chaintypes 0.193.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -4
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/kusama/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,
|
|
@@ -168,7 +168,7 @@ import type {
|
|
|
168
168
|
StagingKusamaRuntimeRuntimeCallLike,
|
|
169
169
|
} from './types.js';
|
|
170
170
|
|
|
171
|
-
export interface ChainStorage
|
|
171
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
172
172
|
/**
|
|
173
173
|
* Pallet `System`'s storage queries
|
|
174
174
|
**/
|
|
@@ -179,35 +179,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
179
179
|
* @param {AccountId32Like} arg
|
|
180
180
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
181
181
|
**/
|
|
182
|
-
account: GenericStorageQuery<
|
|
182
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Total extrinsics count for the current block.
|
|
186
186
|
*
|
|
187
187
|
* @param {Callback<number | undefined> =} callback
|
|
188
188
|
**/
|
|
189
|
-
extrinsicCount: GenericStorageQuery<
|
|
189
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Whether all inherents have been applied.
|
|
193
193
|
*
|
|
194
194
|
* @param {Callback<boolean> =} callback
|
|
195
195
|
**/
|
|
196
|
-
inherentsApplied: GenericStorageQuery<
|
|
196
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* The current weight for the block.
|
|
200
200
|
*
|
|
201
201
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
202
202
|
**/
|
|
203
|
-
blockWeight: GenericStorageQuery<
|
|
203
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
207
207
|
*
|
|
208
208
|
* @param {Callback<number | undefined> =} callback
|
|
209
209
|
**/
|
|
210
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
210
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Map of block numbers to block hashes.
|
|
@@ -215,7 +215,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
215
215
|
* @param {number} arg
|
|
216
216
|
* @param {Callback<H256> =} callback
|
|
217
217
|
**/
|
|
218
|
-
blockHash: GenericStorageQuery<
|
|
218
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -223,28 +223,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
223
223
|
* @param {number} arg
|
|
224
224
|
* @param {Callback<Bytes> =} callback
|
|
225
225
|
**/
|
|
226
|
-
extrinsicData: GenericStorageQuery<
|
|
226
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* The current block number being processed. Set by `execute_block`.
|
|
230
230
|
*
|
|
231
231
|
* @param {Callback<number> =} callback
|
|
232
232
|
**/
|
|
233
|
-
number: GenericStorageQuery<
|
|
233
|
+
number: GenericStorageQuery<() => number>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Hash of the previous block.
|
|
237
237
|
*
|
|
238
238
|
* @param {Callback<H256> =} callback
|
|
239
239
|
**/
|
|
240
|
-
parentHash: GenericStorageQuery<
|
|
240
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Digest of the current block, also part of the block header.
|
|
244
244
|
*
|
|
245
245
|
* @param {Callback<Digest> =} callback
|
|
246
246
|
**/
|
|
247
|
-
digest: GenericStorageQuery<
|
|
247
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* Events deposited for the current block.
|
|
@@ -257,14 +257,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
257
257
|
*
|
|
258
258
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
259
259
|
**/
|
|
260
|
-
events: GenericStorageQuery<
|
|
260
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* The number of events in the `Events<T>` list.
|
|
264
264
|
*
|
|
265
265
|
* @param {Callback<number> =} callback
|
|
266
266
|
**/
|
|
267
|
-
eventCount: GenericStorageQuery<
|
|
267
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
270
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -281,21 +281,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
281
281
|
* @param {H256} arg
|
|
282
282
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
283
283
|
**/
|
|
284
|
-
eventTopics: GenericStorageQuery<
|
|
284
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
288
288
|
*
|
|
289
289
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
290
290
|
**/
|
|
291
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
291
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
295
295
|
*
|
|
296
296
|
* @param {Callback<boolean> =} callback
|
|
297
297
|
**/
|
|
298
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
298
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -303,21 +303,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
303
303
|
*
|
|
304
304
|
* @param {Callback<boolean> =} callback
|
|
305
305
|
**/
|
|
306
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
306
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
307
307
|
|
|
308
308
|
/**
|
|
309
309
|
* The execution phase of the block.
|
|
310
310
|
*
|
|
311
311
|
* @param {Callback<Phase | undefined> =} callback
|
|
312
312
|
**/
|
|
313
|
-
executionPhase: GenericStorageQuery<
|
|
313
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* `Some` if a code upgrade has been authorized.
|
|
317
317
|
*
|
|
318
318
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
319
319
|
**/
|
|
320
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
320
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* The weight reclaimed for the extrinsic.
|
|
@@ -330,12 +330,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
330
330
|
*
|
|
331
331
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
332
332
|
**/
|
|
333
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
333
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* Generic pallet storage query
|
|
337
337
|
**/
|
|
338
|
-
[storage: string]: GenericStorageQuery
|
|
338
|
+
[storage: string]: GenericStorageQuery;
|
|
339
339
|
};
|
|
340
340
|
/**
|
|
341
341
|
* Pallet `Babe`'s storage queries
|
|
@@ -346,14 +346,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
346
346
|
*
|
|
347
347
|
* @param {Callback<bigint> =} callback
|
|
348
348
|
**/
|
|
349
|
-
epochIndex: GenericStorageQuery<
|
|
349
|
+
epochIndex: GenericStorageQuery<() => bigint>;
|
|
350
350
|
|
|
351
351
|
/**
|
|
352
352
|
* Current epoch authorities.
|
|
353
353
|
*
|
|
354
354
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
355
355
|
**/
|
|
356
|
-
authorities: GenericStorageQuery<
|
|
356
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
359
|
* The slot at which the first epoch actually started. This is 0
|
|
@@ -361,14 +361,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
361
361
|
*
|
|
362
362
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
363
363
|
**/
|
|
364
|
-
genesisSlot: GenericStorageQuery<
|
|
364
|
+
genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
367
|
* Current slot number.
|
|
368
368
|
*
|
|
369
369
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
370
370
|
**/
|
|
371
|
-
currentSlot: GenericStorageQuery<
|
|
371
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* The epoch randomness for the *current* epoch.
|
|
@@ -384,28 +384,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
384
384
|
*
|
|
385
385
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
386
386
|
**/
|
|
387
|
-
randomness: GenericStorageQuery<
|
|
387
|
+
randomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
388
388
|
|
|
389
389
|
/**
|
|
390
390
|
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
391
391
|
*
|
|
392
392
|
* @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
|
|
393
393
|
**/
|
|
394
|
-
pendingEpochConfigChange: GenericStorageQuery<
|
|
394
|
+
pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
397
|
* Next epoch randomness.
|
|
398
398
|
*
|
|
399
399
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
400
400
|
**/
|
|
401
|
-
nextRandomness: GenericStorageQuery<
|
|
401
|
+
nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* Next epoch authorities.
|
|
405
405
|
*
|
|
406
406
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
407
407
|
**/
|
|
408
|
-
nextAuthorities: GenericStorageQuery<
|
|
408
|
+
nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* Randomness under construction.
|
|
@@ -420,7 +420,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
420
420
|
*
|
|
421
421
|
* @param {Callback<number> =} callback
|
|
422
422
|
**/
|
|
423
|
-
segmentIndex: GenericStorageQuery<
|
|
423
|
+
segmentIndex: GenericStorageQuery<() => number>;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
@@ -428,7 +428,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
428
428
|
* @param {number} arg
|
|
429
429
|
* @param {Callback<Array<FixedBytes<32>>> =} callback
|
|
430
430
|
**/
|
|
431
|
-
underConstruction: GenericStorageQuery<
|
|
431
|
+
underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>, number>;
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
434
|
* Temporary value (cleared at block finalization) which is `Some`
|
|
@@ -436,7 +436,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
436
436
|
*
|
|
437
437
|
* @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
|
|
438
438
|
**/
|
|
439
|
-
initialized: GenericStorageQuery<
|
|
439
|
+
initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
442
|
* This field should always be populated during block processing unless
|
|
@@ -446,7 +446,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
446
446
|
*
|
|
447
447
|
* @param {Callback<FixedBytes<32> | undefined> =} callback
|
|
448
448
|
**/
|
|
449
|
-
authorVrfRandomness: GenericStorageQuery<
|
|
449
|
+
authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
452
|
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
@@ -457,7 +457,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
457
457
|
*
|
|
458
458
|
* @param {Callback<[number, number]> =} callback
|
|
459
459
|
**/
|
|
460
|
-
epochStart: GenericStorageQuery<
|
|
460
|
+
epochStart: GenericStorageQuery<() => [number, number]>;
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* How late the current block is compared to its parent.
|
|
@@ -468,7 +468,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
468
468
|
*
|
|
469
469
|
* @param {Callback<number> =} callback
|
|
470
470
|
**/
|
|
471
|
-
lateness: GenericStorageQuery<
|
|
471
|
+
lateness: GenericStorageQuery<() => number>;
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
@@ -476,7 +476,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
476
476
|
*
|
|
477
477
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
478
478
|
**/
|
|
479
|
-
epochConfig: GenericStorageQuery<
|
|
479
|
+
epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* The configuration for the next epoch, `None` if the config will not change
|
|
@@ -484,7 +484,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
484
484
|
*
|
|
485
485
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
486
486
|
**/
|
|
487
|
-
nextEpochConfig: GenericStorageQuery<
|
|
487
|
+
nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
490
|
* A list of the last 100 skipped epochs and the corresponding session index
|
|
@@ -498,12 +498,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
498
498
|
*
|
|
499
499
|
* @param {Callback<Array<[bigint, number]>> =} callback
|
|
500
500
|
**/
|
|
501
|
-
skippedEpochs: GenericStorageQuery<
|
|
501
|
+
skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* Generic pallet storage query
|
|
505
505
|
**/
|
|
506
|
-
[storage: string]: GenericStorageQuery
|
|
506
|
+
[storage: string]: GenericStorageQuery;
|
|
507
507
|
};
|
|
508
508
|
/**
|
|
509
509
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -514,7 +514,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
514
514
|
*
|
|
515
515
|
* @param {Callback<bigint> =} callback
|
|
516
516
|
**/
|
|
517
|
-
now: GenericStorageQuery<
|
|
517
|
+
now: GenericStorageQuery<() => bigint>;
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
520
|
* Whether the timestamp has been updated in this block.
|
|
@@ -524,12 +524,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
524
524
|
*
|
|
525
525
|
* @param {Callback<boolean> =} callback
|
|
526
526
|
**/
|
|
527
|
-
didUpdate: GenericStorageQuery<
|
|
527
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* Generic pallet storage query
|
|
531
531
|
**/
|
|
532
|
-
[storage: string]: GenericStorageQuery
|
|
532
|
+
[storage: string]: GenericStorageQuery;
|
|
533
533
|
};
|
|
534
534
|
/**
|
|
535
535
|
* Pallet `Indices`'s storage queries
|
|
@@ -541,12 +541,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
541
541
|
* @param {number} arg
|
|
542
542
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
543
543
|
**/
|
|
544
|
-
accounts: GenericStorageQuery<
|
|
544
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
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 `Balances`'s storage queries
|
|
@@ -557,14 +557,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
557
557
|
*
|
|
558
558
|
* @param {Callback<bigint> =} callback
|
|
559
559
|
**/
|
|
560
|
-
totalIssuance: GenericStorageQuery<
|
|
560
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
563
|
* The total units of outstanding deactivated balance in the system.
|
|
564
564
|
*
|
|
565
565
|
* @param {Callback<bigint> =} callback
|
|
566
566
|
**/
|
|
567
|
-
inactiveIssuance: GenericStorageQuery<
|
|
567
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
568
568
|
|
|
569
569
|
/**
|
|
570
570
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -595,7 +595,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
595
595
|
* @param {AccountId32Like} arg
|
|
596
596
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
597
597
|
**/
|
|
598
|
-
account: GenericStorageQuery<
|
|
598
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
601
|
* Any liquidity locks on some account balances.
|
|
@@ -606,7 +606,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
606
606
|
* @param {AccountId32Like} arg
|
|
607
607
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
608
608
|
**/
|
|
609
|
-
locks: GenericStorageQuery<
|
|
609
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
610
610
|
|
|
611
611
|
/**
|
|
612
612
|
* Named reserves on some account balances.
|
|
@@ -616,7 +616,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
616
616
|
* @param {AccountId32Like} arg
|
|
617
617
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
618
618
|
**/
|
|
619
|
-
reserves: GenericStorageQuery<
|
|
619
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
622
|
* Holds on account balances.
|
|
@@ -624,7 +624,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
624
624
|
* @param {AccountId32Like} arg
|
|
625
625
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
626
626
|
**/
|
|
627
|
-
holds: GenericStorageQuery<
|
|
627
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
630
|
* Freeze locks on account balances.
|
|
@@ -633,7 +633,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
633
633
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
634
634
|
**/
|
|
635
635
|
freezes: GenericStorageQuery<
|
|
636
|
-
Rv,
|
|
637
636
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
638
637
|
AccountId32
|
|
639
638
|
>;
|
|
@@ -641,7 +640,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
641
640
|
/**
|
|
642
641
|
* Generic pallet storage query
|
|
643
642
|
**/
|
|
644
|
-
[storage: string]: GenericStorageQuery
|
|
643
|
+
[storage: string]: GenericStorageQuery;
|
|
645
644
|
};
|
|
646
645
|
/**
|
|
647
646
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -651,18 +650,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
651
650
|
*
|
|
652
651
|
* @param {Callback<FixedU128> =} callback
|
|
653
652
|
**/
|
|
654
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
653
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
655
654
|
|
|
656
655
|
/**
|
|
657
656
|
*
|
|
658
657
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
659
658
|
**/
|
|
660
|
-
storageVersion: GenericStorageQuery<
|
|
659
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
661
660
|
|
|
662
661
|
/**
|
|
663
662
|
* Generic pallet storage query
|
|
664
663
|
**/
|
|
665
|
-
[storage: string]: GenericStorageQuery
|
|
664
|
+
[storage: string]: GenericStorageQuery;
|
|
666
665
|
};
|
|
667
666
|
/**
|
|
668
667
|
* Pallet `Authorship`'s storage queries
|
|
@@ -673,12 +672,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
673
672
|
*
|
|
674
673
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
675
674
|
**/
|
|
676
|
-
author: GenericStorageQuery<
|
|
675
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
677
676
|
|
|
678
677
|
/**
|
|
679
678
|
* Generic pallet storage query
|
|
680
679
|
**/
|
|
681
|
-
[storage: string]: GenericStorageQuery
|
|
680
|
+
[storage: string]: GenericStorageQuery;
|
|
682
681
|
};
|
|
683
682
|
/**
|
|
684
683
|
* Pallet `Staking`'s storage queries
|
|
@@ -689,14 +688,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
689
688
|
*
|
|
690
689
|
* @param {Callback<number> =} callback
|
|
691
690
|
**/
|
|
692
|
-
validatorCount: GenericStorageQuery<
|
|
691
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
693
692
|
|
|
694
693
|
/**
|
|
695
694
|
* Minimum number of staking participants before emergency conditions are imposed.
|
|
696
695
|
*
|
|
697
696
|
* @param {Callback<number> =} callback
|
|
698
697
|
**/
|
|
699
|
-
minimumValidatorCount: GenericStorageQuery<
|
|
698
|
+
minimumValidatorCount: GenericStorageQuery<() => number>;
|
|
700
699
|
|
|
701
700
|
/**
|
|
702
701
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -705,7 +704,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
705
704
|
*
|
|
706
705
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
707
706
|
**/
|
|
708
|
-
invulnerables: GenericStorageQuery<
|
|
707
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
709
708
|
|
|
710
709
|
/**
|
|
711
710
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -715,28 +714,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
715
714
|
* @param {AccountId32Like} arg
|
|
716
715
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
717
716
|
**/
|
|
718
|
-
bonded: GenericStorageQuery<
|
|
717
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
719
718
|
|
|
720
719
|
/**
|
|
721
720
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
722
721
|
*
|
|
723
722
|
* @param {Callback<bigint> =} callback
|
|
724
723
|
**/
|
|
725
|
-
minNominatorBond: GenericStorageQuery<
|
|
724
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
726
725
|
|
|
727
726
|
/**
|
|
728
727
|
* The minimum active bond to become and maintain the role of a validator.
|
|
729
728
|
*
|
|
730
729
|
* @param {Callback<bigint> =} callback
|
|
731
730
|
**/
|
|
732
|
-
minValidatorBond: GenericStorageQuery<
|
|
731
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
733
732
|
|
|
734
733
|
/**
|
|
735
734
|
* The minimum active nominator stake of the last successful election.
|
|
736
735
|
*
|
|
737
736
|
* @param {Callback<bigint> =} callback
|
|
738
737
|
**/
|
|
739
|
-
minimumActiveStake: GenericStorageQuery<
|
|
738
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
740
739
|
|
|
741
740
|
/**
|
|
742
741
|
* The minimum amount of commission that validators can set.
|
|
@@ -745,7 +744,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
745
744
|
*
|
|
746
745
|
* @param {Callback<Perbill> =} callback
|
|
747
746
|
**/
|
|
748
|
-
minCommission: GenericStorageQuery<
|
|
747
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
749
748
|
|
|
750
749
|
/**
|
|
751
750
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -756,7 +755,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
756
755
|
* @param {AccountId32Like} arg
|
|
757
756
|
* @param {Callback<PalletStakingStakingLedger | undefined> =} callback
|
|
758
757
|
**/
|
|
759
|
-
ledger: GenericStorageQuery<
|
|
758
|
+
ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
|
|
760
759
|
|
|
761
760
|
/**
|
|
762
761
|
* Where the reward payment should be made. Keyed by stash.
|
|
@@ -766,7 +765,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
766
765
|
* @param {AccountId32Like} arg
|
|
767
766
|
* @param {Callback<PalletStakingRewardDestination | undefined> =} callback
|
|
768
767
|
**/
|
|
769
|
-
payee: GenericStorageQuery<
|
|
768
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
|
|
770
769
|
|
|
771
770
|
/**
|
|
772
771
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -776,14 +775,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
776
775
|
* @param {AccountId32Like} arg
|
|
777
776
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
778
777
|
**/
|
|
779
|
-
validators: GenericStorageQuery<
|
|
778
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
|
|
780
779
|
|
|
781
780
|
/**
|
|
782
781
|
* Counter for the related counted storage map
|
|
783
782
|
*
|
|
784
783
|
* @param {Callback<number> =} callback
|
|
785
784
|
**/
|
|
786
|
-
counterForValidators: GenericStorageQuery<
|
|
785
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
787
786
|
|
|
788
787
|
/**
|
|
789
788
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -792,7 +791,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
792
791
|
*
|
|
793
792
|
* @param {Callback<number | undefined> =} callback
|
|
794
793
|
**/
|
|
795
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
794
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
796
795
|
|
|
797
796
|
/**
|
|
798
797
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -818,14 +817,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
818
817
|
* @param {AccountId32Like} arg
|
|
819
818
|
* @param {Callback<PalletStakingNominations | undefined> =} callback
|
|
820
819
|
**/
|
|
821
|
-
nominators: GenericStorageQuery<
|
|
820
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
|
|
822
821
|
|
|
823
822
|
/**
|
|
824
823
|
* Counter for the related counted storage map
|
|
825
824
|
*
|
|
826
825
|
* @param {Callback<number> =} callback
|
|
827
826
|
**/
|
|
828
|
-
counterForNominators: GenericStorageQuery<
|
|
827
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
829
828
|
|
|
830
829
|
/**
|
|
831
830
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -838,14 +837,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
838
837
|
* @param {AccountId32Like} arg
|
|
839
838
|
* @param {Callback<[] | undefined> =} callback
|
|
840
839
|
**/
|
|
841
|
-
virtualStakers: GenericStorageQuery<
|
|
840
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
842
841
|
|
|
843
842
|
/**
|
|
844
843
|
* Counter for the related counted storage map
|
|
845
844
|
*
|
|
846
845
|
* @param {Callback<number> =} callback
|
|
847
846
|
**/
|
|
848
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
847
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
849
848
|
|
|
850
849
|
/**
|
|
851
850
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -854,7 +853,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
854
853
|
*
|
|
855
854
|
* @param {Callback<number | undefined> =} callback
|
|
856
855
|
**/
|
|
857
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
856
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
858
857
|
|
|
859
858
|
/**
|
|
860
859
|
* The current era index.
|
|
@@ -864,7 +863,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
864
863
|
*
|
|
865
864
|
* @param {Callback<number | undefined> =} callback
|
|
866
865
|
**/
|
|
867
|
-
currentEra: GenericStorageQuery<
|
|
866
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
868
867
|
|
|
869
868
|
/**
|
|
870
869
|
* The active era information, it holds index and start.
|
|
@@ -874,7 +873,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
874
873
|
*
|
|
875
874
|
* @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
|
|
876
875
|
**/
|
|
877
|
-
activeEra: GenericStorageQuery<
|
|
876
|
+
activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
|
|
878
877
|
|
|
879
878
|
/**
|
|
880
879
|
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
|
@@ -885,7 +884,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
885
884
|
* @param {number} arg
|
|
886
885
|
* @param {Callback<number | undefined> =} callback
|
|
887
886
|
**/
|
|
888
|
-
erasStartSessionIndex: GenericStorageQuery<
|
|
887
|
+
erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
889
888
|
|
|
890
889
|
/**
|
|
891
890
|
* Exposure of validator at era.
|
|
@@ -900,7 +899,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
900
899
|
* @param {[number, AccountId32Like]} arg
|
|
901
900
|
* @param {Callback<SpStakingExposure> =} callback
|
|
902
901
|
**/
|
|
903
|
-
erasStakers: GenericStorageQuery<
|
|
902
|
+
erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
|
|
904
903
|
|
|
905
904
|
/**
|
|
906
905
|
* Summary of validator exposure at a given era.
|
|
@@ -920,7 +919,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
920
919
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
921
920
|
**/
|
|
922
921
|
erasStakersOverview: GenericStorageQuery<
|
|
923
|
-
Rv,
|
|
924
922
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
925
923
|
[number, AccountId32]
|
|
926
924
|
>;
|
|
@@ -947,7 +945,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
947
945
|
* @param {Callback<SpStakingExposure> =} callback
|
|
948
946
|
**/
|
|
949
947
|
erasStakersClipped: GenericStorageQuery<
|
|
950
|
-
Rv,
|
|
951
948
|
(arg: [number, AccountId32Like]) => SpStakingExposure,
|
|
952
949
|
[number, AccountId32]
|
|
953
950
|
>;
|
|
@@ -964,7 +961,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
964
961
|
* @param {Callback<SpStakingExposurePage | undefined> =} callback
|
|
965
962
|
**/
|
|
966
963
|
erasStakersPaged: GenericStorageQuery<
|
|
967
|
-
Rv,
|
|
968
964
|
(arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined,
|
|
969
965
|
[number, AccountId32, number]
|
|
970
966
|
>;
|
|
@@ -980,7 +976,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
980
976
|
* @param {[number, AccountId32Like]} arg
|
|
981
977
|
* @param {Callback<Array<number>> =} callback
|
|
982
978
|
**/
|
|
983
|
-
claimedRewards: GenericStorageQuery<
|
|
979
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
984
980
|
|
|
985
981
|
/**
|
|
986
982
|
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
@@ -993,7 +989,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
993
989
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
994
990
|
**/
|
|
995
991
|
erasValidatorPrefs: GenericStorageQuery<
|
|
996
|
-
Rv,
|
|
997
992
|
(arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs,
|
|
998
993
|
[number, AccountId32]
|
|
999
994
|
>;
|
|
@@ -1006,7 +1001,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1006
1001
|
* @param {number} arg
|
|
1007
1002
|
* @param {Callback<bigint | undefined> =} callback
|
|
1008
1003
|
**/
|
|
1009
|
-
erasValidatorReward: GenericStorageQuery<
|
|
1004
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
1010
1005
|
|
|
1011
1006
|
/**
|
|
1012
1007
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1015,7 +1010,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1015
1010
|
* @param {number} arg
|
|
1016
1011
|
* @param {Callback<PalletStakingEraRewardPoints> =} callback
|
|
1017
1012
|
**/
|
|
1018
|
-
erasRewardPoints: GenericStorageQuery<
|
|
1013
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
|
|
1019
1014
|
|
|
1020
1015
|
/**
|
|
1021
1016
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1024,14 +1019,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1024
1019
|
* @param {number} arg
|
|
1025
1020
|
* @param {Callback<bigint> =} callback
|
|
1026
1021
|
**/
|
|
1027
|
-
erasTotalStake: GenericStorageQuery<
|
|
1022
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
1028
1023
|
|
|
1029
1024
|
/**
|
|
1030
1025
|
* Mode of era forcing.
|
|
1031
1026
|
*
|
|
1032
1027
|
* @param {Callback<PalletStakingForcing> =} callback
|
|
1033
1028
|
**/
|
|
1034
|
-
forceEra: GenericStorageQuery<
|
|
1029
|
+
forceEra: GenericStorageQuery<() => PalletStakingForcing>;
|
|
1035
1030
|
|
|
1036
1031
|
/**
|
|
1037
1032
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -1040,7 +1035,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1040
1035
|
*
|
|
1041
1036
|
* @param {Callback<Percent | undefined> =} callback
|
|
1042
1037
|
**/
|
|
1043
|
-
maxStakedRewards: GenericStorageQuery<
|
|
1038
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
1044
1039
|
|
|
1045
1040
|
/**
|
|
1046
1041
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -1049,7 +1044,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1049
1044
|
*
|
|
1050
1045
|
* @param {Callback<Perbill> =} callback
|
|
1051
1046
|
**/
|
|
1052
|
-
slashRewardFraction: GenericStorageQuery<
|
|
1047
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
1053
1048
|
|
|
1054
1049
|
/**
|
|
1055
1050
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -1057,7 +1052,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1057
1052
|
*
|
|
1058
1053
|
* @param {Callback<bigint> =} callback
|
|
1059
1054
|
**/
|
|
1060
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
1055
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
1061
1056
|
|
|
1062
1057
|
/**
|
|
1063
1058
|
* All unapplied slashes that are queued for later.
|
|
@@ -1065,7 +1060,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1065
1060
|
* @param {number} arg
|
|
1066
1061
|
* @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
|
|
1067
1062
|
**/
|
|
1068
|
-
unappliedSlashes: GenericStorageQuery<
|
|
1063
|
+
unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
|
|
1069
1064
|
|
|
1070
1065
|
/**
|
|
1071
1066
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -1075,7 +1070,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1075
1070
|
*
|
|
1076
1071
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
1077
1072
|
**/
|
|
1078
|
-
bondedEras: GenericStorageQuery<
|
|
1073
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
1079
1074
|
|
|
1080
1075
|
/**
|
|
1081
1076
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -1085,7 +1080,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1085
1080
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
1086
1081
|
**/
|
|
1087
1082
|
validatorSlashInEra: GenericStorageQuery<
|
|
1088
|
-
Rv,
|
|
1089
1083
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
1090
1084
|
[number, AccountId32]
|
|
1091
1085
|
>;
|
|
@@ -1097,7 +1091,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1097
1091
|
* @param {Callback<bigint | undefined> =} callback
|
|
1098
1092
|
**/
|
|
1099
1093
|
nominatorSlashInEra: GenericStorageQuery<
|
|
1100
|
-
Rv,
|
|
1101
1094
|
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
1102
1095
|
[number, AccountId32]
|
|
1103
1096
|
>;
|
|
@@ -1109,7 +1102,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1109
1102
|
* @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
|
|
1110
1103
|
**/
|
|
1111
1104
|
slashingSpans: GenericStorageQuery<
|
|
1112
|
-
Rv,
|
|
1113
1105
|
(arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined,
|
|
1114
1106
|
AccountId32
|
|
1115
1107
|
>;
|
|
@@ -1122,7 +1114,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1122
1114
|
* @param {Callback<PalletStakingSlashingSpanRecord> =} callback
|
|
1123
1115
|
**/
|
|
1124
1116
|
spanSlash: GenericStorageQuery<
|
|
1125
|
-
Rv,
|
|
1126
1117
|
(arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord,
|
|
1127
1118
|
[AccountId32, number]
|
|
1128
1119
|
>;
|
|
@@ -1134,7 +1125,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1134
1125
|
*
|
|
1135
1126
|
* @param {Callback<number> =} callback
|
|
1136
1127
|
**/
|
|
1137
|
-
currentPlannedSession: GenericStorageQuery<
|
|
1128
|
+
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1138
1129
|
|
|
1139
1130
|
/**
|
|
1140
1131
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
@@ -1143,12 +1134,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1143
1134
|
*
|
|
1144
1135
|
* @param {Callback<Percent | undefined> =} callback
|
|
1145
1136
|
**/
|
|
1146
|
-
chillThreshold: GenericStorageQuery<
|
|
1137
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
1147
1138
|
|
|
1148
1139
|
/**
|
|
1149
1140
|
* Generic pallet storage query
|
|
1150
1141
|
**/
|
|
1151
|
-
[storage: string]: GenericStorageQuery
|
|
1142
|
+
[storage: string]: GenericStorageQuery;
|
|
1152
1143
|
};
|
|
1153
1144
|
/**
|
|
1154
1145
|
* Pallet `Offences`'s storage queries
|
|
@@ -1160,7 +1151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1160
1151
|
* @param {H256} arg
|
|
1161
1152
|
* @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
|
|
1162
1153
|
**/
|
|
1163
|
-
reports: GenericStorageQuery<
|
|
1154
|
+
reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
|
|
1164
1155
|
|
|
1165
1156
|
/**
|
|
1166
1157
|
* A vector of reports of the same kind that happened at the same time slot.
|
|
@@ -1169,7 +1160,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1169
1160
|
* @param {Callback<Array<H256>> =} callback
|
|
1170
1161
|
**/
|
|
1171
1162
|
concurrentReportsIndex: GenericStorageQuery<
|
|
1172
|
-
Rv,
|
|
1173
1163
|
(arg: [FixedBytes<16>, BytesLike]) => Array<H256>,
|
|
1174
1164
|
[FixedBytes<16>, Bytes]
|
|
1175
1165
|
>;
|
|
@@ -1177,7 +1167,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1177
1167
|
/**
|
|
1178
1168
|
* Generic pallet storage query
|
|
1179
1169
|
**/
|
|
1180
|
-
[storage: string]: GenericStorageQuery
|
|
1170
|
+
[storage: string]: GenericStorageQuery;
|
|
1181
1171
|
};
|
|
1182
1172
|
/**
|
|
1183
1173
|
* Pallet `Historical`'s storage queries
|
|
@@ -1189,19 +1179,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1189
1179
|
* @param {number} arg
|
|
1190
1180
|
* @param {Callback<[H256, number] | undefined> =} callback
|
|
1191
1181
|
**/
|
|
1192
|
-
historicalSessions: GenericStorageQuery<
|
|
1182
|
+
historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
|
|
1193
1183
|
|
|
1194
1184
|
/**
|
|
1195
1185
|
* The range of historical sessions we store. [first, last)
|
|
1196
1186
|
*
|
|
1197
1187
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1198
1188
|
**/
|
|
1199
|
-
storedRange: GenericStorageQuery<
|
|
1189
|
+
storedRange: GenericStorageQuery<() => [number, number] | undefined>;
|
|
1200
1190
|
|
|
1201
1191
|
/**
|
|
1202
1192
|
* Generic pallet storage query
|
|
1203
1193
|
**/
|
|
1204
|
-
[storage: string]: GenericStorageQuery
|
|
1194
|
+
[storage: string]: GenericStorageQuery;
|
|
1205
1195
|
};
|
|
1206
1196
|
/**
|
|
1207
1197
|
* Pallet `Session`'s storage queries
|
|
@@ -1212,14 +1202,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1212
1202
|
*
|
|
1213
1203
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1214
1204
|
**/
|
|
1215
|
-
validators: GenericStorageQuery<
|
|
1205
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1216
1206
|
|
|
1217
1207
|
/**
|
|
1218
1208
|
* Current index of the session.
|
|
1219
1209
|
*
|
|
1220
1210
|
* @param {Callback<number> =} callback
|
|
1221
1211
|
**/
|
|
1222
|
-
currentIndex: GenericStorageQuery<
|
|
1212
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1223
1213
|
|
|
1224
1214
|
/**
|
|
1225
1215
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1227,7 +1217,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1227
1217
|
*
|
|
1228
1218
|
* @param {Callback<boolean> =} callback
|
|
1229
1219
|
**/
|
|
1230
|
-
queuedChanged: GenericStorageQuery<
|
|
1220
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1231
1221
|
|
|
1232
1222
|
/**
|
|
1233
1223
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1235,7 +1225,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1235
1225
|
*
|
|
1236
1226
|
* @param {Callback<Array<[AccountId32, StagingKusamaRuntimeSessionKeys]>> =} callback
|
|
1237
1227
|
**/
|
|
1238
|
-
queuedKeys: GenericStorageQuery<
|
|
1228
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, StagingKusamaRuntimeSessionKeys]>>;
|
|
1239
1229
|
|
|
1240
1230
|
/**
|
|
1241
1231
|
* Indices of disabled validators.
|
|
@@ -1246,7 +1236,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1246
1236
|
*
|
|
1247
1237
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1248
1238
|
**/
|
|
1249
|
-
disabledValidators: GenericStorageQuery<
|
|
1239
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1250
1240
|
|
|
1251
1241
|
/**
|
|
1252
1242
|
* The next session keys for a validator.
|
|
@@ -1254,11 +1244,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1254
1244
|
* @param {AccountId32Like} arg
|
|
1255
1245
|
* @param {Callback<StagingKusamaRuntimeSessionKeys | undefined> =} callback
|
|
1256
1246
|
**/
|
|
1257
|
-
nextKeys: GenericStorageQuery<
|
|
1258
|
-
Rv,
|
|
1259
|
-
(arg: AccountId32Like) => StagingKusamaRuntimeSessionKeys | undefined,
|
|
1260
|
-
AccountId32
|
|
1261
|
-
>;
|
|
1247
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => StagingKusamaRuntimeSessionKeys | undefined, AccountId32>;
|
|
1262
1248
|
|
|
1263
1249
|
/**
|
|
1264
1250
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1267,7 +1253,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1267
1253
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1268
1254
|
**/
|
|
1269
1255
|
keyOwner: GenericStorageQuery<
|
|
1270
|
-
Rv,
|
|
1271
1256
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1272
1257
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1273
1258
|
>;
|
|
@@ -1275,7 +1260,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1275
1260
|
/**
|
|
1276
1261
|
* Generic pallet storage query
|
|
1277
1262
|
**/
|
|
1278
|
-
[storage: string]: GenericStorageQuery
|
|
1263
|
+
[storage: string]: GenericStorageQuery;
|
|
1279
1264
|
};
|
|
1280
1265
|
/**
|
|
1281
1266
|
* Pallet `Grandpa`'s storage queries
|
|
@@ -1286,28 +1271,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1286
1271
|
*
|
|
1287
1272
|
* @param {Callback<PalletGrandpaStoredState> =} callback
|
|
1288
1273
|
**/
|
|
1289
|
-
state: GenericStorageQuery<
|
|
1274
|
+
state: GenericStorageQuery<() => PalletGrandpaStoredState>;
|
|
1290
1275
|
|
|
1291
1276
|
/**
|
|
1292
1277
|
* Pending change: (signaled at, scheduled change).
|
|
1293
1278
|
*
|
|
1294
1279
|
* @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
|
|
1295
1280
|
**/
|
|
1296
|
-
pendingChange: GenericStorageQuery<
|
|
1281
|
+
pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
|
|
1297
1282
|
|
|
1298
1283
|
/**
|
|
1299
1284
|
* next block number where we can force a change.
|
|
1300
1285
|
*
|
|
1301
1286
|
* @param {Callback<number | undefined> =} callback
|
|
1302
1287
|
**/
|
|
1303
|
-
nextForced: GenericStorageQuery<
|
|
1288
|
+
nextForced: GenericStorageQuery<() => number | undefined>;
|
|
1304
1289
|
|
|
1305
1290
|
/**
|
|
1306
1291
|
* `true` if we are currently stalled.
|
|
1307
1292
|
*
|
|
1308
1293
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1309
1294
|
**/
|
|
1310
|
-
stalled: GenericStorageQuery<
|
|
1295
|
+
stalled: GenericStorageQuery<() => [number, number] | undefined>;
|
|
1311
1296
|
|
|
1312
1297
|
/**
|
|
1313
1298
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
@@ -1315,7 +1300,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1315
1300
|
*
|
|
1316
1301
|
* @param {Callback<bigint> =} callback
|
|
1317
1302
|
**/
|
|
1318
|
-
currentSetId: GenericStorageQuery<
|
|
1303
|
+
currentSetId: GenericStorageQuery<() => bigint>;
|
|
1319
1304
|
|
|
1320
1305
|
/**
|
|
1321
1306
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
@@ -1332,19 +1317,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1332
1317
|
* @param {bigint} arg
|
|
1333
1318
|
* @param {Callback<number | undefined> =} callback
|
|
1334
1319
|
**/
|
|
1335
|
-
setIdSession: GenericStorageQuery<
|
|
1320
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
1336
1321
|
|
|
1337
1322
|
/**
|
|
1338
1323
|
* The current list of authorities.
|
|
1339
1324
|
*
|
|
1340
1325
|
* @param {Callback<Array<[SpConsensusGrandpaAppPublic, bigint]>> =} callback
|
|
1341
1326
|
**/
|
|
1342
|
-
authorities: GenericStorageQuery<
|
|
1327
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
|
|
1343
1328
|
|
|
1344
1329
|
/**
|
|
1345
1330
|
* Generic pallet storage query
|
|
1346
1331
|
**/
|
|
1347
|
-
[storage: string]: GenericStorageQuery
|
|
1332
|
+
[storage: string]: GenericStorageQuery;
|
|
1348
1333
|
};
|
|
1349
1334
|
/**
|
|
1350
1335
|
* Pallet `AuthorityDiscovery`'s storage queries
|
|
@@ -1355,19 +1340,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1355
1340
|
*
|
|
1356
1341
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
1357
1342
|
**/
|
|
1358
|
-
keys: GenericStorageQuery<
|
|
1343
|
+
keys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
1359
1344
|
|
|
1360
1345
|
/**
|
|
1361
1346
|
* Keys of the next authority set.
|
|
1362
1347
|
*
|
|
1363
1348
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
1364
1349
|
**/
|
|
1365
|
-
nextKeys: GenericStorageQuery<
|
|
1350
|
+
nextKeys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
1366
1351
|
|
|
1367
1352
|
/**
|
|
1368
1353
|
* Generic pallet storage query
|
|
1369
1354
|
**/
|
|
1370
|
-
[storage: string]: GenericStorageQuery
|
|
1355
|
+
[storage: string]: GenericStorageQuery;
|
|
1371
1356
|
};
|
|
1372
1357
|
/**
|
|
1373
1358
|
* Pallet `Treasury`'s storage queries
|
|
@@ -1381,7 +1366,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1381
1366
|
*
|
|
1382
1367
|
* @param {Callback<number> =} callback
|
|
1383
1368
|
**/
|
|
1384
|
-
proposalCount: GenericStorageQuery<
|
|
1369
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1385
1370
|
|
|
1386
1371
|
/**
|
|
1387
1372
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1392,14 +1377,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1392
1377
|
* @param {number} arg
|
|
1393
1378
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
1394
1379
|
**/
|
|
1395
|
-
proposals: GenericStorageQuery<
|
|
1380
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
1396
1381
|
|
|
1397
1382
|
/**
|
|
1398
1383
|
* The amount which has been reported as inactive to Currency.
|
|
1399
1384
|
*
|
|
1400
1385
|
* @param {Callback<bigint> =} callback
|
|
1401
1386
|
**/
|
|
1402
|
-
deactivated: GenericStorageQuery<
|
|
1387
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
1403
1388
|
|
|
1404
1389
|
/**
|
|
1405
1390
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1409,14 +1394,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1409
1394
|
*
|
|
1410
1395
|
* @param {Callback<Array<number>> =} callback
|
|
1411
1396
|
**/
|
|
1412
|
-
approvals: GenericStorageQuery<
|
|
1397
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
1413
1398
|
|
|
1414
1399
|
/**
|
|
1415
1400
|
* The count of spends that have been made.
|
|
1416
1401
|
*
|
|
1417
1402
|
* @param {Callback<number> =} callback
|
|
1418
1403
|
**/
|
|
1419
|
-
spendCount: GenericStorageQuery<
|
|
1404
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
1420
1405
|
|
|
1421
1406
|
/**
|
|
1422
1407
|
* Spends that have been approved and being processed.
|
|
@@ -1424,19 +1409,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1424
1409
|
* @param {number} arg
|
|
1425
1410
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
1426
1411
|
**/
|
|
1427
|
-
spends: GenericStorageQuery<
|
|
1412
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1428
1413
|
|
|
1429
1414
|
/**
|
|
1430
1415
|
* The blocknumber for the last triggered spend period.
|
|
1431
1416
|
*
|
|
1432
1417
|
* @param {Callback<number | undefined> =} callback
|
|
1433
1418
|
**/
|
|
1434
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
1419
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
1435
1420
|
|
|
1436
1421
|
/**
|
|
1437
1422
|
* Generic pallet storage query
|
|
1438
1423
|
**/
|
|
1439
|
-
[storage: string]: GenericStorageQuery
|
|
1424
|
+
[storage: string]: GenericStorageQuery;
|
|
1440
1425
|
};
|
|
1441
1426
|
/**
|
|
1442
1427
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -1450,7 +1435,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1450
1435
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
1451
1436
|
**/
|
|
1452
1437
|
votingFor: GenericStorageQuery<
|
|
1453
|
-
Rv,
|
|
1454
1438
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
1455
1439
|
[AccountId32, number]
|
|
1456
1440
|
>;
|
|
@@ -1463,12 +1447,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1463
1447
|
* @param {AccountId32Like} arg
|
|
1464
1448
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1465
1449
|
**/
|
|
1466
|
-
classLocksFor: GenericStorageQuery<
|
|
1450
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
1467
1451
|
|
|
1468
1452
|
/**
|
|
1469
1453
|
* Generic pallet storage query
|
|
1470
1454
|
**/
|
|
1471
|
-
[storage: string]: GenericStorageQuery
|
|
1455
|
+
[storage: string]: GenericStorageQuery;
|
|
1472
1456
|
};
|
|
1473
1457
|
/**
|
|
1474
1458
|
* Pallet `Referenda`'s storage queries
|
|
@@ -1479,7 +1463,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1479
1463
|
*
|
|
1480
1464
|
* @param {Callback<number> =} callback
|
|
1481
1465
|
**/
|
|
1482
|
-
referendumCount: GenericStorageQuery<
|
|
1466
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1483
1467
|
|
|
1484
1468
|
/**
|
|
1485
1469
|
* Information concerning any given referendum.
|
|
@@ -1487,7 +1471,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1487
1471
|
* @param {number} arg
|
|
1488
1472
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
1489
1473
|
**/
|
|
1490
|
-
referendumInfoFor: GenericStorageQuery<
|
|
1474
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
1491
1475
|
|
|
1492
1476
|
/**
|
|
1493
1477
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -1498,7 +1482,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1498
1482
|
* @param {number} arg
|
|
1499
1483
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1500
1484
|
**/
|
|
1501
|
-
trackQueue: GenericStorageQuery<
|
|
1485
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
1502
1486
|
|
|
1503
1487
|
/**
|
|
1504
1488
|
* The number of referenda being decided currently.
|
|
@@ -1506,7 +1490,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1506
1490
|
* @param {number} arg
|
|
1507
1491
|
* @param {Callback<number> =} callback
|
|
1508
1492
|
**/
|
|
1509
|
-
decidingCount: GenericStorageQuery<
|
|
1493
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1510
1494
|
|
|
1511
1495
|
/**
|
|
1512
1496
|
* The metadata is a general information concerning the referendum.
|
|
@@ -1519,12 +1503,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1519
1503
|
* @param {number} arg
|
|
1520
1504
|
* @param {Callback<H256 | undefined> =} callback
|
|
1521
1505
|
**/
|
|
1522
|
-
metadataOf: GenericStorageQuery<
|
|
1506
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
1523
1507
|
|
|
1524
1508
|
/**
|
|
1525
1509
|
* Generic pallet storage query
|
|
1526
1510
|
**/
|
|
1527
|
-
[storage: string]: GenericStorageQuery
|
|
1511
|
+
[storage: string]: GenericStorageQuery;
|
|
1528
1512
|
};
|
|
1529
1513
|
/**
|
|
1530
1514
|
* Pallet `FellowshipCollective`'s storage queries
|
|
@@ -1537,7 +1521,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1537
1521
|
* @param {number} arg
|
|
1538
1522
|
* @param {Callback<number> =} callback
|
|
1539
1523
|
**/
|
|
1540
|
-
memberCount: GenericStorageQuery<
|
|
1524
|
+
memberCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1541
1525
|
|
|
1542
1526
|
/**
|
|
1543
1527
|
* The current members of the collective.
|
|
@@ -1545,11 +1529,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1545
1529
|
* @param {AccountId32Like} arg
|
|
1546
1530
|
* @param {Callback<PalletRankedCollectiveMemberRecord | undefined> =} callback
|
|
1547
1531
|
**/
|
|
1548
|
-
members: GenericStorageQuery<
|
|
1549
|
-
Rv,
|
|
1550
|
-
(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined,
|
|
1551
|
-
AccountId32
|
|
1552
|
-
>;
|
|
1532
|
+
members: GenericStorageQuery<(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined, AccountId32>;
|
|
1553
1533
|
|
|
1554
1534
|
/**
|
|
1555
1535
|
* The index of each ranks's member into the group of members who have at least that rank.
|
|
@@ -1557,7 +1537,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1557
1537
|
* @param {[number, AccountId32Like]} arg
|
|
1558
1538
|
* @param {Callback<number | undefined> =} callback
|
|
1559
1539
|
**/
|
|
1560
|
-
idToIndex: GenericStorageQuery<
|
|
1540
|
+
idToIndex: GenericStorageQuery<(arg: [number, AccountId32Like]) => number | undefined, [number, AccountId32]>;
|
|
1561
1541
|
|
|
1562
1542
|
/**
|
|
1563
1543
|
* The members in the collective by index. All indices in the range `0..MemberCount` will
|
|
@@ -1566,7 +1546,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1566
1546
|
* @param {[number, number]} arg
|
|
1567
1547
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1568
1548
|
**/
|
|
1569
|
-
indexToId: GenericStorageQuery<
|
|
1549
|
+
indexToId: GenericStorageQuery<(arg: [number, number]) => AccountId32 | undefined, [number, number]>;
|
|
1570
1550
|
|
|
1571
1551
|
/**
|
|
1572
1552
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -1575,7 +1555,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1575
1555
|
* @param {Callback<PalletRankedCollectiveVoteRecord | undefined> =} callback
|
|
1576
1556
|
**/
|
|
1577
1557
|
voting: GenericStorageQuery<
|
|
1578
|
-
Rv,
|
|
1579
1558
|
(arg: [number, AccountId32Like]) => PalletRankedCollectiveVoteRecord | undefined,
|
|
1580
1559
|
[number, AccountId32]
|
|
1581
1560
|
>;
|
|
@@ -1585,12 +1564,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1585
1564
|
* @param {number} arg
|
|
1586
1565
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1587
1566
|
**/
|
|
1588
|
-
votingCleanup: GenericStorageQuery<
|
|
1567
|
+
votingCleanup: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
1589
1568
|
|
|
1590
1569
|
/**
|
|
1591
1570
|
* Generic pallet storage query
|
|
1592
1571
|
**/
|
|
1593
|
-
[storage: string]: GenericStorageQuery
|
|
1572
|
+
[storage: string]: GenericStorageQuery;
|
|
1594
1573
|
};
|
|
1595
1574
|
/**
|
|
1596
1575
|
* Pallet `FellowshipReferenda`'s storage queries
|
|
@@ -1601,7 +1580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1601
1580
|
*
|
|
1602
1581
|
* @param {Callback<number> =} callback
|
|
1603
1582
|
**/
|
|
1604
|
-
referendumCount: GenericStorageQuery<
|
|
1583
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1605
1584
|
|
|
1606
1585
|
/**
|
|
1607
1586
|
* Information concerning any given referendum.
|
|
@@ -1609,7 +1588,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1609
1588
|
* @param {number} arg
|
|
1610
1589
|
* @param {Callback<PalletReferendaReferendumInfoTally | undefined> =} callback
|
|
1611
1590
|
**/
|
|
1612
|
-
referendumInfoFor: GenericStorageQuery<
|
|
1591
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfoTally | undefined, number>;
|
|
1613
1592
|
|
|
1614
1593
|
/**
|
|
1615
1594
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -1620,7 +1599,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1620
1599
|
* @param {number} arg
|
|
1621
1600
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
1622
1601
|
**/
|
|
1623
|
-
trackQueue: GenericStorageQuery<
|
|
1602
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, number]>, number>;
|
|
1624
1603
|
|
|
1625
1604
|
/**
|
|
1626
1605
|
* The number of referenda being decided currently.
|
|
@@ -1628,7 +1607,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1628
1607
|
* @param {number} arg
|
|
1629
1608
|
* @param {Callback<number> =} callback
|
|
1630
1609
|
**/
|
|
1631
|
-
decidingCount: GenericStorageQuery<
|
|
1610
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1632
1611
|
|
|
1633
1612
|
/**
|
|
1634
1613
|
* The metadata is a general information concerning the referendum.
|
|
@@ -1641,12 +1620,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1641
1620
|
* @param {number} arg
|
|
1642
1621
|
* @param {Callback<H256 | undefined> =} callback
|
|
1643
1622
|
**/
|
|
1644
|
-
metadataOf: GenericStorageQuery<
|
|
1623
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
1645
1624
|
|
|
1646
1625
|
/**
|
|
1647
1626
|
* Generic pallet storage query
|
|
1648
1627
|
**/
|
|
1649
|
-
[storage: string]: GenericStorageQuery
|
|
1628
|
+
[storage: string]: GenericStorageQuery;
|
|
1650
1629
|
};
|
|
1651
1630
|
/**
|
|
1652
1631
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -1657,12 +1636,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1657
1636
|
* @param {H256} arg
|
|
1658
1637
|
* @param {Callback<[] | undefined> =} callback
|
|
1659
1638
|
**/
|
|
1660
|
-
whitelistedCall: GenericStorageQuery<
|
|
1639
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
1661
1640
|
|
|
1662
1641
|
/**
|
|
1663
1642
|
* Generic pallet storage query
|
|
1664
1643
|
**/
|
|
1665
|
-
[storage: string]: GenericStorageQuery
|
|
1644
|
+
[storage: string]: GenericStorageQuery;
|
|
1666
1645
|
};
|
|
1667
1646
|
/**
|
|
1668
1647
|
* Pallet `Parameters`'s storage queries
|
|
@@ -1675,7 +1654,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1675
1654
|
* @param {Callback<StagingKusamaRuntimeRuntimeParametersValue | undefined> =} callback
|
|
1676
1655
|
**/
|
|
1677
1656
|
parameters: GenericStorageQuery<
|
|
1678
|
-
Rv,
|
|
1679
1657
|
(arg: StagingKusamaRuntimeRuntimeParametersKey) => StagingKusamaRuntimeRuntimeParametersValue | undefined,
|
|
1680
1658
|
StagingKusamaRuntimeRuntimeParametersKey
|
|
1681
1659
|
>;
|
|
@@ -1683,7 +1661,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1683
1661
|
/**
|
|
1684
1662
|
* Generic pallet storage query
|
|
1685
1663
|
**/
|
|
1686
|
-
[storage: string]: GenericStorageQuery
|
|
1664
|
+
[storage: string]: GenericStorageQuery;
|
|
1687
1665
|
};
|
|
1688
1666
|
/**
|
|
1689
1667
|
* Pallet `Claims`'s storage queries
|
|
@@ -1694,13 +1672,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1694
1672
|
* @param {EthereumAddressLike} arg
|
|
1695
1673
|
* @param {Callback<bigint | undefined> =} callback
|
|
1696
1674
|
**/
|
|
1697
|
-
claims: GenericStorageQuery<
|
|
1675
|
+
claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
|
|
1698
1676
|
|
|
1699
1677
|
/**
|
|
1700
1678
|
*
|
|
1701
1679
|
* @param {Callback<bigint> =} callback
|
|
1702
1680
|
**/
|
|
1703
|
-
total: GenericStorageQuery<
|
|
1681
|
+
total: GenericStorageQuery<() => bigint>;
|
|
1704
1682
|
|
|
1705
1683
|
/**
|
|
1706
1684
|
* Vesting schedule for a claim.
|
|
@@ -1711,11 +1689,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1711
1689
|
* @param {EthereumAddressLike} arg
|
|
1712
1690
|
* @param {Callback<[bigint, bigint, number] | undefined> =} callback
|
|
1713
1691
|
**/
|
|
1714
|
-
vesting: GenericStorageQuery<
|
|
1715
|
-
Rv,
|
|
1716
|
-
(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined,
|
|
1717
|
-
EthereumAddress
|
|
1718
|
-
>;
|
|
1692
|
+
vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined, EthereumAddress>;
|
|
1719
1693
|
|
|
1720
1694
|
/**
|
|
1721
1695
|
* The statement kind that must be signed, if any.
|
|
@@ -1724,7 +1698,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1724
1698
|
* @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
|
|
1725
1699
|
**/
|
|
1726
1700
|
signing: GenericStorageQuery<
|
|
1727
|
-
Rv,
|
|
1728
1701
|
(arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined,
|
|
1729
1702
|
EthereumAddress
|
|
1730
1703
|
>;
|
|
@@ -1735,12 +1708,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1735
1708
|
* @param {AccountId32Like} arg
|
|
1736
1709
|
* @param {Callback<EthereumAddress | undefined> =} callback
|
|
1737
1710
|
**/
|
|
1738
|
-
preclaims: GenericStorageQuery<
|
|
1711
|
+
preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
|
|
1739
1712
|
|
|
1740
1713
|
/**
|
|
1741
1714
|
* Generic pallet storage query
|
|
1742
1715
|
**/
|
|
1743
|
-
[storage: string]: GenericStorageQuery
|
|
1716
|
+
[storage: string]: GenericStorageQuery;
|
|
1744
1717
|
};
|
|
1745
1718
|
/**
|
|
1746
1719
|
* Pallet `Society`'s storage queries
|
|
@@ -1751,28 +1724,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1751
1724
|
*
|
|
1752
1725
|
* @param {Callback<PalletSocietyGroupParams | undefined> =} callback
|
|
1753
1726
|
**/
|
|
1754
|
-
parameters: GenericStorageQuery<
|
|
1727
|
+
parameters: GenericStorageQuery<() => PalletSocietyGroupParams | undefined>;
|
|
1755
1728
|
|
|
1756
1729
|
/**
|
|
1757
1730
|
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
1758
1731
|
*
|
|
1759
1732
|
* @param {Callback<bigint> =} callback
|
|
1760
1733
|
**/
|
|
1761
|
-
pot: GenericStorageQuery<
|
|
1734
|
+
pot: GenericStorageQuery<() => bigint>;
|
|
1762
1735
|
|
|
1763
1736
|
/**
|
|
1764
1737
|
* The first member.
|
|
1765
1738
|
*
|
|
1766
1739
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1767
1740
|
**/
|
|
1768
|
-
founder: GenericStorageQuery<
|
|
1741
|
+
founder: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1769
1742
|
|
|
1770
1743
|
/**
|
|
1771
1744
|
* The most primary from the most recently approved rank 0 members in the society.
|
|
1772
1745
|
*
|
|
1773
1746
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1774
1747
|
**/
|
|
1775
|
-
head: GenericStorageQuery<
|
|
1748
|
+
head: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1776
1749
|
|
|
1777
1750
|
/**
|
|
1778
1751
|
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
@@ -1780,7 +1753,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1780
1753
|
*
|
|
1781
1754
|
* @param {Callback<H256 | undefined> =} callback
|
|
1782
1755
|
**/
|
|
1783
|
-
rules: GenericStorageQuery<
|
|
1756
|
+
rules: GenericStorageQuery<() => H256 | undefined>;
|
|
1784
1757
|
|
|
1785
1758
|
/**
|
|
1786
1759
|
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
|
@@ -1788,7 +1761,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1788
1761
|
* @param {AccountId32Like} arg
|
|
1789
1762
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
1790
1763
|
**/
|
|
1791
|
-
members: GenericStorageQuery<
|
|
1764
|
+
members: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
1792
1765
|
|
|
1793
1766
|
/**
|
|
1794
1767
|
* Information regarding rank-0 payouts, past and future.
|
|
@@ -1796,14 +1769,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1796
1769
|
* @param {AccountId32Like} arg
|
|
1797
1770
|
* @param {Callback<PalletSocietyPayoutRecord> =} callback
|
|
1798
1771
|
**/
|
|
1799
|
-
payouts: GenericStorageQuery<
|
|
1772
|
+
payouts: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyPayoutRecord, AccountId32>;
|
|
1800
1773
|
|
|
1801
1774
|
/**
|
|
1802
1775
|
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
|
1803
1776
|
*
|
|
1804
1777
|
* @param {Callback<number> =} callback
|
|
1805
1778
|
**/
|
|
1806
|
-
memberCount: GenericStorageQuery<
|
|
1779
|
+
memberCount: GenericStorageQuery<() => number>;
|
|
1807
1780
|
|
|
1808
1781
|
/**
|
|
1809
1782
|
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
|
@@ -1812,7 +1785,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1812
1785
|
* @param {number} arg
|
|
1813
1786
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1814
1787
|
**/
|
|
1815
|
-
memberByIndex: GenericStorageQuery<
|
|
1788
|
+
memberByIndex: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
|
|
1816
1789
|
|
|
1817
1790
|
/**
|
|
1818
1791
|
* The set of suspended members, with their old membership record.
|
|
@@ -1820,39 +1793,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1820
1793
|
* @param {AccountId32Like} arg
|
|
1821
1794
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
1822
1795
|
**/
|
|
1823
|
-
suspendedMembers: GenericStorageQuery<
|
|
1824
|
-
Rv,
|
|
1825
|
-
(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined,
|
|
1826
|
-
AccountId32
|
|
1827
|
-
>;
|
|
1796
|
+
suspendedMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
1828
1797
|
|
|
1829
1798
|
/**
|
|
1830
1799
|
* The number of rounds which have passed.
|
|
1831
1800
|
*
|
|
1832
1801
|
* @param {Callback<number> =} callback
|
|
1833
1802
|
**/
|
|
1834
|
-
roundCount: GenericStorageQuery<
|
|
1803
|
+
roundCount: GenericStorageQuery<() => number>;
|
|
1835
1804
|
|
|
1836
1805
|
/**
|
|
1837
1806
|
* The current bids, stored ordered by the value of the bid.
|
|
1838
1807
|
*
|
|
1839
1808
|
* @param {Callback<Array<PalletSocietyBid>> =} callback
|
|
1840
1809
|
**/
|
|
1841
|
-
bids: GenericStorageQuery<
|
|
1810
|
+
bids: GenericStorageQuery<() => Array<PalletSocietyBid>>;
|
|
1842
1811
|
|
|
1843
1812
|
/**
|
|
1844
1813
|
*
|
|
1845
1814
|
* @param {AccountId32Like} arg
|
|
1846
1815
|
* @param {Callback<PalletSocietyCandidacy | undefined> =} callback
|
|
1847
1816
|
**/
|
|
1848
|
-
candidates: GenericStorageQuery<
|
|
1817
|
+
candidates: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyCandidacy | undefined, AccountId32>;
|
|
1849
1818
|
|
|
1850
1819
|
/**
|
|
1851
1820
|
* The current skeptic.
|
|
1852
1821
|
*
|
|
1853
1822
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1854
1823
|
**/
|
|
1855
|
-
skeptic: GenericStorageQuery<
|
|
1824
|
+
skeptic: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1856
1825
|
|
|
1857
1826
|
/**
|
|
1858
1827
|
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
@@ -1861,7 +1830,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1861
1830
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
1862
1831
|
**/
|
|
1863
1832
|
votes: GenericStorageQuery<
|
|
1864
|
-
Rv,
|
|
1865
1833
|
(arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
1866
1834
|
[AccountId32, AccountId32]
|
|
1867
1835
|
>;
|
|
@@ -1872,7 +1840,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1872
1840
|
* @param {AccountId32Like} arg
|
|
1873
1841
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1874
1842
|
**/
|
|
1875
|
-
voteClearCursor: GenericStorageQuery<
|
|
1843
|
+
voteClearCursor: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1876
1844
|
|
|
1877
1845
|
/**
|
|
1878
1846
|
* At the end of the claim period, this contains the most recently approved members (along with
|
|
@@ -1881,21 +1849,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1881
1849
|
*
|
|
1882
1850
|
* @param {Callback<PalletSocietyIntakeRecord | undefined> =} callback
|
|
1883
1851
|
**/
|
|
1884
|
-
nextHead: GenericStorageQuery<
|
|
1852
|
+
nextHead: GenericStorageQuery<() => PalletSocietyIntakeRecord | undefined>;
|
|
1885
1853
|
|
|
1886
1854
|
/**
|
|
1887
1855
|
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
|
1888
1856
|
*
|
|
1889
1857
|
* @param {Callback<number> =} callback
|
|
1890
1858
|
**/
|
|
1891
|
-
challengeRoundCount: GenericStorageQuery<
|
|
1859
|
+
challengeRoundCount: GenericStorageQuery<() => number>;
|
|
1892
1860
|
|
|
1893
1861
|
/**
|
|
1894
1862
|
* The defending member currently being challenged, along with a running tally of votes.
|
|
1895
1863
|
*
|
|
1896
1864
|
* @param {Callback<[AccountId32, AccountId32, PalletSocietyTally] | undefined> =} callback
|
|
1897
1865
|
**/
|
|
1898
|
-
defending: GenericStorageQuery<
|
|
1866
|
+
defending: GenericStorageQuery<() => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
|
|
1899
1867
|
|
|
1900
1868
|
/**
|
|
1901
1869
|
* Votes for the defender, keyed by challenge round.
|
|
@@ -1904,7 +1872,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1904
1872
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
1905
1873
|
**/
|
|
1906
1874
|
defenderVotes: GenericStorageQuery<
|
|
1907
|
-
Rv,
|
|
1908
1875
|
(arg: [number, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
1909
1876
|
[number, AccountId32]
|
|
1910
1877
|
>;
|
|
@@ -1914,19 +1881,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1914
1881
|
*
|
|
1915
1882
|
* @param {Callback<number | undefined> =} callback
|
|
1916
1883
|
**/
|
|
1917
|
-
nextIntakeAt: GenericStorageQuery<
|
|
1884
|
+
nextIntakeAt: GenericStorageQuery<() => number | undefined>;
|
|
1918
1885
|
|
|
1919
1886
|
/**
|
|
1920
1887
|
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
|
1921
1888
|
*
|
|
1922
1889
|
* @param {Callback<number | undefined> =} callback
|
|
1923
1890
|
**/
|
|
1924
|
-
nextChallengeAt: GenericStorageQuery<
|
|
1891
|
+
nextChallengeAt: GenericStorageQuery<() => number | undefined>;
|
|
1925
1892
|
|
|
1926
1893
|
/**
|
|
1927
1894
|
* Generic pallet storage query
|
|
1928
1895
|
**/
|
|
1929
|
-
[storage: string]: GenericStorageQuery
|
|
1896
|
+
[storage: string]: GenericStorageQuery;
|
|
1930
1897
|
};
|
|
1931
1898
|
/**
|
|
1932
1899
|
* Pallet `Recovery`'s storage queries
|
|
@@ -1938,11 +1905,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1938
1905
|
* @param {AccountId32Like} arg
|
|
1939
1906
|
* @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
|
|
1940
1907
|
**/
|
|
1941
|
-
recoverable: GenericStorageQuery<
|
|
1942
|
-
Rv,
|
|
1943
|
-
(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined,
|
|
1944
|
-
AccountId32
|
|
1945
|
-
>;
|
|
1908
|
+
recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
|
|
1946
1909
|
|
|
1947
1910
|
/**
|
|
1948
1911
|
* Active recovery attempts.
|
|
@@ -1954,7 +1917,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1954
1917
|
* @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
|
|
1955
1918
|
**/
|
|
1956
1919
|
activeRecoveries: GenericStorageQuery<
|
|
1957
|
-
Rv,
|
|
1958
1920
|
(arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined,
|
|
1959
1921
|
[AccountId32, AccountId32]
|
|
1960
1922
|
>;
|
|
@@ -1967,12 +1929,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1967
1929
|
* @param {AccountId32Like} arg
|
|
1968
1930
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1969
1931
|
**/
|
|
1970
|
-
proxy: GenericStorageQuery<
|
|
1932
|
+
proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
1971
1933
|
|
|
1972
1934
|
/**
|
|
1973
1935
|
* Generic pallet storage query
|
|
1974
1936
|
**/
|
|
1975
|
-
[storage: string]: GenericStorageQuery
|
|
1937
|
+
[storage: string]: GenericStorageQuery;
|
|
1976
1938
|
};
|
|
1977
1939
|
/**
|
|
1978
1940
|
* Pallet `Vesting`'s storage queries
|
|
@@ -1984,11 +1946,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1984
1946
|
* @param {AccountId32Like} arg
|
|
1985
1947
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
1986
1948
|
**/
|
|
1987
|
-
vesting: GenericStorageQuery<
|
|
1988
|
-
Rv,
|
|
1989
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
1990
|
-
AccountId32
|
|
1991
|
-
>;
|
|
1949
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
1992
1950
|
|
|
1993
1951
|
/**
|
|
1994
1952
|
* Storage version of the pallet.
|
|
@@ -1997,12 +1955,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1997
1955
|
*
|
|
1998
1956
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
1999
1957
|
**/
|
|
2000
|
-
storageVersion: GenericStorageQuery<
|
|
1958
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
2001
1959
|
|
|
2002
1960
|
/**
|
|
2003
1961
|
* Generic pallet storage query
|
|
2004
1962
|
**/
|
|
2005
|
-
[storage: string]: GenericStorageQuery
|
|
1963
|
+
[storage: string]: GenericStorageQuery;
|
|
2006
1964
|
};
|
|
2007
1965
|
/**
|
|
2008
1966
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -2013,7 +1971,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2013
1971
|
*
|
|
2014
1972
|
* @param {Callback<number | undefined> =} callback
|
|
2015
1973
|
**/
|
|
2016
|
-
incompleteSince: GenericStorageQuery<
|
|
1974
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
2017
1975
|
|
|
2018
1976
|
/**
|
|
2019
1977
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -2021,7 +1979,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2021
1979
|
* @param {number} arg
|
|
2022
1980
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
2023
1981
|
**/
|
|
2024
|
-
agenda: GenericStorageQuery<
|
|
1982
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
2025
1983
|
|
|
2026
1984
|
/**
|
|
2027
1985
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -2029,11 +1987,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2029
1987
|
* @param {[number, number]} arg
|
|
2030
1988
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
2031
1989
|
**/
|
|
2032
|
-
retries: GenericStorageQuery<
|
|
2033
|
-
Rv,
|
|
2034
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
2035
|
-
[number, number]
|
|
2036
|
-
>;
|
|
1990
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
2037
1991
|
|
|
2038
1992
|
/**
|
|
2039
1993
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -2044,12 +1998,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2044
1998
|
* @param {FixedBytes<32>} arg
|
|
2045
1999
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2046
2000
|
**/
|
|
2047
|
-
lookup: GenericStorageQuery<
|
|
2001
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
2048
2002
|
|
|
2049
2003
|
/**
|
|
2050
2004
|
* Generic pallet storage query
|
|
2051
2005
|
**/
|
|
2052
|
-
[storage: string]: GenericStorageQuery
|
|
2006
|
+
[storage: string]: GenericStorageQuery;
|
|
2053
2007
|
};
|
|
2054
2008
|
/**
|
|
2055
2009
|
* Pallet `Proxy`'s storage queries
|
|
@@ -2062,11 +2016,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2062
2016
|
* @param {AccountId32Like} arg
|
|
2063
2017
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
2064
2018
|
**/
|
|
2065
|
-
proxies: GenericStorageQuery<
|
|
2066
|
-
Rv,
|
|
2067
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
2068
|
-
AccountId32
|
|
2069
|
-
>;
|
|
2019
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
2070
2020
|
|
|
2071
2021
|
/**
|
|
2072
2022
|
* The announcements made by the proxy (key).
|
|
@@ -2074,16 +2024,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2074
2024
|
* @param {AccountId32Like} arg
|
|
2075
2025
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
2076
2026
|
**/
|
|
2077
|
-
announcements: GenericStorageQuery<
|
|
2078
|
-
Rv,
|
|
2079
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
2080
|
-
AccountId32
|
|
2081
|
-
>;
|
|
2027
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
2082
2028
|
|
|
2083
2029
|
/**
|
|
2084
2030
|
* Generic pallet storage query
|
|
2085
2031
|
**/
|
|
2086
|
-
[storage: string]: GenericStorageQuery
|
|
2032
|
+
[storage: string]: GenericStorageQuery;
|
|
2087
2033
|
};
|
|
2088
2034
|
/**
|
|
2089
2035
|
* Pallet `Multisig`'s storage queries
|
|
@@ -2096,7 +2042,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2096
2042
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
2097
2043
|
**/
|
|
2098
2044
|
multisigs: GenericStorageQuery<
|
|
2099
|
-
Rv,
|
|
2100
2045
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
2101
2046
|
[AccountId32, FixedBytes<32>]
|
|
2102
2047
|
>;
|
|
@@ -2104,7 +2049,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2104
2049
|
/**
|
|
2105
2050
|
* Generic pallet storage query
|
|
2106
2051
|
**/
|
|
2107
|
-
[storage: string]: GenericStorageQuery
|
|
2052
|
+
[storage: string]: GenericStorageQuery;
|
|
2108
2053
|
};
|
|
2109
2054
|
/**
|
|
2110
2055
|
* Pallet `Preimage`'s storage queries
|
|
@@ -2118,7 +2063,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2118
2063
|
*
|
|
2119
2064
|
* @deprecated RequestStatusFor
|
|
2120
2065
|
**/
|
|
2121
|
-
statusFor: GenericStorageQuery<
|
|
2066
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
2122
2067
|
|
|
2123
2068
|
/**
|
|
2124
2069
|
* The request status of a given hash.
|
|
@@ -2126,19 +2071,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2126
2071
|
* @param {H256} arg
|
|
2127
2072
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
2128
2073
|
**/
|
|
2129
|
-
requestStatusFor: GenericStorageQuery<
|
|
2074
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
2130
2075
|
|
|
2131
2076
|
/**
|
|
2132
2077
|
*
|
|
2133
2078
|
* @param {[H256, number]} arg
|
|
2134
2079
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2135
2080
|
**/
|
|
2136
|
-
preimageFor: GenericStorageQuery<
|
|
2081
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
2137
2082
|
|
|
2138
2083
|
/**
|
|
2139
2084
|
* Generic pallet storage query
|
|
2140
2085
|
**/
|
|
2141
|
-
[storage: string]: GenericStorageQuery
|
|
2086
|
+
[storage: string]: GenericStorageQuery;
|
|
2142
2087
|
};
|
|
2143
2088
|
/**
|
|
2144
2089
|
* Pallet `Bounties`'s storage queries
|
|
@@ -2149,7 +2094,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2149
2094
|
*
|
|
2150
2095
|
* @param {Callback<number> =} callback
|
|
2151
2096
|
**/
|
|
2152
|
-
bountyCount: GenericStorageQuery<
|
|
2097
|
+
bountyCount: GenericStorageQuery<() => number>;
|
|
2153
2098
|
|
|
2154
2099
|
/**
|
|
2155
2100
|
* Bounties that have been made.
|
|
@@ -2157,7 +2102,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2157
2102
|
* @param {number} arg
|
|
2158
2103
|
* @param {Callback<PalletBountiesBounty | undefined> =} callback
|
|
2159
2104
|
**/
|
|
2160
|
-
bounties: GenericStorageQuery<
|
|
2105
|
+
bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
|
|
2161
2106
|
|
|
2162
2107
|
/**
|
|
2163
2108
|
* The description of each bounty.
|
|
@@ -2165,19 +2110,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2165
2110
|
* @param {number} arg
|
|
2166
2111
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2167
2112
|
**/
|
|
2168
|
-
bountyDescriptions: GenericStorageQuery<
|
|
2113
|
+
bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2169
2114
|
|
|
2170
2115
|
/**
|
|
2171
2116
|
* Bounty indices that have been approved but not yet funded.
|
|
2172
2117
|
*
|
|
2173
2118
|
* @param {Callback<Array<number>> =} callback
|
|
2174
2119
|
**/
|
|
2175
|
-
bountyApprovals: GenericStorageQuery<
|
|
2120
|
+
bountyApprovals: GenericStorageQuery<() => Array<number>>;
|
|
2176
2121
|
|
|
2177
2122
|
/**
|
|
2178
2123
|
* Generic pallet storage query
|
|
2179
2124
|
**/
|
|
2180
|
-
[storage: string]: GenericStorageQuery
|
|
2125
|
+
[storage: string]: GenericStorageQuery;
|
|
2181
2126
|
};
|
|
2182
2127
|
/**
|
|
2183
2128
|
* Pallet `ChildBounties`'s storage queries
|
|
@@ -2189,7 +2134,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2189
2134
|
*
|
|
2190
2135
|
* @param {Callback<number> =} callback
|
|
2191
2136
|
**/
|
|
2192
|
-
childBountyCount: GenericStorageQuery<
|
|
2137
|
+
childBountyCount: GenericStorageQuery<() => number>;
|
|
2193
2138
|
|
|
2194
2139
|
/**
|
|
2195
2140
|
* Number of active child bounties per parent bounty.
|
|
@@ -2198,7 +2143,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2198
2143
|
* @param {number} arg
|
|
2199
2144
|
* @param {Callback<number> =} callback
|
|
2200
2145
|
**/
|
|
2201
|
-
parentChildBounties: GenericStorageQuery<
|
|
2146
|
+
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2202
2147
|
|
|
2203
2148
|
/**
|
|
2204
2149
|
* Number of total child bounties per parent bounty, including completed bounties.
|
|
@@ -2206,7 +2151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2206
2151
|
* @param {number} arg
|
|
2207
2152
|
* @param {Callback<number> =} callback
|
|
2208
2153
|
**/
|
|
2209
|
-
parentTotalChildBounties: GenericStorageQuery<
|
|
2154
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2210
2155
|
|
|
2211
2156
|
/**
|
|
2212
2157
|
* Child bounties that have been added.
|
|
@@ -2215,7 +2160,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2215
2160
|
* @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
|
|
2216
2161
|
**/
|
|
2217
2162
|
childBounties: GenericStorageQuery<
|
|
2218
|
-
Rv,
|
|
2219
2163
|
(arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
|
|
2220
2164
|
[number, number]
|
|
2221
2165
|
>;
|
|
@@ -2228,7 +2172,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2228
2172
|
* @param {[number, number]} arg
|
|
2229
2173
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2230
2174
|
**/
|
|
2231
|
-
childBountyDescriptionsV1: GenericStorageQuery<
|
|
2175
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
2232
2176
|
|
|
2233
2177
|
/**
|
|
2234
2178
|
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
@@ -2240,7 +2184,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2240
2184
|
* @param {number} arg
|
|
2241
2185
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2242
2186
|
**/
|
|
2243
|
-
v0ToV1ChildBountyIds: GenericStorageQuery<
|
|
2187
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
2244
2188
|
|
|
2245
2189
|
/**
|
|
2246
2190
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -2248,12 +2192,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2248
2192
|
* @param {number} arg
|
|
2249
2193
|
* @param {Callback<bigint> =} callback
|
|
2250
2194
|
**/
|
|
2251
|
-
childrenCuratorFees: GenericStorageQuery<
|
|
2195
|
+
childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2252
2196
|
|
|
2253
2197
|
/**
|
|
2254
2198
|
* Generic pallet storage query
|
|
2255
2199
|
**/
|
|
2256
|
-
[storage: string]: GenericStorageQuery
|
|
2200
|
+
[storage: string]: GenericStorageQuery;
|
|
2257
2201
|
};
|
|
2258
2202
|
/**
|
|
2259
2203
|
* Pallet `ElectionProviderMultiPhase`'s storage queries
|
|
@@ -2269,14 +2213,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2269
2213
|
*
|
|
2270
2214
|
* @param {Callback<number> =} callback
|
|
2271
2215
|
**/
|
|
2272
|
-
round: GenericStorageQuery<
|
|
2216
|
+
round: GenericStorageQuery<() => number>;
|
|
2273
2217
|
|
|
2274
2218
|
/**
|
|
2275
2219
|
* Current phase.
|
|
2276
2220
|
*
|
|
2277
2221
|
* @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
|
|
2278
2222
|
**/
|
|
2279
|
-
currentPhase: GenericStorageQuery<
|
|
2223
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
|
|
2280
2224
|
|
|
2281
2225
|
/**
|
|
2282
2226
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
@@ -2285,7 +2229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2285
2229
|
*
|
|
2286
2230
|
* @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
|
|
2287
2231
|
**/
|
|
2288
|
-
queuedSolution: GenericStorageQuery<
|
|
2232
|
+
queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
|
|
2289
2233
|
|
|
2290
2234
|
/**
|
|
2291
2235
|
* Snapshot data of the round.
|
|
@@ -2295,7 +2239,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2295
2239
|
*
|
|
2296
2240
|
* @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
|
|
2297
2241
|
**/
|
|
2298
|
-
snapshot: GenericStorageQuery<
|
|
2242
|
+
snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
|
|
2299
2243
|
|
|
2300
2244
|
/**
|
|
2301
2245
|
* Desired number of targets to elect for this round.
|
|
@@ -2305,7 +2249,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2305
2249
|
*
|
|
2306
2250
|
* @param {Callback<number | undefined> =} callback
|
|
2307
2251
|
**/
|
|
2308
|
-
desiredTargets: GenericStorageQuery<
|
|
2252
|
+
desiredTargets: GenericStorageQuery<() => number | undefined>;
|
|
2309
2253
|
|
|
2310
2254
|
/**
|
|
2311
2255
|
* The metadata of the [`RoundSnapshot`]
|
|
@@ -2315,7 +2259,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2315
2259
|
*
|
|
2316
2260
|
* @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
|
|
2317
2261
|
**/
|
|
2318
|
-
snapshotMetadata: GenericStorageQuery<
|
|
2262
|
+
snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
|
|
2319
2263
|
|
|
2320
2264
|
/**
|
|
2321
2265
|
* The next index to be assigned to an incoming signed submission.
|
|
@@ -2330,7 +2274,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2330
2274
|
*
|
|
2331
2275
|
* @param {Callback<number> =} callback
|
|
2332
2276
|
**/
|
|
2333
|
-
signedSubmissionNextIndex: GenericStorageQuery<
|
|
2277
|
+
signedSubmissionNextIndex: GenericStorageQuery<() => number>;
|
|
2334
2278
|
|
|
2335
2279
|
/**
|
|
2336
2280
|
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
|
@@ -2342,7 +2286,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2342
2286
|
*
|
|
2343
2287
|
* @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
|
|
2344
2288
|
**/
|
|
2345
|
-
signedSubmissionIndices: GenericStorageQuery<
|
|
2289
|
+
signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
|
|
2346
2290
|
|
|
2347
2291
|
/**
|
|
2348
2292
|
* Unchecked, signed solutions.
|
|
@@ -2357,7 +2301,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2357
2301
|
* @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
|
|
2358
2302
|
**/
|
|
2359
2303
|
signedSubmissionsMap: GenericStorageQuery<
|
|
2360
|
-
Rv,
|
|
2361
2304
|
(arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined,
|
|
2362
2305
|
number
|
|
2363
2306
|
>;
|
|
@@ -2370,12 +2313,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2370
2313
|
*
|
|
2371
2314
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2372
2315
|
**/
|
|
2373
|
-
minimumUntrustedScore: GenericStorageQuery<
|
|
2316
|
+
minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
2374
2317
|
|
|
2375
2318
|
/**
|
|
2376
2319
|
* Generic pallet storage query
|
|
2377
2320
|
**/
|
|
2378
|
-
[storage: string]: GenericStorageQuery
|
|
2321
|
+
[storage: string]: GenericStorageQuery;
|
|
2379
2322
|
};
|
|
2380
2323
|
/**
|
|
2381
2324
|
* Pallet `VoterList`'s storage queries
|
|
@@ -2389,14 +2332,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2389
2332
|
* @param {AccountId32Like} arg
|
|
2390
2333
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
2391
2334
|
**/
|
|
2392
|
-
listNodes: GenericStorageQuery<
|
|
2335
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
2393
2336
|
|
|
2394
2337
|
/**
|
|
2395
2338
|
* Counter for the related counted storage map
|
|
2396
2339
|
*
|
|
2397
2340
|
* @param {Callback<number> =} callback
|
|
2398
2341
|
**/
|
|
2399
|
-
counterForListNodes: GenericStorageQuery<
|
|
2342
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
2400
2343
|
|
|
2401
2344
|
/**
|
|
2402
2345
|
* A bag stored in storage.
|
|
@@ -2406,7 +2349,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2406
2349
|
* @param {bigint} arg
|
|
2407
2350
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
2408
2351
|
**/
|
|
2409
|
-
listBags: GenericStorageQuery<
|
|
2352
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
2410
2353
|
|
|
2411
2354
|
/**
|
|
2412
2355
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -2414,7 +2357,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2414
2357
|
*
|
|
2415
2358
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2416
2359
|
**/
|
|
2417
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
2360
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2418
2361
|
|
|
2419
2362
|
/**
|
|
2420
2363
|
* Lock all updates to this pallet.
|
|
@@ -2424,12 +2367,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2424
2367
|
*
|
|
2425
2368
|
* @param {Callback<[] | undefined> =} callback
|
|
2426
2369
|
**/
|
|
2427
|
-
lock: GenericStorageQuery<
|
|
2370
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2428
2371
|
|
|
2429
2372
|
/**
|
|
2430
2373
|
* Generic pallet storage query
|
|
2431
2374
|
**/
|
|
2432
|
-
[storage: string]: GenericStorageQuery
|
|
2375
|
+
[storage: string]: GenericStorageQuery;
|
|
2433
2376
|
};
|
|
2434
2377
|
/**
|
|
2435
2378
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -2444,14 +2387,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2444
2387
|
*
|
|
2445
2388
|
* @param {Callback<bigint> =} callback
|
|
2446
2389
|
**/
|
|
2447
|
-
totalValueLocked: GenericStorageQuery<
|
|
2390
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
2448
2391
|
|
|
2449
2392
|
/**
|
|
2450
2393
|
* Minimum amount to bond to join a pool.
|
|
2451
2394
|
*
|
|
2452
2395
|
* @param {Callback<bigint> =} callback
|
|
2453
2396
|
**/
|
|
2454
|
-
minJoinBond: GenericStorageQuery<
|
|
2397
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
2455
2398
|
|
|
2456
2399
|
/**
|
|
2457
2400
|
* Minimum bond required to create a pool.
|
|
@@ -2464,7 +2407,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2464
2407
|
*
|
|
2465
2408
|
* @param {Callback<bigint> =} callback
|
|
2466
2409
|
**/
|
|
2467
|
-
minCreateBond: GenericStorageQuery<
|
|
2410
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
2468
2411
|
|
|
2469
2412
|
/**
|
|
2470
2413
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -2472,7 +2415,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2472
2415
|
*
|
|
2473
2416
|
* @param {Callback<number | undefined> =} callback
|
|
2474
2417
|
**/
|
|
2475
|
-
maxPools: GenericStorageQuery<
|
|
2418
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
2476
2419
|
|
|
2477
2420
|
/**
|
|
2478
2421
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -2480,7 +2423,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2480
2423
|
*
|
|
2481
2424
|
* @param {Callback<number | undefined> =} callback
|
|
2482
2425
|
**/
|
|
2483
|
-
maxPoolMembers: GenericStorageQuery<
|
|
2426
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
2484
2427
|
|
|
2485
2428
|
/**
|
|
2486
2429
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -2488,7 +2431,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2488
2431
|
*
|
|
2489
2432
|
* @param {Callback<number | undefined> =} callback
|
|
2490
2433
|
**/
|
|
2491
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
2434
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
2492
2435
|
|
|
2493
2436
|
/**
|
|
2494
2437
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -2497,7 +2440,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2497
2440
|
*
|
|
2498
2441
|
* @param {Callback<Perbill | undefined> =} callback
|
|
2499
2442
|
**/
|
|
2500
|
-
globalMaxCommission: GenericStorageQuery<
|
|
2443
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
2501
2444
|
|
|
2502
2445
|
/**
|
|
2503
2446
|
* Active members.
|
|
@@ -2508,7 +2451,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2508
2451
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
2509
2452
|
**/
|
|
2510
2453
|
poolMembers: GenericStorageQuery<
|
|
2511
|
-
Rv,
|
|
2512
2454
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
2513
2455
|
AccountId32
|
|
2514
2456
|
>;
|
|
@@ -2518,7 +2460,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2518
2460
|
*
|
|
2519
2461
|
* @param {Callback<number> =} callback
|
|
2520
2462
|
**/
|
|
2521
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
2463
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
2522
2464
|
|
|
2523
2465
|
/**
|
|
2524
2466
|
* Storage for bonded pools.
|
|
@@ -2526,14 +2468,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2526
2468
|
* @param {number} arg
|
|
2527
2469
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
2528
2470
|
**/
|
|
2529
|
-
bondedPools: GenericStorageQuery<
|
|
2471
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
2530
2472
|
|
|
2531
2473
|
/**
|
|
2532
2474
|
* Counter for the related counted storage map
|
|
2533
2475
|
*
|
|
2534
2476
|
* @param {Callback<number> =} callback
|
|
2535
2477
|
**/
|
|
2536
|
-
counterForBondedPools: GenericStorageQuery<
|
|
2478
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
2537
2479
|
|
|
2538
2480
|
/**
|
|
2539
2481
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -2542,14 +2484,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2542
2484
|
* @param {number} arg
|
|
2543
2485
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
2544
2486
|
**/
|
|
2545
|
-
rewardPools: GenericStorageQuery<
|
|
2487
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
2546
2488
|
|
|
2547
2489
|
/**
|
|
2548
2490
|
* Counter for the related counted storage map
|
|
2549
2491
|
*
|
|
2550
2492
|
* @param {Callback<number> =} callback
|
|
2551
2493
|
**/
|
|
2552
|
-
counterForRewardPools: GenericStorageQuery<
|
|
2494
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2553
2495
|
|
|
2554
2496
|
/**
|
|
2555
2497
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2558,14 +2500,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2558
2500
|
* @param {number} arg
|
|
2559
2501
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2560
2502
|
**/
|
|
2561
|
-
subPoolsStorage: GenericStorageQuery<
|
|
2503
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2562
2504
|
|
|
2563
2505
|
/**
|
|
2564
2506
|
* Counter for the related counted storage map
|
|
2565
2507
|
*
|
|
2566
2508
|
* @param {Callback<number> =} callback
|
|
2567
2509
|
**/
|
|
2568
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
2510
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2569
2511
|
|
|
2570
2512
|
/**
|
|
2571
2513
|
* Metadata for the pool.
|
|
@@ -2573,21 +2515,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2573
2515
|
* @param {number} arg
|
|
2574
2516
|
* @param {Callback<Bytes> =} callback
|
|
2575
2517
|
**/
|
|
2576
|
-
metadata: GenericStorageQuery<
|
|
2518
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2577
2519
|
|
|
2578
2520
|
/**
|
|
2579
2521
|
* Counter for the related counted storage map
|
|
2580
2522
|
*
|
|
2581
2523
|
* @param {Callback<number> =} callback
|
|
2582
2524
|
**/
|
|
2583
|
-
counterForMetadata: GenericStorageQuery<
|
|
2525
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
2584
2526
|
|
|
2585
2527
|
/**
|
|
2586
2528
|
* Ever increasing number of all pools created so far.
|
|
2587
2529
|
*
|
|
2588
2530
|
* @param {Callback<number> =} callback
|
|
2589
2531
|
**/
|
|
2590
|
-
lastPoolId: GenericStorageQuery<
|
|
2532
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
2591
2533
|
|
|
2592
2534
|
/**
|
|
2593
2535
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -2598,14 +2540,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2598
2540
|
* @param {AccountId32Like} arg
|
|
2599
2541
|
* @param {Callback<number | undefined> =} callback
|
|
2600
2542
|
**/
|
|
2601
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2543
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
2602
2544
|
|
|
2603
2545
|
/**
|
|
2604
2546
|
* Counter for the related counted storage map
|
|
2605
2547
|
*
|
|
2606
2548
|
* @param {Callback<number> =} callback
|
|
2607
2549
|
**/
|
|
2608
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2550
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
2609
2551
|
|
|
2610
2552
|
/**
|
|
2611
2553
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -2613,16 +2555,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2613
2555
|
* @param {AccountId32Like} arg
|
|
2614
2556
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
2615
2557
|
**/
|
|
2616
|
-
claimPermissions: GenericStorageQuery<
|
|
2617
|
-
Rv,
|
|
2618
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
2619
|
-
AccountId32
|
|
2620
|
-
>;
|
|
2558
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
2621
2559
|
|
|
2622
2560
|
/**
|
|
2623
2561
|
* Generic pallet storage query
|
|
2624
2562
|
**/
|
|
2625
|
-
[storage: string]: GenericStorageQuery
|
|
2563
|
+
[storage: string]: GenericStorageQuery;
|
|
2626
2564
|
};
|
|
2627
2565
|
/**
|
|
2628
2566
|
* Pallet `FastUnstake`'s storage queries
|
|
@@ -2635,7 +2573,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2635
2573
|
*
|
|
2636
2574
|
* @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
|
|
2637
2575
|
**/
|
|
2638
|
-
head: GenericStorageQuery<
|
|
2576
|
+
head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
|
|
2639
2577
|
|
|
2640
2578
|
/**
|
|
2641
2579
|
* The map of all accounts wishing to be unstaked.
|
|
@@ -2645,14 +2583,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2645
2583
|
* @param {AccountId32Like} arg
|
|
2646
2584
|
* @param {Callback<bigint | undefined> =} callback
|
|
2647
2585
|
**/
|
|
2648
|
-
queue: GenericStorageQuery<
|
|
2586
|
+
queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
2649
2587
|
|
|
2650
2588
|
/**
|
|
2651
2589
|
* Counter for the related counted storage map
|
|
2652
2590
|
*
|
|
2653
2591
|
* @param {Callback<number> =} callback
|
|
2654
2592
|
**/
|
|
2655
|
-
counterForQueue: GenericStorageQuery<
|
|
2593
|
+
counterForQueue: GenericStorageQuery<() => number>;
|
|
2656
2594
|
|
|
2657
2595
|
/**
|
|
2658
2596
|
* Number of eras to check per block.
|
|
@@ -2666,12 +2604,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2666
2604
|
*
|
|
2667
2605
|
* @param {Callback<number> =} callback
|
|
2668
2606
|
**/
|
|
2669
|
-
erasToCheckPerBlock: GenericStorageQuery<
|
|
2607
|
+
erasToCheckPerBlock: GenericStorageQuery<() => number>;
|
|
2670
2608
|
|
|
2671
2609
|
/**
|
|
2672
2610
|
* Generic pallet storage query
|
|
2673
2611
|
**/
|
|
2674
|
-
[storage: string]: GenericStorageQuery
|
|
2612
|
+
[storage: string]: GenericStorageQuery;
|
|
2675
2613
|
};
|
|
2676
2614
|
/**
|
|
2677
2615
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -2687,7 +2625,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2687
2625
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2688
2626
|
**/
|
|
2689
2627
|
delegators: GenericStorageQuery<
|
|
2690
|
-
Rv,
|
|
2691
2628
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2692
2629
|
AccountId32
|
|
2693
2630
|
>;
|
|
@@ -2697,7 +2634,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2697
2634
|
*
|
|
2698
2635
|
* @param {Callback<number> =} callback
|
|
2699
2636
|
**/
|
|
2700
|
-
counterForDelegators: GenericStorageQuery<
|
|
2637
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2701
2638
|
|
|
2702
2639
|
/**
|
|
2703
2640
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -2705,23 +2642,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2705
2642
|
* @param {AccountId32Like} arg
|
|
2706
2643
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2707
2644
|
**/
|
|
2708
|
-
agents: GenericStorageQuery<
|
|
2709
|
-
Rv,
|
|
2710
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2711
|
-
AccountId32
|
|
2712
|
-
>;
|
|
2645
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2713
2646
|
|
|
2714
2647
|
/**
|
|
2715
2648
|
* Counter for the related counted storage map
|
|
2716
2649
|
*
|
|
2717
2650
|
* @param {Callback<number> =} callback
|
|
2718
2651
|
**/
|
|
2719
|
-
counterForAgents: GenericStorageQuery<
|
|
2652
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
2720
2653
|
|
|
2721
2654
|
/**
|
|
2722
2655
|
* Generic pallet storage query
|
|
2723
2656
|
**/
|
|
2724
|
-
[storage: string]: GenericStorageQuery
|
|
2657
|
+
[storage: string]: GenericStorageQuery;
|
|
2725
2658
|
};
|
|
2726
2659
|
/**
|
|
2727
2660
|
* Pallet `StakingAhClient`'s storage queries
|
|
@@ -2734,17 +2667,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2734
2667
|
*
|
|
2735
2668
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
2736
2669
|
**/
|
|
2737
|
-
validatorSet: GenericStorageQuery<
|
|
2670
|
+
validatorSet: GenericStorageQuery<() => [number, Array<AccountId32>] | undefined>;
|
|
2738
2671
|
|
|
2739
2672
|
/**
|
|
2740
2673
|
* An incomplete validator set report.
|
|
2741
2674
|
*
|
|
2742
2675
|
* @param {Callback<PalletStakingAsyncRcClientValidatorSetReport | undefined> =} callback
|
|
2743
2676
|
**/
|
|
2744
|
-
incompleteValidatorSetReport: GenericStorageQuery<
|
|
2745
|
-
Rv,
|
|
2746
|
-
() => PalletStakingAsyncRcClientValidatorSetReport | undefined
|
|
2747
|
-
>;
|
|
2677
|
+
incompleteValidatorSetReport: GenericStorageQuery<() => PalletStakingAsyncRcClientValidatorSetReport | undefined>;
|
|
2748
2678
|
|
|
2749
2679
|
/**
|
|
2750
2680
|
* All of the points of the validators.
|
|
@@ -2755,7 +2685,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2755
2685
|
* @param {AccountId32Like} arg
|
|
2756
2686
|
* @param {Callback<number> =} callback
|
|
2757
2687
|
**/
|
|
2758
|
-
validatorPoints: GenericStorageQuery<
|
|
2688
|
+
validatorPoints: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
2759
2689
|
|
|
2760
2690
|
/**
|
|
2761
2691
|
* Indicates the current operating mode of the pallet.
|
|
@@ -2765,7 +2695,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2765
2695
|
*
|
|
2766
2696
|
* @param {Callback<PalletStakingAsyncAhClientOperatingMode> =} callback
|
|
2767
2697
|
**/
|
|
2768
|
-
mode: GenericStorageQuery<
|
|
2698
|
+
mode: GenericStorageQuery<() => PalletStakingAsyncAhClientOperatingMode>;
|
|
2769
2699
|
|
|
2770
2700
|
/**
|
|
2771
2701
|
* A storage value that is set when a `new_session` gives a new validator set to the session
|
|
@@ -2779,7 +2709,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2779
2709
|
*
|
|
2780
2710
|
* @param {Callback<number | undefined> =} callback
|
|
2781
2711
|
**/
|
|
2782
|
-
nextSessionChangesValidators: GenericStorageQuery<
|
|
2712
|
+
nextSessionChangesValidators: GenericStorageQuery<() => number | undefined>;
|
|
2783
2713
|
|
|
2784
2714
|
/**
|
|
2785
2715
|
* The session index at which the latest elected validator set was applied.
|
|
@@ -2789,7 +2719,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2789
2719
|
*
|
|
2790
2720
|
* @param {Callback<number | undefined> =} callback
|
|
2791
2721
|
**/
|
|
2792
|
-
validatorSetAppliedAt: GenericStorageQuery<
|
|
2722
|
+
validatorSetAppliedAt: GenericStorageQuery<() => number | undefined>;
|
|
2793
2723
|
|
|
2794
2724
|
/**
|
|
2795
2725
|
* A session report that is outgoing, and should be sent.
|
|
@@ -2799,7 +2729,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2799
2729
|
*
|
|
2800
2730
|
* @param {Callback<[PalletStakingAsyncRcClientSessionReport, number] | undefined> =} callback
|
|
2801
2731
|
**/
|
|
2802
|
-
outgoingSessionReport: GenericStorageQuery<
|
|
2732
|
+
outgoingSessionReport: GenericStorageQuery<() => [PalletStakingAsyncRcClientSessionReport, number] | undefined>;
|
|
2803
2733
|
|
|
2804
2734
|
/**
|
|
2805
2735
|
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
@@ -2808,7 +2738,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2808
2738
|
* @param {Callback<Array<[number, PalletStakingAsyncRcClientOffence]>> =} callback
|
|
2809
2739
|
**/
|
|
2810
2740
|
offenceSendQueueOffences: GenericStorageQuery<
|
|
2811
|
-
Rv,
|
|
2812
2741
|
(arg: number) => Array<[number, PalletStakingAsyncRcClientOffence]>,
|
|
2813
2742
|
number
|
|
2814
2743
|
>;
|
|
@@ -2818,12 +2747,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2818
2747
|
*
|
|
2819
2748
|
* @param {Callback<number> =} callback
|
|
2820
2749
|
**/
|
|
2821
|
-
offenceSendQueueCursor: GenericStorageQuery<
|
|
2750
|
+
offenceSendQueueCursor: GenericStorageQuery<() => number>;
|
|
2822
2751
|
|
|
2823
2752
|
/**
|
|
2824
2753
|
* Generic pallet storage query
|
|
2825
2754
|
**/
|
|
2826
|
-
[storage: string]: GenericStorageQuery
|
|
2755
|
+
[storage: string]: GenericStorageQuery;
|
|
2827
2756
|
};
|
|
2828
2757
|
/**
|
|
2829
2758
|
* Pallet `Configuration`'s storage queries
|
|
@@ -2834,7 +2763,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2834
2763
|
*
|
|
2835
2764
|
* @param {Callback<PolkadotRuntimeParachainsConfigurationHostConfiguration> =} callback
|
|
2836
2765
|
**/
|
|
2837
|
-
activeConfig: GenericStorageQuery<
|
|
2766
|
+
activeConfig: GenericStorageQuery<() => PolkadotRuntimeParachainsConfigurationHostConfiguration>;
|
|
2838
2767
|
|
|
2839
2768
|
/**
|
|
2840
2769
|
* Pending configuration changes.
|
|
@@ -2847,10 +2776,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2847
2776
|
*
|
|
2848
2777
|
* @param {Callback<Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>> =} callback
|
|
2849
2778
|
**/
|
|
2850
|
-
pendingConfigs: GenericStorageQuery<
|
|
2851
|
-
Rv,
|
|
2852
|
-
() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>
|
|
2853
|
-
>;
|
|
2779
|
+
pendingConfigs: GenericStorageQuery<() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>;
|
|
2854
2780
|
|
|
2855
2781
|
/**
|
|
2856
2782
|
* If this is set, then the configuration setters will bypass the consistency checks. This
|
|
@@ -2858,12 +2784,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2858
2784
|
*
|
|
2859
2785
|
* @param {Callback<boolean> =} callback
|
|
2860
2786
|
**/
|
|
2861
|
-
bypassConsistencyCheck: GenericStorageQuery<
|
|
2787
|
+
bypassConsistencyCheck: GenericStorageQuery<() => boolean>;
|
|
2862
2788
|
|
|
2863
2789
|
/**
|
|
2864
2790
|
* Generic pallet storage query
|
|
2865
2791
|
**/
|
|
2866
|
-
[storage: string]: GenericStorageQuery
|
|
2792
|
+
[storage: string]: GenericStorageQuery;
|
|
2867
2793
|
};
|
|
2868
2794
|
/**
|
|
2869
2795
|
* Pallet `ParasShared`'s storage queries
|
|
@@ -2874,7 +2800,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2874
2800
|
*
|
|
2875
2801
|
* @param {Callback<number> =} callback
|
|
2876
2802
|
**/
|
|
2877
|
-
currentSessionIndex: GenericStorageQuery<
|
|
2803
|
+
currentSessionIndex: GenericStorageQuery<() => number>;
|
|
2878
2804
|
|
|
2879
2805
|
/**
|
|
2880
2806
|
* All the validators actively participating in parachain consensus.
|
|
@@ -2882,7 +2808,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2882
2808
|
*
|
|
2883
2809
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
|
|
2884
2810
|
**/
|
|
2885
|
-
activeValidatorIndices: GenericStorageQuery<
|
|
2811
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorIndex>>;
|
|
2886
2812
|
|
|
2887
2813
|
/**
|
|
2888
2814
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
@@ -2890,19 +2816,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2890
2816
|
*
|
|
2891
2817
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
|
|
2892
2818
|
**/
|
|
2893
|
-
activeValidatorKeys: GenericStorageQuery<
|
|
2819
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
|
|
2894
2820
|
|
|
2895
2821
|
/**
|
|
2896
2822
|
* All allowed relay-parents.
|
|
2897
2823
|
*
|
|
2898
2824
|
* @param {Callback<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker> =} callback
|
|
2899
2825
|
**/
|
|
2900
|
-
allowedRelayParents: GenericStorageQuery<
|
|
2826
|
+
allowedRelayParents: GenericStorageQuery<() => PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>;
|
|
2901
2827
|
|
|
2902
2828
|
/**
|
|
2903
2829
|
* Generic pallet storage query
|
|
2904
2830
|
**/
|
|
2905
|
-
[storage: string]: GenericStorageQuery
|
|
2831
|
+
[storage: string]: GenericStorageQuery;
|
|
2906
2832
|
};
|
|
2907
2833
|
/**
|
|
2908
2834
|
* Pallet `ParaInclusion`'s storage queries
|
|
@@ -2919,7 +2845,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2919
2845
|
* @param {Callback<Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined> =} callback
|
|
2920
2846
|
**/
|
|
2921
2847
|
v1: GenericStorageQuery<
|
|
2922
|
-
Rv,
|
|
2923
2848
|
(
|
|
2924
2849
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2925
2850
|
) => Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined,
|
|
@@ -2929,7 +2854,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2929
2854
|
/**
|
|
2930
2855
|
* Generic pallet storage query
|
|
2931
2856
|
**/
|
|
2932
|
-
[storage: string]: GenericStorageQuery
|
|
2857
|
+
[storage: string]: GenericStorageQuery;
|
|
2933
2858
|
};
|
|
2934
2859
|
/**
|
|
2935
2860
|
* Pallet `ParaInherent`'s storage queries
|
|
@@ -2945,19 +2870,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2945
2870
|
*
|
|
2946
2871
|
* @param {Callback<[] | undefined> =} callback
|
|
2947
2872
|
**/
|
|
2948
|
-
included: GenericStorageQuery<
|
|
2873
|
+
included: GenericStorageQuery<() => [] | undefined>;
|
|
2949
2874
|
|
|
2950
2875
|
/**
|
|
2951
2876
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2952
2877
|
*
|
|
2953
2878
|
* @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
|
|
2954
2879
|
**/
|
|
2955
|
-
onChainVotes: GenericStorageQuery<
|
|
2880
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
|
|
2956
2881
|
|
|
2957
2882
|
/**
|
|
2958
2883
|
* Generic pallet storage query
|
|
2959
2884
|
**/
|
|
2960
|
-
[storage: string]: GenericStorageQuery
|
|
2885
|
+
[storage: string]: GenericStorageQuery;
|
|
2961
2886
|
};
|
|
2962
2887
|
/**
|
|
2963
2888
|
* Pallet `ParaScheduler`'s storage queries
|
|
@@ -2974,7 +2899,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2974
2899
|
*
|
|
2975
2900
|
* @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
|
|
2976
2901
|
**/
|
|
2977
|
-
validatorGroups: GenericStorageQuery<
|
|
2902
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
|
|
2978
2903
|
|
|
2979
2904
|
/**
|
|
2980
2905
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2987,7 +2912,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2987
2912
|
*
|
|
2988
2913
|
* @param {Callback<number> =} callback
|
|
2989
2914
|
**/
|
|
2990
|
-
sessionStartBlock: GenericStorageQuery<
|
|
2915
|
+
sessionStartBlock: GenericStorageQuery<() => number>;
|
|
2991
2916
|
|
|
2992
2917
|
/**
|
|
2993
2918
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
@@ -2996,14 +2921,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2996
2921
|
* @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
|
|
2997
2922
|
**/
|
|
2998
2923
|
claimQueue: GenericStorageQuery<
|
|
2999
|
-
Rv,
|
|
3000
2924
|
() => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
|
|
3001
2925
|
>;
|
|
3002
2926
|
|
|
3003
2927
|
/**
|
|
3004
2928
|
* Generic pallet storage query
|
|
3005
2929
|
**/
|
|
3006
|
-
[storage: string]: GenericStorageQuery
|
|
2930
|
+
[storage: string]: GenericStorageQuery;
|
|
3007
2931
|
};
|
|
3008
2932
|
/**
|
|
3009
2933
|
* Pallet `Paras`'s storage queries
|
|
@@ -3019,7 +2943,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3019
2943
|
* @param {Callback<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined> =} callback
|
|
3020
2944
|
**/
|
|
3021
2945
|
pvfActiveVoteMap: GenericStorageQuery<
|
|
3022
|
-
Rv,
|
|
3023
2946
|
(
|
|
3024
2947
|
arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
3025
2948
|
) => PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined,
|
|
@@ -3031,7 +2954,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3031
2954
|
*
|
|
3032
2955
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>> =} callback
|
|
3033
2956
|
**/
|
|
3034
|
-
pvfActiveVoteList: GenericStorageQuery<
|
|
2957
|
+
pvfActiveVoteList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>;
|
|
3035
2958
|
|
|
3036
2959
|
/**
|
|
3037
2960
|
* All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
|
|
@@ -3041,7 +2964,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3041
2964
|
*
|
|
3042
2965
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3043
2966
|
**/
|
|
3044
|
-
parachains: GenericStorageQuery<
|
|
2967
|
+
parachains: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
3045
2968
|
|
|
3046
2969
|
/**
|
|
3047
2970
|
* The current lifecycle of a all known Para IDs.
|
|
@@ -3050,7 +2973,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3050
2973
|
* @param {Callback<PolkadotRuntimeParachainsParasParaLifecycle | undefined> =} callback
|
|
3051
2974
|
**/
|
|
3052
2975
|
paraLifecycles: GenericStorageQuery<
|
|
3053
|
-
Rv,
|
|
3054
2976
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaLifecycle | undefined,
|
|
3055
2977
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3056
2978
|
>;
|
|
@@ -3062,7 +2984,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3062
2984
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesHeadData | undefined> =} callback
|
|
3063
2985
|
**/
|
|
3064
2986
|
heads: GenericStorageQuery<
|
|
3065
|
-
Rv,
|
|
3066
2987
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesHeadData | undefined,
|
|
3067
2988
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3068
2989
|
>;
|
|
@@ -3074,7 +2995,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3074
2995
|
* @param {Callback<number | undefined> =} callback
|
|
3075
2996
|
**/
|
|
3076
2997
|
mostRecentContext: GenericStorageQuery<
|
|
3077
|
-
Rv,
|
|
3078
2998
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
3079
2999
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3080
3000
|
>;
|
|
@@ -3088,7 +3008,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3088
3008
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
3089
3009
|
**/
|
|
3090
3010
|
currentCodeHash: GenericStorageQuery<
|
|
3091
|
-
Rv,
|
|
3092
3011
|
(
|
|
3093
3012
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3094
3013
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -3105,7 +3024,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3105
3024
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
3106
3025
|
**/
|
|
3107
3026
|
pastCodeHash: GenericStorageQuery<
|
|
3108
|
-
Rv,
|
|
3109
3027
|
(
|
|
3110
3028
|
arg: [PolkadotParachainPrimitivesPrimitivesId, number],
|
|
3111
3029
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -3121,7 +3039,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3121
3039
|
* @param {Callback<PolkadotRuntimeParachainsParasParaPastCodeMeta> =} callback
|
|
3122
3040
|
**/
|
|
3123
3041
|
pastCodeMeta: GenericStorageQuery<
|
|
3124
|
-
Rv,
|
|
3125
3042
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
3126
3043
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3127
3044
|
>;
|
|
@@ -3136,7 +3053,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3136
3053
|
*
|
|
3137
3054
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
3138
3055
|
**/
|
|
3139
|
-
pastCodePruning: GenericStorageQuery<
|
|
3056
|
+
pastCodePruning: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
3140
3057
|
|
|
3141
3058
|
/**
|
|
3142
3059
|
* The block number at which the planned code change is expected for a parachain.
|
|
@@ -3148,7 +3065,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3148
3065
|
* @param {Callback<number | undefined> =} callback
|
|
3149
3066
|
**/
|
|
3150
3067
|
futureCodeUpgrades: GenericStorageQuery<
|
|
3151
|
-
Rv,
|
|
3152
3068
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
3153
3069
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3154
3070
|
>;
|
|
@@ -3165,7 +3081,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3165
3081
|
*
|
|
3166
3082
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
3167
3083
|
**/
|
|
3168
|
-
futureCodeUpgradesAt: GenericStorageQuery<
|
|
3084
|
+
futureCodeUpgradesAt: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
3169
3085
|
|
|
3170
3086
|
/**
|
|
3171
3087
|
* The actual future code hash of a para.
|
|
@@ -3176,7 +3092,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3176
3092
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
3177
3093
|
**/
|
|
3178
3094
|
futureCodeHash: GenericStorageQuery<
|
|
3179
|
-
Rv,
|
|
3180
3095
|
(
|
|
3181
3096
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3182
3097
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -3190,7 +3105,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3190
3105
|
* @param {Callback<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined> =} callback
|
|
3191
3106
|
**/
|
|
3192
3107
|
authorizedCodeHash: GenericStorageQuery<
|
|
3193
|
-
Rv,
|
|
3194
3108
|
(
|
|
3195
3109
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3196
3110
|
) => PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined,
|
|
@@ -3213,7 +3127,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3213
3127
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
3214
3128
|
**/
|
|
3215
3129
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
3216
|
-
Rv,
|
|
3217
3130
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
|
|
3218
3131
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3219
3132
|
>;
|
|
@@ -3233,7 +3146,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3233
3146
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
3234
3147
|
**/
|
|
3235
3148
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
3236
|
-
Rv,
|
|
3237
3149
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
|
|
3238
3150
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3239
3151
|
>;
|
|
@@ -3245,7 +3157,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3245
3157
|
*
|
|
3246
3158
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
3247
3159
|
**/
|
|
3248
|
-
upgradeCooldowns: GenericStorageQuery<
|
|
3160
|
+
upgradeCooldowns: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
3249
3161
|
|
|
3250
3162
|
/**
|
|
3251
3163
|
* The list of upcoming code upgrades.
|
|
@@ -3257,7 +3169,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3257
3169
|
*
|
|
3258
3170
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
3259
3171
|
**/
|
|
3260
|
-
upcomingUpgrades: GenericStorageQuery<
|
|
3172
|
+
upcomingUpgrades: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
3261
3173
|
|
|
3262
3174
|
/**
|
|
3263
3175
|
* The actions to perform during the start of a specific session index.
|
|
@@ -3265,7 +3177,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3265
3177
|
* @param {number} arg
|
|
3266
3178
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3267
3179
|
**/
|
|
3268
|
-
actionsQueue: GenericStorageQuery<
|
|
3180
|
+
actionsQueue: GenericStorageQuery<(arg: number) => Array<PolkadotParachainPrimitivesPrimitivesId>, number>;
|
|
3269
3181
|
|
|
3270
3182
|
/**
|
|
3271
3183
|
* Upcoming paras instantiation arguments.
|
|
@@ -3277,7 +3189,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3277
3189
|
* @param {Callback<PolkadotRuntimeParachainsParasParaGenesisArgs | undefined> =} callback
|
|
3278
3190
|
**/
|
|
3279
3191
|
upcomingParasGenesis: GenericStorageQuery<
|
|
3280
|
-
Rv,
|
|
3281
3192
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaGenesisArgs | undefined,
|
|
3282
3193
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3283
3194
|
>;
|
|
@@ -3289,7 +3200,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3289
3200
|
* @param {Callback<number> =} callback
|
|
3290
3201
|
**/
|
|
3291
3202
|
codeByHashRefs: GenericStorageQuery<
|
|
3292
|
-
Rv,
|
|
3293
3203
|
(arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash) => number,
|
|
3294
3204
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash
|
|
3295
3205
|
>;
|
|
@@ -3304,7 +3214,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3304
3214
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined> =} callback
|
|
3305
3215
|
**/
|
|
3306
3216
|
codeByHash: GenericStorageQuery<
|
|
3307
|
-
Rv,
|
|
3308
3217
|
(
|
|
3309
3218
|
arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
3310
3219
|
) => PolkadotParachainPrimitivesPrimitivesValidationCode | undefined,
|
|
@@ -3314,7 +3223,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3314
3223
|
/**
|
|
3315
3224
|
* Generic pallet storage query
|
|
3316
3225
|
**/
|
|
3317
|
-
[storage: string]: GenericStorageQuery
|
|
3226
|
+
[storage: string]: GenericStorageQuery;
|
|
3318
3227
|
};
|
|
3319
3228
|
/**
|
|
3320
3229
|
* Pallet `Initializer`'s storage queries
|
|
@@ -3332,7 +3241,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3332
3241
|
*
|
|
3333
3242
|
* @param {Callback<[] | undefined> =} callback
|
|
3334
3243
|
**/
|
|
3335
|
-
hasInitialized: GenericStorageQuery<
|
|
3244
|
+
hasInitialized: GenericStorageQuery<() => [] | undefined>;
|
|
3336
3245
|
|
|
3337
3246
|
/**
|
|
3338
3247
|
* Buffered session changes.
|
|
@@ -3345,15 +3254,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3345
3254
|
*
|
|
3346
3255
|
* @param {Callback<Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>> =} callback
|
|
3347
3256
|
**/
|
|
3348
|
-
bufferedSessionChanges: GenericStorageQuery<
|
|
3349
|
-
Rv,
|
|
3350
|
-
() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>
|
|
3351
|
-
>;
|
|
3257
|
+
bufferedSessionChanges: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>;
|
|
3352
3258
|
|
|
3353
3259
|
/**
|
|
3354
3260
|
* Generic pallet storage query
|
|
3355
3261
|
**/
|
|
3356
|
-
[storage: string]: GenericStorageQuery
|
|
3262
|
+
[storage: string]: GenericStorageQuery;
|
|
3357
3263
|
};
|
|
3358
3264
|
/**
|
|
3359
3265
|
* Pallet `Dmp`'s storage queries
|
|
@@ -3366,7 +3272,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3366
3272
|
* @param {Callback<Array<PolkadotCorePrimitivesInboundDownwardMessage>> =} callback
|
|
3367
3273
|
**/
|
|
3368
3274
|
downwardMessageQueues: GenericStorageQuery<
|
|
3369
|
-
Rv,
|
|
3370
3275
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotCorePrimitivesInboundDownwardMessage>,
|
|
3371
3276
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3372
3277
|
>;
|
|
@@ -3384,7 +3289,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3384
3289
|
* @param {Callback<H256> =} callback
|
|
3385
3290
|
**/
|
|
3386
3291
|
downwardMessageQueueHeads: GenericStorageQuery<
|
|
3387
|
-
Rv,
|
|
3388
3292
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => H256,
|
|
3389
3293
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3390
3294
|
>;
|
|
@@ -3396,7 +3300,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3396
3300
|
* @param {Callback<FixedU128> =} callback
|
|
3397
3301
|
**/
|
|
3398
3302
|
deliveryFeeFactor: GenericStorageQuery<
|
|
3399
|
-
Rv,
|
|
3400
3303
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
3401
3304
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3402
3305
|
>;
|
|
@@ -3404,7 +3307,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3404
3307
|
/**
|
|
3405
3308
|
* Generic pallet storage query
|
|
3406
3309
|
**/
|
|
3407
|
-
[storage: string]: GenericStorageQuery
|
|
3310
|
+
[storage: string]: GenericStorageQuery;
|
|
3408
3311
|
};
|
|
3409
3312
|
/**
|
|
3410
3313
|
* Pallet `Hrmp`'s storage queries
|
|
@@ -3422,7 +3325,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3422
3325
|
* @param {Callback<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined> =} callback
|
|
3423
3326
|
**/
|
|
3424
3327
|
hrmpOpenChannelRequests: GenericStorageQuery<
|
|
3425
|
-
Rv,
|
|
3426
3328
|
(
|
|
3427
3329
|
arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
3428
3330
|
) => PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined,
|
|
@@ -3433,10 +3335,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3433
3335
|
*
|
|
3434
3336
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
|
|
3435
3337
|
**/
|
|
3436
|
-
hrmpOpenChannelRequestsList: GenericStorageQuery<
|
|
3437
|
-
Rv,
|
|
3438
|
-
() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
|
|
3439
|
-
>;
|
|
3338
|
+
hrmpOpenChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
|
|
3440
3339
|
|
|
3441
3340
|
/**
|
|
3442
3341
|
* This mapping tracks how many open channel requests are initiated by a given sender para.
|
|
@@ -3447,7 +3346,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3447
3346
|
* @param {Callback<number> =} callback
|
|
3448
3347
|
**/
|
|
3449
3348
|
hrmpOpenChannelRequestCount: GenericStorageQuery<
|
|
3450
|
-
Rv,
|
|
3451
3349
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number,
|
|
3452
3350
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3453
3351
|
>;
|
|
@@ -3461,7 +3359,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3461
3359
|
* @param {Callback<number> =} callback
|
|
3462
3360
|
**/
|
|
3463
3361
|
hrmpAcceptedChannelRequestCount: GenericStorageQuery<
|
|
3464
|
-
Rv,
|
|
3465
3362
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number,
|
|
3466
3363
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3467
3364
|
>;
|
|
@@ -3479,7 +3376,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3479
3376
|
* @param {Callback<[] | undefined> =} callback
|
|
3480
3377
|
**/
|
|
3481
3378
|
hrmpCloseChannelRequests: GenericStorageQuery<
|
|
3482
|
-
Rv,
|
|
3483
3379
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => [] | undefined,
|
|
3484
3380
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3485
3381
|
>;
|
|
@@ -3488,10 +3384,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3488
3384
|
*
|
|
3489
3385
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
|
|
3490
3386
|
**/
|
|
3491
|
-
hrmpCloseChannelRequestsList: GenericStorageQuery<
|
|
3492
|
-
Rv,
|
|
3493
|
-
() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
|
|
3494
|
-
>;
|
|
3387
|
+
hrmpCloseChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
|
|
3495
3388
|
|
|
3496
3389
|
/**
|
|
3497
3390
|
* The HRMP watermark associated with each para.
|
|
@@ -3503,7 +3396,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3503
3396
|
* @param {Callback<number | undefined> =} callback
|
|
3504
3397
|
**/
|
|
3505
3398
|
hrmpWatermarks: GenericStorageQuery<
|
|
3506
|
-
Rv,
|
|
3507
3399
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
3508
3400
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3509
3401
|
>;
|
|
@@ -3517,7 +3409,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3517
3409
|
* @param {Callback<PolkadotRuntimeParachainsHrmpHrmpChannel | undefined> =} callback
|
|
3518
3410
|
**/
|
|
3519
3411
|
hrmpChannels: GenericStorageQuery<
|
|
3520
|
-
Rv,
|
|
3521
3412
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => PolkadotRuntimeParachainsHrmpHrmpChannel | undefined,
|
|
3522
3413
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3523
3414
|
>;
|
|
@@ -3541,7 +3432,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3541
3432
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3542
3433
|
**/
|
|
3543
3434
|
hrmpIngressChannelsIndex: GenericStorageQuery<
|
|
3544
|
-
Rv,
|
|
3545
3435
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
|
|
3546
3436
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3547
3437
|
>;
|
|
@@ -3552,7 +3442,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3552
3442
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3553
3443
|
**/
|
|
3554
3444
|
hrmpEgressChannelsIndex: GenericStorageQuery<
|
|
3555
|
-
Rv,
|
|
3556
3445
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
|
|
3557
3446
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3558
3447
|
>;
|
|
@@ -3565,7 +3454,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3565
3454
|
* @param {Callback<Array<PolkadotCorePrimitivesInboundHrmpMessage>> =} callback
|
|
3566
3455
|
**/
|
|
3567
3456
|
hrmpChannelContents: GenericStorageQuery<
|
|
3568
|
-
Rv,
|
|
3569
3457
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => Array<PolkadotCorePrimitivesInboundHrmpMessage>,
|
|
3570
3458
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3571
3459
|
>;
|
|
@@ -3582,7 +3470,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3582
3470
|
* @param {Callback<Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>> =} callback
|
|
3583
3471
|
**/
|
|
3584
3472
|
hrmpChannelDigests: GenericStorageQuery<
|
|
3585
|
-
Rv,
|
|
3586
3473
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>,
|
|
3587
3474
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3588
3475
|
>;
|
|
@@ -3590,7 +3477,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3590
3477
|
/**
|
|
3591
3478
|
* Generic pallet storage query
|
|
3592
3479
|
**/
|
|
3593
|
-
[storage: string]: GenericStorageQuery
|
|
3480
|
+
[storage: string]: GenericStorageQuery;
|
|
3594
3481
|
};
|
|
3595
3482
|
/**
|
|
3596
3483
|
* Pallet `ParaSessionInfo`'s storage queries
|
|
@@ -3603,14 +3490,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3603
3490
|
*
|
|
3604
3491
|
* @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
|
|
3605
3492
|
**/
|
|
3606
|
-
assignmentKeysUnsafe: GenericStorageQuery<
|
|
3493
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
|
|
3607
3494
|
|
|
3608
3495
|
/**
|
|
3609
3496
|
* The earliest session for which previous session info is stored.
|
|
3610
3497
|
*
|
|
3611
3498
|
* @param {Callback<number> =} callback
|
|
3612
3499
|
**/
|
|
3613
|
-
earliestStoredSession: GenericStorageQuery<
|
|
3500
|
+
earliestStoredSession: GenericStorageQuery<() => number>;
|
|
3614
3501
|
|
|
3615
3502
|
/**
|
|
3616
3503
|
* Session information in a rolling window.
|
|
@@ -3620,7 +3507,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3620
3507
|
* @param {number} arg
|
|
3621
3508
|
* @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
|
|
3622
3509
|
**/
|
|
3623
|
-
sessions: GenericStorageQuery<
|
|
3510
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
|
|
3624
3511
|
|
|
3625
3512
|
/**
|
|
3626
3513
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3628,7 +3515,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3628
3515
|
* @param {number} arg
|
|
3629
3516
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
3630
3517
|
**/
|
|
3631
|
-
accountKeys: GenericStorageQuery<
|
|
3518
|
+
accountKeys: GenericStorageQuery<(arg: number) => Array<AccountId32> | undefined, number>;
|
|
3632
3519
|
|
|
3633
3520
|
/**
|
|
3634
3521
|
* Executor parameter set for a given session index
|
|
@@ -3636,16 +3523,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3636
3523
|
* @param {number} arg
|
|
3637
3524
|
* @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
|
|
3638
3525
|
**/
|
|
3639
|
-
sessionExecutorParams: GenericStorageQuery<
|
|
3640
|
-
Rv,
|
|
3641
|
-
(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined,
|
|
3642
|
-
number
|
|
3643
|
-
>;
|
|
3526
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined, number>;
|
|
3644
3527
|
|
|
3645
3528
|
/**
|
|
3646
3529
|
* Generic pallet storage query
|
|
3647
3530
|
**/
|
|
3648
|
-
[storage: string]: GenericStorageQuery
|
|
3531
|
+
[storage: string]: GenericStorageQuery;
|
|
3649
3532
|
};
|
|
3650
3533
|
/**
|
|
3651
3534
|
* Pallet `ParasDisputes`'s storage queries
|
|
@@ -3657,7 +3540,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3657
3540
|
*
|
|
3658
3541
|
* @param {Callback<number | undefined> =} callback
|
|
3659
3542
|
**/
|
|
3660
|
-
lastPrunedSession: GenericStorageQuery<
|
|
3543
|
+
lastPrunedSession: GenericStorageQuery<() => number | undefined>;
|
|
3661
3544
|
|
|
3662
3545
|
/**
|
|
3663
3546
|
* All ongoing or concluded disputes for the last several sessions.
|
|
@@ -3666,7 +3549,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3666
3549
|
* @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
|
|
3667
3550
|
**/
|
|
3668
3551
|
disputes: GenericStorageQuery<
|
|
3669
|
-
Rv,
|
|
3670
3552
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
|
|
3671
3553
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3672
3554
|
>;
|
|
@@ -3679,7 +3561,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3679
3561
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
|
|
3680
3562
|
**/
|
|
3681
3563
|
backersOnDisputes: GenericStorageQuery<
|
|
3682
|
-
Rv,
|
|
3683
3564
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
|
|
3684
3565
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3685
3566
|
>;
|
|
@@ -3692,7 +3573,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3692
3573
|
* @param {Callback<number | undefined> =} callback
|
|
3693
3574
|
**/
|
|
3694
3575
|
included: GenericStorageQuery<
|
|
3695
|
-
Rv,
|
|
3696
3576
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => number | undefined,
|
|
3697
3577
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3698
3578
|
>;
|
|
@@ -3705,12 +3585,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3705
3585
|
*
|
|
3706
3586
|
* @param {Callback<number | undefined> =} callback
|
|
3707
3587
|
**/
|
|
3708
|
-
frozen: GenericStorageQuery<
|
|
3588
|
+
frozen: GenericStorageQuery<() => number | undefined>;
|
|
3709
3589
|
|
|
3710
3590
|
/**
|
|
3711
3591
|
* Generic pallet storage query
|
|
3712
3592
|
**/
|
|
3713
|
-
[storage: string]: GenericStorageQuery
|
|
3593
|
+
[storage: string]: GenericStorageQuery;
|
|
3714
3594
|
};
|
|
3715
3595
|
/**
|
|
3716
3596
|
* Pallet `ParasSlashing`'s storage queries
|
|
@@ -3723,7 +3603,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3723
3603
|
* @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
|
|
3724
3604
|
**/
|
|
3725
3605
|
unappliedSlashes: GenericStorageQuery<
|
|
3726
|
-
Rv,
|
|
3727
3606
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
|
|
3728
3607
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3729
3608
|
>;
|
|
@@ -3734,12 +3613,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3734
3613
|
* @param {number} arg
|
|
3735
3614
|
* @param {Callback<number | undefined> =} callback
|
|
3736
3615
|
**/
|
|
3737
|
-
validatorSetCounts: GenericStorageQuery<
|
|
3616
|
+
validatorSetCounts: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
3738
3617
|
|
|
3739
3618
|
/**
|
|
3740
3619
|
* Generic pallet storage query
|
|
3741
3620
|
**/
|
|
3742
|
-
[storage: string]: GenericStorageQuery
|
|
3621
|
+
[storage: string]: GenericStorageQuery;
|
|
3743
3622
|
};
|
|
3744
3623
|
/**
|
|
3745
3624
|
* Pallet `OnDemandAssignmentProvider`'s storage queries
|
|
@@ -3754,7 +3633,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3754
3633
|
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3755
3634
|
**/
|
|
3756
3635
|
paraIdAffinity: GenericStorageQuery<
|
|
3757
|
-
Rv,
|
|
3758
3636
|
(
|
|
3759
3637
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3760
3638
|
) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
|
|
@@ -3766,14 +3644,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3766
3644
|
*
|
|
3767
3645
|
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
|
|
3768
3646
|
**/
|
|
3769
|
-
queueStatus: GenericStorageQuery<
|
|
3647
|
+
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
|
|
3770
3648
|
|
|
3771
3649
|
/**
|
|
3772
3650
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
3773
3651
|
*
|
|
3774
3652
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3775
3653
|
**/
|
|
3776
|
-
freeEntries: GenericStorageQuery<
|
|
3654
|
+
freeEntries: GenericStorageQuery<() => BinaryHeapEnqueuedOrder>;
|
|
3777
3655
|
|
|
3778
3656
|
/**
|
|
3779
3657
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
@@ -3782,7 +3660,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3782
3660
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3783
3661
|
**/
|
|
3784
3662
|
affinityEntries: GenericStorageQuery<
|
|
3785
|
-
Rv,
|
|
3786
3663
|
(arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3787
3664
|
PolkadotPrimitivesV8CoreIndex
|
|
3788
3665
|
>;
|
|
@@ -3792,7 +3669,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3792
3669
|
*
|
|
3793
3670
|
* @param {Callback<Array<bigint>> =} callback
|
|
3794
3671
|
**/
|
|
3795
|
-
revenue: GenericStorageQuery<
|
|
3672
|
+
revenue: GenericStorageQuery<() => Array<bigint>>;
|
|
3796
3673
|
|
|
3797
3674
|
/**
|
|
3798
3675
|
* Keeps track of credits owned by each account.
|
|
@@ -3800,12 +3677,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3800
3677
|
* @param {AccountId32Like} arg
|
|
3801
3678
|
* @param {Callback<bigint> =} callback
|
|
3802
3679
|
**/
|
|
3803
|
-
credits: GenericStorageQuery<
|
|
3680
|
+
credits: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
3804
3681
|
|
|
3805
3682
|
/**
|
|
3806
3683
|
* Generic pallet storage query
|
|
3807
3684
|
**/
|
|
3808
|
-
[storage: string]: GenericStorageQuery
|
|
3685
|
+
[storage: string]: GenericStorageQuery;
|
|
3809
3686
|
};
|
|
3810
3687
|
/**
|
|
3811
3688
|
* Pallet `CoretimeAssignmentProvider`'s storage queries
|
|
@@ -3821,7 +3698,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3821
3698
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3822
3699
|
**/
|
|
3823
3700
|
coreSchedules: GenericStorageQuery<
|
|
3824
|
-
Rv,
|
|
3825
3701
|
(arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3826
3702
|
[number, PolkadotPrimitivesV8CoreIndex]
|
|
3827
3703
|
>;
|
|
@@ -3836,7 +3712,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3836
3712
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3837
3713
|
**/
|
|
3838
3714
|
coreDescriptors: GenericStorageQuery<
|
|
3839
|
-
Rv,
|
|
3840
3715
|
(arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3841
3716
|
PolkadotPrimitivesV8CoreIndex
|
|
3842
3717
|
>;
|
|
@@ -3844,7 +3719,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3844
3719
|
/**
|
|
3845
3720
|
* Generic pallet storage query
|
|
3846
3721
|
**/
|
|
3847
|
-
[storage: string]: GenericStorageQuery
|
|
3722
|
+
[storage: string]: GenericStorageQuery;
|
|
3848
3723
|
};
|
|
3849
3724
|
/**
|
|
3850
3725
|
* Pallet `Registrar`'s storage queries
|
|
@@ -3857,7 +3732,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3857
3732
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId | undefined> =} callback
|
|
3858
3733
|
**/
|
|
3859
3734
|
pendingSwap: GenericStorageQuery<
|
|
3860
|
-
Rv,
|
|
3861
3735
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesId | undefined,
|
|
3862
3736
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3863
3737
|
>;
|
|
@@ -3872,7 +3746,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3872
3746
|
* @param {Callback<PolkadotRuntimeCommonParasRegistrarParaInfo | undefined> =} callback
|
|
3873
3747
|
**/
|
|
3874
3748
|
paras: GenericStorageQuery<
|
|
3875
|
-
Rv,
|
|
3876
3749
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonParasRegistrarParaInfo | undefined,
|
|
3877
3750
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3878
3751
|
>;
|
|
@@ -3882,12 +3755,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3882
3755
|
*
|
|
3883
3756
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
3884
3757
|
**/
|
|
3885
|
-
nextFreeParaId: GenericStorageQuery<
|
|
3758
|
+
nextFreeParaId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
3886
3759
|
|
|
3887
3760
|
/**
|
|
3888
3761
|
* Generic pallet storage query
|
|
3889
3762
|
**/
|
|
3890
|
-
[storage: string]: GenericStorageQuery
|
|
3763
|
+
[storage: string]: GenericStorageQuery;
|
|
3891
3764
|
};
|
|
3892
3765
|
/**
|
|
3893
3766
|
* Pallet `Slots`'s storage queries
|
|
@@ -3915,7 +3788,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3915
3788
|
* @param {Callback<Array<[AccountId32, bigint] | undefined>> =} callback
|
|
3916
3789
|
**/
|
|
3917
3790
|
leases: GenericStorageQuery<
|
|
3918
|
-
Rv,
|
|
3919
3791
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[AccountId32, bigint] | undefined>,
|
|
3920
3792
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3921
3793
|
>;
|
|
@@ -3923,7 +3795,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3923
3795
|
/**
|
|
3924
3796
|
* Generic pallet storage query
|
|
3925
3797
|
**/
|
|
3926
|
-
[storage: string]: GenericStorageQuery
|
|
3798
|
+
[storage: string]: GenericStorageQuery;
|
|
3927
3799
|
};
|
|
3928
3800
|
/**
|
|
3929
3801
|
* Pallet `Auctions`'s storage queries
|
|
@@ -3934,7 +3806,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3934
3806
|
*
|
|
3935
3807
|
* @param {Callback<number> =} callback
|
|
3936
3808
|
**/
|
|
3937
|
-
auctionCounter: GenericStorageQuery<
|
|
3809
|
+
auctionCounter: GenericStorageQuery<() => number>;
|
|
3938
3810
|
|
|
3939
3811
|
/**
|
|
3940
3812
|
* Information relating to the current auction, if there is one.
|
|
@@ -3945,7 +3817,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3945
3817
|
*
|
|
3946
3818
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
3947
3819
|
**/
|
|
3948
|
-
auctionInfo: GenericStorageQuery<
|
|
3820
|
+
auctionInfo: GenericStorageQuery<() => [number, number] | undefined>;
|
|
3949
3821
|
|
|
3950
3822
|
/**
|
|
3951
3823
|
* Amounts currently reserved in the accounts of the bidders currently winning
|
|
@@ -3955,7 +3827,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3955
3827
|
* @param {Callback<bigint | undefined> =} callback
|
|
3956
3828
|
**/
|
|
3957
3829
|
reservedAmounts: GenericStorageQuery<
|
|
3958
|
-
Rv,
|
|
3959
3830
|
(arg: [AccountId32Like, PolkadotParachainPrimitivesPrimitivesId]) => bigint | undefined,
|
|
3960
3831
|
[AccountId32, PolkadotParachainPrimitivesPrimitivesId]
|
|
3961
3832
|
>;
|
|
@@ -3969,7 +3840,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3969
3840
|
* @param {Callback<FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined> =} callback
|
|
3970
3841
|
**/
|
|
3971
3842
|
winning: GenericStorageQuery<
|
|
3972
|
-
Rv,
|
|
3973
3843
|
(
|
|
3974
3844
|
arg: number,
|
|
3975
3845
|
) => FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined,
|
|
@@ -3979,7 +3849,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3979
3849
|
/**
|
|
3980
3850
|
* Generic pallet storage query
|
|
3981
3851
|
**/
|
|
3982
|
-
[storage: string]: GenericStorageQuery
|
|
3852
|
+
[storage: string]: GenericStorageQuery;
|
|
3983
3853
|
};
|
|
3984
3854
|
/**
|
|
3985
3855
|
* Pallet `Crowdloan`'s storage queries
|
|
@@ -3992,7 +3862,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3992
3862
|
* @param {Callback<PolkadotRuntimeCommonCrowdloanFundInfo | undefined> =} callback
|
|
3993
3863
|
**/
|
|
3994
3864
|
funds: GenericStorageQuery<
|
|
3995
|
-
Rv,
|
|
3996
3865
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonCrowdloanFundInfo | undefined,
|
|
3997
3866
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3998
3867
|
>;
|
|
@@ -4003,26 +3872,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4003
3872
|
*
|
|
4004
3873
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
4005
3874
|
**/
|
|
4006
|
-
newRaise: GenericStorageQuery<
|
|
3875
|
+
newRaise: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
4007
3876
|
|
|
4008
3877
|
/**
|
|
4009
3878
|
* The number of auctions that have entered into their ending period so far.
|
|
4010
3879
|
*
|
|
4011
3880
|
* @param {Callback<number> =} callback
|
|
4012
3881
|
**/
|
|
4013
|
-
endingsCount: GenericStorageQuery<
|
|
3882
|
+
endingsCount: GenericStorageQuery<() => number>;
|
|
4014
3883
|
|
|
4015
3884
|
/**
|
|
4016
3885
|
* Tracker for the next available fund index
|
|
4017
3886
|
*
|
|
4018
3887
|
* @param {Callback<number> =} callback
|
|
4019
3888
|
**/
|
|
4020
|
-
nextFundIndex: GenericStorageQuery<
|
|
3889
|
+
nextFundIndex: GenericStorageQuery<() => number>;
|
|
4021
3890
|
|
|
4022
3891
|
/**
|
|
4023
3892
|
* Generic pallet storage query
|
|
4024
3893
|
**/
|
|
4025
|
-
[storage: string]: GenericStorageQuery
|
|
3894
|
+
[storage: string]: GenericStorageQuery;
|
|
4026
3895
|
};
|
|
4027
3896
|
/**
|
|
4028
3897
|
* Pallet `XcmPallet`'s storage queries
|
|
@@ -4033,7 +3902,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4033
3902
|
*
|
|
4034
3903
|
* @param {Callback<bigint> =} callback
|
|
4035
3904
|
**/
|
|
4036
|
-
queryCounter: GenericStorageQuery<
|
|
3905
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
4037
3906
|
|
|
4038
3907
|
/**
|
|
4039
3908
|
* The ongoing queries.
|
|
@@ -4041,7 +3910,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4041
3910
|
* @param {bigint} arg
|
|
4042
3911
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
4043
3912
|
**/
|
|
4044
|
-
queries: GenericStorageQuery<
|
|
3913
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
4045
3914
|
|
|
4046
3915
|
/**
|
|
4047
3916
|
* The existing asset traps.
|
|
@@ -4052,7 +3921,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4052
3921
|
* @param {H256} arg
|
|
4053
3922
|
* @param {Callback<number> =} callback
|
|
4054
3923
|
**/
|
|
4055
|
-
assetTraps: GenericStorageQuery<
|
|
3924
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
4056
3925
|
|
|
4057
3926
|
/**
|
|
4058
3927
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -4060,7 +3929,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4060
3929
|
*
|
|
4061
3930
|
* @param {Callback<number | undefined> =} callback
|
|
4062
3931
|
**/
|
|
4063
|
-
safeXcmVersion: GenericStorageQuery<
|
|
3932
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
4064
3933
|
|
|
4065
3934
|
/**
|
|
4066
3935
|
* The Latest versions that we know various locations support.
|
|
@@ -4069,7 +3938,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4069
3938
|
* @param {Callback<number | undefined> =} callback
|
|
4070
3939
|
**/
|
|
4071
3940
|
supportedVersion: GenericStorageQuery<
|
|
4072
|
-
Rv,
|
|
4073
3941
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
4074
3942
|
[number, XcmVersionedLocation]
|
|
4075
3943
|
>;
|
|
@@ -4081,7 +3949,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4081
3949
|
* @param {Callback<bigint | undefined> =} callback
|
|
4082
3950
|
**/
|
|
4083
3951
|
versionNotifiers: GenericStorageQuery<
|
|
4084
|
-
Rv,
|
|
4085
3952
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
4086
3953
|
[number, XcmVersionedLocation]
|
|
4087
3954
|
>;
|
|
@@ -4094,7 +3961,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4094
3961
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
4095
3962
|
**/
|
|
4096
3963
|
versionNotifyTargets: GenericStorageQuery<
|
|
4097
|
-
Rv,
|
|
4098
3964
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
4099
3965
|
[number, XcmVersionedLocation]
|
|
4100
3966
|
>;
|
|
@@ -4106,14 +3972,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4106
3972
|
*
|
|
4107
3973
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
4108
3974
|
**/
|
|
4109
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
3975
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
4110
3976
|
|
|
4111
3977
|
/**
|
|
4112
3978
|
* The current migration's stage, if any.
|
|
4113
3979
|
*
|
|
4114
3980
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
4115
3981
|
**/
|
|
4116
|
-
currentMigration: GenericStorageQuery<
|
|
3982
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
4117
3983
|
|
|
4118
3984
|
/**
|
|
4119
3985
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -4122,7 +3988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4122
3988
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
4123
3989
|
**/
|
|
4124
3990
|
remoteLockedFungibles: GenericStorageQuery<
|
|
4125
|
-
Rv,
|
|
4126
3991
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
4127
3992
|
[number, AccountId32, XcmVersionedAssetId]
|
|
4128
3993
|
>;
|
|
@@ -4134,7 +3999,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4134
3999
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
4135
4000
|
**/
|
|
4136
4001
|
lockedFungibles: GenericStorageQuery<
|
|
4137
|
-
Rv,
|
|
4138
4002
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
4139
4003
|
AccountId32
|
|
4140
4004
|
>;
|
|
@@ -4144,7 +4008,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4144
4008
|
*
|
|
4145
4009
|
* @param {Callback<boolean> =} callback
|
|
4146
4010
|
**/
|
|
4147
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
4011
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
4148
4012
|
|
|
4149
4013
|
/**
|
|
4150
4014
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -4157,7 +4021,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4157
4021
|
*
|
|
4158
4022
|
* @param {Callback<boolean> =} callback
|
|
4159
4023
|
**/
|
|
4160
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
4024
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
4161
4025
|
|
|
4162
4026
|
/**
|
|
4163
4027
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -4169,7 +4033,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4169
4033
|
*
|
|
4170
4034
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
4171
4035
|
**/
|
|
4172
|
-
recordedXcm: GenericStorageQuery<
|
|
4036
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
4173
4037
|
|
|
4174
4038
|
/**
|
|
4175
4039
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -4180,7 +4044,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4180
4044
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
4181
4045
|
**/
|
|
4182
4046
|
authorizedAliases: GenericStorageQuery<
|
|
4183
|
-
Rv,
|
|
4184
4047
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
4185
4048
|
XcmVersionedLocation
|
|
4186
4049
|
>;
|
|
@@ -4188,7 +4051,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4188
4051
|
/**
|
|
4189
4052
|
* Generic pallet storage query
|
|
4190
4053
|
**/
|
|
4191
|
-
[storage: string]: GenericStorageQuery
|
|
4054
|
+
[storage: string]: GenericStorageQuery;
|
|
4192
4055
|
};
|
|
4193
4056
|
/**
|
|
4194
4057
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -4201,7 +4064,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4201
4064
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
4202
4065
|
**/
|
|
4203
4066
|
bookStateFor: GenericStorageQuery<
|
|
4204
|
-
Rv,
|
|
4205
4067
|
(arg: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
4206
4068
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin
|
|
4207
4069
|
>;
|
|
@@ -4211,7 +4073,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4211
4073
|
*
|
|
4212
4074
|
* @param {Callback<PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined> =} callback
|
|
4213
4075
|
**/
|
|
4214
|
-
serviceHead: GenericStorageQuery<
|
|
4076
|
+
serviceHead: GenericStorageQuery<() => PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined>;
|
|
4215
4077
|
|
|
4216
4078
|
/**
|
|
4217
4079
|
* The map of page indices to pages.
|
|
@@ -4220,7 +4082,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4220
4082
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
4221
4083
|
**/
|
|
4222
4084
|
pages: GenericStorageQuery<
|
|
4223
|
-
Rv,
|
|
4224
4085
|
(arg: [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
4225
4086
|
[PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]
|
|
4226
4087
|
>;
|
|
@@ -4228,7 +4089,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4228
4089
|
/**
|
|
4229
4090
|
* Generic pallet storage query
|
|
4230
4091
|
**/
|
|
4231
|
-
[storage: string]: GenericStorageQuery
|
|
4092
|
+
[storage: string]: GenericStorageQuery;
|
|
4232
4093
|
};
|
|
4233
4094
|
/**
|
|
4234
4095
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -4243,7 +4104,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4243
4104
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
4244
4105
|
**/
|
|
4245
4106
|
conversionRateToNative: GenericStorageQuery<
|
|
4246
|
-
Rv,
|
|
4247
4107
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
4248
4108
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
4249
4109
|
>;
|
|
@@ -4251,7 +4111,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4251
4111
|
/**
|
|
4252
4112
|
* Generic pallet storage query
|
|
4253
4113
|
**/
|
|
4254
|
-
[storage: string]: GenericStorageQuery
|
|
4114
|
+
[storage: string]: GenericStorageQuery;
|
|
4255
4115
|
};
|
|
4256
4116
|
/**
|
|
4257
4117
|
* Pallet `Beefy`'s storage queries
|
|
@@ -4262,21 +4122,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4262
4122
|
*
|
|
4263
4123
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
4264
4124
|
**/
|
|
4265
|
-
authorities: GenericStorageQuery<
|
|
4125
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
4266
4126
|
|
|
4267
4127
|
/**
|
|
4268
4128
|
* The current validator set id
|
|
4269
4129
|
*
|
|
4270
4130
|
* @param {Callback<bigint> =} callback
|
|
4271
4131
|
**/
|
|
4272
|
-
validatorSetId: GenericStorageQuery<
|
|
4132
|
+
validatorSetId: GenericStorageQuery<() => bigint>;
|
|
4273
4133
|
|
|
4274
4134
|
/**
|
|
4275
4135
|
* Authorities set scheduled to be used with the next session
|
|
4276
4136
|
*
|
|
4277
4137
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
4278
4138
|
**/
|
|
4279
|
-
nextAuthorities: GenericStorageQuery<
|
|
4139
|
+
nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
4280
4140
|
|
|
4281
4141
|
/**
|
|
4282
4142
|
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
|
|
@@ -4293,7 +4153,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4293
4153
|
* @param {bigint} arg
|
|
4294
4154
|
* @param {Callback<number | undefined> =} callback
|
|
4295
4155
|
**/
|
|
4296
|
-
setIdSession: GenericStorageQuery<
|
|
4156
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
4297
4157
|
|
|
4298
4158
|
/**
|
|
4299
4159
|
* Block number where BEEFY consensus is enabled/started.
|
|
@@ -4302,12 +4162,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4302
4162
|
*
|
|
4303
4163
|
* @param {Callback<number | undefined> =} callback
|
|
4304
4164
|
**/
|
|
4305
|
-
genesisBlock: GenericStorageQuery<
|
|
4165
|
+
genesisBlock: GenericStorageQuery<() => number | undefined>;
|
|
4306
4166
|
|
|
4307
4167
|
/**
|
|
4308
4168
|
* Generic pallet storage query
|
|
4309
4169
|
**/
|
|
4310
|
-
[storage: string]: GenericStorageQuery
|
|
4170
|
+
[storage: string]: GenericStorageQuery;
|
|
4311
4171
|
};
|
|
4312
4172
|
/**
|
|
4313
4173
|
* Pallet `Mmr`'s storage queries
|
|
@@ -4318,14 +4178,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4318
4178
|
*
|
|
4319
4179
|
* @param {Callback<H256> =} callback
|
|
4320
4180
|
**/
|
|
4321
|
-
rootHash: GenericStorageQuery<
|
|
4181
|
+
rootHash: GenericStorageQuery<() => H256>;
|
|
4322
4182
|
|
|
4323
4183
|
/**
|
|
4324
4184
|
* Current size of the MMR (number of leaves).
|
|
4325
4185
|
*
|
|
4326
4186
|
* @param {Callback<bigint> =} callback
|
|
4327
4187
|
**/
|
|
4328
|
-
numberOfLeaves: GenericStorageQuery<
|
|
4188
|
+
numberOfLeaves: GenericStorageQuery<() => bigint>;
|
|
4329
4189
|
|
|
4330
4190
|
/**
|
|
4331
4191
|
* Hashes of the nodes in the MMR.
|
|
@@ -4336,12 +4196,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4336
4196
|
* @param {bigint} arg
|
|
4337
4197
|
* @param {Callback<H256 | undefined> =} callback
|
|
4338
4198
|
**/
|
|
4339
|
-
nodes: GenericStorageQuery<
|
|
4199
|
+
nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
4340
4200
|
|
|
4341
4201
|
/**
|
|
4342
4202
|
* Generic pallet storage query
|
|
4343
4203
|
**/
|
|
4344
|
-
[storage: string]: GenericStorageQuery
|
|
4204
|
+
[storage: string]: GenericStorageQuery;
|
|
4345
4205
|
};
|
|
4346
4206
|
/**
|
|
4347
4207
|
* Pallet `BeefyMmrLeaf`'s storage queries
|
|
@@ -4352,7 +4212,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4352
4212
|
*
|
|
4353
4213
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
4354
4214
|
**/
|
|
4355
|
-
beefyAuthorities: GenericStorageQuery<
|
|
4215
|
+
beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
4356
4216
|
|
|
4357
4217
|
/**
|
|
4358
4218
|
* Details of next BEEFY authority set.
|
|
@@ -4361,12 +4221,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4361
4221
|
*
|
|
4362
4222
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
4363
4223
|
**/
|
|
4364
|
-
beefyNextAuthorities: GenericStorageQuery<
|
|
4224
|
+
beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
4365
4225
|
|
|
4366
4226
|
/**
|
|
4367
4227
|
* Generic pallet storage query
|
|
4368
4228
|
**/
|
|
4369
|
-
[storage: string]: GenericStorageQuery
|
|
4229
|
+
[storage: string]: GenericStorageQuery;
|
|
4370
4230
|
};
|
|
4371
4231
|
/**
|
|
4372
4232
|
* Pallet `RcMigrator`'s storage queries
|
|
@@ -4377,7 +4237,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4377
4237
|
*
|
|
4378
4238
|
* @param {Callback<PalletRcMigratorMigrationStage> =} callback
|
|
4379
4239
|
**/
|
|
4380
|
-
rcMigrationStage: GenericStorageQuery<
|
|
4240
|
+
rcMigrationStage: GenericStorageQuery<() => PalletRcMigratorMigrationStage>;
|
|
4381
4241
|
|
|
4382
4242
|
/**
|
|
4383
4243
|
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
@@ -4387,7 +4247,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4387
4247
|
* @param {Callback<PalletRcMigratorAccountsAccountState | undefined> =} callback
|
|
4388
4248
|
**/
|
|
4389
4249
|
rcAccounts: GenericStorageQuery<
|
|
4390
|
-
Rv,
|
|
4391
4250
|
(arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
|
|
4392
4251
|
AccountId32
|
|
4393
4252
|
>;
|
|
@@ -4397,14 +4256,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4397
4256
|
*
|
|
4398
4257
|
* @param {Callback<number> =} callback
|
|
4399
4258
|
**/
|
|
4400
|
-
counterForRcAccounts: GenericStorageQuery<
|
|
4259
|
+
counterForRcAccounts: GenericStorageQuery<() => number>;
|
|
4401
4260
|
|
|
4402
4261
|
/**
|
|
4403
4262
|
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
|
4404
4263
|
*
|
|
4405
4264
|
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
4406
4265
|
**/
|
|
4407
|
-
rcMigratedBalance: GenericStorageQuery<
|
|
4266
|
+
rcMigratedBalance: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
4408
4267
|
|
|
4409
4268
|
/**
|
|
4410
4269
|
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
@@ -4416,7 +4275,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4416
4275
|
*
|
|
4417
4276
|
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
4418
4277
|
**/
|
|
4419
|
-
rcMigratedBalanceArchive: GenericStorageQuery<
|
|
4278
|
+
rcMigratedBalanceArchive: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
4420
4279
|
|
|
4421
4280
|
/**
|
|
4422
4281
|
* The pending XCM messages.
|
|
@@ -4428,14 +4287,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4428
4287
|
* @param {H256} arg
|
|
4429
4288
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
4430
4289
|
**/
|
|
4431
|
-
pendingXcmMessages: GenericStorageQuery<
|
|
4290
|
+
pendingXcmMessages: GenericStorageQuery<(arg: H256) => StagingXcmV5Xcm | undefined, H256>;
|
|
4432
4291
|
|
|
4433
4292
|
/**
|
|
4434
4293
|
* Counter for the related counted storage map
|
|
4435
4294
|
*
|
|
4436
4295
|
* @param {Callback<number> =} callback
|
|
4437
4296
|
**/
|
|
4438
|
-
counterForPendingXcmMessages: GenericStorageQuery<
|
|
4297
|
+
counterForPendingXcmMessages: GenericStorageQuery<() => number>;
|
|
4439
4298
|
|
|
4440
4299
|
/**
|
|
4441
4300
|
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
@@ -4445,7 +4304,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4445
4304
|
* @param {AccountId32Like} arg
|
|
4446
4305
|
* @param {Callback<boolean | undefined> =} callback
|
|
4447
4306
|
**/
|
|
4448
|
-
pureProxyCandidatesMigrated: GenericStorageQuery<
|
|
4307
|
+
pureProxyCandidatesMigrated: GenericStorageQuery<(arg: AccountId32Like) => boolean | undefined, AccountId32>;
|
|
4449
4308
|
|
|
4450
4309
|
/**
|
|
4451
4310
|
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
@@ -4459,14 +4318,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4459
4318
|
* @param {bigint} arg
|
|
4460
4319
|
* @param {Callback<H256 | undefined> =} callback
|
|
4461
4320
|
**/
|
|
4462
|
-
pendingXcmQueries: GenericStorageQuery<
|
|
4321
|
+
pendingXcmQueries: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
4463
4322
|
|
|
4464
4323
|
/**
|
|
4465
4324
|
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
4466
4325
|
*
|
|
4467
4326
|
* @param {Callback<number | undefined> =} callback
|
|
4468
4327
|
**/
|
|
4469
|
-
unprocessedMsgBuffer: GenericStorageQuery<
|
|
4328
|
+
unprocessedMsgBuffer: GenericStorageQuery<() => number | undefined>;
|
|
4470
4329
|
|
|
4471
4330
|
/**
|
|
4472
4331
|
* The priority of the Asset Hub UMP queue during migration.
|
|
@@ -4478,7 +4337,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4478
4337
|
*
|
|
4479
4338
|
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
4480
4339
|
**/
|
|
4481
|
-
ahUmpQueuePriorityConfig: GenericStorageQuery<
|
|
4340
|
+
ahUmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
4482
4341
|
|
|
4483
4342
|
/**
|
|
4484
4343
|
* An optional account id of a manager.
|
|
@@ -4488,7 +4347,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4488
4347
|
*
|
|
4489
4348
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4490
4349
|
**/
|
|
4491
|
-
manager: GenericStorageQuery<
|
|
4350
|
+
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4492
4351
|
|
|
4493
4352
|
/**
|
|
4494
4353
|
* An optional account id of a canceller.
|
|
@@ -4497,7 +4356,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4497
4356
|
*
|
|
4498
4357
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4499
4358
|
**/
|
|
4500
|
-
canceller: GenericStorageQuery<
|
|
4359
|
+
canceller: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4501
4360
|
|
|
4502
4361
|
/**
|
|
4503
4362
|
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
@@ -4507,7 +4366,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4507
4366
|
*
|
|
4508
4367
|
* @param {Callback<number | undefined> =} callback
|
|
4509
4368
|
**/
|
|
4510
|
-
migrationStartBlock: GenericStorageQuery<
|
|
4369
|
+
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
4511
4370
|
|
|
4512
4371
|
/**
|
|
4513
4372
|
* Block number when migration finished and extrinsics were unlocked.
|
|
@@ -4517,7 +4376,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4517
4376
|
*
|
|
4518
4377
|
* @param {Callback<number | undefined> =} callback
|
|
4519
4378
|
**/
|
|
4520
|
-
migrationEndBlock: GenericStorageQuery<
|
|
4379
|
+
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
4521
4380
|
|
|
4522
4381
|
/**
|
|
4523
4382
|
* The duration of the pre migration warm-up period.
|
|
@@ -4527,7 +4386,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4527
4386
|
*
|
|
4528
4387
|
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4529
4388
|
**/
|
|
4530
|
-
warmUpPeriod: GenericStorageQuery<
|
|
4389
|
+
warmUpPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4531
4390
|
|
|
4532
4391
|
/**
|
|
4533
4392
|
* The duration of the post migration cool-off period.
|
|
@@ -4538,7 +4397,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4538
4397
|
*
|
|
4539
4398
|
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4540
4399
|
**/
|
|
4541
|
-
coolOffPeriod: GenericStorageQuery<
|
|
4400
|
+
coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4542
4401
|
|
|
4543
4402
|
/**
|
|
4544
4403
|
*
|
|
@@ -4546,7 +4405,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4546
4405
|
* @param {Callback<Array<SpRuntimeMultiSigner>> =} callback
|
|
4547
4406
|
**/
|
|
4548
4407
|
managerMultisigs: GenericStorageQuery<
|
|
4549
|
-
Rv,
|
|
4550
4408
|
(arg: StagingKusamaRuntimeRuntimeCallLike) => Array<SpRuntimeMultiSigner>,
|
|
4551
4409
|
StagingKusamaRuntimeRuntimeCall
|
|
4552
4410
|
>;
|
|
@@ -4555,11 +4413,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4555
4413
|
*
|
|
4556
4414
|
* @param {Callback<number> =} callback
|
|
4557
4415
|
**/
|
|
4558
|
-
managerMultisigRound: GenericStorageQuery<
|
|
4416
|
+
managerMultisigRound: GenericStorageQuery<() => number>;
|
|
4559
4417
|
|
|
4560
4418
|
/**
|
|
4561
4419
|
* Generic pallet storage query
|
|
4562
4420
|
**/
|
|
4563
|
-
[storage: string]: GenericStorageQuery
|
|
4421
|
+
[storage: string]: GenericStorageQuery;
|
|
4564
4422
|
};
|
|
4565
4423
|
}
|