@dedot/chaintypes 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/westend/query.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainStorage, GenericStorageQuery, Callback
|
|
3
|
+
import type { GenericChainStorage, GenericStorageQuery, Callback } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
AccountId32,
|
|
6
6
|
AccountId32Like,
|
|
@@ -152,7 +152,7 @@ import type {
|
|
|
152
152
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
153
153
|
} from './types.js';
|
|
154
154
|
|
|
155
|
-
export interface ChainStorage
|
|
155
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
156
156
|
/**
|
|
157
157
|
* Pallet `System`'s storage queries
|
|
158
158
|
**/
|
|
@@ -163,35 +163,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
163
163
|
* @param {AccountId32Like} arg
|
|
164
164
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
165
165
|
**/
|
|
166
|
-
account: GenericStorageQuery<
|
|
166
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Total extrinsics count for the current block.
|
|
170
170
|
*
|
|
171
171
|
* @param {Callback<number | undefined> =} callback
|
|
172
172
|
**/
|
|
173
|
-
extrinsicCount: GenericStorageQuery<
|
|
173
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Whether all inherents have been applied.
|
|
177
177
|
*
|
|
178
178
|
* @param {Callback<boolean> =} callback
|
|
179
179
|
**/
|
|
180
|
-
inherentsApplied: GenericStorageQuery<
|
|
180
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* The current weight for the block.
|
|
184
184
|
*
|
|
185
185
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
186
186
|
**/
|
|
187
|
-
blockWeight: GenericStorageQuery<
|
|
187
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
191
191
|
*
|
|
192
192
|
* @param {Callback<number | undefined> =} callback
|
|
193
193
|
**/
|
|
194
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
194
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Map of block numbers to block hashes.
|
|
@@ -199,7 +199,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
199
199
|
* @param {number} arg
|
|
200
200
|
* @param {Callback<H256> =} callback
|
|
201
201
|
**/
|
|
202
|
-
blockHash: GenericStorageQuery<
|
|
202
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -207,28 +207,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
207
207
|
* @param {number} arg
|
|
208
208
|
* @param {Callback<Bytes> =} callback
|
|
209
209
|
**/
|
|
210
|
-
extrinsicData: GenericStorageQuery<
|
|
210
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* The current block number being processed. Set by `execute_block`.
|
|
214
214
|
*
|
|
215
215
|
* @param {Callback<number> =} callback
|
|
216
216
|
**/
|
|
217
|
-
number: GenericStorageQuery<
|
|
217
|
+
number: GenericStorageQuery<() => number>;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Hash of the previous block.
|
|
221
221
|
*
|
|
222
222
|
* @param {Callback<H256> =} callback
|
|
223
223
|
**/
|
|
224
|
-
parentHash: GenericStorageQuery<
|
|
224
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Digest of the current block, also part of the block header.
|
|
228
228
|
*
|
|
229
229
|
* @param {Callback<Digest> =} callback
|
|
230
230
|
**/
|
|
231
|
-
digest: GenericStorageQuery<
|
|
231
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
232
232
|
|
|
233
233
|
/**
|
|
234
234
|
* Events deposited for the current block.
|
|
@@ -241,14 +241,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
241
241
|
*
|
|
242
242
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
243
243
|
**/
|
|
244
|
-
events: GenericStorageQuery<
|
|
244
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* The number of events in the `Events<T>` list.
|
|
248
248
|
*
|
|
249
249
|
* @param {Callback<number> =} callback
|
|
250
250
|
**/
|
|
251
|
-
eventCount: GenericStorageQuery<
|
|
251
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -265,21 +265,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
265
265
|
* @param {H256} arg
|
|
266
266
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
267
267
|
**/
|
|
268
|
-
eventTopics: GenericStorageQuery<
|
|
268
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
272
272
|
*
|
|
273
273
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
274
274
|
**/
|
|
275
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
275
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
279
279
|
*
|
|
280
280
|
* @param {Callback<boolean> =} callback
|
|
281
281
|
**/
|
|
282
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
282
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
285
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -287,21 +287,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
287
287
|
*
|
|
288
288
|
* @param {Callback<boolean> =} callback
|
|
289
289
|
**/
|
|
290
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
290
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* The execution phase of the block.
|
|
294
294
|
*
|
|
295
295
|
* @param {Callback<Phase | undefined> =} callback
|
|
296
296
|
**/
|
|
297
|
-
executionPhase: GenericStorageQuery<
|
|
297
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* `Some` if a code upgrade has been authorized.
|
|
301
301
|
*
|
|
302
302
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
303
303
|
**/
|
|
304
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
304
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* The weight reclaimed for the extrinsic.
|
|
@@ -314,12 +314,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
314
314
|
*
|
|
315
315
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
316
316
|
**/
|
|
317
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
317
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Generic pallet storage query
|
|
321
321
|
**/
|
|
322
|
-
[storage: string]: GenericStorageQuery
|
|
322
|
+
[storage: string]: GenericStorageQuery;
|
|
323
323
|
};
|
|
324
324
|
/**
|
|
325
325
|
* Pallet `Babe`'s storage queries
|
|
@@ -330,14 +330,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
330
330
|
*
|
|
331
331
|
* @param {Callback<bigint> =} callback
|
|
332
332
|
**/
|
|
333
|
-
epochIndex: GenericStorageQuery<
|
|
333
|
+
epochIndex: GenericStorageQuery<() => bigint>;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* Current epoch authorities.
|
|
337
337
|
*
|
|
338
338
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
339
339
|
**/
|
|
340
|
-
authorities: GenericStorageQuery<
|
|
340
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* The slot at which the first epoch actually started. This is 0
|
|
@@ -345,14 +345,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
345
345
|
*
|
|
346
346
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
347
347
|
**/
|
|
348
|
-
genesisSlot: GenericStorageQuery<
|
|
348
|
+
genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Current slot number.
|
|
352
352
|
*
|
|
353
353
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
354
354
|
**/
|
|
355
|
-
currentSlot: GenericStorageQuery<
|
|
355
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
358
|
* The epoch randomness for the *current* epoch.
|
|
@@ -368,28 +368,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
368
368
|
*
|
|
369
369
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
370
370
|
**/
|
|
371
|
-
randomness: GenericStorageQuery<
|
|
371
|
+
randomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
375
375
|
*
|
|
376
376
|
* @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
|
|
377
377
|
**/
|
|
378
|
-
pendingEpochConfigChange: GenericStorageQuery<
|
|
378
|
+
pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Next epoch randomness.
|
|
382
382
|
*
|
|
383
383
|
* @param {Callback<FixedBytes<32>> =} callback
|
|
384
384
|
**/
|
|
385
|
-
nextRandomness: GenericStorageQuery<
|
|
385
|
+
nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
|
|
386
386
|
|
|
387
387
|
/**
|
|
388
388
|
* Next epoch authorities.
|
|
389
389
|
*
|
|
390
390
|
* @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
|
|
391
391
|
**/
|
|
392
|
-
nextAuthorities: GenericStorageQuery<
|
|
392
|
+
nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* Randomness under construction.
|
|
@@ -404,7 +404,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
404
404
|
*
|
|
405
405
|
* @param {Callback<number> =} callback
|
|
406
406
|
**/
|
|
407
|
-
segmentIndex: GenericStorageQuery<
|
|
407
|
+
segmentIndex: GenericStorageQuery<() => number>;
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
@@ -412,7 +412,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
412
412
|
* @param {number} arg
|
|
413
413
|
* @param {Callback<Array<FixedBytes<32>>> =} callback
|
|
414
414
|
**/
|
|
415
|
-
underConstruction: GenericStorageQuery<
|
|
415
|
+
underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>, number>;
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
418
|
* Temporary value (cleared at block finalization) which is `Some`
|
|
@@ -420,7 +420,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
420
420
|
*
|
|
421
421
|
* @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
|
|
422
422
|
**/
|
|
423
|
-
initialized: GenericStorageQuery<
|
|
423
|
+
initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* This field should always be populated during block processing unless
|
|
@@ -430,7 +430,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
430
430
|
*
|
|
431
431
|
* @param {Callback<FixedBytes<32> | undefined> =} callback
|
|
432
432
|
**/
|
|
433
|
-
authorVrfRandomness: GenericStorageQuery<
|
|
433
|
+
authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
@@ -441,7 +441,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
441
441
|
*
|
|
442
442
|
* @param {Callback<[number, number]> =} callback
|
|
443
443
|
**/
|
|
444
|
-
epochStart: GenericStorageQuery<
|
|
444
|
+
epochStart: GenericStorageQuery<() => [number, number]>;
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* How late the current block is compared to its parent.
|
|
@@ -452,7 +452,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
452
452
|
*
|
|
453
453
|
* @param {Callback<number> =} callback
|
|
454
454
|
**/
|
|
455
|
-
lateness: GenericStorageQuery<
|
|
455
|
+
lateness: GenericStorageQuery<() => number>;
|
|
456
456
|
|
|
457
457
|
/**
|
|
458
458
|
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
@@ -460,7 +460,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
460
460
|
*
|
|
461
461
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
462
462
|
**/
|
|
463
|
-
epochConfig: GenericStorageQuery<
|
|
463
|
+
epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
466
|
* The configuration for the next epoch, `None` if the config will not change
|
|
@@ -468,7 +468,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
468
468
|
*
|
|
469
469
|
* @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
|
|
470
470
|
**/
|
|
471
|
-
nextEpochConfig: GenericStorageQuery<
|
|
471
|
+
nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* A list of the last 100 skipped epochs and the corresponding session index
|
|
@@ -482,12 +482,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
482
482
|
*
|
|
483
483
|
* @param {Callback<Array<[bigint, number]>> =} callback
|
|
484
484
|
**/
|
|
485
|
-
skippedEpochs: GenericStorageQuery<
|
|
485
|
+
skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Generic pallet storage query
|
|
489
489
|
**/
|
|
490
|
-
[storage: string]: GenericStorageQuery
|
|
490
|
+
[storage: string]: GenericStorageQuery;
|
|
491
491
|
};
|
|
492
492
|
/**
|
|
493
493
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -498,7 +498,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
498
498
|
*
|
|
499
499
|
* @param {Callback<bigint> =} callback
|
|
500
500
|
**/
|
|
501
|
-
now: GenericStorageQuery<
|
|
501
|
+
now: GenericStorageQuery<() => bigint>;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* Whether the timestamp has been updated in this block.
|
|
@@ -508,12 +508,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
508
508
|
*
|
|
509
509
|
* @param {Callback<boolean> =} callback
|
|
510
510
|
**/
|
|
511
|
-
didUpdate: GenericStorageQuery<
|
|
511
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
512
512
|
|
|
513
513
|
/**
|
|
514
514
|
* Generic pallet storage query
|
|
515
515
|
**/
|
|
516
|
-
[storage: string]: GenericStorageQuery
|
|
516
|
+
[storage: string]: GenericStorageQuery;
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
519
|
* Pallet `Indices`'s storage queries
|
|
@@ -525,12 +525,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
525
525
|
* @param {number} arg
|
|
526
526
|
* @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
|
|
527
527
|
**/
|
|
528
|
-
accounts: GenericStorageQuery<
|
|
528
|
+
accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined, number>;
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
531
|
* Generic pallet storage query
|
|
532
532
|
**/
|
|
533
|
-
[storage: string]: GenericStorageQuery
|
|
533
|
+
[storage: string]: GenericStorageQuery;
|
|
534
534
|
};
|
|
535
535
|
/**
|
|
536
536
|
* Pallet `Balances`'s storage queries
|
|
@@ -541,14 +541,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
541
541
|
*
|
|
542
542
|
* @param {Callback<bigint> =} callback
|
|
543
543
|
**/
|
|
544
|
-
totalIssuance: GenericStorageQuery<
|
|
544
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
547
|
* The total units of outstanding deactivated balance in the system.
|
|
548
548
|
*
|
|
549
549
|
* @param {Callback<bigint> =} callback
|
|
550
550
|
**/
|
|
551
|
-
inactiveIssuance: GenericStorageQuery<
|
|
551
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
554
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -579,7 +579,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
579
579
|
* @param {AccountId32Like} arg
|
|
580
580
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
581
581
|
**/
|
|
582
|
-
account: GenericStorageQuery<
|
|
582
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* Any liquidity locks on some account balances.
|
|
@@ -590,7 +590,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
590
590
|
* @param {AccountId32Like} arg
|
|
591
591
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
592
592
|
**/
|
|
593
|
-
locks: GenericStorageQuery<
|
|
593
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
596
|
* Named reserves on some account balances.
|
|
@@ -600,7 +600,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
600
600
|
* @param {AccountId32Like} arg
|
|
601
601
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
602
602
|
**/
|
|
603
|
-
reserves: GenericStorageQuery<
|
|
603
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
604
604
|
|
|
605
605
|
/**
|
|
606
606
|
* Holds on account balances.
|
|
@@ -608,7 +608,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
608
608
|
* @param {AccountId32Like} arg
|
|
609
609
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
610
610
|
**/
|
|
611
|
-
holds: GenericStorageQuery<
|
|
611
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
612
612
|
|
|
613
613
|
/**
|
|
614
614
|
* Freeze locks on account balances.
|
|
@@ -617,7 +617,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
617
617
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
618
618
|
**/
|
|
619
619
|
freezes: GenericStorageQuery<
|
|
620
|
-
Rv,
|
|
621
620
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
622
621
|
AccountId32
|
|
623
622
|
>;
|
|
@@ -625,7 +624,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
625
624
|
/**
|
|
626
625
|
* Generic pallet storage query
|
|
627
626
|
**/
|
|
628
|
-
[storage: string]: GenericStorageQuery
|
|
627
|
+
[storage: string]: GenericStorageQuery;
|
|
629
628
|
};
|
|
630
629
|
/**
|
|
631
630
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -635,18 +634,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
635
634
|
*
|
|
636
635
|
* @param {Callback<FixedU128> =} callback
|
|
637
636
|
**/
|
|
638
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
637
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
639
638
|
|
|
640
639
|
/**
|
|
641
640
|
*
|
|
642
641
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
643
642
|
**/
|
|
644
|
-
storageVersion: GenericStorageQuery<
|
|
643
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
645
644
|
|
|
646
645
|
/**
|
|
647
646
|
* Generic pallet storage query
|
|
648
647
|
**/
|
|
649
|
-
[storage: string]: GenericStorageQuery
|
|
648
|
+
[storage: string]: GenericStorageQuery;
|
|
650
649
|
};
|
|
651
650
|
/**
|
|
652
651
|
* Pallet `Authorship`'s storage queries
|
|
@@ -657,12 +656,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
657
656
|
*
|
|
658
657
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
659
658
|
**/
|
|
660
|
-
author: GenericStorageQuery<
|
|
659
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
661
660
|
|
|
662
661
|
/**
|
|
663
662
|
* Generic pallet storage query
|
|
664
663
|
**/
|
|
665
|
-
[storage: string]: GenericStorageQuery
|
|
664
|
+
[storage: string]: GenericStorageQuery;
|
|
666
665
|
};
|
|
667
666
|
/**
|
|
668
667
|
* Pallet `Staking`'s storage queries
|
|
@@ -673,14 +672,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
673
672
|
*
|
|
674
673
|
* @param {Callback<number> =} callback
|
|
675
674
|
**/
|
|
676
|
-
validatorCount: GenericStorageQuery<
|
|
675
|
+
validatorCount: GenericStorageQuery<() => number>;
|
|
677
676
|
|
|
678
677
|
/**
|
|
679
678
|
* Minimum number of staking participants before emergency conditions are imposed.
|
|
680
679
|
*
|
|
681
680
|
* @param {Callback<number> =} callback
|
|
682
681
|
**/
|
|
683
|
-
minimumValidatorCount: GenericStorageQuery<
|
|
682
|
+
minimumValidatorCount: GenericStorageQuery<() => number>;
|
|
684
683
|
|
|
685
684
|
/**
|
|
686
685
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
@@ -689,7 +688,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
689
688
|
*
|
|
690
689
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
691
690
|
**/
|
|
692
|
-
invulnerables: GenericStorageQuery<
|
|
691
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
693
692
|
|
|
694
693
|
/**
|
|
695
694
|
* Map from all locked "stash" accounts to the controller account.
|
|
@@ -699,28 +698,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
699
698
|
* @param {AccountId32Like} arg
|
|
700
699
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
701
700
|
**/
|
|
702
|
-
bonded: GenericStorageQuery<
|
|
701
|
+
bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
703
702
|
|
|
704
703
|
/**
|
|
705
704
|
* The minimum active bond to become and maintain the role of a nominator.
|
|
706
705
|
*
|
|
707
706
|
* @param {Callback<bigint> =} callback
|
|
708
707
|
**/
|
|
709
|
-
minNominatorBond: GenericStorageQuery<
|
|
708
|
+
minNominatorBond: GenericStorageQuery<() => bigint>;
|
|
710
709
|
|
|
711
710
|
/**
|
|
712
711
|
* The minimum active bond to become and maintain the role of a validator.
|
|
713
712
|
*
|
|
714
713
|
* @param {Callback<bigint> =} callback
|
|
715
714
|
**/
|
|
716
|
-
minValidatorBond: GenericStorageQuery<
|
|
715
|
+
minValidatorBond: GenericStorageQuery<() => bigint>;
|
|
717
716
|
|
|
718
717
|
/**
|
|
719
718
|
* The minimum active nominator stake of the last successful election.
|
|
720
719
|
*
|
|
721
720
|
* @param {Callback<bigint> =} callback
|
|
722
721
|
**/
|
|
723
|
-
minimumActiveStake: GenericStorageQuery<
|
|
722
|
+
minimumActiveStake: GenericStorageQuery<() => bigint>;
|
|
724
723
|
|
|
725
724
|
/**
|
|
726
725
|
* The minimum amount of commission that validators can set.
|
|
@@ -729,7 +728,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
729
728
|
*
|
|
730
729
|
* @param {Callback<Perbill> =} callback
|
|
731
730
|
**/
|
|
732
|
-
minCommission: GenericStorageQuery<
|
|
731
|
+
minCommission: GenericStorageQuery<() => Perbill>;
|
|
733
732
|
|
|
734
733
|
/**
|
|
735
734
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
@@ -740,7 +739,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
740
739
|
* @param {AccountId32Like} arg
|
|
741
740
|
* @param {Callback<PalletStakingStakingLedger | undefined> =} callback
|
|
742
741
|
**/
|
|
743
|
-
ledger: GenericStorageQuery<
|
|
742
|
+
ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined, AccountId32>;
|
|
744
743
|
|
|
745
744
|
/**
|
|
746
745
|
* Where the reward payment should be made. Keyed by stash.
|
|
@@ -750,7 +749,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
750
749
|
* @param {AccountId32Like} arg
|
|
751
750
|
* @param {Callback<PalletStakingRewardDestination | undefined> =} callback
|
|
752
751
|
**/
|
|
753
|
-
payee: GenericStorageQuery<
|
|
752
|
+
payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination | undefined, AccountId32>;
|
|
754
753
|
|
|
755
754
|
/**
|
|
756
755
|
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
@@ -760,14 +759,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
760
759
|
* @param {AccountId32Like} arg
|
|
761
760
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
762
761
|
**/
|
|
763
|
-
validators: GenericStorageQuery<
|
|
762
|
+
validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs, AccountId32>;
|
|
764
763
|
|
|
765
764
|
/**
|
|
766
765
|
* Counter for the related counted storage map
|
|
767
766
|
*
|
|
768
767
|
* @param {Callback<number> =} callback
|
|
769
768
|
**/
|
|
770
|
-
counterForValidators: GenericStorageQuery<
|
|
769
|
+
counterForValidators: GenericStorageQuery<() => number>;
|
|
771
770
|
|
|
772
771
|
/**
|
|
773
772
|
* The maximum validator count before we stop allowing new validators to join.
|
|
@@ -776,7 +775,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
776
775
|
*
|
|
777
776
|
* @param {Callback<number | undefined> =} callback
|
|
778
777
|
**/
|
|
779
|
-
maxValidatorsCount: GenericStorageQuery<
|
|
778
|
+
maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
780
779
|
|
|
781
780
|
/**
|
|
782
781
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
@@ -802,14 +801,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
802
801
|
* @param {AccountId32Like} arg
|
|
803
802
|
* @param {Callback<PalletStakingNominations | undefined> =} callback
|
|
804
803
|
**/
|
|
805
|
-
nominators: GenericStorageQuery<
|
|
804
|
+
nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined, AccountId32>;
|
|
806
805
|
|
|
807
806
|
/**
|
|
808
807
|
* Counter for the related counted storage map
|
|
809
808
|
*
|
|
810
809
|
* @param {Callback<number> =} callback
|
|
811
810
|
**/
|
|
812
|
-
counterForNominators: GenericStorageQuery<
|
|
811
|
+
counterForNominators: GenericStorageQuery<() => number>;
|
|
813
812
|
|
|
814
813
|
/**
|
|
815
814
|
* Stakers whose funds are managed by other pallets.
|
|
@@ -822,14 +821,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
822
821
|
* @param {AccountId32Like} arg
|
|
823
822
|
* @param {Callback<[] | undefined> =} callback
|
|
824
823
|
**/
|
|
825
|
-
virtualStakers: GenericStorageQuery<
|
|
824
|
+
virtualStakers: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
826
825
|
|
|
827
826
|
/**
|
|
828
827
|
* Counter for the related counted storage map
|
|
829
828
|
*
|
|
830
829
|
* @param {Callback<number> =} callback
|
|
831
830
|
**/
|
|
832
|
-
counterForVirtualStakers: GenericStorageQuery<
|
|
831
|
+
counterForVirtualStakers: GenericStorageQuery<() => number>;
|
|
833
832
|
|
|
834
833
|
/**
|
|
835
834
|
* The maximum nominator count before we stop allowing new validators to join.
|
|
@@ -838,7 +837,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
838
837
|
*
|
|
839
838
|
* @param {Callback<number | undefined> =} callback
|
|
840
839
|
**/
|
|
841
|
-
maxNominatorsCount: GenericStorageQuery<
|
|
840
|
+
maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
|
|
842
841
|
|
|
843
842
|
/**
|
|
844
843
|
* The current era index.
|
|
@@ -848,7 +847,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
848
847
|
*
|
|
849
848
|
* @param {Callback<number | undefined> =} callback
|
|
850
849
|
**/
|
|
851
|
-
currentEra: GenericStorageQuery<
|
|
850
|
+
currentEra: GenericStorageQuery<() => number | undefined>;
|
|
852
851
|
|
|
853
852
|
/**
|
|
854
853
|
* The active era information, it holds index and start.
|
|
@@ -858,7 +857,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
858
857
|
*
|
|
859
858
|
* @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
|
|
860
859
|
**/
|
|
861
|
-
activeEra: GenericStorageQuery<
|
|
860
|
+
activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
|
|
862
861
|
|
|
863
862
|
/**
|
|
864
863
|
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
|
@@ -869,7 +868,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
869
868
|
* @param {number} arg
|
|
870
869
|
* @param {Callback<number | undefined> =} callback
|
|
871
870
|
**/
|
|
872
|
-
erasStartSessionIndex: GenericStorageQuery<
|
|
871
|
+
erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
873
872
|
|
|
874
873
|
/**
|
|
875
874
|
* Exposure of validator at era.
|
|
@@ -884,7 +883,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
884
883
|
* @param {[number, AccountId32Like]} arg
|
|
885
884
|
* @param {Callback<SpStakingExposure> =} callback
|
|
886
885
|
**/
|
|
887
|
-
erasStakers: GenericStorageQuery<
|
|
886
|
+
erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => SpStakingExposure, [number, AccountId32]>;
|
|
888
887
|
|
|
889
888
|
/**
|
|
890
889
|
* Summary of validator exposure at a given era.
|
|
@@ -904,7 +903,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
904
903
|
* @param {Callback<SpStakingPagedExposureMetadata | undefined> =} callback
|
|
905
904
|
**/
|
|
906
905
|
erasStakersOverview: GenericStorageQuery<
|
|
907
|
-
Rv,
|
|
908
906
|
(arg: [number, AccountId32Like]) => SpStakingPagedExposureMetadata | undefined,
|
|
909
907
|
[number, AccountId32]
|
|
910
908
|
>;
|
|
@@ -931,7 +929,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
931
929
|
* @param {Callback<SpStakingExposure> =} callback
|
|
932
930
|
**/
|
|
933
931
|
erasStakersClipped: GenericStorageQuery<
|
|
934
|
-
Rv,
|
|
935
932
|
(arg: [number, AccountId32Like]) => SpStakingExposure,
|
|
936
933
|
[number, AccountId32]
|
|
937
934
|
>;
|
|
@@ -948,7 +945,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
948
945
|
* @param {Callback<SpStakingExposurePage | undefined> =} callback
|
|
949
946
|
**/
|
|
950
947
|
erasStakersPaged: GenericStorageQuery<
|
|
951
|
-
Rv,
|
|
952
948
|
(arg: [number, AccountId32Like, number]) => SpStakingExposurePage | undefined,
|
|
953
949
|
[number, AccountId32, number]
|
|
954
950
|
>;
|
|
@@ -964,7 +960,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
964
960
|
* @param {[number, AccountId32Like]} arg
|
|
965
961
|
* @param {Callback<Array<number>> =} callback
|
|
966
962
|
**/
|
|
967
|
-
claimedRewards: GenericStorageQuery<
|
|
963
|
+
claimedRewards: GenericStorageQuery<(arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
968
964
|
|
|
969
965
|
/**
|
|
970
966
|
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
@@ -977,7 +973,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
977
973
|
* @param {Callback<PalletStakingValidatorPrefs> =} callback
|
|
978
974
|
**/
|
|
979
975
|
erasValidatorPrefs: GenericStorageQuery<
|
|
980
|
-
Rv,
|
|
981
976
|
(arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs,
|
|
982
977
|
[number, AccountId32]
|
|
983
978
|
>;
|
|
@@ -990,7 +985,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
990
985
|
* @param {number} arg
|
|
991
986
|
* @param {Callback<bigint | undefined> =} callback
|
|
992
987
|
**/
|
|
993
|
-
erasValidatorReward: GenericStorageQuery<
|
|
988
|
+
erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
994
989
|
|
|
995
990
|
/**
|
|
996
991
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
|
@@ -999,7 +994,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
999
994
|
* @param {number} arg
|
|
1000
995
|
* @param {Callback<PalletStakingEraRewardPoints> =} callback
|
|
1001
996
|
**/
|
|
1002
|
-
erasRewardPoints: GenericStorageQuery<
|
|
997
|
+
erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints, number>;
|
|
1003
998
|
|
|
1004
999
|
/**
|
|
1005
1000
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
|
@@ -1008,14 +1003,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1008
1003
|
* @param {number} arg
|
|
1009
1004
|
* @param {Callback<bigint> =} callback
|
|
1010
1005
|
**/
|
|
1011
|
-
erasTotalStake: GenericStorageQuery<
|
|
1006
|
+
erasTotalStake: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
1012
1007
|
|
|
1013
1008
|
/**
|
|
1014
1009
|
* Mode of era forcing.
|
|
1015
1010
|
*
|
|
1016
1011
|
* @param {Callback<PalletStakingForcing> =} callback
|
|
1017
1012
|
**/
|
|
1018
|
-
forceEra: GenericStorageQuery<
|
|
1013
|
+
forceEra: GenericStorageQuery<() => PalletStakingForcing>;
|
|
1019
1014
|
|
|
1020
1015
|
/**
|
|
1021
1016
|
* Maximum staked rewards, i.e. the percentage of the era inflation that
|
|
@@ -1024,7 +1019,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1024
1019
|
*
|
|
1025
1020
|
* @param {Callback<Percent | undefined> =} callback
|
|
1026
1021
|
**/
|
|
1027
|
-
maxStakedRewards: GenericStorageQuery<
|
|
1022
|
+
maxStakedRewards: GenericStorageQuery<() => Percent | undefined>;
|
|
1028
1023
|
|
|
1029
1024
|
/**
|
|
1030
1025
|
* The percentage of the slash that is distributed to reporters.
|
|
@@ -1033,7 +1028,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1033
1028
|
*
|
|
1034
1029
|
* @param {Callback<Perbill> =} callback
|
|
1035
1030
|
**/
|
|
1036
|
-
slashRewardFraction: GenericStorageQuery<
|
|
1031
|
+
slashRewardFraction: GenericStorageQuery<() => Perbill>;
|
|
1037
1032
|
|
|
1038
1033
|
/**
|
|
1039
1034
|
* The amount of currency given to reporters of a slash event which was
|
|
@@ -1041,7 +1036,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1041
1036
|
*
|
|
1042
1037
|
* @param {Callback<bigint> =} callback
|
|
1043
1038
|
**/
|
|
1044
|
-
canceledSlashPayout: GenericStorageQuery<
|
|
1039
|
+
canceledSlashPayout: GenericStorageQuery<() => bigint>;
|
|
1045
1040
|
|
|
1046
1041
|
/**
|
|
1047
1042
|
* All unapplied slashes that are queued for later.
|
|
@@ -1049,7 +1044,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1049
1044
|
* @param {number} arg
|
|
1050
1045
|
* @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
|
|
1051
1046
|
**/
|
|
1052
|
-
unappliedSlashes: GenericStorageQuery<
|
|
1047
|
+
unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>, number>;
|
|
1053
1048
|
|
|
1054
1049
|
/**
|
|
1055
1050
|
* A mapping from still-bonded eras to the first session index of that era.
|
|
@@ -1059,7 +1054,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1059
1054
|
*
|
|
1060
1055
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
1061
1056
|
**/
|
|
1062
|
-
bondedEras: GenericStorageQuery<
|
|
1057
|
+
bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
|
|
1063
1058
|
|
|
1064
1059
|
/**
|
|
1065
1060
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
@@ -1069,7 +1064,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1069
1064
|
* @param {Callback<[Perbill, bigint] | undefined> =} callback
|
|
1070
1065
|
**/
|
|
1071
1066
|
validatorSlashInEra: GenericStorageQuery<
|
|
1072
|
-
Rv,
|
|
1073
1067
|
(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined,
|
|
1074
1068
|
[number, AccountId32]
|
|
1075
1069
|
>;
|
|
@@ -1081,7 +1075,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1081
1075
|
* @param {Callback<bigint | undefined> =} callback
|
|
1082
1076
|
**/
|
|
1083
1077
|
nominatorSlashInEra: GenericStorageQuery<
|
|
1084
|
-
Rv,
|
|
1085
1078
|
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
1086
1079
|
[number, AccountId32]
|
|
1087
1080
|
>;
|
|
@@ -1093,7 +1086,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1093
1086
|
* @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
|
|
1094
1087
|
**/
|
|
1095
1088
|
slashingSpans: GenericStorageQuery<
|
|
1096
|
-
Rv,
|
|
1097
1089
|
(arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined,
|
|
1098
1090
|
AccountId32
|
|
1099
1091
|
>;
|
|
@@ -1106,7 +1098,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1106
1098
|
* @param {Callback<PalletStakingSlashingSpanRecord> =} callback
|
|
1107
1099
|
**/
|
|
1108
1100
|
spanSlash: GenericStorageQuery<
|
|
1109
|
-
Rv,
|
|
1110
1101
|
(arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord,
|
|
1111
1102
|
[AccountId32, number]
|
|
1112
1103
|
>;
|
|
@@ -1118,7 +1109,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1118
1109
|
*
|
|
1119
1110
|
* @param {Callback<number> =} callback
|
|
1120
1111
|
**/
|
|
1121
|
-
currentPlannedSession: GenericStorageQuery<
|
|
1112
|
+
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1122
1113
|
|
|
1123
1114
|
/**
|
|
1124
1115
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
@@ -1127,12 +1118,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1127
1118
|
*
|
|
1128
1119
|
* @param {Callback<Percent | undefined> =} callback
|
|
1129
1120
|
**/
|
|
1130
|
-
chillThreshold: GenericStorageQuery<
|
|
1121
|
+
chillThreshold: GenericStorageQuery<() => Percent | undefined>;
|
|
1131
1122
|
|
|
1132
1123
|
/**
|
|
1133
1124
|
* Generic pallet storage query
|
|
1134
1125
|
**/
|
|
1135
|
-
[storage: string]: GenericStorageQuery
|
|
1126
|
+
[storage: string]: GenericStorageQuery;
|
|
1136
1127
|
};
|
|
1137
1128
|
/**
|
|
1138
1129
|
* Pallet `Offences`'s storage queries
|
|
@@ -1144,7 +1135,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1144
1135
|
* @param {H256} arg
|
|
1145
1136
|
* @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
|
|
1146
1137
|
**/
|
|
1147
|
-
reports: GenericStorageQuery<
|
|
1138
|
+
reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined, H256>;
|
|
1148
1139
|
|
|
1149
1140
|
/**
|
|
1150
1141
|
* A vector of reports of the same kind that happened at the same time slot.
|
|
@@ -1153,7 +1144,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1153
1144
|
* @param {Callback<Array<H256>> =} callback
|
|
1154
1145
|
**/
|
|
1155
1146
|
concurrentReportsIndex: GenericStorageQuery<
|
|
1156
|
-
Rv,
|
|
1157
1147
|
(arg: [FixedBytes<16>, BytesLike]) => Array<H256>,
|
|
1158
1148
|
[FixedBytes<16>, Bytes]
|
|
1159
1149
|
>;
|
|
@@ -1161,7 +1151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1161
1151
|
/**
|
|
1162
1152
|
* Generic pallet storage query
|
|
1163
1153
|
**/
|
|
1164
|
-
[storage: string]: GenericStorageQuery
|
|
1154
|
+
[storage: string]: GenericStorageQuery;
|
|
1165
1155
|
};
|
|
1166
1156
|
/**
|
|
1167
1157
|
* Pallet `Historical`'s storage queries
|
|
@@ -1173,19 +1163,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1173
1163
|
* @param {number} arg
|
|
1174
1164
|
* @param {Callback<[H256, number] | undefined> =} callback
|
|
1175
1165
|
**/
|
|
1176
|
-
historicalSessions: GenericStorageQuery<
|
|
1166
|
+
historicalSessions: GenericStorageQuery<(arg: number) => [H256, number] | undefined, number>;
|
|
1177
1167
|
|
|
1178
1168
|
/**
|
|
1179
1169
|
* The range of historical sessions we store. [first, last)
|
|
1180
1170
|
*
|
|
1181
1171
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1182
1172
|
**/
|
|
1183
|
-
storedRange: GenericStorageQuery<
|
|
1173
|
+
storedRange: GenericStorageQuery<() => [number, number] | undefined>;
|
|
1184
1174
|
|
|
1185
1175
|
/**
|
|
1186
1176
|
* Generic pallet storage query
|
|
1187
1177
|
**/
|
|
1188
|
-
[storage: string]: GenericStorageQuery
|
|
1178
|
+
[storage: string]: GenericStorageQuery;
|
|
1189
1179
|
};
|
|
1190
1180
|
/**
|
|
1191
1181
|
* Pallet `Parameters`'s storage queries
|
|
@@ -1198,7 +1188,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1198
1188
|
* @param {Callback<WestendRuntimeRuntimeParametersValue | undefined> =} callback
|
|
1199
1189
|
**/
|
|
1200
1190
|
parameters: GenericStorageQuery<
|
|
1201
|
-
Rv,
|
|
1202
1191
|
(arg: WestendRuntimeRuntimeParametersKey) => WestendRuntimeRuntimeParametersValue | undefined,
|
|
1203
1192
|
WestendRuntimeRuntimeParametersKey
|
|
1204
1193
|
>;
|
|
@@ -1206,7 +1195,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1206
1195
|
/**
|
|
1207
1196
|
* Generic pallet storage query
|
|
1208
1197
|
**/
|
|
1209
|
-
[storage: string]: GenericStorageQuery
|
|
1198
|
+
[storage: string]: GenericStorageQuery;
|
|
1210
1199
|
};
|
|
1211
1200
|
/**
|
|
1212
1201
|
* Pallet `Session`'s storage queries
|
|
@@ -1217,14 +1206,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1217
1206
|
*
|
|
1218
1207
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1219
1208
|
**/
|
|
1220
|
-
validators: GenericStorageQuery<
|
|
1209
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1221
1210
|
|
|
1222
1211
|
/**
|
|
1223
1212
|
* Current index of the session.
|
|
1224
1213
|
*
|
|
1225
1214
|
* @param {Callback<number> =} callback
|
|
1226
1215
|
**/
|
|
1227
|
-
currentIndex: GenericStorageQuery<
|
|
1216
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1228
1217
|
|
|
1229
1218
|
/**
|
|
1230
1219
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1232,7 +1221,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1232
1221
|
*
|
|
1233
1222
|
* @param {Callback<boolean> =} callback
|
|
1234
1223
|
**/
|
|
1235
|
-
queuedChanged: GenericStorageQuery<
|
|
1224
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1236
1225
|
|
|
1237
1226
|
/**
|
|
1238
1227
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1240,7 +1229,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1240
1229
|
*
|
|
1241
1230
|
* @param {Callback<Array<[AccountId32, WestendRuntimeSessionKeys]>> =} callback
|
|
1242
1231
|
**/
|
|
1243
|
-
queuedKeys: GenericStorageQuery<
|
|
1232
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, WestendRuntimeSessionKeys]>>;
|
|
1244
1233
|
|
|
1245
1234
|
/**
|
|
1246
1235
|
* Indices of disabled validators.
|
|
@@ -1251,7 +1240,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1251
1240
|
*
|
|
1252
1241
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1253
1242
|
**/
|
|
1254
|
-
disabledValidators: GenericStorageQuery<
|
|
1243
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1255
1244
|
|
|
1256
1245
|
/**
|
|
1257
1246
|
* The next session keys for a validator.
|
|
@@ -1259,7 +1248,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1259
1248
|
* @param {AccountId32Like} arg
|
|
1260
1249
|
* @param {Callback<WestendRuntimeSessionKeys | undefined> =} callback
|
|
1261
1250
|
**/
|
|
1262
|
-
nextKeys: GenericStorageQuery<
|
|
1251
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => WestendRuntimeSessionKeys | undefined, AccountId32>;
|
|
1263
1252
|
|
|
1264
1253
|
/**
|
|
1265
1254
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1268,7 +1257,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1268
1257
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1269
1258
|
**/
|
|
1270
1259
|
keyOwner: GenericStorageQuery<
|
|
1271
|
-
Rv,
|
|
1272
1260
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1273
1261
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1274
1262
|
>;
|
|
@@ -1276,7 +1264,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1276
1264
|
/**
|
|
1277
1265
|
* Generic pallet storage query
|
|
1278
1266
|
**/
|
|
1279
|
-
[storage: string]: GenericStorageQuery
|
|
1267
|
+
[storage: string]: GenericStorageQuery;
|
|
1280
1268
|
};
|
|
1281
1269
|
/**
|
|
1282
1270
|
* Pallet `Grandpa`'s storage queries
|
|
@@ -1287,28 +1275,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1287
1275
|
*
|
|
1288
1276
|
* @param {Callback<PalletGrandpaStoredState> =} callback
|
|
1289
1277
|
**/
|
|
1290
|
-
state: GenericStorageQuery<
|
|
1278
|
+
state: GenericStorageQuery<() => PalletGrandpaStoredState>;
|
|
1291
1279
|
|
|
1292
1280
|
/**
|
|
1293
1281
|
* Pending change: (signaled at, scheduled change).
|
|
1294
1282
|
*
|
|
1295
1283
|
* @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
|
|
1296
1284
|
**/
|
|
1297
|
-
pendingChange: GenericStorageQuery<
|
|
1285
|
+
pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
|
|
1298
1286
|
|
|
1299
1287
|
/**
|
|
1300
1288
|
* next block number where we can force a change.
|
|
1301
1289
|
*
|
|
1302
1290
|
* @param {Callback<number | undefined> =} callback
|
|
1303
1291
|
**/
|
|
1304
|
-
nextForced: GenericStorageQuery<
|
|
1292
|
+
nextForced: GenericStorageQuery<() => number | undefined>;
|
|
1305
1293
|
|
|
1306
1294
|
/**
|
|
1307
1295
|
* `true` if we are currently stalled.
|
|
1308
1296
|
*
|
|
1309
1297
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1310
1298
|
**/
|
|
1311
|
-
stalled: GenericStorageQuery<
|
|
1299
|
+
stalled: GenericStorageQuery<() => [number, number] | undefined>;
|
|
1312
1300
|
|
|
1313
1301
|
/**
|
|
1314
1302
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
@@ -1316,7 +1304,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1316
1304
|
*
|
|
1317
1305
|
* @param {Callback<bigint> =} callback
|
|
1318
1306
|
**/
|
|
1319
|
-
currentSetId: GenericStorageQuery<
|
|
1307
|
+
currentSetId: GenericStorageQuery<() => bigint>;
|
|
1320
1308
|
|
|
1321
1309
|
/**
|
|
1322
1310
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
@@ -1333,19 +1321,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1333
1321
|
* @param {bigint} arg
|
|
1334
1322
|
* @param {Callback<number | undefined> =} callback
|
|
1335
1323
|
**/
|
|
1336
|
-
setIdSession: GenericStorageQuery<
|
|
1324
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
1337
1325
|
|
|
1338
1326
|
/**
|
|
1339
1327
|
* The current list of authorities.
|
|
1340
1328
|
*
|
|
1341
1329
|
* @param {Callback<Array<[SpConsensusGrandpaAppPublic, bigint]>> =} callback
|
|
1342
1330
|
**/
|
|
1343
|
-
authorities: GenericStorageQuery<
|
|
1331
|
+
authorities: GenericStorageQuery<() => Array<[SpConsensusGrandpaAppPublic, bigint]>>;
|
|
1344
1332
|
|
|
1345
1333
|
/**
|
|
1346
1334
|
* Generic pallet storage query
|
|
1347
1335
|
**/
|
|
1348
|
-
[storage: string]: GenericStorageQuery
|
|
1336
|
+
[storage: string]: GenericStorageQuery;
|
|
1349
1337
|
};
|
|
1350
1338
|
/**
|
|
1351
1339
|
* Pallet `AuthorityDiscovery`'s storage queries
|
|
@@ -1356,19 +1344,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1356
1344
|
*
|
|
1357
1345
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
1358
1346
|
**/
|
|
1359
|
-
keys: GenericStorageQuery<
|
|
1347
|
+
keys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
1360
1348
|
|
|
1361
1349
|
/**
|
|
1362
1350
|
* Keys of the next authority set.
|
|
1363
1351
|
*
|
|
1364
1352
|
* @param {Callback<Array<SpAuthorityDiscoveryAppPublic>> =} callback
|
|
1365
1353
|
**/
|
|
1366
|
-
nextKeys: GenericStorageQuery<
|
|
1354
|
+
nextKeys: GenericStorageQuery<() => Array<SpAuthorityDiscoveryAppPublic>>;
|
|
1367
1355
|
|
|
1368
1356
|
/**
|
|
1369
1357
|
* Generic pallet storage query
|
|
1370
1358
|
**/
|
|
1371
|
-
[storage: string]: GenericStorageQuery
|
|
1359
|
+
[storage: string]: GenericStorageQuery;
|
|
1372
1360
|
};
|
|
1373
1361
|
/**
|
|
1374
1362
|
* Pallet `Identity`'s storage queries
|
|
@@ -1383,7 +1371,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1383
1371
|
* @param {AccountId32Like} arg
|
|
1384
1372
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
1385
1373
|
**/
|
|
1386
|
-
identityOf: GenericStorageQuery<
|
|
1374
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
1387
1375
|
|
|
1388
1376
|
/**
|
|
1389
1377
|
* Identifies the primary username of an account.
|
|
@@ -1391,7 +1379,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1391
1379
|
* @param {AccountId32Like} arg
|
|
1392
1380
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1393
1381
|
**/
|
|
1394
|
-
usernameOf: GenericStorageQuery<
|
|
1382
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1395
1383
|
|
|
1396
1384
|
/**
|
|
1397
1385
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -1400,7 +1388,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1400
1388
|
* @param {AccountId32Like} arg
|
|
1401
1389
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
1402
1390
|
**/
|
|
1403
|
-
superOf: GenericStorageQuery<
|
|
1391
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
1404
1392
|
|
|
1405
1393
|
/**
|
|
1406
1394
|
* Alternative "sub" identities of this account.
|
|
@@ -1412,7 +1400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1412
1400
|
* @param {AccountId32Like} arg
|
|
1413
1401
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
1414
1402
|
**/
|
|
1415
|
-
subsOf: GenericStorageQuery<
|
|
1403
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
1416
1404
|
|
|
1417
1405
|
/**
|
|
1418
1406
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1422,7 +1410,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1422
1410
|
*
|
|
1423
1411
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1424
1412
|
**/
|
|
1425
|
-
registrars: GenericStorageQuery<
|
|
1413
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1426
1414
|
|
|
1427
1415
|
/**
|
|
1428
1416
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1430,7 +1418,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1430
1418
|
* @param {BytesLike} arg
|
|
1431
1419
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1432
1420
|
**/
|
|
1433
|
-
authorityOf: GenericStorageQuery<
|
|
1421
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
1434
1422
|
|
|
1435
1423
|
/**
|
|
1436
1424
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -1443,7 +1431,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1443
1431
|
* @param {BytesLike} arg
|
|
1444
1432
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
1445
1433
|
**/
|
|
1446
|
-
usernameInfoOf: GenericStorageQuery<
|
|
1434
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
1447
1435
|
|
|
1448
1436
|
/**
|
|
1449
1437
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1457,7 +1445,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1457
1445
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
1458
1446
|
**/
|
|
1459
1447
|
pendingUsernames: GenericStorageQuery<
|
|
1460
|
-
Rv,
|
|
1461
1448
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
1462
1449
|
Bytes
|
|
1463
1450
|
>;
|
|
@@ -1471,12 +1458,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1471
1458
|
* @param {BytesLike} arg
|
|
1472
1459
|
* @param {Callback<number | undefined> =} callback
|
|
1473
1460
|
**/
|
|
1474
|
-
unbindingUsernames: GenericStorageQuery<
|
|
1461
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1475
1462
|
|
|
1476
1463
|
/**
|
|
1477
1464
|
* Generic pallet storage query
|
|
1478
1465
|
**/
|
|
1479
|
-
[storage: string]: GenericStorageQuery
|
|
1466
|
+
[storage: string]: GenericStorageQuery;
|
|
1480
1467
|
};
|
|
1481
1468
|
/**
|
|
1482
1469
|
* Pallet `Recovery`'s storage queries
|
|
@@ -1488,11 +1475,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1488
1475
|
* @param {AccountId32Like} arg
|
|
1489
1476
|
* @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
|
|
1490
1477
|
**/
|
|
1491
|
-
recoverable: GenericStorageQuery<
|
|
1492
|
-
Rv,
|
|
1493
|
-
(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined,
|
|
1494
|
-
AccountId32
|
|
1495
|
-
>;
|
|
1478
|
+
recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined, AccountId32>;
|
|
1496
1479
|
|
|
1497
1480
|
/**
|
|
1498
1481
|
* Active recovery attempts.
|
|
@@ -1504,7 +1487,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1504
1487
|
* @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
|
|
1505
1488
|
**/
|
|
1506
1489
|
activeRecoveries: GenericStorageQuery<
|
|
1507
|
-
Rv,
|
|
1508
1490
|
(arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined,
|
|
1509
1491
|
[AccountId32, AccountId32]
|
|
1510
1492
|
>;
|
|
@@ -1517,12 +1499,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1517
1499
|
* @param {AccountId32Like} arg
|
|
1518
1500
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1519
1501
|
**/
|
|
1520
|
-
proxy: GenericStorageQuery<
|
|
1502
|
+
proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
1521
1503
|
|
|
1522
1504
|
/**
|
|
1523
1505
|
* Generic pallet storage query
|
|
1524
1506
|
**/
|
|
1525
|
-
[storage: string]: GenericStorageQuery
|
|
1507
|
+
[storage: string]: GenericStorageQuery;
|
|
1526
1508
|
};
|
|
1527
1509
|
/**
|
|
1528
1510
|
* Pallet `Vesting`'s storage queries
|
|
@@ -1534,11 +1516,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1534
1516
|
* @param {AccountId32Like} arg
|
|
1535
1517
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
1536
1518
|
**/
|
|
1537
|
-
vesting: GenericStorageQuery<
|
|
1538
|
-
Rv,
|
|
1539
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
1540
|
-
AccountId32
|
|
1541
|
-
>;
|
|
1519
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
1542
1520
|
|
|
1543
1521
|
/**
|
|
1544
1522
|
* Storage version of the pallet.
|
|
@@ -1547,12 +1525,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1547
1525
|
*
|
|
1548
1526
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
1549
1527
|
**/
|
|
1550
|
-
storageVersion: GenericStorageQuery<
|
|
1528
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
1551
1529
|
|
|
1552
1530
|
/**
|
|
1553
1531
|
* Generic pallet storage query
|
|
1554
1532
|
**/
|
|
1555
|
-
[storage: string]: GenericStorageQuery
|
|
1533
|
+
[storage: string]: GenericStorageQuery;
|
|
1556
1534
|
};
|
|
1557
1535
|
/**
|
|
1558
1536
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -1563,7 +1541,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1563
1541
|
*
|
|
1564
1542
|
* @param {Callback<number | undefined> =} callback
|
|
1565
1543
|
**/
|
|
1566
|
-
incompleteSince: GenericStorageQuery<
|
|
1544
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
1567
1545
|
|
|
1568
1546
|
/**
|
|
1569
1547
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -1571,7 +1549,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1571
1549
|
* @param {number} arg
|
|
1572
1550
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
1573
1551
|
**/
|
|
1574
|
-
agenda: GenericStorageQuery<
|
|
1552
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
1575
1553
|
|
|
1576
1554
|
/**
|
|
1577
1555
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -1579,11 +1557,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1579
1557
|
* @param {[number, number]} arg
|
|
1580
1558
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
1581
1559
|
**/
|
|
1582
|
-
retries: GenericStorageQuery<
|
|
1583
|
-
Rv,
|
|
1584
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
1585
|
-
[number, number]
|
|
1586
|
-
>;
|
|
1560
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
1587
1561
|
|
|
1588
1562
|
/**
|
|
1589
1563
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -1594,12 +1568,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1594
1568
|
* @param {FixedBytes<32>} arg
|
|
1595
1569
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1596
1570
|
**/
|
|
1597
|
-
lookup: GenericStorageQuery<
|
|
1571
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
1598
1572
|
|
|
1599
1573
|
/**
|
|
1600
1574
|
* Generic pallet storage query
|
|
1601
1575
|
**/
|
|
1602
|
-
[storage: string]: GenericStorageQuery
|
|
1576
|
+
[storage: string]: GenericStorageQuery;
|
|
1603
1577
|
};
|
|
1604
1578
|
/**
|
|
1605
1579
|
* Pallet `Preimage`'s storage queries
|
|
@@ -1613,7 +1587,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1613
1587
|
*
|
|
1614
1588
|
* @deprecated RequestStatusFor
|
|
1615
1589
|
**/
|
|
1616
|
-
statusFor: GenericStorageQuery<
|
|
1590
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1617
1591
|
|
|
1618
1592
|
/**
|
|
1619
1593
|
* The request status of a given hash.
|
|
@@ -1621,19 +1595,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1621
1595
|
* @param {H256} arg
|
|
1622
1596
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
1623
1597
|
**/
|
|
1624
|
-
requestStatusFor: GenericStorageQuery<
|
|
1598
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
1625
1599
|
|
|
1626
1600
|
/**
|
|
1627
1601
|
*
|
|
1628
1602
|
* @param {[H256, number]} arg
|
|
1629
1603
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1630
1604
|
**/
|
|
1631
|
-
preimageFor: GenericStorageQuery<
|
|
1605
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
1632
1606
|
|
|
1633
1607
|
/**
|
|
1634
1608
|
* Generic pallet storage query
|
|
1635
1609
|
**/
|
|
1636
|
-
[storage: string]: GenericStorageQuery
|
|
1610
|
+
[storage: string]: GenericStorageQuery;
|
|
1637
1611
|
};
|
|
1638
1612
|
/**
|
|
1639
1613
|
* Pallet `Sudo`'s storage queries
|
|
@@ -1644,12 +1618,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1644
1618
|
*
|
|
1645
1619
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1646
1620
|
**/
|
|
1647
|
-
key: GenericStorageQuery<
|
|
1621
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1648
1622
|
|
|
1649
1623
|
/**
|
|
1650
1624
|
* Generic pallet storage query
|
|
1651
1625
|
**/
|
|
1652
|
-
[storage: string]: GenericStorageQuery
|
|
1626
|
+
[storage: string]: GenericStorageQuery;
|
|
1653
1627
|
};
|
|
1654
1628
|
/**
|
|
1655
1629
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1662,11 +1636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1662
1636
|
* @param {AccountId32Like} arg
|
|
1663
1637
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1664
1638
|
**/
|
|
1665
|
-
proxies: GenericStorageQuery<
|
|
1666
|
-
Rv,
|
|
1667
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1668
|
-
AccountId32
|
|
1669
|
-
>;
|
|
1639
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1670
1640
|
|
|
1671
1641
|
/**
|
|
1672
1642
|
* The announcements made by the proxy (key).
|
|
@@ -1674,16 +1644,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1674
1644
|
* @param {AccountId32Like} arg
|
|
1675
1645
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1676
1646
|
**/
|
|
1677
|
-
announcements: GenericStorageQuery<
|
|
1678
|
-
Rv,
|
|
1679
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1680
|
-
AccountId32
|
|
1681
|
-
>;
|
|
1647
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1682
1648
|
|
|
1683
1649
|
/**
|
|
1684
1650
|
* Generic pallet storage query
|
|
1685
1651
|
**/
|
|
1686
|
-
[storage: string]: GenericStorageQuery
|
|
1652
|
+
[storage: string]: GenericStorageQuery;
|
|
1687
1653
|
};
|
|
1688
1654
|
/**
|
|
1689
1655
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1696,7 +1662,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1696
1662
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1697
1663
|
**/
|
|
1698
1664
|
multisigs: GenericStorageQuery<
|
|
1699
|
-
Rv,
|
|
1700
1665
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1701
1666
|
[AccountId32, FixedBytes<32>]
|
|
1702
1667
|
>;
|
|
@@ -1704,7 +1669,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1704
1669
|
/**
|
|
1705
1670
|
* Generic pallet storage query
|
|
1706
1671
|
**/
|
|
1707
|
-
[storage: string]: GenericStorageQuery
|
|
1672
|
+
[storage: string]: GenericStorageQuery;
|
|
1708
1673
|
};
|
|
1709
1674
|
/**
|
|
1710
1675
|
* Pallet `ElectionProviderMultiPhase`'s storage queries
|
|
@@ -1720,14 +1685,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1720
1685
|
*
|
|
1721
1686
|
* @param {Callback<number> =} callback
|
|
1722
1687
|
**/
|
|
1723
|
-
round: GenericStorageQuery<
|
|
1688
|
+
round: GenericStorageQuery<() => number>;
|
|
1724
1689
|
|
|
1725
1690
|
/**
|
|
1726
1691
|
* Current phase.
|
|
1727
1692
|
*
|
|
1728
1693
|
* @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
|
|
1729
1694
|
**/
|
|
1730
|
-
currentPhase: GenericStorageQuery<
|
|
1695
|
+
currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
|
|
1731
1696
|
|
|
1732
1697
|
/**
|
|
1733
1698
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
@@ -1736,7 +1701,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1736
1701
|
*
|
|
1737
1702
|
* @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
|
|
1738
1703
|
**/
|
|
1739
|
-
queuedSolution: GenericStorageQuery<
|
|
1704
|
+
queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
|
|
1740
1705
|
|
|
1741
1706
|
/**
|
|
1742
1707
|
* Snapshot data of the round.
|
|
@@ -1746,7 +1711,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1746
1711
|
*
|
|
1747
1712
|
* @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
|
|
1748
1713
|
**/
|
|
1749
|
-
snapshot: GenericStorageQuery<
|
|
1714
|
+
snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
|
|
1750
1715
|
|
|
1751
1716
|
/**
|
|
1752
1717
|
* Desired number of targets to elect for this round.
|
|
@@ -1756,7 +1721,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1756
1721
|
*
|
|
1757
1722
|
* @param {Callback<number | undefined> =} callback
|
|
1758
1723
|
**/
|
|
1759
|
-
desiredTargets: GenericStorageQuery<
|
|
1724
|
+
desiredTargets: GenericStorageQuery<() => number | undefined>;
|
|
1760
1725
|
|
|
1761
1726
|
/**
|
|
1762
1727
|
* The metadata of the [`RoundSnapshot`]
|
|
@@ -1766,7 +1731,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1766
1731
|
*
|
|
1767
1732
|
* @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
|
|
1768
1733
|
**/
|
|
1769
|
-
snapshotMetadata: GenericStorageQuery<
|
|
1734
|
+
snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
|
|
1770
1735
|
|
|
1771
1736
|
/**
|
|
1772
1737
|
* The next index to be assigned to an incoming signed submission.
|
|
@@ -1781,7 +1746,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1781
1746
|
*
|
|
1782
1747
|
* @param {Callback<number> =} callback
|
|
1783
1748
|
**/
|
|
1784
|
-
signedSubmissionNextIndex: GenericStorageQuery<
|
|
1749
|
+
signedSubmissionNextIndex: GenericStorageQuery<() => number>;
|
|
1785
1750
|
|
|
1786
1751
|
/**
|
|
1787
1752
|
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
|
@@ -1793,7 +1758,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1793
1758
|
*
|
|
1794
1759
|
* @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
|
|
1795
1760
|
**/
|
|
1796
|
-
signedSubmissionIndices: GenericStorageQuery<
|
|
1761
|
+
signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
|
|
1797
1762
|
|
|
1798
1763
|
/**
|
|
1799
1764
|
* Unchecked, signed solutions.
|
|
@@ -1808,7 +1773,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1808
1773
|
* @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
|
|
1809
1774
|
**/
|
|
1810
1775
|
signedSubmissionsMap: GenericStorageQuery<
|
|
1811
|
-
Rv,
|
|
1812
1776
|
(arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined,
|
|
1813
1777
|
number
|
|
1814
1778
|
>;
|
|
@@ -1821,12 +1785,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1821
1785
|
*
|
|
1822
1786
|
* @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
|
|
1823
1787
|
**/
|
|
1824
|
-
minimumUntrustedScore: GenericStorageQuery<
|
|
1788
|
+
minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
|
|
1825
1789
|
|
|
1826
1790
|
/**
|
|
1827
1791
|
* Generic pallet storage query
|
|
1828
1792
|
**/
|
|
1829
|
-
[storage: string]: GenericStorageQuery
|
|
1793
|
+
[storage: string]: GenericStorageQuery;
|
|
1830
1794
|
};
|
|
1831
1795
|
/**
|
|
1832
1796
|
* Pallet `VoterList`'s storage queries
|
|
@@ -1840,14 +1804,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1840
1804
|
* @param {AccountId32Like} arg
|
|
1841
1805
|
* @param {Callback<PalletBagsListListNode | undefined> =} callback
|
|
1842
1806
|
**/
|
|
1843
|
-
listNodes: GenericStorageQuery<
|
|
1807
|
+
listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined, AccountId32>;
|
|
1844
1808
|
|
|
1845
1809
|
/**
|
|
1846
1810
|
* Counter for the related counted storage map
|
|
1847
1811
|
*
|
|
1848
1812
|
* @param {Callback<number> =} callback
|
|
1849
1813
|
**/
|
|
1850
|
-
counterForListNodes: GenericStorageQuery<
|
|
1814
|
+
counterForListNodes: GenericStorageQuery<() => number>;
|
|
1851
1815
|
|
|
1852
1816
|
/**
|
|
1853
1817
|
* A bag stored in storage.
|
|
@@ -1857,7 +1821,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1857
1821
|
* @param {bigint} arg
|
|
1858
1822
|
* @param {Callback<PalletBagsListListBag | undefined> =} callback
|
|
1859
1823
|
**/
|
|
1860
|
-
listBags: GenericStorageQuery<
|
|
1824
|
+
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
1861
1825
|
|
|
1862
1826
|
/**
|
|
1863
1827
|
* Pointer that remembers the next node that will be auto-rebagged.
|
|
@@ -1865,7 +1829,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1865
1829
|
*
|
|
1866
1830
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1867
1831
|
**/
|
|
1868
|
-
nextNodeAutoRebagged: GenericStorageQuery<
|
|
1832
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1869
1833
|
|
|
1870
1834
|
/**
|
|
1871
1835
|
* Lock all updates to this pallet.
|
|
@@ -1875,12 +1839,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1875
1839
|
*
|
|
1876
1840
|
* @param {Callback<[] | undefined> =} callback
|
|
1877
1841
|
**/
|
|
1878
|
-
lock: GenericStorageQuery<
|
|
1842
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
1879
1843
|
|
|
1880
1844
|
/**
|
|
1881
1845
|
* Generic pallet storage query
|
|
1882
1846
|
**/
|
|
1883
|
-
[storage: string]: GenericStorageQuery
|
|
1847
|
+
[storage: string]: GenericStorageQuery;
|
|
1884
1848
|
};
|
|
1885
1849
|
/**
|
|
1886
1850
|
* Pallet `NominationPools`'s storage queries
|
|
@@ -1895,14 +1859,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1895
1859
|
*
|
|
1896
1860
|
* @param {Callback<bigint> =} callback
|
|
1897
1861
|
**/
|
|
1898
|
-
totalValueLocked: GenericStorageQuery<
|
|
1862
|
+
totalValueLocked: GenericStorageQuery<() => bigint>;
|
|
1899
1863
|
|
|
1900
1864
|
/**
|
|
1901
1865
|
* Minimum amount to bond to join a pool.
|
|
1902
1866
|
*
|
|
1903
1867
|
* @param {Callback<bigint> =} callback
|
|
1904
1868
|
**/
|
|
1905
|
-
minJoinBond: GenericStorageQuery<
|
|
1869
|
+
minJoinBond: GenericStorageQuery<() => bigint>;
|
|
1906
1870
|
|
|
1907
1871
|
/**
|
|
1908
1872
|
* Minimum bond required to create a pool.
|
|
@@ -1915,7 +1879,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1915
1879
|
*
|
|
1916
1880
|
* @param {Callback<bigint> =} callback
|
|
1917
1881
|
**/
|
|
1918
|
-
minCreateBond: GenericStorageQuery<
|
|
1882
|
+
minCreateBond: GenericStorageQuery<() => bigint>;
|
|
1919
1883
|
|
|
1920
1884
|
/**
|
|
1921
1885
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
|
@@ -1923,7 +1887,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1923
1887
|
*
|
|
1924
1888
|
* @param {Callback<number | undefined> =} callback
|
|
1925
1889
|
**/
|
|
1926
|
-
maxPools: GenericStorageQuery<
|
|
1890
|
+
maxPools: GenericStorageQuery<() => number | undefined>;
|
|
1927
1891
|
|
|
1928
1892
|
/**
|
|
1929
1893
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
|
@@ -1931,7 +1895,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1931
1895
|
*
|
|
1932
1896
|
* @param {Callback<number | undefined> =} callback
|
|
1933
1897
|
**/
|
|
1934
|
-
maxPoolMembers: GenericStorageQuery<
|
|
1898
|
+
maxPoolMembers: GenericStorageQuery<() => number | undefined>;
|
|
1935
1899
|
|
|
1936
1900
|
/**
|
|
1937
1901
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
|
@@ -1939,7 +1903,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1939
1903
|
*
|
|
1940
1904
|
* @param {Callback<number | undefined> =} callback
|
|
1941
1905
|
**/
|
|
1942
|
-
maxPoolMembersPerPool: GenericStorageQuery<
|
|
1906
|
+
maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
|
|
1943
1907
|
|
|
1944
1908
|
/**
|
|
1945
1909
|
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
@@ -1948,7 +1912,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1948
1912
|
*
|
|
1949
1913
|
* @param {Callback<Perbill | undefined> =} callback
|
|
1950
1914
|
**/
|
|
1951
|
-
globalMaxCommission: GenericStorageQuery<
|
|
1915
|
+
globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
|
|
1952
1916
|
|
|
1953
1917
|
/**
|
|
1954
1918
|
* Active members.
|
|
@@ -1959,7 +1923,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1959
1923
|
* @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
|
|
1960
1924
|
**/
|
|
1961
1925
|
poolMembers: GenericStorageQuery<
|
|
1962
|
-
Rv,
|
|
1963
1926
|
(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined,
|
|
1964
1927
|
AccountId32
|
|
1965
1928
|
>;
|
|
@@ -1969,7 +1932,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1969
1932
|
*
|
|
1970
1933
|
* @param {Callback<number> =} callback
|
|
1971
1934
|
**/
|
|
1972
|
-
counterForPoolMembers: GenericStorageQuery<
|
|
1935
|
+
counterForPoolMembers: GenericStorageQuery<() => number>;
|
|
1973
1936
|
|
|
1974
1937
|
/**
|
|
1975
1938
|
* Storage for bonded pools.
|
|
@@ -1977,14 +1940,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1977
1940
|
* @param {number} arg
|
|
1978
1941
|
* @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
|
|
1979
1942
|
**/
|
|
1980
|
-
bondedPools: GenericStorageQuery<
|
|
1943
|
+
bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined, number>;
|
|
1981
1944
|
|
|
1982
1945
|
/**
|
|
1983
1946
|
* Counter for the related counted storage map
|
|
1984
1947
|
*
|
|
1985
1948
|
* @param {Callback<number> =} callback
|
|
1986
1949
|
**/
|
|
1987
|
-
counterForBondedPools: GenericStorageQuery<
|
|
1950
|
+
counterForBondedPools: GenericStorageQuery<() => number>;
|
|
1988
1951
|
|
|
1989
1952
|
/**
|
|
1990
1953
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
@@ -1993,14 +1956,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1993
1956
|
* @param {number} arg
|
|
1994
1957
|
* @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
|
|
1995
1958
|
**/
|
|
1996
|
-
rewardPools: GenericStorageQuery<
|
|
1959
|
+
rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined, number>;
|
|
1997
1960
|
|
|
1998
1961
|
/**
|
|
1999
1962
|
* Counter for the related counted storage map
|
|
2000
1963
|
*
|
|
2001
1964
|
* @param {Callback<number> =} callback
|
|
2002
1965
|
**/
|
|
2003
|
-
counterForRewardPools: GenericStorageQuery<
|
|
1966
|
+
counterForRewardPools: GenericStorageQuery<() => number>;
|
|
2004
1967
|
|
|
2005
1968
|
/**
|
|
2006
1969
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
@@ -2009,14 +1972,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2009
1972
|
* @param {number} arg
|
|
2010
1973
|
* @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
|
|
2011
1974
|
**/
|
|
2012
|
-
subPoolsStorage: GenericStorageQuery<
|
|
1975
|
+
subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined, number>;
|
|
2013
1976
|
|
|
2014
1977
|
/**
|
|
2015
1978
|
* Counter for the related counted storage map
|
|
2016
1979
|
*
|
|
2017
1980
|
* @param {Callback<number> =} callback
|
|
2018
1981
|
**/
|
|
2019
|
-
counterForSubPoolsStorage: GenericStorageQuery<
|
|
1982
|
+
counterForSubPoolsStorage: GenericStorageQuery<() => number>;
|
|
2020
1983
|
|
|
2021
1984
|
/**
|
|
2022
1985
|
* Metadata for the pool.
|
|
@@ -2024,21 +1987,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2024
1987
|
* @param {number} arg
|
|
2025
1988
|
* @param {Callback<Bytes> =} callback
|
|
2026
1989
|
**/
|
|
2027
|
-
metadata: GenericStorageQuery<
|
|
1990
|
+
metadata: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
2028
1991
|
|
|
2029
1992
|
/**
|
|
2030
1993
|
* Counter for the related counted storage map
|
|
2031
1994
|
*
|
|
2032
1995
|
* @param {Callback<number> =} callback
|
|
2033
1996
|
**/
|
|
2034
|
-
counterForMetadata: GenericStorageQuery<
|
|
1997
|
+
counterForMetadata: GenericStorageQuery<() => number>;
|
|
2035
1998
|
|
|
2036
1999
|
/**
|
|
2037
2000
|
* Ever increasing number of all pools created so far.
|
|
2038
2001
|
*
|
|
2039
2002
|
* @param {Callback<number> =} callback
|
|
2040
2003
|
**/
|
|
2041
|
-
lastPoolId: GenericStorageQuery<
|
|
2004
|
+
lastPoolId: GenericStorageQuery<() => number>;
|
|
2042
2005
|
|
|
2043
2006
|
/**
|
|
2044
2007
|
* A reverse lookup from the pool's account id to its id.
|
|
@@ -2049,14 +2012,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2049
2012
|
* @param {AccountId32Like} arg
|
|
2050
2013
|
* @param {Callback<number | undefined> =} callback
|
|
2051
2014
|
**/
|
|
2052
|
-
reversePoolIdLookup: GenericStorageQuery<
|
|
2015
|
+
reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
2053
2016
|
|
|
2054
2017
|
/**
|
|
2055
2018
|
* Counter for the related counted storage map
|
|
2056
2019
|
*
|
|
2057
2020
|
* @param {Callback<number> =} callback
|
|
2058
2021
|
**/
|
|
2059
|
-
counterForReversePoolIdLookup: GenericStorageQuery<
|
|
2022
|
+
counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
|
|
2060
2023
|
|
|
2061
2024
|
/**
|
|
2062
2025
|
* Map from a pool member account to their opted claim permission.
|
|
@@ -2064,16 +2027,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2064
2027
|
* @param {AccountId32Like} arg
|
|
2065
2028
|
* @param {Callback<PalletNominationPoolsClaimPermission> =} callback
|
|
2066
2029
|
**/
|
|
2067
|
-
claimPermissions: GenericStorageQuery<
|
|
2068
|
-
Rv,
|
|
2069
|
-
(arg: AccountId32Like) => PalletNominationPoolsClaimPermission,
|
|
2070
|
-
AccountId32
|
|
2071
|
-
>;
|
|
2030
|
+
claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission, AccountId32>;
|
|
2072
2031
|
|
|
2073
2032
|
/**
|
|
2074
2033
|
* Generic pallet storage query
|
|
2075
2034
|
**/
|
|
2076
|
-
[storage: string]: GenericStorageQuery
|
|
2035
|
+
[storage: string]: GenericStorageQuery;
|
|
2077
2036
|
};
|
|
2078
2037
|
/**
|
|
2079
2038
|
* Pallet `FastUnstake`'s storage queries
|
|
@@ -2086,7 +2045,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2086
2045
|
*
|
|
2087
2046
|
* @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
|
|
2088
2047
|
**/
|
|
2089
|
-
head: GenericStorageQuery<
|
|
2048
|
+
head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
|
|
2090
2049
|
|
|
2091
2050
|
/**
|
|
2092
2051
|
* The map of all accounts wishing to be unstaked.
|
|
@@ -2096,14 +2055,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2096
2055
|
* @param {AccountId32Like} arg
|
|
2097
2056
|
* @param {Callback<bigint | undefined> =} callback
|
|
2098
2057
|
**/
|
|
2099
|
-
queue: GenericStorageQuery<
|
|
2058
|
+
queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
2100
2059
|
|
|
2101
2060
|
/**
|
|
2102
2061
|
* Counter for the related counted storage map
|
|
2103
2062
|
*
|
|
2104
2063
|
* @param {Callback<number> =} callback
|
|
2105
2064
|
**/
|
|
2106
|
-
counterForQueue: GenericStorageQuery<
|
|
2065
|
+
counterForQueue: GenericStorageQuery<() => number>;
|
|
2107
2066
|
|
|
2108
2067
|
/**
|
|
2109
2068
|
* Number of eras to check per block.
|
|
@@ -2117,12 +2076,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2117
2076
|
*
|
|
2118
2077
|
* @param {Callback<number> =} callback
|
|
2119
2078
|
**/
|
|
2120
|
-
erasToCheckPerBlock: GenericStorageQuery<
|
|
2079
|
+
erasToCheckPerBlock: GenericStorageQuery<() => number>;
|
|
2121
2080
|
|
|
2122
2081
|
/**
|
|
2123
2082
|
* Generic pallet storage query
|
|
2124
2083
|
**/
|
|
2125
|
-
[storage: string]: GenericStorageQuery
|
|
2084
|
+
[storage: string]: GenericStorageQuery;
|
|
2126
2085
|
};
|
|
2127
2086
|
/**
|
|
2128
2087
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -2136,7 +2095,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2136
2095
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
2137
2096
|
**/
|
|
2138
2097
|
votingFor: GenericStorageQuery<
|
|
2139
|
-
Rv,
|
|
2140
2098
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
2141
2099
|
[AccountId32, number]
|
|
2142
2100
|
>;
|
|
@@ -2149,12 +2107,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2149
2107
|
* @param {AccountId32Like} arg
|
|
2150
2108
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2151
2109
|
**/
|
|
2152
|
-
classLocksFor: GenericStorageQuery<
|
|
2110
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
2153
2111
|
|
|
2154
2112
|
/**
|
|
2155
2113
|
* Generic pallet storage query
|
|
2156
2114
|
**/
|
|
2157
|
-
[storage: string]: GenericStorageQuery
|
|
2115
|
+
[storage: string]: GenericStorageQuery;
|
|
2158
2116
|
};
|
|
2159
2117
|
/**
|
|
2160
2118
|
* Pallet `Referenda`'s storage queries
|
|
@@ -2165,7 +2123,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2165
2123
|
*
|
|
2166
2124
|
* @param {Callback<number> =} callback
|
|
2167
2125
|
**/
|
|
2168
|
-
referendumCount: GenericStorageQuery<
|
|
2126
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
2169
2127
|
|
|
2170
2128
|
/**
|
|
2171
2129
|
* Information concerning any given referendum.
|
|
@@ -2173,7 +2131,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2173
2131
|
* @param {number} arg
|
|
2174
2132
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
2175
2133
|
**/
|
|
2176
|
-
referendumInfoFor: GenericStorageQuery<
|
|
2134
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
2177
2135
|
|
|
2178
2136
|
/**
|
|
2179
2137
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -2184,7 +2142,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2184
2142
|
* @param {number} arg
|
|
2185
2143
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
2186
2144
|
**/
|
|
2187
|
-
trackQueue: GenericStorageQuery<
|
|
2145
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
2188
2146
|
|
|
2189
2147
|
/**
|
|
2190
2148
|
* The number of referenda being decided currently.
|
|
@@ -2192,7 +2150,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2192
2150
|
* @param {number} arg
|
|
2193
2151
|
* @param {Callback<number> =} callback
|
|
2194
2152
|
**/
|
|
2195
|
-
decidingCount: GenericStorageQuery<
|
|
2153
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
2196
2154
|
|
|
2197
2155
|
/**
|
|
2198
2156
|
* The metadata is a general information concerning the referendum.
|
|
@@ -2205,12 +2163,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2205
2163
|
* @param {number} arg
|
|
2206
2164
|
* @param {Callback<H256 | undefined> =} callback
|
|
2207
2165
|
**/
|
|
2208
|
-
metadataOf: GenericStorageQuery<
|
|
2166
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
2209
2167
|
|
|
2210
2168
|
/**
|
|
2211
2169
|
* Generic pallet storage query
|
|
2212
2170
|
**/
|
|
2213
|
-
[storage: string]: GenericStorageQuery
|
|
2171
|
+
[storage: string]: GenericStorageQuery;
|
|
2214
2172
|
};
|
|
2215
2173
|
/**
|
|
2216
2174
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -2221,12 +2179,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2221
2179
|
* @param {H256} arg
|
|
2222
2180
|
* @param {Callback<[] | undefined> =} callback
|
|
2223
2181
|
**/
|
|
2224
|
-
whitelistedCall: GenericStorageQuery<
|
|
2182
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
2225
2183
|
|
|
2226
2184
|
/**
|
|
2227
2185
|
* Generic pallet storage query
|
|
2228
2186
|
**/
|
|
2229
|
-
[storage: string]: GenericStorageQuery
|
|
2187
|
+
[storage: string]: GenericStorageQuery;
|
|
2230
2188
|
};
|
|
2231
2189
|
/**
|
|
2232
2190
|
* Pallet `Treasury`'s storage queries
|
|
@@ -2240,7 +2198,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2240
2198
|
*
|
|
2241
2199
|
* @param {Callback<number> =} callback
|
|
2242
2200
|
**/
|
|
2243
|
-
proposalCount: GenericStorageQuery<
|
|
2201
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2244
2202
|
|
|
2245
2203
|
/**
|
|
2246
2204
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2251,14 +2209,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2251
2209
|
* @param {number} arg
|
|
2252
2210
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2253
2211
|
**/
|
|
2254
|
-
proposals: GenericStorageQuery<
|
|
2212
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2255
2213
|
|
|
2256
2214
|
/**
|
|
2257
2215
|
* The amount which has been reported as inactive to Currency.
|
|
2258
2216
|
*
|
|
2259
2217
|
* @param {Callback<bigint> =} callback
|
|
2260
2218
|
**/
|
|
2261
|
-
deactivated: GenericStorageQuery<
|
|
2219
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
2262
2220
|
|
|
2263
2221
|
/**
|
|
2264
2222
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -2268,14 +2226,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2268
2226
|
*
|
|
2269
2227
|
* @param {Callback<Array<number>> =} callback
|
|
2270
2228
|
**/
|
|
2271
|
-
approvals: GenericStorageQuery<
|
|
2229
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
2272
2230
|
|
|
2273
2231
|
/**
|
|
2274
2232
|
* The count of spends that have been made.
|
|
2275
2233
|
*
|
|
2276
2234
|
* @param {Callback<number> =} callback
|
|
2277
2235
|
**/
|
|
2278
|
-
spendCount: GenericStorageQuery<
|
|
2236
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
2279
2237
|
|
|
2280
2238
|
/**
|
|
2281
2239
|
* Spends that have been approved and being processed.
|
|
@@ -2283,19 +2241,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2283
2241
|
* @param {number} arg
|
|
2284
2242
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
2285
2243
|
**/
|
|
2286
|
-
spends: GenericStorageQuery<
|
|
2244
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
2287
2245
|
|
|
2288
2246
|
/**
|
|
2289
2247
|
* The blocknumber for the last triggered spend period.
|
|
2290
2248
|
*
|
|
2291
2249
|
* @param {Callback<number | undefined> =} callback
|
|
2292
2250
|
**/
|
|
2293
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
2251
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
2294
2252
|
|
|
2295
2253
|
/**
|
|
2296
2254
|
* Generic pallet storage query
|
|
2297
2255
|
**/
|
|
2298
|
-
[storage: string]: GenericStorageQuery
|
|
2256
|
+
[storage: string]: GenericStorageQuery;
|
|
2299
2257
|
};
|
|
2300
2258
|
/**
|
|
2301
2259
|
* Pallet `DelegatedStaking`'s storage queries
|
|
@@ -2311,7 +2269,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2311
2269
|
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2312
2270
|
**/
|
|
2313
2271
|
delegators: GenericStorageQuery<
|
|
2314
|
-
Rv,
|
|
2315
2272
|
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2316
2273
|
AccountId32
|
|
2317
2274
|
>;
|
|
@@ -2321,7 +2278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2321
2278
|
*
|
|
2322
2279
|
* @param {Callback<number> =} callback
|
|
2323
2280
|
**/
|
|
2324
|
-
counterForDelegators: GenericStorageQuery<
|
|
2281
|
+
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2325
2282
|
|
|
2326
2283
|
/**
|
|
2327
2284
|
* Map of `Agent` to their `Ledger`.
|
|
@@ -2329,23 +2286,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2329
2286
|
* @param {AccountId32Like} arg
|
|
2330
2287
|
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2331
2288
|
**/
|
|
2332
|
-
agents: GenericStorageQuery<
|
|
2333
|
-
Rv,
|
|
2334
|
-
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2335
|
-
AccountId32
|
|
2336
|
-
>;
|
|
2289
|
+
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2337
2290
|
|
|
2338
2291
|
/**
|
|
2339
2292
|
* Counter for the related counted storage map
|
|
2340
2293
|
*
|
|
2341
2294
|
* @param {Callback<number> =} callback
|
|
2342
2295
|
**/
|
|
2343
|
-
counterForAgents: GenericStorageQuery<
|
|
2296
|
+
counterForAgents: GenericStorageQuery<() => number>;
|
|
2344
2297
|
|
|
2345
2298
|
/**
|
|
2346
2299
|
* Generic pallet storage query
|
|
2347
2300
|
**/
|
|
2348
|
-
[storage: string]: GenericStorageQuery
|
|
2301
|
+
[storage: string]: GenericStorageQuery;
|
|
2349
2302
|
};
|
|
2350
2303
|
/**
|
|
2351
2304
|
* Pallet `Configuration`'s storage queries
|
|
@@ -2356,7 +2309,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2356
2309
|
*
|
|
2357
2310
|
* @param {Callback<PolkadotRuntimeParachainsConfigurationHostConfiguration> =} callback
|
|
2358
2311
|
**/
|
|
2359
|
-
activeConfig: GenericStorageQuery<
|
|
2312
|
+
activeConfig: GenericStorageQuery<() => PolkadotRuntimeParachainsConfigurationHostConfiguration>;
|
|
2360
2313
|
|
|
2361
2314
|
/**
|
|
2362
2315
|
* Pending configuration changes.
|
|
@@ -2369,10 +2322,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2369
2322
|
*
|
|
2370
2323
|
* @param {Callback<Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>> =} callback
|
|
2371
2324
|
**/
|
|
2372
|
-
pendingConfigs: GenericStorageQuery<
|
|
2373
|
-
Rv,
|
|
2374
|
-
() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>
|
|
2375
|
-
>;
|
|
2325
|
+
pendingConfigs: GenericStorageQuery<() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>;
|
|
2376
2326
|
|
|
2377
2327
|
/**
|
|
2378
2328
|
* If this is set, then the configuration setters will bypass the consistency checks. This
|
|
@@ -2380,12 +2330,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2380
2330
|
*
|
|
2381
2331
|
* @param {Callback<boolean> =} callback
|
|
2382
2332
|
**/
|
|
2383
|
-
bypassConsistencyCheck: GenericStorageQuery<
|
|
2333
|
+
bypassConsistencyCheck: GenericStorageQuery<() => boolean>;
|
|
2384
2334
|
|
|
2385
2335
|
/**
|
|
2386
2336
|
* Generic pallet storage query
|
|
2387
2337
|
**/
|
|
2388
|
-
[storage: string]: GenericStorageQuery
|
|
2338
|
+
[storage: string]: GenericStorageQuery;
|
|
2389
2339
|
};
|
|
2390
2340
|
/**
|
|
2391
2341
|
* Pallet `ParasShared`'s storage queries
|
|
@@ -2396,7 +2346,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2396
2346
|
*
|
|
2397
2347
|
* @param {Callback<number> =} callback
|
|
2398
2348
|
**/
|
|
2399
|
-
currentSessionIndex: GenericStorageQuery<
|
|
2349
|
+
currentSessionIndex: GenericStorageQuery<() => number>;
|
|
2400
2350
|
|
|
2401
2351
|
/**
|
|
2402
2352
|
* All the validators actively participating in parachain consensus.
|
|
@@ -2404,7 +2354,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2404
2354
|
*
|
|
2405
2355
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
|
|
2406
2356
|
**/
|
|
2407
|
-
activeValidatorIndices: GenericStorageQuery<
|
|
2357
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorIndex>>;
|
|
2408
2358
|
|
|
2409
2359
|
/**
|
|
2410
2360
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
@@ -2412,19 +2362,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2412
2362
|
*
|
|
2413
2363
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
|
|
2414
2364
|
**/
|
|
2415
|
-
activeValidatorKeys: GenericStorageQuery<
|
|
2365
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
|
|
2416
2366
|
|
|
2417
2367
|
/**
|
|
2418
2368
|
* All allowed relay-parents.
|
|
2419
2369
|
*
|
|
2420
2370
|
* @param {Callback<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker> =} callback
|
|
2421
2371
|
**/
|
|
2422
|
-
allowedRelayParents: GenericStorageQuery<
|
|
2372
|
+
allowedRelayParents: GenericStorageQuery<() => PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>;
|
|
2423
2373
|
|
|
2424
2374
|
/**
|
|
2425
2375
|
* Generic pallet storage query
|
|
2426
2376
|
**/
|
|
2427
|
-
[storage: string]: GenericStorageQuery
|
|
2377
|
+
[storage: string]: GenericStorageQuery;
|
|
2428
2378
|
};
|
|
2429
2379
|
/**
|
|
2430
2380
|
* Pallet `ParaInclusion`'s storage queries
|
|
@@ -2441,7 +2391,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2441
2391
|
* @param {Callback<Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined> =} callback
|
|
2442
2392
|
**/
|
|
2443
2393
|
v1: GenericStorageQuery<
|
|
2444
|
-
Rv,
|
|
2445
2394
|
(
|
|
2446
2395
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2447
2396
|
) => Array<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability> | undefined,
|
|
@@ -2451,7 +2400,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2451
2400
|
/**
|
|
2452
2401
|
* Generic pallet storage query
|
|
2453
2402
|
**/
|
|
2454
|
-
[storage: string]: GenericStorageQuery
|
|
2403
|
+
[storage: string]: GenericStorageQuery;
|
|
2455
2404
|
};
|
|
2456
2405
|
/**
|
|
2457
2406
|
* Pallet `ParaInherent`'s storage queries
|
|
@@ -2467,19 +2416,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2467
2416
|
*
|
|
2468
2417
|
* @param {Callback<[] | undefined> =} callback
|
|
2469
2418
|
**/
|
|
2470
|
-
included: GenericStorageQuery<
|
|
2419
|
+
included: GenericStorageQuery<() => [] | undefined>;
|
|
2471
2420
|
|
|
2472
2421
|
/**
|
|
2473
2422
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2474
2423
|
*
|
|
2475
2424
|
* @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
|
|
2476
2425
|
**/
|
|
2477
|
-
onChainVotes: GenericStorageQuery<
|
|
2426
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
|
|
2478
2427
|
|
|
2479
2428
|
/**
|
|
2480
2429
|
* Generic pallet storage query
|
|
2481
2430
|
**/
|
|
2482
|
-
[storage: string]: GenericStorageQuery
|
|
2431
|
+
[storage: string]: GenericStorageQuery;
|
|
2483
2432
|
};
|
|
2484
2433
|
/**
|
|
2485
2434
|
* Pallet `ParaScheduler`'s storage queries
|
|
@@ -2496,7 +2445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2496
2445
|
*
|
|
2497
2446
|
* @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
|
|
2498
2447
|
**/
|
|
2499
|
-
validatorGroups: GenericStorageQuery<
|
|
2448
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
|
|
2500
2449
|
|
|
2501
2450
|
/**
|
|
2502
2451
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2509,7 +2458,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2509
2458
|
*
|
|
2510
2459
|
* @param {Callback<number> =} callback
|
|
2511
2460
|
**/
|
|
2512
|
-
sessionStartBlock: GenericStorageQuery<
|
|
2461
|
+
sessionStartBlock: GenericStorageQuery<() => number>;
|
|
2513
2462
|
|
|
2514
2463
|
/**
|
|
2515
2464
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
@@ -2518,14 +2467,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2518
2467
|
* @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
|
|
2519
2468
|
**/
|
|
2520
2469
|
claimQueue: GenericStorageQuery<
|
|
2521
|
-
Rv,
|
|
2522
2470
|
() => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
|
|
2523
2471
|
>;
|
|
2524
2472
|
|
|
2525
2473
|
/**
|
|
2526
2474
|
* Generic pallet storage query
|
|
2527
2475
|
**/
|
|
2528
|
-
[storage: string]: GenericStorageQuery
|
|
2476
|
+
[storage: string]: GenericStorageQuery;
|
|
2529
2477
|
};
|
|
2530
2478
|
/**
|
|
2531
2479
|
* Pallet `Paras`'s storage queries
|
|
@@ -2541,7 +2489,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2541
2489
|
* @param {Callback<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined> =} callback
|
|
2542
2490
|
**/
|
|
2543
2491
|
pvfActiveVoteMap: GenericStorageQuery<
|
|
2544
|
-
Rv,
|
|
2545
2492
|
(
|
|
2546
2493
|
arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
2547
2494
|
) => PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined,
|
|
@@ -2553,7 +2500,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2553
2500
|
*
|
|
2554
2501
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>> =} callback
|
|
2555
2502
|
**/
|
|
2556
|
-
pvfActiveVoteList: GenericStorageQuery<
|
|
2503
|
+
pvfActiveVoteList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>;
|
|
2557
2504
|
|
|
2558
2505
|
/**
|
|
2559
2506
|
* All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
|
|
@@ -2563,7 +2510,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2563
2510
|
*
|
|
2564
2511
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
2565
2512
|
**/
|
|
2566
|
-
parachains: GenericStorageQuery<
|
|
2513
|
+
parachains: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
2567
2514
|
|
|
2568
2515
|
/**
|
|
2569
2516
|
* The current lifecycle of a all known Para IDs.
|
|
@@ -2572,7 +2519,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2572
2519
|
* @param {Callback<PolkadotRuntimeParachainsParasParaLifecycle | undefined> =} callback
|
|
2573
2520
|
**/
|
|
2574
2521
|
paraLifecycles: GenericStorageQuery<
|
|
2575
|
-
Rv,
|
|
2576
2522
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaLifecycle | undefined,
|
|
2577
2523
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2578
2524
|
>;
|
|
@@ -2584,7 +2530,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2584
2530
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesHeadData | undefined> =} callback
|
|
2585
2531
|
**/
|
|
2586
2532
|
heads: GenericStorageQuery<
|
|
2587
|
-
Rv,
|
|
2588
2533
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesHeadData | undefined,
|
|
2589
2534
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2590
2535
|
>;
|
|
@@ -2596,7 +2541,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2596
2541
|
* @param {Callback<number | undefined> =} callback
|
|
2597
2542
|
**/
|
|
2598
2543
|
mostRecentContext: GenericStorageQuery<
|
|
2599
|
-
Rv,
|
|
2600
2544
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
2601
2545
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2602
2546
|
>;
|
|
@@ -2610,7 +2554,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2610
2554
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
2611
2555
|
**/
|
|
2612
2556
|
currentCodeHash: GenericStorageQuery<
|
|
2613
|
-
Rv,
|
|
2614
2557
|
(
|
|
2615
2558
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2616
2559
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -2627,7 +2570,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2627
2570
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
2628
2571
|
**/
|
|
2629
2572
|
pastCodeHash: GenericStorageQuery<
|
|
2630
|
-
Rv,
|
|
2631
2573
|
(
|
|
2632
2574
|
arg: [PolkadotParachainPrimitivesPrimitivesId, number],
|
|
2633
2575
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -2643,7 +2585,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2643
2585
|
* @param {Callback<PolkadotRuntimeParachainsParasParaPastCodeMeta> =} callback
|
|
2644
2586
|
**/
|
|
2645
2587
|
pastCodeMeta: GenericStorageQuery<
|
|
2646
|
-
Rv,
|
|
2647
2588
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
2648
2589
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2649
2590
|
>;
|
|
@@ -2658,7 +2599,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2658
2599
|
*
|
|
2659
2600
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
2660
2601
|
**/
|
|
2661
|
-
pastCodePruning: GenericStorageQuery<
|
|
2602
|
+
pastCodePruning: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
2662
2603
|
|
|
2663
2604
|
/**
|
|
2664
2605
|
* The block number at which the planned code change is expected for a parachain.
|
|
@@ -2670,7 +2611,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2670
2611
|
* @param {Callback<number | undefined> =} callback
|
|
2671
2612
|
**/
|
|
2672
2613
|
futureCodeUpgrades: GenericStorageQuery<
|
|
2673
|
-
Rv,
|
|
2674
2614
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
2675
2615
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2676
2616
|
>;
|
|
@@ -2687,7 +2627,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2687
2627
|
*
|
|
2688
2628
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
2689
2629
|
**/
|
|
2690
|
-
futureCodeUpgradesAt: GenericStorageQuery<
|
|
2630
|
+
futureCodeUpgradesAt: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
2691
2631
|
|
|
2692
2632
|
/**
|
|
2693
2633
|
* The actual future code hash of a para.
|
|
@@ -2698,7 +2638,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2698
2638
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
|
|
2699
2639
|
**/
|
|
2700
2640
|
futureCodeHash: GenericStorageQuery<
|
|
2701
|
-
Rv,
|
|
2702
2641
|
(
|
|
2703
2642
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2704
2643
|
) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined,
|
|
@@ -2712,7 +2651,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2712
2651
|
* @param {Callback<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined> =} callback
|
|
2713
2652
|
**/
|
|
2714
2653
|
authorizedCodeHash: GenericStorageQuery<
|
|
2715
|
-
Rv,
|
|
2716
2654
|
(
|
|
2717
2655
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2718
2656
|
) => PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined,
|
|
@@ -2735,7 +2673,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2735
2673
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
2736
2674
|
**/
|
|
2737
2675
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2738
|
-
Rv,
|
|
2739
2676
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
|
|
2740
2677
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2741
2678
|
>;
|
|
@@ -2755,7 +2692,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2755
2692
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
2756
2693
|
**/
|
|
2757
2694
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2758
|
-
Rv,
|
|
2759
2695
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
|
|
2760
2696
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2761
2697
|
>;
|
|
@@ -2767,7 +2703,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2767
2703
|
*
|
|
2768
2704
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
2769
2705
|
**/
|
|
2770
|
-
upgradeCooldowns: GenericStorageQuery<
|
|
2706
|
+
upgradeCooldowns: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
2771
2707
|
|
|
2772
2708
|
/**
|
|
2773
2709
|
* The list of upcoming code upgrades.
|
|
@@ -2779,7 +2715,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2779
2715
|
*
|
|
2780
2716
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
|
|
2781
2717
|
**/
|
|
2782
|
-
upcomingUpgrades: GenericStorageQuery<
|
|
2718
|
+
upcomingUpgrades: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
|
|
2783
2719
|
|
|
2784
2720
|
/**
|
|
2785
2721
|
* The actions to perform during the start of a specific session index.
|
|
@@ -2787,7 +2723,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2787
2723
|
* @param {number} arg
|
|
2788
2724
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
2789
2725
|
**/
|
|
2790
|
-
actionsQueue: GenericStorageQuery<
|
|
2726
|
+
actionsQueue: GenericStorageQuery<(arg: number) => Array<PolkadotParachainPrimitivesPrimitivesId>, number>;
|
|
2791
2727
|
|
|
2792
2728
|
/**
|
|
2793
2729
|
* Upcoming paras instantiation arguments.
|
|
@@ -2799,7 +2735,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2799
2735
|
* @param {Callback<PolkadotRuntimeParachainsParasParaGenesisArgs | undefined> =} callback
|
|
2800
2736
|
**/
|
|
2801
2737
|
upcomingParasGenesis: GenericStorageQuery<
|
|
2802
|
-
Rv,
|
|
2803
2738
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaGenesisArgs | undefined,
|
|
2804
2739
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2805
2740
|
>;
|
|
@@ -2811,7 +2746,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2811
2746
|
* @param {Callback<number> =} callback
|
|
2812
2747
|
**/
|
|
2813
2748
|
codeByHashRefs: GenericStorageQuery<
|
|
2814
|
-
Rv,
|
|
2815
2749
|
(arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash) => number,
|
|
2816
2750
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash
|
|
2817
2751
|
>;
|
|
@@ -2826,7 +2760,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2826
2760
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined> =} callback
|
|
2827
2761
|
**/
|
|
2828
2762
|
codeByHash: GenericStorageQuery<
|
|
2829
|
-
Rv,
|
|
2830
2763
|
(
|
|
2831
2764
|
arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
2832
2765
|
) => PolkadotParachainPrimitivesPrimitivesValidationCode | undefined,
|
|
@@ -2836,7 +2769,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2836
2769
|
/**
|
|
2837
2770
|
* Generic pallet storage query
|
|
2838
2771
|
**/
|
|
2839
|
-
[storage: string]: GenericStorageQuery
|
|
2772
|
+
[storage: string]: GenericStorageQuery;
|
|
2840
2773
|
};
|
|
2841
2774
|
/**
|
|
2842
2775
|
* Pallet `Initializer`'s storage queries
|
|
@@ -2854,7 +2787,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2854
2787
|
*
|
|
2855
2788
|
* @param {Callback<[] | undefined> =} callback
|
|
2856
2789
|
**/
|
|
2857
|
-
hasInitialized: GenericStorageQuery<
|
|
2790
|
+
hasInitialized: GenericStorageQuery<() => [] | undefined>;
|
|
2858
2791
|
|
|
2859
2792
|
/**
|
|
2860
2793
|
* Buffered session changes.
|
|
@@ -2867,15 +2800,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2867
2800
|
*
|
|
2868
2801
|
* @param {Callback<Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>> =} callback
|
|
2869
2802
|
**/
|
|
2870
|
-
bufferedSessionChanges: GenericStorageQuery<
|
|
2871
|
-
Rv,
|
|
2872
|
-
() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>
|
|
2873
|
-
>;
|
|
2803
|
+
bufferedSessionChanges: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>;
|
|
2874
2804
|
|
|
2875
2805
|
/**
|
|
2876
2806
|
* Generic pallet storage query
|
|
2877
2807
|
**/
|
|
2878
|
-
[storage: string]: GenericStorageQuery
|
|
2808
|
+
[storage: string]: GenericStorageQuery;
|
|
2879
2809
|
};
|
|
2880
2810
|
/**
|
|
2881
2811
|
* Pallet `Dmp`'s storage queries
|
|
@@ -2888,7 +2818,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2888
2818
|
* @param {Callback<Array<PolkadotCorePrimitivesInboundDownwardMessage>> =} callback
|
|
2889
2819
|
**/
|
|
2890
2820
|
downwardMessageQueues: GenericStorageQuery<
|
|
2891
|
-
Rv,
|
|
2892
2821
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotCorePrimitivesInboundDownwardMessage>,
|
|
2893
2822
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2894
2823
|
>;
|
|
@@ -2906,7 +2835,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2906
2835
|
* @param {Callback<H256> =} callback
|
|
2907
2836
|
**/
|
|
2908
2837
|
downwardMessageQueueHeads: GenericStorageQuery<
|
|
2909
|
-
Rv,
|
|
2910
2838
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => H256,
|
|
2911
2839
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2912
2840
|
>;
|
|
@@ -2918,7 +2846,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2918
2846
|
* @param {Callback<FixedU128> =} callback
|
|
2919
2847
|
**/
|
|
2920
2848
|
deliveryFeeFactor: GenericStorageQuery<
|
|
2921
|
-
Rv,
|
|
2922
2849
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
2923
2850
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2924
2851
|
>;
|
|
@@ -2926,7 +2853,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2926
2853
|
/**
|
|
2927
2854
|
* Generic pallet storage query
|
|
2928
2855
|
**/
|
|
2929
|
-
[storage: string]: GenericStorageQuery
|
|
2856
|
+
[storage: string]: GenericStorageQuery;
|
|
2930
2857
|
};
|
|
2931
2858
|
/**
|
|
2932
2859
|
* Pallet `Hrmp`'s storage queries
|
|
@@ -2944,7 +2871,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2944
2871
|
* @param {Callback<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined> =} callback
|
|
2945
2872
|
**/
|
|
2946
2873
|
hrmpOpenChannelRequests: GenericStorageQuery<
|
|
2947
|
-
Rv,
|
|
2948
2874
|
(
|
|
2949
2875
|
arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
2950
2876
|
) => PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined,
|
|
@@ -2955,10 +2881,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2955
2881
|
*
|
|
2956
2882
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
|
|
2957
2883
|
**/
|
|
2958
|
-
hrmpOpenChannelRequestsList: GenericStorageQuery<
|
|
2959
|
-
Rv,
|
|
2960
|
-
() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
|
|
2961
|
-
>;
|
|
2884
|
+
hrmpOpenChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
|
|
2962
2885
|
|
|
2963
2886
|
/**
|
|
2964
2887
|
* This mapping tracks how many open channel requests are initiated by a given sender para.
|
|
@@ -2969,7 +2892,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2969
2892
|
* @param {Callback<number> =} callback
|
|
2970
2893
|
**/
|
|
2971
2894
|
hrmpOpenChannelRequestCount: GenericStorageQuery<
|
|
2972
|
-
Rv,
|
|
2973
2895
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number,
|
|
2974
2896
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2975
2897
|
>;
|
|
@@ -2983,7 +2905,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2983
2905
|
* @param {Callback<number> =} callback
|
|
2984
2906
|
**/
|
|
2985
2907
|
hrmpAcceptedChannelRequestCount: GenericStorageQuery<
|
|
2986
|
-
Rv,
|
|
2987
2908
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number,
|
|
2988
2909
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2989
2910
|
>;
|
|
@@ -3001,7 +2922,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3001
2922
|
* @param {Callback<[] | undefined> =} callback
|
|
3002
2923
|
**/
|
|
3003
2924
|
hrmpCloseChannelRequests: GenericStorageQuery<
|
|
3004
|
-
Rv,
|
|
3005
2925
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => [] | undefined,
|
|
3006
2926
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3007
2927
|
>;
|
|
@@ -3010,10 +2930,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3010
2930
|
*
|
|
3011
2931
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
|
|
3012
2932
|
**/
|
|
3013
|
-
hrmpCloseChannelRequestsList: GenericStorageQuery<
|
|
3014
|
-
Rv,
|
|
3015
|
-
() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>
|
|
3016
|
-
>;
|
|
2933
|
+
hrmpCloseChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
|
|
3017
2934
|
|
|
3018
2935
|
/**
|
|
3019
2936
|
* The HRMP watermark associated with each para.
|
|
@@ -3025,7 +2942,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3025
2942
|
* @param {Callback<number | undefined> =} callback
|
|
3026
2943
|
**/
|
|
3027
2944
|
hrmpWatermarks: GenericStorageQuery<
|
|
3028
|
-
Rv,
|
|
3029
2945
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined,
|
|
3030
2946
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3031
2947
|
>;
|
|
@@ -3039,7 +2955,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3039
2955
|
* @param {Callback<PolkadotRuntimeParachainsHrmpHrmpChannel | undefined> =} callback
|
|
3040
2956
|
**/
|
|
3041
2957
|
hrmpChannels: GenericStorageQuery<
|
|
3042
|
-
Rv,
|
|
3043
2958
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => PolkadotRuntimeParachainsHrmpHrmpChannel | undefined,
|
|
3044
2959
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3045
2960
|
>;
|
|
@@ -3063,7 +2978,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3063
2978
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3064
2979
|
**/
|
|
3065
2980
|
hrmpIngressChannelsIndex: GenericStorageQuery<
|
|
3066
|
-
Rv,
|
|
3067
2981
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
|
|
3068
2982
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3069
2983
|
>;
|
|
@@ -3074,7 +2988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3074
2988
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3075
2989
|
**/
|
|
3076
2990
|
hrmpEgressChannelsIndex: GenericStorageQuery<
|
|
3077
|
-
Rv,
|
|
3078
2991
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>,
|
|
3079
2992
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3080
2993
|
>;
|
|
@@ -3087,7 +3000,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3087
3000
|
* @param {Callback<Array<PolkadotCorePrimitivesInboundHrmpMessage>> =} callback
|
|
3088
3001
|
**/
|
|
3089
3002
|
hrmpChannelContents: GenericStorageQuery<
|
|
3090
|
-
Rv,
|
|
3091
3003
|
(arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => Array<PolkadotCorePrimitivesInboundHrmpMessage>,
|
|
3092
3004
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId
|
|
3093
3005
|
>;
|
|
@@ -3104,7 +3016,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3104
3016
|
* @param {Callback<Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>> =} callback
|
|
3105
3017
|
**/
|
|
3106
3018
|
hrmpChannelDigests: GenericStorageQuery<
|
|
3107
|
-
Rv,
|
|
3108
3019
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>,
|
|
3109
3020
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3110
3021
|
>;
|
|
@@ -3112,7 +3023,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3112
3023
|
/**
|
|
3113
3024
|
* Generic pallet storage query
|
|
3114
3025
|
**/
|
|
3115
|
-
[storage: string]: GenericStorageQuery
|
|
3026
|
+
[storage: string]: GenericStorageQuery;
|
|
3116
3027
|
};
|
|
3117
3028
|
/**
|
|
3118
3029
|
* Pallet `ParaSessionInfo`'s storage queries
|
|
@@ -3125,14 +3036,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3125
3036
|
*
|
|
3126
3037
|
* @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
|
|
3127
3038
|
**/
|
|
3128
|
-
assignmentKeysUnsafe: GenericStorageQuery<
|
|
3039
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
|
|
3129
3040
|
|
|
3130
3041
|
/**
|
|
3131
3042
|
* The earliest session for which previous session info is stored.
|
|
3132
3043
|
*
|
|
3133
3044
|
* @param {Callback<number> =} callback
|
|
3134
3045
|
**/
|
|
3135
|
-
earliestStoredSession: GenericStorageQuery<
|
|
3046
|
+
earliestStoredSession: GenericStorageQuery<() => number>;
|
|
3136
3047
|
|
|
3137
3048
|
/**
|
|
3138
3049
|
* Session information in a rolling window.
|
|
@@ -3142,7 +3053,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3142
3053
|
* @param {number} arg
|
|
3143
3054
|
* @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
|
|
3144
3055
|
**/
|
|
3145
|
-
sessions: GenericStorageQuery<
|
|
3056
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
|
|
3146
3057
|
|
|
3147
3058
|
/**
|
|
3148
3059
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3150,7 +3061,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3150
3061
|
* @param {number} arg
|
|
3151
3062
|
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
3152
3063
|
**/
|
|
3153
|
-
accountKeys: GenericStorageQuery<
|
|
3064
|
+
accountKeys: GenericStorageQuery<(arg: number) => Array<AccountId32> | undefined, number>;
|
|
3154
3065
|
|
|
3155
3066
|
/**
|
|
3156
3067
|
* Executor parameter set for a given session index
|
|
@@ -3158,16 +3069,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3158
3069
|
* @param {number} arg
|
|
3159
3070
|
* @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
|
|
3160
3071
|
**/
|
|
3161
|
-
sessionExecutorParams: GenericStorageQuery<
|
|
3162
|
-
Rv,
|
|
3163
|
-
(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined,
|
|
3164
|
-
number
|
|
3165
|
-
>;
|
|
3072
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined, number>;
|
|
3166
3073
|
|
|
3167
3074
|
/**
|
|
3168
3075
|
* Generic pallet storage query
|
|
3169
3076
|
**/
|
|
3170
|
-
[storage: string]: GenericStorageQuery
|
|
3077
|
+
[storage: string]: GenericStorageQuery;
|
|
3171
3078
|
};
|
|
3172
3079
|
/**
|
|
3173
3080
|
* Pallet `ParasDisputes`'s storage queries
|
|
@@ -3179,7 +3086,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3179
3086
|
*
|
|
3180
3087
|
* @param {Callback<number | undefined> =} callback
|
|
3181
3088
|
**/
|
|
3182
|
-
lastPrunedSession: GenericStorageQuery<
|
|
3089
|
+
lastPrunedSession: GenericStorageQuery<() => number | undefined>;
|
|
3183
3090
|
|
|
3184
3091
|
/**
|
|
3185
3092
|
* All ongoing or concluded disputes for the last several sessions.
|
|
@@ -3188,7 +3095,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3188
3095
|
* @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
|
|
3189
3096
|
**/
|
|
3190
3097
|
disputes: GenericStorageQuery<
|
|
3191
|
-
Rv,
|
|
3192
3098
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
|
|
3193
3099
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3194
3100
|
>;
|
|
@@ -3201,7 +3107,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3201
3107
|
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
|
|
3202
3108
|
**/
|
|
3203
3109
|
backersOnDisputes: GenericStorageQuery<
|
|
3204
|
-
Rv,
|
|
3205
3110
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
|
|
3206
3111
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3207
3112
|
>;
|
|
@@ -3214,7 +3119,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3214
3119
|
* @param {Callback<number | undefined> =} callback
|
|
3215
3120
|
**/
|
|
3216
3121
|
included: GenericStorageQuery<
|
|
3217
|
-
Rv,
|
|
3218
3122
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => number | undefined,
|
|
3219
3123
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3220
3124
|
>;
|
|
@@ -3227,12 +3131,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3227
3131
|
*
|
|
3228
3132
|
* @param {Callback<number | undefined> =} callback
|
|
3229
3133
|
**/
|
|
3230
|
-
frozen: GenericStorageQuery<
|
|
3134
|
+
frozen: GenericStorageQuery<() => number | undefined>;
|
|
3231
3135
|
|
|
3232
3136
|
/**
|
|
3233
3137
|
* Generic pallet storage query
|
|
3234
3138
|
**/
|
|
3235
|
-
[storage: string]: GenericStorageQuery
|
|
3139
|
+
[storage: string]: GenericStorageQuery;
|
|
3236
3140
|
};
|
|
3237
3141
|
/**
|
|
3238
3142
|
* Pallet `ParasSlashing`'s storage queries
|
|
@@ -3245,7 +3149,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3245
3149
|
* @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
|
|
3246
3150
|
**/
|
|
3247
3151
|
unappliedSlashes: GenericStorageQuery<
|
|
3248
|
-
Rv,
|
|
3249
3152
|
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
|
|
3250
3153
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3251
3154
|
>;
|
|
@@ -3256,12 +3159,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3256
3159
|
* @param {number} arg
|
|
3257
3160
|
* @param {Callback<number | undefined> =} callback
|
|
3258
3161
|
**/
|
|
3259
|
-
validatorSetCounts: GenericStorageQuery<
|
|
3162
|
+
validatorSetCounts: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
3260
3163
|
|
|
3261
3164
|
/**
|
|
3262
3165
|
* Generic pallet storage query
|
|
3263
3166
|
**/
|
|
3264
|
-
[storage: string]: GenericStorageQuery
|
|
3167
|
+
[storage: string]: GenericStorageQuery;
|
|
3265
3168
|
};
|
|
3266
3169
|
/**
|
|
3267
3170
|
* Pallet `OnDemandAssignmentProvider`'s storage queries
|
|
@@ -3276,7 +3179,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3276
3179
|
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3277
3180
|
**/
|
|
3278
3181
|
paraIdAffinity: GenericStorageQuery<
|
|
3279
|
-
Rv,
|
|
3280
3182
|
(
|
|
3281
3183
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3282
3184
|
) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
|
|
@@ -3288,14 +3190,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3288
3190
|
*
|
|
3289
3191
|
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
|
|
3290
3192
|
**/
|
|
3291
|
-
queueStatus: GenericStorageQuery<
|
|
3193
|
+
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
|
|
3292
3194
|
|
|
3293
3195
|
/**
|
|
3294
3196
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
3295
3197
|
*
|
|
3296
3198
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3297
3199
|
**/
|
|
3298
|
-
freeEntries: GenericStorageQuery<
|
|
3200
|
+
freeEntries: GenericStorageQuery<() => BinaryHeapEnqueuedOrder>;
|
|
3299
3201
|
|
|
3300
3202
|
/**
|
|
3301
3203
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
@@ -3304,7 +3206,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3304
3206
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3305
3207
|
**/
|
|
3306
3208
|
affinityEntries: GenericStorageQuery<
|
|
3307
|
-
Rv,
|
|
3308
3209
|
(arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3309
3210
|
PolkadotPrimitivesV8CoreIndex
|
|
3310
3211
|
>;
|
|
@@ -3314,7 +3215,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3314
3215
|
*
|
|
3315
3216
|
* @param {Callback<Array<bigint>> =} callback
|
|
3316
3217
|
**/
|
|
3317
|
-
revenue: GenericStorageQuery<
|
|
3218
|
+
revenue: GenericStorageQuery<() => Array<bigint>>;
|
|
3318
3219
|
|
|
3319
3220
|
/**
|
|
3320
3221
|
* Keeps track of credits owned by each account.
|
|
@@ -3322,12 +3223,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3322
3223
|
* @param {AccountId32Like} arg
|
|
3323
3224
|
* @param {Callback<bigint> =} callback
|
|
3324
3225
|
**/
|
|
3325
|
-
credits: GenericStorageQuery<
|
|
3226
|
+
credits: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
3326
3227
|
|
|
3327
3228
|
/**
|
|
3328
3229
|
* Generic pallet storage query
|
|
3329
3230
|
**/
|
|
3330
|
-
[storage: string]: GenericStorageQuery
|
|
3231
|
+
[storage: string]: GenericStorageQuery;
|
|
3331
3232
|
};
|
|
3332
3233
|
/**
|
|
3333
3234
|
* Pallet `CoretimeAssignmentProvider`'s storage queries
|
|
@@ -3343,7 +3244,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3343
3244
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3344
3245
|
**/
|
|
3345
3246
|
coreSchedules: GenericStorageQuery<
|
|
3346
|
-
Rv,
|
|
3347
3247
|
(arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3348
3248
|
[number, PolkadotPrimitivesV8CoreIndex]
|
|
3349
3249
|
>;
|
|
@@ -3358,7 +3258,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3358
3258
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3359
3259
|
**/
|
|
3360
3260
|
coreDescriptors: GenericStorageQuery<
|
|
3361
|
-
Rv,
|
|
3362
3261
|
(arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3363
3262
|
PolkadotPrimitivesV8CoreIndex
|
|
3364
3263
|
>;
|
|
@@ -3366,7 +3265,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3366
3265
|
/**
|
|
3367
3266
|
* Generic pallet storage query
|
|
3368
3267
|
**/
|
|
3369
|
-
[storage: string]: GenericStorageQuery
|
|
3268
|
+
[storage: string]: GenericStorageQuery;
|
|
3370
3269
|
};
|
|
3371
3270
|
/**
|
|
3372
3271
|
* Pallet `Registrar`'s storage queries
|
|
@@ -3379,7 +3278,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3379
3278
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId | undefined> =} callback
|
|
3380
3279
|
**/
|
|
3381
3280
|
pendingSwap: GenericStorageQuery<
|
|
3382
|
-
Rv,
|
|
3383
3281
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesId | undefined,
|
|
3384
3282
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3385
3283
|
>;
|
|
@@ -3394,7 +3292,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3394
3292
|
* @param {Callback<PolkadotRuntimeCommonParasRegistrarParaInfo | undefined> =} callback
|
|
3395
3293
|
**/
|
|
3396
3294
|
paras: GenericStorageQuery<
|
|
3397
|
-
Rv,
|
|
3398
3295
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonParasRegistrarParaInfo | undefined,
|
|
3399
3296
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3400
3297
|
>;
|
|
@@ -3404,12 +3301,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3404
3301
|
*
|
|
3405
3302
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
3406
3303
|
**/
|
|
3407
|
-
nextFreeParaId: GenericStorageQuery<
|
|
3304
|
+
nextFreeParaId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
3408
3305
|
|
|
3409
3306
|
/**
|
|
3410
3307
|
* Generic pallet storage query
|
|
3411
3308
|
**/
|
|
3412
|
-
[storage: string]: GenericStorageQuery
|
|
3309
|
+
[storage: string]: GenericStorageQuery;
|
|
3413
3310
|
};
|
|
3414
3311
|
/**
|
|
3415
3312
|
* Pallet `Slots`'s storage queries
|
|
@@ -3437,7 +3334,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3437
3334
|
* @param {Callback<Array<[AccountId32, bigint] | undefined>> =} callback
|
|
3438
3335
|
**/
|
|
3439
3336
|
leases: GenericStorageQuery<
|
|
3440
|
-
Rv,
|
|
3441
3337
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[AccountId32, bigint] | undefined>,
|
|
3442
3338
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3443
3339
|
>;
|
|
@@ -3445,7 +3341,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3445
3341
|
/**
|
|
3446
3342
|
* Generic pallet storage query
|
|
3447
3343
|
**/
|
|
3448
|
-
[storage: string]: GenericStorageQuery
|
|
3344
|
+
[storage: string]: GenericStorageQuery;
|
|
3449
3345
|
};
|
|
3450
3346
|
/**
|
|
3451
3347
|
* Pallet `Auctions`'s storage queries
|
|
@@ -3456,7 +3352,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3456
3352
|
*
|
|
3457
3353
|
* @param {Callback<number> =} callback
|
|
3458
3354
|
**/
|
|
3459
|
-
auctionCounter: GenericStorageQuery<
|
|
3355
|
+
auctionCounter: GenericStorageQuery<() => number>;
|
|
3460
3356
|
|
|
3461
3357
|
/**
|
|
3462
3358
|
* Information relating to the current auction, if there is one.
|
|
@@ -3467,7 +3363,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3467
3363
|
*
|
|
3468
3364
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
3469
3365
|
**/
|
|
3470
|
-
auctionInfo: GenericStorageQuery<
|
|
3366
|
+
auctionInfo: GenericStorageQuery<() => [number, number] | undefined>;
|
|
3471
3367
|
|
|
3472
3368
|
/**
|
|
3473
3369
|
* Amounts currently reserved in the accounts of the bidders currently winning
|
|
@@ -3477,7 +3373,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3477
3373
|
* @param {Callback<bigint | undefined> =} callback
|
|
3478
3374
|
**/
|
|
3479
3375
|
reservedAmounts: GenericStorageQuery<
|
|
3480
|
-
Rv,
|
|
3481
3376
|
(arg: [AccountId32Like, PolkadotParachainPrimitivesPrimitivesId]) => bigint | undefined,
|
|
3482
3377
|
[AccountId32, PolkadotParachainPrimitivesPrimitivesId]
|
|
3483
3378
|
>;
|
|
@@ -3491,7 +3386,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3491
3386
|
* @param {Callback<FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined> =} callback
|
|
3492
3387
|
**/
|
|
3493
3388
|
winning: GenericStorageQuery<
|
|
3494
|
-
Rv,
|
|
3495
3389
|
(
|
|
3496
3390
|
arg: number,
|
|
3497
3391
|
) => FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined,
|
|
@@ -3501,7 +3395,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3501
3395
|
/**
|
|
3502
3396
|
* Generic pallet storage query
|
|
3503
3397
|
**/
|
|
3504
|
-
[storage: string]: GenericStorageQuery
|
|
3398
|
+
[storage: string]: GenericStorageQuery;
|
|
3505
3399
|
};
|
|
3506
3400
|
/**
|
|
3507
3401
|
* Pallet `Crowdloan`'s storage queries
|
|
@@ -3514,7 +3408,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3514
3408
|
* @param {Callback<PolkadotRuntimeCommonCrowdloanFundInfo | undefined> =} callback
|
|
3515
3409
|
**/
|
|
3516
3410
|
funds: GenericStorageQuery<
|
|
3517
|
-
Rv,
|
|
3518
3411
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonCrowdloanFundInfo | undefined,
|
|
3519
3412
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3520
3413
|
>;
|
|
@@ -3525,26 +3418,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3525
3418
|
*
|
|
3526
3419
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
3527
3420
|
**/
|
|
3528
|
-
newRaise: GenericStorageQuery<
|
|
3421
|
+
newRaise: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
3529
3422
|
|
|
3530
3423
|
/**
|
|
3531
3424
|
* The number of auctions that have entered into their ending period so far.
|
|
3532
3425
|
*
|
|
3533
3426
|
* @param {Callback<number> =} callback
|
|
3534
3427
|
**/
|
|
3535
|
-
endingsCount: GenericStorageQuery<
|
|
3428
|
+
endingsCount: GenericStorageQuery<() => number>;
|
|
3536
3429
|
|
|
3537
3430
|
/**
|
|
3538
3431
|
* Tracker for the next available fund index
|
|
3539
3432
|
*
|
|
3540
3433
|
* @param {Callback<number> =} callback
|
|
3541
3434
|
**/
|
|
3542
|
-
nextFundIndex: GenericStorageQuery<
|
|
3435
|
+
nextFundIndex: GenericStorageQuery<() => number>;
|
|
3543
3436
|
|
|
3544
3437
|
/**
|
|
3545
3438
|
* Generic pallet storage query
|
|
3546
3439
|
**/
|
|
3547
|
-
[storage: string]: GenericStorageQuery
|
|
3440
|
+
[storage: string]: GenericStorageQuery;
|
|
3548
3441
|
};
|
|
3549
3442
|
/**
|
|
3550
3443
|
* Pallet `AssignedSlots`'s storage queries
|
|
@@ -3557,7 +3450,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3557
3450
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
3558
3451
|
**/
|
|
3559
3452
|
permanentSlots: GenericStorageQuery<
|
|
3560
|
-
Rv,
|
|
3561
3453
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => [number, number] | undefined,
|
|
3562
3454
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3563
3455
|
>;
|
|
@@ -3567,7 +3459,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3567
3459
|
*
|
|
3568
3460
|
* @param {Callback<number> =} callback
|
|
3569
3461
|
**/
|
|
3570
|
-
permanentSlotCount: GenericStorageQuery<
|
|
3462
|
+
permanentSlotCount: GenericStorageQuery<() => number>;
|
|
3571
3463
|
|
|
3572
3464
|
/**
|
|
3573
3465
|
* Assigned temporary slots.
|
|
@@ -3576,7 +3468,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3576
3468
|
* @param {Callback<PolkadotRuntimeCommonAssignedSlotsParachainTemporarySlot | undefined> =} callback
|
|
3577
3469
|
**/
|
|
3578
3470
|
temporarySlots: GenericStorageQuery<
|
|
3579
|
-
Rv,
|
|
3580
3471
|
(
|
|
3581
3472
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3582
3473
|
) => PolkadotRuntimeCommonAssignedSlotsParachainTemporarySlot | undefined,
|
|
@@ -3588,33 +3479,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3588
3479
|
*
|
|
3589
3480
|
* @param {Callback<number> =} callback
|
|
3590
3481
|
**/
|
|
3591
|
-
temporarySlotCount: GenericStorageQuery<
|
|
3482
|
+
temporarySlotCount: GenericStorageQuery<() => number>;
|
|
3592
3483
|
|
|
3593
3484
|
/**
|
|
3594
3485
|
* Number of active temporary slots in current slot lease period.
|
|
3595
3486
|
*
|
|
3596
3487
|
* @param {Callback<number> =} callback
|
|
3597
3488
|
**/
|
|
3598
|
-
activeTemporarySlotCount: GenericStorageQuery<
|
|
3489
|
+
activeTemporarySlotCount: GenericStorageQuery<() => number>;
|
|
3599
3490
|
|
|
3600
3491
|
/**
|
|
3601
3492
|
* The max number of temporary slots that can be assigned.
|
|
3602
3493
|
*
|
|
3603
3494
|
* @param {Callback<number> =} callback
|
|
3604
3495
|
**/
|
|
3605
|
-
maxTemporarySlots: GenericStorageQuery<
|
|
3496
|
+
maxTemporarySlots: GenericStorageQuery<() => number>;
|
|
3606
3497
|
|
|
3607
3498
|
/**
|
|
3608
3499
|
* The max number of permanent slots that can be assigned.
|
|
3609
3500
|
*
|
|
3610
3501
|
* @param {Callback<number> =} callback
|
|
3611
3502
|
**/
|
|
3612
|
-
maxPermanentSlots: GenericStorageQuery<
|
|
3503
|
+
maxPermanentSlots: GenericStorageQuery<() => number>;
|
|
3613
3504
|
|
|
3614
3505
|
/**
|
|
3615
3506
|
* Generic pallet storage query
|
|
3616
3507
|
**/
|
|
3617
|
-
[storage: string]: GenericStorageQuery
|
|
3508
|
+
[storage: string]: GenericStorageQuery;
|
|
3618
3509
|
};
|
|
3619
3510
|
/**
|
|
3620
3511
|
* Pallet `StakingAhClient`'s storage queries
|
|
@@ -3627,17 +3518,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3627
3518
|
*
|
|
3628
3519
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
3629
3520
|
**/
|
|
3630
|
-
validatorSet: GenericStorageQuery<
|
|
3521
|
+
validatorSet: GenericStorageQuery<() => [number, Array<AccountId32>] | undefined>;
|
|
3631
3522
|
|
|
3632
3523
|
/**
|
|
3633
3524
|
* An incomplete validator set report.
|
|
3634
3525
|
*
|
|
3635
3526
|
* @param {Callback<PalletStakingAsyncRcClientValidatorSetReport | undefined> =} callback
|
|
3636
3527
|
**/
|
|
3637
|
-
incompleteValidatorSetReport: GenericStorageQuery<
|
|
3638
|
-
Rv,
|
|
3639
|
-
() => PalletStakingAsyncRcClientValidatorSetReport | undefined
|
|
3640
|
-
>;
|
|
3528
|
+
incompleteValidatorSetReport: GenericStorageQuery<() => PalletStakingAsyncRcClientValidatorSetReport | undefined>;
|
|
3641
3529
|
|
|
3642
3530
|
/**
|
|
3643
3531
|
* All of the points of the validators.
|
|
@@ -3648,7 +3536,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3648
3536
|
* @param {AccountId32Like} arg
|
|
3649
3537
|
* @param {Callback<number> =} callback
|
|
3650
3538
|
**/
|
|
3651
|
-
validatorPoints: GenericStorageQuery<
|
|
3539
|
+
validatorPoints: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
3652
3540
|
|
|
3653
3541
|
/**
|
|
3654
3542
|
* Indicates the current operating mode of the pallet.
|
|
@@ -3658,7 +3546,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3658
3546
|
*
|
|
3659
3547
|
* @param {Callback<PalletStakingAsyncAhClientOperatingMode> =} callback
|
|
3660
3548
|
**/
|
|
3661
|
-
mode: GenericStorageQuery<
|
|
3549
|
+
mode: GenericStorageQuery<() => PalletStakingAsyncAhClientOperatingMode>;
|
|
3662
3550
|
|
|
3663
3551
|
/**
|
|
3664
3552
|
* A storage value that is set when a `new_session` gives a new validator set to the session
|
|
@@ -3672,7 +3560,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3672
3560
|
*
|
|
3673
3561
|
* @param {Callback<number | undefined> =} callback
|
|
3674
3562
|
**/
|
|
3675
|
-
nextSessionChangesValidators: GenericStorageQuery<
|
|
3563
|
+
nextSessionChangesValidators: GenericStorageQuery<() => number | undefined>;
|
|
3676
3564
|
|
|
3677
3565
|
/**
|
|
3678
3566
|
* The session index at which the latest elected validator set was applied.
|
|
@@ -3682,7 +3570,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3682
3570
|
*
|
|
3683
3571
|
* @param {Callback<number | undefined> =} callback
|
|
3684
3572
|
**/
|
|
3685
|
-
validatorSetAppliedAt: GenericStorageQuery<
|
|
3573
|
+
validatorSetAppliedAt: GenericStorageQuery<() => number | undefined>;
|
|
3686
3574
|
|
|
3687
3575
|
/**
|
|
3688
3576
|
* A session report that is outgoing, and should be sent.
|
|
@@ -3692,7 +3580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3692
3580
|
*
|
|
3693
3581
|
* @param {Callback<[PalletStakingAsyncRcClientSessionReport, number] | undefined> =} callback
|
|
3694
3582
|
**/
|
|
3695
|
-
outgoingSessionReport: GenericStorageQuery<
|
|
3583
|
+
outgoingSessionReport: GenericStorageQuery<() => [PalletStakingAsyncRcClientSessionReport, number] | undefined>;
|
|
3696
3584
|
|
|
3697
3585
|
/**
|
|
3698
3586
|
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
@@ -3701,7 +3589,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3701
3589
|
* @param {Callback<Array<[number, PalletStakingAsyncRcClientOffence]>> =} callback
|
|
3702
3590
|
**/
|
|
3703
3591
|
offenceSendQueueOffences: GenericStorageQuery<
|
|
3704
|
-
Rv,
|
|
3705
3592
|
(arg: number) => Array<[number, PalletStakingAsyncRcClientOffence]>,
|
|
3706
3593
|
number
|
|
3707
3594
|
>;
|
|
@@ -3711,12 +3598,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3711
3598
|
*
|
|
3712
3599
|
* @param {Callback<number> =} callback
|
|
3713
3600
|
**/
|
|
3714
|
-
offenceSendQueueCursor: GenericStorageQuery<
|
|
3601
|
+
offenceSendQueueCursor: GenericStorageQuery<() => number>;
|
|
3715
3602
|
|
|
3716
3603
|
/**
|
|
3717
3604
|
* Generic pallet storage query
|
|
3718
3605
|
**/
|
|
3719
|
-
[storage: string]: GenericStorageQuery
|
|
3606
|
+
[storage: string]: GenericStorageQuery;
|
|
3720
3607
|
};
|
|
3721
3608
|
/**
|
|
3722
3609
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -3729,7 +3616,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3729
3616
|
*
|
|
3730
3617
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
3731
3618
|
**/
|
|
3732
|
-
cursor: GenericStorageQuery<
|
|
3619
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
3733
3620
|
|
|
3734
3621
|
/**
|
|
3735
3622
|
* Set of all successfully executed migrations.
|
|
@@ -3740,12 +3627,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3740
3627
|
* @param {BytesLike} arg
|
|
3741
3628
|
* @param {Callback<[] | undefined> =} callback
|
|
3742
3629
|
**/
|
|
3743
|
-
historic: GenericStorageQuery<
|
|
3630
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
3744
3631
|
|
|
3745
3632
|
/**
|
|
3746
3633
|
* Generic pallet storage query
|
|
3747
3634
|
**/
|
|
3748
|
-
[storage: string]: GenericStorageQuery
|
|
3635
|
+
[storage: string]: GenericStorageQuery;
|
|
3749
3636
|
};
|
|
3750
3637
|
/**
|
|
3751
3638
|
* Pallet `XcmPallet`'s storage queries
|
|
@@ -3756,7 +3643,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3756
3643
|
*
|
|
3757
3644
|
* @param {Callback<bigint> =} callback
|
|
3758
3645
|
**/
|
|
3759
|
-
queryCounter: GenericStorageQuery<
|
|
3646
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
3760
3647
|
|
|
3761
3648
|
/**
|
|
3762
3649
|
* The ongoing queries.
|
|
@@ -3764,7 +3651,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3764
3651
|
* @param {bigint} arg
|
|
3765
3652
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
3766
3653
|
**/
|
|
3767
|
-
queries: GenericStorageQuery<
|
|
3654
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
3768
3655
|
|
|
3769
3656
|
/**
|
|
3770
3657
|
* The existing asset traps.
|
|
@@ -3775,7 +3662,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3775
3662
|
* @param {H256} arg
|
|
3776
3663
|
* @param {Callback<number> =} callback
|
|
3777
3664
|
**/
|
|
3778
|
-
assetTraps: GenericStorageQuery<
|
|
3665
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
3779
3666
|
|
|
3780
3667
|
/**
|
|
3781
3668
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -3783,7 +3670,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3783
3670
|
*
|
|
3784
3671
|
* @param {Callback<number | undefined> =} callback
|
|
3785
3672
|
**/
|
|
3786
|
-
safeXcmVersion: GenericStorageQuery<
|
|
3673
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
3787
3674
|
|
|
3788
3675
|
/**
|
|
3789
3676
|
* The Latest versions that we know various locations support.
|
|
@@ -3792,7 +3679,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3792
3679
|
* @param {Callback<number | undefined> =} callback
|
|
3793
3680
|
**/
|
|
3794
3681
|
supportedVersion: GenericStorageQuery<
|
|
3795
|
-
Rv,
|
|
3796
3682
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
3797
3683
|
[number, XcmVersionedLocation]
|
|
3798
3684
|
>;
|
|
@@ -3804,7 +3690,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3804
3690
|
* @param {Callback<bigint | undefined> =} callback
|
|
3805
3691
|
**/
|
|
3806
3692
|
versionNotifiers: GenericStorageQuery<
|
|
3807
|
-
Rv,
|
|
3808
3693
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
3809
3694
|
[number, XcmVersionedLocation]
|
|
3810
3695
|
>;
|
|
@@ -3817,7 +3702,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3817
3702
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
3818
3703
|
**/
|
|
3819
3704
|
versionNotifyTargets: GenericStorageQuery<
|
|
3820
|
-
Rv,
|
|
3821
3705
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
3822
3706
|
[number, XcmVersionedLocation]
|
|
3823
3707
|
>;
|
|
@@ -3829,14 +3713,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3829
3713
|
*
|
|
3830
3714
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
3831
3715
|
**/
|
|
3832
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
3716
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
3833
3717
|
|
|
3834
3718
|
/**
|
|
3835
3719
|
* The current migration's stage, if any.
|
|
3836
3720
|
*
|
|
3837
3721
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
3838
3722
|
**/
|
|
3839
|
-
currentMigration: GenericStorageQuery<
|
|
3723
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
3840
3724
|
|
|
3841
3725
|
/**
|
|
3842
3726
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -3845,7 +3729,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3845
3729
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
3846
3730
|
**/
|
|
3847
3731
|
remoteLockedFungibles: GenericStorageQuery<
|
|
3848
|
-
Rv,
|
|
3849
3732
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
3850
3733
|
[number, AccountId32, XcmVersionedAssetId]
|
|
3851
3734
|
>;
|
|
@@ -3857,7 +3740,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3857
3740
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
3858
3741
|
**/
|
|
3859
3742
|
lockedFungibles: GenericStorageQuery<
|
|
3860
|
-
Rv,
|
|
3861
3743
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
3862
3744
|
AccountId32
|
|
3863
3745
|
>;
|
|
@@ -3867,7 +3749,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3867
3749
|
*
|
|
3868
3750
|
* @param {Callback<boolean> =} callback
|
|
3869
3751
|
**/
|
|
3870
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
3752
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
3871
3753
|
|
|
3872
3754
|
/**
|
|
3873
3755
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -3880,7 +3762,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3880
3762
|
*
|
|
3881
3763
|
* @param {Callback<boolean> =} callback
|
|
3882
3764
|
**/
|
|
3883
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
3765
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
3884
3766
|
|
|
3885
3767
|
/**
|
|
3886
3768
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -3892,7 +3774,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3892
3774
|
*
|
|
3893
3775
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
3894
3776
|
**/
|
|
3895
|
-
recordedXcm: GenericStorageQuery<
|
|
3777
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
3896
3778
|
|
|
3897
3779
|
/**
|
|
3898
3780
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -3903,7 +3785,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3903
3785
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
3904
3786
|
**/
|
|
3905
3787
|
authorizedAliases: GenericStorageQuery<
|
|
3906
|
-
Rv,
|
|
3907
3788
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
3908
3789
|
XcmVersionedLocation
|
|
3909
3790
|
>;
|
|
@@ -3911,7 +3792,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3911
3792
|
/**
|
|
3912
3793
|
* Generic pallet storage query
|
|
3913
3794
|
**/
|
|
3914
|
-
[storage: string]: GenericStorageQuery
|
|
3795
|
+
[storage: string]: GenericStorageQuery;
|
|
3915
3796
|
};
|
|
3916
3797
|
/**
|
|
3917
3798
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -3924,7 +3805,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3924
3805
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
3925
3806
|
**/
|
|
3926
3807
|
bookStateFor: GenericStorageQuery<
|
|
3927
|
-
Rv,
|
|
3928
3808
|
(arg: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
3929
3809
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin
|
|
3930
3810
|
>;
|
|
@@ -3934,7 +3814,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3934
3814
|
*
|
|
3935
3815
|
* @param {Callback<PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined> =} callback
|
|
3936
3816
|
**/
|
|
3937
|
-
serviceHead: GenericStorageQuery<
|
|
3817
|
+
serviceHead: GenericStorageQuery<() => PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined>;
|
|
3938
3818
|
|
|
3939
3819
|
/**
|
|
3940
3820
|
* The map of page indices to pages.
|
|
@@ -3943,7 +3823,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3943
3823
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
3944
3824
|
**/
|
|
3945
3825
|
pages: GenericStorageQuery<
|
|
3946
|
-
Rv,
|
|
3947
3826
|
(arg: [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
3948
3827
|
[PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]
|
|
3949
3828
|
>;
|
|
@@ -3951,7 +3830,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3951
3830
|
/**
|
|
3952
3831
|
* Generic pallet storage query
|
|
3953
3832
|
**/
|
|
3954
|
-
[storage: string]: GenericStorageQuery
|
|
3833
|
+
[storage: string]: GenericStorageQuery;
|
|
3955
3834
|
};
|
|
3956
3835
|
/**
|
|
3957
3836
|
* Pallet `AssetRate`'s storage queries
|
|
@@ -3966,7 +3845,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3966
3845
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
3967
3846
|
**/
|
|
3968
3847
|
conversionRateToNative: GenericStorageQuery<
|
|
3969
|
-
Rv,
|
|
3970
3848
|
(arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined,
|
|
3971
3849
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset
|
|
3972
3850
|
>;
|
|
@@ -3974,7 +3852,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3974
3852
|
/**
|
|
3975
3853
|
* Generic pallet storage query
|
|
3976
3854
|
**/
|
|
3977
|
-
[storage: string]: GenericStorageQuery
|
|
3855
|
+
[storage: string]: GenericStorageQuery;
|
|
3978
3856
|
};
|
|
3979
3857
|
/**
|
|
3980
3858
|
* Pallet `Beefy`'s storage queries
|
|
@@ -3985,21 +3863,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3985
3863
|
*
|
|
3986
3864
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
3987
3865
|
**/
|
|
3988
|
-
authorities: GenericStorageQuery<
|
|
3866
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
3989
3867
|
|
|
3990
3868
|
/**
|
|
3991
3869
|
* The current validator set id
|
|
3992
3870
|
*
|
|
3993
3871
|
* @param {Callback<bigint> =} callback
|
|
3994
3872
|
**/
|
|
3995
|
-
validatorSetId: GenericStorageQuery<
|
|
3873
|
+
validatorSetId: GenericStorageQuery<() => bigint>;
|
|
3996
3874
|
|
|
3997
3875
|
/**
|
|
3998
3876
|
* Authorities set scheduled to be used with the next session
|
|
3999
3877
|
*
|
|
4000
3878
|
* @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
|
|
4001
3879
|
**/
|
|
4002
|
-
nextAuthorities: GenericStorageQuery<
|
|
3880
|
+
nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
|
|
4003
3881
|
|
|
4004
3882
|
/**
|
|
4005
3883
|
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
|
|
@@ -4016,7 +3894,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4016
3894
|
* @param {bigint} arg
|
|
4017
3895
|
* @param {Callback<number | undefined> =} callback
|
|
4018
3896
|
**/
|
|
4019
|
-
setIdSession: GenericStorageQuery<
|
|
3897
|
+
setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
4020
3898
|
|
|
4021
3899
|
/**
|
|
4022
3900
|
* Block number where BEEFY consensus is enabled/started.
|
|
@@ -4025,12 +3903,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4025
3903
|
*
|
|
4026
3904
|
* @param {Callback<number | undefined> =} callback
|
|
4027
3905
|
**/
|
|
4028
|
-
genesisBlock: GenericStorageQuery<
|
|
3906
|
+
genesisBlock: GenericStorageQuery<() => number | undefined>;
|
|
4029
3907
|
|
|
4030
3908
|
/**
|
|
4031
3909
|
* Generic pallet storage query
|
|
4032
3910
|
**/
|
|
4033
|
-
[storage: string]: GenericStorageQuery
|
|
3911
|
+
[storage: string]: GenericStorageQuery;
|
|
4034
3912
|
};
|
|
4035
3913
|
/**
|
|
4036
3914
|
* Pallet `Mmr`'s storage queries
|
|
@@ -4041,14 +3919,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4041
3919
|
*
|
|
4042
3920
|
* @param {Callback<H256> =} callback
|
|
4043
3921
|
**/
|
|
4044
|
-
rootHash: GenericStorageQuery<
|
|
3922
|
+
rootHash: GenericStorageQuery<() => H256>;
|
|
4045
3923
|
|
|
4046
3924
|
/**
|
|
4047
3925
|
* Current size of the MMR (number of leaves).
|
|
4048
3926
|
*
|
|
4049
3927
|
* @param {Callback<bigint> =} callback
|
|
4050
3928
|
**/
|
|
4051
|
-
numberOfLeaves: GenericStorageQuery<
|
|
3929
|
+
numberOfLeaves: GenericStorageQuery<() => bigint>;
|
|
4052
3930
|
|
|
4053
3931
|
/**
|
|
4054
3932
|
* Hashes of the nodes in the MMR.
|
|
@@ -4059,12 +3937,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4059
3937
|
* @param {bigint} arg
|
|
4060
3938
|
* @param {Callback<H256 | undefined> =} callback
|
|
4061
3939
|
**/
|
|
4062
|
-
nodes: GenericStorageQuery<
|
|
3940
|
+
nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
4063
3941
|
|
|
4064
3942
|
/**
|
|
4065
3943
|
* Generic pallet storage query
|
|
4066
3944
|
**/
|
|
4067
|
-
[storage: string]: GenericStorageQuery
|
|
3945
|
+
[storage: string]: GenericStorageQuery;
|
|
4068
3946
|
};
|
|
4069
3947
|
/**
|
|
4070
3948
|
* Pallet `BeefyMmrLeaf`'s storage queries
|
|
@@ -4075,7 +3953,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4075
3953
|
*
|
|
4076
3954
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
4077
3955
|
**/
|
|
4078
|
-
beefyAuthorities: GenericStorageQuery<
|
|
3956
|
+
beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
4079
3957
|
|
|
4080
3958
|
/**
|
|
4081
3959
|
* Details of next BEEFY authority set.
|
|
@@ -4084,11 +3962,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
4084
3962
|
*
|
|
4085
3963
|
* @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
|
|
4086
3964
|
**/
|
|
4087
|
-
beefyNextAuthorities: GenericStorageQuery<
|
|
3965
|
+
beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
|
|
4088
3966
|
|
|
4089
3967
|
/**
|
|
4090
3968
|
* Generic pallet storage query
|
|
4091
3969
|
**/
|
|
4092
|
-
[storage: string]: GenericStorageQuery
|
|
3970
|
+
[storage: string]: GenericStorageQuery;
|
|
4093
3971
|
};
|
|
4094
3972
|
}
|