@dedot/chaintypes 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -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,
|
|
@@ -155,7 +155,7 @@ import type {
|
|
|
155
155
|
PalletRcMigratorQueuePriority,
|
|
156
156
|
} from './types.js';
|
|
157
157
|
|
|
158
|
-
export interface ChainStorage
|
|
158
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
159
159
|
/**
|
|
160
160
|
* Pallet `System`'s storage queries
|
|
161
161
|
**/
|
|
@@ -166,35 +166,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
166
166
|
* @param {AccountId32Like} arg
|
|
167
167
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
168
168
|
**/
|
|
169
|
-
account: GenericStorageQuery<
|
|
169
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Total extrinsics count for the current block.
|
|
173
173
|
*
|
|
174
174
|
* @param {Callback<number | undefined> =} callback
|
|
175
175
|
**/
|
|
176
|
-
extrinsicCount: GenericStorageQuery<
|
|
176
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Whether all inherents have been applied.
|
|
180
180
|
*
|
|
181
181
|
* @param {Callback<boolean> =} callback
|
|
182
182
|
**/
|
|
183
|
-
inherentsApplied: GenericStorageQuery<
|
|
183
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* The current weight for the block.
|
|
187
187
|
*
|
|
188
188
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
189
189
|
**/
|
|
190
|
-
blockWeight: GenericStorageQuery<
|
|
190
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
194
194
|
*
|
|
195
195
|
* @param {Callback<number | undefined> =} callback
|
|
196
196
|
**/
|
|
197
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
197
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Map of block numbers to block hashes.
|
|
@@ -202,7 +202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
202
202
|
* @param {number} arg
|
|
203
203
|
* @param {Callback<H256> =} callback
|
|
204
204
|
**/
|
|
205
|
-
blockHash: GenericStorageQuery<
|
|
205
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -210,28 +210,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
210
210
|
* @param {number} arg
|
|
211
211
|
* @param {Callback<Bytes> =} callback
|
|
212
212
|
**/
|
|
213
|
-
extrinsicData: GenericStorageQuery<
|
|
213
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* The current block number being processed. Set by `execute_block`.
|
|
217
217
|
*
|
|
218
218
|
* @param {Callback<number> =} callback
|
|
219
219
|
**/
|
|
220
|
-
number: GenericStorageQuery<
|
|
220
|
+
number: GenericStorageQuery<() => number>;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Hash of the previous block.
|
|
224
224
|
*
|
|
225
225
|
* @param {Callback<H256> =} callback
|
|
226
226
|
**/
|
|
227
|
-
parentHash: GenericStorageQuery<
|
|
227
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* Digest of the current block, also part of the block header.
|
|
231
231
|
*
|
|
232
232
|
* @param {Callback<Digest> =} callback
|
|
233
233
|
**/
|
|
234
|
-
digest: GenericStorageQuery<
|
|
234
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Events deposited for the current block.
|
|
@@ -244,14 +244,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
244
244
|
*
|
|
245
245
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
246
246
|
**/
|
|
247
|
-
events: GenericStorageQuery<
|
|
247
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* The number of events in the `Events<T>` list.
|
|
251
251
|
*
|
|
252
252
|
* @param {Callback<number> =} callback
|
|
253
253
|
**/
|
|
254
|
-
eventCount: GenericStorageQuery<
|
|
254
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -268,21 +268,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
268
268
|
* @param {H256} arg
|
|
269
269
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
270
270
|
**/
|
|
271
|
-
eventTopics: GenericStorageQuery<
|
|
271
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
274
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
275
275
|
*
|
|
276
276
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
277
277
|
**/
|
|
278
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
278
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
282
282
|
*
|
|
283
283
|
* @param {Callback<boolean> =} callback
|
|
284
284
|
**/
|
|
285
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
285
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -290,21 +290,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
290
290
|
*
|
|
291
291
|
* @param {Callback<boolean> =} callback
|
|
292
292
|
**/
|
|
293
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
293
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* The execution phase of the block.
|
|
297
297
|
*
|
|
298
298
|
* @param {Callback<Phase | undefined> =} callback
|
|
299
299
|
**/
|
|
300
|
-
executionPhase: GenericStorageQuery<
|
|
300
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
303
|
* `Some` if a code upgrade has been authorized.
|
|
304
304
|
*
|
|
305
305
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
306
306
|
**/
|
|
307
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
307
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* The weight reclaimed for the extrinsic.
|
|
@@ -317,12 +317,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
317
317
|
*
|
|
318
318
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
319
319
|
**/
|
|
320
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
320
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* Generic pallet storage query
|
|
324
324
|
**/
|
|
325
|
-
[storage: string]: GenericStorageQuery
|
|
325
|
+
[storage: string]: GenericStorageQuery;
|
|
326
326
|
};
|
|
327
327
|
/**
|
|
328
328
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -338,7 +338,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
338
338
|
*
|
|
339
339
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
340
340
|
**/
|
|
341
|
-
unincludedSegment: GenericStorageQuery<
|
|
341
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -348,7 +348,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
348
348
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
349
349
|
**/
|
|
350
350
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
351
|
-
Rv,
|
|
352
351
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
353
352
|
>;
|
|
354
353
|
|
|
@@ -362,7 +361,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
362
361
|
*
|
|
363
362
|
* @param {Callback<Bytes> =} callback
|
|
364
363
|
**/
|
|
365
|
-
pendingValidationCode: GenericStorageQuery<
|
|
364
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
366
365
|
|
|
367
366
|
/**
|
|
368
367
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -373,7 +372,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
373
372
|
*
|
|
374
373
|
* @param {Callback<Bytes | undefined> =} callback
|
|
375
374
|
**/
|
|
376
|
-
newValidationCode: GenericStorageQuery<
|
|
375
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
377
376
|
|
|
378
377
|
/**
|
|
379
378
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -382,14 +381,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
382
381
|
*
|
|
383
382
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
384
383
|
**/
|
|
385
|
-
validationData: GenericStorageQuery<
|
|
384
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
386
385
|
|
|
387
386
|
/**
|
|
388
387
|
* Were the validation data set to notify the relay chain?
|
|
389
388
|
*
|
|
390
389
|
* @param {Callback<boolean> =} callback
|
|
391
390
|
**/
|
|
392
|
-
didSetValidationCode: GenericStorageQuery<
|
|
391
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
393
392
|
|
|
394
393
|
/**
|
|
395
394
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -398,7 +397,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
398
397
|
*
|
|
399
398
|
* @param {Callback<number> =} callback
|
|
400
399
|
**/
|
|
401
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
400
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
402
401
|
|
|
403
402
|
/**
|
|
404
403
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -411,7 +410,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
411
410
|
*
|
|
412
411
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
413
412
|
**/
|
|
414
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
413
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
415
414
|
|
|
416
415
|
/**
|
|
417
416
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -422,7 +421,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
422
421
|
*
|
|
423
422
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
424
423
|
**/
|
|
425
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
424
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
426
425
|
|
|
427
426
|
/**
|
|
428
427
|
* The state proof for the last relay parent block.
|
|
@@ -434,7 +433,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
434
433
|
*
|
|
435
434
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
436
435
|
**/
|
|
437
|
-
relayStateProof: GenericStorageQuery<
|
|
436
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
438
437
|
|
|
439
438
|
/**
|
|
440
439
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -448,7 +447,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
448
447
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
449
448
|
**/
|
|
450
449
|
relevantMessagingState: GenericStorageQuery<
|
|
451
|
-
Rv,
|
|
452
450
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
453
451
|
>;
|
|
454
452
|
|
|
@@ -462,7 +460,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
462
460
|
*
|
|
463
461
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
464
462
|
**/
|
|
465
|
-
hostConfiguration: GenericStorageQuery<
|
|
463
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
466
464
|
|
|
467
465
|
/**
|
|
468
466
|
* The last downward message queue chain head we have observed.
|
|
@@ -472,7 +470,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
472
470
|
*
|
|
473
471
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
474
472
|
**/
|
|
475
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
473
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
476
474
|
|
|
477
475
|
/**
|
|
478
476
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -483,7 +481,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
483
481
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
484
482
|
**/
|
|
485
483
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
486
|
-
Rv,
|
|
487
484
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
488
485
|
>;
|
|
489
486
|
|
|
@@ -494,7 +491,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
494
491
|
*
|
|
495
492
|
* @param {Callback<number> =} callback
|
|
496
493
|
**/
|
|
497
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
494
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
498
495
|
|
|
499
496
|
/**
|
|
500
497
|
* The last processed downward message.
|
|
@@ -504,7 +501,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
504
501
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
505
502
|
**/
|
|
506
503
|
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
507
|
-
Rv,
|
|
508
504
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
509
505
|
>;
|
|
510
506
|
|
|
@@ -513,7 +509,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
513
509
|
*
|
|
514
510
|
* @param {Callback<number> =} callback
|
|
515
511
|
**/
|
|
516
|
-
hrmpWatermark: GenericStorageQuery<
|
|
512
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
517
513
|
|
|
518
514
|
/**
|
|
519
515
|
* The last processed HRMP message.
|
|
@@ -523,7 +519,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
523
519
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
524
520
|
**/
|
|
525
521
|
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
526
|
-
Rv,
|
|
527
522
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
528
523
|
>;
|
|
529
524
|
|
|
@@ -534,7 +529,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
534
529
|
*
|
|
535
530
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
536
531
|
**/
|
|
537
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
532
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
538
533
|
|
|
539
534
|
/**
|
|
540
535
|
* Upward messages that were sent in a block.
|
|
@@ -543,21 +538,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
543
538
|
*
|
|
544
539
|
* @param {Callback<Array<Bytes>> =} callback
|
|
545
540
|
**/
|
|
546
|
-
upwardMessages: GenericStorageQuery<
|
|
541
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
547
542
|
|
|
548
543
|
/**
|
|
549
544
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
550
545
|
*
|
|
551
546
|
* @param {Callback<Array<Bytes>> =} callback
|
|
552
547
|
**/
|
|
553
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
548
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
554
549
|
|
|
555
550
|
/**
|
|
556
551
|
* The factor to multiply the base delivery fee by for UMP.
|
|
557
552
|
*
|
|
558
553
|
* @param {Callback<FixedU128> =} callback
|
|
559
554
|
**/
|
|
560
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
555
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
561
556
|
|
|
562
557
|
/**
|
|
563
558
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -565,7 +560,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
565
560
|
*
|
|
566
561
|
* @param {Callback<number> =} callback
|
|
567
562
|
**/
|
|
568
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
563
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
569
564
|
|
|
570
565
|
/**
|
|
571
566
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -573,7 +568,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
573
568
|
*
|
|
574
569
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
575
570
|
**/
|
|
576
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
571
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
577
572
|
|
|
578
573
|
/**
|
|
579
574
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -581,7 +576,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
581
576
|
*
|
|
582
577
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
583
578
|
**/
|
|
584
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
579
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
585
580
|
|
|
586
581
|
/**
|
|
587
582
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -590,12 +585,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
590
585
|
*
|
|
591
586
|
* @param {Callback<Bytes | undefined> =} callback
|
|
592
587
|
**/
|
|
593
|
-
customValidationHeadData: GenericStorageQuery<
|
|
588
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
594
589
|
|
|
595
590
|
/**
|
|
596
591
|
* Generic pallet storage query
|
|
597
592
|
**/
|
|
598
|
-
[storage: string]: GenericStorageQuery
|
|
593
|
+
[storage: string]: GenericStorageQuery;
|
|
599
594
|
};
|
|
600
595
|
/**
|
|
601
596
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -606,7 +601,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
606
601
|
*
|
|
607
602
|
* @param {Callback<bigint> =} callback
|
|
608
603
|
**/
|
|
609
|
-
now: GenericStorageQuery<
|
|
604
|
+
now: GenericStorageQuery<() => bigint>;
|
|
610
605
|
|
|
611
606
|
/**
|
|
612
607
|
* Whether the timestamp has been updated in this block.
|
|
@@ -616,12 +611,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
616
611
|
*
|
|
617
612
|
* @param {Callback<boolean> =} callback
|
|
618
613
|
**/
|
|
619
|
-
didUpdate: GenericStorageQuery<
|
|
614
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
620
615
|
|
|
621
616
|
/**
|
|
622
617
|
* Generic pallet storage query
|
|
623
618
|
**/
|
|
624
|
-
[storage: string]: GenericStorageQuery
|
|
619
|
+
[storage: string]: GenericStorageQuery;
|
|
625
620
|
};
|
|
626
621
|
/**
|
|
627
622
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -631,12 +626,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
631
626
|
*
|
|
632
627
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
633
628
|
**/
|
|
634
|
-
parachainId: GenericStorageQuery<
|
|
629
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
635
630
|
|
|
636
631
|
/**
|
|
637
632
|
* Generic pallet storage query
|
|
638
633
|
**/
|
|
639
|
-
[storage: string]: GenericStorageQuery
|
|
634
|
+
[storage: string]: GenericStorageQuery;
|
|
640
635
|
};
|
|
641
636
|
/**
|
|
642
637
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -649,7 +644,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
649
644
|
*
|
|
650
645
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
651
646
|
**/
|
|
652
|
-
cursor: GenericStorageQuery<
|
|
647
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
653
648
|
|
|
654
649
|
/**
|
|
655
650
|
* Set of all successfully executed migrations.
|
|
@@ -660,12 +655,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
660
655
|
* @param {BytesLike} arg
|
|
661
656
|
* @param {Callback<[] | undefined> =} callback
|
|
662
657
|
**/
|
|
663
|
-
historic: GenericStorageQuery<
|
|
658
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
664
659
|
|
|
665
660
|
/**
|
|
666
661
|
* Generic pallet storage query
|
|
667
662
|
**/
|
|
668
|
-
[storage: string]: GenericStorageQuery
|
|
663
|
+
[storage: string]: GenericStorageQuery;
|
|
669
664
|
};
|
|
670
665
|
/**
|
|
671
666
|
* Pallet `Preimage`'s storage queries
|
|
@@ -679,7 +674,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
679
674
|
*
|
|
680
675
|
* @deprecated RequestStatusFor
|
|
681
676
|
**/
|
|
682
|
-
statusFor: GenericStorageQuery<
|
|
677
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
683
678
|
|
|
684
679
|
/**
|
|
685
680
|
* The request status of a given hash.
|
|
@@ -687,19 +682,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
687
682
|
* @param {H256} arg
|
|
688
683
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
689
684
|
**/
|
|
690
|
-
requestStatusFor: GenericStorageQuery<
|
|
685
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
691
686
|
|
|
692
687
|
/**
|
|
693
688
|
*
|
|
694
689
|
* @param {[H256, number]} arg
|
|
695
690
|
* @param {Callback<Bytes | undefined> =} callback
|
|
696
691
|
**/
|
|
697
|
-
preimageFor: GenericStorageQuery<
|
|
692
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
698
693
|
|
|
699
694
|
/**
|
|
700
695
|
* Generic pallet storage query
|
|
701
696
|
**/
|
|
702
|
-
[storage: string]: GenericStorageQuery
|
|
697
|
+
[storage: string]: GenericStorageQuery;
|
|
703
698
|
};
|
|
704
699
|
/**
|
|
705
700
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -710,7 +705,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
710
705
|
*
|
|
711
706
|
* @param {Callback<number | undefined> =} callback
|
|
712
707
|
**/
|
|
713
|
-
incompleteSince: GenericStorageQuery<
|
|
708
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
714
709
|
|
|
715
710
|
/**
|
|
716
711
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -718,7 +713,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
718
713
|
* @param {number} arg
|
|
719
714
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
720
715
|
**/
|
|
721
|
-
agenda: GenericStorageQuery<
|
|
716
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
722
717
|
|
|
723
718
|
/**
|
|
724
719
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -726,11 +721,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
726
721
|
* @param {[number, number]} arg
|
|
727
722
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
728
723
|
**/
|
|
729
|
-
retries: GenericStorageQuery<
|
|
730
|
-
Rv,
|
|
731
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
732
|
-
[number, number]
|
|
733
|
-
>;
|
|
724
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
734
725
|
|
|
735
726
|
/**
|
|
736
727
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -741,12 +732,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
741
732
|
* @param {FixedBytes<32>} arg
|
|
742
733
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
743
734
|
**/
|
|
744
|
-
lookup: GenericStorageQuery<
|
|
735
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
745
736
|
|
|
746
737
|
/**
|
|
747
738
|
* Generic pallet storage query
|
|
748
739
|
**/
|
|
749
|
-
[storage: string]: GenericStorageQuery
|
|
740
|
+
[storage: string]: GenericStorageQuery;
|
|
750
741
|
};
|
|
751
742
|
/**
|
|
752
743
|
* Pallet `Parameters`'s storage queries
|
|
@@ -759,7 +750,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
759
750
|
* @param {Callback<AssetHubKusamaRuntimeRuntimeParametersValue | undefined> =} callback
|
|
760
751
|
**/
|
|
761
752
|
parameters: GenericStorageQuery<
|
|
762
|
-
Rv,
|
|
763
753
|
(arg: AssetHubKusamaRuntimeRuntimeParametersKey) => AssetHubKusamaRuntimeRuntimeParametersValue | undefined,
|
|
764
754
|
AssetHubKusamaRuntimeRuntimeParametersKey
|
|
765
755
|
>;
|
|
@@ -767,7 +757,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
767
757
|
/**
|
|
768
758
|
* Generic pallet storage query
|
|
769
759
|
**/
|
|
770
|
-
[storage: string]: GenericStorageQuery
|
|
760
|
+
[storage: string]: GenericStorageQuery;
|
|
771
761
|
};
|
|
772
762
|
/**
|
|
773
763
|
* Pallet `Balances`'s storage queries
|
|
@@ -778,14 +768,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
778
768
|
*
|
|
779
769
|
* @param {Callback<bigint> =} callback
|
|
780
770
|
**/
|
|
781
|
-
totalIssuance: GenericStorageQuery<
|
|
771
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
782
772
|
|
|
783
773
|
/**
|
|
784
774
|
* The total units of outstanding deactivated balance in the system.
|
|
785
775
|
*
|
|
786
776
|
* @param {Callback<bigint> =} callback
|
|
787
777
|
**/
|
|
788
|
-
inactiveIssuance: GenericStorageQuery<
|
|
778
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
789
779
|
|
|
790
780
|
/**
|
|
791
781
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -816,7 +806,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
816
806
|
* @param {AccountId32Like} arg
|
|
817
807
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
818
808
|
**/
|
|
819
|
-
account: GenericStorageQuery<
|
|
809
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
820
810
|
|
|
821
811
|
/**
|
|
822
812
|
* Any liquidity locks on some account balances.
|
|
@@ -827,7 +817,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
827
817
|
* @param {AccountId32Like} arg
|
|
828
818
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
829
819
|
**/
|
|
830
|
-
locks: GenericStorageQuery<
|
|
820
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
831
821
|
|
|
832
822
|
/**
|
|
833
823
|
* Named reserves on some account balances.
|
|
@@ -837,7 +827,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
837
827
|
* @param {AccountId32Like} arg
|
|
838
828
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
839
829
|
**/
|
|
840
|
-
reserves: GenericStorageQuery<
|
|
830
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
841
831
|
|
|
842
832
|
/**
|
|
843
833
|
* Holds on account balances.
|
|
@@ -846,7 +836,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
846
836
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>> =} callback
|
|
847
837
|
**/
|
|
848
838
|
holds: GenericStorageQuery<
|
|
849
|
-
Rv,
|
|
850
839
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
851
840
|
AccountId32
|
|
852
841
|
>;
|
|
@@ -858,7 +847,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
858
847
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
859
848
|
**/
|
|
860
849
|
freezes: GenericStorageQuery<
|
|
861
|
-
Rv,
|
|
862
850
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
863
851
|
AccountId32
|
|
864
852
|
>;
|
|
@@ -866,7 +854,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
866
854
|
/**
|
|
867
855
|
* Generic pallet storage query
|
|
868
856
|
**/
|
|
869
|
-
[storage: string]: GenericStorageQuery
|
|
857
|
+
[storage: string]: GenericStorageQuery;
|
|
870
858
|
};
|
|
871
859
|
/**
|
|
872
860
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -876,18 +864,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
876
864
|
*
|
|
877
865
|
* @param {Callback<FixedU128> =} callback
|
|
878
866
|
**/
|
|
879
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
867
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
880
868
|
|
|
881
869
|
/**
|
|
882
870
|
*
|
|
883
871
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
884
872
|
**/
|
|
885
|
-
storageVersion: GenericStorageQuery<
|
|
873
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
886
874
|
|
|
887
875
|
/**
|
|
888
876
|
* Generic pallet storage query
|
|
889
877
|
**/
|
|
890
|
-
[storage: string]: GenericStorageQuery
|
|
878
|
+
[storage: string]: GenericStorageQuery;
|
|
891
879
|
};
|
|
892
880
|
/**
|
|
893
881
|
* Pallet `Vesting`'s storage queries
|
|
@@ -899,11 +887,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
899
887
|
* @param {AccountId32Like} arg
|
|
900
888
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
901
889
|
**/
|
|
902
|
-
vesting: GenericStorageQuery<
|
|
903
|
-
Rv,
|
|
904
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
905
|
-
AccountId32
|
|
906
|
-
>;
|
|
890
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
907
891
|
|
|
908
892
|
/**
|
|
909
893
|
* Storage version of the pallet.
|
|
@@ -912,12 +896,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
912
896
|
*
|
|
913
897
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
914
898
|
**/
|
|
915
|
-
storageVersion: GenericStorageQuery<
|
|
899
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
916
900
|
|
|
917
901
|
/**
|
|
918
902
|
* Generic pallet storage query
|
|
919
903
|
**/
|
|
920
|
-
[storage: string]: GenericStorageQuery
|
|
904
|
+
[storage: string]: GenericStorageQuery;
|
|
921
905
|
};
|
|
922
906
|
/**
|
|
923
907
|
* Pallet `Claims`'s storage queries
|
|
@@ -928,13 +912,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
928
912
|
* @param {EthereumAddressLike} arg
|
|
929
913
|
* @param {Callback<bigint | undefined> =} callback
|
|
930
914
|
**/
|
|
931
|
-
claims: GenericStorageQuery<
|
|
915
|
+
claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
|
|
932
916
|
|
|
933
917
|
/**
|
|
934
918
|
*
|
|
935
919
|
* @param {Callback<bigint> =} callback
|
|
936
920
|
**/
|
|
937
|
-
total: GenericStorageQuery<
|
|
921
|
+
total: GenericStorageQuery<() => bigint>;
|
|
938
922
|
|
|
939
923
|
/**
|
|
940
924
|
* Vesting schedule for a claim.
|
|
@@ -945,11 +929,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
945
929
|
* @param {EthereumAddressLike} arg
|
|
946
930
|
* @param {Callback<[bigint, bigint, number] | undefined> =} callback
|
|
947
931
|
**/
|
|
948
|
-
vesting: GenericStorageQuery<
|
|
949
|
-
Rv,
|
|
950
|
-
(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined,
|
|
951
|
-
EthereumAddress
|
|
952
|
-
>;
|
|
932
|
+
vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined, EthereumAddress>;
|
|
953
933
|
|
|
954
934
|
/**
|
|
955
935
|
* The statement kind that must be signed, if any.
|
|
@@ -958,7 +938,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
958
938
|
* @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
|
|
959
939
|
**/
|
|
960
940
|
signing: GenericStorageQuery<
|
|
961
|
-
Rv,
|
|
962
941
|
(arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined,
|
|
963
942
|
EthereumAddress
|
|
964
943
|
>;
|
|
@@ -969,12 +948,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
969
948
|
* @param {AccountId32Like} arg
|
|
970
949
|
* @param {Callback<EthereumAddress | undefined> =} callback
|
|
971
950
|
**/
|
|
972
|
-
preclaims: GenericStorageQuery<
|
|
951
|
+
preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
|
|
973
952
|
|
|
974
953
|
/**
|
|
975
954
|
* Generic pallet storage query
|
|
976
955
|
**/
|
|
977
|
-
[storage: string]: GenericStorageQuery
|
|
956
|
+
[storage: string]: GenericStorageQuery;
|
|
978
957
|
};
|
|
979
958
|
/**
|
|
980
959
|
* Pallet `Authorship`'s storage queries
|
|
@@ -985,12 +964,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
985
964
|
*
|
|
986
965
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
987
966
|
**/
|
|
988
|
-
author: GenericStorageQuery<
|
|
967
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
989
968
|
|
|
990
969
|
/**
|
|
991
970
|
* Generic pallet storage query
|
|
992
971
|
**/
|
|
993
|
-
[storage: string]: GenericStorageQuery
|
|
972
|
+
[storage: string]: GenericStorageQuery;
|
|
994
973
|
};
|
|
995
974
|
/**
|
|
996
975
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -1001,7 +980,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1001
980
|
*
|
|
1002
981
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1003
982
|
**/
|
|
1004
|
-
invulnerables: GenericStorageQuery<
|
|
983
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1005
984
|
|
|
1006
985
|
/**
|
|
1007
986
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -1012,7 +991,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1012
991
|
*
|
|
1013
992
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
1014
993
|
**/
|
|
1015
|
-
candidateList: GenericStorageQuery<
|
|
994
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
1016
995
|
|
|
1017
996
|
/**
|
|
1018
997
|
* Last block authored by collator.
|
|
@@ -1020,7 +999,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1020
999
|
* @param {AccountId32Like} arg
|
|
1021
1000
|
* @param {Callback<number> =} callback
|
|
1022
1001
|
**/
|
|
1023
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
1002
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
1024
1003
|
|
|
1025
1004
|
/**
|
|
1026
1005
|
* Desired number of candidates.
|
|
@@ -1029,7 +1008,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1029
1008
|
*
|
|
1030
1009
|
* @param {Callback<number> =} callback
|
|
1031
1010
|
**/
|
|
1032
|
-
desiredCandidates: GenericStorageQuery<
|
|
1011
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
1033
1012
|
|
|
1034
1013
|
/**
|
|
1035
1014
|
* Fixed amount to deposit to become a collator.
|
|
@@ -1038,12 +1017,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1038
1017
|
*
|
|
1039
1018
|
* @param {Callback<bigint> =} callback
|
|
1040
1019
|
**/
|
|
1041
|
-
candidacyBond: GenericStorageQuery<
|
|
1020
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
1042
1021
|
|
|
1043
1022
|
/**
|
|
1044
1023
|
* Generic pallet storage query
|
|
1045
1024
|
**/
|
|
1046
|
-
[storage: string]: GenericStorageQuery
|
|
1025
|
+
[storage: string]: GenericStorageQuery;
|
|
1047
1026
|
};
|
|
1048
1027
|
/**
|
|
1049
1028
|
* Pallet `Session`'s storage queries
|
|
@@ -1054,14 +1033,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1054
1033
|
*
|
|
1055
1034
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1056
1035
|
**/
|
|
1057
|
-
validators: GenericStorageQuery<
|
|
1036
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1058
1037
|
|
|
1059
1038
|
/**
|
|
1060
1039
|
* Current index of the session.
|
|
1061
1040
|
*
|
|
1062
1041
|
* @param {Callback<number> =} callback
|
|
1063
1042
|
**/
|
|
1064
|
-
currentIndex: GenericStorageQuery<
|
|
1043
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1065
1044
|
|
|
1066
1045
|
/**
|
|
1067
1046
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1069,7 +1048,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1069
1048
|
*
|
|
1070
1049
|
* @param {Callback<boolean> =} callback
|
|
1071
1050
|
**/
|
|
1072
|
-
queuedChanged: GenericStorageQuery<
|
|
1051
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1073
1052
|
|
|
1074
1053
|
/**
|
|
1075
1054
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1077,7 +1056,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1077
1056
|
*
|
|
1078
1057
|
* @param {Callback<Array<[AccountId32, AssetHubKusamaRuntimeSessionKeys]>> =} callback
|
|
1079
1058
|
**/
|
|
1080
|
-
queuedKeys: GenericStorageQuery<
|
|
1059
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubKusamaRuntimeSessionKeys]>>;
|
|
1081
1060
|
|
|
1082
1061
|
/**
|
|
1083
1062
|
* Indices of disabled validators.
|
|
@@ -1088,7 +1067,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1088
1067
|
*
|
|
1089
1068
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1090
1069
|
**/
|
|
1091
|
-
disabledValidators: GenericStorageQuery<
|
|
1070
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1092
1071
|
|
|
1093
1072
|
/**
|
|
1094
1073
|
* The next session keys for a validator.
|
|
@@ -1096,11 +1075,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1096
1075
|
* @param {AccountId32Like} arg
|
|
1097
1076
|
* @param {Callback<AssetHubKusamaRuntimeSessionKeys | undefined> =} callback
|
|
1098
1077
|
**/
|
|
1099
|
-
nextKeys: GenericStorageQuery<
|
|
1100
|
-
Rv,
|
|
1101
|
-
(arg: AccountId32Like) => AssetHubKusamaRuntimeSessionKeys | undefined,
|
|
1102
|
-
AccountId32
|
|
1103
|
-
>;
|
|
1078
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => AssetHubKusamaRuntimeSessionKeys | undefined, AccountId32>;
|
|
1104
1079
|
|
|
1105
1080
|
/**
|
|
1106
1081
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1109,7 +1084,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1109
1084
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1110
1085
|
**/
|
|
1111
1086
|
keyOwner: GenericStorageQuery<
|
|
1112
|
-
Rv,
|
|
1113
1087
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1114
1088
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1115
1089
|
>;
|
|
@@ -1117,7 +1091,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1117
1091
|
/**
|
|
1118
1092
|
* Generic pallet storage query
|
|
1119
1093
|
**/
|
|
1120
|
-
[storage: string]: GenericStorageQuery
|
|
1094
|
+
[storage: string]: GenericStorageQuery;
|
|
1121
1095
|
};
|
|
1122
1096
|
/**
|
|
1123
1097
|
* Pallet `Aura`'s storage queries
|
|
@@ -1128,7 +1102,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1128
1102
|
*
|
|
1129
1103
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1130
1104
|
**/
|
|
1131
|
-
authorities: GenericStorageQuery<
|
|
1105
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1132
1106
|
|
|
1133
1107
|
/**
|
|
1134
1108
|
* The current slot of this block.
|
|
@@ -1137,12 +1111,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1137
1111
|
*
|
|
1138
1112
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
1139
1113
|
**/
|
|
1140
|
-
currentSlot: GenericStorageQuery<
|
|
1114
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
1141
1115
|
|
|
1142
1116
|
/**
|
|
1143
1117
|
* Generic pallet storage query
|
|
1144
1118
|
**/
|
|
1145
|
-
[storage: string]: GenericStorageQuery
|
|
1119
|
+
[storage: string]: GenericStorageQuery;
|
|
1146
1120
|
};
|
|
1147
1121
|
/**
|
|
1148
1122
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -1157,7 +1131,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1157
1131
|
*
|
|
1158
1132
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1159
1133
|
**/
|
|
1160
|
-
authorities: GenericStorageQuery<
|
|
1134
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1161
1135
|
|
|
1162
1136
|
/**
|
|
1163
1137
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -1167,12 +1141,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1167
1141
|
*
|
|
1168
1142
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1169
1143
|
**/
|
|
1170
|
-
relaySlotInfo: GenericStorageQuery<
|
|
1144
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1171
1145
|
|
|
1172
1146
|
/**
|
|
1173
1147
|
* Generic pallet storage query
|
|
1174
1148
|
**/
|
|
1175
|
-
[storage: string]: GenericStorageQuery
|
|
1149
|
+
[storage: string]: GenericStorageQuery;
|
|
1176
1150
|
};
|
|
1177
1151
|
/**
|
|
1178
1152
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1190,7 +1164,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1190
1164
|
*
|
|
1191
1165
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1192
1166
|
**/
|
|
1193
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1167
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1194
1168
|
|
|
1195
1169
|
/**
|
|
1196
1170
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1202,7 +1176,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1202
1176
|
*
|
|
1203
1177
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1204
1178
|
**/
|
|
1205
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1179
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1206
1180
|
|
|
1207
1181
|
/**
|
|
1208
1182
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1211,7 +1185,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1211
1185
|
* @param {Callback<Bytes> =} callback
|
|
1212
1186
|
**/
|
|
1213
1187
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1214
|
-
Rv,
|
|
1215
1188
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1216
1189
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1217
1190
|
>;
|
|
@@ -1223,7 +1196,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1223
1196
|
* @param {Callback<Bytes> =} callback
|
|
1224
1197
|
**/
|
|
1225
1198
|
signalMessages: GenericStorageQuery<
|
|
1226
|
-
Rv,
|
|
1227
1199
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1228
1200
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1229
1201
|
>;
|
|
@@ -1233,14 +1205,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1233
1205
|
*
|
|
1234
1206
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1235
1207
|
**/
|
|
1236
|
-
queueConfig: GenericStorageQuery<
|
|
1208
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1237
1209
|
|
|
1238
1210
|
/**
|
|
1239
1211
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1240
1212
|
*
|
|
1241
1213
|
* @param {Callback<boolean> =} callback
|
|
1242
1214
|
**/
|
|
1243
|
-
queueSuspended: GenericStorageQuery<
|
|
1215
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1244
1216
|
|
|
1245
1217
|
/**
|
|
1246
1218
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1249,7 +1221,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1249
1221
|
* @param {Callback<FixedU128> =} callback
|
|
1250
1222
|
**/
|
|
1251
1223
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1252
|
-
Rv,
|
|
1253
1224
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1254
1225
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1255
1226
|
>;
|
|
@@ -1257,7 +1228,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1257
1228
|
/**
|
|
1258
1229
|
* Generic pallet storage query
|
|
1259
1230
|
**/
|
|
1260
|
-
[storage: string]: GenericStorageQuery
|
|
1231
|
+
[storage: string]: GenericStorageQuery;
|
|
1261
1232
|
};
|
|
1262
1233
|
/**
|
|
1263
1234
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1268,7 +1239,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1268
1239
|
*
|
|
1269
1240
|
* @param {Callback<bigint> =} callback
|
|
1270
1241
|
**/
|
|
1271
|
-
queryCounter: GenericStorageQuery<
|
|
1242
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1272
1243
|
|
|
1273
1244
|
/**
|
|
1274
1245
|
* The ongoing queries.
|
|
@@ -1276,7 +1247,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1276
1247
|
* @param {bigint} arg
|
|
1277
1248
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1278
1249
|
**/
|
|
1279
|
-
queries: GenericStorageQuery<
|
|
1250
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1280
1251
|
|
|
1281
1252
|
/**
|
|
1282
1253
|
* The existing asset traps.
|
|
@@ -1287,7 +1258,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1287
1258
|
* @param {H256} arg
|
|
1288
1259
|
* @param {Callback<number> =} callback
|
|
1289
1260
|
**/
|
|
1290
|
-
assetTraps: GenericStorageQuery<
|
|
1261
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1291
1262
|
|
|
1292
1263
|
/**
|
|
1293
1264
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1295,7 +1266,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1295
1266
|
*
|
|
1296
1267
|
* @param {Callback<number | undefined> =} callback
|
|
1297
1268
|
**/
|
|
1298
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1269
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1299
1270
|
|
|
1300
1271
|
/**
|
|
1301
1272
|
* The Latest versions that we know various locations support.
|
|
@@ -1304,7 +1275,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1304
1275
|
* @param {Callback<number | undefined> =} callback
|
|
1305
1276
|
**/
|
|
1306
1277
|
supportedVersion: GenericStorageQuery<
|
|
1307
|
-
Rv,
|
|
1308
1278
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1309
1279
|
[number, XcmVersionedLocation]
|
|
1310
1280
|
>;
|
|
@@ -1316,7 +1286,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1316
1286
|
* @param {Callback<bigint | undefined> =} callback
|
|
1317
1287
|
**/
|
|
1318
1288
|
versionNotifiers: GenericStorageQuery<
|
|
1319
|
-
Rv,
|
|
1320
1289
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1321
1290
|
[number, XcmVersionedLocation]
|
|
1322
1291
|
>;
|
|
@@ -1329,7 +1298,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1329
1298
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1330
1299
|
**/
|
|
1331
1300
|
versionNotifyTargets: GenericStorageQuery<
|
|
1332
|
-
Rv,
|
|
1333
1301
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1334
1302
|
[number, XcmVersionedLocation]
|
|
1335
1303
|
>;
|
|
@@ -1341,14 +1309,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1341
1309
|
*
|
|
1342
1310
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1343
1311
|
**/
|
|
1344
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1312
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1345
1313
|
|
|
1346
1314
|
/**
|
|
1347
1315
|
* The current migration's stage, if any.
|
|
1348
1316
|
*
|
|
1349
1317
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1350
1318
|
**/
|
|
1351
|
-
currentMigration: GenericStorageQuery<
|
|
1319
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1352
1320
|
|
|
1353
1321
|
/**
|
|
1354
1322
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1357,7 +1325,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1357
1325
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1358
1326
|
**/
|
|
1359
1327
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1360
|
-
Rv,
|
|
1361
1328
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1362
1329
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1363
1330
|
>;
|
|
@@ -1369,7 +1336,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1369
1336
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1370
1337
|
**/
|
|
1371
1338
|
lockedFungibles: GenericStorageQuery<
|
|
1372
|
-
Rv,
|
|
1373
1339
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1374
1340
|
AccountId32
|
|
1375
1341
|
>;
|
|
@@ -1379,7 +1345,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1379
1345
|
*
|
|
1380
1346
|
* @param {Callback<boolean> =} callback
|
|
1381
1347
|
**/
|
|
1382
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1348
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1383
1349
|
|
|
1384
1350
|
/**
|
|
1385
1351
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1392,7 +1358,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1392
1358
|
*
|
|
1393
1359
|
* @param {Callback<boolean> =} callback
|
|
1394
1360
|
**/
|
|
1395
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1361
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1396
1362
|
|
|
1397
1363
|
/**
|
|
1398
1364
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1404,7 +1370,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1404
1370
|
*
|
|
1405
1371
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1406
1372
|
**/
|
|
1407
|
-
recordedXcm: GenericStorageQuery<
|
|
1373
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1408
1374
|
|
|
1409
1375
|
/**
|
|
1410
1376
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1415,7 +1381,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1415
1381
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1416
1382
|
**/
|
|
1417
1383
|
authorizedAliases: GenericStorageQuery<
|
|
1418
|
-
Rv,
|
|
1419
1384
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1420
1385
|
XcmVersionedLocation
|
|
1421
1386
|
>;
|
|
@@ -1423,7 +1388,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1423
1388
|
/**
|
|
1424
1389
|
* Generic pallet storage query
|
|
1425
1390
|
**/
|
|
1426
|
-
[storage: string]: GenericStorageQuery
|
|
1391
|
+
[storage: string]: GenericStorageQuery;
|
|
1427
1392
|
};
|
|
1428
1393
|
/**
|
|
1429
1394
|
* Pallet `ToPolkadotXcmRouter`'s storage queries
|
|
@@ -1440,12 +1405,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1440
1405
|
*
|
|
1441
1406
|
* @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
|
|
1442
1407
|
**/
|
|
1443
|
-
bridge: GenericStorageQuery<
|
|
1408
|
+
bridge: GenericStorageQuery<() => BpXcmBridgeHubRouterBridgeState>;
|
|
1444
1409
|
|
|
1445
1410
|
/**
|
|
1446
1411
|
* Generic pallet storage query
|
|
1447
1412
|
**/
|
|
1448
|
-
[storage: string]: GenericStorageQuery
|
|
1413
|
+
[storage: string]: GenericStorageQuery;
|
|
1449
1414
|
};
|
|
1450
1415
|
/**
|
|
1451
1416
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1458,7 +1423,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1458
1423
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1459
1424
|
**/
|
|
1460
1425
|
bookStateFor: GenericStorageQuery<
|
|
1461
|
-
Rv,
|
|
1462
1426
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1463
1427
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1464
1428
|
>;
|
|
@@ -1468,7 +1432,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1468
1432
|
*
|
|
1469
1433
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1470
1434
|
**/
|
|
1471
|
-
serviceHead: GenericStorageQuery<
|
|
1435
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1472
1436
|
|
|
1473
1437
|
/**
|
|
1474
1438
|
* The map of page indices to pages.
|
|
@@ -1477,7 +1441,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1477
1441
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1478
1442
|
**/
|
|
1479
1443
|
pages: GenericStorageQuery<
|
|
1480
|
-
Rv,
|
|
1481
1444
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1482
1445
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1483
1446
|
>;
|
|
@@ -1485,7 +1448,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1485
1448
|
/**
|
|
1486
1449
|
* Generic pallet storage query
|
|
1487
1450
|
**/
|
|
1488
|
-
[storage: string]: GenericStorageQuery
|
|
1451
|
+
[storage: string]: GenericStorageQuery;
|
|
1489
1452
|
};
|
|
1490
1453
|
/**
|
|
1491
1454
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1498,7 +1461,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1498
1461
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1499
1462
|
**/
|
|
1500
1463
|
multisigs: GenericStorageQuery<
|
|
1501
|
-
Rv,
|
|
1502
1464
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1503
1465
|
[AccountId32, FixedBytes<32>]
|
|
1504
1466
|
>;
|
|
@@ -1506,7 +1468,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1506
1468
|
/**
|
|
1507
1469
|
* Generic pallet storage query
|
|
1508
1470
|
**/
|
|
1509
|
-
[storage: string]: GenericStorageQuery
|
|
1471
|
+
[storage: string]: GenericStorageQuery;
|
|
1510
1472
|
};
|
|
1511
1473
|
/**
|
|
1512
1474
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1520,7 +1482,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1520
1482
|
* @param {Callback<[Array<PalletProxyProxyDefinitionProxyType>, bigint]> =} callback
|
|
1521
1483
|
**/
|
|
1522
1484
|
proxies: GenericStorageQuery<
|
|
1523
|
-
Rv,
|
|
1524
1485
|
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinitionProxyType>, bigint],
|
|
1525
1486
|
AccountId32
|
|
1526
1487
|
>;
|
|
@@ -1531,16 +1492,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1531
1492
|
* @param {AccountId32Like} arg
|
|
1532
1493
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1533
1494
|
**/
|
|
1534
|
-
announcements: GenericStorageQuery<
|
|
1535
|
-
Rv,
|
|
1536
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1537
|
-
AccountId32
|
|
1538
|
-
>;
|
|
1495
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1539
1496
|
|
|
1540
1497
|
/**
|
|
1541
1498
|
* Generic pallet storage query
|
|
1542
1499
|
**/
|
|
1543
|
-
[storage: string]: GenericStorageQuery
|
|
1500
|
+
[storage: string]: GenericStorageQuery;
|
|
1544
1501
|
};
|
|
1545
1502
|
/**
|
|
1546
1503
|
* Pallet `RemoteProxyRelayChain`'s storage queries
|
|
@@ -1552,12 +1509,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1552
1509
|
*
|
|
1553
1510
|
* @param {Callback<Array<[number, H256]>> =} callback
|
|
1554
1511
|
**/
|
|
1555
|
-
blockToRoot: GenericStorageQuery<
|
|
1512
|
+
blockToRoot: GenericStorageQuery<() => Array<[number, H256]>>;
|
|
1556
1513
|
|
|
1557
1514
|
/**
|
|
1558
1515
|
* Generic pallet storage query
|
|
1559
1516
|
**/
|
|
1560
|
-
[storage: string]: GenericStorageQuery
|
|
1517
|
+
[storage: string]: GenericStorageQuery;
|
|
1561
1518
|
};
|
|
1562
1519
|
/**
|
|
1563
1520
|
* Pallet `Indices`'s storage queries
|
|
@@ -1569,12 +1526,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1569
1526
|
* @param {number} arg
|
|
1570
1527
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
1571
1528
|
**/
|
|
1572
|
-
accounts: GenericStorageQuery<
|
|
1529
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
1573
1530
|
|
|
1574
1531
|
/**
|
|
1575
1532
|
* Generic pallet storage query
|
|
1576
1533
|
**/
|
|
1577
|
-
[storage: string]: GenericStorageQuery
|
|
1534
|
+
[storage: string]: GenericStorageQuery;
|
|
1578
1535
|
};
|
|
1579
1536
|
/**
|
|
1580
1537
|
* Pallet `Assets`'s storage queries
|
|
@@ -1586,7 +1543,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1586
1543
|
* @param {number} arg
|
|
1587
1544
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1588
1545
|
**/
|
|
1589
|
-
asset: GenericStorageQuery<
|
|
1546
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1590
1547
|
|
|
1591
1548
|
/**
|
|
1592
1549
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1595,7 +1552,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1595
1552
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1596
1553
|
**/
|
|
1597
1554
|
account: GenericStorageQuery<
|
|
1598
|
-
Rv,
|
|
1599
1555
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1600
1556
|
[number, AccountId32]
|
|
1601
1557
|
>;
|
|
@@ -1609,7 +1565,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1609
1565
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1610
1566
|
**/
|
|
1611
1567
|
approvals: GenericStorageQuery<
|
|
1612
|
-
Rv,
|
|
1613
1568
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1614
1569
|
[number, AccountId32, AccountId32]
|
|
1615
1570
|
>;
|
|
@@ -1620,7 +1575,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1620
1575
|
* @param {number} arg
|
|
1621
1576
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1622
1577
|
**/
|
|
1623
|
-
metadata: GenericStorageQuery<
|
|
1578
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1624
1579
|
|
|
1625
1580
|
/**
|
|
1626
1581
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1635,12 +1590,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1635
1590
|
*
|
|
1636
1591
|
* @param {Callback<number | undefined> =} callback
|
|
1637
1592
|
**/
|
|
1638
|
-
nextAssetId: GenericStorageQuery<
|
|
1593
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
1639
1594
|
|
|
1640
1595
|
/**
|
|
1641
1596
|
* Generic pallet storage query
|
|
1642
1597
|
**/
|
|
1643
|
-
[storage: string]: GenericStorageQuery
|
|
1598
|
+
[storage: string]: GenericStorageQuery;
|
|
1644
1599
|
};
|
|
1645
1600
|
/**
|
|
1646
1601
|
* Pallet `Uniques`'s storage queries
|
|
@@ -1652,7 +1607,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1652
1607
|
* @param {number} arg
|
|
1653
1608
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
1654
1609
|
**/
|
|
1655
|
-
class: GenericStorageQuery<
|
|
1610
|
+
class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
|
|
1656
1611
|
|
|
1657
1612
|
/**
|
|
1658
1613
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1660,7 +1615,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1660
1615
|
* @param {AccountId32Like} arg
|
|
1661
1616
|
* @param {Callback<number | undefined> =} callback
|
|
1662
1617
|
**/
|
|
1663
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1618
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1664
1619
|
|
|
1665
1620
|
/**
|
|
1666
1621
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1670,7 +1625,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1670
1625
|
* @param {Callback<[] | undefined> =} callback
|
|
1671
1626
|
**/
|
|
1672
1627
|
account: GenericStorageQuery<
|
|
1673
|
-
Rv,
|
|
1674
1628
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1675
1629
|
[AccountId32, number, number]
|
|
1676
1630
|
>;
|
|
@@ -1682,7 +1636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1682
1636
|
* @param {[AccountId32Like, number]} arg
|
|
1683
1637
|
* @param {Callback<[] | undefined> =} callback
|
|
1684
1638
|
**/
|
|
1685
|
-
classAccount: GenericStorageQuery<
|
|
1639
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1686
1640
|
|
|
1687
1641
|
/**
|
|
1688
1642
|
* The items in existence and their ownership details.
|
|
@@ -1690,7 +1644,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1690
1644
|
* @param {[number, number]} arg
|
|
1691
1645
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
1692
1646
|
**/
|
|
1693
|
-
asset: GenericStorageQuery<
|
|
1647
|
+
asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
|
|
1694
1648
|
|
|
1695
1649
|
/**
|
|
1696
1650
|
* Metadata of a collection.
|
|
@@ -1698,7 +1652,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1698
1652
|
* @param {number} arg
|
|
1699
1653
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
1700
1654
|
**/
|
|
1701
|
-
classMetadataOf: GenericStorageQuery<
|
|
1655
|
+
classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
|
|
1702
1656
|
|
|
1703
1657
|
/**
|
|
1704
1658
|
* Metadata of an item.
|
|
@@ -1707,7 +1661,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1707
1661
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
1708
1662
|
**/
|
|
1709
1663
|
instanceMetadataOf: GenericStorageQuery<
|
|
1710
|
-
Rv,
|
|
1711
1664
|
(arg: [number, number]) => PalletUniquesItemMetadata | undefined,
|
|
1712
1665
|
[number, number]
|
|
1713
1666
|
>;
|
|
@@ -1719,7 +1672,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1719
1672
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
1720
1673
|
**/
|
|
1721
1674
|
attribute: GenericStorageQuery<
|
|
1722
|
-
Rv,
|
|
1723
1675
|
(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
1724
1676
|
[number, number | undefined, Bytes]
|
|
1725
1677
|
>;
|
|
@@ -1731,7 +1683,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1731
1683
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1732
1684
|
**/
|
|
1733
1685
|
itemPriceOf: GenericStorageQuery<
|
|
1734
|
-
Rv,
|
|
1735
1686
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1736
1687
|
[number, number]
|
|
1737
1688
|
>;
|
|
@@ -1742,12 +1693,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1742
1693
|
* @param {number} arg
|
|
1743
1694
|
* @param {Callback<number | undefined> =} callback
|
|
1744
1695
|
**/
|
|
1745
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
1696
|
+
collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
1746
1697
|
|
|
1747
1698
|
/**
|
|
1748
1699
|
* Generic pallet storage query
|
|
1749
1700
|
**/
|
|
1750
|
-
[storage: string]: GenericStorageQuery
|
|
1701
|
+
[storage: string]: GenericStorageQuery;
|
|
1751
1702
|
};
|
|
1752
1703
|
/**
|
|
1753
1704
|
* Pallet `Nfts`'s storage queries
|
|
@@ -1759,7 +1710,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1759
1710
|
* @param {number} arg
|
|
1760
1711
|
* @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
|
|
1761
1712
|
**/
|
|
1762
|
-
collection: GenericStorageQuery<
|
|
1713
|
+
collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
|
|
1763
1714
|
|
|
1764
1715
|
/**
|
|
1765
1716
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1767,7 +1718,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1767
1718
|
* @param {AccountId32Like} arg
|
|
1768
1719
|
* @param {Callback<number | undefined> =} callback
|
|
1769
1720
|
**/
|
|
1770
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1721
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1771
1722
|
|
|
1772
1723
|
/**
|
|
1773
1724
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1777,7 +1728,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1777
1728
|
* @param {Callback<[] | undefined> =} callback
|
|
1778
1729
|
**/
|
|
1779
1730
|
account: GenericStorageQuery<
|
|
1780
|
-
Rv,
|
|
1781
1731
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1782
1732
|
[AccountId32, number, number]
|
|
1783
1733
|
>;
|
|
@@ -1789,11 +1739,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1789
1739
|
* @param {[AccountId32Like, number]} arg
|
|
1790
1740
|
* @param {Callback<[] | undefined> =} callback
|
|
1791
1741
|
**/
|
|
1792
|
-
collectionAccount: GenericStorageQuery<
|
|
1793
|
-
Rv,
|
|
1794
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
1795
|
-
[AccountId32, number]
|
|
1796
|
-
>;
|
|
1742
|
+
collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1797
1743
|
|
|
1798
1744
|
/**
|
|
1799
1745
|
* The items in existence and their ownership details.
|
|
@@ -1803,7 +1749,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1803
1749
|
* @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
|
|
1804
1750
|
**/
|
|
1805
1751
|
collectionRoleOf: GenericStorageQuery<
|
|
1806
|
-
Rv,
|
|
1807
1752
|
(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
|
|
1808
1753
|
[number, AccountId32]
|
|
1809
1754
|
>;
|
|
@@ -1814,7 +1759,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1814
1759
|
* @param {[number, number]} arg
|
|
1815
1760
|
* @param {Callback<PalletNftsItemDetails | undefined> =} callback
|
|
1816
1761
|
**/
|
|
1817
|
-
item: GenericStorageQuery<
|
|
1762
|
+
item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
|
|
1818
1763
|
|
|
1819
1764
|
/**
|
|
1820
1765
|
* Metadata of a collection.
|
|
@@ -1822,7 +1767,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1822
1767
|
* @param {number} arg
|
|
1823
1768
|
* @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
|
|
1824
1769
|
**/
|
|
1825
|
-
collectionMetadataOf: GenericStorageQuery<
|
|
1770
|
+
collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
|
|
1826
1771
|
|
|
1827
1772
|
/**
|
|
1828
1773
|
* Metadata of an item.
|
|
@@ -1831,7 +1776,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1831
1776
|
* @param {Callback<PalletNftsItemMetadata | undefined> =} callback
|
|
1832
1777
|
**/
|
|
1833
1778
|
itemMetadataOf: GenericStorageQuery<
|
|
1834
|
-
Rv,
|
|
1835
1779
|
(arg: [number, number]) => PalletNftsItemMetadata | undefined,
|
|
1836
1780
|
[number, number]
|
|
1837
1781
|
>;
|
|
@@ -1843,7 +1787,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1843
1787
|
* @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
|
|
1844
1788
|
**/
|
|
1845
1789
|
attribute: GenericStorageQuery<
|
|
1846
|
-
Rv,
|
|
1847
1790
|
(
|
|
1848
1791
|
arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
|
|
1849
1792
|
) => [Bytes, PalletNftsAttributeDeposit] | undefined,
|
|
@@ -1857,7 +1800,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1857
1800
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1858
1801
|
**/
|
|
1859
1802
|
itemPriceOf: GenericStorageQuery<
|
|
1860
|
-
Rv,
|
|
1861
1803
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1862
1804
|
[number, number]
|
|
1863
1805
|
>;
|
|
@@ -1868,7 +1810,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1868
1810
|
* @param {[number, number]} arg
|
|
1869
1811
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1870
1812
|
**/
|
|
1871
|
-
itemAttributesApprovalsOf: GenericStorageQuery<
|
|
1813
|
+
itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
|
|
1872
1814
|
|
|
1873
1815
|
/**
|
|
1874
1816
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
@@ -1876,7 +1818,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1876
1818
|
*
|
|
1877
1819
|
* @param {Callback<number | undefined> =} callback
|
|
1878
1820
|
**/
|
|
1879
|
-
nextCollectionId: GenericStorageQuery<
|
|
1821
|
+
nextCollectionId: GenericStorageQuery<() => number | undefined>;
|
|
1880
1822
|
|
|
1881
1823
|
/**
|
|
1882
1824
|
* Handles all the pending swaps.
|
|
@@ -1884,11 +1826,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1884
1826
|
* @param {[number, number]} arg
|
|
1885
1827
|
* @param {Callback<PalletNftsPendingSwap | undefined> =} callback
|
|
1886
1828
|
**/
|
|
1887
|
-
pendingSwapOf: GenericStorageQuery<
|
|
1888
|
-
Rv,
|
|
1889
|
-
(arg: [number, number]) => PalletNftsPendingSwap | undefined,
|
|
1890
|
-
[number, number]
|
|
1891
|
-
>;
|
|
1829
|
+
pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
|
|
1892
1830
|
|
|
1893
1831
|
/**
|
|
1894
1832
|
* Config of a collection.
|
|
@@ -1896,7 +1834,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1896
1834
|
* @param {number} arg
|
|
1897
1835
|
* @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
|
|
1898
1836
|
**/
|
|
1899
|
-
collectionConfigOf: GenericStorageQuery<
|
|
1837
|
+
collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
|
|
1900
1838
|
|
|
1901
1839
|
/**
|
|
1902
1840
|
* Config of an item.
|
|
@@ -1904,16 +1842,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1904
1842
|
* @param {[number, number]} arg
|
|
1905
1843
|
* @param {Callback<PalletNftsItemConfig | undefined> =} callback
|
|
1906
1844
|
**/
|
|
1907
|
-
itemConfigOf: GenericStorageQuery<
|
|
1908
|
-
Rv,
|
|
1909
|
-
(arg: [number, number]) => PalletNftsItemConfig | undefined,
|
|
1910
|
-
[number, number]
|
|
1911
|
-
>;
|
|
1845
|
+
itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
|
|
1912
1846
|
|
|
1913
1847
|
/**
|
|
1914
1848
|
* Generic pallet storage query
|
|
1915
1849
|
**/
|
|
1916
|
-
[storage: string]: GenericStorageQuery
|
|
1850
|
+
[storage: string]: GenericStorageQuery;
|
|
1917
1851
|
};
|
|
1918
1852
|
/**
|
|
1919
1853
|
* Pallet `ForeignAssets`'s storage queries
|
|
@@ -1926,7 +1860,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1926
1860
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1927
1861
|
**/
|
|
1928
1862
|
asset: GenericStorageQuery<
|
|
1929
|
-
Rv,
|
|
1930
1863
|
(arg: StagingXcmV5Location) => PalletAssetsAssetDetails | undefined,
|
|
1931
1864
|
StagingXcmV5Location
|
|
1932
1865
|
>;
|
|
@@ -1938,7 +1871,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1938
1871
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1939
1872
|
**/
|
|
1940
1873
|
account: GenericStorageQuery<
|
|
1941
|
-
Rv,
|
|
1942
1874
|
(arg: [StagingXcmV5Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1943
1875
|
[StagingXcmV5Location, AccountId32]
|
|
1944
1876
|
>;
|
|
@@ -1952,7 +1884,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1952
1884
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1953
1885
|
**/
|
|
1954
1886
|
approvals: GenericStorageQuery<
|
|
1955
|
-
Rv,
|
|
1956
1887
|
(arg: [StagingXcmV5Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1957
1888
|
[StagingXcmV5Location, AccountId32, AccountId32]
|
|
1958
1889
|
>;
|
|
@@ -1963,7 +1894,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1963
1894
|
* @param {StagingXcmV5Location} arg
|
|
1964
1895
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1965
1896
|
**/
|
|
1966
|
-
metadata: GenericStorageQuery<
|
|
1897
|
+
metadata: GenericStorageQuery<(arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
1967
1898
|
|
|
1968
1899
|
/**
|
|
1969
1900
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1978,12 +1909,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1978
1909
|
*
|
|
1979
1910
|
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
1980
1911
|
**/
|
|
1981
|
-
nextAssetId: GenericStorageQuery<
|
|
1912
|
+
nextAssetId: GenericStorageQuery<() => StagingXcmV5Location | undefined>;
|
|
1982
1913
|
|
|
1983
1914
|
/**
|
|
1984
1915
|
* Generic pallet storage query
|
|
1985
1916
|
**/
|
|
1986
|
-
[storage: string]: GenericStorageQuery
|
|
1917
|
+
[storage: string]: GenericStorageQuery;
|
|
1987
1918
|
};
|
|
1988
1919
|
/**
|
|
1989
1920
|
* Pallet `NftFractionalization`'s storage queries
|
|
@@ -1996,7 +1927,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1996
1927
|
* @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
|
|
1997
1928
|
**/
|
|
1998
1929
|
nftToAsset: GenericStorageQuery<
|
|
1999
|
-
Rv,
|
|
2000
1930
|
(arg: [number, number]) => PalletNftFractionalizationDetails | undefined,
|
|
2001
1931
|
[number, number]
|
|
2002
1932
|
>;
|
|
@@ -2004,7 +1934,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2004
1934
|
/**
|
|
2005
1935
|
* Generic pallet storage query
|
|
2006
1936
|
**/
|
|
2007
|
-
[storage: string]: GenericStorageQuery
|
|
1937
|
+
[storage: string]: GenericStorageQuery;
|
|
2008
1938
|
};
|
|
2009
1939
|
/**
|
|
2010
1940
|
* Pallet `PoolAssets`'s storage queries
|
|
@@ -2016,7 +1946,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2016
1946
|
* @param {number} arg
|
|
2017
1947
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
2018
1948
|
**/
|
|
2019
|
-
asset: GenericStorageQuery<
|
|
1949
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
2020
1950
|
|
|
2021
1951
|
/**
|
|
2022
1952
|
* The holdings of a specific account for a specific asset.
|
|
@@ -2025,7 +1955,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2025
1955
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
2026
1956
|
**/
|
|
2027
1957
|
account: GenericStorageQuery<
|
|
2028
|
-
Rv,
|
|
2029
1958
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
2030
1959
|
[number, AccountId32]
|
|
2031
1960
|
>;
|
|
@@ -2039,7 +1968,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2039
1968
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
2040
1969
|
**/
|
|
2041
1970
|
approvals: GenericStorageQuery<
|
|
2042
|
-
Rv,
|
|
2043
1971
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
2044
1972
|
[number, AccountId32, AccountId32]
|
|
2045
1973
|
>;
|
|
@@ -2050,7 +1978,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2050
1978
|
* @param {number} arg
|
|
2051
1979
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
2052
1980
|
**/
|
|
2053
|
-
metadata: GenericStorageQuery<
|
|
1981
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
2054
1982
|
|
|
2055
1983
|
/**
|
|
2056
1984
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -2065,12 +1993,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2065
1993
|
*
|
|
2066
1994
|
* @param {Callback<number | undefined> =} callback
|
|
2067
1995
|
**/
|
|
2068
|
-
nextAssetId: GenericStorageQuery<
|
|
1996
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2069
1997
|
|
|
2070
1998
|
/**
|
|
2071
1999
|
* Generic pallet storage query
|
|
2072
2000
|
**/
|
|
2073
|
-
[storage: string]: GenericStorageQuery
|
|
2001
|
+
[storage: string]: GenericStorageQuery;
|
|
2074
2002
|
};
|
|
2075
2003
|
/**
|
|
2076
2004
|
* Pallet `AssetConversion`'s storage queries
|
|
@@ -2084,7 +2012,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2084
2012
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
2085
2013
|
**/
|
|
2086
2014
|
pools: GenericStorageQuery<
|
|
2087
|
-
Rv,
|
|
2088
2015
|
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => PalletAssetConversionPoolInfo | undefined,
|
|
2089
2016
|
[StagingXcmV5Location, StagingXcmV5Location]
|
|
2090
2017
|
>;
|
|
@@ -2095,12 +2022,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2095
2022
|
*
|
|
2096
2023
|
* @param {Callback<number | undefined> =} callback
|
|
2097
2024
|
**/
|
|
2098
|
-
nextPoolAssetId: GenericStorageQuery<
|
|
2025
|
+
nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2099
2026
|
|
|
2100
2027
|
/**
|
|
2101
2028
|
* Generic pallet storage query
|
|
2102
2029
|
**/
|
|
2103
|
-
[storage: string]: GenericStorageQuery
|
|
2030
|
+
[storage: string]: GenericStorageQuery;
|
|
2104
2031
|
};
|
|
2105
2032
|
/**
|
|
2106
2033
|
* Pallet `Recovery`'s storage queries
|
|
@@ -2112,11 +2039,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2112
2039
|
* @param {AccountId32Like} arg
|
|
2113
2040
|
* @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
|
|
2114
2041
|
**/
|
|
2115
|
-
recoverable: GenericStorageQuery<
|
|
2116
|
-
Rv,
|
|
2117
|
-
(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined,
|
|
2118
|
-
AccountId32
|
|
2119
|
-
>;
|
|
2042
|
+
recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
|
|
2120
2043
|
|
|
2121
2044
|
/**
|
|
2122
2045
|
* Active recovery attempts.
|
|
@@ -2128,7 +2051,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2128
2051
|
* @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
|
|
2129
2052
|
**/
|
|
2130
2053
|
activeRecoveries: GenericStorageQuery<
|
|
2131
|
-
Rv,
|
|
2132
2054
|
(arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined,
|
|
2133
2055
|
[AccountId32, AccountId32]
|
|
2134
2056
|
>;
|
|
@@ -2141,12 +2063,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2141
2063
|
* @param {AccountId32Like} arg
|
|
2142
2064
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2143
2065
|
**/
|
|
2144
|
-
proxy: GenericStorageQuery<
|
|
2066
|
+
proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
2145
2067
|
|
|
2146
2068
|
/**
|
|
2147
2069
|
* Generic pallet storage query
|
|
2148
2070
|
**/
|
|
2149
|
-
[storage: string]: GenericStorageQuery
|
|
2071
|
+
[storage: string]: GenericStorageQuery;
|
|
2150
2072
|
};
|
|
2151
2073
|
/**
|
|
2152
2074
|
* Pallet `Society`'s storage queries
|
|
@@ -2157,28 +2079,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2157
2079
|
*
|
|
2158
2080
|
* @param {Callback<PalletSocietyGroupParams | undefined> =} callback
|
|
2159
2081
|
**/
|
|
2160
|
-
parameters: GenericStorageQuery<
|
|
2082
|
+
parameters: GenericStorageQuery<() => PalletSocietyGroupParams | undefined>;
|
|
2161
2083
|
|
|
2162
2084
|
/**
|
|
2163
2085
|
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
2164
2086
|
*
|
|
2165
2087
|
* @param {Callback<bigint> =} callback
|
|
2166
2088
|
**/
|
|
2167
|
-
pot: GenericStorageQuery<
|
|
2089
|
+
pot: GenericStorageQuery<() => bigint>;
|
|
2168
2090
|
|
|
2169
2091
|
/**
|
|
2170
2092
|
* The first member.
|
|
2171
2093
|
*
|
|
2172
2094
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2173
2095
|
**/
|
|
2174
|
-
founder: GenericStorageQuery<
|
|
2096
|
+
founder: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2175
2097
|
|
|
2176
2098
|
/**
|
|
2177
2099
|
* The most primary from the most recently approved rank 0 members in the society.
|
|
2178
2100
|
*
|
|
2179
2101
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2180
2102
|
**/
|
|
2181
|
-
head: GenericStorageQuery<
|
|
2103
|
+
head: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2182
2104
|
|
|
2183
2105
|
/**
|
|
2184
2106
|
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
@@ -2186,7 +2108,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2186
2108
|
*
|
|
2187
2109
|
* @param {Callback<H256 | undefined> =} callback
|
|
2188
2110
|
**/
|
|
2189
|
-
rules: GenericStorageQuery<
|
|
2111
|
+
rules: GenericStorageQuery<() => H256 | undefined>;
|
|
2190
2112
|
|
|
2191
2113
|
/**
|
|
2192
2114
|
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
|
@@ -2194,7 +2116,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2194
2116
|
* @param {AccountId32Like} arg
|
|
2195
2117
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
2196
2118
|
**/
|
|
2197
|
-
members: GenericStorageQuery<
|
|
2119
|
+
members: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
2198
2120
|
|
|
2199
2121
|
/**
|
|
2200
2122
|
* Information regarding rank-0 payouts, past and future.
|
|
@@ -2202,14 +2124,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2202
2124
|
* @param {AccountId32Like} arg
|
|
2203
2125
|
* @param {Callback<PalletSocietyPayoutRecord> =} callback
|
|
2204
2126
|
**/
|
|
2205
|
-
payouts: GenericStorageQuery<
|
|
2127
|
+
payouts: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyPayoutRecord, AccountId32>;
|
|
2206
2128
|
|
|
2207
2129
|
/**
|
|
2208
2130
|
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
|
2209
2131
|
*
|
|
2210
2132
|
* @param {Callback<number> =} callback
|
|
2211
2133
|
**/
|
|
2212
|
-
memberCount: GenericStorageQuery<
|
|
2134
|
+
memberCount: GenericStorageQuery<() => number>;
|
|
2213
2135
|
|
|
2214
2136
|
/**
|
|
2215
2137
|
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
|
@@ -2218,7 +2140,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2218
2140
|
* @param {number} arg
|
|
2219
2141
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2220
2142
|
**/
|
|
2221
|
-
memberByIndex: GenericStorageQuery<
|
|
2143
|
+
memberByIndex: GenericStorageQuery<(arg: number) => AccountId32 | undefined, number>;
|
|
2222
2144
|
|
|
2223
2145
|
/**
|
|
2224
2146
|
* The set of suspended members, with their old membership record.
|
|
@@ -2226,39 +2148,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2226
2148
|
* @param {AccountId32Like} arg
|
|
2227
2149
|
* @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
|
|
2228
2150
|
**/
|
|
2229
|
-
suspendedMembers: GenericStorageQuery<
|
|
2230
|
-
Rv,
|
|
2231
|
-
(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined,
|
|
2232
|
-
AccountId32
|
|
2233
|
-
>;
|
|
2151
|
+
suspendedMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined, AccountId32>;
|
|
2234
2152
|
|
|
2235
2153
|
/**
|
|
2236
2154
|
* The number of rounds which have passed.
|
|
2237
2155
|
*
|
|
2238
2156
|
* @param {Callback<number> =} callback
|
|
2239
2157
|
**/
|
|
2240
|
-
roundCount: GenericStorageQuery<
|
|
2158
|
+
roundCount: GenericStorageQuery<() => number>;
|
|
2241
2159
|
|
|
2242
2160
|
/**
|
|
2243
2161
|
* The current bids, stored ordered by the value of the bid.
|
|
2244
2162
|
*
|
|
2245
2163
|
* @param {Callback<Array<PalletSocietyBid>> =} callback
|
|
2246
2164
|
**/
|
|
2247
|
-
bids: GenericStorageQuery<
|
|
2165
|
+
bids: GenericStorageQuery<() => Array<PalletSocietyBid>>;
|
|
2248
2166
|
|
|
2249
2167
|
/**
|
|
2250
2168
|
*
|
|
2251
2169
|
* @param {AccountId32Like} arg
|
|
2252
2170
|
* @param {Callback<PalletSocietyCandidacy | undefined> =} callback
|
|
2253
2171
|
**/
|
|
2254
|
-
candidates: GenericStorageQuery<
|
|
2172
|
+
candidates: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyCandidacy | undefined, AccountId32>;
|
|
2255
2173
|
|
|
2256
2174
|
/**
|
|
2257
2175
|
* The current skeptic.
|
|
2258
2176
|
*
|
|
2259
2177
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2260
2178
|
**/
|
|
2261
|
-
skeptic: GenericStorageQuery<
|
|
2179
|
+
skeptic: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2262
2180
|
|
|
2263
2181
|
/**
|
|
2264
2182
|
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
@@ -2267,7 +2185,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2267
2185
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
2268
2186
|
**/
|
|
2269
2187
|
votes: GenericStorageQuery<
|
|
2270
|
-
Rv,
|
|
2271
2188
|
(arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
2272
2189
|
[AccountId32, AccountId32]
|
|
2273
2190
|
>;
|
|
@@ -2278,7 +2195,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2278
2195
|
* @param {AccountId32Like} arg
|
|
2279
2196
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2280
2197
|
**/
|
|
2281
|
-
voteClearCursor: GenericStorageQuery<
|
|
2198
|
+
voteClearCursor: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
2282
2199
|
|
|
2283
2200
|
/**
|
|
2284
2201
|
* At the end of the claim period, this contains the most recently approved members (along with
|
|
@@ -2287,21 +2204,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2287
2204
|
*
|
|
2288
2205
|
* @param {Callback<PalletSocietyIntakeRecord | undefined> =} callback
|
|
2289
2206
|
**/
|
|
2290
|
-
nextHead: GenericStorageQuery<
|
|
2207
|
+
nextHead: GenericStorageQuery<() => PalletSocietyIntakeRecord | undefined>;
|
|
2291
2208
|
|
|
2292
2209
|
/**
|
|
2293
2210
|
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
|
2294
2211
|
*
|
|
2295
2212
|
* @param {Callback<number> =} callback
|
|
2296
2213
|
**/
|
|
2297
|
-
challengeRoundCount: GenericStorageQuery<
|
|
2214
|
+
challengeRoundCount: GenericStorageQuery<() => number>;
|
|
2298
2215
|
|
|
2299
2216
|
/**
|
|
2300
2217
|
* The defending member currently being challenged, along with a running tally of votes.
|
|
2301
2218
|
*
|
|
2302
2219
|
* @param {Callback<[AccountId32, AccountId32, PalletSocietyTally] | undefined> =} callback
|
|
2303
2220
|
**/
|
|
2304
|
-
defending: GenericStorageQuery<
|
|
2221
|
+
defending: GenericStorageQuery<() => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
|
|
2305
2222
|
|
|
2306
2223
|
/**
|
|
2307
2224
|
* Votes for the defender, keyed by challenge round.
|
|
@@ -2310,7 +2227,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2310
2227
|
* @param {Callback<PalletSocietyVote | undefined> =} callback
|
|
2311
2228
|
**/
|
|
2312
2229
|
defenderVotes: GenericStorageQuery<
|
|
2313
|
-
Rv,
|
|
2314
2230
|
(arg: [number, AccountId32Like]) => PalletSocietyVote | undefined,
|
|
2315
2231
|
[number, AccountId32]
|
|
2316
2232
|
>;
|
|
@@ -2320,19 +2236,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2320
2236
|
*
|
|
2321
2237
|
* @param {Callback<number | undefined> =} callback
|
|
2322
2238
|
**/
|
|
2323
|
-
nextIntakeAt: GenericStorageQuery<
|
|
2239
|
+
nextIntakeAt: GenericStorageQuery<() => number | undefined>;
|
|
2324
2240
|
|
|
2325
2241
|
/**
|
|
2326
2242
|
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
|
2327
2243
|
*
|
|
2328
2244
|
* @param {Callback<number | undefined> =} callback
|
|
2329
2245
|
**/
|
|
2330
|
-
nextChallengeAt: GenericStorageQuery<
|
|
2246
|
+
nextChallengeAt: GenericStorageQuery<() => number | undefined>;
|
|
2331
2247
|
|
|
2332
2248
|
/**
|
|
2333
2249
|
* Generic pallet storage query
|
|
2334
2250
|
**/
|
|
2335
|
-
[storage: string]: GenericStorageQuery
|
|
2251
|
+
[storage: string]: GenericStorageQuery;
|
|
2336
2252
|
};
|
|
2337
2253
|
/**
|
|
2338
2254
|
* Pallet `Revive`'s storage queries
|
|
@@ -2344,7 +2260,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2344
2260
|
* @param {H256} arg
|
|
2345
2261
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2346
2262
|
**/
|
|
2347
|
-
pristineCode: GenericStorageQuery<
|
|
2263
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
2348
2264
|
|
|
2349
2265
|
/**
|
|
2350
2266
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -2352,7 +2268,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2352
2268
|
* @param {H256} arg
|
|
2353
2269
|
* @param {Callback<PalletReviveVmCodeInfo | undefined> =} callback
|
|
2354
2270
|
**/
|
|
2355
|
-
codeInfoOf: GenericStorageQuery<
|
|
2271
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletReviveVmCodeInfo | undefined, H256>;
|
|
2356
2272
|
|
|
2357
2273
|
/**
|
|
2358
2274
|
* The data associated to a contract or externally owned account.
|
|
@@ -2360,7 +2276,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2360
2276
|
* @param {H160} arg
|
|
2361
2277
|
* @param {Callback<PalletReviveStorageAccountInfo | undefined> =} callback
|
|
2362
2278
|
**/
|
|
2363
|
-
accountInfoOf: GenericStorageQuery<
|
|
2279
|
+
accountInfoOf: GenericStorageQuery<(arg: H160) => PalletReviveStorageAccountInfo | undefined, H160>;
|
|
2364
2280
|
|
|
2365
2281
|
/**
|
|
2366
2282
|
* The immutable data associated with a given account.
|
|
@@ -2368,7 +2284,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2368
2284
|
* @param {H160} arg
|
|
2369
2285
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2370
2286
|
**/
|
|
2371
|
-
immutableDataOf: GenericStorageQuery<
|
|
2287
|
+
immutableDataOf: GenericStorageQuery<(arg: H160) => Bytes | undefined, H160>;
|
|
2372
2288
|
|
|
2373
2289
|
/**
|
|
2374
2290
|
* Evicted contracts that await child trie deletion.
|
|
@@ -2379,7 +2295,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2379
2295
|
* @param {number} arg
|
|
2380
2296
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2381
2297
|
**/
|
|
2382
|
-
deletionQueue: GenericStorageQuery<
|
|
2298
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2383
2299
|
|
|
2384
2300
|
/**
|
|
2385
2301
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -2387,7 +2303,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2387
2303
|
*
|
|
2388
2304
|
* @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
|
|
2389
2305
|
**/
|
|
2390
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
2306
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletReviveStorageDeletionQueueManager>;
|
|
2391
2307
|
|
|
2392
2308
|
/**
|
|
2393
2309
|
* Map a Ethereum address to its original `AccountId32`.
|
|
@@ -2400,12 +2316,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2400
2316
|
* @param {H160} arg
|
|
2401
2317
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2402
2318
|
**/
|
|
2403
|
-
originalAccount: GenericStorageQuery<
|
|
2319
|
+
originalAccount: GenericStorageQuery<(arg: H160) => AccountId32 | undefined, H160>;
|
|
2404
2320
|
|
|
2405
2321
|
/**
|
|
2406
2322
|
* Generic pallet storage query
|
|
2407
2323
|
**/
|
|
2408
|
-
[storage: string]: GenericStorageQuery
|
|
2324
|
+
[storage: string]: GenericStorageQuery;
|
|
2409
2325
|
};
|
|
2410
2326
|
/**
|
|
2411
2327
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -2419,7 +2335,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2419
2335
|
*
|
|
2420
2336
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
2421
2337
|
**/
|
|
2422
|
-
migrationProcess: GenericStorageQuery<
|
|
2338
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
2423
2339
|
|
|
2424
2340
|
/**
|
|
2425
2341
|
* The limits that are imposed on automatic migrations.
|
|
@@ -2428,7 +2344,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2428
2344
|
*
|
|
2429
2345
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2430
2346
|
**/
|
|
2431
|
-
autoLimits: GenericStorageQuery<
|
|
2347
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2432
2348
|
|
|
2433
2349
|
/**
|
|
2434
2350
|
* The maximum limits that the signed migration could use.
|
|
@@ -2437,12 +2353,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2437
2353
|
*
|
|
2438
2354
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2439
2355
|
**/
|
|
2440
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
2356
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2441
2357
|
|
|
2442
2358
|
/**
|
|
2443
2359
|
* Generic pallet storage query
|
|
2444
2360
|
**/
|
|
2445
|
-
[storage: string]: GenericStorageQuery
|
|
2361
|
+
[storage: string]: GenericStorageQuery;
|
|
2446
2362
|
};
|
|
2447
2363
|
/**
|
|
2448
2364
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -2457,14 +2373,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2457
2373
|
*
|
|
2458
2374
|
* @param {Callback<bigint> =} callback
|
|
2459
2375
|
**/
|
|
2460
|
-
totalValueLocked: GenericStorageQuery<
|
|
2376
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
2461
2377
|
|
|
2462
2378
|
/**
|
|
2463
2379
|
* Minimum amount to bond to join a pool.
|
|
2464
2380
|
*
|
|
2465
2381
|
* @param {Callback<bigint> =} callback
|
|
2466
2382
|
**/
|
|
2467
|
-
minJoinBond: GenericStorageQuery<
|
|
2383
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
2468
2384
|
|
|
2469
2385
|
/**
|
|
2470
2386
|
* Minimum bond required to create a pool.
|
|
@@ -2477,7 +2393,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2477
2393
|
*
|
|
2478
2394
|
* @param {Callback<bigint> =} callback
|
|
2479
2395
|
**/
|
|
2480
|
-
minCreateBond: GenericStorageQuery<
|
|
2396
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
2481
2397
|
|
|
2482
2398
|
/**
|
|
2483
2399
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -2485,7 +2401,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2485
2401
|
*
|
|
2486
2402
|
* @param {Callback<number | undefined> =} callback
|
|
2487
2403
|
**/
|
|
2488
|
-
maxPools: GenericStorageQuery<
|
|
2404
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
2489
2405
|
|
|
2490
2406
|
/**
|
|
2491
2407
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -2493,7 +2409,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2493
2409
|
*
|
|
2494
2410
|
* @param {Callback<number | undefined> =} callback
|
|
2495
2411
|
**/
|
|
2496
|
-
maxPoolMembers: GenericStorageQuery<
|
|
2412
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
2497
2413
|
|
|
2498
2414
|
/**
|
|
2499
2415
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -2501,7 +2417,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2501
2417
|
*
|
|
2502
2418
|
* @param {Callback<number | undefined> =} callback
|
|
2503
2419
|
**/
|
|
2504
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
2420
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
2505
2421
|
|
|
2506
2422
|
/**
|
|
2507
2423
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -2510,7 +2426,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2510
2426
|
*
|
|
2511
2427
|
* @param {Callback<Perbill | undefined> =} callback
|
|
2512
2428
|
**/
|
|
2513
|
-
globalMaxCommission: GenericStorageQuery<
|
|
2429
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
2514
2430
|
|
|
2515
2431
|
/**
|
|
2516
2432
|
* Active members.
|
|
@@ -2521,7 +2437,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2521
2437
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
2522
2438
|
**/
|
|
2523
2439
|
poolMembers: GenericStorageQuery<
|
|
2524
|
-
Rv,
|
|
2525
2440
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
2526
2441
|
AccountId32
|
|
2527
2442
|
>;
|
|
@@ -2531,7 +2446,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2531
2446
|
*
|
|
2532
2447
|
* @param {Callback<number> =} callback
|
|
2533
2448
|
**/
|
|
2534
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
2449
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
2535
2450
|
|
|
2536
2451
|
/**
|
|
2537
2452
|
* Storage for bonded pools.
|
|
@@ -2539,14 +2454,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2539
2454
|
* @param {number} arg
|
|
2540
2455
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
2541
2456
|
**/
|
|
2542
|
-
bondedPools: GenericStorageQuery<
|
|
2457
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
2543
2458
|
|
|
2544
2459
|
/**
|
|
2545
2460
|
* Counter for the related counted storage map
|
|
2546
2461
|
*
|
|
2547
2462
|
* @param {Callback<number> =} callback
|
|
2548
2463
|
**/
|
|
2549
|
-
counterForBondedPools: GenericStorageQuery<
|
|
2464
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
2550
2465
|
|
|
2551
2466
|
/**
|
|
2552
2467
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -2555,14 +2470,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2555
2470
|
* @param {number} arg
|
|
2556
2471
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
2557
2472
|
**/
|
|
2558
|
-
rewardPools: GenericStorageQuery<
|
|
2473
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
2559
2474
|
|
|
2560
2475
|
/**
|
|
2561
2476
|
* Counter for the related counted storage map
|
|
2562
2477
|
*
|
|
2563
2478
|
* @param {Callback<number> =} callback
|
|
2564
2479
|
**/
|
|
2565
|
-
counterForRewardPools: GenericStorageQuery<
|
|
2480
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2566
2481
|
|
|
2567
2482
|
/**
|
|
2568
2483
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2571,14 +2486,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2571
2486
|
* @param {number} arg
|
|
2572
2487
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2573
2488
|
**/
|
|
2574
|
-
subPoolsStorage: GenericStorageQuery<
|
|
2489
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2575
2490
|
|
|
2576
2491
|
/**
|
|
2577
2492
|
* Counter for the related counted storage map
|
|
2578
2493
|
*
|
|
2579
2494
|
* @param {Callback<number> =} callback
|
|
2580
2495
|
**/
|
|
2581
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
2496
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2582
2497
|
|
|
2583
2498
|
/**
|
|
2584
2499
|
* Metadata for the pool.
|
|
@@ -2586,21 +2501,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2586
2501
|
* @param {number} arg
|
|
2587
2502
|
* @param {Callback<Bytes> =} callback
|
|
2588
2503
|
**/
|
|
2589
|
-
metadata: GenericStorageQuery<
|
|
2504
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2590
2505
|
|
|
2591
2506
|
/**
|
|
2592
2507
|
* Counter for the related counted storage map
|
|
2593
2508
|
*
|
|
2594
2509
|
* @param {Callback<number> =} callback
|
|
2595
2510
|
**/
|
|
2596
|
-
counterForMetadata: GenericStorageQuery<
|
|
2511
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
2597
2512
|
|
|
2598
2513
|
/**
|
|
2599
2514
|
* Ever increasing number of all pools created so far.
|
|
2600
2515
|
*
|
|
2601
2516
|
* @param {Callback<number> =} callback
|
|
2602
2517
|
**/
|
|
2603
|
-
lastPoolId: GenericStorageQuery<
|
|
2518
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
2604
2519
|
|
|
2605
2520
|
/**
|
|
2606
2521
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -2611,14 +2526,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2611
2526
|
* @param {AccountId32Like} arg
|
|
2612
2527
|
* @param {Callback<number | undefined> =} callback
|
|
2613
2528
|
**/
|
|
2614
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2529
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
2615
2530
|
|
|
2616
2531
|
/**
|
|
2617
2532
|
* Counter for the related counted storage map
|
|
2618
2533
|
*
|
|
2619
2534
|
* @param {Callback<number> =} callback
|
|
2620
2535
|
**/
|
|
2621
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2536
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
2622
2537
|
|
|
2623
2538
|
/**
|
|
2624
2539
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -2626,16 +2541,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2626
2541
|
* @param {AccountId32Like} arg
|
|
2627
2542
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
2628
2543
|
**/
|
|
2629
|
-
claimPermissions: GenericStorageQuery<
|
|
2630
|
-
Rv,
|
|
2631
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
2632
|
-
AccountId32
|
|
2633
|
-
>;
|
|
2544
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
2634
2545
|
|
|
2635
2546
|
/**
|
|
2636
2547
|
* Generic pallet storage query
|
|
2637
2548
|
**/
|
|
2638
|
-
[storage: string]: GenericStorageQuery
|
|
2549
|
+
[storage: string]: GenericStorageQuery;
|
|
2639
2550
|
};
|
|
2640
2551
|
/**
|
|
2641
2552
|
* Pallet `VoterList`'s storage queries
|
|
@@ -2649,14 +2560,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2649
2560
|
* @param {AccountId32Like} arg
|
|
2650
2561
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
2651
2562
|
**/
|
|
2652
|
-
listNodes: GenericStorageQuery<
|
|
2563
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
2653
2564
|
|
|
2654
2565
|
/**
|
|
2655
2566
|
* Counter for the related counted storage map
|
|
2656
2567
|
*
|
|
2657
2568
|
* @param {Callback<number> =} callback
|
|
2658
2569
|
**/
|
|
2659
|
-
counterForListNodes: GenericStorageQuery<
|
|
2570
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
2660
2571
|
|
|
2661
2572
|
/**
|
|
2662
2573
|
* A bag stored in storage.
|
|
@@ -2666,7 +2577,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2666
2577
|
* @param {bigint} arg
|
|
2667
2578
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
2668
2579
|
**/
|
|
2669
|
-
listBags: GenericStorageQuery<
|
|
2580
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
2670
2581
|
|
|
2671
2582
|
/**
|
|
2672
2583
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -2674,7 +2585,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2674
2585
|
*
|
|
2675
2586
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2676
2587
|
**/
|
|
2677
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
2588
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2678
2589
|
|
|
2679
2590
|
/**
|
|
2680
2591
|
* Lock all updates to this pallet.
|
|
@@ -2684,12 +2595,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2684
2595
|
*
|
|
2685
2596
|
* @param {Callback<[] | undefined> =} callback
|
|
2686
2597
|
**/
|
|
2687
|
-
lock: GenericStorageQuery<
|
|
2598
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2688
2599
|
|
|
2689
2600
|
/**
|
|
2690
2601
|
* Generic pallet storage query
|
|
2691
2602
|
**/
|
|
2692
|
-
[storage: string]: GenericStorageQuery
|
|
2603
|
+
[storage: string]: GenericStorageQuery;
|
|
2693
2604
|
};
|
|
2694
2605
|
/**
|
|
2695
2606
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -2705,7 +2616,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2705
2616
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2706
2617
|
**/
|
|
2707
2618
|
delegators: GenericStorageQuery<
|
|
2708
|
-
Rv,
|
|
2709
2619
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2710
2620
|
AccountId32
|
|
2711
2621
|
>;
|
|
@@ -2715,7 +2625,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2715
2625
|
*
|
|
2716
2626
|
* @param {Callback<number> =} callback
|
|
2717
2627
|
**/
|
|
2718
|
-
counterForDelegators: GenericStorageQuery<
|
|
2628
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2719
2629
|
|
|
2720
2630
|
/**
|
|
2721
2631
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -2723,23 +2633,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2723
2633
|
* @param {AccountId32Like} arg
|
|
2724
2634
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2725
2635
|
**/
|
|
2726
|
-
agents: GenericStorageQuery<
|
|
2727
|
-
Rv,
|
|
2728
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2729
|
-
AccountId32
|
|
2730
|
-
>;
|
|
2636
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2731
2637
|
|
|
2732
2638
|
/**
|
|
2733
2639
|
* Counter for the related counted storage map
|
|
2734
2640
|
*
|
|
2735
2641
|
* @param {Callback<number> =} callback
|
|
2736
2642
|
**/
|
|
2737
|
-
counterForAgents: GenericStorageQuery<
|
|
2643
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
2738
2644
|
|
|
2739
2645
|
/**
|
|
2740
2646
|
* Generic pallet storage query
|
|
2741
2647
|
**/
|
|
2742
|
-
[storage: string]: GenericStorageQuery
|
|
2648
|
+
[storage: string]: GenericStorageQuery;
|
|
2743
2649
|
};
|
|
2744
2650
|
/**
|
|
2745
2651
|
* Pallet `StakingRcClient`'s storage queries
|
|
@@ -2750,7 +2656,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2750
2656
|
*
|
|
2751
2657
|
* @param {Callback<PalletStakingAsyncRcClientSessionReport | undefined> =} callback
|
|
2752
2658
|
**/
|
|
2753
|
-
incompleteSessionReport: GenericStorageQuery<
|
|
2659
|
+
incompleteSessionReport: GenericStorageQuery<() => PalletStakingAsyncRcClientSessionReport | undefined>;
|
|
2754
2660
|
|
|
2755
2661
|
/**
|
|
2756
2662
|
* The last session report's `end_index` that we have acted upon.
|
|
@@ -2764,7 +2670,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2764
2670
|
*
|
|
2765
2671
|
* @param {Callback<number | undefined> =} callback
|
|
2766
2672
|
**/
|
|
2767
|
-
lastSessionReportEndingIndex: GenericStorageQuery<
|
|
2673
|
+
lastSessionReportEndingIndex: GenericStorageQuery<() => number | undefined>;
|
|
2768
2674
|
|
|
2769
2675
|
/**
|
|
2770
2676
|
* A validator set that is outgoing, and should be sent.
|
|
@@ -2774,15 +2680,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2774
2680
|
*
|
|
2775
2681
|
* @param {Callback<[PalletStakingAsyncRcClientValidatorSetReport, number] | undefined> =} callback
|
|
2776
2682
|
**/
|
|
2777
|
-
outgoingValidatorSet: GenericStorageQuery<
|
|
2778
|
-
Rv,
|
|
2779
|
-
() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined
|
|
2780
|
-
>;
|
|
2683
|
+
outgoingValidatorSet: GenericStorageQuery<() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined>;
|
|
2781
2684
|
|
|
2782
2685
|
/**
|
|
2783
2686
|
* Generic pallet storage query
|
|
2784
2687
|
**/
|
|
2785
|
-
[storage: string]: GenericStorageQuery
|
|
2688
|
+
[storage: string]: GenericStorageQuery;
|
|
2786
2689
|
};
|
|
2787
2690
|
/**
|
|
2788
2691
|
* Pallet `MultiBlockElection`'s storage queries
|
|
@@ -2798,14 +2701,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2798
2701
|
*
|
|
2799
2702
|
* @param {Callback<number> =} callback
|
|
2800
2703
|
**/
|
|
2801
|
-
round: GenericStorageQuery<
|
|
2704
|
+
round: GenericStorageQuery<() => number>;
|
|
2802
2705
|
|
|
2803
2706
|
/**
|
|
2804
2707
|
* Current phase.
|
|
2805
2708
|
*
|
|
2806
2709
|
* @param {Callback<PalletElectionProviderMultiBlockPhase> =} callback
|
|
2807
2710
|
**/
|
|
2808
|
-
currentPhase: GenericStorageQuery<
|
|
2711
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiBlockPhase>;
|
|
2809
2712
|
|
|
2810
2713
|
/**
|
|
2811
2714
|
* Desired number of targets to elect for this round.
|
|
@@ -2813,7 +2716,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2813
2716
|
* @param {number} arg
|
|
2814
2717
|
* @param {Callback<number | undefined> =} callback
|
|
2815
2718
|
**/
|
|
2816
|
-
desiredTargets: GenericStorageQuery<
|
|
2719
|
+
desiredTargets: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
2817
2720
|
|
|
2818
2721
|
/**
|
|
2819
2722
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
|
@@ -2822,7 +2725,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2822
2725
|
* @param {Callback<Array<[AccountId32, bigint, Array<AccountId32>]> | undefined> =} callback
|
|
2823
2726
|
**/
|
|
2824
2727
|
pagedVoterSnapshot: GenericStorageQuery<
|
|
2825
|
-
Rv,
|
|
2826
2728
|
(arg: [number, number]) => Array<[AccountId32, bigint, Array<AccountId32>]> | undefined,
|
|
2827
2729
|
[number, number]
|
|
2828
2730
|
>;
|
|
@@ -2835,7 +2737,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2835
2737
|
* @param {[number, number]} arg
|
|
2836
2738
|
* @param {Callback<H256 | undefined> =} callback
|
|
2837
2739
|
**/
|
|
2838
|
-
pagedVoterSnapshotHash: GenericStorageQuery<
|
|
2740
|
+
pagedVoterSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2839
2741
|
|
|
2840
2742
|
/**
|
|
2841
2743
|
* Paginated target snapshot.
|
|
@@ -2846,7 +2748,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2846
2748
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
2847
2749
|
**/
|
|
2848
2750
|
pagedTargetSnapshot: GenericStorageQuery<
|
|
2849
|
-
Rv,
|
|
2850
2751
|
(arg: [number, number]) => Array<AccountId32> | undefined,
|
|
2851
2752
|
[number, number]
|
|
2852
2753
|
>;
|
|
@@ -2859,12 +2760,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2859
2760
|
* @param {[number, number]} arg
|
|
2860
2761
|
* @param {Callback<H256 | undefined> =} callback
|
|
2861
2762
|
**/
|
|
2862
|
-
pagedTargetSnapshotHash: GenericStorageQuery<
|
|
2763
|
+
pagedTargetSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2863
2764
|
|
|
2864
2765
|
/**
|
|
2865
2766
|
* Generic pallet storage query
|
|
2866
2767
|
**/
|
|
2867
|
-
[storage: string]: GenericStorageQuery
|
|
2768
|
+
[storage: string]: GenericStorageQuery;
|
|
2868
2769
|
};
|
|
2869
2770
|
/**
|
|
2870
2771
|
* Pallet `MultiBlockElectionVerifier`'s storage queries
|
|
@@ -2883,7 +2784,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2883
2784
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2884
2785
|
**/
|
|
2885
2786
|
queuedSolutionX: GenericStorageQuery<
|
|
2886
|
-
Rv,
|
|
2887
2787
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2888
2788
|
[number, number]
|
|
2889
2789
|
>;
|
|
@@ -2895,7 +2795,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2895
2795
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2896
2796
|
**/
|
|
2897
2797
|
queuedSolutionY: GenericStorageQuery<
|
|
2898
|
-
Rv,
|
|
2899
2798
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2900
2799
|
[number, number]
|
|
2901
2800
|
>;
|
|
@@ -2908,7 +2807,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2908
2807
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsValidSolution> =} callback
|
|
2909
2808
|
**/
|
|
2910
2809
|
queuedValidVariant: GenericStorageQuery<
|
|
2911
|
-
Rv,
|
|
2912
2810
|
(arg: number) => PalletElectionProviderMultiBlockVerifierImplsValidSolution,
|
|
2913
2811
|
number
|
|
2914
2812
|
>;
|
|
@@ -2927,7 +2825,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2927
2825
|
* @param {Callback<Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined> =} callback
|
|
2928
2826
|
**/
|
|
2929
2827
|
queuedSolutionBackings: GenericStorageQuery<
|
|
2930
|
-
Rv,
|
|
2931
2828
|
(
|
|
2932
2829
|
arg: [number, number],
|
|
2933
2830
|
) => Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined,
|
|
@@ -2942,26 +2839,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2942
2839
|
* @param {number} arg
|
|
2943
2840
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2944
2841
|
**/
|
|
2945
|
-
queuedSolutionScore: GenericStorageQuery<
|
|
2842
|
+
queuedSolutionScore: GenericStorageQuery<(arg: number) => SpNposElectionsElectionScore | undefined, number>;
|
|
2946
2843
|
|
|
2947
2844
|
/**
|
|
2948
2845
|
* The minimum score that each solution must attain in order to be considered feasible.
|
|
2949
2846
|
*
|
|
2950
2847
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2951
2848
|
**/
|
|
2952
|
-
minimumScore: GenericStorageQuery<
|
|
2849
|
+
minimumScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
2953
2850
|
|
|
2954
2851
|
/**
|
|
2955
2852
|
* Storage item for [`Status`].
|
|
2956
2853
|
*
|
|
2957
2854
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsStatus> =} callback
|
|
2958
2855
|
**/
|
|
2959
|
-
statusStorage: GenericStorageQuery<
|
|
2856
|
+
statusStorage: GenericStorageQuery<() => PalletElectionProviderMultiBlockVerifierImplsStatus>;
|
|
2960
2857
|
|
|
2961
2858
|
/**
|
|
2962
2859
|
* Generic pallet storage query
|
|
2963
2860
|
**/
|
|
2964
|
-
[storage: string]: GenericStorageQuery
|
|
2861
|
+
[storage: string]: GenericStorageQuery;
|
|
2965
2862
|
};
|
|
2966
2863
|
/**
|
|
2967
2864
|
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
@@ -2980,14 +2877,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2980
2877
|
*
|
|
2981
2878
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2982
2879
|
**/
|
|
2983
|
-
invulnerables: GenericStorageQuery<
|
|
2880
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2984
2881
|
|
|
2985
2882
|
/**
|
|
2986
2883
|
*
|
|
2987
2884
|
* @param {number} arg
|
|
2988
2885
|
* @param {Callback<Array<[AccountId32, SpNposElectionsElectionScore]>> =} callback
|
|
2989
2886
|
**/
|
|
2990
|
-
sortedScores: GenericStorageQuery<
|
|
2887
|
+
sortedScores: GenericStorageQuery<(arg: number) => Array<[AccountId32, SpNposElectionsElectionScore]>, number>;
|
|
2991
2888
|
|
|
2992
2889
|
/**
|
|
2993
2890
|
* Triple map from (round, account, page) to a solution page.
|
|
@@ -2996,7 +2893,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2996
2893
|
* @param {Callback<AssetHubKusamaRuntimeStakingNposCompactSolution24 | undefined> =} callback
|
|
2997
2894
|
**/
|
|
2998
2895
|
submissionStorage: GenericStorageQuery<
|
|
2999
|
-
Rv,
|
|
3000
2896
|
(arg: [number, AccountId32Like, number]) => AssetHubKusamaRuntimeStakingNposCompactSolution24 | undefined,
|
|
3001
2897
|
[number, AccountId32, number]
|
|
3002
2898
|
>;
|
|
@@ -3011,7 +2907,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3011
2907
|
* @param {Callback<PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined> =} callback
|
|
3012
2908
|
**/
|
|
3013
2909
|
submissionMetadataStorage: GenericStorageQuery<
|
|
3014
|
-
Rv,
|
|
3015
2910
|
(arg: [number, AccountId32Like]) => PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined,
|
|
3016
2911
|
[number, AccountId32]
|
|
3017
2912
|
>;
|
|
@@ -3019,7 +2914,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3019
2914
|
/**
|
|
3020
2915
|
* Generic pallet storage query
|
|
3021
2916
|
**/
|
|
3022
|
-
[storage: string]: GenericStorageQuery
|
|
2917
|
+
[storage: string]: GenericStorageQuery;
|
|
3023
2918
|
};
|
|
3024
2919
|
/**
|
|
3025
2920
|
* Pallet `Staking`'s storage queries
|
|
@@ -3030,7 +2925,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3030
2925
|
*
|
|
3031
2926
|
* @param {Callback<number> =} callback
|
|
3032
2927
|
**/
|
|
3033
|
-
validatorCount: GenericStorageQuery<
|
|
2928
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
3034
2929
|
|
|
3035
2930
|
/**
|
|
3036
2931
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -3039,7 +2934,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3039
2934
|
*
|
|
3040
2935
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3041
2936
|
**/
|
|
3042
|
-
invulnerables: GenericStorageQuery<
|
|
2937
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3043
2938
|
|
|
3044
2939
|
/**
|
|
3045
2940
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -3049,28 +2944,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3049
2944
|
* @param {AccountId32Like} arg
|
|
3050
2945
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3051
2946
|
**/
|
|
3052
|
-
bonded: GenericStorageQuery<
|
|
2947
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
3053
2948
|
|
|
3054
2949
|
/**
|
|
3055
2950
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
3056
2951
|
*
|
|
3057
2952
|
* @param {Callback<bigint> =} callback
|
|
3058
2953
|
**/
|
|
3059
|
-
minNominatorBond: GenericStorageQuery<
|
|
2954
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
3060
2955
|
|
|
3061
2956
|
/**
|
|
3062
2957
|
* The minimum active bond to become and maintain the role of a validator.
|
|
3063
2958
|
*
|
|
3064
2959
|
* @param {Callback<bigint> =} callback
|
|
3065
2960
|
**/
|
|
3066
|
-
minValidatorBond: GenericStorageQuery<
|
|
2961
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
3067
2962
|
|
|
3068
2963
|
/**
|
|
3069
2964
|
* The minimum active nominator stake of the last successful election.
|
|
3070
2965
|
*
|
|
3071
2966
|
* @param {Callback<bigint> =} callback
|
|
3072
2967
|
**/
|
|
3073
|
-
minimumActiveStake: GenericStorageQuery<
|
|
2968
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
3074
2969
|
|
|
3075
2970
|
/**
|
|
3076
2971
|
* The minimum amount of commission that validators can set.
|
|
@@ -3079,7 +2974,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3079
2974
|
*
|
|
3080
2975
|
* @param {Callback<Perbill> =} callback
|
|
3081
2976
|
**/
|
|
3082
|
-
minCommission: GenericStorageQuery<
|
|
2977
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
3083
2978
|
|
|
3084
2979
|
/**
|
|
3085
2980
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -3091,7 +2986,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3091
2986
|
* @param {Callback<PalletStakingAsyncLedgerStakingLedger | undefined> =} callback
|
|
3092
2987
|
**/
|
|
3093
2988
|
ledger: GenericStorageQuery<
|
|
3094
|
-
Rv,
|
|
3095
2989
|
(arg: AccountId32Like) => PalletStakingAsyncLedgerStakingLedger | undefined,
|
|
3096
2990
|
AccountId32
|
|
3097
2991
|
>;
|
|
@@ -3104,11 +2998,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3104
2998
|
* @param {AccountId32Like} arg
|
|
3105
2999
|
* @param {Callback<PalletStakingAsyncRewardDestination | undefined> =} callback
|
|
3106
3000
|
**/
|
|
3107
|
-
payee: GenericStorageQuery<
|
|
3108
|
-
Rv,
|
|
3109
|
-
(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined,
|
|
3110
|
-
AccountId32
|
|
3111
|
-
>;
|
|
3001
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined, AccountId32>;
|
|
3112
3002
|
|
|
3113
3003
|
/**
|
|
3114
3004
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -3118,14 +3008,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3118
3008
|
* @param {AccountId32Like} arg
|
|
3119
3009
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3120
3010
|
**/
|
|
3121
|
-
validators: GenericStorageQuery<
|
|
3011
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncValidatorPrefs, AccountId32>;
|
|
3122
3012
|
|
|
3123
3013
|
/**
|
|
3124
3014
|
* Counter for the related counted storage map
|
|
3125
3015
|
*
|
|
3126
3016
|
* @param {Callback<number> =} callback
|
|
3127
3017
|
**/
|
|
3128
|
-
counterForValidators: GenericStorageQuery<
|
|
3018
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
3129
3019
|
|
|
3130
3020
|
/**
|
|
3131
3021
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -3134,7 +3024,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3134
3024
|
*
|
|
3135
3025
|
* @param {Callback<number | undefined> =} callback
|
|
3136
3026
|
**/
|
|
3137
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
3027
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3138
3028
|
|
|
3139
3029
|
/**
|
|
3140
3030
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -3160,18 +3050,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3160
3050
|
* @param {AccountId32Like} arg
|
|
3161
3051
|
* @param {Callback<PalletStakingAsyncNominations | undefined> =} callback
|
|
3162
3052
|
**/
|
|
3163
|
-
nominators: GenericStorageQuery<
|
|
3164
|
-
Rv,
|
|
3165
|
-
(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined,
|
|
3166
|
-
AccountId32
|
|
3167
|
-
>;
|
|
3053
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined, AccountId32>;
|
|
3168
3054
|
|
|
3169
3055
|
/**
|
|
3170
3056
|
* Counter for the related counted storage map
|
|
3171
3057
|
*
|
|
3172
3058
|
* @param {Callback<number> =} callback
|
|
3173
3059
|
**/
|
|
3174
|
-
counterForNominators: GenericStorageQuery<
|
|
3060
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
3175
3061
|
|
|
3176
3062
|
/**
|
|
3177
3063
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -3184,14 +3070,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3184
3070
|
* @param {AccountId32Like} arg
|
|
3185
3071
|
* @param {Callback<[] | undefined> =} callback
|
|
3186
3072
|
**/
|
|
3187
|
-
virtualStakers: GenericStorageQuery<
|
|
3073
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
3188
3074
|
|
|
3189
3075
|
/**
|
|
3190
3076
|
* Counter for the related counted storage map
|
|
3191
3077
|
*
|
|
3192
3078
|
* @param {Callback<number> =} callback
|
|
3193
3079
|
**/
|
|
3194
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
3080
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
3195
3081
|
|
|
3196
3082
|
/**
|
|
3197
3083
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -3200,7 +3086,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3200
3086
|
*
|
|
3201
3087
|
* @param {Callback<number | undefined> =} callback
|
|
3202
3088
|
**/
|
|
3203
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
3089
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3204
3090
|
|
|
3205
3091
|
/**
|
|
3206
3092
|
* The current planned era index.
|
|
@@ -3210,7 +3096,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3210
3096
|
*
|
|
3211
3097
|
* @param {Callback<number | undefined> =} callback
|
|
3212
3098
|
**/
|
|
3213
|
-
currentEra: GenericStorageQuery<
|
|
3099
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
3214
3100
|
|
|
3215
3101
|
/**
|
|
3216
3102
|
* The active era information, it holds index and start.
|
|
@@ -3220,7 +3106,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3220
3106
|
*
|
|
3221
3107
|
* @param {Callback<PalletStakingAsyncActiveEraInfo | undefined> =} callback
|
|
3222
3108
|
**/
|
|
3223
|
-
activeEra: GenericStorageQuery<
|
|
3109
|
+
activeEra: GenericStorageQuery<() => PalletStakingAsyncActiveEraInfo | undefined>;
|
|
3224
3110
|
|
|
3225
3111
|
/**
|
|
3226
3112
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -3230,7 +3116,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3230
3116
|
*
|
|
3231
3117
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
3232
3118
|
**/
|
|
3233
|
-
bondedEras: GenericStorageQuery<
|
|
3119
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
3234
3120
|
|
|
3235
3121
|
/**
|
|
3236
3122
|
* Summary of validator exposure at a given era.
|
|
@@ -3250,7 +3136,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3250
3136
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
3251
3137
|
**/
|
|
3252
3138
|
erasStakersOverview: GenericStorageQuery<
|
|
3253
|
-
Rv,
|
|
3254
3139
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
3255
3140
|
[number, AccountId32]
|
|
3256
3141
|
>;
|
|
@@ -3267,7 +3152,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3267
3152
|
* @param {Callback<PalletStakingAsyncPalletBoundedExposurePage | undefined> =} callback
|
|
3268
3153
|
**/
|
|
3269
3154
|
erasStakersPaged: GenericStorageQuery<
|
|
3270
|
-
Rv,
|
|
3271
3155
|
(arg: [number, AccountId32Like, number]) => PalletStakingAsyncPalletBoundedExposurePage | undefined,
|
|
3272
3156
|
[number, AccountId32, number]
|
|
3273
3157
|
>;
|
|
@@ -3283,7 +3167,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3283
3167
|
* @param {[number, AccountId32Like]} arg
|
|
3284
3168
|
* @param {Callback<Array<number>> =} callback
|
|
3285
3169
|
**/
|
|
3286
|
-
claimedRewards: GenericStorageQuery<
|
|
3170
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
3287
3171
|
|
|
3288
3172
|
/**
|
|
3289
3173
|
* Exposure of validator at era with the preferences of validators.
|
|
@@ -3296,7 +3180,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3296
3180
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3297
3181
|
**/
|
|
3298
3182
|
erasValidatorPrefs: GenericStorageQuery<
|
|
3299
|
-
Rv,
|
|
3300
3183
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncValidatorPrefs,
|
|
3301
3184
|
[number, AccountId32]
|
|
3302
3185
|
>;
|
|
@@ -3309,7 +3192,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3309
3192
|
* @param {number} arg
|
|
3310
3193
|
* @param {Callback<bigint | undefined> =} callback
|
|
3311
3194
|
**/
|
|
3312
|
-
erasValidatorReward: GenericStorageQuery<
|
|
3195
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
3313
3196
|
|
|
3314
3197
|
/**
|
|
3315
3198
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3318,7 +3201,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3318
3201
|
* @param {number} arg
|
|
3319
3202
|
* @param {Callback<PalletStakingAsyncEraRewardPoints> =} callback
|
|
3320
3203
|
**/
|
|
3321
|
-
erasRewardPoints: GenericStorageQuery<
|
|
3204
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingAsyncEraRewardPoints, number>;
|
|
3322
3205
|
|
|
3323
3206
|
/**
|
|
3324
3207
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3327,14 +3210,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3327
3210
|
* @param {number} arg
|
|
3328
3211
|
* @param {Callback<bigint> =} callback
|
|
3329
3212
|
**/
|
|
3330
|
-
erasTotalStake: GenericStorageQuery<
|
|
3213
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
3331
3214
|
|
|
3332
3215
|
/**
|
|
3333
3216
|
* Mode of era forcing.
|
|
3334
3217
|
*
|
|
3335
3218
|
* @param {Callback<PalletStakingAsyncForcing> =} callback
|
|
3336
3219
|
**/
|
|
3337
|
-
forceEra: GenericStorageQuery<
|
|
3220
|
+
forceEra: GenericStorageQuery<() => PalletStakingAsyncForcing>;
|
|
3338
3221
|
|
|
3339
3222
|
/**
|
|
3340
3223
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -3343,7 +3226,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3343
3226
|
*
|
|
3344
3227
|
* @param {Callback<Percent | undefined> =} callback
|
|
3345
3228
|
**/
|
|
3346
|
-
maxStakedRewards: GenericStorageQuery<
|
|
3229
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
3347
3230
|
|
|
3348
3231
|
/**
|
|
3349
3232
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -3352,7 +3235,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3352
3235
|
*
|
|
3353
3236
|
* @param {Callback<Perbill> =} callback
|
|
3354
3237
|
**/
|
|
3355
|
-
slashRewardFraction: GenericStorageQuery<
|
|
3238
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
3356
3239
|
|
|
3357
3240
|
/**
|
|
3358
3241
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -3360,7 +3243,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3360
3243
|
*
|
|
3361
3244
|
* @param {Callback<bigint> =} callback
|
|
3362
3245
|
**/
|
|
3363
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
3246
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
3364
3247
|
|
|
3365
3248
|
/**
|
|
3366
3249
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
|
@@ -3378,7 +3261,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3378
3261
|
* @param {Callback<PalletStakingAsyncSlashingOffenceRecord | undefined> =} callback
|
|
3379
3262
|
**/
|
|
3380
3263
|
offenceQueue: GenericStorageQuery<
|
|
3381
|
-
Rv,
|
|
3382
3264
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncSlashingOffenceRecord | undefined,
|
|
3383
3265
|
[number, AccountId32]
|
|
3384
3266
|
>;
|
|
@@ -3398,7 +3280,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3398
3280
|
*
|
|
3399
3281
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
3400
3282
|
**/
|
|
3401
|
-
offenceQueueEras: GenericStorageQuery<
|
|
3283
|
+
offenceQueueEras: GenericStorageQuery<() => Array<number> | undefined>;
|
|
3402
3284
|
|
|
3403
3285
|
/**
|
|
3404
3286
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
|
@@ -3417,7 +3299,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3417
3299
|
* @param {Callback<[number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined> =} callback
|
|
3418
3300
|
**/
|
|
3419
3301
|
processingOffence: GenericStorageQuery<
|
|
3420
|
-
Rv,
|
|
3421
3302
|
() => [number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined
|
|
3422
3303
|
>;
|
|
3423
3304
|
|
|
@@ -3428,7 +3309,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3428
3309
|
* @param {Callback<PalletStakingAsyncUnappliedSlash | undefined> =} callback
|
|
3429
3310
|
**/
|
|
3430
3311
|
unappliedSlashes: GenericStorageQuery<
|
|
3431
|
-
Rv,
|
|
3432
3312
|
(arg: [number, [AccountId32Like, Perbill, number]]) => PalletStakingAsyncUnappliedSlash | undefined,
|
|
3433
3313
|
[number, [AccountId32, Perbill, number]]
|
|
3434
3314
|
>;
|
|
@@ -3443,7 +3323,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3443
3323
|
* @param {number} arg
|
|
3444
3324
|
* @param {Callback<Array<[AccountId32, Perbill]>> =} callback
|
|
3445
3325
|
**/
|
|
3446
|
-
cancelledSlashes: GenericStorageQuery<
|
|
3326
|
+
cancelledSlashes: GenericStorageQuery<(arg: number) => Array<[AccountId32, Perbill]>, number>;
|
|
3447
3327
|
|
|
3448
3328
|
/**
|
|
3449
3329
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -3453,7 +3333,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3453
3333
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
3454
3334
|
**/
|
|
3455
3335
|
validatorSlashInEra: GenericStorageQuery<
|
|
3456
|
-
Rv,
|
|
3457
3336
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
3458
3337
|
[number, AccountId32]
|
|
3459
3338
|
>;
|
|
@@ -3465,7 +3344,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3465
3344
|
*
|
|
3466
3345
|
* @param {Callback<Percent | undefined> =} callback
|
|
3467
3346
|
**/
|
|
3468
|
-
chillThreshold: GenericStorageQuery<
|
|
3347
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
3469
3348
|
|
|
3470
3349
|
/**
|
|
3471
3350
|
* Voter snapshot progress status.
|
|
@@ -3475,7 +3354,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3475
3354
|
*
|
|
3476
3355
|
* @param {Callback<PalletStakingAsyncSnapshotStatus> =} callback
|
|
3477
3356
|
**/
|
|
3478
|
-
voterSnapshotStatus: GenericStorageQuery<
|
|
3357
|
+
voterSnapshotStatus: GenericStorageQuery<() => PalletStakingAsyncSnapshotStatus>;
|
|
3479
3358
|
|
|
3480
3359
|
/**
|
|
3481
3360
|
* Keeps track of an ongoing multi-page election solution request.
|
|
@@ -3487,14 +3366,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3487
3366
|
*
|
|
3488
3367
|
* @param {Callback<number | undefined> =} callback
|
|
3489
3368
|
**/
|
|
3490
|
-
nextElectionPage: GenericStorageQuery<
|
|
3369
|
+
nextElectionPage: GenericStorageQuery<() => number | undefined>;
|
|
3491
3370
|
|
|
3492
3371
|
/**
|
|
3493
3372
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
|
3494
3373
|
*
|
|
3495
3374
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3496
3375
|
**/
|
|
3497
|
-
electableStashes: GenericStorageQuery<
|
|
3376
|
+
electableStashes: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3498
3377
|
|
|
3499
3378
|
/**
|
|
3500
3379
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
|
@@ -3502,12 +3381,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3502
3381
|
* @param {number} arg
|
|
3503
3382
|
* @param {Callback<PalletStakingAsyncPalletPruningStep | undefined> =} callback
|
|
3504
3383
|
**/
|
|
3505
|
-
eraPruningState: GenericStorageQuery<
|
|
3384
|
+
eraPruningState: GenericStorageQuery<(arg: number) => PalletStakingAsyncPalletPruningStep | undefined, number>;
|
|
3506
3385
|
|
|
3507
3386
|
/**
|
|
3508
3387
|
* Generic pallet storage query
|
|
3509
3388
|
**/
|
|
3510
|
-
[storage: string]: GenericStorageQuery
|
|
3389
|
+
[storage: string]: GenericStorageQuery;
|
|
3511
3390
|
};
|
|
3512
3391
|
/**
|
|
3513
3392
|
* Pallet `Treasury`'s storage queries
|
|
@@ -3521,7 +3400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3521
3400
|
*
|
|
3522
3401
|
* @param {Callback<number> =} callback
|
|
3523
3402
|
**/
|
|
3524
|
-
proposalCount: GenericStorageQuery<
|
|
3403
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
3525
3404
|
|
|
3526
3405
|
/**
|
|
3527
3406
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -3532,14 +3411,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3532
3411
|
* @param {number} arg
|
|
3533
3412
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
3534
3413
|
**/
|
|
3535
|
-
proposals: GenericStorageQuery<
|
|
3414
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
3536
3415
|
|
|
3537
3416
|
/**
|
|
3538
3417
|
* The amount which has been reported as inactive to Currency.
|
|
3539
3418
|
*
|
|
3540
3419
|
* @param {Callback<bigint> =} callback
|
|
3541
3420
|
**/
|
|
3542
|
-
deactivated: GenericStorageQuery<
|
|
3421
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
3543
3422
|
|
|
3544
3423
|
/**
|
|
3545
3424
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -3549,14 +3428,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3549
3428
|
*
|
|
3550
3429
|
* @param {Callback<Array<number>> =} callback
|
|
3551
3430
|
**/
|
|
3552
|
-
approvals: GenericStorageQuery<
|
|
3431
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
3553
3432
|
|
|
3554
3433
|
/**
|
|
3555
3434
|
* The count of spends that have been made.
|
|
3556
3435
|
*
|
|
3557
3436
|
* @param {Callback<number> =} callback
|
|
3558
3437
|
**/
|
|
3559
|
-
spendCount: GenericStorageQuery<
|
|
3438
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
3560
3439
|
|
|
3561
3440
|
/**
|
|
3562
3441
|
* Spends that have been approved and being processed.
|
|
@@ -3564,19 +3443,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3564
3443
|
* @param {number} arg
|
|
3565
3444
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
3566
3445
|
**/
|
|
3567
|
-
spends: GenericStorageQuery<
|
|
3446
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
3568
3447
|
|
|
3569
3448
|
/**
|
|
3570
3449
|
* The blocknumber for the last triggered spend period.
|
|
3571
3450
|
*
|
|
3572
3451
|
* @param {Callback<number | undefined> =} callback
|
|
3573
3452
|
**/
|
|
3574
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
3453
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
3575
3454
|
|
|
3576
3455
|
/**
|
|
3577
3456
|
* Generic pallet storage query
|
|
3578
3457
|
**/
|
|
3579
|
-
[storage: string]: GenericStorageQuery
|
|
3458
|
+
[storage: string]: GenericStorageQuery;
|
|
3580
3459
|
};
|
|
3581
3460
|
/**
|
|
3582
3461
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -3590,7 +3469,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3590
3469
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
3591
3470
|
**/
|
|
3592
3471
|
votingFor: GenericStorageQuery<
|
|
3593
|
-
Rv,
|
|
3594
3472
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
3595
3473
|
[AccountId32, number]
|
|
3596
3474
|
>;
|
|
@@ -3603,12 +3481,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3603
3481
|
* @param {AccountId32Like} arg
|
|
3604
3482
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3605
3483
|
**/
|
|
3606
|
-
classLocksFor: GenericStorageQuery<
|
|
3484
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
3607
3485
|
|
|
3608
3486
|
/**
|
|
3609
3487
|
* Generic pallet storage query
|
|
3610
3488
|
**/
|
|
3611
|
-
[storage: string]: GenericStorageQuery
|
|
3489
|
+
[storage: string]: GenericStorageQuery;
|
|
3612
3490
|
};
|
|
3613
3491
|
/**
|
|
3614
3492
|
* Pallet `Referenda`'s storage queries
|
|
@@ -3619,7 +3497,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3619
3497
|
*
|
|
3620
3498
|
* @param {Callback<number> =} callback
|
|
3621
3499
|
**/
|
|
3622
|
-
referendumCount: GenericStorageQuery<
|
|
3500
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
3623
3501
|
|
|
3624
3502
|
/**
|
|
3625
3503
|
* Information concerning any given referendum.
|
|
@@ -3628,7 +3506,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3628
3506
|
* @param {Callback<PalletReferendaReferendumInfoOriginCaller | undefined> =} callback
|
|
3629
3507
|
**/
|
|
3630
3508
|
referendumInfoFor: GenericStorageQuery<
|
|
3631
|
-
Rv,
|
|
3632
3509
|
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
3633
3510
|
number
|
|
3634
3511
|
>;
|
|
@@ -3642,7 +3519,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3642
3519
|
* @param {number} arg
|
|
3643
3520
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3644
3521
|
**/
|
|
3645
|
-
trackQueue: GenericStorageQuery<
|
|
3522
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
3646
3523
|
|
|
3647
3524
|
/**
|
|
3648
3525
|
* The number of referenda being decided currently.
|
|
@@ -3650,7 +3527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3650
3527
|
* @param {number} arg
|
|
3651
3528
|
* @param {Callback<number> =} callback
|
|
3652
3529
|
**/
|
|
3653
|
-
decidingCount: GenericStorageQuery<
|
|
3530
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
3654
3531
|
|
|
3655
3532
|
/**
|
|
3656
3533
|
* The metadata is a general information concerning the referendum.
|
|
@@ -3663,12 +3540,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3663
3540
|
* @param {number} arg
|
|
3664
3541
|
* @param {Callback<H256 | undefined> =} callback
|
|
3665
3542
|
**/
|
|
3666
|
-
metadataOf: GenericStorageQuery<
|
|
3543
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3667
3544
|
|
|
3668
3545
|
/**
|
|
3669
3546
|
* Generic pallet storage query
|
|
3670
3547
|
**/
|
|
3671
|
-
[storage: string]: GenericStorageQuery
|
|
3548
|
+
[storage: string]: GenericStorageQuery;
|
|
3672
3549
|
};
|
|
3673
3550
|
/**
|
|
3674
3551
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -3679,12 +3556,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3679
3556
|
* @param {H256} arg
|
|
3680
3557
|
* @param {Callback<[] | undefined> =} callback
|
|
3681
3558
|
**/
|
|
3682
|
-
whitelistedCall: GenericStorageQuery<
|
|
3559
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
3683
3560
|
|
|
3684
3561
|
/**
|
|
3685
3562
|
* Generic pallet storage query
|
|
3686
3563
|
**/
|
|
3687
|
-
[storage: string]: GenericStorageQuery
|
|
3564
|
+
[storage: string]: GenericStorageQuery;
|
|
3688
3565
|
};
|
|
3689
3566
|
/**
|
|
3690
3567
|
* Pallet `Bounties`'s storage queries
|
|
@@ -3695,7 +3572,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3695
3572
|
*
|
|
3696
3573
|
* @param {Callback<number> =} callback
|
|
3697
3574
|
**/
|
|
3698
|
-
bountyCount: GenericStorageQuery<
|
|
3575
|
+
bountyCount: GenericStorageQuery<() => number>;
|
|
3699
3576
|
|
|
3700
3577
|
/**
|
|
3701
3578
|
* Bounties that have been made.
|
|
@@ -3703,7 +3580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3703
3580
|
* @param {number} arg
|
|
3704
3581
|
* @param {Callback<PalletBountiesBounty | undefined> =} callback
|
|
3705
3582
|
**/
|
|
3706
|
-
bounties: GenericStorageQuery<
|
|
3583
|
+
bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
|
|
3707
3584
|
|
|
3708
3585
|
/**
|
|
3709
3586
|
* The description of each bounty.
|
|
@@ -3711,19 +3588,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3711
3588
|
* @param {number} arg
|
|
3712
3589
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3713
3590
|
**/
|
|
3714
|
-
bountyDescriptions: GenericStorageQuery<
|
|
3591
|
+
bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
3715
3592
|
|
|
3716
3593
|
/**
|
|
3717
3594
|
* Bounty indices that have been approved but not yet funded.
|
|
3718
3595
|
*
|
|
3719
3596
|
* @param {Callback<Array<number>> =} callback
|
|
3720
3597
|
**/
|
|
3721
|
-
bountyApprovals: GenericStorageQuery<
|
|
3598
|
+
bountyApprovals: GenericStorageQuery<() => Array<number>>;
|
|
3722
3599
|
|
|
3723
3600
|
/**
|
|
3724
3601
|
* Generic pallet storage query
|
|
3725
3602
|
**/
|
|
3726
|
-
[storage: string]: GenericStorageQuery
|
|
3603
|
+
[storage: string]: GenericStorageQuery;
|
|
3727
3604
|
};
|
|
3728
3605
|
/**
|
|
3729
3606
|
* Pallet `ChildBounties`'s storage queries
|
|
@@ -3735,7 +3612,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3735
3612
|
*
|
|
3736
3613
|
* @param {Callback<number> =} callback
|
|
3737
3614
|
**/
|
|
3738
|
-
childBountyCount: GenericStorageQuery<
|
|
3615
|
+
childBountyCount: GenericStorageQuery<() => number>;
|
|
3739
3616
|
|
|
3740
3617
|
/**
|
|
3741
3618
|
* Number of active child bounties per parent bounty.
|
|
@@ -3744,7 +3621,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3744
3621
|
* @param {number} arg
|
|
3745
3622
|
* @param {Callback<number> =} callback
|
|
3746
3623
|
**/
|
|
3747
|
-
parentChildBounties: GenericStorageQuery<
|
|
3624
|
+
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
3748
3625
|
|
|
3749
3626
|
/**
|
|
3750
3627
|
* Number of total child bounties per parent bounty, including completed bounties.
|
|
@@ -3752,7 +3629,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3752
3629
|
* @param {number} arg
|
|
3753
3630
|
* @param {Callback<number> =} callback
|
|
3754
3631
|
**/
|
|
3755
|
-
parentTotalChildBounties: GenericStorageQuery<
|
|
3632
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
3756
3633
|
|
|
3757
3634
|
/**
|
|
3758
3635
|
* Child bounties that have been added.
|
|
@@ -3761,7 +3638,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3761
3638
|
* @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
|
|
3762
3639
|
**/
|
|
3763
3640
|
childBounties: GenericStorageQuery<
|
|
3764
|
-
Rv,
|
|
3765
3641
|
(arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
|
|
3766
3642
|
[number, number]
|
|
3767
3643
|
>;
|
|
@@ -3774,7 +3650,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3774
3650
|
* @param {[number, number]} arg
|
|
3775
3651
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3776
3652
|
**/
|
|
3777
|
-
childBountyDescriptionsV1: GenericStorageQuery<
|
|
3653
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
3778
3654
|
|
|
3779
3655
|
/**
|
|
3780
3656
|
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
@@ -3786,7 +3662,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3786
3662
|
* @param {number} arg
|
|
3787
3663
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
3788
3664
|
**/
|
|
3789
|
-
v0ToV1ChildBountyIds: GenericStorageQuery<
|
|
3665
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
3790
3666
|
|
|
3791
3667
|
/**
|
|
3792
3668
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -3794,12 +3670,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3794
3670
|
* @param {number} arg
|
|
3795
3671
|
* @param {Callback<bigint> =} callback
|
|
3796
3672
|
**/
|
|
3797
|
-
childrenCuratorFees: GenericStorageQuery<
|
|
3673
|
+
childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
3798
3674
|
|
|
3799
3675
|
/**
|
|
3800
3676
|
* Generic pallet storage query
|
|
3801
3677
|
**/
|
|
3802
|
-
[storage: string]: GenericStorageQuery
|
|
3678
|
+
[storage: string]: GenericStorageQuery;
|
|
3803
3679
|
};
|
|
3804
3680
|
/**
|
|
3805
3681
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -3814,7 +3690,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3814
3690
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
3815
3691
|
**/
|
|
3816
3692
|
conversionRateToNative: GenericStorageQuery<
|
|
3817
|
-
Rv,
|
|
3818
3693
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
3819
3694
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
3820
3695
|
>;
|
|
@@ -3822,7 +3697,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3822
3697
|
/**
|
|
3823
3698
|
* Generic pallet storage query
|
|
3824
3699
|
**/
|
|
3825
|
-
[storage: string]: GenericStorageQuery
|
|
3700
|
+
[storage: string]: GenericStorageQuery;
|
|
3826
3701
|
};
|
|
3827
3702
|
/**
|
|
3828
3703
|
* Pallet `AhOps`'s storage queries
|
|
@@ -3848,7 +3723,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3848
3723
|
* @param {Callback<bigint | undefined> =} callback
|
|
3849
3724
|
**/
|
|
3850
3725
|
rcLeaseReserve: GenericStorageQuery<
|
|
3851
|
-
Rv,
|
|
3852
3726
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3853
3727
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3854
3728
|
>;
|
|
@@ -3871,7 +3745,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3871
3745
|
* @param {Callback<[AccountId32, bigint] | undefined> =} callback
|
|
3872
3746
|
**/
|
|
3873
3747
|
rcCrowdloanContribution: GenericStorageQuery<
|
|
3874
|
-
Rv,
|
|
3875
3748
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => [AccountId32, bigint] | undefined,
|
|
3876
3749
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3877
3750
|
>;
|
|
@@ -3891,7 +3764,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3891
3764
|
* @param {Callback<bigint | undefined> =} callback
|
|
3892
3765
|
**/
|
|
3893
3766
|
rcCrowdloanReserve: GenericStorageQuery<
|
|
3894
|
-
Rv,
|
|
3895
3767
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3896
3768
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3897
3769
|
>;
|
|
@@ -3899,7 +3771,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3899
3771
|
/**
|
|
3900
3772
|
* Generic pallet storage query
|
|
3901
3773
|
**/
|
|
3902
|
-
[storage: string]: GenericStorageQuery
|
|
3774
|
+
[storage: string]: GenericStorageQuery;
|
|
3903
3775
|
};
|
|
3904
3776
|
/**
|
|
3905
3777
|
* Pallet `AhMigrator`'s storage queries
|
|
@@ -3913,18 +3785,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3913
3785
|
* @param {AccountId32Like} arg
|
|
3914
3786
|
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
3915
3787
|
**/
|
|
3916
|
-
rcAccounts: GenericStorageQuery<
|
|
3917
|
-
Rv,
|
|
3918
|
-
(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined,
|
|
3919
|
-
AccountId32
|
|
3920
|
-
>;
|
|
3788
|
+
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined, AccountId32>;
|
|
3921
3789
|
|
|
3922
3790
|
/**
|
|
3923
3791
|
* The Asset Hub migration state.
|
|
3924
3792
|
*
|
|
3925
3793
|
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
3926
3794
|
**/
|
|
3927
|
-
ahMigrationStage: GenericStorageQuery<
|
|
3795
|
+
ahMigrationStage: GenericStorageQuery<() => PalletAhMigratorMigrationStage>;
|
|
3928
3796
|
|
|
3929
3797
|
/**
|
|
3930
3798
|
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
@@ -3933,7 +3801,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3933
3801
|
*
|
|
3934
3802
|
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
3935
3803
|
**/
|
|
3936
|
-
ahBalancesBefore: GenericStorageQuery<
|
|
3804
|
+
ahBalancesBefore: GenericStorageQuery<() => PalletAhMigratorBalancesBefore>;
|
|
3937
3805
|
|
|
3938
3806
|
/**
|
|
3939
3807
|
* The priority of the DMP queue during migration.
|
|
@@ -3945,7 +3813,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3945
3813
|
*
|
|
3946
3814
|
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
3947
3815
|
**/
|
|
3948
|
-
dmpQueuePriorityConfig: GenericStorageQuery<
|
|
3816
|
+
dmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
3949
3817
|
|
|
3950
3818
|
/**
|
|
3951
3819
|
* An optional account id of a manager.
|
|
@@ -3955,7 +3823,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3955
3823
|
*
|
|
3956
3824
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3957
3825
|
**/
|
|
3958
|
-
manager: GenericStorageQuery<
|
|
3826
|
+
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3959
3827
|
|
|
3960
3828
|
/**
|
|
3961
3829
|
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
@@ -3965,7 +3833,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3965
3833
|
*
|
|
3966
3834
|
* @param {Callback<number | undefined> =} callback
|
|
3967
3835
|
**/
|
|
3968
|
-
migrationStartBlock: GenericStorageQuery<
|
|
3836
|
+
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
3969
3837
|
|
|
3970
3838
|
/**
|
|
3971
3839
|
* Block number when migration finished and extrinsics were unlocked.
|
|
@@ -3975,11 +3843,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3975
3843
|
*
|
|
3976
3844
|
* @param {Callback<number | undefined> =} callback
|
|
3977
3845
|
**/
|
|
3978
|
-
migrationEndBlock: GenericStorageQuery<
|
|
3846
|
+
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
3979
3847
|
|
|
3980
3848
|
/**
|
|
3981
3849
|
* Generic pallet storage query
|
|
3982
3850
|
**/
|
|
3983
|
-
[storage: string]: GenericStorageQuery
|
|
3851
|
+
[storage: string]: GenericStorageQuery;
|
|
3984
3852
|
};
|
|
3985
3853
|
}
|