@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
|
PalletRcMigratorQueuePriority,
|
|
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<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
374
373
|
**/
|
|
375
|
-
validationData: GenericStorageQuery<
|
|
374
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | 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<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
403
402
|
**/
|
|
404
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
403
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | 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<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
414
413
|
**/
|
|
415
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
414
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | 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<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
454
452
|
**/
|
|
455
|
-
hostConfiguration: GenericStorageQuery<
|
|
453
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | 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 `Preimage`'s storage queries
|
|
@@ -640,7 +635,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
640
635
|
*
|
|
641
636
|
* @deprecated RequestStatusFor
|
|
642
637
|
**/
|
|
643
|
-
statusFor: GenericStorageQuery<
|
|
638
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
644
639
|
|
|
645
640
|
/**
|
|
646
641
|
* The request status of a given hash.
|
|
@@ -648,19 +643,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
648
643
|
* @param {H256} arg
|
|
649
644
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
650
645
|
**/
|
|
651
|
-
requestStatusFor: GenericStorageQuery<
|
|
646
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
652
647
|
|
|
653
648
|
/**
|
|
654
649
|
*
|
|
655
650
|
* @param {[H256, number]} arg
|
|
656
651
|
* @param {Callback<Bytes | undefined> =} callback
|
|
657
652
|
**/
|
|
658
|
-
preimageFor: GenericStorageQuery<
|
|
653
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
659
654
|
|
|
660
655
|
/**
|
|
661
656
|
* Generic pallet storage query
|
|
662
657
|
**/
|
|
663
|
-
[storage: string]: GenericStorageQuery
|
|
658
|
+
[storage: string]: GenericStorageQuery;
|
|
664
659
|
};
|
|
665
660
|
/**
|
|
666
661
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -671,7 +666,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
671
666
|
*
|
|
672
667
|
* @param {Callback<number | undefined> =} callback
|
|
673
668
|
**/
|
|
674
|
-
incompleteSince: GenericStorageQuery<
|
|
669
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
675
670
|
|
|
676
671
|
/**
|
|
677
672
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -679,7 +674,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
679
674
|
* @param {number} arg
|
|
680
675
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
681
676
|
**/
|
|
682
|
-
agenda: GenericStorageQuery<
|
|
677
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
683
678
|
|
|
684
679
|
/**
|
|
685
680
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -687,11 +682,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
687
682
|
* @param {[number, number]} arg
|
|
688
683
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
689
684
|
**/
|
|
690
|
-
retries: GenericStorageQuery<
|
|
691
|
-
Rv,
|
|
692
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
693
|
-
[number, number]
|
|
694
|
-
>;
|
|
685
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
695
686
|
|
|
696
687
|
/**
|
|
697
688
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -702,12 +693,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
702
693
|
* @param {FixedBytes<32>} arg
|
|
703
694
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
704
695
|
**/
|
|
705
|
-
lookup: GenericStorageQuery<
|
|
696
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
706
697
|
|
|
707
698
|
/**
|
|
708
699
|
* Generic pallet storage query
|
|
709
700
|
**/
|
|
710
|
-
[storage: string]: GenericStorageQuery
|
|
701
|
+
[storage: string]: GenericStorageQuery;
|
|
711
702
|
};
|
|
712
703
|
/**
|
|
713
704
|
* Pallet `Parameters`'s storage queries
|
|
@@ -720,7 +711,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
720
711
|
* @param {Callback<AssetHubPaseoRuntimeRuntimeParametersValue | undefined> =} callback
|
|
721
712
|
**/
|
|
722
713
|
parameters: GenericStorageQuery<
|
|
723
|
-
Rv,
|
|
724
714
|
(arg: AssetHubPaseoRuntimeRuntimeParametersKey) => AssetHubPaseoRuntimeRuntimeParametersValue | undefined,
|
|
725
715
|
AssetHubPaseoRuntimeRuntimeParametersKey
|
|
726
716
|
>;
|
|
@@ -728,7 +718,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
728
718
|
/**
|
|
729
719
|
* Generic pallet storage query
|
|
730
720
|
**/
|
|
731
|
-
[storage: string]: GenericStorageQuery
|
|
721
|
+
[storage: string]: GenericStorageQuery;
|
|
732
722
|
};
|
|
733
723
|
/**
|
|
734
724
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -741,7 +731,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
741
731
|
*
|
|
742
732
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
743
733
|
**/
|
|
744
|
-
cursor: GenericStorageQuery<
|
|
734
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
745
735
|
|
|
746
736
|
/**
|
|
747
737
|
* Set of all successfully executed migrations.
|
|
@@ -752,12 +742,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
752
742
|
* @param {BytesLike} arg
|
|
753
743
|
* @param {Callback<[] | undefined> =} callback
|
|
754
744
|
**/
|
|
755
|
-
historic: GenericStorageQuery<
|
|
745
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
756
746
|
|
|
757
747
|
/**
|
|
758
748
|
* Generic pallet storage query
|
|
759
749
|
**/
|
|
760
|
-
[storage: string]: GenericStorageQuery
|
|
750
|
+
[storage: string]: GenericStorageQuery;
|
|
761
751
|
};
|
|
762
752
|
/**
|
|
763
753
|
* Pallet `Balances`'s storage queries
|
|
@@ -768,14 +758,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
768
758
|
*
|
|
769
759
|
* @param {Callback<bigint> =} callback
|
|
770
760
|
**/
|
|
771
|
-
totalIssuance: GenericStorageQuery<
|
|
761
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
772
762
|
|
|
773
763
|
/**
|
|
774
764
|
* The total units of outstanding deactivated balance in the system.
|
|
775
765
|
*
|
|
776
766
|
* @param {Callback<bigint> =} callback
|
|
777
767
|
**/
|
|
778
|
-
inactiveIssuance: GenericStorageQuery<
|
|
768
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
779
769
|
|
|
780
770
|
/**
|
|
781
771
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -806,7 +796,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
806
796
|
* @param {AccountId32Like} arg
|
|
807
797
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
808
798
|
**/
|
|
809
|
-
account: GenericStorageQuery<
|
|
799
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
810
800
|
|
|
811
801
|
/**
|
|
812
802
|
* Any liquidity locks on some account balances.
|
|
@@ -817,7 +807,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
817
807
|
* @param {AccountId32Like} arg
|
|
818
808
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
819
809
|
**/
|
|
820
|
-
locks: GenericStorageQuery<
|
|
810
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
821
811
|
|
|
822
812
|
/**
|
|
823
813
|
* Named reserves on some account balances.
|
|
@@ -827,7 +817,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
827
817
|
* @param {AccountId32Like} arg
|
|
828
818
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
829
819
|
**/
|
|
830
|
-
reserves: GenericStorageQuery<
|
|
820
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
831
821
|
|
|
832
822
|
/**
|
|
833
823
|
* Holds on account balances.
|
|
@@ -836,7 +826,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
836
826
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>> =} callback
|
|
837
827
|
**/
|
|
838
828
|
holds: GenericStorageQuery<
|
|
839
|
-
Rv,
|
|
840
829
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
841
830
|
AccountId32
|
|
842
831
|
>;
|
|
@@ -848,7 +837,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
848
837
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
849
838
|
**/
|
|
850
839
|
freezes: GenericStorageQuery<
|
|
851
|
-
Rv,
|
|
852
840
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
853
841
|
AccountId32
|
|
854
842
|
>;
|
|
@@ -856,7 +844,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
856
844
|
/**
|
|
857
845
|
* Generic pallet storage query
|
|
858
846
|
**/
|
|
859
|
-
[storage: string]: GenericStorageQuery
|
|
847
|
+
[storage: string]: GenericStorageQuery;
|
|
860
848
|
};
|
|
861
849
|
/**
|
|
862
850
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -866,18 +854,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
866
854
|
*
|
|
867
855
|
* @param {Callback<FixedU128> =} callback
|
|
868
856
|
**/
|
|
869
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
857
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
870
858
|
|
|
871
859
|
/**
|
|
872
860
|
*
|
|
873
861
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
874
862
|
**/
|
|
875
|
-
storageVersion: GenericStorageQuery<
|
|
863
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
876
864
|
|
|
877
865
|
/**
|
|
878
866
|
* Generic pallet storage query
|
|
879
867
|
**/
|
|
880
|
-
[storage: string]: GenericStorageQuery
|
|
868
|
+
[storage: string]: GenericStorageQuery;
|
|
881
869
|
};
|
|
882
870
|
/**
|
|
883
871
|
* Pallet `Vesting`'s storage queries
|
|
@@ -889,11 +877,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
889
877
|
* @param {AccountId32Like} arg
|
|
890
878
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
891
879
|
**/
|
|
892
|
-
vesting: GenericStorageQuery<
|
|
893
|
-
Rv,
|
|
894
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
895
|
-
AccountId32
|
|
896
|
-
>;
|
|
880
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
897
881
|
|
|
898
882
|
/**
|
|
899
883
|
* Storage version of the pallet.
|
|
@@ -902,12 +886,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
902
886
|
*
|
|
903
887
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
904
888
|
**/
|
|
905
|
-
storageVersion: GenericStorageQuery<
|
|
889
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
906
890
|
|
|
907
891
|
/**
|
|
908
892
|
* Generic pallet storage query
|
|
909
893
|
**/
|
|
910
|
-
[storage: string]: GenericStorageQuery
|
|
894
|
+
[storage: string]: GenericStorageQuery;
|
|
911
895
|
};
|
|
912
896
|
/**
|
|
913
897
|
* Pallet `Claims`'s storage queries
|
|
@@ -918,13 +902,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
918
902
|
* @param {EthereumAddressLike} arg
|
|
919
903
|
* @param {Callback<bigint | undefined> =} callback
|
|
920
904
|
**/
|
|
921
|
-
claims: GenericStorageQuery<
|
|
905
|
+
claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined, EthereumAddress>;
|
|
922
906
|
|
|
923
907
|
/**
|
|
924
908
|
*
|
|
925
909
|
* @param {Callback<bigint> =} callback
|
|
926
910
|
**/
|
|
927
|
-
total: GenericStorageQuery<
|
|
911
|
+
total: GenericStorageQuery<() => bigint>;
|
|
928
912
|
|
|
929
913
|
/**
|
|
930
914
|
* Vesting schedule for a claim.
|
|
@@ -935,11 +919,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
935
919
|
* @param {EthereumAddressLike} arg
|
|
936
920
|
* @param {Callback<[bigint, bigint, number] | undefined> =} callback
|
|
937
921
|
**/
|
|
938
|
-
vesting: GenericStorageQuery<
|
|
939
|
-
Rv,
|
|
940
|
-
(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined,
|
|
941
|
-
EthereumAddress
|
|
942
|
-
>;
|
|
922
|
+
vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined, EthereumAddress>;
|
|
943
923
|
|
|
944
924
|
/**
|
|
945
925
|
* The statement kind that must be signed, if any.
|
|
@@ -948,7 +928,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
948
928
|
* @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
|
|
949
929
|
**/
|
|
950
930
|
signing: GenericStorageQuery<
|
|
951
|
-
Rv,
|
|
952
931
|
(arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined,
|
|
953
932
|
EthereumAddress
|
|
954
933
|
>;
|
|
@@ -959,12 +938,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
959
938
|
* @param {AccountId32Like} arg
|
|
960
939
|
* @param {Callback<EthereumAddress | undefined> =} callback
|
|
961
940
|
**/
|
|
962
|
-
preclaims: GenericStorageQuery<
|
|
941
|
+
preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined, AccountId32>;
|
|
963
942
|
|
|
964
943
|
/**
|
|
965
944
|
* Generic pallet storage query
|
|
966
945
|
**/
|
|
967
|
-
[storage: string]: GenericStorageQuery
|
|
946
|
+
[storage: string]: GenericStorageQuery;
|
|
968
947
|
};
|
|
969
948
|
/**
|
|
970
949
|
* Pallet `Authorship`'s storage queries
|
|
@@ -975,12 +954,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
975
954
|
*
|
|
976
955
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
977
956
|
**/
|
|
978
|
-
author: GenericStorageQuery<
|
|
957
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
979
958
|
|
|
980
959
|
/**
|
|
981
960
|
* Generic pallet storage query
|
|
982
961
|
**/
|
|
983
|
-
[storage: string]: GenericStorageQuery
|
|
962
|
+
[storage: string]: GenericStorageQuery;
|
|
984
963
|
};
|
|
985
964
|
/**
|
|
986
965
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -991,7 +970,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
991
970
|
*
|
|
992
971
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
993
972
|
**/
|
|
994
|
-
invulnerables: GenericStorageQuery<
|
|
973
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
995
974
|
|
|
996
975
|
/**
|
|
997
976
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -1002,7 +981,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1002
981
|
*
|
|
1003
982
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
1004
983
|
**/
|
|
1005
|
-
candidateList: GenericStorageQuery<
|
|
984
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
1006
985
|
|
|
1007
986
|
/**
|
|
1008
987
|
* Last block authored by collator.
|
|
@@ -1010,7 +989,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1010
989
|
* @param {AccountId32Like} arg
|
|
1011
990
|
* @param {Callback<number> =} callback
|
|
1012
991
|
**/
|
|
1013
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
992
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
1014
993
|
|
|
1015
994
|
/**
|
|
1016
995
|
* Desired number of candidates.
|
|
@@ -1019,7 +998,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1019
998
|
*
|
|
1020
999
|
* @param {Callback<number> =} callback
|
|
1021
1000
|
**/
|
|
1022
|
-
desiredCandidates: GenericStorageQuery<
|
|
1001
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
1023
1002
|
|
|
1024
1003
|
/**
|
|
1025
1004
|
* Fixed amount to deposit to become a collator.
|
|
@@ -1028,12 +1007,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1028
1007
|
*
|
|
1029
1008
|
* @param {Callback<bigint> =} callback
|
|
1030
1009
|
**/
|
|
1031
|
-
candidacyBond: GenericStorageQuery<
|
|
1010
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
1032
1011
|
|
|
1033
1012
|
/**
|
|
1034
1013
|
* Generic pallet storage query
|
|
1035
1014
|
**/
|
|
1036
|
-
[storage: string]: GenericStorageQuery
|
|
1015
|
+
[storage: string]: GenericStorageQuery;
|
|
1037
1016
|
};
|
|
1038
1017
|
/**
|
|
1039
1018
|
* Pallet `Session`'s storage queries
|
|
@@ -1044,14 +1023,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1044
1023
|
*
|
|
1045
1024
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1046
1025
|
**/
|
|
1047
|
-
validators: GenericStorageQuery<
|
|
1026
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1048
1027
|
|
|
1049
1028
|
/**
|
|
1050
1029
|
* Current index of the session.
|
|
1051
1030
|
*
|
|
1052
1031
|
* @param {Callback<number> =} callback
|
|
1053
1032
|
**/
|
|
1054
|
-
currentIndex: GenericStorageQuery<
|
|
1033
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1055
1034
|
|
|
1056
1035
|
/**
|
|
1057
1036
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1059,7 +1038,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1059
1038
|
*
|
|
1060
1039
|
* @param {Callback<boolean> =} callback
|
|
1061
1040
|
**/
|
|
1062
|
-
queuedChanged: GenericStorageQuery<
|
|
1041
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1063
1042
|
|
|
1064
1043
|
/**
|
|
1065
1044
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1067,7 +1046,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1067
1046
|
*
|
|
1068
1047
|
* @param {Callback<Array<[AccountId32, AssetHubPaseoRuntimeSessionKeys]>> =} callback
|
|
1069
1048
|
**/
|
|
1070
|
-
queuedKeys: GenericStorageQuery<
|
|
1049
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubPaseoRuntimeSessionKeys]>>;
|
|
1071
1050
|
|
|
1072
1051
|
/**
|
|
1073
1052
|
* Indices of disabled validators.
|
|
@@ -1078,7 +1057,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1078
1057
|
*
|
|
1079
1058
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1080
1059
|
**/
|
|
1081
|
-
disabledValidators: GenericStorageQuery<
|
|
1060
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1082
1061
|
|
|
1083
1062
|
/**
|
|
1084
1063
|
* The next session keys for a validator.
|
|
@@ -1086,11 +1065,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1086
1065
|
* @param {AccountId32Like} arg
|
|
1087
1066
|
* @param {Callback<AssetHubPaseoRuntimeSessionKeys | undefined> =} callback
|
|
1088
1067
|
**/
|
|
1089
|
-
nextKeys: GenericStorageQuery<
|
|
1090
|
-
Rv,
|
|
1091
|
-
(arg: AccountId32Like) => AssetHubPaseoRuntimeSessionKeys | undefined,
|
|
1092
|
-
AccountId32
|
|
1093
|
-
>;
|
|
1068
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => AssetHubPaseoRuntimeSessionKeys | undefined, AccountId32>;
|
|
1094
1069
|
|
|
1095
1070
|
/**
|
|
1096
1071
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1099,7 +1074,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1099
1074
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1100
1075
|
**/
|
|
1101
1076
|
keyOwner: GenericStorageQuery<
|
|
1102
|
-
Rv,
|
|
1103
1077
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1104
1078
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1105
1079
|
>;
|
|
@@ -1107,7 +1081,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1107
1081
|
/**
|
|
1108
1082
|
* Generic pallet storage query
|
|
1109
1083
|
**/
|
|
1110
|
-
[storage: string]: GenericStorageQuery
|
|
1084
|
+
[storage: string]: GenericStorageQuery;
|
|
1111
1085
|
};
|
|
1112
1086
|
/**
|
|
1113
1087
|
* Pallet `Aura`'s storage queries
|
|
@@ -1118,7 +1092,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1118
1092
|
*
|
|
1119
1093
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1120
1094
|
**/
|
|
1121
|
-
authorities: GenericStorageQuery<
|
|
1095
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1122
1096
|
|
|
1123
1097
|
/**
|
|
1124
1098
|
* The current slot of this block.
|
|
@@ -1127,12 +1101,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1127
1101
|
*
|
|
1128
1102
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
1129
1103
|
**/
|
|
1130
|
-
currentSlot: GenericStorageQuery<
|
|
1104
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
1131
1105
|
|
|
1132
1106
|
/**
|
|
1133
1107
|
* Generic pallet storage query
|
|
1134
1108
|
**/
|
|
1135
|
-
[storage: string]: GenericStorageQuery
|
|
1109
|
+
[storage: string]: GenericStorageQuery;
|
|
1136
1110
|
};
|
|
1137
1111
|
/**
|
|
1138
1112
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -1147,7 +1121,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1147
1121
|
*
|
|
1148
1122
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1149
1123
|
**/
|
|
1150
|
-
authorities: GenericStorageQuery<
|
|
1124
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1151
1125
|
|
|
1152
1126
|
/**
|
|
1153
1127
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -1157,12 +1131,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1157
1131
|
*
|
|
1158
1132
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1159
1133
|
**/
|
|
1160
|
-
relaySlotInfo: GenericStorageQuery<
|
|
1134
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1161
1135
|
|
|
1162
1136
|
/**
|
|
1163
1137
|
* Generic pallet storage query
|
|
1164
1138
|
**/
|
|
1165
|
-
[storage: string]: GenericStorageQuery
|
|
1139
|
+
[storage: string]: GenericStorageQuery;
|
|
1166
1140
|
};
|
|
1167
1141
|
/**
|
|
1168
1142
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1180,7 +1154,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1180
1154
|
*
|
|
1181
1155
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1182
1156
|
**/
|
|
1183
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1157
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1184
1158
|
|
|
1185
1159
|
/**
|
|
1186
1160
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1192,7 +1166,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1192
1166
|
*
|
|
1193
1167
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1194
1168
|
**/
|
|
1195
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1169
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1196
1170
|
|
|
1197
1171
|
/**
|
|
1198
1172
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1201,7 +1175,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1201
1175
|
* @param {Callback<Bytes> =} callback
|
|
1202
1176
|
**/
|
|
1203
1177
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1204
|
-
Rv,
|
|
1205
1178
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1206
1179
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1207
1180
|
>;
|
|
@@ -1213,7 +1186,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1213
1186
|
* @param {Callback<Bytes> =} callback
|
|
1214
1187
|
**/
|
|
1215
1188
|
signalMessages: GenericStorageQuery<
|
|
1216
|
-
Rv,
|
|
1217
1189
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1218
1190
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1219
1191
|
>;
|
|
@@ -1223,14 +1195,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1223
1195
|
*
|
|
1224
1196
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1225
1197
|
**/
|
|
1226
|
-
queueConfig: GenericStorageQuery<
|
|
1198
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1227
1199
|
|
|
1228
1200
|
/**
|
|
1229
1201
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1230
1202
|
*
|
|
1231
1203
|
* @param {Callback<boolean> =} callback
|
|
1232
1204
|
**/
|
|
1233
|
-
queueSuspended: GenericStorageQuery<
|
|
1205
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1234
1206
|
|
|
1235
1207
|
/**
|
|
1236
1208
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1239,7 +1211,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1239
1211
|
* @param {Callback<FixedU128> =} callback
|
|
1240
1212
|
**/
|
|
1241
1213
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1242
|
-
Rv,
|
|
1243
1214
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1244
1215
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1245
1216
|
>;
|
|
@@ -1247,7 +1218,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1247
1218
|
/**
|
|
1248
1219
|
* Generic pallet storage query
|
|
1249
1220
|
**/
|
|
1250
|
-
[storage: string]: GenericStorageQuery
|
|
1221
|
+
[storage: string]: GenericStorageQuery;
|
|
1251
1222
|
};
|
|
1252
1223
|
/**
|
|
1253
1224
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1258,7 +1229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1258
1229
|
*
|
|
1259
1230
|
* @param {Callback<bigint> =} callback
|
|
1260
1231
|
**/
|
|
1261
|
-
queryCounter: GenericStorageQuery<
|
|
1232
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1262
1233
|
|
|
1263
1234
|
/**
|
|
1264
1235
|
* The ongoing queries.
|
|
@@ -1266,7 +1237,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1266
1237
|
* @param {bigint} arg
|
|
1267
1238
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1268
1239
|
**/
|
|
1269
|
-
queries: GenericStorageQuery<
|
|
1240
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1270
1241
|
|
|
1271
1242
|
/**
|
|
1272
1243
|
* The existing asset traps.
|
|
@@ -1277,7 +1248,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1277
1248
|
* @param {H256} arg
|
|
1278
1249
|
* @param {Callback<number> =} callback
|
|
1279
1250
|
**/
|
|
1280
|
-
assetTraps: GenericStorageQuery<
|
|
1251
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1281
1252
|
|
|
1282
1253
|
/**
|
|
1283
1254
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1285,7 +1256,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1285
1256
|
*
|
|
1286
1257
|
* @param {Callback<number | undefined> =} callback
|
|
1287
1258
|
**/
|
|
1288
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1259
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1289
1260
|
|
|
1290
1261
|
/**
|
|
1291
1262
|
* The Latest versions that we know various locations support.
|
|
@@ -1294,7 +1265,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1294
1265
|
* @param {Callback<number | undefined> =} callback
|
|
1295
1266
|
**/
|
|
1296
1267
|
supportedVersion: GenericStorageQuery<
|
|
1297
|
-
Rv,
|
|
1298
1268
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1299
1269
|
[number, XcmVersionedLocation]
|
|
1300
1270
|
>;
|
|
@@ -1306,7 +1276,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1306
1276
|
* @param {Callback<bigint | undefined> =} callback
|
|
1307
1277
|
**/
|
|
1308
1278
|
versionNotifiers: GenericStorageQuery<
|
|
1309
|
-
Rv,
|
|
1310
1279
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1311
1280
|
[number, XcmVersionedLocation]
|
|
1312
1281
|
>;
|
|
@@ -1319,7 +1288,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1319
1288
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1320
1289
|
**/
|
|
1321
1290
|
versionNotifyTargets: GenericStorageQuery<
|
|
1322
|
-
Rv,
|
|
1323
1291
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1324
1292
|
[number, XcmVersionedLocation]
|
|
1325
1293
|
>;
|
|
@@ -1331,14 +1299,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1331
1299
|
*
|
|
1332
1300
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1333
1301
|
**/
|
|
1334
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1302
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1335
1303
|
|
|
1336
1304
|
/**
|
|
1337
1305
|
* The current migration's stage, if any.
|
|
1338
1306
|
*
|
|
1339
1307
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1340
1308
|
**/
|
|
1341
|
-
currentMigration: GenericStorageQuery<
|
|
1309
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1342
1310
|
|
|
1343
1311
|
/**
|
|
1344
1312
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1347,7 +1315,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1347
1315
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1348
1316
|
**/
|
|
1349
1317
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1350
|
-
Rv,
|
|
1351
1318
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1352
1319
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1353
1320
|
>;
|
|
@@ -1359,7 +1326,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1359
1326
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1360
1327
|
**/
|
|
1361
1328
|
lockedFungibles: GenericStorageQuery<
|
|
1362
|
-
Rv,
|
|
1363
1329
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1364
1330
|
AccountId32
|
|
1365
1331
|
>;
|
|
@@ -1369,7 +1335,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1369
1335
|
*
|
|
1370
1336
|
* @param {Callback<boolean> =} callback
|
|
1371
1337
|
**/
|
|
1372
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1338
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1373
1339
|
|
|
1374
1340
|
/**
|
|
1375
1341
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1382,7 +1348,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1382
1348
|
*
|
|
1383
1349
|
* @param {Callback<boolean> =} callback
|
|
1384
1350
|
**/
|
|
1385
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1351
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1386
1352
|
|
|
1387
1353
|
/**
|
|
1388
1354
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1394,7 +1360,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1394
1360
|
*
|
|
1395
1361
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1396
1362
|
**/
|
|
1397
|
-
recordedXcm: GenericStorageQuery<
|
|
1363
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1398
1364
|
|
|
1399
1365
|
/**
|
|
1400
1366
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1405,7 +1371,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1405
1371
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1406
1372
|
**/
|
|
1407
1373
|
authorizedAliases: GenericStorageQuery<
|
|
1408
|
-
Rv,
|
|
1409
1374
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1410
1375
|
XcmVersionedLocation
|
|
1411
1376
|
>;
|
|
@@ -1413,7 +1378,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1413
1378
|
/**
|
|
1414
1379
|
* Generic pallet storage query
|
|
1415
1380
|
**/
|
|
1416
|
-
[storage: string]: GenericStorageQuery
|
|
1381
|
+
[storage: string]: GenericStorageQuery;
|
|
1417
1382
|
};
|
|
1418
1383
|
/**
|
|
1419
1384
|
* Pallet `ToKusamaXcmRouter`'s storage queries
|
|
@@ -1430,12 +1395,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1430
1395
|
*
|
|
1431
1396
|
* @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
|
|
1432
1397
|
**/
|
|
1433
|
-
bridge: GenericStorageQuery<
|
|
1398
|
+
bridge: GenericStorageQuery<() => BpXcmBridgeHubRouterBridgeState>;
|
|
1434
1399
|
|
|
1435
1400
|
/**
|
|
1436
1401
|
* Generic pallet storage query
|
|
1437
1402
|
**/
|
|
1438
|
-
[storage: string]: GenericStorageQuery
|
|
1403
|
+
[storage: string]: GenericStorageQuery;
|
|
1439
1404
|
};
|
|
1440
1405
|
/**
|
|
1441
1406
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1448,7 +1413,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1448
1413
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1449
1414
|
**/
|
|
1450
1415
|
bookStateFor: GenericStorageQuery<
|
|
1451
|
-
Rv,
|
|
1452
1416
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1453
1417
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1454
1418
|
>;
|
|
@@ -1458,7 +1422,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1458
1422
|
*
|
|
1459
1423
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1460
1424
|
**/
|
|
1461
|
-
serviceHead: GenericStorageQuery<
|
|
1425
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1462
1426
|
|
|
1463
1427
|
/**
|
|
1464
1428
|
* The map of page indices to pages.
|
|
@@ -1467,7 +1431,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1467
1431
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1468
1432
|
**/
|
|
1469
1433
|
pages: GenericStorageQuery<
|
|
1470
|
-
Rv,
|
|
1471
1434
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1472
1435
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1473
1436
|
>;
|
|
@@ -1475,7 +1438,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1475
1438
|
/**
|
|
1476
1439
|
* Generic pallet storage query
|
|
1477
1440
|
**/
|
|
1478
|
-
[storage: string]: GenericStorageQuery
|
|
1441
|
+
[storage: string]: GenericStorageQuery;
|
|
1479
1442
|
};
|
|
1480
1443
|
/**
|
|
1481
1444
|
* Pallet `SnowbridgeSystemFrontend`'s storage queries
|
|
@@ -1486,12 +1449,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1486
1449
|
*
|
|
1487
1450
|
* @param {Callback<SnowbridgeCoreOperatingModeBasicOperatingMode> =} callback
|
|
1488
1451
|
**/
|
|
1489
|
-
exportOperatingMode: GenericStorageQuery<
|
|
1452
|
+
exportOperatingMode: GenericStorageQuery<() => SnowbridgeCoreOperatingModeBasicOperatingMode>;
|
|
1490
1453
|
|
|
1491
1454
|
/**
|
|
1492
1455
|
* Generic pallet storage query
|
|
1493
1456
|
**/
|
|
1494
|
-
[storage: string]: GenericStorageQuery
|
|
1457
|
+
[storage: string]: GenericStorageQuery;
|
|
1495
1458
|
};
|
|
1496
1459
|
/**
|
|
1497
1460
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1504,7 +1467,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1504
1467
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1505
1468
|
**/
|
|
1506
1469
|
multisigs: GenericStorageQuery<
|
|
1507
|
-
Rv,
|
|
1508
1470
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1509
1471
|
[AccountId32, FixedBytes<32>]
|
|
1510
1472
|
>;
|
|
@@ -1512,7 +1474,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1512
1474
|
/**
|
|
1513
1475
|
* Generic pallet storage query
|
|
1514
1476
|
**/
|
|
1515
|
-
[storage: string]: GenericStorageQuery
|
|
1477
|
+
[storage: string]: GenericStorageQuery;
|
|
1516
1478
|
};
|
|
1517
1479
|
/**
|
|
1518
1480
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1526,7 +1488,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1526
1488
|
* @param {Callback<[Array<PalletProxyProxyDefinitionProxyType>, bigint]> =} callback
|
|
1527
1489
|
**/
|
|
1528
1490
|
proxies: GenericStorageQuery<
|
|
1529
|
-
Rv,
|
|
1530
1491
|
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinitionProxyType>, bigint],
|
|
1531
1492
|
AccountId32
|
|
1532
1493
|
>;
|
|
@@ -1537,16 +1498,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1537
1498
|
* @param {AccountId32Like} arg
|
|
1538
1499
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1539
1500
|
**/
|
|
1540
|
-
announcements: GenericStorageQuery<
|
|
1541
|
-
Rv,
|
|
1542
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1543
|
-
AccountId32
|
|
1544
|
-
>;
|
|
1501
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1545
1502
|
|
|
1546
1503
|
/**
|
|
1547
1504
|
* Generic pallet storage query
|
|
1548
1505
|
**/
|
|
1549
|
-
[storage: string]: GenericStorageQuery
|
|
1506
|
+
[storage: string]: GenericStorageQuery;
|
|
1550
1507
|
};
|
|
1551
1508
|
/**
|
|
1552
1509
|
* Pallet `Indices`'s storage queries
|
|
@@ -1558,12 +1515,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1558
1515
|
* @param {number} arg
|
|
1559
1516
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
1560
1517
|
**/
|
|
1561
|
-
accounts: GenericStorageQuery<
|
|
1518
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
1562
1519
|
|
|
1563
1520
|
/**
|
|
1564
1521
|
* Generic pallet storage query
|
|
1565
1522
|
**/
|
|
1566
|
-
[storage: string]: GenericStorageQuery
|
|
1523
|
+
[storage: string]: GenericStorageQuery;
|
|
1567
1524
|
};
|
|
1568
1525
|
/**
|
|
1569
1526
|
* Pallet `Assets`'s storage queries
|
|
@@ -1575,7 +1532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1575
1532
|
* @param {number} arg
|
|
1576
1533
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1577
1534
|
**/
|
|
1578
|
-
asset: GenericStorageQuery<
|
|
1535
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1579
1536
|
|
|
1580
1537
|
/**
|
|
1581
1538
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1584,7 +1541,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1584
1541
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1585
1542
|
**/
|
|
1586
1543
|
account: GenericStorageQuery<
|
|
1587
|
-
Rv,
|
|
1588
1544
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1589
1545
|
[number, AccountId32]
|
|
1590
1546
|
>;
|
|
@@ -1598,7 +1554,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1598
1554
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1599
1555
|
**/
|
|
1600
1556
|
approvals: GenericStorageQuery<
|
|
1601
|
-
Rv,
|
|
1602
1557
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1603
1558
|
[number, AccountId32, AccountId32]
|
|
1604
1559
|
>;
|
|
@@ -1609,7 +1564,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1609
1564
|
* @param {number} arg
|
|
1610
1565
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1611
1566
|
**/
|
|
1612
|
-
metadata: GenericStorageQuery<
|
|
1567
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
1613
1568
|
|
|
1614
1569
|
/**
|
|
1615
1570
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1624,12 +1579,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1624
1579
|
*
|
|
1625
1580
|
* @param {Callback<number | undefined> =} callback
|
|
1626
1581
|
**/
|
|
1627
|
-
nextAssetId: GenericStorageQuery<
|
|
1582
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
1628
1583
|
|
|
1629
1584
|
/**
|
|
1630
1585
|
* Generic pallet storage query
|
|
1631
1586
|
**/
|
|
1632
|
-
[storage: string]: GenericStorageQuery
|
|
1587
|
+
[storage: string]: GenericStorageQuery;
|
|
1633
1588
|
};
|
|
1634
1589
|
/**
|
|
1635
1590
|
* Pallet `Uniques`'s storage queries
|
|
@@ -1641,7 +1596,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1641
1596
|
* @param {number} arg
|
|
1642
1597
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
1643
1598
|
**/
|
|
1644
|
-
class: GenericStorageQuery<
|
|
1599
|
+
class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined, number>;
|
|
1645
1600
|
|
|
1646
1601
|
/**
|
|
1647
1602
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1649,7 +1604,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1649
1604
|
* @param {AccountId32Like} arg
|
|
1650
1605
|
* @param {Callback<number | undefined> =} callback
|
|
1651
1606
|
**/
|
|
1652
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1607
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1653
1608
|
|
|
1654
1609
|
/**
|
|
1655
1610
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1659,7 +1614,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1659
1614
|
* @param {Callback<[] | undefined> =} callback
|
|
1660
1615
|
**/
|
|
1661
1616
|
account: GenericStorageQuery<
|
|
1662
|
-
Rv,
|
|
1663
1617
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1664
1618
|
[AccountId32, number, number]
|
|
1665
1619
|
>;
|
|
@@ -1671,7 +1625,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1671
1625
|
* @param {[AccountId32Like, number]} arg
|
|
1672
1626
|
* @param {Callback<[] | undefined> =} callback
|
|
1673
1627
|
**/
|
|
1674
|
-
classAccount: GenericStorageQuery<
|
|
1628
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1675
1629
|
|
|
1676
1630
|
/**
|
|
1677
1631
|
* The items in existence and their ownership details.
|
|
@@ -1679,7 +1633,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1679
1633
|
* @param {[number, number]} arg
|
|
1680
1634
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
1681
1635
|
**/
|
|
1682
|
-
asset: GenericStorageQuery<
|
|
1636
|
+
asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
|
|
1683
1637
|
|
|
1684
1638
|
/**
|
|
1685
1639
|
* Metadata of a collection.
|
|
@@ -1687,7 +1641,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1687
1641
|
* @param {number} arg
|
|
1688
1642
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
1689
1643
|
**/
|
|
1690
|
-
classMetadataOf: GenericStorageQuery<
|
|
1644
|
+
classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
|
|
1691
1645
|
|
|
1692
1646
|
/**
|
|
1693
1647
|
* Metadata of an item.
|
|
@@ -1696,7 +1650,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1696
1650
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
1697
1651
|
**/
|
|
1698
1652
|
instanceMetadataOf: GenericStorageQuery<
|
|
1699
|
-
Rv,
|
|
1700
1653
|
(arg: [number, number]) => PalletUniquesItemMetadata | undefined,
|
|
1701
1654
|
[number, number]
|
|
1702
1655
|
>;
|
|
@@ -1708,7 +1661,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1708
1661
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
1709
1662
|
**/
|
|
1710
1663
|
attribute: GenericStorageQuery<
|
|
1711
|
-
Rv,
|
|
1712
1664
|
(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
1713
1665
|
[number, number | undefined, Bytes]
|
|
1714
1666
|
>;
|
|
@@ -1720,7 +1672,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1720
1672
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1721
1673
|
**/
|
|
1722
1674
|
itemPriceOf: GenericStorageQuery<
|
|
1723
|
-
Rv,
|
|
1724
1675
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1725
1676
|
[number, number]
|
|
1726
1677
|
>;
|
|
@@ -1731,12 +1682,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1731
1682
|
* @param {number} arg
|
|
1732
1683
|
* @param {Callback<number | undefined> =} callback
|
|
1733
1684
|
**/
|
|
1734
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
1685
|
+
collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
1735
1686
|
|
|
1736
1687
|
/**
|
|
1737
1688
|
* Generic pallet storage query
|
|
1738
1689
|
**/
|
|
1739
|
-
[storage: string]: GenericStorageQuery
|
|
1690
|
+
[storage: string]: GenericStorageQuery;
|
|
1740
1691
|
};
|
|
1741
1692
|
/**
|
|
1742
1693
|
* Pallet `Nfts`'s storage queries
|
|
@@ -1748,7 +1699,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1748
1699
|
* @param {number} arg
|
|
1749
1700
|
* @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
|
|
1750
1701
|
**/
|
|
1751
|
-
collection: GenericStorageQuery<
|
|
1702
|
+
collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined, number>;
|
|
1752
1703
|
|
|
1753
1704
|
/**
|
|
1754
1705
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -1756,7 +1707,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1756
1707
|
* @param {AccountId32Like} arg
|
|
1757
1708
|
* @param {Callback<number | undefined> =} callback
|
|
1758
1709
|
**/
|
|
1759
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
1710
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
1760
1711
|
|
|
1761
1712
|
/**
|
|
1762
1713
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -1766,7 +1717,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1766
1717
|
* @param {Callback<[] | undefined> =} callback
|
|
1767
1718
|
**/
|
|
1768
1719
|
account: GenericStorageQuery<
|
|
1769
|
-
Rv,
|
|
1770
1720
|
(arg: [AccountId32Like, number, number]) => [] | undefined,
|
|
1771
1721
|
[AccountId32, number, number]
|
|
1772
1722
|
>;
|
|
@@ -1778,11 +1728,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1778
1728
|
* @param {[AccountId32Like, number]} arg
|
|
1779
1729
|
* @param {Callback<[] | undefined> =} callback
|
|
1780
1730
|
**/
|
|
1781
|
-
collectionAccount: GenericStorageQuery<
|
|
1782
|
-
Rv,
|
|
1783
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
1784
|
-
[AccountId32, number]
|
|
1785
|
-
>;
|
|
1731
|
+
collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
1786
1732
|
|
|
1787
1733
|
/**
|
|
1788
1734
|
* The items in existence and their ownership details.
|
|
@@ -1792,7 +1738,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1792
1738
|
* @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
|
|
1793
1739
|
**/
|
|
1794
1740
|
collectionRoleOf: GenericStorageQuery<
|
|
1795
|
-
Rv,
|
|
1796
1741
|
(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
|
|
1797
1742
|
[number, AccountId32]
|
|
1798
1743
|
>;
|
|
@@ -1803,7 +1748,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1803
1748
|
* @param {[number, number]} arg
|
|
1804
1749
|
* @param {Callback<PalletNftsItemDetails | undefined> =} callback
|
|
1805
1750
|
**/
|
|
1806
|
-
item: GenericStorageQuery<
|
|
1751
|
+
item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
|
|
1807
1752
|
|
|
1808
1753
|
/**
|
|
1809
1754
|
* Metadata of a collection.
|
|
@@ -1811,7 +1756,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1811
1756
|
* @param {number} arg
|
|
1812
1757
|
* @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
|
|
1813
1758
|
**/
|
|
1814
|
-
collectionMetadataOf: GenericStorageQuery<
|
|
1759
|
+
collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined, number>;
|
|
1815
1760
|
|
|
1816
1761
|
/**
|
|
1817
1762
|
* Metadata of an item.
|
|
@@ -1820,7 +1765,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1820
1765
|
* @param {Callback<PalletNftsItemMetadata | undefined> =} callback
|
|
1821
1766
|
**/
|
|
1822
1767
|
itemMetadataOf: GenericStorageQuery<
|
|
1823
|
-
Rv,
|
|
1824
1768
|
(arg: [number, number]) => PalletNftsItemMetadata | undefined,
|
|
1825
1769
|
[number, number]
|
|
1826
1770
|
>;
|
|
@@ -1832,7 +1776,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1832
1776
|
* @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
|
|
1833
1777
|
**/
|
|
1834
1778
|
attribute: GenericStorageQuery<
|
|
1835
|
-
Rv,
|
|
1836
1779
|
(
|
|
1837
1780
|
arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
|
|
1838
1781
|
) => [Bytes, PalletNftsAttributeDeposit] | undefined,
|
|
@@ -1846,7 +1789,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1846
1789
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1847
1790
|
**/
|
|
1848
1791
|
itemPriceOf: GenericStorageQuery<
|
|
1849
|
-
Rv,
|
|
1850
1792
|
(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1851
1793
|
[number, number]
|
|
1852
1794
|
>;
|
|
@@ -1857,7 +1799,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1857
1799
|
* @param {[number, number]} arg
|
|
1858
1800
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1859
1801
|
**/
|
|
1860
|
-
itemAttributesApprovalsOf: GenericStorageQuery<
|
|
1802
|
+
itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>, [number, number]>;
|
|
1861
1803
|
|
|
1862
1804
|
/**
|
|
1863
1805
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
@@ -1865,7 +1807,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1865
1807
|
*
|
|
1866
1808
|
* @param {Callback<number | undefined> =} callback
|
|
1867
1809
|
**/
|
|
1868
|
-
nextCollectionId: GenericStorageQuery<
|
|
1810
|
+
nextCollectionId: GenericStorageQuery<() => number | undefined>;
|
|
1869
1811
|
|
|
1870
1812
|
/**
|
|
1871
1813
|
* Handles all the pending swaps.
|
|
@@ -1873,11 +1815,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1873
1815
|
* @param {[number, number]} arg
|
|
1874
1816
|
* @param {Callback<PalletNftsPendingSwap | undefined> =} callback
|
|
1875
1817
|
**/
|
|
1876
|
-
pendingSwapOf: GenericStorageQuery<
|
|
1877
|
-
Rv,
|
|
1878
|
-
(arg: [number, number]) => PalletNftsPendingSwap | undefined,
|
|
1879
|
-
[number, number]
|
|
1880
|
-
>;
|
|
1818
|
+
pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined, [number, number]>;
|
|
1881
1819
|
|
|
1882
1820
|
/**
|
|
1883
1821
|
* Config of a collection.
|
|
@@ -1885,7 +1823,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1885
1823
|
* @param {number} arg
|
|
1886
1824
|
* @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
|
|
1887
1825
|
**/
|
|
1888
|
-
collectionConfigOf: GenericStorageQuery<
|
|
1826
|
+
collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined, number>;
|
|
1889
1827
|
|
|
1890
1828
|
/**
|
|
1891
1829
|
* Config of an item.
|
|
@@ -1893,16 +1831,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1893
1831
|
* @param {[number, number]} arg
|
|
1894
1832
|
* @param {Callback<PalletNftsItemConfig | undefined> =} callback
|
|
1895
1833
|
**/
|
|
1896
|
-
itemConfigOf: GenericStorageQuery<
|
|
1897
|
-
Rv,
|
|
1898
|
-
(arg: [number, number]) => PalletNftsItemConfig | undefined,
|
|
1899
|
-
[number, number]
|
|
1900
|
-
>;
|
|
1834
|
+
itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined, [number, number]>;
|
|
1901
1835
|
|
|
1902
1836
|
/**
|
|
1903
1837
|
* Generic pallet storage query
|
|
1904
1838
|
**/
|
|
1905
|
-
[storage: string]: GenericStorageQuery
|
|
1839
|
+
[storage: string]: GenericStorageQuery;
|
|
1906
1840
|
};
|
|
1907
1841
|
/**
|
|
1908
1842
|
* Pallet `ForeignAssets`'s storage queries
|
|
@@ -1915,7 +1849,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1915
1849
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1916
1850
|
**/
|
|
1917
1851
|
asset: GenericStorageQuery<
|
|
1918
|
-
Rv,
|
|
1919
1852
|
(arg: StagingXcmV5Location) => PalletAssetsAssetDetails | undefined,
|
|
1920
1853
|
StagingXcmV5Location
|
|
1921
1854
|
>;
|
|
@@ -1927,7 +1860,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1927
1860
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1928
1861
|
**/
|
|
1929
1862
|
account: GenericStorageQuery<
|
|
1930
|
-
Rv,
|
|
1931
1863
|
(arg: [StagingXcmV5Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1932
1864
|
[StagingXcmV5Location, AccountId32]
|
|
1933
1865
|
>;
|
|
@@ -1941,7 +1873,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1941
1873
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1942
1874
|
**/
|
|
1943
1875
|
approvals: GenericStorageQuery<
|
|
1944
|
-
Rv,
|
|
1945
1876
|
(arg: [StagingXcmV5Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1946
1877
|
[StagingXcmV5Location, AccountId32, AccountId32]
|
|
1947
1878
|
>;
|
|
@@ -1952,7 +1883,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1952
1883
|
* @param {StagingXcmV5Location} arg
|
|
1953
1884
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1954
1885
|
**/
|
|
1955
|
-
metadata: GenericStorageQuery<
|
|
1886
|
+
metadata: GenericStorageQuery<(arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
1956
1887
|
|
|
1957
1888
|
/**
|
|
1958
1889
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1967,12 +1898,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1967
1898
|
*
|
|
1968
1899
|
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
1969
1900
|
**/
|
|
1970
|
-
nextAssetId: GenericStorageQuery<
|
|
1901
|
+
nextAssetId: GenericStorageQuery<() => StagingXcmV5Location | undefined>;
|
|
1971
1902
|
|
|
1972
1903
|
/**
|
|
1973
1904
|
* Generic pallet storage query
|
|
1974
1905
|
**/
|
|
1975
|
-
[storage: string]: GenericStorageQuery
|
|
1906
|
+
[storage: string]: GenericStorageQuery;
|
|
1976
1907
|
};
|
|
1977
1908
|
/**
|
|
1978
1909
|
* Pallet `PoolAssets`'s storage queries
|
|
@@ -1984,7 +1915,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1984
1915
|
* @param {number} arg
|
|
1985
1916
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1986
1917
|
**/
|
|
1987
|
-
asset: GenericStorageQuery<
|
|
1918
|
+
asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined, number>;
|
|
1988
1919
|
|
|
1989
1920
|
/**
|
|
1990
1921
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1993,7 +1924,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1993
1924
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1994
1925
|
**/
|
|
1995
1926
|
account: GenericStorageQuery<
|
|
1996
|
-
Rv,
|
|
1997
1927
|
(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1998
1928
|
[number, AccountId32]
|
|
1999
1929
|
>;
|
|
@@ -2007,7 +1937,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2007
1937
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
2008
1938
|
**/
|
|
2009
1939
|
approvals: GenericStorageQuery<
|
|
2010
|
-
Rv,
|
|
2011
1940
|
(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
2012
1941
|
[number, AccountId32, AccountId32]
|
|
2013
1942
|
>;
|
|
@@ -2018,7 +1947,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2018
1947
|
* @param {number} arg
|
|
2019
1948
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
2020
1949
|
**/
|
|
2021
|
-
metadata: GenericStorageQuery<
|
|
1950
|
+
metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata, number>;
|
|
2022
1951
|
|
|
2023
1952
|
/**
|
|
2024
1953
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -2033,12 +1962,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2033
1962
|
*
|
|
2034
1963
|
* @param {Callback<number | undefined> =} callback
|
|
2035
1964
|
**/
|
|
2036
|
-
nextAssetId: GenericStorageQuery<
|
|
1965
|
+
nextAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2037
1966
|
|
|
2038
1967
|
/**
|
|
2039
1968
|
* Generic pallet storage query
|
|
2040
1969
|
**/
|
|
2041
|
-
[storage: string]: GenericStorageQuery
|
|
1970
|
+
[storage: string]: GenericStorageQuery;
|
|
2042
1971
|
};
|
|
2043
1972
|
/**
|
|
2044
1973
|
* Pallet `AssetConversion`'s storage queries
|
|
@@ -2052,7 +1981,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2052
1981
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
2053
1982
|
**/
|
|
2054
1983
|
pools: GenericStorageQuery<
|
|
2055
|
-
Rv,
|
|
2056
1984
|
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => PalletAssetConversionPoolInfo | undefined,
|
|
2057
1985
|
[StagingXcmV5Location, StagingXcmV5Location]
|
|
2058
1986
|
>;
|
|
@@ -2063,12 +1991,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2063
1991
|
*
|
|
2064
1992
|
* @param {Callback<number | undefined> =} callback
|
|
2065
1993
|
**/
|
|
2066
|
-
nextPoolAssetId: GenericStorageQuery<
|
|
1994
|
+
nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
|
|
2067
1995
|
|
|
2068
1996
|
/**
|
|
2069
1997
|
* Generic pallet storage query
|
|
2070
1998
|
**/
|
|
2071
|
-
[storage: string]: GenericStorageQuery
|
|
1999
|
+
[storage: string]: GenericStorageQuery;
|
|
2072
2000
|
};
|
|
2073
2001
|
/**
|
|
2074
2002
|
* Pallet `Treasury`'s storage queries
|
|
@@ -2082,7 +2010,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2082
2010
|
*
|
|
2083
2011
|
* @param {Callback<number> =} callback
|
|
2084
2012
|
**/
|
|
2085
|
-
proposalCount: GenericStorageQuery<
|
|
2013
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2086
2014
|
|
|
2087
2015
|
/**
|
|
2088
2016
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2093,14 +2021,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2093
2021
|
* @param {number} arg
|
|
2094
2022
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2095
2023
|
**/
|
|
2096
|
-
proposals: GenericStorageQuery<
|
|
2024
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2097
2025
|
|
|
2098
2026
|
/**
|
|
2099
2027
|
* The amount which has been reported as inactive to Currency.
|
|
2100
2028
|
*
|
|
2101
2029
|
* @param {Callback<bigint> =} callback
|
|
2102
2030
|
**/
|
|
2103
|
-
deactivated: GenericStorageQuery<
|
|
2031
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
2104
2032
|
|
|
2105
2033
|
/**
|
|
2106
2034
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2110,14 +2038,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2110
2038
|
*
|
|
2111
2039
|
* @param {Callback<Array<number>> =} callback
|
|
2112
2040
|
**/
|
|
2113
|
-
approvals: GenericStorageQuery<
|
|
2041
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
2114
2042
|
|
|
2115
2043
|
/**
|
|
2116
2044
|
* The count of spends that have been made.
|
|
2117
2045
|
*
|
|
2118
2046
|
* @param {Callback<number> =} callback
|
|
2119
2047
|
**/
|
|
2120
|
-
spendCount: GenericStorageQuery<
|
|
2048
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
2121
2049
|
|
|
2122
2050
|
/**
|
|
2123
2051
|
* Spends that have been approved and being processed.
|
|
@@ -2125,19 +2053,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2125
2053
|
* @param {number} arg
|
|
2126
2054
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
2127
2055
|
**/
|
|
2128
|
-
spends: GenericStorageQuery<
|
|
2056
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
2129
2057
|
|
|
2130
2058
|
/**
|
|
2131
2059
|
* The blocknumber for the last triggered spend period.
|
|
2132
2060
|
*
|
|
2133
2061
|
* @param {Callback<number | undefined> =} callback
|
|
2134
2062
|
**/
|
|
2135
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
2063
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
2136
2064
|
|
|
2137
2065
|
/**
|
|
2138
2066
|
* Generic pallet storage query
|
|
2139
2067
|
**/
|
|
2140
|
-
[storage: string]: GenericStorageQuery
|
|
2068
|
+
[storage: string]: GenericStorageQuery;
|
|
2141
2069
|
};
|
|
2142
2070
|
/**
|
|
2143
2071
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -2151,7 +2079,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2151
2079
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
2152
2080
|
**/
|
|
2153
2081
|
votingFor: GenericStorageQuery<
|
|
2154
|
-
Rv,
|
|
2155
2082
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
2156
2083
|
[AccountId32, number]
|
|
2157
2084
|
>;
|
|
@@ -2164,12 +2091,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2164
2091
|
* @param {AccountId32Like} arg
|
|
2165
2092
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2166
2093
|
**/
|
|
2167
|
-
classLocksFor: GenericStorageQuery<
|
|
2094
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
2168
2095
|
|
|
2169
2096
|
/**
|
|
2170
2097
|
* Generic pallet storage query
|
|
2171
2098
|
**/
|
|
2172
|
-
[storage: string]: GenericStorageQuery
|
|
2099
|
+
[storage: string]: GenericStorageQuery;
|
|
2173
2100
|
};
|
|
2174
2101
|
/**
|
|
2175
2102
|
* Pallet `Referenda`'s storage queries
|
|
@@ -2180,7 +2107,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2180
2107
|
*
|
|
2181
2108
|
* @param {Callback<number> =} callback
|
|
2182
2109
|
**/
|
|
2183
|
-
referendumCount: GenericStorageQuery<
|
|
2110
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
2184
2111
|
|
|
2185
2112
|
/**
|
|
2186
2113
|
* Information concerning any given referendum.
|
|
@@ -2189,7 +2116,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2189
2116
|
* @param {Callback<PalletReferendaReferendumInfoOriginCaller | undefined> =} callback
|
|
2190
2117
|
**/
|
|
2191
2118
|
referendumInfoFor: GenericStorageQuery<
|
|
2192
|
-
Rv,
|
|
2193
2119
|
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
2194
2120
|
number
|
|
2195
2121
|
>;
|
|
@@ -2203,7 +2129,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2203
2129
|
* @param {number} arg
|
|
2204
2130
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2205
2131
|
**/
|
|
2206
|
-
trackQueue: GenericStorageQuery<
|
|
2132
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
2207
2133
|
|
|
2208
2134
|
/**
|
|
2209
2135
|
* The number of referenda being decided currently.
|
|
@@ -2211,7 +2137,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2211
2137
|
* @param {number} arg
|
|
2212
2138
|
* @param {Callback<number> =} callback
|
|
2213
2139
|
**/
|
|
2214
|
-
decidingCount: GenericStorageQuery<
|
|
2140
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
2215
2141
|
|
|
2216
2142
|
/**
|
|
2217
2143
|
* The metadata is a general information concerning the referendum.
|
|
@@ -2224,12 +2150,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2224
2150
|
* @param {number} arg
|
|
2225
2151
|
* @param {Callback<H256 | undefined> =} callback
|
|
2226
2152
|
**/
|
|
2227
|
-
metadataOf: GenericStorageQuery<
|
|
2153
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
2228
2154
|
|
|
2229
2155
|
/**
|
|
2230
2156
|
* Generic pallet storage query
|
|
2231
2157
|
**/
|
|
2232
|
-
[storage: string]: GenericStorageQuery
|
|
2158
|
+
[storage: string]: GenericStorageQuery;
|
|
2233
2159
|
};
|
|
2234
2160
|
/**
|
|
2235
2161
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -2240,12 +2166,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2240
2166
|
* @param {H256} arg
|
|
2241
2167
|
* @param {Callback<[] | undefined> =} callback
|
|
2242
2168
|
**/
|
|
2243
|
-
whitelistedCall: GenericStorageQuery<
|
|
2169
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
2244
2170
|
|
|
2245
2171
|
/**
|
|
2246
2172
|
* Generic pallet storage query
|
|
2247
2173
|
**/
|
|
2248
|
-
[storage: string]: GenericStorageQuery
|
|
2174
|
+
[storage: string]: GenericStorageQuery;
|
|
2249
2175
|
};
|
|
2250
2176
|
/**
|
|
2251
2177
|
* Pallet `Bounties`'s storage queries
|
|
@@ -2256,7 +2182,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2256
2182
|
*
|
|
2257
2183
|
* @param {Callback<number> =} callback
|
|
2258
2184
|
**/
|
|
2259
|
-
bountyCount: GenericStorageQuery<
|
|
2185
|
+
bountyCount: GenericStorageQuery<() => number>;
|
|
2260
2186
|
|
|
2261
2187
|
/**
|
|
2262
2188
|
* Bounties that have been made.
|
|
@@ -2264,7 +2190,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2264
2190
|
* @param {number} arg
|
|
2265
2191
|
* @param {Callback<PalletBountiesBounty | undefined> =} callback
|
|
2266
2192
|
**/
|
|
2267
|
-
bounties: GenericStorageQuery<
|
|
2193
|
+
bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined, number>;
|
|
2268
2194
|
|
|
2269
2195
|
/**
|
|
2270
2196
|
* The description of each bounty.
|
|
@@ -2272,19 +2198,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2272
2198
|
* @param {number} arg
|
|
2273
2199
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2274
2200
|
**/
|
|
2275
|
-
bountyDescriptions: GenericStorageQuery<
|
|
2201
|
+
bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
2276
2202
|
|
|
2277
2203
|
/**
|
|
2278
2204
|
* Bounty indices that have been approved but not yet funded.
|
|
2279
2205
|
*
|
|
2280
2206
|
* @param {Callback<Array<number>> =} callback
|
|
2281
2207
|
**/
|
|
2282
|
-
bountyApprovals: GenericStorageQuery<
|
|
2208
|
+
bountyApprovals: GenericStorageQuery<() => Array<number>>;
|
|
2283
2209
|
|
|
2284
2210
|
/**
|
|
2285
2211
|
* Generic pallet storage query
|
|
2286
2212
|
**/
|
|
2287
|
-
[storage: string]: GenericStorageQuery
|
|
2213
|
+
[storage: string]: GenericStorageQuery;
|
|
2288
2214
|
};
|
|
2289
2215
|
/**
|
|
2290
2216
|
* Pallet `ChildBounties`'s storage queries
|
|
@@ -2296,7 +2222,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2296
2222
|
*
|
|
2297
2223
|
* @param {Callback<number> =} callback
|
|
2298
2224
|
**/
|
|
2299
|
-
childBountyCount: GenericStorageQuery<
|
|
2225
|
+
childBountyCount: GenericStorageQuery<() => number>;
|
|
2300
2226
|
|
|
2301
2227
|
/**
|
|
2302
2228
|
* Number of active child bounties per parent bounty.
|
|
@@ -2305,7 +2231,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2305
2231
|
* @param {number} arg
|
|
2306
2232
|
* @param {Callback<number> =} callback
|
|
2307
2233
|
**/
|
|
2308
|
-
parentChildBounties: GenericStorageQuery<
|
|
2234
|
+
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2309
2235
|
|
|
2310
2236
|
/**
|
|
2311
2237
|
* Number of total child bounties per parent bounty, including completed bounties.
|
|
@@ -2313,7 +2239,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2313
2239
|
* @param {number} arg
|
|
2314
2240
|
* @param {Callback<number> =} callback
|
|
2315
2241
|
**/
|
|
2316
|
-
parentTotalChildBounties: GenericStorageQuery<
|
|
2242
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
2317
2243
|
|
|
2318
2244
|
/**
|
|
2319
2245
|
* Child bounties that have been added.
|
|
@@ -2322,7 +2248,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2322
2248
|
* @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
|
|
2323
2249
|
**/
|
|
2324
2250
|
childBounties: GenericStorageQuery<
|
|
2325
|
-
Rv,
|
|
2326
2251
|
(arg: [number, number]) => PalletChildBountiesChildBounty | undefined,
|
|
2327
2252
|
[number, number]
|
|
2328
2253
|
>;
|
|
@@ -2335,7 +2260,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2335
2260
|
* @param {[number, number]} arg
|
|
2336
2261
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2337
2262
|
**/
|
|
2338
|
-
childBountyDescriptionsV1: GenericStorageQuery<
|
|
2263
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
2339
2264
|
|
|
2340
2265
|
/**
|
|
2341
2266
|
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
@@ -2347,7 +2272,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2347
2272
|
* @param {number} arg
|
|
2348
2273
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2349
2274
|
**/
|
|
2350
|
-
v0ToV1ChildBountyIds: GenericStorageQuery<
|
|
2275
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
2351
2276
|
|
|
2352
2277
|
/**
|
|
2353
2278
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -2355,12 +2280,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2355
2280
|
* @param {number} arg
|
|
2356
2281
|
* @param {Callback<bigint> =} callback
|
|
2357
2282
|
**/
|
|
2358
|
-
childrenCuratorFees: GenericStorageQuery<
|
|
2283
|
+
childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2359
2284
|
|
|
2360
2285
|
/**
|
|
2361
2286
|
* Generic pallet storage query
|
|
2362
2287
|
**/
|
|
2363
|
-
[storage: string]: GenericStorageQuery
|
|
2288
|
+
[storage: string]: GenericStorageQuery;
|
|
2364
2289
|
};
|
|
2365
2290
|
/**
|
|
2366
2291
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -2375,7 +2300,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2375
2300
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
2376
2301
|
**/
|
|
2377
2302
|
conversionRateToNative: GenericStorageQuery<
|
|
2378
|
-
Rv,
|
|
2379
2303
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
2380
2304
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
2381
2305
|
>;
|
|
@@ -2383,7 +2307,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2383
2307
|
/**
|
|
2384
2308
|
* Generic pallet storage query
|
|
2385
2309
|
**/
|
|
2386
|
-
[storage: string]: GenericStorageQuery
|
|
2310
|
+
[storage: string]: GenericStorageQuery;
|
|
2387
2311
|
};
|
|
2388
2312
|
/**
|
|
2389
2313
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -2397,7 +2321,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2397
2321
|
*
|
|
2398
2322
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
2399
2323
|
**/
|
|
2400
|
-
migrationProcess: GenericStorageQuery<
|
|
2324
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
2401
2325
|
|
|
2402
2326
|
/**
|
|
2403
2327
|
* The limits that are imposed on automatic migrations.
|
|
@@ -2406,7 +2330,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2406
2330
|
*
|
|
2407
2331
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2408
2332
|
**/
|
|
2409
|
-
autoLimits: GenericStorageQuery<
|
|
2333
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2410
2334
|
|
|
2411
2335
|
/**
|
|
2412
2336
|
* The maximum limits that the signed migration could use.
|
|
@@ -2415,12 +2339,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2415
2339
|
*
|
|
2416
2340
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
2417
2341
|
**/
|
|
2418
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
2342
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
2419
2343
|
|
|
2420
2344
|
/**
|
|
2421
2345
|
* Generic pallet storage query
|
|
2422
2346
|
**/
|
|
2423
|
-
[storage: string]: GenericStorageQuery
|
|
2347
|
+
[storage: string]: GenericStorageQuery;
|
|
2424
2348
|
};
|
|
2425
2349
|
/**
|
|
2426
2350
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -2435,14 +2359,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2435
2359
|
*
|
|
2436
2360
|
* @param {Callback<bigint> =} callback
|
|
2437
2361
|
**/
|
|
2438
|
-
totalValueLocked: GenericStorageQuery<
|
|
2362
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
2439
2363
|
|
|
2440
2364
|
/**
|
|
2441
2365
|
* Minimum amount to bond to join a pool.
|
|
2442
2366
|
*
|
|
2443
2367
|
* @param {Callback<bigint> =} callback
|
|
2444
2368
|
**/
|
|
2445
|
-
minJoinBond: GenericStorageQuery<
|
|
2369
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
2446
2370
|
|
|
2447
2371
|
/**
|
|
2448
2372
|
* Minimum bond required to create a pool.
|
|
@@ -2455,7 +2379,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2455
2379
|
*
|
|
2456
2380
|
* @param {Callback<bigint> =} callback
|
|
2457
2381
|
**/
|
|
2458
|
-
minCreateBond: GenericStorageQuery<
|
|
2382
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
2459
2383
|
|
|
2460
2384
|
/**
|
|
2461
2385
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -2463,7 +2387,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2463
2387
|
*
|
|
2464
2388
|
* @param {Callback<number | undefined> =} callback
|
|
2465
2389
|
**/
|
|
2466
|
-
maxPools: GenericStorageQuery<
|
|
2390
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
2467
2391
|
|
|
2468
2392
|
/**
|
|
2469
2393
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -2471,7 +2395,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2471
2395
|
*
|
|
2472
2396
|
* @param {Callback<number | undefined> =} callback
|
|
2473
2397
|
**/
|
|
2474
|
-
maxPoolMembers: GenericStorageQuery<
|
|
2398
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
2475
2399
|
|
|
2476
2400
|
/**
|
|
2477
2401
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -2479,7 +2403,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2479
2403
|
*
|
|
2480
2404
|
* @param {Callback<number | undefined> =} callback
|
|
2481
2405
|
**/
|
|
2482
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
2406
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
2483
2407
|
|
|
2484
2408
|
/**
|
|
2485
2409
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -2488,7 +2412,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2488
2412
|
*
|
|
2489
2413
|
* @param {Callback<Perbill | undefined> =} callback
|
|
2490
2414
|
**/
|
|
2491
|
-
globalMaxCommission: GenericStorageQuery<
|
|
2415
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
2492
2416
|
|
|
2493
2417
|
/**
|
|
2494
2418
|
* Active members.
|
|
@@ -2499,7 +2423,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2499
2423
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
2500
2424
|
**/
|
|
2501
2425
|
poolMembers: GenericStorageQuery<
|
|
2502
|
-
Rv,
|
|
2503
2426
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
2504
2427
|
AccountId32
|
|
2505
2428
|
>;
|
|
@@ -2509,7 +2432,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2509
2432
|
*
|
|
2510
2433
|
* @param {Callback<number> =} callback
|
|
2511
2434
|
**/
|
|
2512
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
2435
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
2513
2436
|
|
|
2514
2437
|
/**
|
|
2515
2438
|
* Storage for bonded pools.
|
|
@@ -2517,14 +2440,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2517
2440
|
* @param {number} arg
|
|
2518
2441
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
2519
2442
|
**/
|
|
2520
|
-
bondedPools: GenericStorageQuery<
|
|
2443
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
2521
2444
|
|
|
2522
2445
|
/**
|
|
2523
2446
|
* Counter for the related counted storage map
|
|
2524
2447
|
*
|
|
2525
2448
|
* @param {Callback<number> =} callback
|
|
2526
2449
|
**/
|
|
2527
|
-
counterForBondedPools: GenericStorageQuery<
|
|
2450
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
2528
2451
|
|
|
2529
2452
|
/**
|
|
2530
2453
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -2533,14 +2456,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2533
2456
|
* @param {number} arg
|
|
2534
2457
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
2535
2458
|
**/
|
|
2536
|
-
rewardPools: GenericStorageQuery<
|
|
2459
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
2537
2460
|
|
|
2538
2461
|
/**
|
|
2539
2462
|
* Counter for the related counted storage map
|
|
2540
2463
|
*
|
|
2541
2464
|
* @param {Callback<number> =} callback
|
|
2542
2465
|
**/
|
|
2543
|
-
counterForRewardPools: GenericStorageQuery<
|
|
2466
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2544
2467
|
|
|
2545
2468
|
/**
|
|
2546
2469
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2549,14 +2472,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2549
2472
|
* @param {number} arg
|
|
2550
2473
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2551
2474
|
**/
|
|
2552
|
-
subPoolsStorage: GenericStorageQuery<
|
|
2475
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2553
2476
|
|
|
2554
2477
|
/**
|
|
2555
2478
|
* Counter for the related counted storage map
|
|
2556
2479
|
*
|
|
2557
2480
|
* @param {Callback<number> =} callback
|
|
2558
2481
|
**/
|
|
2559
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
2482
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2560
2483
|
|
|
2561
2484
|
/**
|
|
2562
2485
|
* Metadata for the pool.
|
|
@@ -2564,21 +2487,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2564
2487
|
* @param {number} arg
|
|
2565
2488
|
* @param {Callback<Bytes> =} callback
|
|
2566
2489
|
**/
|
|
2567
|
-
metadata: GenericStorageQuery<
|
|
2490
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2568
2491
|
|
|
2569
2492
|
/**
|
|
2570
2493
|
* Counter for the related counted storage map
|
|
2571
2494
|
*
|
|
2572
2495
|
* @param {Callback<number> =} callback
|
|
2573
2496
|
**/
|
|
2574
|
-
counterForMetadata: GenericStorageQuery<
|
|
2497
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
2575
2498
|
|
|
2576
2499
|
/**
|
|
2577
2500
|
* Ever increasing number of all pools created so far.
|
|
2578
2501
|
*
|
|
2579
2502
|
* @param {Callback<number> =} callback
|
|
2580
2503
|
**/
|
|
2581
|
-
lastPoolId: GenericStorageQuery<
|
|
2504
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
2582
2505
|
|
|
2583
2506
|
/**
|
|
2584
2507
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -2589,14 +2512,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2589
2512
|
* @param {AccountId32Like} arg
|
|
2590
2513
|
* @param {Callback<number | undefined> =} callback
|
|
2591
2514
|
**/
|
|
2592
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2515
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
2593
2516
|
|
|
2594
2517
|
/**
|
|
2595
2518
|
* Counter for the related counted storage map
|
|
2596
2519
|
*
|
|
2597
2520
|
* @param {Callback<number> =} callback
|
|
2598
2521
|
**/
|
|
2599
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2522
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
2600
2523
|
|
|
2601
2524
|
/**
|
|
2602
2525
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -2604,16 +2527,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2604
2527
|
* @param {AccountId32Like} arg
|
|
2605
2528
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
2606
2529
|
**/
|
|
2607
|
-
claimPermissions: GenericStorageQuery<
|
|
2608
|
-
Rv,
|
|
2609
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
2610
|
-
AccountId32
|
|
2611
|
-
>;
|
|
2530
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
2612
2531
|
|
|
2613
2532
|
/**
|
|
2614
2533
|
* Generic pallet storage query
|
|
2615
2534
|
**/
|
|
2616
|
-
[storage: string]: GenericStorageQuery
|
|
2535
|
+
[storage: string]: GenericStorageQuery;
|
|
2617
2536
|
};
|
|
2618
2537
|
/**
|
|
2619
2538
|
* Pallet `VoterList`'s storage queries
|
|
@@ -2627,14 +2546,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2627
2546
|
* @param {AccountId32Like} arg
|
|
2628
2547
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
2629
2548
|
**/
|
|
2630
|
-
listNodes: GenericStorageQuery<
|
|
2549
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
2631
2550
|
|
|
2632
2551
|
/**
|
|
2633
2552
|
* Counter for the related counted storage map
|
|
2634
2553
|
*
|
|
2635
2554
|
* @param {Callback<number> =} callback
|
|
2636
2555
|
**/
|
|
2637
|
-
counterForListNodes: GenericStorageQuery<
|
|
2556
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
2638
2557
|
|
|
2639
2558
|
/**
|
|
2640
2559
|
* A bag stored in storage.
|
|
@@ -2644,7 +2563,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2644
2563
|
* @param {bigint} arg
|
|
2645
2564
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
2646
2565
|
**/
|
|
2647
|
-
listBags: GenericStorageQuery<
|
|
2566
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
2648
2567
|
|
|
2649
2568
|
/**
|
|
2650
2569
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -2652,7 +2571,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2652
2571
|
*
|
|
2653
2572
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2654
2573
|
**/
|
|
2655
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
2574
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2656
2575
|
|
|
2657
2576
|
/**
|
|
2658
2577
|
* Lock all updates to this pallet.
|
|
@@ -2662,12 +2581,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2662
2581
|
*
|
|
2663
2582
|
* @param {Callback<[] | undefined> =} callback
|
|
2664
2583
|
**/
|
|
2665
|
-
lock: GenericStorageQuery<
|
|
2584
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2666
2585
|
|
|
2667
2586
|
/**
|
|
2668
2587
|
* Generic pallet storage query
|
|
2669
2588
|
**/
|
|
2670
|
-
[storage: string]: GenericStorageQuery
|
|
2589
|
+
[storage: string]: GenericStorageQuery;
|
|
2671
2590
|
};
|
|
2672
2591
|
/**
|
|
2673
2592
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -2683,7 +2602,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2683
2602
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2684
2603
|
**/
|
|
2685
2604
|
delegators: GenericStorageQuery<
|
|
2686
|
-
Rv,
|
|
2687
2605
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2688
2606
|
AccountId32
|
|
2689
2607
|
>;
|
|
@@ -2693,7 +2611,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2693
2611
|
*
|
|
2694
2612
|
* @param {Callback<number> =} callback
|
|
2695
2613
|
**/
|
|
2696
|
-
counterForDelegators: GenericStorageQuery<
|
|
2614
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2697
2615
|
|
|
2698
2616
|
/**
|
|
2699
2617
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -2701,23 +2619,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2701
2619
|
* @param {AccountId32Like} arg
|
|
2702
2620
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2703
2621
|
**/
|
|
2704
|
-
agents: GenericStorageQuery<
|
|
2705
|
-
Rv,
|
|
2706
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2707
|
-
AccountId32
|
|
2708
|
-
>;
|
|
2622
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2709
2623
|
|
|
2710
2624
|
/**
|
|
2711
2625
|
* Counter for the related counted storage map
|
|
2712
2626
|
*
|
|
2713
2627
|
* @param {Callback<number> =} callback
|
|
2714
2628
|
**/
|
|
2715
|
-
counterForAgents: GenericStorageQuery<
|
|
2629
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
2716
2630
|
|
|
2717
2631
|
/**
|
|
2718
2632
|
* Generic pallet storage query
|
|
2719
2633
|
**/
|
|
2720
|
-
[storage: string]: GenericStorageQuery
|
|
2634
|
+
[storage: string]: GenericStorageQuery;
|
|
2721
2635
|
};
|
|
2722
2636
|
/**
|
|
2723
2637
|
* Pallet `StakingRcClient`'s storage queries
|
|
@@ -2728,7 +2642,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2728
2642
|
*
|
|
2729
2643
|
* @param {Callback<PalletStakingAsyncRcClientSessionReport | undefined> =} callback
|
|
2730
2644
|
**/
|
|
2731
|
-
incompleteSessionReport: GenericStorageQuery<
|
|
2645
|
+
incompleteSessionReport: GenericStorageQuery<() => PalletStakingAsyncRcClientSessionReport | undefined>;
|
|
2732
2646
|
|
|
2733
2647
|
/**
|
|
2734
2648
|
* The last session report's `end_index` that we have acted upon.
|
|
@@ -2742,7 +2656,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2742
2656
|
*
|
|
2743
2657
|
* @param {Callback<number | undefined> =} callback
|
|
2744
2658
|
**/
|
|
2745
|
-
lastSessionReportEndingIndex: GenericStorageQuery<
|
|
2659
|
+
lastSessionReportEndingIndex: GenericStorageQuery<() => number | undefined>;
|
|
2746
2660
|
|
|
2747
2661
|
/**
|
|
2748
2662
|
* A validator set that is outgoing, and should be sent.
|
|
@@ -2752,15 +2666,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2752
2666
|
*
|
|
2753
2667
|
* @param {Callback<[PalletStakingAsyncRcClientValidatorSetReport, number] | undefined> =} callback
|
|
2754
2668
|
**/
|
|
2755
|
-
outgoingValidatorSet: GenericStorageQuery<
|
|
2756
|
-
Rv,
|
|
2757
|
-
() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined
|
|
2758
|
-
>;
|
|
2669
|
+
outgoingValidatorSet: GenericStorageQuery<() => [PalletStakingAsyncRcClientValidatorSetReport, number] | undefined>;
|
|
2759
2670
|
|
|
2760
2671
|
/**
|
|
2761
2672
|
* Generic pallet storage query
|
|
2762
2673
|
**/
|
|
2763
|
-
[storage: string]: GenericStorageQuery
|
|
2674
|
+
[storage: string]: GenericStorageQuery;
|
|
2764
2675
|
};
|
|
2765
2676
|
/**
|
|
2766
2677
|
* Pallet `MultiBlockElection`'s storage queries
|
|
@@ -2776,14 +2687,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2776
2687
|
*
|
|
2777
2688
|
* @param {Callback<number> =} callback
|
|
2778
2689
|
**/
|
|
2779
|
-
round: GenericStorageQuery<
|
|
2690
|
+
round: GenericStorageQuery<() => number>;
|
|
2780
2691
|
|
|
2781
2692
|
/**
|
|
2782
2693
|
* Current phase.
|
|
2783
2694
|
*
|
|
2784
2695
|
* @param {Callback<PalletElectionProviderMultiBlockPhase> =} callback
|
|
2785
2696
|
**/
|
|
2786
|
-
currentPhase: GenericStorageQuery<
|
|
2697
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiBlockPhase>;
|
|
2787
2698
|
|
|
2788
2699
|
/**
|
|
2789
2700
|
* Desired number of targets to elect for this round.
|
|
@@ -2791,7 +2702,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2791
2702
|
* @param {number} arg
|
|
2792
2703
|
* @param {Callback<number | undefined> =} callback
|
|
2793
2704
|
**/
|
|
2794
|
-
desiredTargets: GenericStorageQuery<
|
|
2705
|
+
desiredTargets: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
2795
2706
|
|
|
2796
2707
|
/**
|
|
2797
2708
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
|
@@ -2800,7 +2711,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2800
2711
|
* @param {Callback<Array<[AccountId32, bigint, Array<AccountId32>]> | undefined> =} callback
|
|
2801
2712
|
**/
|
|
2802
2713
|
pagedVoterSnapshot: GenericStorageQuery<
|
|
2803
|
-
Rv,
|
|
2804
2714
|
(arg: [number, number]) => Array<[AccountId32, bigint, Array<AccountId32>]> | undefined,
|
|
2805
2715
|
[number, number]
|
|
2806
2716
|
>;
|
|
@@ -2813,7 +2723,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2813
2723
|
* @param {[number, number]} arg
|
|
2814
2724
|
* @param {Callback<H256 | undefined> =} callback
|
|
2815
2725
|
**/
|
|
2816
|
-
pagedVoterSnapshotHash: GenericStorageQuery<
|
|
2726
|
+
pagedVoterSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2817
2727
|
|
|
2818
2728
|
/**
|
|
2819
2729
|
* Paginated target snapshot.
|
|
@@ -2824,7 +2734,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2824
2734
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
2825
2735
|
**/
|
|
2826
2736
|
pagedTargetSnapshot: GenericStorageQuery<
|
|
2827
|
-
Rv,
|
|
2828
2737
|
(arg: [number, number]) => Array<AccountId32> | undefined,
|
|
2829
2738
|
[number, number]
|
|
2830
2739
|
>;
|
|
@@ -2837,12 +2746,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2837
2746
|
* @param {[number, number]} arg
|
|
2838
2747
|
* @param {Callback<H256 | undefined> =} callback
|
|
2839
2748
|
**/
|
|
2840
|
-
pagedTargetSnapshotHash: GenericStorageQuery<
|
|
2749
|
+
pagedTargetSnapshotHash: GenericStorageQuery<(arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
2841
2750
|
|
|
2842
2751
|
/**
|
|
2843
2752
|
* Generic pallet storage query
|
|
2844
2753
|
**/
|
|
2845
|
-
[storage: string]: GenericStorageQuery
|
|
2754
|
+
[storage: string]: GenericStorageQuery;
|
|
2846
2755
|
};
|
|
2847
2756
|
/**
|
|
2848
2757
|
* Pallet `MultiBlockElectionVerifier`'s storage queries
|
|
@@ -2861,7 +2770,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2861
2770
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2862
2771
|
**/
|
|
2863
2772
|
queuedSolutionX: GenericStorageQuery<
|
|
2864
|
-
Rv,
|
|
2865
2773
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2866
2774
|
[number, number]
|
|
2867
2775
|
>;
|
|
@@ -2873,7 +2781,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2873
2781
|
* @param {Callback<FrameElectionProviderSupportBoundedSupports | undefined> =} callback
|
|
2874
2782
|
**/
|
|
2875
2783
|
queuedSolutionY: GenericStorageQuery<
|
|
2876
|
-
Rv,
|
|
2877
2784
|
(arg: [number, number]) => FrameElectionProviderSupportBoundedSupports | undefined,
|
|
2878
2785
|
[number, number]
|
|
2879
2786
|
>;
|
|
@@ -2886,7 +2793,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2886
2793
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsValidSolution> =} callback
|
|
2887
2794
|
**/
|
|
2888
2795
|
queuedValidVariant: GenericStorageQuery<
|
|
2889
|
-
Rv,
|
|
2890
2796
|
(arg: number) => PalletElectionProviderMultiBlockVerifierImplsValidSolution,
|
|
2891
2797
|
number
|
|
2892
2798
|
>;
|
|
@@ -2905,7 +2811,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2905
2811
|
* @param {Callback<Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined> =} callback
|
|
2906
2812
|
**/
|
|
2907
2813
|
queuedSolutionBackings: GenericStorageQuery<
|
|
2908
|
-
Rv,
|
|
2909
2814
|
(
|
|
2910
2815
|
arg: [number, number],
|
|
2911
2816
|
) => Array<[AccountId32, PalletElectionProviderMultiBlockVerifierImplsPartialBackings]> | undefined,
|
|
@@ -2920,26 +2825,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2920
2825
|
* @param {number} arg
|
|
2921
2826
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2922
2827
|
**/
|
|
2923
|
-
queuedSolutionScore: GenericStorageQuery<
|
|
2828
|
+
queuedSolutionScore: GenericStorageQuery<(arg: number) => SpNposElectionsElectionScore | undefined, number>;
|
|
2924
2829
|
|
|
2925
2830
|
/**
|
|
2926
2831
|
* The minimum score that each solution must attain in order to be considered feasible.
|
|
2927
2832
|
*
|
|
2928
2833
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
2929
2834
|
**/
|
|
2930
|
-
minimumScore: GenericStorageQuery<
|
|
2835
|
+
minimumScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
2931
2836
|
|
|
2932
2837
|
/**
|
|
2933
2838
|
* Storage item for [`Status`].
|
|
2934
2839
|
*
|
|
2935
2840
|
* @param {Callback<PalletElectionProviderMultiBlockVerifierImplsStatus> =} callback
|
|
2936
2841
|
**/
|
|
2937
|
-
statusStorage: GenericStorageQuery<
|
|
2842
|
+
statusStorage: GenericStorageQuery<() => PalletElectionProviderMultiBlockVerifierImplsStatus>;
|
|
2938
2843
|
|
|
2939
2844
|
/**
|
|
2940
2845
|
* Generic pallet storage query
|
|
2941
2846
|
**/
|
|
2942
|
-
[storage: string]: GenericStorageQuery
|
|
2847
|
+
[storage: string]: GenericStorageQuery;
|
|
2943
2848
|
};
|
|
2944
2849
|
/**
|
|
2945
2850
|
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
@@ -2958,14 +2863,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2958
2863
|
*
|
|
2959
2864
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2960
2865
|
**/
|
|
2961
|
-
invulnerables: GenericStorageQuery<
|
|
2866
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2962
2867
|
|
|
2963
2868
|
/**
|
|
2964
2869
|
*
|
|
2965
2870
|
* @param {number} arg
|
|
2966
2871
|
* @param {Callback<Array<[AccountId32, SpNposElectionsElectionScore]>> =} callback
|
|
2967
2872
|
**/
|
|
2968
|
-
sortedScores: GenericStorageQuery<
|
|
2873
|
+
sortedScores: GenericStorageQuery<(arg: number) => Array<[AccountId32, SpNposElectionsElectionScore]>, number>;
|
|
2969
2874
|
|
|
2970
2875
|
/**
|
|
2971
2876
|
* Triple map from (round, account, page) to a solution page.
|
|
@@ -2974,7 +2879,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2974
2879
|
* @param {Callback<AssetHubPaseoRuntimeStakingNposCompactSolution16 | undefined> =} callback
|
|
2975
2880
|
**/
|
|
2976
2881
|
submissionStorage: GenericStorageQuery<
|
|
2977
|
-
Rv,
|
|
2978
2882
|
(arg: [number, AccountId32Like, number]) => AssetHubPaseoRuntimeStakingNposCompactSolution16 | undefined,
|
|
2979
2883
|
[number, AccountId32, number]
|
|
2980
2884
|
>;
|
|
@@ -2989,7 +2893,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2989
2893
|
* @param {Callback<PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined> =} callback
|
|
2990
2894
|
**/
|
|
2991
2895
|
submissionMetadataStorage: GenericStorageQuery<
|
|
2992
|
-
Rv,
|
|
2993
2896
|
(arg: [number, AccountId32Like]) => PalletElectionProviderMultiBlockSignedSubmissionMetadata | undefined,
|
|
2994
2897
|
[number, AccountId32]
|
|
2995
2898
|
>;
|
|
@@ -2997,7 +2900,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2997
2900
|
/**
|
|
2998
2901
|
* Generic pallet storage query
|
|
2999
2902
|
**/
|
|
3000
|
-
[storage: string]: GenericStorageQuery
|
|
2903
|
+
[storage: string]: GenericStorageQuery;
|
|
3001
2904
|
};
|
|
3002
2905
|
/**
|
|
3003
2906
|
* Pallet `Staking`'s storage queries
|
|
@@ -3008,7 +2911,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3008
2911
|
*
|
|
3009
2912
|
* @param {Callback<number> =} callback
|
|
3010
2913
|
**/
|
|
3011
|
-
validatorCount: GenericStorageQuery<
|
|
2914
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
3012
2915
|
|
|
3013
2916
|
/**
|
|
3014
2917
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -3017,7 +2920,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3017
2920
|
*
|
|
3018
2921
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3019
2922
|
**/
|
|
3020
|
-
invulnerables: GenericStorageQuery<
|
|
2923
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3021
2924
|
|
|
3022
2925
|
/**
|
|
3023
2926
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -3027,28 +2930,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3027
2930
|
* @param {AccountId32Like} arg
|
|
3028
2931
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3029
2932
|
**/
|
|
3030
|
-
bonded: GenericStorageQuery<
|
|
2933
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
3031
2934
|
|
|
3032
2935
|
/**
|
|
3033
2936
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
3034
2937
|
*
|
|
3035
2938
|
* @param {Callback<bigint> =} callback
|
|
3036
2939
|
**/
|
|
3037
|
-
minNominatorBond: GenericStorageQuery<
|
|
2940
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
3038
2941
|
|
|
3039
2942
|
/**
|
|
3040
2943
|
* The minimum active bond to become and maintain the role of a validator.
|
|
3041
2944
|
*
|
|
3042
2945
|
* @param {Callback<bigint> =} callback
|
|
3043
2946
|
**/
|
|
3044
|
-
minValidatorBond: GenericStorageQuery<
|
|
2947
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
3045
2948
|
|
|
3046
2949
|
/**
|
|
3047
2950
|
* The minimum active nominator stake of the last successful election.
|
|
3048
2951
|
*
|
|
3049
2952
|
* @param {Callback<bigint> =} callback
|
|
3050
2953
|
**/
|
|
3051
|
-
minimumActiveStake: GenericStorageQuery<
|
|
2954
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
3052
2955
|
|
|
3053
2956
|
/**
|
|
3054
2957
|
* The minimum amount of commission that validators can set.
|
|
@@ -3057,7 +2960,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3057
2960
|
*
|
|
3058
2961
|
* @param {Callback<Perbill> =} callback
|
|
3059
2962
|
**/
|
|
3060
|
-
minCommission: GenericStorageQuery<
|
|
2963
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
3061
2964
|
|
|
3062
2965
|
/**
|
|
3063
2966
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -3069,7 +2972,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3069
2972
|
* @param {Callback<PalletStakingAsyncLedgerStakingLedger | undefined> =} callback
|
|
3070
2973
|
**/
|
|
3071
2974
|
ledger: GenericStorageQuery<
|
|
3072
|
-
Rv,
|
|
3073
2975
|
(arg: AccountId32Like) => PalletStakingAsyncLedgerStakingLedger | undefined,
|
|
3074
2976
|
AccountId32
|
|
3075
2977
|
>;
|
|
@@ -3082,11 +2984,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3082
2984
|
* @param {AccountId32Like} arg
|
|
3083
2985
|
* @param {Callback<PalletStakingAsyncRewardDestination | undefined> =} callback
|
|
3084
2986
|
**/
|
|
3085
|
-
payee: GenericStorageQuery<
|
|
3086
|
-
Rv,
|
|
3087
|
-
(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined,
|
|
3088
|
-
AccountId32
|
|
3089
|
-
>;
|
|
2987
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncRewardDestination | undefined, AccountId32>;
|
|
3090
2988
|
|
|
3091
2989
|
/**
|
|
3092
2990
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -3096,14 +2994,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3096
2994
|
* @param {AccountId32Like} arg
|
|
3097
2995
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3098
2996
|
**/
|
|
3099
|
-
validators: GenericStorageQuery<
|
|
2997
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncValidatorPrefs, AccountId32>;
|
|
3100
2998
|
|
|
3101
2999
|
/**
|
|
3102
3000
|
* Counter for the related counted storage map
|
|
3103
3001
|
*
|
|
3104
3002
|
* @param {Callback<number> =} callback
|
|
3105
3003
|
**/
|
|
3106
|
-
counterForValidators: GenericStorageQuery<
|
|
3004
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
3107
3005
|
|
|
3108
3006
|
/**
|
|
3109
3007
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -3112,7 +3010,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3112
3010
|
*
|
|
3113
3011
|
* @param {Callback<number | undefined> =} callback
|
|
3114
3012
|
**/
|
|
3115
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
3013
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3116
3014
|
|
|
3117
3015
|
/**
|
|
3118
3016
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -3138,18 +3036,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3138
3036
|
* @param {AccountId32Like} arg
|
|
3139
3037
|
* @param {Callback<PalletStakingAsyncNominations | undefined> =} callback
|
|
3140
3038
|
**/
|
|
3141
|
-
nominators: GenericStorageQuery<
|
|
3142
|
-
Rv,
|
|
3143
|
-
(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined,
|
|
3144
|
-
AccountId32
|
|
3145
|
-
>;
|
|
3039
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingAsyncNominations | undefined, AccountId32>;
|
|
3146
3040
|
|
|
3147
3041
|
/**
|
|
3148
3042
|
* Counter for the related counted storage map
|
|
3149
3043
|
*
|
|
3150
3044
|
* @param {Callback<number> =} callback
|
|
3151
3045
|
**/
|
|
3152
|
-
counterForNominators: GenericStorageQuery<
|
|
3046
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
3153
3047
|
|
|
3154
3048
|
/**
|
|
3155
3049
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -3162,14 +3056,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3162
3056
|
* @param {AccountId32Like} arg
|
|
3163
3057
|
* @param {Callback<[] | undefined> =} callback
|
|
3164
3058
|
**/
|
|
3165
|
-
virtualStakers: GenericStorageQuery<
|
|
3059
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
3166
3060
|
|
|
3167
3061
|
/**
|
|
3168
3062
|
* Counter for the related counted storage map
|
|
3169
3063
|
*
|
|
3170
3064
|
* @param {Callback<number> =} callback
|
|
3171
3065
|
**/
|
|
3172
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
3066
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
3173
3067
|
|
|
3174
3068
|
/**
|
|
3175
3069
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -3178,7 +3072,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3178
3072
|
*
|
|
3179
3073
|
* @param {Callback<number | undefined> =} callback
|
|
3180
3074
|
**/
|
|
3181
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
3075
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
3182
3076
|
|
|
3183
3077
|
/**
|
|
3184
3078
|
* The current planned era index.
|
|
@@ -3188,7 +3082,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3188
3082
|
*
|
|
3189
3083
|
* @param {Callback<number | undefined> =} callback
|
|
3190
3084
|
**/
|
|
3191
|
-
currentEra: GenericStorageQuery<
|
|
3085
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
3192
3086
|
|
|
3193
3087
|
/**
|
|
3194
3088
|
* The active era information, it holds index and start.
|
|
@@ -3198,7 +3092,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3198
3092
|
*
|
|
3199
3093
|
* @param {Callback<PalletStakingAsyncActiveEraInfo | undefined> =} callback
|
|
3200
3094
|
**/
|
|
3201
|
-
activeEra: GenericStorageQuery<
|
|
3095
|
+
activeEra: GenericStorageQuery<() => PalletStakingAsyncActiveEraInfo | undefined>;
|
|
3202
3096
|
|
|
3203
3097
|
/**
|
|
3204
3098
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -3208,7 +3102,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3208
3102
|
*
|
|
3209
3103
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
3210
3104
|
**/
|
|
3211
|
-
bondedEras: GenericStorageQuery<
|
|
3105
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
3212
3106
|
|
|
3213
3107
|
/**
|
|
3214
3108
|
* Summary of validator exposure at a given era.
|
|
@@ -3228,7 +3122,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3228
3122
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
3229
3123
|
**/
|
|
3230
3124
|
erasStakersOverview: GenericStorageQuery<
|
|
3231
|
-
Rv,
|
|
3232
3125
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
3233
3126
|
[number, AccountId32]
|
|
3234
3127
|
>;
|
|
@@ -3245,7 +3138,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3245
3138
|
* @param {Callback<PalletStakingAsyncPalletBoundedExposurePage | undefined> =} callback
|
|
3246
3139
|
**/
|
|
3247
3140
|
erasStakersPaged: GenericStorageQuery<
|
|
3248
|
-
Rv,
|
|
3249
3141
|
(arg: [number, AccountId32Like, number]) => PalletStakingAsyncPalletBoundedExposurePage | undefined,
|
|
3250
3142
|
[number, AccountId32, number]
|
|
3251
3143
|
>;
|
|
@@ -3261,7 +3153,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3261
3153
|
* @param {[number, AccountId32Like]} arg
|
|
3262
3154
|
* @param {Callback<Array<number>> =} callback
|
|
3263
3155
|
**/
|
|
3264
|
-
claimedRewards: GenericStorageQuery<
|
|
3156
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
3265
3157
|
|
|
3266
3158
|
/**
|
|
3267
3159
|
* Exposure of validator at era with the preferences of validators.
|
|
@@ -3274,7 +3166,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3274
3166
|
* @param {Callback<PalletStakingAsyncValidatorPrefs> =} callback
|
|
3275
3167
|
**/
|
|
3276
3168
|
erasValidatorPrefs: GenericStorageQuery<
|
|
3277
|
-
Rv,
|
|
3278
3169
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncValidatorPrefs,
|
|
3279
3170
|
[number, AccountId32]
|
|
3280
3171
|
>;
|
|
@@ -3287,7 +3178,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3287
3178
|
* @param {number} arg
|
|
3288
3179
|
* @param {Callback<bigint | undefined> =} callback
|
|
3289
3180
|
**/
|
|
3290
|
-
erasValidatorReward: GenericStorageQuery<
|
|
3181
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
3291
3182
|
|
|
3292
3183
|
/**
|
|
3293
3184
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3296,7 +3187,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3296
3187
|
* @param {number} arg
|
|
3297
3188
|
* @param {Callback<PalletStakingAsyncEraRewardPoints> =} callback
|
|
3298
3189
|
**/
|
|
3299
|
-
erasRewardPoints: GenericStorageQuery<
|
|
3190
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingAsyncEraRewardPoints, number>;
|
|
3300
3191
|
|
|
3301
3192
|
/**
|
|
3302
3193
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -3305,14 +3196,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3305
3196
|
* @param {number} arg
|
|
3306
3197
|
* @param {Callback<bigint> =} callback
|
|
3307
3198
|
**/
|
|
3308
|
-
erasTotalStake: GenericStorageQuery<
|
|
3199
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
3309
3200
|
|
|
3310
3201
|
/**
|
|
3311
3202
|
* Mode of era forcing.
|
|
3312
3203
|
*
|
|
3313
3204
|
* @param {Callback<PalletStakingAsyncForcing> =} callback
|
|
3314
3205
|
**/
|
|
3315
|
-
forceEra: GenericStorageQuery<
|
|
3206
|
+
forceEra: GenericStorageQuery<() => PalletStakingAsyncForcing>;
|
|
3316
3207
|
|
|
3317
3208
|
/**
|
|
3318
3209
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -3321,7 +3212,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3321
3212
|
*
|
|
3322
3213
|
* @param {Callback<Percent | undefined> =} callback
|
|
3323
3214
|
**/
|
|
3324
|
-
maxStakedRewards: GenericStorageQuery<
|
|
3215
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
3325
3216
|
|
|
3326
3217
|
/**
|
|
3327
3218
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -3330,7 +3221,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3330
3221
|
*
|
|
3331
3222
|
* @param {Callback<Perbill> =} callback
|
|
3332
3223
|
**/
|
|
3333
|
-
slashRewardFraction: GenericStorageQuery<
|
|
3224
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
3334
3225
|
|
|
3335
3226
|
/**
|
|
3336
3227
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -3338,7 +3229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3338
3229
|
*
|
|
3339
3230
|
* @param {Callback<bigint> =} callback
|
|
3340
3231
|
**/
|
|
3341
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
3232
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
3342
3233
|
|
|
3343
3234
|
/**
|
|
3344
3235
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
|
@@ -3356,7 +3247,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3356
3247
|
* @param {Callback<PalletStakingAsyncSlashingOffenceRecord | undefined> =} callback
|
|
3357
3248
|
**/
|
|
3358
3249
|
offenceQueue: GenericStorageQuery<
|
|
3359
|
-
Rv,
|
|
3360
3250
|
(arg: [number, AccountId32Like]) => PalletStakingAsyncSlashingOffenceRecord | undefined,
|
|
3361
3251
|
[number, AccountId32]
|
|
3362
3252
|
>;
|
|
@@ -3376,7 +3266,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3376
3266
|
*
|
|
3377
3267
|
* @param {Callback<Array<number> | undefined> =} callback
|
|
3378
3268
|
**/
|
|
3379
|
-
offenceQueueEras: GenericStorageQuery<
|
|
3269
|
+
offenceQueueEras: GenericStorageQuery<() => Array<number> | undefined>;
|
|
3380
3270
|
|
|
3381
3271
|
/**
|
|
3382
3272
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
|
@@ -3395,7 +3285,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3395
3285
|
* @param {Callback<[number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined> =} callback
|
|
3396
3286
|
**/
|
|
3397
3287
|
processingOffence: GenericStorageQuery<
|
|
3398
|
-
Rv,
|
|
3399
3288
|
() => [number, AccountId32, PalletStakingAsyncSlashingOffenceRecord] | undefined
|
|
3400
3289
|
>;
|
|
3401
3290
|
|
|
@@ -3406,7 +3295,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3406
3295
|
* @param {Callback<PalletStakingAsyncUnappliedSlash | undefined> =} callback
|
|
3407
3296
|
**/
|
|
3408
3297
|
unappliedSlashes: GenericStorageQuery<
|
|
3409
|
-
Rv,
|
|
3410
3298
|
(arg: [number, [AccountId32Like, Perbill, number]]) => PalletStakingAsyncUnappliedSlash | undefined,
|
|
3411
3299
|
[number, [AccountId32, Perbill, number]]
|
|
3412
3300
|
>;
|
|
@@ -3421,7 +3309,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3421
3309
|
* @param {number} arg
|
|
3422
3310
|
* @param {Callback<Array<[AccountId32, Perbill]>> =} callback
|
|
3423
3311
|
**/
|
|
3424
|
-
cancelledSlashes: GenericStorageQuery<
|
|
3312
|
+
cancelledSlashes: GenericStorageQuery<(arg: number) => Array<[AccountId32, Perbill]>, number>;
|
|
3425
3313
|
|
|
3426
3314
|
/**
|
|
3427
3315
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -3431,7 +3319,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3431
3319
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
3432
3320
|
**/
|
|
3433
3321
|
validatorSlashInEra: GenericStorageQuery<
|
|
3434
|
-
Rv,
|
|
3435
3322
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
3436
3323
|
[number, AccountId32]
|
|
3437
3324
|
>;
|
|
@@ -3443,7 +3330,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3443
3330
|
*
|
|
3444
3331
|
* @param {Callback<Percent | undefined> =} callback
|
|
3445
3332
|
**/
|
|
3446
|
-
chillThreshold: GenericStorageQuery<
|
|
3333
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
3447
3334
|
|
|
3448
3335
|
/**
|
|
3449
3336
|
* Voter snapshot progress status.
|
|
@@ -3453,7 +3340,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3453
3340
|
*
|
|
3454
3341
|
* @param {Callback<PalletStakingAsyncSnapshotStatus> =} callback
|
|
3455
3342
|
**/
|
|
3456
|
-
voterSnapshotStatus: GenericStorageQuery<
|
|
3343
|
+
voterSnapshotStatus: GenericStorageQuery<() => PalletStakingAsyncSnapshotStatus>;
|
|
3457
3344
|
|
|
3458
3345
|
/**
|
|
3459
3346
|
* Keeps track of an ongoing multi-page election solution request.
|
|
@@ -3465,14 +3352,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3465
3352
|
*
|
|
3466
3353
|
* @param {Callback<number | undefined> =} callback
|
|
3467
3354
|
**/
|
|
3468
|
-
nextElectionPage: GenericStorageQuery<
|
|
3355
|
+
nextElectionPage: GenericStorageQuery<() => number | undefined>;
|
|
3469
3356
|
|
|
3470
3357
|
/**
|
|
3471
3358
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
|
3472
3359
|
*
|
|
3473
3360
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3474
3361
|
**/
|
|
3475
|
-
electableStashes: GenericStorageQuery<
|
|
3362
|
+
electableStashes: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3476
3363
|
|
|
3477
3364
|
/**
|
|
3478
3365
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
|
@@ -3480,12 +3367,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3480
3367
|
* @param {number} arg
|
|
3481
3368
|
* @param {Callback<PalletStakingAsyncPalletPruningStep | undefined> =} callback
|
|
3482
3369
|
**/
|
|
3483
|
-
eraPruningState: GenericStorageQuery<
|
|
3370
|
+
eraPruningState: GenericStorageQuery<(arg: number) => PalletStakingAsyncPalletPruningStep | undefined, number>;
|
|
3484
3371
|
|
|
3485
3372
|
/**
|
|
3486
3373
|
* Generic pallet storage query
|
|
3487
3374
|
**/
|
|
3488
|
-
[storage: string]: GenericStorageQuery
|
|
3375
|
+
[storage: string]: GenericStorageQuery;
|
|
3489
3376
|
};
|
|
3490
3377
|
/**
|
|
3491
3378
|
* Pallet `Revive`'s storage queries
|
|
@@ -3497,7 +3384,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3497
3384
|
* @param {H256} arg
|
|
3498
3385
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3499
3386
|
**/
|
|
3500
|
-
pristineCode: GenericStorageQuery<
|
|
3387
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
3501
3388
|
|
|
3502
3389
|
/**
|
|
3503
3390
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -3505,7 +3392,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3505
3392
|
* @param {H256} arg
|
|
3506
3393
|
* @param {Callback<PalletReviveVmCodeInfo | undefined> =} callback
|
|
3507
3394
|
**/
|
|
3508
|
-
codeInfoOf: GenericStorageQuery<
|
|
3395
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletReviveVmCodeInfo | undefined, H256>;
|
|
3509
3396
|
|
|
3510
3397
|
/**
|
|
3511
3398
|
* The data associated to a contract or externally owned account.
|
|
@@ -3513,7 +3400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3513
3400
|
* @param {H160} arg
|
|
3514
3401
|
* @param {Callback<PalletReviveStorageAccountInfo | undefined> =} callback
|
|
3515
3402
|
**/
|
|
3516
|
-
accountInfoOf: GenericStorageQuery<
|
|
3403
|
+
accountInfoOf: GenericStorageQuery<(arg: H160) => PalletReviveStorageAccountInfo | undefined, H160>;
|
|
3517
3404
|
|
|
3518
3405
|
/**
|
|
3519
3406
|
* The immutable data associated with a given account.
|
|
@@ -3521,7 +3408,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3521
3408
|
* @param {H160} arg
|
|
3522
3409
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3523
3410
|
**/
|
|
3524
|
-
immutableDataOf: GenericStorageQuery<
|
|
3411
|
+
immutableDataOf: GenericStorageQuery<(arg: H160) => Bytes | undefined, H160>;
|
|
3525
3412
|
|
|
3526
3413
|
/**
|
|
3527
3414
|
* Evicted contracts that await child trie deletion.
|
|
@@ -3532,7 +3419,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3532
3419
|
* @param {number} arg
|
|
3533
3420
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3534
3421
|
**/
|
|
3535
|
-
deletionQueue: GenericStorageQuery<
|
|
3422
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
3536
3423
|
|
|
3537
3424
|
/**
|
|
3538
3425
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -3540,7 +3427,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3540
3427
|
*
|
|
3541
3428
|
* @param {Callback<PalletReviveStorageDeletionQueueManager> =} callback
|
|
3542
3429
|
**/
|
|
3543
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
3430
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletReviveStorageDeletionQueueManager>;
|
|
3544
3431
|
|
|
3545
3432
|
/**
|
|
3546
3433
|
* Map a Ethereum address to its original `AccountId32`.
|
|
@@ -3553,12 +3440,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3553
3440
|
* @param {H160} arg
|
|
3554
3441
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3555
3442
|
**/
|
|
3556
|
-
originalAccount: GenericStorageQuery<
|
|
3443
|
+
originalAccount: GenericStorageQuery<(arg: H160) => AccountId32 | undefined, H160>;
|
|
3557
3444
|
|
|
3558
3445
|
/**
|
|
3559
3446
|
* Generic pallet storage query
|
|
3560
3447
|
**/
|
|
3561
|
-
[storage: string]: GenericStorageQuery
|
|
3448
|
+
[storage: string]: GenericStorageQuery;
|
|
3562
3449
|
};
|
|
3563
3450
|
/**
|
|
3564
3451
|
* Pallet `Sudo`'s storage queries
|
|
@@ -3569,12 +3456,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3569
3456
|
*
|
|
3570
3457
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3571
3458
|
**/
|
|
3572
|
-
key: GenericStorageQuery<
|
|
3459
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3573
3460
|
|
|
3574
3461
|
/**
|
|
3575
3462
|
* Generic pallet storage query
|
|
3576
3463
|
**/
|
|
3577
|
-
[storage: string]: GenericStorageQuery
|
|
3464
|
+
[storage: string]: GenericStorageQuery;
|
|
3578
3465
|
};
|
|
3579
3466
|
/**
|
|
3580
3467
|
* Pallet `AhOps`'s storage queries
|
|
@@ -3600,7 +3487,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3600
3487
|
* @param {Callback<bigint | undefined> =} callback
|
|
3601
3488
|
**/
|
|
3602
3489
|
rcLeaseReserve: GenericStorageQuery<
|
|
3603
|
-
Rv,
|
|
3604
3490
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3605
3491
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3606
3492
|
>;
|
|
@@ -3623,7 +3509,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3623
3509
|
* @param {Callback<[AccountId32, bigint] | undefined> =} callback
|
|
3624
3510
|
**/
|
|
3625
3511
|
rcCrowdloanContribution: GenericStorageQuery<
|
|
3626
|
-
Rv,
|
|
3627
3512
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => [AccountId32, bigint] | undefined,
|
|
3628
3513
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3629
3514
|
>;
|
|
@@ -3643,7 +3528,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3643
3528
|
* @param {Callback<bigint | undefined> =} callback
|
|
3644
3529
|
**/
|
|
3645
3530
|
rcCrowdloanReserve: GenericStorageQuery<
|
|
3646
|
-
Rv,
|
|
3647
3531
|
(arg: [number, PolkadotParachainPrimitivesPrimitivesId, AccountId32Like]) => bigint | undefined,
|
|
3648
3532
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3649
3533
|
>;
|
|
@@ -3651,7 +3535,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3651
3535
|
/**
|
|
3652
3536
|
* Generic pallet storage query
|
|
3653
3537
|
**/
|
|
3654
|
-
[storage: string]: GenericStorageQuery
|
|
3538
|
+
[storage: string]: GenericStorageQuery;
|
|
3655
3539
|
};
|
|
3656
3540
|
/**
|
|
3657
3541
|
* Pallet `AhMigrator`'s storage queries
|
|
@@ -3665,18 +3549,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3665
3549
|
* @param {AccountId32Like} arg
|
|
3666
3550
|
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
3667
3551
|
**/
|
|
3668
|
-
rcAccounts: GenericStorageQuery<
|
|
3669
|
-
Rv,
|
|
3670
|
-
(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined,
|
|
3671
|
-
AccountId32
|
|
3672
|
-
>;
|
|
3552
|
+
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined, AccountId32>;
|
|
3673
3553
|
|
|
3674
3554
|
/**
|
|
3675
3555
|
* The Asset Hub migration state.
|
|
3676
3556
|
*
|
|
3677
3557
|
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
3678
3558
|
**/
|
|
3679
|
-
ahMigrationStage: GenericStorageQuery<
|
|
3559
|
+
ahMigrationStage: GenericStorageQuery<() => PalletAhMigratorMigrationStage>;
|
|
3680
3560
|
|
|
3681
3561
|
/**
|
|
3682
3562
|
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
@@ -3685,7 +3565,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3685
3565
|
*
|
|
3686
3566
|
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
3687
3567
|
**/
|
|
3688
|
-
ahBalancesBefore: GenericStorageQuery<
|
|
3568
|
+
ahBalancesBefore: GenericStorageQuery<() => PalletAhMigratorBalancesBefore>;
|
|
3689
3569
|
|
|
3690
3570
|
/**
|
|
3691
3571
|
* The priority of the DMP queue during migration.
|
|
@@ -3697,7 +3577,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3697
3577
|
*
|
|
3698
3578
|
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
3699
3579
|
**/
|
|
3700
|
-
dmpQueuePriorityConfig: GenericStorageQuery<
|
|
3580
|
+
dmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
3701
3581
|
|
|
3702
3582
|
/**
|
|
3703
3583
|
* An optional account id of a manager.
|
|
@@ -3707,7 +3587,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3707
3587
|
*
|
|
3708
3588
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3709
3589
|
**/
|
|
3710
|
-
manager: GenericStorageQuery<
|
|
3590
|
+
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3711
3591
|
|
|
3712
3592
|
/**
|
|
3713
3593
|
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
@@ -3717,7 +3597,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3717
3597
|
*
|
|
3718
3598
|
* @param {Callback<number | undefined> =} callback
|
|
3719
3599
|
**/
|
|
3720
|
-
migrationStartBlock: GenericStorageQuery<
|
|
3600
|
+
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
3721
3601
|
|
|
3722
3602
|
/**
|
|
3723
3603
|
* Block number when migration finished and extrinsics were unlocked.
|
|
@@ -3727,11 +3607,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3727
3607
|
*
|
|
3728
3608
|
* @param {Callback<number | undefined> =} callback
|
|
3729
3609
|
**/
|
|
3730
|
-
migrationEndBlock: GenericStorageQuery<
|
|
3610
|
+
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
3731
3611
|
|
|
3732
3612
|
/**
|
|
3733
3613
|
* Generic pallet storage query
|
|
3734
3614
|
**/
|
|
3735
|
-
[storage: string]: GenericStorageQuery
|
|
3615
|
+
[storage: string]: GenericStorageQuery;
|
|
3736
3616
|
};
|
|
3737
3617
|
}
|