@dedot/chaintypes 0.194.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -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 +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainStorage, GenericStorageQuery, Callback
|
|
3
|
+
import type { GenericChainStorage, GenericStorageQuery, Callback } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
AccountId32,
|
|
6
6
|
AccountId32Like,
|
|
@@ -145,7 +145,7 @@ import type {
|
|
|
145
145
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
146
146
|
} from './types.js';
|
|
147
147
|
|
|
148
|
-
export interface ChainStorage
|
|
148
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
149
149
|
/**
|
|
150
150
|
* Pallet `System`'s storage queries
|
|
151
151
|
**/
|
|
@@ -156,35 +156,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
156
156
|
* @param {AccountId32Like} arg
|
|
157
157
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
158
158
|
**/
|
|
159
|
-
account: GenericStorageQuery<
|
|
159
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* Total extrinsics count for the current block.
|
|
163
163
|
*
|
|
164
164
|
* @param {Callback<number | undefined> =} callback
|
|
165
165
|
**/
|
|
166
|
-
extrinsicCount: GenericStorageQuery<
|
|
166
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Whether all inherents have been applied.
|
|
170
170
|
*
|
|
171
171
|
* @param {Callback<boolean> =} callback
|
|
172
172
|
**/
|
|
173
|
-
inherentsApplied: GenericStorageQuery<
|
|
173
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* The current weight for the block.
|
|
177
177
|
*
|
|
178
178
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
179
179
|
**/
|
|
180
|
-
blockWeight: GenericStorageQuery<
|
|
180
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
184
184
|
*
|
|
185
185
|
* @param {Callback<number | undefined> =} callback
|
|
186
186
|
**/
|
|
187
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
187
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Map of block numbers to block hashes.
|
|
@@ -192,7 +192,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
192
192
|
* @param {number} arg
|
|
193
193
|
* @param {Callback<H256> =} callback
|
|
194
194
|
**/
|
|
195
|
-
blockHash: GenericStorageQuery<
|
|
195
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -200,28 +200,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
200
200
|
* @param {number} arg
|
|
201
201
|
* @param {Callback<Bytes> =} callback
|
|
202
202
|
**/
|
|
203
|
-
extrinsicData: GenericStorageQuery<
|
|
203
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* The current block number being processed. Set by `execute_block`.
|
|
207
207
|
*
|
|
208
208
|
* @param {Callback<number> =} callback
|
|
209
209
|
**/
|
|
210
|
-
number: GenericStorageQuery<
|
|
210
|
+
number: GenericStorageQuery<() => number>;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Hash of the previous block.
|
|
214
214
|
*
|
|
215
215
|
* @param {Callback<H256> =} callback
|
|
216
216
|
**/
|
|
217
|
-
parentHash: GenericStorageQuery<
|
|
217
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Digest of the current block, also part of the block header.
|
|
221
221
|
*
|
|
222
222
|
* @param {Callback<Digest> =} callback
|
|
223
223
|
**/
|
|
224
|
-
digest: GenericStorageQuery<
|
|
224
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Events deposited for the current block.
|
|
@@ -234,14 +234,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
234
234
|
*
|
|
235
235
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
236
236
|
**/
|
|
237
|
-
events: GenericStorageQuery<
|
|
237
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* The number of events in the `Events<T>` list.
|
|
241
241
|
*
|
|
242
242
|
* @param {Callback<number> =} callback
|
|
243
243
|
**/
|
|
244
|
-
eventCount: GenericStorageQuery<
|
|
244
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -258,21 +258,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
258
258
|
* @param {H256} arg
|
|
259
259
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
260
260
|
**/
|
|
261
|
-
eventTopics: GenericStorageQuery<
|
|
261
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
264
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
265
265
|
*
|
|
266
266
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
267
267
|
**/
|
|
268
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
268
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
272
272
|
*
|
|
273
273
|
* @param {Callback<boolean> =} callback
|
|
274
274
|
**/
|
|
275
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
275
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -280,21 +280,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
280
280
|
*
|
|
281
281
|
* @param {Callback<boolean> =} callback
|
|
282
282
|
**/
|
|
283
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
283
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* The execution phase of the block.
|
|
287
287
|
*
|
|
288
288
|
* @param {Callback<Phase | undefined> =} callback
|
|
289
289
|
**/
|
|
290
|
-
executionPhase: GenericStorageQuery<
|
|
290
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* `Some` if a code upgrade has been authorized.
|
|
294
294
|
*
|
|
295
295
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
296
296
|
**/
|
|
297
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
297
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* The weight reclaimed for the extrinsic.
|
|
@@ -307,12 +307,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
307
307
|
*
|
|
308
308
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
309
309
|
**/
|
|
310
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
310
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Generic pallet storage query
|
|
314
314
|
**/
|
|
315
|
-
[storage: string]: GenericStorageQuery
|
|
315
|
+
[storage: string]: GenericStorageQuery;
|
|
316
316
|
};
|
|
317
317
|
/**
|
|
318
318
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -328,7 +328,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
328
328
|
*
|
|
329
329
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
330
330
|
**/
|
|
331
|
-
unincludedSegment: GenericStorageQuery<
|
|
331
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -338,7 +338,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
338
338
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
339
339
|
**/
|
|
340
340
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
341
|
-
Rv,
|
|
342
341
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
343
342
|
>;
|
|
344
343
|
|
|
@@ -352,7 +351,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
352
351
|
*
|
|
353
352
|
* @param {Callback<Bytes> =} callback
|
|
354
353
|
**/
|
|
355
|
-
pendingValidationCode: GenericStorageQuery<
|
|
354
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
356
355
|
|
|
357
356
|
/**
|
|
358
357
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -363,7 +362,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
363
362
|
*
|
|
364
363
|
* @param {Callback<Bytes | undefined> =} callback
|
|
365
364
|
**/
|
|
366
|
-
newValidationCode: GenericStorageQuery<
|
|
365
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
367
366
|
|
|
368
367
|
/**
|
|
369
368
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -372,14 +371,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
372
371
|
*
|
|
373
372
|
* @param {Callback<PolkadotPrimitivesV9PersistedValidationData | undefined> =} callback
|
|
374
373
|
**/
|
|
375
|
-
validationData: GenericStorageQuery<
|
|
374
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV9PersistedValidationData | undefined>;
|
|
376
375
|
|
|
377
376
|
/**
|
|
378
377
|
* Were the validation data set to notify the relay chain?
|
|
379
378
|
*
|
|
380
379
|
* @param {Callback<boolean> =} callback
|
|
381
380
|
**/
|
|
382
|
-
didSetValidationCode: GenericStorageQuery<
|
|
381
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
383
382
|
|
|
384
383
|
/**
|
|
385
384
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -388,7 +387,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
388
387
|
*
|
|
389
388
|
* @param {Callback<number> =} callback
|
|
390
389
|
**/
|
|
391
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
390
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
392
391
|
|
|
393
392
|
/**
|
|
394
393
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -401,7 +400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
401
400
|
*
|
|
402
401
|
* @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
|
|
403
402
|
**/
|
|
404
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
403
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeRestriction | undefined>;
|
|
405
404
|
|
|
406
405
|
/**
|
|
407
406
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -412,7 +411,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
412
411
|
*
|
|
413
412
|
* @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
|
|
414
413
|
**/
|
|
415
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
414
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeGoAhead | undefined>;
|
|
416
415
|
|
|
417
416
|
/**
|
|
418
417
|
* The state proof for the last relay parent block.
|
|
@@ -424,7 +423,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
424
423
|
*
|
|
425
424
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
426
425
|
**/
|
|
427
|
-
relayStateProof: GenericStorageQuery<
|
|
426
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
428
427
|
|
|
429
428
|
/**
|
|
430
429
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -438,7 +437,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
438
437
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
439
438
|
**/
|
|
440
439
|
relevantMessagingState: GenericStorageQuery<
|
|
441
|
-
Rv,
|
|
442
440
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
443
441
|
>;
|
|
444
442
|
|
|
@@ -452,7 +450,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
452
450
|
*
|
|
453
451
|
* @param {Callback<PolkadotPrimitivesV9AbridgedHostConfiguration | undefined> =} callback
|
|
454
452
|
**/
|
|
455
|
-
hostConfiguration: GenericStorageQuery<
|
|
453
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV9AbridgedHostConfiguration | undefined>;
|
|
456
454
|
|
|
457
455
|
/**
|
|
458
456
|
* The last downward message queue chain head we have observed.
|
|
@@ -462,7 +460,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
462
460
|
*
|
|
463
461
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
464
462
|
**/
|
|
465
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
463
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
466
464
|
|
|
467
465
|
/**
|
|
468
466
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -473,7 +471,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
473
471
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
474
472
|
**/
|
|
475
473
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
476
|
-
Rv,
|
|
477
474
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
478
475
|
>;
|
|
479
476
|
|
|
@@ -484,7 +481,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
484
481
|
*
|
|
485
482
|
* @param {Callback<number> =} callback
|
|
486
483
|
**/
|
|
487
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
484
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
488
485
|
|
|
489
486
|
/**
|
|
490
487
|
* The last processed downward message.
|
|
@@ -494,7 +491,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
494
491
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
495
492
|
**/
|
|
496
493
|
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
497
|
-
Rv,
|
|
498
494
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
499
495
|
>;
|
|
500
496
|
|
|
@@ -503,7 +499,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
503
499
|
*
|
|
504
500
|
* @param {Callback<number> =} callback
|
|
505
501
|
**/
|
|
506
|
-
hrmpWatermark: GenericStorageQuery<
|
|
502
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
507
503
|
|
|
508
504
|
/**
|
|
509
505
|
* The last processed HRMP message.
|
|
@@ -513,7 +509,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
513
509
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
514
510
|
**/
|
|
515
511
|
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
516
|
-
Rv,
|
|
517
512
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
518
513
|
>;
|
|
519
514
|
|
|
@@ -524,7 +519,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
524
519
|
*
|
|
525
520
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
526
521
|
**/
|
|
527
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
522
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
528
523
|
|
|
529
524
|
/**
|
|
530
525
|
* Upward messages that were sent in a block.
|
|
@@ -533,21 +528,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
533
528
|
*
|
|
534
529
|
* @param {Callback<Array<Bytes>> =} callback
|
|
535
530
|
**/
|
|
536
|
-
upwardMessages: GenericStorageQuery<
|
|
531
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
537
532
|
|
|
538
533
|
/**
|
|
539
534
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
540
535
|
*
|
|
541
536
|
* @param {Callback<Array<Bytes>> =} callback
|
|
542
537
|
**/
|
|
543
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
538
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
544
539
|
|
|
545
540
|
/**
|
|
546
541
|
* The factor to multiply the base delivery fee by for UMP.
|
|
547
542
|
*
|
|
548
543
|
* @param {Callback<FixedU128> =} callback
|
|
549
544
|
**/
|
|
550
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
545
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
551
546
|
|
|
552
547
|
/**
|
|
553
548
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -555,7 +550,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
555
550
|
*
|
|
556
551
|
* @param {Callback<number> =} callback
|
|
557
552
|
**/
|
|
558
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
553
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
559
554
|
|
|
560
555
|
/**
|
|
561
556
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -563,7 +558,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
563
558
|
*
|
|
564
559
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
565
560
|
**/
|
|
566
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
561
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
567
562
|
|
|
568
563
|
/**
|
|
569
564
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -571,7 +566,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
571
566
|
*
|
|
572
567
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
573
568
|
**/
|
|
574
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
569
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
575
570
|
|
|
576
571
|
/**
|
|
577
572
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -580,12 +575,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
580
575
|
*
|
|
581
576
|
* @param {Callback<Bytes | undefined> =} callback
|
|
582
577
|
**/
|
|
583
|
-
customValidationHeadData: GenericStorageQuery<
|
|
578
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
584
579
|
|
|
585
580
|
/**
|
|
586
581
|
* Generic pallet storage query
|
|
587
582
|
**/
|
|
588
|
-
[storage: string]: GenericStorageQuery
|
|
583
|
+
[storage: string]: GenericStorageQuery;
|
|
589
584
|
};
|
|
590
585
|
/**
|
|
591
586
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -596,7 +591,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
596
591
|
*
|
|
597
592
|
* @param {Callback<bigint> =} callback
|
|
598
593
|
**/
|
|
599
|
-
now: GenericStorageQuery<
|
|
594
|
+
now: GenericStorageQuery<() => bigint>;
|
|
600
595
|
|
|
601
596
|
/**
|
|
602
597
|
* Whether the timestamp has been updated in this block.
|
|
@@ -606,12 +601,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
606
601
|
*
|
|
607
602
|
* @param {Callback<boolean> =} callback
|
|
608
603
|
**/
|
|
609
|
-
didUpdate: GenericStorageQuery<
|
|
604
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
610
605
|
|
|
611
606
|
/**
|
|
612
607
|
* Generic pallet storage query
|
|
613
608
|
**/
|
|
614
|
-
[storage: string]: GenericStorageQuery
|
|
609
|
+
[storage: string]: GenericStorageQuery;
|
|
615
610
|
};
|
|
616
611
|
/**
|
|
617
612
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -621,12 +616,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
621
616
|
*
|
|
622
617
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
623
618
|
**/
|
|
624
|
-
parachainId: GenericStorageQuery<
|
|
619
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
625
620
|
|
|
626
621
|
/**
|
|
627
622
|
* Generic pallet storage query
|
|
628
623
|
**/
|
|
629
|
-
[storage: string]: GenericStorageQuery
|
|
624
|
+
[storage: string]: GenericStorageQuery;
|
|
630
625
|
};
|
|
631
626
|
/**
|
|
632
627
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -639,7 +634,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
639
634
|
*
|
|
640
635
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
641
636
|
**/
|
|
642
|
-
cursor: GenericStorageQuery<
|
|
637
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
643
638
|
|
|
644
639
|
/**
|
|
645
640
|
* Set of all successfully executed migrations.
|
|
@@ -650,12 +645,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
650
645
|
* @param {BytesLike} arg
|
|
651
646
|
* @param {Callback<[] | undefined> =} callback
|
|
652
647
|
**/
|
|
653
|
-
historic: GenericStorageQuery<
|
|
648
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
654
649
|
|
|
655
650
|
/**
|
|
656
651
|
* Generic pallet storage query
|
|
657
652
|
**/
|
|
658
|
-
[storage: string]: GenericStorageQuery
|
|
653
|
+
[storage: string]: GenericStorageQuery;
|
|
659
654
|
};
|
|
660
655
|
/**
|
|
661
656
|
* Pallet `Preimage`'s storage queries
|
|
@@ -669,7 +664,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
669
664
|
*
|
|
670
665
|
* @deprecated RequestStatusFor
|
|
671
666
|
**/
|
|
672
|
-
statusFor: GenericStorageQuery<
|
|
667
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
673
668
|
|
|
674
669
|
/**
|
|
675
670
|
* The request status of a given hash.
|
|
@@ -677,19 +672,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
677
672
|
* @param {H256} arg
|
|
678
673
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
679
674
|
**/
|
|
680
|
-
requestStatusFor: GenericStorageQuery<
|
|
675
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
681
676
|
|
|
682
677
|
/**
|
|
683
678
|
*
|
|
684
679
|
* @param {[H256, number]} arg
|
|
685
680
|
* @param {Callback<Bytes | undefined> =} callback
|
|
686
681
|
**/
|
|
687
|
-
preimageFor: GenericStorageQuery<
|
|
682
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
688
683
|
|
|
689
684
|
/**
|
|
690
685
|
* Generic pallet storage query
|
|
691
686
|
**/
|
|
692
|
-
[storage: string]: GenericStorageQuery
|
|
687
|
+
[storage: string]: GenericStorageQuery;
|
|
693
688
|
};
|
|
694
689
|
/**
|
|
695
690
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -700,7 +695,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
700
695
|
*
|
|
701
696
|
* @param {Callback<number | undefined> =} callback
|
|
702
697
|
**/
|
|
703
|
-
incompleteSince: GenericStorageQuery<
|
|
698
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
704
699
|
|
|
705
700
|
/**
|
|
706
701
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -708,7 +703,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
708
703
|
* @param {number} arg
|
|
709
704
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
710
705
|
**/
|
|
711
|
-
agenda: GenericStorageQuery<
|
|
706
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
712
707
|
|
|
713
708
|
/**
|
|
714
709
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -716,11 +711,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
716
711
|
* @param {[number, number]} arg
|
|
717
712
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
718
713
|
**/
|
|
719
|
-
retries: GenericStorageQuery<
|
|
720
|
-
Rv,
|
|
721
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
722
|
-
[number, number]
|
|
723
|
-
>;
|
|
714
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
724
715
|
|
|
725
716
|
/**
|
|
726
717
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -731,12 +722,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
731
722
|
* @param {FixedBytes<32>} arg
|
|
732
723
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
733
724
|
**/
|
|
734
|
-
lookup: GenericStorageQuery<
|
|
725
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
735
726
|
|
|
736
727
|
/**
|
|
737
728
|
* Generic pallet storage query
|
|
738
729
|
**/
|
|
739
|
-
[storage: string]: GenericStorageQuery
|
|
730
|
+
[storage: string]: GenericStorageQuery;
|
|
740
731
|
};
|
|
741
732
|
/**
|
|
742
733
|
* Pallet `Sudo`'s storage queries
|
|
@@ -747,12 +738,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
747
738
|
*
|
|
748
739
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
749
740
|
**/
|
|
750
|
-
key: GenericStorageQuery<
|
|
741
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
751
742
|
|
|
752
743
|
/**
|
|
753
744
|
* Generic pallet storage query
|
|
754
745
|
**/
|
|
755
|
-
[storage: string]: GenericStorageQuery
|
|
746
|
+
[storage: string]: GenericStorageQuery;
|
|
756
747
|
};
|
|
757
748
|
/**
|
|
758
749
|
* Pallet `Balances`'s storage queries
|
|
@@ -763,14 +754,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
763
754
|
*
|
|
764
755
|
* @param {Callback<bigint> =} callback
|
|
765
756
|
**/
|
|
766
|
-
totalIssuance: GenericStorageQuery<
|
|
757
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
767
758
|
|
|
768
759
|
/**
|
|
769
760
|
* The total units of outstanding deactivated balance in the system.
|
|
770
761
|
*
|
|
771
762
|
* @param {Callback<bigint> =} callback
|
|
772
763
|
**/
|
|
773
|
-
inactiveIssuance: GenericStorageQuery<
|
|
764
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
774
765
|
|
|
775
766
|
/**
|
|
776
767
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -801,7 +792,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
801
792
|
* @param {AccountId32Like} arg
|
|
802
793
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
803
794
|
**/
|
|
804
|
-
account: GenericStorageQuery<
|
|
795
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
805
796
|
|
|
806
797
|
/**
|
|
807
798
|
* Any liquidity locks on some account balances.
|
|
@@ -812,7 +803,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
812
803
|
* @param {AccountId32Like} arg
|
|
813
804
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
814
805
|
**/
|
|
815
|
-
locks: GenericStorageQuery<
|
|
806
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
816
807
|
|
|
817
808
|
/**
|
|
818
809
|
* Named reserves on some account balances.
|
|
@@ -822,7 +813,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
822
813
|
* @param {AccountId32Like} arg
|
|
823
814
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
824
815
|
**/
|
|
825
|
-
reserves: GenericStorageQuery<
|
|
816
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
826
817
|
|
|
827
818
|
/**
|
|
828
819
|
* Holds on account balances.
|
|
@@ -830,7 +821,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
830
821
|
* @param {AccountId32Like} arg
|
|
831
822
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
832
823
|
**/
|
|
833
|
-
holds: GenericStorageQuery<
|
|
824
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
834
825
|
|
|
835
826
|
/**
|
|
836
827
|
* Freeze locks on account balances.
|
|
@@ -839,7 +830,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
839
830
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
840
831
|
**/
|
|
841
832
|
freezes: GenericStorageQuery<
|
|
842
|
-
Rv,
|
|
843
833
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
844
834
|
AccountId32
|
|
845
835
|
>;
|
|
@@ -847,7 +837,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
847
837
|
/**
|
|
848
838
|
* Generic pallet storage query
|
|
849
839
|
**/
|
|
850
|
-
[storage: string]: GenericStorageQuery
|
|
840
|
+
[storage: string]: GenericStorageQuery;
|
|
851
841
|
};
|
|
852
842
|
/**
|
|
853
843
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -857,13 +847,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
857
847
|
*
|
|
858
848
|
* @param {Callback<FixedU128> =} callback
|
|
859
849
|
**/
|
|
860
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
850
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
861
851
|
|
|
862
852
|
/**
|
|
863
853
|
*
|
|
864
854
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
865
855
|
**/
|
|
866
|
-
storageVersion: GenericStorageQuery<
|
|
856
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
867
857
|
|
|
868
858
|
/**
|
|
869
859
|
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
@@ -872,12 +862,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
872
862
|
*
|
|
873
863
|
* @param {Callback<FrameSupportStorageNoDrop | undefined> =} callback
|
|
874
864
|
**/
|
|
875
|
-
txPaymentCredit: GenericStorageQuery<
|
|
865
|
+
txPaymentCredit: GenericStorageQuery<() => FrameSupportStorageNoDrop | undefined>;
|
|
876
866
|
|
|
877
867
|
/**
|
|
878
868
|
* Generic pallet storage query
|
|
879
869
|
**/
|
|
880
|
-
[storage: string]: GenericStorageQuery
|
|
870
|
+
[storage: string]: GenericStorageQuery;
|
|
881
871
|
};
|
|
882
872
|
/**
|
|
883
873
|
* Pallet `Vesting`'s storage queries
|
|
@@ -889,11 +879,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
889
879
|
* @param {AccountId32Like} arg
|
|
890
880
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
891
881
|
**/
|
|
892
|
-
vesting: GenericStorageQuery<
|
|
893
|
-
Rv,
|
|
894
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
895
|
-
AccountId32
|
|
896
|
-
>;
|
|
882
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
897
883
|
|
|
898
884
|
/**
|
|
899
885
|
* Storage version of the pallet.
|
|
@@ -902,12 +888,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
902
888
|
*
|
|
903
889
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
904
890
|
**/
|
|
905
|
-
storageVersion: GenericStorageQuery<
|
|
891
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
906
892
|
|
|
907
893
|
/**
|
|
908
894
|
* Generic pallet storage query
|
|
909
895
|
**/
|
|
910
|
-
[storage: string]: GenericStorageQuery
|
|
896
|
+
[storage: string]: GenericStorageQuery;
|
|
911
897
|
};
|
|
912
898
|
/**
|
|
913
899
|
* Pallet `Authorship`'s storage queries
|
|
@@ -918,12 +904,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
918
904
|
*
|
|
919
905
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
920
906
|
**/
|
|
921
|
-
author: GenericStorageQuery<
|
|
907
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
922
908
|
|
|
923
909
|
/**
|
|
924
910
|
* Generic pallet storage query
|
|
925
911
|
**/
|
|
926
|
-
[storage: string]: GenericStorageQuery
|
|
912
|
+
[storage: string]: GenericStorageQuery;
|
|
927
913
|
};
|
|
928
914
|
/**
|
|
929
915
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -934,7 +920,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
934
920
|
*
|
|
935
921
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
936
922
|
**/
|
|
937
|
-
invulnerables: GenericStorageQuery<
|
|
923
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
938
924
|
|
|
939
925
|
/**
|
|
940
926
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -945,7 +931,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
945
931
|
*
|
|
946
932
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
947
933
|
**/
|
|
948
|
-
candidateList: GenericStorageQuery<
|
|
934
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
949
935
|
|
|
950
936
|
/**
|
|
951
937
|
* Last block authored by collator.
|
|
@@ -953,7 +939,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
953
939
|
* @param {AccountId32Like} arg
|
|
954
940
|
* @param {Callback<number> =} callback
|
|
955
941
|
**/
|
|
956
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
942
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
957
943
|
|
|
958
944
|
/**
|
|
959
945
|
* Desired number of candidates.
|
|
@@ -962,7 +948,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
962
948
|
*
|
|
963
949
|
* @param {Callback<number> =} callback
|
|
964
950
|
**/
|
|
965
|
-
desiredCandidates: GenericStorageQuery<
|
|
951
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
966
952
|
|
|
967
953
|
/**
|
|
968
954
|
* Fixed amount to deposit to become a collator.
|
|
@@ -971,12 +957,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
971
957
|
*
|
|
972
958
|
* @param {Callback<bigint> =} callback
|
|
973
959
|
**/
|
|
974
|
-
candidacyBond: GenericStorageQuery<
|
|
960
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
975
961
|
|
|
976
962
|
/**
|
|
977
963
|
* Generic pallet storage query
|
|
978
964
|
**/
|
|
979
|
-
[storage: string]: GenericStorageQuery
|
|
965
|
+
[storage: string]: GenericStorageQuery;
|
|
980
966
|
};
|
|
981
967
|
/**
|
|
982
968
|
* Pallet `Session`'s storage queries
|
|
@@ -987,14 +973,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
987
973
|
*
|
|
988
974
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
989
975
|
**/
|
|
990
|
-
validators: GenericStorageQuery<
|
|
976
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
991
977
|
|
|
992
978
|
/**
|
|
993
979
|
* Current index of the session.
|
|
994
980
|
*
|
|
995
981
|
* @param {Callback<number> =} callback
|
|
996
982
|
**/
|
|
997
|
-
currentIndex: GenericStorageQuery<
|
|
983
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
998
984
|
|
|
999
985
|
/**
|
|
1000
986
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1002,7 +988,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1002
988
|
*
|
|
1003
989
|
* @param {Callback<boolean> =} callback
|
|
1004
990
|
**/
|
|
1005
|
-
queuedChanged: GenericStorageQuery<
|
|
991
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1006
992
|
|
|
1007
993
|
/**
|
|
1008
994
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1010,7 +996,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1010
996
|
*
|
|
1011
997
|
* @param {Callback<Array<[AccountId32, AssetHubWestendRuntimeSessionKeys]>> =} callback
|
|
1012
998
|
**/
|
|
1013
|
-
queuedKeys: GenericStorageQuery<
|
|
999
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubWestendRuntimeSessionKeys]>>;
|
|
1014
1000
|
|
|
1015
1001
|
/**
|
|
1016
1002
|
* Indices of disabled validators.
|
|
@@ -1021,7 +1007,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1021
1007
|
*
|
|
1022
1008
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1023
1009
|
**/
|
|
1024
|
-
disabledValidators: GenericStorageQuery<
|
|
1010
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1025
1011
|
|
|
1026
1012
|
/**
|
|
1027
1013
|
* The next session keys for a validator.
|
|
@@ -1029,11 +1015,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1029
1015
|
* @param {AccountId32Like} arg
|
|
1030
1016
|
* @param {Callback<AssetHubWestendRuntimeSessionKeys | undefined> =} callback
|
|
1031
1017
|
**/
|
|
1032
|
-
nextKeys: GenericStorageQuery<
|
|
1033
|
-
Rv,
|
|
1034
|
-
(arg: AccountId32Like) => AssetHubWestendRuntimeSessionKeys | undefined,
|
|
1035
|
-
AccountId32
|
|
1036
|
-
>;
|
|
1018
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => AssetHubWestendRuntimeSessionKeys | undefined, AccountId32>;
|
|
1037
1019
|
|
|
1038
1020
|
/**
|
|
1039
1021
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1042,7 +1024,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1042
1024
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1043
1025
|
**/
|
|
1044
1026
|
keyOwner: GenericStorageQuery<
|
|
1045
|
-
Rv,
|
|
1046
1027
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1047
1028
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1048
1029
|
>;
|
|
@@ -1050,7 +1031,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1050
1031
|
/**
|
|
1051
1032
|
* Generic pallet storage query
|
|
1052
1033
|
**/
|
|
1053
|
-
[storage: string]: GenericStorageQuery
|
|
1034
|
+
[storage: string]: GenericStorageQuery;
|
|
1054
1035
|
};
|
|
1055
1036
|
/**
|
|
1056
1037
|
* Pallet `Aura`'s storage queries
|
|
@@ -1061,7 +1042,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1061
1042
|
*
|
|
1062
1043
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1063
1044
|
**/
|
|
1064
|
-
authorities: GenericStorageQuery<
|
|
1045
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1065
1046
|
|
|
1066
1047
|
/**
|
|
1067
1048
|
* The current slot of this block.
|
|
@@ -1070,12 +1051,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1070
1051
|
*
|
|
1071
1052
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
1072
1053
|
**/
|
|
1073
|
-
currentSlot: GenericStorageQuery<
|
|
1054
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
1074
1055
|
|
|
1075
1056
|
/**
|
|
1076
1057
|
* Generic pallet storage query
|
|
1077
1058
|
**/
|
|
1078
|
-
[storage: string]: GenericStorageQuery
|
|
1059
|
+
[storage: string]: GenericStorageQuery;
|
|
1079
1060
|
};
|
|
1080
1061
|
/**
|
|
1081
1062
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -1090,7 +1071,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1090
1071
|
*
|
|
1091
1072
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1092
1073
|
**/
|
|
1093
|
-
authorities: GenericStorageQuery<
|
|
1074
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1094
1075
|
|
|
1095
1076
|
/**
|
|
1096
1077
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -1100,12 +1081,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1100
1081
|
*
|
|
1101
1082
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1102
1083
|
**/
|
|
1103
|
-
relaySlotInfo: GenericStorageQuery<
|
|
1084
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1104
1085
|
|
|
1105
1086
|
/**
|
|
1106
1087
|
* Generic pallet storage query
|
|
1107
1088
|
**/
|
|
1108
|
-
[storage: string]: GenericStorageQuery
|
|
1089
|
+
[storage: string]: GenericStorageQuery;
|
|
1109
1090
|
};
|
|
1110
1091
|
/**
|
|
1111
1092
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1123,7 +1104,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1123
1104
|
*
|
|
1124
1105
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1125
1106
|
**/
|
|
1126
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1107
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1127
1108
|
|
|
1128
1109
|
/**
|
|
1129
1110
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1135,7 +1116,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1135
1116
|
*
|
|
1136
1117
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1137
1118
|
**/
|
|
1138
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1119
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1139
1120
|
|
|
1140
1121
|
/**
|
|
1141
1122
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1144,7 +1125,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1144
1125
|
* @param {Callback<Bytes> =} callback
|
|
1145
1126
|
**/
|
|
1146
1127
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1147
|
-
Rv,
|
|
1148
1128
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1149
1129
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1150
1130
|
>;
|
|
@@ -1156,7 +1136,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1156
1136
|
* @param {Callback<Bytes> =} callback
|
|
1157
1137
|
**/
|
|
1158
1138
|
signalMessages: GenericStorageQuery<
|
|
1159
|
-
Rv,
|
|
1160
1139
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1161
1140
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1162
1141
|
>;
|
|
@@ -1166,14 +1145,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1166
1145
|
*
|
|
1167
1146
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1168
1147
|
**/
|
|
1169
|
-
queueConfig: GenericStorageQuery<
|
|
1148
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1170
1149
|
|
|
1171
1150
|
/**
|
|
1172
1151
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1173
1152
|
*
|
|
1174
1153
|
* @param {Callback<boolean> =} callback
|
|
1175
1154
|
**/
|
|
1176
|
-
queueSuspended: GenericStorageQuery<
|
|
1155
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1177
1156
|
|
|
1178
1157
|
/**
|
|
1179
1158
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1182,7 +1161,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1182
1161
|
* @param {Callback<FixedU128> =} callback
|
|
1183
1162
|
**/
|
|
1184
1163
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1185
|
-
Rv,
|
|
1186
1164
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1187
1165
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1188
1166
|
>;
|
|
@@ -1190,7 +1168,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1190
1168
|
/**
|
|
1191
1169
|
* Generic pallet storage query
|
|
1192
1170
|
**/
|
|
1193
|
-
[storage: string]: GenericStorageQuery
|
|
1171
|
+
[storage: string]: GenericStorageQuery;
|
|
1194
1172
|
};
|
|
1195
1173
|
/**
|
|
1196
1174
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1201,7 +1179,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1201
1179
|
*
|
|
1202
1180
|
* @param {Callback<bigint> =} callback
|
|
1203
1181
|
**/
|
|
1204
|
-
queryCounter: GenericStorageQuery<
|
|
1182
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1205
1183
|
|
|
1206
1184
|
/**
|
|
1207
1185
|
* The ongoing queries.
|
|
@@ -1209,7 +1187,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1209
1187
|
* @param {bigint} arg
|
|
1210
1188
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1211
1189
|
**/
|
|
1212
|
-
queries: GenericStorageQuery<
|
|
1190
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1213
1191
|
|
|
1214
1192
|
/**
|
|
1215
1193
|
* The existing asset traps.
|
|
@@ -1220,7 +1198,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1220
1198
|
* @param {H256} arg
|
|
1221
1199
|
* @param {Callback<number> =} callback
|
|
1222
1200
|
**/
|
|
1223
|
-
assetTraps: GenericStorageQuery<
|
|
1201
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1224
1202
|
|
|
1225
1203
|
/**
|
|
1226
1204
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1228,7 +1206,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1228
1206
|
*
|
|
1229
1207
|
* @param {Callback<number | undefined> =} callback
|
|
1230
1208
|
**/
|
|
1231
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1209
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1232
1210
|
|
|
1233
1211
|
/**
|
|
1234
1212
|
* The Latest versions that we know various locations support.
|
|
@@ -1237,7 +1215,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1237
1215
|
* @param {Callback<number | undefined> =} callback
|
|
1238
1216
|
**/
|
|
1239
1217
|
supportedVersion: GenericStorageQuery<
|
|
1240
|
-
Rv,
|
|
1241
1218
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1242
1219
|
[number, XcmVersionedLocation]
|
|
1243
1220
|
>;
|
|
@@ -1249,7 +1226,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1249
1226
|
* @param {Callback<bigint | undefined> =} callback
|
|
1250
1227
|
**/
|
|
1251
1228
|
versionNotifiers: GenericStorageQuery<
|
|
1252
|
-
Rv,
|
|
1253
1229
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1254
1230
|
[number, XcmVersionedLocation]
|
|
1255
1231
|
>;
|
|
@@ -1262,7 +1238,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1262
1238
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1263
1239
|
**/
|
|
1264
1240
|
versionNotifyTargets: GenericStorageQuery<
|
|
1265
|
-
Rv,
|
|
1266
1241
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1267
1242
|
[number, XcmVersionedLocation]
|
|
1268
1243
|
>;
|
|
@@ -1274,14 +1249,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1274
1249
|
*
|
|
1275
1250
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1276
1251
|
**/
|
|
1277
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1252
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1278
1253
|
|
|
1279
1254
|
/**
|
|
1280
1255
|
* The current migration's stage, if any.
|
|
1281
1256
|
*
|
|
1282
1257
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1283
1258
|
**/
|
|
1284
|
-
currentMigration: GenericStorageQuery<
|
|
1259
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1285
1260
|
|
|
1286
1261
|
/**
|
|
1287
1262
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1290,7 +1265,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1290
1265
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1291
1266
|
**/
|
|
1292
1267
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1293
|
-
Rv,
|
|
1294
1268
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1295
1269
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1296
1270
|
>;
|
|
@@ -1302,7 +1276,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1302
1276
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1303
1277
|
**/
|
|
1304
1278
|
lockedFungibles: GenericStorageQuery<
|
|
1305
|
-
Rv,
|
|
1306
1279
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1307
1280
|
AccountId32
|
|
1308
1281
|
>;
|
|
@@ -1312,7 +1285,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1312
1285
|
*
|
|
1313
1286
|
* @param {Callback<boolean> =} callback
|
|
1314
1287
|
**/
|
|
1315
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1288
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1316
1289
|
|
|
1317
1290
|
/**
|
|
1318
1291
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1325,7 +1298,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1325
1298
|
*
|
|
1326
1299
|
* @param {Callback<boolean> =} callback
|
|
1327
1300
|
**/
|
|
1328
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1301
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1329
1302
|
|
|
1330
1303
|
/**
|
|
1331
1304
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1337,7 +1310,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1337
1310
|
*
|
|
1338
1311
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1339
1312
|
**/
|
|
1340
|
-
recordedXcm: GenericStorageQuery<
|
|
1313
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1341
1314
|
|
|
1342
1315
|
/**
|
|
1343
1316
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1348,7 +1321,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1348
1321
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1349
1322
|
**/
|
|
1350
1323
|
authorizedAliases: GenericStorageQuery<
|
|
1351
|
-
Rv,
|
|
1352
1324
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1353
1325
|
XcmVersionedLocation
|
|
1354
1326
|
>;
|
|
@@ -1356,7 +1328,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1356
1328
|
/**
|
|
1357
1329
|
* Generic pallet storage query
|
|
1358
1330
|
**/
|
|
1359
|
-
[storage: string]: GenericStorageQuery
|
|
1331
|
+
[storage: string]: GenericStorageQuery;
|
|
1360
1332
|
};
|
|
1361
1333
|
/**
|
|
1362
1334
|
* Pallet `ToRococoXcmRouter`'s storage queries
|
|
@@ -1373,12 +1345,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1373
1345
|
*
|
|
1374
1346
|
* @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
|
|
1375
1347
|
**/
|
|
1376
|
-
bridge: GenericStorageQuery<
|
|
1348
|
+
bridge: GenericStorageQuery<() => BpXcmBridgeHubRouterBridgeState>;
|
|
1377
1349
|
|
|
1378
1350
|
/**
|
|
1379
1351
|
* Generic pallet storage query
|
|
1380
1352
|
**/
|
|
1381
|
-
[storage: string]: GenericStorageQuery
|
|
1353
|
+
[storage: string]: GenericStorageQuery;
|
|
1382
1354
|
};
|
|
1383
1355
|
/**
|
|
1384
1356
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1391,7 +1363,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1391
1363
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1392
1364
|
**/
|
|
1393
1365
|
bookStateFor: GenericStorageQuery<
|
|
1394
|
-
Rv,
|
|
1395
1366
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1396
1367
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1397
1368
|
>;
|
|
@@ -1401,7 +1372,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1401
1372
|
*
|
|
1402
1373
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1403
1374
|
**/
|
|
1404
|
-
serviceHead: GenericStorageQuery<
|
|
1375
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1405
1376
|
|
|
1406
1377
|
/**
|
|
1407
1378
|
* The map of page indices to pages.
|
|
@@ -1410,7 +1381,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1410
1381
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1411
1382
|
**/
|
|
1412
1383
|
pages: GenericStorageQuery<
|
|
1413
|
-
Rv,
|
|
1414
1384
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1415
1385
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1416
1386
|
>;
|
|
@@ -1418,7 +1388,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1418
1388
|
/**
|
|
1419
1389
|
* Generic pallet storage query
|
|
1420
1390
|
**/
|
|
1421
|
-
[storage: string]: GenericStorageQuery
|
|
1391
|
+
[storage: string]: GenericStorageQuery;
|
|
1422
1392
|
};
|
|
1423
1393
|
/**
|
|
1424
1394
|
* Pallet `SnowbridgeSystemFrontend`'s storage queries
|
|
@@ -1429,12 +1399,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1429
1399
|
*
|
|
1430
1400
|
* @param {Callback<SnowbridgeCoreOperatingModeBasicOperatingMode> =} callback
|
|
1431
1401
|
**/
|
|
1432
|
-
exportOperatingMode: GenericStorageQuery<
|
|
1402
|
+
exportOperatingMode: GenericStorageQuery<() => SnowbridgeCoreOperatingModeBasicOperatingMode>;
|
|
1433
1403
|
|
|
1434
1404
|
/**
|
|
1435
1405
|
* Generic pallet storage query
|
|
1436
1406
|
**/
|
|
1437
|
-
[storage: string]: GenericStorageQuery
|
|
1407
|
+
[storage: string]: GenericStorageQuery;
|
|
1438
1408
|
};
|
|
1439
1409
|
/**
|
|
1440
1410
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1447,7 +1417,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1447
1417
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1448
1418
|
**/
|
|
1449
1419
|
multisigs: GenericStorageQuery<
|
|
1450
|
-
Rv,
|
|
1451
1420
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1452
1421
|
[AccountId32, FixedBytes<32>]
|
|
1453
1422
|
>;
|
|
@@ -1455,7 +1424,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1455
1424
|
/**
|
|
1456
1425
|
* Generic pallet storage query
|
|
1457
1426
|
**/
|
|
1458
|
-
[storage: string]: GenericStorageQuery
|
|
1427
|
+
[storage: string]: GenericStorageQuery;
|
|
1459
1428
|
};
|
|
1460
1429
|
/**
|
|
1461
1430
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1468,11 +1437,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1468
1437
|
* @param {AccountId32Like} arg
|
|
1469
1438
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1470
1439
|
**/
|
|
1471
|
-
proxies: GenericStorageQuery<
|
|
1472
|
-
Rv,
|
|
1473
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1474
|
-
AccountId32
|
|
1475
|
-
>;
|
|
1440
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1476
1441
|
|
|
1477
1442
|
/**
|
|
1478
1443
|
* The announcements made by the proxy (key).
|
|
@@ -1480,16 +1445,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1480
1445
|
* @param {AccountId32Like} arg
|
|
1481
1446
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1482
1447
|
**/
|
|
1483
|
-
announcements: GenericStorageQuery<
|
|
1484
|
-
Rv,
|
|
1485
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1486
|
-
AccountId32
|
|
1487
|
-
>;
|
|
1448
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1488
1449
|
|
|
1489
1450
|
/**
|
|
1490
1451
|
* Generic pallet storage query
|
|
1491
1452
|
**/
|
|
1492
|
-
[storage: string]: GenericStorageQuery
|
|
1453
|
+
[storage: string]: GenericStorageQuery;
|
|
1493
1454
|
};
|
|
1494
1455
|
/**
|
|
1495
1456
|
* Pallet `Indices`'s storage queries
|
|
@@ -1501,12 +1462,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1501
1462
|
* @param {number} arg
|
|
1502
1463
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
1503
1464
|
**/
|
|
1504
|
-
accounts: GenericStorageQuery<
|
|
1465
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
1505
1466
|
|
|
1506
1467
|
/**
|
|
1507
1468
|
* Generic pallet storage query
|
|
1508
1469
|
**/
|
|
1509
|
-
[storage: string]: GenericStorageQuery
|
|
1470
|
+
[storage: string]: GenericStorageQuery;
|
|
1510
1471
|
};
|
|
1511
1472
|
/**
|
|
1512
1473
|
* Pallet `Assets`'s storage queries
|
|
@@ -1518,7 +1479,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1518
1479
|
* @param {number} arg
|
|
1519
1480
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1520
1481
|
**/
|
|
1521
|
-
asset: GenericStorageQuery<
|
|
1482
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1522
1483
|
|
|
1523
1484
|
/**
|
|
1524
1485
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1527,7 +1488,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1527
1488
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1528
1489
|
**/
|
|
1529
1490
|
account: GenericStorageQuery<
|
|
1530
|
-
Rv,
|
|
1531
1491
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1532
1492
|
[number, AccountId32]
|
|
1533
1493
|
>;
|
|
@@ -1541,7 +1501,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1541
1501
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1542
1502
|
**/
|
|
1543
1503
|
approvals: GenericStorageQuery<
|
|
1544
|
-
Rv,
|
|
1545
1504
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1546
1505
|
[number, AccountId32, AccountId32]
|
|
1547
1506
|
>;
|
|
@@ -1552,7 +1511,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1552
1511
|
* @param {number} arg
|
|
1553
1512
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1554
1513
|
**/
|
|
1555
|
-
metadata: GenericStorageQuery<
|
|
1514
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1556
1515
|
|
|
1557
1516
|
/**
|
|
1558
1517
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1567,12 +1526,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1567
1526
|
*
|
|
1568
1527
|
* @param {Callback<number | undefined> =} callback
|
|
1569
1528
|
**/
|
|
1570
|
-
nextAssetId: GenericStorageQuery<
|
|
1529
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
1571
1530
|
|
|
1572
1531
|
/**
|
|
1573
1532
|
* Generic pallet storage query
|
|
1574
1533
|
**/
|
|
1575
|
-
[storage: string]: GenericStorageQuery
|
|
1534
|
+
[storage: string]: GenericStorageQuery;
|
|
1576
1535
|
};
|
|
1577
1536
|
/**
|
|
1578
1537
|
* Pallet `Uniques`'s storage queries
|
|
@@ -1584,7 +1543,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1584
1543
|
* @param {number} arg
|
|
1585
1544
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
1586
1545
|
**/
|
|
1587
|
-
class: GenericStorageQuery<
|
|
1546
|
+
class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
|
|
1588
1547
|
|
|
1589
1548
|
/**
|
|
1590
1549
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1592,7 +1551,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1592
1551
|
* @param {AccountId32Like} arg
|
|
1593
1552
|
* @param {Callback<number | undefined> =} callback
|
|
1594
1553
|
**/
|
|
1595
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1554
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1596
1555
|
|
|
1597
1556
|
/**
|
|
1598
1557
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1602,7 +1561,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1602
1561
|
* @param {Callback<[] | undefined> =} callback
|
|
1603
1562
|
**/
|
|
1604
1563
|
account: GenericStorageQuery<
|
|
1605
|
-
Rv,
|
|
1606
1564
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1607
1565
|
[AccountId32, number, number]
|
|
1608
1566
|
>;
|
|
@@ -1614,7 +1572,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1614
1572
|
* @param {[AccountId32Like, number]} arg
|
|
1615
1573
|
* @param {Callback<[] | undefined> =} callback
|
|
1616
1574
|
**/
|
|
1617
|
-
classAccount: GenericStorageQuery<
|
|
1575
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1618
1576
|
|
|
1619
1577
|
/**
|
|
1620
1578
|
* The items in existence and their ownership details.
|
|
@@ -1622,7 +1580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1622
1580
|
* @param {[number, number]} arg
|
|
1623
1581
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
1624
1582
|
**/
|
|
1625
|
-
asset: GenericStorageQuery<
|
|
1583
|
+
asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
|
|
1626
1584
|
|
|
1627
1585
|
/**
|
|
1628
1586
|
* Metadata of a collection.
|
|
@@ -1630,7 +1588,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1630
1588
|
* @param {number} arg
|
|
1631
1589
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
1632
1590
|
**/
|
|
1633
|
-
classMetadataOf: GenericStorageQuery<
|
|
1591
|
+
classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
|
|
1634
1592
|
|
|
1635
1593
|
/**
|
|
1636
1594
|
* Metadata of an item.
|
|
@@ -1639,7 +1597,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1639
1597
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
1640
1598
|
**/
|
|
1641
1599
|
instanceMetadataOf: GenericStorageQuery<
|
|
1642
|
-
Rv,
|
|
1643
1600
|
(arg: [number, number]) => PalletUniquesItemMetadata | undefined,
|
|
1644
1601
|
[number, number]
|
|
1645
1602
|
>;
|
|
@@ -1651,7 +1608,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1651
1608
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
1652
1609
|
**/
|
|
1653
1610
|
attribute: GenericStorageQuery<
|
|
1654
|
-
Rv,
|
|
1655
1611
|
(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
1656
1612
|
[number, number | undefined, Bytes]
|
|
1657
1613
|
>;
|
|
@@ -1663,7 +1619,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1663
1619
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1664
1620
|
**/
|
|
1665
1621
|
itemPriceOf: GenericStorageQuery<
|
|
1666
|
-
Rv,
|
|
1667
1622
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1668
1623
|
[number, number]
|
|
1669
1624
|
>;
|
|
@@ -1674,12 +1629,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1674
1629
|
* @param {number} arg
|
|
1675
1630
|
* @param {Callback<number | undefined> =} callback
|
|
1676
1631
|
**/
|
|
1677
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
1632
|
+
collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
1678
1633
|
|
|
1679
1634
|
/**
|
|
1680
1635
|
* Generic pallet storage query
|
|
1681
1636
|
**/
|
|
1682
|
-
[storage: string]: GenericStorageQuery
|
|
1637
|
+
[storage: string]: GenericStorageQuery;
|
|
1683
1638
|
};
|
|
1684
1639
|
/**
|
|
1685
1640
|
* Pallet `Nfts`'s storage queries
|
|
@@ -1691,7 +1646,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1691
1646
|
* @param {number} arg
|
|
1692
1647
|
* @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
|
|
1693
1648
|
**/
|
|
1694
|
-
collection: GenericStorageQuery<
|
|
1649
|
+
collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
|
|
1695
1650
|
|
|
1696
1651
|
/**
|
|
1697
1652
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1699,7 +1654,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1699
1654
|
* @param {AccountId32Like} arg
|
|
1700
1655
|
* @param {Callback<number | undefined> =} callback
|
|
1701
1656
|
**/
|
|
1702
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1657
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1703
1658
|
|
|
1704
1659
|
/**
|
|
1705
1660
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1709,7 +1664,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1709
1664
|
* @param {Callback<[] | undefined> =} callback
|
|
1710
1665
|
**/
|
|
1711
1666
|
account: GenericStorageQuery<
|
|
1712
|
-
Rv,
|
|
1713
1667
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1714
1668
|
[AccountId32, number, number]
|
|
1715
1669
|
>;
|
|
@@ -1721,11 +1675,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1721
1675
|
* @param {[AccountId32Like, number]} arg
|
|
1722
1676
|
* @param {Callback<[] | undefined> =} callback
|
|
1723
1677
|
**/
|
|
1724
|
-
collectionAccount: GenericStorageQuery<
|
|
1725
|
-
Rv,
|
|
1726
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
1727
|
-
[AccountId32, number]
|
|
1728
|
-
>;
|
|
1678
|
+
collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1729
1679
|
|
|
1730
1680
|
/**
|
|
1731
1681
|
* The items in existence and their ownership details.
|
|
@@ -1735,7 +1685,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1735
1685
|
* @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
|
|
1736
1686
|
**/
|
|
1737
1687
|
collectionRoleOf: GenericStorageQuery<
|
|
1738
|
-
Rv,
|
|
1739
1688
|
(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
|
|
1740
1689
|
[number, AccountId32]
|
|
1741
1690
|
>;
|
|
@@ -1746,7 +1695,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1746
1695
|
* @param {[number, number]} arg
|
|
1747
1696
|
* @param {Callback<PalletNftsItemDetails | undefined> =} callback
|
|
1748
1697
|
**/
|
|
1749
|
-
item: GenericStorageQuery<
|
|
1698
|
+
item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
|
|
1750
1699
|
|
|
1751
1700
|
/**
|
|
1752
1701
|
* Metadata of a collection.
|
|
@@ -1754,7 +1703,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1754
1703
|
* @param {number} arg
|
|
1755
1704
|
* @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
|
|
1756
1705
|
**/
|
|
1757
|
-
collectionMetadataOf: GenericStorageQuery<
|
|
1706
|
+
collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
|
|
1758
1707
|
|
|
1759
1708
|
/**
|
|
1760
1709
|
* Metadata of an item.
|
|
@@ -1763,7 +1712,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1763
1712
|
* @param {Callback<PalletNftsItemMetadata | undefined> =} callback
|
|
1764
1713
|
**/
|
|
1765
1714
|
itemMetadataOf: GenericStorageQuery<
|
|
1766
|
-
Rv,
|
|
1767
1715
|
(arg: [number, number]) => PalletNftsItemMetadata | undefined,
|
|
1768
1716
|
[number, number]
|
|
1769
1717
|
>;
|
|
@@ -1775,7 +1723,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1775
1723
|
* @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
|
|
1776
1724
|
**/
|
|
1777
1725
|
attribute: GenericStorageQuery<
|
|
1778
|
-
Rv,
|
|
1779
1726
|
(
|
|
1780
1727
|
arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
|
|
1781
1728
|
) => [Bytes, PalletNftsAttributeDeposit] | undefined,
|
|
@@ -1789,7 +1736,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1789
1736
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1790
1737
|
**/
|
|
1791
1738
|
itemPriceOf: GenericStorageQuery<
|
|
1792
|
-
Rv,
|
|
1793
1739
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1794
1740
|
[number, number]
|
|
1795
1741
|
>;
|
|
@@ -1800,7 +1746,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1800
1746
|
* @param {[number, number]} arg
|
|
1801
1747
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1802
1748
|
**/
|
|
1803
|
-
itemAttributesApprovalsOf: GenericStorageQuery<
|
|
1749
|
+
itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
|
|
1804
1750
|
|
|
1805
1751
|
/**
|
|
1806
1752
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
@@ -1808,7 +1754,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1808
1754
|
*
|
|
1809
1755
|
* @param {Callback<number | undefined> =} callback
|
|
1810
1756
|
**/
|
|
1811
|
-
nextCollectionId: GenericStorageQuery<
|
|
1757
|
+
nextCollectionId: GenericStorageQuery<() => number | undefined>;
|
|
1812
1758
|
|
|
1813
1759
|
/**
|
|
1814
1760
|
* Handles all the pending swaps.
|
|
@@ -1816,11 +1762,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1816
1762
|
* @param {[number, number]} arg
|
|
1817
1763
|
* @param {Callback<PalletNftsPendingSwap | undefined> =} callback
|
|
1818
1764
|
**/
|
|
1819
|
-
pendingSwapOf: GenericStorageQuery<
|
|
1820
|
-
Rv,
|
|
1821
|
-
(arg: [number, number]) => PalletNftsPendingSwap | undefined,
|
|
1822
|
-
[number, number]
|
|
1823
|
-
>;
|
|
1765
|
+
pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
|
|
1824
1766
|
|
|
1825
1767
|
/**
|
|
1826
1768
|
* Config of a collection.
|
|
@@ -1828,7 +1770,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1828
1770
|
* @param {number} arg
|
|
1829
1771
|
* @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
|
|
1830
1772
|
**/
|
|
1831
|
-
collectionConfigOf: GenericStorageQuery<
|
|
1773
|
+
collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
|
|
1832
1774
|
|
|
1833
1775
|
/**
|
|
1834
1776
|
* Config of an item.
|
|
@@ -1836,16 +1778,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1836
1778
|
* @param {[number, number]} arg
|
|
1837
1779
|
* @param {Callback<PalletNftsItemConfig | undefined> =} callback
|
|
1838
1780
|
**/
|
|
1839
|
-
itemConfigOf: GenericStorageQuery<
|
|
1840
|
-
Rv,
|
|
1841
|
-
(arg: [number, number]) => PalletNftsItemConfig | undefined,
|
|
1842
|
-
[number, number]
|
|
1843
|
-
>;
|
|
1781
|
+
itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
|
|
1844
1782
|
|
|
1845
1783
|
/**
|
|
1846
1784
|
* Generic pallet storage query
|
|
1847
1785
|
**/
|
|
1848
|
-
[storage: string]: GenericStorageQuery
|
|
1786
|
+
[storage: string]: GenericStorageQuery;
|
|
1849
1787
|
};
|
|
1850
1788
|
/**
|
|
1851
1789
|
* Pallet `ForeignAssets`'s storage queries
|
|
@@ -1858,7 +1796,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1858
1796
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1859
1797
|
**/
|
|
1860
1798
|
asset: GenericStorageQuery<
|
|
1861
|
-
Rv,
|
|
1862
1799
|
(arg: StagingXcmV5Location) => PalletAssetsAssetDetails | undefined,
|
|
1863
1800
|
StagingXcmV5Location
|
|
1864
1801
|
>;
|
|
@@ -1870,7 +1807,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1870
1807
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1871
1808
|
**/
|
|
1872
1809
|
account: GenericStorageQuery<
|
|
1873
|
-
Rv,
|
|
1874
1810
|
(arg: [StagingXcmV5Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1875
1811
|
[StagingXcmV5Location, AccountId32]
|
|
1876
1812
|
>;
|
|
@@ -1884,7 +1820,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1884
1820
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1885
1821
|
**/
|
|
1886
1822
|
approvals: GenericStorageQuery<
|
|
1887
|
-
Rv,
|
|
1888
1823
|
(arg: [StagingXcmV5Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1889
1824
|
[StagingXcmV5Location, AccountId32, AccountId32]
|
|
1890
1825
|
>;
|
|
@@ -1895,7 +1830,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1895
1830
|
* @param {StagingXcmV5Location} arg
|
|
1896
1831
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1897
1832
|
**/
|
|
1898
|
-
metadata: GenericStorageQuery<
|
|
1833
|
+
metadata: GenericStorageQuery<(arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
1899
1834
|
|
|
1900
1835
|
/**
|
|
1901
1836
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1910,12 +1845,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1910
1845
|
*
|
|
1911
1846
|
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
1912
1847
|
**/
|
|
1913
|
-
nextAssetId: GenericStorageQuery<
|
|
1848
|
+
nextAssetId: GenericStorageQuery<() => StagingXcmV5Location | undefined>;
|
|
1914
1849
|
|
|
1915
1850
|
/**
|
|
1916
1851
|
* Generic pallet storage query
|
|
1917
1852
|
**/
|
|
1918
|
-
[storage: string]: GenericStorageQuery
|
|
1853
|
+
[storage: string]: GenericStorageQuery;
|
|
1919
1854
|
};
|
|
1920
1855
|
/**
|
|
1921
1856
|
* Pallet `NftFractionalization`'s storage queries
|
|
@@ -1928,7 +1863,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1928
1863
|
* @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
|
|
1929
1864
|
**/
|
|
1930
1865
|
nftToAsset: GenericStorageQuery<
|
|
1931
|
-
Rv,
|
|
1932
1866
|
(arg: [number, number]) => PalletNftFractionalizationDetails | undefined,
|
|
1933
1867
|
[number, number]
|
|
1934
1868
|
>;
|
|
@@ -1936,7 +1870,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1936
1870
|
/**
|
|
1937
1871
|
* Generic pallet storage query
|
|
1938
1872
|
**/
|
|
1939
|
-
[storage: string]: GenericStorageQuery
|
|
1873
|
+
[storage: string]: GenericStorageQuery;
|
|
1940
1874
|
};
|
|
1941
1875
|
/**
|
|
1942
1876
|
* Pallet `PoolAssets`'s storage queries
|
|
@@ -1948,7 +1882,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1948
1882
|
* @param {number} arg
|
|
1949
1883
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1950
1884
|
**/
|
|
1951
|
-
asset: GenericStorageQuery<
|
|
1885
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1952
1886
|
|
|
1953
1887
|
/**
|
|
1954
1888
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1957,7 +1891,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1957
1891
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1958
1892
|
**/
|
|
1959
1893
|
account: GenericStorageQuery<
|
|
1960
|
-
Rv,
|
|
1961
1894
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1962
1895
|
[number, AccountId32]
|
|
1963
1896
|
>;
|
|
@@ -1971,7 +1904,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1971
1904
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1972
1905
|
**/
|
|
1973
1906
|
approvals: GenericStorageQuery<
|
|
1974
|
-
Rv,
|
|
1975
1907
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1976
1908
|
[number, AccountId32, AccountId32]
|
|
1977
1909
|
>;
|
|
@@ -1982,7 +1914,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1982
1914
|
* @param {number} arg
|
|
1983
1915
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1984
1916
|
**/
|
|
1985
|
-
metadata: GenericStorageQuery<
|
|
1917
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1986
1918
|
|
|
1987
1919
|
/**
|
|
1988
1920
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1997,12 +1929,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1997
1929
|
*
|
|
1998
1930
|
* @param {Callback<number | undefined> =} callback
|
|
1999
1931
|
**/
|
|
2000
|
-
nextAssetId: GenericStorageQuery<
|
|
1932
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2001
1933
|
|
|
2002
1934
|
/**
|
|
2003
1935
|
* Generic pallet storage query
|
|
2004
1936
|
**/
|
|
2005
|
-
[storage: string]: GenericStorageQuery
|
|
1937
|
+
[storage: string]: GenericStorageQuery;
|
|
2006
1938
|
};
|
|
2007
1939
|
/**
|
|
2008
1940
|
* Pallet `AssetConversion`'s storage queries
|
|
@@ -2016,7 +1948,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2016
1948
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
2017
1949
|
**/
|
|
2018
1950
|
pools: GenericStorageQuery<
|
|
2019
|
-
Rv,
|
|
2020
1951
|
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => PalletAssetConversionPoolInfo | undefined,
|
|
2021
1952
|
[StagingXcmV5Location, StagingXcmV5Location]
|
|
2022
1953
|
>;
|
|
@@ -2027,12 +1958,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2027
1958
|
*
|
|
2028
1959
|
* @param {Callback<number | undefined> =} callback
|
|
2029
1960
|
**/
|
|
2030
|
-
nextPoolAssetId: GenericStorageQuery<
|
|
1961
|
+
nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2031
1962
|
|
|
2032
1963
|
/**
|
|
2033
1964
|
* Generic pallet storage query
|
|
2034
1965
|
**/
|
|
2035
|
-
[storage: string]: GenericStorageQuery
|
|
1966
|
+
[storage: string]: GenericStorageQuery;
|
|
2036
1967
|
};
|
|
2037
1968
|
/**
|
|
2038
1969
|
* Pallet `AssetsFreezer`'s storage queries
|
|
@@ -2045,7 +1976,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2045
1976
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
2046
1977
|
**/
|
|
2047
1978
|
freezes: GenericStorageQuery<
|
|
2048
|
-
Rv,
|
|
2049
1979
|
(arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
2050
1980
|
[number, AccountId32]
|
|
2051
1981
|
>;
|
|
@@ -2056,16 +1986,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2056
1986
|
* @param {[number, AccountId32Like]} arg
|
|
2057
1987
|
* @param {Callback<bigint | undefined> =} callback
|
|
2058
1988
|
**/
|
|
2059
|
-
frozenBalances: GenericStorageQuery<
|
|
2060
|
-
Rv,
|
|
2061
|
-
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
2062
|
-
[number, AccountId32]
|
|
2063
|
-
>;
|
|
1989
|
+
frozenBalances: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined, [number, AccountId32]>;
|
|
2064
1990
|
|
|
2065
1991
|
/**
|
|
2066
1992
|
* Generic pallet storage query
|
|
2067
1993
|
**/
|
|
2068
|
-
[storage: string]: GenericStorageQuery
|
|
1994
|
+
[storage: string]: GenericStorageQuery;
|
|
2069
1995
|
};
|
|
2070
1996
|
/**
|
|
2071
1997
|
* Pallet `ForeignAssetsFreezer`'s storage queries
|
|
@@ -2078,7 +2004,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2078
2004
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
2079
2005
|
**/
|
|
2080
2006
|
freezes: GenericStorageQuery<
|
|
2081
|
-
Rv,
|
|
2082
2007
|
(arg: [StagingXcmV5Location, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
2083
2008
|
[StagingXcmV5Location, AccountId32]
|
|
2084
2009
|
>;
|
|
@@ -2090,7 +2015,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2090
2015
|
* @param {Callback<bigint | undefined> =} callback
|
|
2091
2016
|
**/
|
|
2092
2017
|
frozenBalances: GenericStorageQuery<
|
|
2093
|
-
Rv,
|
|
2094
2018
|
(arg: [StagingXcmV5Location, AccountId32Like]) => bigint | undefined,
|
|
2095
2019
|
[StagingXcmV5Location, AccountId32]
|
|
2096
2020
|
>;
|
|
@@ -2098,7 +2022,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2098
2022
|
/**
|
|
2099
2023
|
* Generic pallet storage query
|
|
2100
2024
|
**/
|
|
2101
|
-
[storage: string]: GenericStorageQuery
|
|
2025
|
+
[storage: string]: GenericStorageQuery;
|
|
2102
2026
|
};
|
|
2103
2027
|
/**
|
|
2104
2028
|
* Pallet `PoolAssetsFreezer`'s storage queries
|
|
@@ -2111,7 +2035,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2111
2035
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
2112
2036
|
**/
|
|
2113
2037
|
freezes: GenericStorageQuery<
|
|
2114
|
-
Rv,
|
|
2115
2038
|
(arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
2116
2039
|
[number, AccountId32]
|
|
2117
2040
|
>;
|
|
@@ -2122,16 +2045,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2122
2045
|
* @param {[number, AccountId32Like]} arg
|
|
2123
2046
|
* @param {Callback<bigint | undefined> =} callback
|
|
2124
2047
|
**/
|
|
2125
|
-
frozenBalances: GenericStorageQuery<
|
|
2126
|
-
Rv,
|
|
2127
|
-
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
2128
|
-
[number, AccountId32]
|
|
2129
|
-
>;
|
|
2048
|
+
frozenBalances: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined, [number, AccountId32]>;
|
|
2130
2049
|
|
|
2131
2050
|
/**
|
|
2132
2051
|
* Generic pallet storage query
|
|
2133
2052
|
**/
|
|
2134
|
-
[storage: string]: GenericStorageQuery
|
|
2053
|
+
[storage: string]: GenericStorageQuery;
|
|
2135
2054
|
};
|
|
2136
2055
|
/**
|
|
2137
2056
|
* Pallet `Revive`'s storage queries
|
|
@@ -2145,7 +2064,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2145
2064
|
* @param {H256} arg
|
|
2146
2065
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2147
2066
|
**/
|
|
2148
|
-
pristineCode: GenericStorageQuery<
|
|
2067
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
2149
2068
|
|
|
2150
2069
|
/**
|
|
2151
2070
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -2153,7 +2072,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2153
2072
|
* @param {H256} arg
|
|
2154
2073
|
* @param {Callback<PalletReviveVmCodeInfo | undefined> =} callback
|
|
2155
2074
|
**/
|
|
2156
|
-
codeInfoOf: GenericStorageQuery<
|
|
2075
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletReviveVmCodeInfo | undefined, H256>;
|
|
2157
2076
|
|
|
2158
2077
|
/**
|
|
2159
2078
|
* The data associated to a contract or externally owned account.
|
|
@@ -2161,7 +2080,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2161
2080
|
* @param {H160} arg
|
|
2162
2081
|
* @param {Callback<PalletReviveStorageAccountInfo | undefined> =} callback
|
|
2163
2082
|
**/
|
|
2164
|
-
accountInfoOf: GenericStorageQuery<
|
|
2083
|
+
accountInfoOf: GenericStorageQuery<(arg: H160) => PalletReviveStorageAccountInfo | undefined, H160>;
|
|
2165
2084
|
|
|
2166
2085
|
/**
|
|
2167
2086
|
* The immutable data associated with a given account.
|
|
@@ -2169,7 +2088,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2169
2088
|
* @param {H160} arg
|
|
2170
2089
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2171
2090
|
**/
|
|
2172
|
-
immutableDataOf: GenericStorageQuery<
|
|
2091
|
+
immutableDataOf: GenericStorageQuery<(arg: H160) => Bytes | undefined, H160>;
|
|
2173
2092
|
|
|
2174
2093
|
/**
|
|
2175
2094
|
* Evicted contracts that await child trie deletion.
|
|
@@ -2180,7 +2099,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2180
2099
|
* @param {number} arg
|
|
2181
2100
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2182
2101
|
**/
|
|
2183
|
-
deletionQueue: GenericStorageQuery<
|
|
2102
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2184
2103
|
|
|
2185
2104
|
/**
|
|
2186
2105
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -2188,7 +2107,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2188
2107
|
*
|
|
2189
2108
|
* @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
|
|
2190
2109
|
**/
|
|
2191
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
2110
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletReviveStorageDeletionQueueManager>;
|
|
2192
2111
|
|
|
2193
2112
|
/**
|
|
2194
2113
|
* Map a Ethereum address to its original `AccountId32`.
|
|
@@ -2201,7 +2120,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2201
2120
|
* @param {H160} arg
|
|
2202
2121
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2203
2122
|
**/
|
|
2204
|
-
originalAccount: GenericStorageQuery<
|
|
2123
|
+
originalAccount: GenericStorageQuery<(arg: H160) => AccountId32 | undefined, H160>;
|
|
2205
2124
|
|
|
2206
2125
|
/**
|
|
2207
2126
|
* The current Ethereum block that is stored in the `on_finalize` method.
|
|
@@ -2216,7 +2135,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2216
2135
|
*
|
|
2217
2136
|
* @param {Callback<PalletReviveEvmApiRpcTypesGenBlock> =} callback
|
|
2218
2137
|
**/
|
|
2219
|
-
ethereumBlock: GenericStorageQuery<
|
|
2138
|
+
ethereumBlock: GenericStorageQuery<() => PalletReviveEvmApiRpcTypesGenBlock>;
|
|
2220
2139
|
|
|
2221
2140
|
/**
|
|
2222
2141
|
* Mapping for block number and hashes.
|
|
@@ -2226,7 +2145,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2226
2145
|
* @param {U256} arg
|
|
2227
2146
|
* @param {Callback<H256> =} callback
|
|
2228
2147
|
**/
|
|
2229
|
-
blockHash: GenericStorageQuery<
|
|
2148
|
+
blockHash: GenericStorageQuery<(arg: U256) => H256, U256>;
|
|
2230
2149
|
|
|
2231
2150
|
/**
|
|
2232
2151
|
* The details needed to reconstruct the receipt info offchain.
|
|
@@ -2238,14 +2157,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2238
2157
|
*
|
|
2239
2158
|
* @param {Callback<Array<PalletReviveEvmBlockHashReceiptGasInfo>> =} callback
|
|
2240
2159
|
**/
|
|
2241
|
-
receiptInfoData: GenericStorageQuery<
|
|
2160
|
+
receiptInfoData: GenericStorageQuery<() => Array<PalletReviveEvmBlockHashReceiptGasInfo>>;
|
|
2242
2161
|
|
|
2243
2162
|
/**
|
|
2244
2163
|
* Incremental ethereum block builder.
|
|
2245
2164
|
*
|
|
2246
2165
|
* @param {Callback<PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR> =} callback
|
|
2247
2166
|
**/
|
|
2248
|
-
ethBlockBuilderIR: GenericStorageQuery<
|
|
2167
|
+
ethBlockBuilderIR: GenericStorageQuery<() => PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR>;
|
|
2249
2168
|
|
|
2250
2169
|
/**
|
|
2251
2170
|
* The first transaction and receipt of the ethereum block.
|
|
@@ -2255,19 +2174,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2255
2174
|
*
|
|
2256
2175
|
* @param {Callback<[Bytes, Bytes] | undefined> =} callback
|
|
2257
2176
|
**/
|
|
2258
|
-
ethBlockBuilderFirstValues: GenericStorageQuery<
|
|
2177
|
+
ethBlockBuilderFirstValues: GenericStorageQuery<() => [Bytes, Bytes] | undefined>;
|
|
2259
2178
|
|
|
2260
2179
|
/**
|
|
2261
2180
|
* Debugging settings that can be configured when DebugEnabled config is true.
|
|
2262
2181
|
*
|
|
2263
2182
|
* @param {Callback<PalletReviveDebugDebugSettings> =} callback
|
|
2264
2183
|
**/
|
|
2265
|
-
debugSettingsOf: GenericStorageQuery<
|
|
2184
|
+
debugSettingsOf: GenericStorageQuery<() => PalletReviveDebugDebugSettings>;
|
|
2266
2185
|
|
|
2267
2186
|
/**
|
|
2268
2187
|
* Generic pallet storage query
|
|
2269
2188
|
**/
|
|
2270
|
-
[storage: string]: GenericStorageQuery
|
|
2189
|
+
[storage: string]: GenericStorageQuery;
|
|
2271
2190
|
};
|
|
2272
2191
|
/**
|
|
2273
2192
|
* Pallet `AssetRewards`'s storage queries
|
|
@@ -2280,7 +2199,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2280
2199
|
* @param {Callback<PalletAssetRewardsPoolStakerInfo | undefined> =} callback
|
|
2281
2200
|
**/
|
|
2282
2201
|
poolStakers: GenericStorageQuery<
|
|
2283
|
-
Rv,
|
|
2284
2202
|
(arg: [number, AccountId32Like]) => PalletAssetRewardsPoolStakerInfo | undefined,
|
|
2285
2203
|
[number, AccountId32]
|
|
2286
2204
|
>;
|
|
@@ -2291,7 +2209,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2291
2209
|
* @param {number} arg
|
|
2292
2210
|
* @param {Callback<PalletAssetRewardsPoolInfo | undefined> =} callback
|
|
2293
2211
|
**/
|
|
2294
|
-
pools: GenericStorageQuery<
|
|
2212
|
+
pools: GenericStorageQuery<(arg: number) => PalletAssetRewardsPoolInfo | undefined, number>;
|
|
2295
2213
|
|
|
2296
2214
|
/**
|
|
2297
2215
|
* The cost associated with storing pool information on-chain which was incurred by the pool
|
|
@@ -2303,7 +2221,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2303
2221
|
* @param {Callback<[AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined> =} callback
|
|
2304
2222
|
**/
|
|
2305
2223
|
poolCost: GenericStorageQuery<
|
|
2306
|
-
Rv,
|
|
2307
2224
|
(arg: number) => [AccountId32, FrameSupportTokensFungibleHoldConsideration] | undefined,
|
|
2308
2225
|
number
|
|
2309
2226
|
>;
|
|
@@ -2315,12 +2232,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2315
2232
|
*
|
|
2316
2233
|
* @param {Callback<number> =} callback
|
|
2317
2234
|
**/
|
|
2318
|
-
nextPoolId: GenericStorageQuery<
|
|
2235
|
+
nextPoolId: GenericStorageQuery<() => number>;
|
|
2319
2236
|
|
|
2320
2237
|
/**
|
|
2321
2238
|
* Generic pallet storage query
|
|
2322
2239
|
**/
|
|
2323
|
-
[storage: string]: GenericStorageQuery
|
|
2240
|
+
[storage: string]: GenericStorageQuery;
|
|
2324
2241
|
};
|
|
2325
2242
|
/**
|
|
2326
2243
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -2334,7 +2251,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2334
2251
|
*
|
|
2335
2252
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
2336
2253
|
**/
|
|
2337
|
-
migrationProcess: GenericStorageQuery<
|
|
2254
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
2338
2255
|
|
|
2339
2256
|
/**
|
|
2340
2257
|
* The limits that are imposed on automatic migrations.
|
|
@@ -2343,7 +2260,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2343
2260
|
*
|
|
2344
2261
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2345
2262
|
**/
|
|
2346
|
-
autoLimits: GenericStorageQuery<
|
|
2263
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2347
2264
|
|
|
2348
2265
|
/**
|
|
2349
2266
|
* The maximum limits that the signed migration could use.
|
|
@@ -2352,12 +2269,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2352
2269
|
*
|
|
2353
2270
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2354
2271
|
**/
|
|
2355
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
2272
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2356
2273
|
|
|
2357
2274
|
/**
|
|
2358
2275
|
* Generic pallet storage query
|
|
2359
2276
|
**/
|
|
2360
|
-
[storage: string]: GenericStorageQuery
|
|
2277
|
+
[storage: string]: GenericStorageQuery;
|
|
2361
2278
|
};
|
|
2362
2279
|
/**
|
|
2363
2280
|
* Pallet `Staking`'s storage queries
|
|
@@ -2368,7 +2285,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2368
2285
|
*
|
|
2369
2286
|
* @param {Callback<number> =} callback
|
|
2370
2287
|
**/
|
|
2371
|
-
validatorCount: GenericStorageQuery<
|
|
2288
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
2372
2289
|
|
|
2373
2290
|
/**
|
|
2374
2291
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -2377,7 +2294,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2377
2294
|
*
|
|
2378
2295
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2379
2296
|
**/
|
|
2380
|
-
invulnerables: GenericStorageQuery<
|
|
2297
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2381
2298
|
|
|
2382
2299
|
/**
|
|
2383
2300
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -2387,28 +2304,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2387
2304
|
* @param {AccountId32Like} arg
|
|
2388
2305
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2389
2306
|
**/
|
|
2390
|
-
bonded: GenericStorageQuery<
|
|
2307
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
2391
2308
|
|
|
2392
2309
|
/**
|
|
2393
2310
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
2394
2311
|
*
|
|
2395
2312
|
* @param {Callback<bigint> =} callback
|
|
2396
2313
|
**/
|
|
2397
|
-
minNominatorBond: GenericStorageQuery<
|
|
2314
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
2398
2315
|
|
|
2399
2316
|
/**
|
|
2400
2317
|
* The minimum active bond to become and maintain the role of a validator.
|
|
2401
2318
|
*
|
|
2402
2319
|
* @param {Callback<bigint> =} callback
|
|
2403
2320
|
**/
|
|
2404
|
-
minValidatorBond: GenericStorageQuery<
|
|
2321
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
2405
2322
|
|
|
2406
2323
|
/**
|
|
2407
2324
|
* The minimum active nominator stake of the last successful election.
|
|
2408
2325
|
*
|
|
2409
2326
|
* @param {Callback<bigint> =} callback
|
|
2410
2327
|
**/
|
|
2411
|
-
minimumActiveStake: GenericStorageQuery<
|
|
2328
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
2412
2329
|
|
|
2413
2330
|
/**
|
|
2414
2331
|
* The minimum amount of commission that validators can set.
|
|
@@ -2417,7 +2334,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2417
2334
|
*
|
|
2418
2335
|
* @param {Callback<Perbill> =} callback
|
|
2419
2336
|
**/
|
|
2420
|
-
minCommission: GenericStorageQuery<
|
|
2337
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
2421
2338
|
|
|
2422
2339
|
/**
|
|
2423
2340
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -2429,7 +2346,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2429
2346
|
* @param {Callback<PalletStakingAsyncLedgerStakingLedger | undefined> =} callback
|
|
2430
2347
|
**/
|
|
2431
2348
|
ledger: GenericStorageQuery<
|
|
2432
|
-
Rv,
|
|
2433
2349
|
(arg: AccountId32Like) => PalletStakingAsyncLedgerStakingLedger | undefined,
|
|
2434
2350
|
AccountId32
|
|
2435
2351
|
>;
|
|
@@ -2442,11 +2358,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2442
2358
|
* @param {AccountId32Like} arg
|
|
2443
2359
|
* @param {Callback<PalletStakingAsyncRewardDestination | undefined> =} callback
|
|
2444
2360
|
**/
|
|
2445
|
-
payee: GenericStorageQuery<
|
|
2446
|
-
Rv,
|
|
2447
|
-
(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined,
|
|
2448
|
-
AccountId32
|
|
2449
|
-
>;
|
|
2361
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined, AccountId32>;
|
|
2450
2362
|
|
|
2451
2363
|
/**
|
|
2452
2364
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -2456,14 +2368,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2456
2368
|
* @param {AccountId32Like} arg
|
|
2457
2369
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
2458
2370
|
**/
|
|
2459
|
-
validators: GenericStorageQuery<
|
|
2371
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncValidatorPrefs, AccountId32>;
|
|
2460
2372
|
|
|
2461
2373
|
/**
|
|
2462
2374
|
* Counter for the related counted storage map
|
|
2463
2375
|
*
|
|
2464
2376
|
* @param {Callback<number> =} callback
|
|
2465
2377
|
**/
|
|
2466
|
-
counterForValidators: GenericStorageQuery<
|
|
2378
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
2467
2379
|
|
|
2468
2380
|
/**
|
|
2469
2381
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -2472,7 +2384,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2472
2384
|
*
|
|
2473
2385
|
* @param {Callback<number | undefined> =} callback
|
|
2474
2386
|
**/
|
|
2475
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
2387
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
2476
2388
|
|
|
2477
2389
|
/**
|
|
2478
2390
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -2498,18 +2410,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2498
2410
|
* @param {AccountId32Like} arg
|
|
2499
2411
|
* @param {Callback<PalletStakingAsyncNominations | undefined> =} callback
|
|
2500
2412
|
**/
|
|
2501
|
-
nominators: GenericStorageQuery<
|
|
2502
|
-
Rv,
|
|
2503
|
-
(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined,
|
|
2504
|
-
AccountId32
|
|
2505
|
-
>;
|
|
2413
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined, AccountId32>;
|
|
2506
2414
|
|
|
2507
2415
|
/**
|
|
2508
2416
|
* Counter for the related counted storage map
|
|
2509
2417
|
*
|
|
2510
2418
|
* @param {Callback<number> =} callback
|
|
2511
2419
|
**/
|
|
2512
|
-
counterForNominators: GenericStorageQuery<
|
|
2420
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
2513
2421
|
|
|
2514
2422
|
/**
|
|
2515
2423
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -2522,14 +2430,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2522
2430
|
* @param {AccountId32Like} arg
|
|
2523
2431
|
* @param {Callback<[] | undefined> =} callback
|
|
2524
2432
|
**/
|
|
2525
|
-
virtualStakers: GenericStorageQuery<
|
|
2433
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
2526
2434
|
|
|
2527
2435
|
/**
|
|
2528
2436
|
* Counter for the related counted storage map
|
|
2529
2437
|
*
|
|
2530
2438
|
* @param {Callback<number> =} callback
|
|
2531
2439
|
**/
|
|
2532
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
2440
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
2533
2441
|
|
|
2534
2442
|
/**
|
|
2535
2443
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -2538,7 +2446,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2538
2446
|
*
|
|
2539
2447
|
* @param {Callback<number | undefined> =} callback
|
|
2540
2448
|
**/
|
|
2541
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
2449
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
2542
2450
|
|
|
2543
2451
|
/**
|
|
2544
2452
|
* The current planned era index.
|
|
@@ -2548,7 +2456,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2548
2456
|
*
|
|
2549
2457
|
* @param {Callback<number | undefined> =} callback
|
|
2550
2458
|
**/
|
|
2551
|
-
currentEra: GenericStorageQuery<
|
|
2459
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
2552
2460
|
|
|
2553
2461
|
/**
|
|
2554
2462
|
* The active era information, it holds index and start.
|
|
@@ -2558,7 +2466,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2558
2466
|
*
|
|
2559
2467
|
* @param {Callback<PalletStakingAsyncActiveEraInfo | undefined> =} callback
|
|
2560
2468
|
**/
|
|
2561
|
-
activeEra: GenericStorageQuery<
|
|
2469
|
+
activeEra: GenericStorageQuery<() => PalletStakingAsyncActiveEraInfo | undefined>;
|
|
2562
2470
|
|
|
2563
2471
|
/**
|
|
2564
2472
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -2568,7 +2476,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2568
2476
|
*
|
|
2569
2477
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
2570
2478
|
**/
|
|
2571
|
-
bondedEras: GenericStorageQuery<
|
|
2479
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
2572
2480
|
|
|
2573
2481
|
/**
|
|
2574
2482
|
* Summary of validator exposure at a given era.
|
|
@@ -2588,7 +2496,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2588
2496
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
2589
2497
|
**/
|
|
2590
2498
|
erasStakersOverview: GenericStorageQuery<
|
|
2591
|
-
Rv,
|
|
2592
2499
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
2593
2500
|
[number, AccountId32]
|
|
2594
2501
|
>;
|
|
@@ -2605,7 +2512,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2605
2512
|
* @param {Callback<PalletStakingAsyncPalletBoundedExposurePage | undefined> =} callback
|
|
2606
2513
|
**/
|
|
2607
2514
|
erasStakersPaged: GenericStorageQuery<
|
|
2608
|
-
Rv,
|
|
2609
2515
|
(arg: [number, AccountId32Like, number]) => PalletStakingAsyncPalletBoundedExposurePage | undefined,
|
|
2610
2516
|
[number, AccountId32, number]
|
|
2611
2517
|
>;
|
|
@@ -2621,7 +2527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2621
2527
|
* @param {[number, AccountId32Like]} arg
|
|
2622
2528
|
* @param {Callback<Array<number>> =} callback
|
|
2623
2529
|
**/
|
|
2624
|
-
claimedRewards: GenericStorageQuery<
|
|
2530
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
2625
2531
|
|
|
2626
2532
|
/**
|
|
2627
2533
|
* Exposure of validator at era with the preferences of validators.
|
|
@@ -2634,7 +2540,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2634
2540
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
2635
2541
|
**/
|
|
2636
2542
|
erasValidatorPrefs: GenericStorageQuery<
|
|
2637
|
-
Rv,
|
|
2638
2543
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncValidatorPrefs,
|
|
2639
2544
|
[number, AccountId32]
|
|
2640
2545
|
>;
|
|
@@ -2647,7 +2552,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2647
2552
|
* @param {number} arg
|
|
2648
2553
|
* @param {Callback<bigint | undefined> =} callback
|
|
2649
2554
|
**/
|
|
2650
|
-
erasValidatorReward: GenericStorageQuery<
|
|
2555
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
2651
2556
|
|
|
2652
2557
|
/**
|
|
2653
2558
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -2656,7 +2561,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2656
2561
|
* @param {number} arg
|
|
2657
2562
|
* @param {Callback<PalletStakingAsyncEraRewardPoints> =} callback
|
|
2658
2563
|
**/
|
|
2659
|
-
erasRewardPoints: GenericStorageQuery<
|
|
2564
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingAsyncEraRewardPoints, number>;
|
|
2660
2565
|
|
|
2661
2566
|
/**
|
|
2662
2567
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -2665,14 +2570,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2665
2570
|
* @param {number} arg
|
|
2666
2571
|
* @param {Callback<bigint> =} callback
|
|
2667
2572
|
**/
|
|
2668
|
-
erasTotalStake: GenericStorageQuery<
|
|
2573
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2669
2574
|
|
|
2670
2575
|
/**
|
|
2671
2576
|
* Mode of era forcing.
|
|
2672
2577
|
*
|
|
2673
2578
|
* @param {Callback<PalletStakingAsyncForcing> =} callback
|
|
2674
2579
|
**/
|
|
2675
|
-
forceEra: GenericStorageQuery<
|
|
2580
|
+
forceEra: GenericStorageQuery<() => PalletStakingAsyncForcing>;
|
|
2676
2581
|
|
|
2677
2582
|
/**
|
|
2678
2583
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -2681,7 +2586,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2681
2586
|
*
|
|
2682
2587
|
* @param {Callback<Percent | undefined> =} callback
|
|
2683
2588
|
**/
|
|
2684
|
-
maxStakedRewards: GenericStorageQuery<
|
|
2589
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
2685
2590
|
|
|
2686
2591
|
/**
|
|
2687
2592
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -2690,7 +2595,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2690
2595
|
*
|
|
2691
2596
|
* @param {Callback<Perbill> =} callback
|
|
2692
2597
|
**/
|
|
2693
|
-
slashRewardFraction: GenericStorageQuery<
|
|
2598
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
2694
2599
|
|
|
2695
2600
|
/**
|
|
2696
2601
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -2698,7 +2603,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2698
2603
|
*
|
|
2699
2604
|
* @param {Callback<bigint> =} callback
|
|
2700
2605
|
**/
|
|
2701
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
2606
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
2702
2607
|
|
|
2703
2608
|
/**
|
|
2704
2609
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
|
@@ -2716,7 +2621,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2716
2621
|
* @param {Callback<PalletStakingAsyncSlashingOffenceRecord | undefined> =} callback
|
|
2717
2622
|
**/
|
|
2718
2623
|
offenceQueue: GenericStorageQuery<
|
|
2719
|
-
Rv,
|
|
2720
2624
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncSlashingOffenceRecord | undefined,
|
|
2721
2625
|
[number, AccountId32]
|
|
2722
2626
|
>;
|
|
@@ -2736,7 +2640,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2736
2640
|
*
|
|
2737
2641
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
2738
2642
|
**/
|
|
2739
|
-
offenceQueueEras: GenericStorageQuery<
|
|
2643
|
+
offenceQueueEras: GenericStorageQuery<() => Array<number> | undefined>;
|
|
2740
2644
|
|
|
2741
2645
|
/**
|
|
2742
2646
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
|
@@ -2755,7 +2659,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2755
2659
|
* @param {Callback<[number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined> =} callback
|
|
2756
2660
|
**/
|
|
2757
2661
|
processingOffence: GenericStorageQuery<
|
|
2758
|
-
Rv,
|
|
2759
2662
|
() => [number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined
|
|
2760
2663
|
>;
|
|
2761
2664
|
|
|
@@ -2766,7 +2669,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2766
2669
|
* @param {Callback<PalletStakingAsyncUnappliedSlash | undefined> =} callback
|
|
2767
2670
|
**/
|
|
2768
2671
|
unappliedSlashes: GenericStorageQuery<
|
|
2769
|
-
Rv,
|
|
2770
2672
|
(arg: [number, [AccountId32Like, Perbill, number]]) => PalletStakingAsyncUnappliedSlash | undefined,
|
|
2771
2673
|
[number, [AccountId32, Perbill, number]]
|
|
2772
2674
|
>;
|
|
@@ -2781,7 +2683,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2781
2683
|
* @param {number} arg
|
|
2782
2684
|
* @param {Callback<Array<[AccountId32, Perbill]>> =} callback
|
|
2783
2685
|
**/
|
|
2784
|
-
cancelledSlashes: GenericStorageQuery<
|
|
2686
|
+
cancelledSlashes: GenericStorageQuery<(arg: number) => Array<[AccountId32, Perbill]>, number>;
|
|
2785
2687
|
|
|
2786
2688
|
/**
|
|
2787
2689
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -2791,7 +2693,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2791
2693
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
2792
2694
|
**/
|
|
2793
2695
|
validatorSlashInEra: GenericStorageQuery<
|
|
2794
|
-
Rv,
|
|
2795
2696
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
2796
2697
|
[number, AccountId32]
|
|
2797
2698
|
>;
|
|
@@ -2803,7 +2704,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2803
2704
|
*
|
|
2804
2705
|
* @param {Callback<Percent | undefined> =} callback
|
|
2805
2706
|
**/
|
|
2806
|
-
chillThreshold: GenericStorageQuery<
|
|
2707
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
2807
2708
|
|
|
2808
2709
|
/**
|
|
2809
2710
|
* Voter snapshot progress status.
|
|
@@ -2813,7 +2714,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2813
2714
|
*
|
|
2814
2715
|
* @param {Callback<PalletStakingAsyncSnapshotStatus> =} callback
|
|
2815
2716
|
**/
|
|
2816
|
-
voterSnapshotStatus: GenericStorageQuery<
|
|
2717
|
+
voterSnapshotStatus: GenericStorageQuery<() => PalletStakingAsyncSnapshotStatus>;
|
|
2817
2718
|
|
|
2818
2719
|
/**
|
|
2819
2720
|
* Keeps track of an ongoing multi-page election solution request.
|
|
@@ -2825,14 +2726,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2825
2726
|
*
|
|
2826
2727
|
* @param {Callback<number | undefined> =} callback
|
|
2827
2728
|
**/
|
|
2828
|
-
nextElectionPage: GenericStorageQuery<
|
|
2729
|
+
nextElectionPage: GenericStorageQuery<() => number | undefined>;
|
|
2829
2730
|
|
|
2830
2731
|
/**
|
|
2831
2732
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
|
2832
2733
|
*
|
|
2833
2734
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2834
2735
|
**/
|
|
2835
|
-
electableStashes: GenericStorageQuery<
|
|
2736
|
+
electableStashes: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2836
2737
|
|
|
2837
2738
|
/**
|
|
2838
2739
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
|
@@ -2840,12 +2741,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2840
2741
|
* @param {number} arg
|
|
2841
2742
|
* @param {Callback<PalletStakingAsyncPalletPruningStep | undefined> =} callback
|
|
2842
2743
|
**/
|
|
2843
|
-
eraPruningState: GenericStorageQuery<
|
|
2744
|
+
eraPruningState: GenericStorageQuery<(arg: number) => PalletStakingAsyncPalletPruningStep | undefined, number>;
|
|
2844
2745
|
|
|
2845
2746
|
/**
|
|
2846
2747
|
* Generic pallet storage query
|
|
2847
2748
|
**/
|
|
2848
|
-
[storage: string]: GenericStorageQuery
|
|
2749
|
+
[storage: string]: GenericStorageQuery;
|
|
2849
2750
|
};
|
|
2850
2751
|
/**
|
|
2851
2752
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -2860,14 +2761,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2860
2761
|
*
|
|
2861
2762
|
* @param {Callback<bigint> =} callback
|
|
2862
2763
|
**/
|
|
2863
|
-
totalValueLocked: GenericStorageQuery<
|
|
2764
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
2864
2765
|
|
|
2865
2766
|
/**
|
|
2866
2767
|
* Minimum amount to bond to join a pool.
|
|
2867
2768
|
*
|
|
2868
2769
|
* @param {Callback<bigint> =} callback
|
|
2869
2770
|
**/
|
|
2870
|
-
minJoinBond: GenericStorageQuery<
|
|
2771
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
2871
2772
|
|
|
2872
2773
|
/**
|
|
2873
2774
|
* Minimum bond required to create a pool.
|
|
@@ -2880,7 +2781,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2880
2781
|
*
|
|
2881
2782
|
* @param {Callback<bigint> =} callback
|
|
2882
2783
|
**/
|
|
2883
|
-
minCreateBond: GenericStorageQuery<
|
|
2784
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
2884
2785
|
|
|
2885
2786
|
/**
|
|
2886
2787
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -2888,7 +2789,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2888
2789
|
*
|
|
2889
2790
|
* @param {Callback<number | undefined> =} callback
|
|
2890
2791
|
**/
|
|
2891
|
-
maxPools: GenericStorageQuery<
|
|
2792
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
2892
2793
|
|
|
2893
2794
|
/**
|
|
2894
2795
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -2896,7 +2797,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2896
2797
|
*
|
|
2897
2798
|
* @param {Callback<number | undefined> =} callback
|
|
2898
2799
|
**/
|
|
2899
|
-
maxPoolMembers: GenericStorageQuery<
|
|
2800
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
2900
2801
|
|
|
2901
2802
|
/**
|
|
2902
2803
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -2904,7 +2805,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2904
2805
|
*
|
|
2905
2806
|
* @param {Callback<number | undefined> =} callback
|
|
2906
2807
|
**/
|
|
2907
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
2808
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
2908
2809
|
|
|
2909
2810
|
/**
|
|
2910
2811
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -2913,7 +2814,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2913
2814
|
*
|
|
2914
2815
|
* @param {Callback<Perbill | undefined> =} callback
|
|
2915
2816
|
**/
|
|
2916
|
-
globalMaxCommission: GenericStorageQuery<
|
|
2817
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
2917
2818
|
|
|
2918
2819
|
/**
|
|
2919
2820
|
* Active members.
|
|
@@ -2924,7 +2825,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2924
2825
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
2925
2826
|
**/
|
|
2926
2827
|
poolMembers: GenericStorageQuery<
|
|
2927
|
-
Rv,
|
|
2928
2828
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
2929
2829
|
AccountId32
|
|
2930
2830
|
>;
|
|
@@ -2934,7 +2834,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2934
2834
|
*
|
|
2935
2835
|
* @param {Callback<number> =} callback
|
|
2936
2836
|
**/
|
|
2937
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
2837
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
2938
2838
|
|
|
2939
2839
|
/**
|
|
2940
2840
|
* Storage for bonded pools.
|
|
@@ -2942,14 +2842,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2942
2842
|
* @param {number} arg
|
|
2943
2843
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
2944
2844
|
**/
|
|
2945
|
-
bondedPools: GenericStorageQuery<
|
|
2845
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
2946
2846
|
|
|
2947
2847
|
/**
|
|
2948
2848
|
* Counter for the related counted storage map
|
|
2949
2849
|
*
|
|
2950
2850
|
* @param {Callback<number> =} callback
|
|
2951
2851
|
**/
|
|
2952
|
-
counterForBondedPools: GenericStorageQuery<
|
|
2852
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
2953
2853
|
|
|
2954
2854
|
/**
|
|
2955
2855
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -2958,14 +2858,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2958
2858
|
* @param {number} arg
|
|
2959
2859
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
2960
2860
|
**/
|
|
2961
|
-
rewardPools: GenericStorageQuery<
|
|
2861
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
2962
2862
|
|
|
2963
2863
|
/**
|
|
2964
2864
|
* Counter for the related counted storage map
|
|
2965
2865
|
*
|
|
2966
2866
|
* @param {Callback<number> =} callback
|
|
2967
2867
|
**/
|
|
2968
|
-
counterForRewardPools: GenericStorageQuery<
|
|
2868
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2969
2869
|
|
|
2970
2870
|
/**
|
|
2971
2871
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2974,14 +2874,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2974
2874
|
* @param {number} arg
|
|
2975
2875
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2976
2876
|
**/
|
|
2977
|
-
subPoolsStorage: GenericStorageQuery<
|
|
2877
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2978
2878
|
|
|
2979
2879
|
/**
|
|
2980
2880
|
* Counter for the related counted storage map
|
|
2981
2881
|
*
|
|
2982
2882
|
* @param {Callback<number> =} callback
|
|
2983
2883
|
**/
|
|
2984
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
2884
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2985
2885
|
|
|
2986
2886
|
/**
|
|
2987
2887
|
* Metadata for the pool.
|
|
@@ -2989,21 +2889,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2989
2889
|
* @param {number} arg
|
|
2990
2890
|
* @param {Callback<Bytes> =} callback
|
|
2991
2891
|
**/
|
|
2992
|
-
metadata: GenericStorageQuery<
|
|
2892
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2993
2893
|
|
|
2994
2894
|
/**
|
|
2995
2895
|
* Counter for the related counted storage map
|
|
2996
2896
|
*
|
|
2997
2897
|
* @param {Callback<number> =} callback
|
|
2998
2898
|
**/
|
|
2999
|
-
counterForMetadata: GenericStorageQuery<
|
|
2899
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
3000
2900
|
|
|
3001
2901
|
/**
|
|
3002
2902
|
* Ever increasing number of all pools created so far.
|
|
3003
2903
|
*
|
|
3004
2904
|
* @param {Callback<number> =} callback
|
|
3005
2905
|
**/
|
|
3006
|
-
lastPoolId: GenericStorageQuery<
|
|
2906
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
3007
2907
|
|
|
3008
2908
|
/**
|
|
3009
2909
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -3014,14 +2914,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3014
2914
|
* @param {AccountId32Like} arg
|
|
3015
2915
|
* @param {Callback<number | undefined> =} callback
|
|
3016
2916
|
**/
|
|
3017
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2917
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
3018
2918
|
|
|
3019
2919
|
/**
|
|
3020
2920
|
* Counter for the related counted storage map
|
|
3021
2921
|
*
|
|
3022
2922
|
* @param {Callback<number> =} callback
|
|
3023
2923
|
**/
|
|
3024
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2924
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
3025
2925
|
|
|
3026
2926
|
/**
|
|
3027
2927
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -3029,16 +2929,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3029
2929
|
* @param {AccountId32Like} arg
|
|
3030
2930
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
3031
2931
|
**/
|
|
3032
|
-
claimPermissions: GenericStorageQuery<
|
|
3033
|
-
Rv,
|
|
3034
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
3035
|
-
AccountId32
|
|
3036
|
-
>;
|
|
2932
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
3037
2933
|
|
|
3038
2934
|
/**
|
|
3039
2935
|
* Generic pallet storage query
|
|
3040
2936
|
**/
|
|
3041
|
-
[storage: string]: GenericStorageQuery
|
|
2937
|
+
[storage: string]: GenericStorageQuery;
|
|
3042
2938
|
};
|
|
3043
2939
|
/**
|
|
3044
2940
|
* Pallet `FastUnstake`'s storage queries
|
|
@@ -3051,7 +2947,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3051
2947
|
*
|
|
3052
2948
|
* @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
|
|
3053
2949
|
**/
|
|
3054
|
-
head: GenericStorageQuery<
|
|
2950
|
+
head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
|
|
3055
2951
|
|
|
3056
2952
|
/**
|
|
3057
2953
|
* The map of all accounts wishing to be unstaked.
|
|
@@ -3061,14 +2957,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3061
2957
|
* @param {AccountId32Like} arg
|
|
3062
2958
|
* @param {Callback<bigint | undefined> =} callback
|
|
3063
2959
|
**/
|
|
3064
|
-
queue: GenericStorageQuery<
|
|
2960
|
+
queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
3065
2961
|
|
|
3066
2962
|
/**
|
|
3067
2963
|
* Counter for the related counted storage map
|
|
3068
2964
|
*
|
|
3069
2965
|
* @param {Callback<number> =} callback
|
|
3070
2966
|
**/
|
|
3071
|
-
counterForQueue: GenericStorageQuery<
|
|
2967
|
+
counterForQueue: GenericStorageQuery<() => number>;
|
|
3072
2968
|
|
|
3073
2969
|
/**
|
|
3074
2970
|
* Number of eras to check per block.
|
|
@@ -3082,12 +2978,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3082
2978
|
*
|
|
3083
2979
|
* @param {Callback<number> =} callback
|
|
3084
2980
|
**/
|
|
3085
|
-
erasToCheckPerBlock: GenericStorageQuery<
|
|
2981
|
+
erasToCheckPerBlock: GenericStorageQuery<() => number>;
|
|
3086
2982
|
|
|
3087
2983
|
/**
|
|
3088
2984
|
* Generic pallet storage query
|
|
3089
2985
|
**/
|
|
3090
|
-
[storage: string]: GenericStorageQuery
|
|
2986
|
+
[storage: string]: GenericStorageQuery;
|
|
3091
2987
|
};
|
|
3092
2988
|
/**
|
|
3093
2989
|
* Pallet `VoterList`'s storage queries
|
|
@@ -3101,14 +2997,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3101
2997
|
* @param {AccountId32Like} arg
|
|
3102
2998
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
3103
2999
|
**/
|
|
3104
|
-
listNodes: GenericStorageQuery<
|
|
3000
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
3105
3001
|
|
|
3106
3002
|
/**
|
|
3107
3003
|
* Counter for the related counted storage map
|
|
3108
3004
|
*
|
|
3109
3005
|
* @param {Callback<number> =} callback
|
|
3110
3006
|
**/
|
|
3111
|
-
counterForListNodes: GenericStorageQuery<
|
|
3007
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
3112
3008
|
|
|
3113
3009
|
/**
|
|
3114
3010
|
* A bag stored in storage.
|
|
@@ -3118,7 +3014,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3118
3014
|
* @param {bigint} arg
|
|
3119
3015
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
3120
3016
|
**/
|
|
3121
|
-
listBags: GenericStorageQuery<
|
|
3017
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
3122
3018
|
|
|
3123
3019
|
/**
|
|
3124
3020
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -3126,7 +3022,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3126
3022
|
*
|
|
3127
3023
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3128
3024
|
**/
|
|
3129
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
3025
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3130
3026
|
|
|
3131
3027
|
/**
|
|
3132
3028
|
* Lock all updates to this pallet.
|
|
@@ -3136,7 +3032,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3136
3032
|
*
|
|
3137
3033
|
* @param {Callback<[] | undefined> =} callback
|
|
3138
3034
|
**/
|
|
3139
|
-
lock: GenericStorageQuery<
|
|
3035
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
3140
3036
|
|
|
3141
3037
|
/**
|
|
3142
3038
|
* Accounts that failed to be inserted into the bags-list due to locking.
|
|
@@ -3157,19 +3053,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3157
3053
|
* @param {AccountId32Like} arg
|
|
3158
3054
|
* @param {Callback<[] | undefined> =} callback
|
|
3159
3055
|
**/
|
|
3160
|
-
pendingRebag: GenericStorageQuery<
|
|
3056
|
+
pendingRebag: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
3161
3057
|
|
|
3162
3058
|
/**
|
|
3163
3059
|
* Counter for the related counted storage map
|
|
3164
3060
|
*
|
|
3165
3061
|
* @param {Callback<number> =} callback
|
|
3166
3062
|
**/
|
|
3167
|
-
counterForPendingRebag: GenericStorageQuery<
|
|
3063
|
+
counterForPendingRebag: GenericStorageQuery<() => number>;
|
|
3168
3064
|
|
|
3169
3065
|
/**
|
|
3170
3066
|
* Generic pallet storage query
|
|
3171
3067
|
**/
|
|
3172
|
-
[storage: string]: GenericStorageQuery
|
|
3068
|
+
[storage: string]: GenericStorageQuery;
|
|
3173
3069
|
};
|
|
3174
3070
|
/**
|
|
3175
3071
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -3185,7 +3081,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3185
3081
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
3186
3082
|
**/
|
|
3187
3083
|
delegators: GenericStorageQuery<
|
|
3188
|
-
Rv,
|
|
3189
3084
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
3190
3085
|
AccountId32
|
|
3191
3086
|
>;
|
|
@@ -3195,7 +3090,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3195
3090
|
*
|
|
3196
3091
|
* @param {Callback<number> =} callback
|
|
3197
3092
|
**/
|
|
3198
|
-
counterForDelegators: GenericStorageQuery<
|
|
3093
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
3199
3094
|
|
|
3200
3095
|
/**
|
|
3201
3096
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -3203,23 +3098,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3203
3098
|
* @param {AccountId32Like} arg
|
|
3204
3099
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
3205
3100
|
**/
|
|
3206
|
-
agents: GenericStorageQuery<
|
|
3207
|
-
Rv,
|
|
3208
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
3209
|
-
AccountId32
|
|
3210
|
-
>;
|
|
3101
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
3211
3102
|
|
|
3212
3103
|
/**
|
|
3213
3104
|
* Counter for the related counted storage map
|
|
3214
3105
|
*
|
|
3215
3106
|
* @param {Callback<number> =} callback
|
|
3216
3107
|
**/
|
|
3217
|
-
counterForAgents: GenericStorageQuery<
|
|
3108
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
3218
3109
|
|
|
3219
3110
|
/**
|
|
3220
3111
|
* Generic pallet storage query
|
|
3221
3112
|
**/
|
|
3222
|
-
[storage: string]: GenericStorageQuery
|
|
3113
|
+
[storage: string]: GenericStorageQuery;
|
|
3223
3114
|
};
|
|
3224
3115
|
/**
|
|
3225
3116
|
* Pallet `StakingRcClient`'s storage queries
|
|
@@ -3230,7 +3121,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3230
3121
|
*
|
|
3231
3122
|
* @param {Callback<PalletStakingAsyncRcClientSessionReport | undefined> =} callback
|
|
3232
3123
|
**/
|
|
3233
|
-
incompleteSessionReport: GenericStorageQuery<
|
|
3124
|
+
incompleteSessionReport: GenericStorageQuery<() => PalletStakingAsyncRcClientSessionReport | undefined>;
|
|
3234
3125
|
|
|
3235
3126
|
/**
|
|
3236
3127
|
* The last session report's `end_index` that we have acted upon.
|
|
@@ -3244,7 +3135,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3244
3135
|
*
|
|
3245
3136
|
* @param {Callback<number | undefined> =} callback
|
|
3246
3137
|
**/
|
|
3247
|
-
lastSessionReportEndingIndex: GenericStorageQuery<
|
|
3138
|
+
lastSessionReportEndingIndex: GenericStorageQuery<() => number | undefined>;
|
|
3248
3139
|
|
|
3249
3140
|
/**
|
|
3250
3141
|
* A validator set that is outgoing, and should be sent.
|
|
@@ -3254,15 +3145,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3254
3145
|
*
|
|
3255
3146
|
* @param {Callback<[PalletStakingAsyncRcClientValidatorSetReport, number] | undefined> =} callback
|
|
3256
3147
|
**/
|
|
3257
|
-
outgoingValidatorSet: GenericStorageQuery<
|
|
3258
|
-
Rv,
|
|
3259
|
-
() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined
|
|
3260
|
-
>;
|
|
3148
|
+
outgoingValidatorSet: GenericStorageQuery<() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined>;
|
|
3261
3149
|
|
|
3262
3150
|
/**
|
|
3263
3151
|
* Generic pallet storage query
|
|
3264
3152
|
**/
|
|
3265
|
-
[storage: string]: GenericStorageQuery
|
|
3153
|
+
[storage: string]: GenericStorageQuery;
|
|
3266
3154
|
};
|
|
3267
3155
|
/**
|
|
3268
3156
|
* Pallet `MultiBlockElection`'s storage queries
|
|
@@ -3278,14 +3166,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3278
3166
|
*
|
|
3279
3167
|
* @param {Callback<number> =} callback
|
|
3280
3168
|
**/
|
|
3281
|
-
round: GenericStorageQuery<
|
|
3169
|
+
round: GenericStorageQuery<() => number>;
|
|
3282
3170
|
|
|
3283
3171
|
/**
|
|
3284
3172
|
* Current phase.
|
|
3285
3173
|
*
|
|
3286
3174
|
* @param {Callback<PalletElectionProviderMultiBlockPhase> =} callback
|
|
3287
3175
|
**/
|
|
3288
|
-
currentPhase: GenericStorageQuery<
|
|
3176
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiBlockPhase>;
|
|
3289
3177
|
|
|
3290
3178
|
/**
|
|
3291
3179
|
* Desired number of targets to elect for this round.
|
|
@@ -3293,7 +3181,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3293
3181
|
* @param {number} arg
|
|
3294
3182
|
* @param {Callback<number | undefined> =} callback
|
|
3295
3183
|
**/
|
|
3296
|
-
desiredTargets: GenericStorageQuery<
|
|
3184
|
+
desiredTargets: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
3297
3185
|
|
|
3298
3186
|
/**
|
|
3299
3187
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
|
@@ -3302,7 +3190,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3302
3190
|
* @param {Callback<Array<[AccountId32, bigint, Array<AccountId32>]> | undefined> =} callback
|
|
3303
3191
|
**/
|
|
3304
3192
|
pagedVoterSnapshot: GenericStorageQuery<
|
|
3305
|
-
Rv,
|
|
3306
3193
|
(arg: [number, number]) => Array<[AccountId32, bigint, Array<AccountId32>]> | undefined,
|
|
3307
3194
|
[number, number]
|
|
3308
3195
|
>;
|
|
@@ -3315,7 +3202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3315
3202
|
* @param {[number, number]} arg
|
|
3316
3203
|
* @param {Callback<H256 | undefined> =} callback
|
|
3317
3204
|
**/
|
|
3318
|
-
pagedVoterSnapshotHash: GenericStorageQuery<
|
|
3205
|
+
pagedVoterSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
3319
3206
|
|
|
3320
3207
|
/**
|
|
3321
3208
|
* Paginated target snapshot.
|
|
@@ -3326,7 +3213,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3326
3213
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
3327
3214
|
**/
|
|
3328
3215
|
pagedTargetSnapshot: GenericStorageQuery<
|
|
3329
|
-
Rv,
|
|
3330
3216
|
(arg: [number, number]) => Array<AccountId32> | undefined,
|
|
3331
3217
|
[number, number]
|
|
3332
3218
|
>;
|
|
@@ -3339,12 +3225,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3339
3225
|
* @param {[number, number]} arg
|
|
3340
3226
|
* @param {Callback<H256 | undefined> =} callback
|
|
3341
3227
|
**/
|
|
3342
|
-
pagedTargetSnapshotHash: GenericStorageQuery<
|
|
3228
|
+
pagedTargetSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
3343
3229
|
|
|
3344
3230
|
/**
|
|
3345
3231
|
* Generic pallet storage query
|
|
3346
3232
|
**/
|
|
3347
|
-
[storage: string]: GenericStorageQuery
|
|
3233
|
+
[storage: string]: GenericStorageQuery;
|
|
3348
3234
|
};
|
|
3349
3235
|
/**
|
|
3350
3236
|
* Pallet `MultiBlockElectionVerifier`'s storage queries
|
|
@@ -3363,7 +3249,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3363
3249
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
3364
3250
|
**/
|
|
3365
3251
|
queuedSolutionX: GenericStorageQuery<
|
|
3366
|
-
Rv,
|
|
3367
3252
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
3368
3253
|
[number, number]
|
|
3369
3254
|
>;
|
|
@@ -3375,7 +3260,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3375
3260
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
3376
3261
|
**/
|
|
3377
3262
|
queuedSolutionY: GenericStorageQuery<
|
|
3378
|
-
Rv,
|
|
3379
3263
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
3380
3264
|
[number, number]
|
|
3381
3265
|
>;
|
|
@@ -3388,7 +3272,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3388
3272
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsValidSolution> =} callback
|
|
3389
3273
|
**/
|
|
3390
3274
|
queuedValidVariant: GenericStorageQuery<
|
|
3391
|
-
Rv,
|
|
3392
3275
|
(arg: number) => PalletElectionProviderMultiBlockVerifierImplsValidSolution,
|
|
3393
3276
|
number
|
|
3394
3277
|
>;
|
|
@@ -3407,7 +3290,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3407
3290
|
* @param {Callback<Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined> =} callback
|
|
3408
3291
|
**/
|
|
3409
3292
|
queuedSolutionBackings: GenericStorageQuery<
|
|
3410
|
-
Rv,
|
|
3411
3293
|
(
|
|
3412
3294
|
arg: [number, number],
|
|
3413
3295
|
) => Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined,
|
|
@@ -3422,26 +3304,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3422
3304
|
* @param {number} arg
|
|
3423
3305
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
3424
3306
|
**/
|
|
3425
|
-
queuedSolutionScore: GenericStorageQuery<
|
|
3307
|
+
queuedSolutionScore: GenericStorageQuery<(arg: number) => SpNposElectionsElectionScore | undefined, number>;
|
|
3426
3308
|
|
|
3427
3309
|
/**
|
|
3428
3310
|
* The minimum score that each solution must attain in order to be considered feasible.
|
|
3429
3311
|
*
|
|
3430
3312
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
3431
3313
|
**/
|
|
3432
|
-
minimumScore: GenericStorageQuery<
|
|
3314
|
+
minimumScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
3433
3315
|
|
|
3434
3316
|
/**
|
|
3435
3317
|
* Storage item for [`Status`].
|
|
3436
3318
|
*
|
|
3437
3319
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsStatus> =} callback
|
|
3438
3320
|
**/
|
|
3439
|
-
statusStorage: GenericStorageQuery<
|
|
3321
|
+
statusStorage: GenericStorageQuery<() => PalletElectionProviderMultiBlockVerifierImplsStatus>;
|
|
3440
3322
|
|
|
3441
3323
|
/**
|
|
3442
3324
|
* Generic pallet storage query
|
|
3443
3325
|
**/
|
|
3444
|
-
[storage: string]: GenericStorageQuery
|
|
3326
|
+
[storage: string]: GenericStorageQuery;
|
|
3445
3327
|
};
|
|
3446
3328
|
/**
|
|
3447
3329
|
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
@@ -3460,14 +3342,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3460
3342
|
*
|
|
3461
3343
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3462
3344
|
**/
|
|
3463
|
-
invulnerables: GenericStorageQuery<
|
|
3345
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3464
3346
|
|
|
3465
3347
|
/**
|
|
3466
3348
|
*
|
|
3467
3349
|
* @param {number} arg
|
|
3468
3350
|
* @param {Callback<Array<[AccountId32, SpNposElectionsElectionScore]>> =} callback
|
|
3469
3351
|
**/
|
|
3470
|
-
sortedScores: GenericStorageQuery<
|
|
3352
|
+
sortedScores: GenericStorageQuery<(arg: number) => Array<[AccountId32, SpNposElectionsElectionScore]>, number>;
|
|
3471
3353
|
|
|
3472
3354
|
/**
|
|
3473
3355
|
* Triple map from (round, account, page) to a solution page.
|
|
@@ -3476,7 +3358,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3476
3358
|
* @param {Callback<AssetHubWestendRuntimeStakingNposCompactSolution16 | undefined> =} callback
|
|
3477
3359
|
**/
|
|
3478
3360
|
submissionStorage: GenericStorageQuery<
|
|
3479
|
-
Rv,
|
|
3480
3361
|
(arg: [number, AccountId32Like, number]) => AssetHubWestendRuntimeStakingNposCompactSolution16 | undefined,
|
|
3481
3362
|
[number, AccountId32, number]
|
|
3482
3363
|
>;
|
|
@@ -3491,7 +3372,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3491
3372
|
* @param {Callback<PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined> =} callback
|
|
3492
3373
|
**/
|
|
3493
3374
|
submissionMetadataStorage: GenericStorageQuery<
|
|
3494
|
-
Rv,
|
|
3495
3375
|
(arg: [number, AccountId32Like]) => PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined,
|
|
3496
3376
|
[number, AccountId32]
|
|
3497
3377
|
>;
|
|
@@ -3499,7 +3379,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3499
3379
|
/**
|
|
3500
3380
|
* Generic pallet storage query
|
|
3501
3381
|
**/
|
|
3502
|
-
[storage: string]: GenericStorageQuery
|
|
3382
|
+
[storage: string]: GenericStorageQuery;
|
|
3503
3383
|
};
|
|
3504
3384
|
/**
|
|
3505
3385
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -3513,7 +3393,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3513
3393
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
3514
3394
|
**/
|
|
3515
3395
|
votingFor: GenericStorageQuery<
|
|
3516
|
-
Rv,
|
|
3517
3396
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
3518
3397
|
[AccountId32, number]
|
|
3519
3398
|
>;
|
|
@@ -3526,12 +3405,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3526
3405
|
* @param {AccountId32Like} arg
|
|
3527
3406
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3528
3407
|
**/
|
|
3529
|
-
classLocksFor: GenericStorageQuery<
|
|
3408
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
3530
3409
|
|
|
3531
3410
|
/**
|
|
3532
3411
|
* Generic pallet storage query
|
|
3533
3412
|
**/
|
|
3534
|
-
[storage: string]: GenericStorageQuery
|
|
3413
|
+
[storage: string]: GenericStorageQuery;
|
|
3535
3414
|
};
|
|
3536
3415
|
/**
|
|
3537
3416
|
* Pallet `Referenda`'s storage queries
|
|
@@ -3542,7 +3421,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3542
3421
|
*
|
|
3543
3422
|
* @param {Callback<number> =} callback
|
|
3544
3423
|
**/
|
|
3545
|
-
referendumCount: GenericStorageQuery<
|
|
3424
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
3546
3425
|
|
|
3547
3426
|
/**
|
|
3548
3427
|
* Information concerning any given referendum.
|
|
@@ -3550,7 +3429,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3550
3429
|
* @param {number} arg
|
|
3551
3430
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
3552
3431
|
**/
|
|
3553
|
-
referendumInfoFor: GenericStorageQuery<
|
|
3432
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
3554
3433
|
|
|
3555
3434
|
/**
|
|
3556
3435
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -3561,7 +3440,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3561
3440
|
* @param {number} arg
|
|
3562
3441
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
3563
3442
|
**/
|
|
3564
|
-
trackQueue: GenericStorageQuery<
|
|
3443
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
3565
3444
|
|
|
3566
3445
|
/**
|
|
3567
3446
|
* The number of referenda being decided currently.
|
|
@@ -3569,7 +3448,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3569
3448
|
* @param {number} arg
|
|
3570
3449
|
* @param {Callback<number> =} callback
|
|
3571
3450
|
**/
|
|
3572
|
-
decidingCount: GenericStorageQuery<
|
|
3451
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
3573
3452
|
|
|
3574
3453
|
/**
|
|
3575
3454
|
* The metadata is a general information concerning the referendum.
|
|
@@ -3582,12 +3461,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3582
3461
|
* @param {number} arg
|
|
3583
3462
|
* @param {Callback<H256 | undefined> =} callback
|
|
3584
3463
|
**/
|
|
3585
|
-
metadataOf: GenericStorageQuery<
|
|
3464
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3586
3465
|
|
|
3587
3466
|
/**
|
|
3588
3467
|
* Generic pallet storage query
|
|
3589
3468
|
**/
|
|
3590
|
-
[storage: string]: GenericStorageQuery
|
|
3469
|
+
[storage: string]: GenericStorageQuery;
|
|
3591
3470
|
};
|
|
3592
3471
|
/**
|
|
3593
3472
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -3598,12 +3477,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3598
3477
|
* @param {H256} arg
|
|
3599
3478
|
* @param {Callback<[] | undefined> =} callback
|
|
3600
3479
|
**/
|
|
3601
|
-
whitelistedCall: GenericStorageQuery<
|
|
3480
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
3602
3481
|
|
|
3603
3482
|
/**
|
|
3604
3483
|
* Generic pallet storage query
|
|
3605
3484
|
**/
|
|
3606
|
-
[storage: string]: GenericStorageQuery
|
|
3485
|
+
[storage: string]: GenericStorageQuery;
|
|
3607
3486
|
};
|
|
3608
3487
|
/**
|
|
3609
3488
|
* Pallet `Treasury`'s storage queries
|
|
@@ -3617,7 +3496,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3617
3496
|
*
|
|
3618
3497
|
* @param {Callback<number> =} callback
|
|
3619
3498
|
**/
|
|
3620
|
-
proposalCount: GenericStorageQuery<
|
|
3499
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
3621
3500
|
|
|
3622
3501
|
/**
|
|
3623
3502
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -3628,14 +3507,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3628
3507
|
* @param {number} arg
|
|
3629
3508
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
3630
3509
|
**/
|
|
3631
|
-
proposals: GenericStorageQuery<
|
|
3510
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
3632
3511
|
|
|
3633
3512
|
/**
|
|
3634
3513
|
* The amount which has been reported as inactive to Currency.
|
|
3635
3514
|
*
|
|
3636
3515
|
* @param {Callback<bigint> =} callback
|
|
3637
3516
|
**/
|
|
3638
|
-
deactivated: GenericStorageQuery<
|
|
3517
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
3639
3518
|
|
|
3640
3519
|
/**
|
|
3641
3520
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -3645,14 +3524,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3645
3524
|
*
|
|
3646
3525
|
* @param {Callback<Array<number>> =} callback
|
|
3647
3526
|
**/
|
|
3648
|
-
approvals: GenericStorageQuery<
|
|
3527
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
3649
3528
|
|
|
3650
3529
|
/**
|
|
3651
3530
|
* The count of spends that have been made.
|
|
3652
3531
|
*
|
|
3653
3532
|
* @param {Callback<number> =} callback
|
|
3654
3533
|
**/
|
|
3655
|
-
spendCount: GenericStorageQuery<
|
|
3534
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
3656
3535
|
|
|
3657
3536
|
/**
|
|
3658
3537
|
* Spends that have been approved and being processed.
|
|
@@ -3660,19 +3539,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3660
3539
|
* @param {number} arg
|
|
3661
3540
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
3662
3541
|
**/
|
|
3663
|
-
spends: GenericStorageQuery<
|
|
3542
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
3664
3543
|
|
|
3665
3544
|
/**
|
|
3666
3545
|
* The blocknumber for the last triggered spend period.
|
|
3667
3546
|
*
|
|
3668
3547
|
* @param {Callback<number | undefined> =} callback
|
|
3669
3548
|
**/
|
|
3670
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
3549
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
3671
3550
|
|
|
3672
3551
|
/**
|
|
3673
3552
|
* Generic pallet storage query
|
|
3674
3553
|
**/
|
|
3675
|
-
[storage: string]: GenericStorageQuery
|
|
3554
|
+
[storage: string]: GenericStorageQuery;
|
|
3676
3555
|
};
|
|
3677
3556
|
/**
|
|
3678
3557
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -3687,7 +3566,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3687
3566
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
3688
3567
|
**/
|
|
3689
3568
|
conversionRateToNative: GenericStorageQuery<
|
|
3690
|
-
Rv,
|
|
3691
3569
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
3692
3570
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
3693
3571
|
>;
|
|
@@ -3695,7 +3573,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3695
3573
|
/**
|
|
3696
3574
|
* Generic pallet storage query
|
|
3697
3575
|
**/
|
|
3698
|
-
[storage: string]: GenericStorageQuery
|
|
3576
|
+
[storage: string]: GenericStorageQuery;
|
|
3699
3577
|
};
|
|
3700
3578
|
/**
|
|
3701
3579
|
* Pallet `AhOps`'s storage queries
|
|
@@ -3721,7 +3599,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3721
3599
|
* @param {Callback<bigint | undefined> =} callback
|
|
3722
3600
|
**/
|
|
3723
3601
|
rcLeaseReserve: GenericStorageQuery<
|
|
3724
|
-
Rv,
|
|
3725
3602
|
(arg: [number, number, AccountId32Like]) => bigint | undefined,
|
|
3726
3603
|
[number, number, AccountId32]
|
|
3727
3604
|
>;
|
|
@@ -3744,7 +3621,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3744
3621
|
* @param {Callback<[AccountId32, bigint] | undefined> =} callback
|
|
3745
3622
|
**/
|
|
3746
3623
|
rcCrowdloanContribution: GenericStorageQuery<
|
|
3747
|
-
Rv,
|
|
3748
3624
|
(arg: [number, number, AccountId32Like]) => [AccountId32, bigint] | undefined,
|
|
3749
3625
|
[number, number, AccountId32]
|
|
3750
3626
|
>;
|
|
@@ -3764,7 +3640,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3764
3640
|
* @param {Callback<bigint | undefined> =} callback
|
|
3765
3641
|
**/
|
|
3766
3642
|
rcCrowdloanReserve: GenericStorageQuery<
|
|
3767
|
-
Rv,
|
|
3768
3643
|
(arg: [number, number, AccountId32Like]) => bigint | undefined,
|
|
3769
3644
|
[number, number, AccountId32]
|
|
3770
3645
|
>;
|
|
@@ -3772,6 +3647,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3772
3647
|
/**
|
|
3773
3648
|
* Generic pallet storage query
|
|
3774
3649
|
**/
|
|
3775
|
-
[storage: string]: GenericStorageQuery
|
|
3650
|
+
[storage: string]: GenericStorageQuery;
|
|
3776
3651
|
};
|
|
3777
3652
|
}
|