@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/moonbeam/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
|
AccountId20,
|
|
6
6
|
AccountId20Like,
|
|
@@ -125,7 +125,7 @@ import type {
|
|
|
125
125
|
BpXcmBridgeHubBridgeId,
|
|
126
126
|
} from './types.js';
|
|
127
127
|
|
|
128
|
-
export interface ChainStorage
|
|
128
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
129
129
|
/**
|
|
130
130
|
* Pallet `System`'s storage queries
|
|
131
131
|
**/
|
|
@@ -136,35 +136,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
136
136
|
* @param {AccountId20Like} arg
|
|
137
137
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
138
138
|
**/
|
|
139
|
-
account: GenericStorageQuery<
|
|
139
|
+
account: GenericStorageQuery<(arg: AccountId20Like) => FrameSystemAccountInfo, AccountId20>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Total extrinsics count for the current block.
|
|
143
143
|
*
|
|
144
144
|
* @param {Callback<number | undefined> =} callback
|
|
145
145
|
**/
|
|
146
|
-
extrinsicCount: GenericStorageQuery<
|
|
146
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Whether all inherents have been applied.
|
|
150
150
|
*
|
|
151
151
|
* @param {Callback<boolean> =} callback
|
|
152
152
|
**/
|
|
153
|
-
inherentsApplied: GenericStorageQuery<
|
|
153
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* The current weight for the block.
|
|
157
157
|
*
|
|
158
158
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
159
159
|
**/
|
|
160
|
-
blockWeight: GenericStorageQuery<
|
|
160
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
164
164
|
*
|
|
165
165
|
* @param {Callback<number | undefined> =} callback
|
|
166
166
|
**/
|
|
167
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
167
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Map of block numbers to block hashes.
|
|
@@ -172,7 +172,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
172
172
|
* @param {number} arg
|
|
173
173
|
* @param {Callback<H256> =} callback
|
|
174
174
|
**/
|
|
175
|
-
blockHash: GenericStorageQuery<
|
|
175
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -180,28 +180,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
180
180
|
* @param {number} arg
|
|
181
181
|
* @param {Callback<Bytes> =} callback
|
|
182
182
|
**/
|
|
183
|
-
extrinsicData: GenericStorageQuery<
|
|
183
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* The current block number being processed. Set by `execute_block`.
|
|
187
187
|
*
|
|
188
188
|
* @param {Callback<number> =} callback
|
|
189
189
|
**/
|
|
190
|
-
number: GenericStorageQuery<
|
|
190
|
+
number: GenericStorageQuery<() => number>;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Hash of the previous block.
|
|
194
194
|
*
|
|
195
195
|
* @param {Callback<H256> =} callback
|
|
196
196
|
**/
|
|
197
|
-
parentHash: GenericStorageQuery<
|
|
197
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Digest of the current block, also part of the block header.
|
|
201
201
|
*
|
|
202
202
|
* @param {Callback<Digest> =} callback
|
|
203
203
|
**/
|
|
204
|
-
digest: GenericStorageQuery<
|
|
204
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Events deposited for the current block.
|
|
@@ -214,14 +214,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
214
214
|
*
|
|
215
215
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
216
216
|
**/
|
|
217
|
-
events: GenericStorageQuery<
|
|
217
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* The number of events in the `Events<T>` list.
|
|
221
221
|
*
|
|
222
222
|
* @param {Callback<number> =} callback
|
|
223
223
|
**/
|
|
224
|
-
eventCount: GenericStorageQuery<
|
|
224
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -238,21 +238,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
238
238
|
* @param {H256} arg
|
|
239
239
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
240
240
|
**/
|
|
241
|
-
eventTopics: GenericStorageQuery<
|
|
241
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
244
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
245
245
|
*
|
|
246
246
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
247
247
|
**/
|
|
248
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
248
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
252
252
|
*
|
|
253
253
|
* @param {Callback<boolean> =} callback
|
|
254
254
|
**/
|
|
255
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
255
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -260,21 +260,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
260
260
|
*
|
|
261
261
|
* @param {Callback<boolean> =} callback
|
|
262
262
|
**/
|
|
263
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
263
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* The execution phase of the block.
|
|
267
267
|
*
|
|
268
268
|
* @param {Callback<Phase | undefined> =} callback
|
|
269
269
|
**/
|
|
270
|
-
executionPhase: GenericStorageQuery<
|
|
270
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* `Some` if a code upgrade has been authorized.
|
|
274
274
|
*
|
|
275
275
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
276
276
|
**/
|
|
277
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
277
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The weight reclaimed for the extrinsic.
|
|
@@ -287,12 +287,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
287
287
|
*
|
|
288
288
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
289
289
|
**/
|
|
290
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
290
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* Generic pallet storage query
|
|
294
294
|
**/
|
|
295
|
-
[storage: string]: GenericStorageQuery
|
|
295
|
+
[storage: string]: GenericStorageQuery;
|
|
296
296
|
};
|
|
297
297
|
/**
|
|
298
298
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -308,7 +308,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
308
308
|
*
|
|
309
309
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
310
310
|
**/
|
|
311
|
-
unincludedSegment: GenericStorageQuery<
|
|
311
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
314
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -318,7 +318,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
318
318
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
319
319
|
**/
|
|
320
320
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
321
|
-
Rv,
|
|
322
321
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
323
322
|
>;
|
|
324
323
|
|
|
@@ -332,7 +331,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
332
331
|
*
|
|
333
332
|
* @param {Callback<Bytes> =} callback
|
|
334
333
|
**/
|
|
335
|
-
pendingValidationCode: GenericStorageQuery<
|
|
334
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
336
335
|
|
|
337
336
|
/**
|
|
338
337
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -343,7 +342,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
343
342
|
*
|
|
344
343
|
* @param {Callback<Bytes | undefined> =} callback
|
|
345
344
|
**/
|
|
346
|
-
newValidationCode: GenericStorageQuery<
|
|
345
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
347
346
|
|
|
348
347
|
/**
|
|
349
348
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -352,14 +351,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
352
351
|
*
|
|
353
352
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
354
353
|
**/
|
|
355
|
-
validationData: GenericStorageQuery<
|
|
354
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
356
355
|
|
|
357
356
|
/**
|
|
358
357
|
* Were the validation data set to notify the relay chain?
|
|
359
358
|
*
|
|
360
359
|
* @param {Callback<boolean> =} callback
|
|
361
360
|
**/
|
|
362
|
-
didSetValidationCode: GenericStorageQuery<
|
|
361
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
363
362
|
|
|
364
363
|
/**
|
|
365
364
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -368,7 +367,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
368
367
|
*
|
|
369
368
|
* @param {Callback<number> =} callback
|
|
370
369
|
**/
|
|
371
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
370
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
372
371
|
|
|
373
372
|
/**
|
|
374
373
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -381,7 +380,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
381
380
|
*
|
|
382
381
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
383
382
|
**/
|
|
384
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
383
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
385
384
|
|
|
386
385
|
/**
|
|
387
386
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -392,7 +391,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
392
391
|
*
|
|
393
392
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
394
393
|
**/
|
|
395
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
394
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
396
395
|
|
|
397
396
|
/**
|
|
398
397
|
* The state proof for the last relay parent block.
|
|
@@ -404,7 +403,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
404
403
|
*
|
|
405
404
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
406
405
|
**/
|
|
407
|
-
relayStateProof: GenericStorageQuery<
|
|
406
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
408
407
|
|
|
409
408
|
/**
|
|
410
409
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -418,7 +417,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
418
417
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
419
418
|
**/
|
|
420
419
|
relevantMessagingState: GenericStorageQuery<
|
|
421
|
-
Rv,
|
|
422
420
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
423
421
|
>;
|
|
424
422
|
|
|
@@ -432,7 +430,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
432
430
|
*
|
|
433
431
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
434
432
|
**/
|
|
435
|
-
hostConfiguration: GenericStorageQuery<
|
|
433
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
436
434
|
|
|
437
435
|
/**
|
|
438
436
|
* The last downward message queue chain head we have observed.
|
|
@@ -442,7 +440,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
442
440
|
*
|
|
443
441
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
444
442
|
**/
|
|
445
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
443
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
446
444
|
|
|
447
445
|
/**
|
|
448
446
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -453,7 +451,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
453
451
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
454
452
|
**/
|
|
455
453
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
456
|
-
Rv,
|
|
457
454
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
458
455
|
>;
|
|
459
456
|
|
|
@@ -464,7 +461,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
464
461
|
*
|
|
465
462
|
* @param {Callback<number> =} callback
|
|
466
463
|
**/
|
|
467
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
464
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
468
465
|
|
|
469
466
|
/**
|
|
470
467
|
* HRMP watermark that was set in a block.
|
|
@@ -473,7 +470,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
473
470
|
*
|
|
474
471
|
* @param {Callback<number> =} callback
|
|
475
472
|
**/
|
|
476
|
-
hrmpWatermark: GenericStorageQuery<
|
|
473
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
477
474
|
|
|
478
475
|
/**
|
|
479
476
|
* HRMP messages that were sent in a block.
|
|
@@ -482,7 +479,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
482
479
|
*
|
|
483
480
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
484
481
|
**/
|
|
485
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
482
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
486
483
|
|
|
487
484
|
/**
|
|
488
485
|
* Upward messages that were sent in a block.
|
|
@@ -491,21 +488,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
491
488
|
*
|
|
492
489
|
* @param {Callback<Array<Bytes>> =} callback
|
|
493
490
|
**/
|
|
494
|
-
upwardMessages: GenericStorageQuery<
|
|
491
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
495
492
|
|
|
496
493
|
/**
|
|
497
494
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
498
495
|
*
|
|
499
496
|
* @param {Callback<Array<Bytes>> =} callback
|
|
500
497
|
**/
|
|
501
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
498
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
502
499
|
|
|
503
500
|
/**
|
|
504
501
|
* The factor to multiply the base delivery fee by for UMP.
|
|
505
502
|
*
|
|
506
503
|
* @param {Callback<FixedU128> =} callback
|
|
507
504
|
**/
|
|
508
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
505
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
509
506
|
|
|
510
507
|
/**
|
|
511
508
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -513,7 +510,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
513
510
|
*
|
|
514
511
|
* @param {Callback<number> =} callback
|
|
515
512
|
**/
|
|
516
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
513
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
517
514
|
|
|
518
515
|
/**
|
|
519
516
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -521,7 +518,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
521
518
|
*
|
|
522
519
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
523
520
|
**/
|
|
524
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
521
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
525
522
|
|
|
526
523
|
/**
|
|
527
524
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -529,7 +526,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
529
526
|
*
|
|
530
527
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
531
528
|
**/
|
|
532
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
529
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
533
530
|
|
|
534
531
|
/**
|
|
535
532
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -538,12 +535,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
538
535
|
*
|
|
539
536
|
* @param {Callback<Bytes | undefined> =} callback
|
|
540
537
|
**/
|
|
541
|
-
customValidationHeadData: GenericStorageQuery<
|
|
538
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
542
539
|
|
|
543
540
|
/**
|
|
544
541
|
* Generic pallet storage query
|
|
545
542
|
**/
|
|
546
|
-
[storage: string]: GenericStorageQuery
|
|
543
|
+
[storage: string]: GenericStorageQuery;
|
|
547
544
|
};
|
|
548
545
|
/**
|
|
549
546
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -554,7 +551,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
554
551
|
*
|
|
555
552
|
* @param {Callback<bigint> =} callback
|
|
556
553
|
**/
|
|
557
|
-
now: GenericStorageQuery<
|
|
554
|
+
now: GenericStorageQuery<() => bigint>;
|
|
558
555
|
|
|
559
556
|
/**
|
|
560
557
|
* Whether the timestamp has been updated in this block.
|
|
@@ -564,12 +561,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
564
561
|
*
|
|
565
562
|
* @param {Callback<boolean> =} callback
|
|
566
563
|
**/
|
|
567
|
-
didUpdate: GenericStorageQuery<
|
|
564
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
568
565
|
|
|
569
566
|
/**
|
|
570
567
|
* Generic pallet storage query
|
|
571
568
|
**/
|
|
572
|
-
[storage: string]: GenericStorageQuery
|
|
569
|
+
[storage: string]: GenericStorageQuery;
|
|
573
570
|
};
|
|
574
571
|
/**
|
|
575
572
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -579,12 +576,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
579
576
|
*
|
|
580
577
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
581
578
|
**/
|
|
582
|
-
parachainId: GenericStorageQuery<
|
|
579
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
583
580
|
|
|
584
581
|
/**
|
|
585
582
|
* Generic pallet storage query
|
|
586
583
|
**/
|
|
587
|
-
[storage: string]: GenericStorageQuery
|
|
584
|
+
[storage: string]: GenericStorageQuery;
|
|
588
585
|
};
|
|
589
586
|
/**
|
|
590
587
|
* Pallet `RootTesting`'s storage queries
|
|
@@ -593,7 +590,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
593
590
|
/**
|
|
594
591
|
* Generic pallet storage query
|
|
595
592
|
**/
|
|
596
|
-
[storage: string]: GenericStorageQuery
|
|
593
|
+
[storage: string]: GenericStorageQuery;
|
|
597
594
|
};
|
|
598
595
|
/**
|
|
599
596
|
* Pallet `Balances`'s storage queries
|
|
@@ -604,14 +601,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
604
601
|
*
|
|
605
602
|
* @param {Callback<bigint> =} callback
|
|
606
603
|
**/
|
|
607
|
-
totalIssuance: GenericStorageQuery<
|
|
604
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
608
605
|
|
|
609
606
|
/**
|
|
610
607
|
* The total units of outstanding deactivated balance in the system.
|
|
611
608
|
*
|
|
612
609
|
* @param {Callback<bigint> =} callback
|
|
613
610
|
**/
|
|
614
|
-
inactiveIssuance: GenericStorageQuery<
|
|
611
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
615
612
|
|
|
616
613
|
/**
|
|
617
614
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -642,7 +639,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
642
639
|
* @param {AccountId20Like} arg
|
|
643
640
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
644
641
|
**/
|
|
645
|
-
account: GenericStorageQuery<
|
|
642
|
+
account: GenericStorageQuery<(arg: AccountId20Like) => PalletBalancesAccountData, AccountId20>;
|
|
646
643
|
|
|
647
644
|
/**
|
|
648
645
|
* Any liquidity locks on some account balances.
|
|
@@ -653,7 +650,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
653
650
|
* @param {AccountId20Like} arg
|
|
654
651
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
655
652
|
**/
|
|
656
|
-
locks: GenericStorageQuery<
|
|
653
|
+
locks: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesBalanceLock>, AccountId20>;
|
|
657
654
|
|
|
658
655
|
/**
|
|
659
656
|
* Named reserves on some account balances.
|
|
@@ -663,7 +660,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
663
660
|
* @param {AccountId20Like} arg
|
|
664
661
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
665
662
|
**/
|
|
666
|
-
reserves: GenericStorageQuery<
|
|
663
|
+
reserves: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesReserveData>, AccountId20>;
|
|
667
664
|
|
|
668
665
|
/**
|
|
669
666
|
* Holds on account balances.
|
|
@@ -671,7 +668,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
671
668
|
* @param {AccountId20Like} arg
|
|
672
669
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
673
670
|
**/
|
|
674
|
-
holds: GenericStorageQuery<
|
|
671
|
+
holds: GenericStorageQuery<(arg: AccountId20Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId20>;
|
|
675
672
|
|
|
676
673
|
/**
|
|
677
674
|
* Freeze locks on account balances.
|
|
@@ -679,12 +676,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
679
676
|
* @param {AccountId20Like} arg
|
|
680
677
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
|
|
681
678
|
**/
|
|
682
|
-
freezes: GenericStorageQuery<
|
|
679
|
+
freezes: GenericStorageQuery<(arg: AccountId20Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId20>;
|
|
683
680
|
|
|
684
681
|
/**
|
|
685
682
|
* Generic pallet storage query
|
|
686
683
|
**/
|
|
687
|
-
[storage: string]: GenericStorageQuery
|
|
684
|
+
[storage: string]: GenericStorageQuery;
|
|
688
685
|
};
|
|
689
686
|
/**
|
|
690
687
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -694,18 +691,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
694
691
|
*
|
|
695
692
|
* @param {Callback<FixedU128> =} callback
|
|
696
693
|
**/
|
|
697
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
694
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
698
695
|
|
|
699
696
|
/**
|
|
700
697
|
*
|
|
701
698
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
702
699
|
**/
|
|
703
|
-
storageVersion: GenericStorageQuery<
|
|
700
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
704
701
|
|
|
705
702
|
/**
|
|
706
703
|
* Generic pallet storage query
|
|
707
704
|
**/
|
|
708
|
-
[storage: string]: GenericStorageQuery
|
|
705
|
+
[storage: string]: GenericStorageQuery;
|
|
709
706
|
};
|
|
710
707
|
/**
|
|
711
708
|
* Pallet `ParachainStaking`'s storage queries
|
|
@@ -716,14 +713,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
716
713
|
*
|
|
717
714
|
* @param {Callback<Perbill> =} callback
|
|
718
715
|
**/
|
|
719
|
-
collatorCommission: GenericStorageQuery<
|
|
716
|
+
collatorCommission: GenericStorageQuery<() => Perbill>;
|
|
720
717
|
|
|
721
718
|
/**
|
|
722
719
|
* The total candidates selected every round
|
|
723
720
|
*
|
|
724
721
|
* @param {Callback<number> =} callback
|
|
725
722
|
**/
|
|
726
|
-
totalSelected: GenericStorageQuery<
|
|
723
|
+
totalSelected: GenericStorageQuery<() => number>;
|
|
727
724
|
|
|
728
725
|
/**
|
|
729
726
|
* Inflation distribution configuration, including accounts that should receive inflation
|
|
@@ -733,14 +730,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
733
730
|
*
|
|
734
731
|
* @param {Callback<PalletParachainStakingInflationDistributionConfig> =} callback
|
|
735
732
|
**/
|
|
736
|
-
inflationDistributionInfo: GenericStorageQuery<
|
|
733
|
+
inflationDistributionInfo: GenericStorageQuery<() => PalletParachainStakingInflationDistributionConfig>;
|
|
737
734
|
|
|
738
735
|
/**
|
|
739
736
|
* Current round index and next round scheduled transition
|
|
740
737
|
*
|
|
741
738
|
* @param {Callback<PalletParachainStakingRoundInfo> =} callback
|
|
742
739
|
**/
|
|
743
|
-
round: GenericStorageQuery<
|
|
740
|
+
round: GenericStorageQuery<() => PalletParachainStakingRoundInfo>;
|
|
744
741
|
|
|
745
742
|
/**
|
|
746
743
|
* Get delegator state associated with an account if account is delegating else None
|
|
@@ -749,7 +746,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
749
746
|
* @param {Callback<PalletParachainStakingDelegator | undefined> =} callback
|
|
750
747
|
**/
|
|
751
748
|
delegatorState: GenericStorageQuery<
|
|
752
|
-
Rv,
|
|
753
749
|
(arg: AccountId20Like) => PalletParachainStakingDelegator | undefined,
|
|
754
750
|
AccountId20
|
|
755
751
|
>;
|
|
@@ -761,7 +757,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
761
757
|
* @param {Callback<PalletParachainStakingCandidateMetadata | undefined> =} callback
|
|
762
758
|
**/
|
|
763
759
|
candidateInfo: GenericStorageQuery<
|
|
764
|
-
Rv,
|
|
765
760
|
(arg: AccountId20Like) => PalletParachainStakingCandidateMetadata | undefined,
|
|
766
761
|
AccountId20
|
|
767
762
|
>;
|
|
@@ -773,7 +768,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
773
768
|
* @param {Callback<Array<PalletParachainStakingDelegationRequestsScheduledRequest>> =} callback
|
|
774
769
|
**/
|
|
775
770
|
delegationScheduledRequests: GenericStorageQuery<
|
|
776
|
-
Rv,
|
|
777
771
|
(arg: AccountId20Like) => Array<PalletParachainStakingDelegationRequestsScheduledRequest>,
|
|
778
772
|
AccountId20
|
|
779
773
|
>;
|
|
@@ -785,7 +779,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
785
779
|
* @param {Callback<Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>> =} callback
|
|
786
780
|
**/
|
|
787
781
|
autoCompoundingDelegations: GenericStorageQuery<
|
|
788
|
-
Rv,
|
|
789
782
|
(arg: AccountId20Like) => Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>,
|
|
790
783
|
AccountId20
|
|
791
784
|
>;
|
|
@@ -797,7 +790,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
797
790
|
* @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
|
|
798
791
|
**/
|
|
799
792
|
topDelegations: GenericStorageQuery<
|
|
800
|
-
Rv,
|
|
801
793
|
(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined,
|
|
802
794
|
AccountId20
|
|
803
795
|
>;
|
|
@@ -809,7 +801,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
809
801
|
* @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
|
|
810
802
|
**/
|
|
811
803
|
bottomDelegations: GenericStorageQuery<
|
|
812
|
-
Rv,
|
|
813
804
|
(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined,
|
|
814
805
|
AccountId20
|
|
815
806
|
>;
|
|
@@ -819,21 +810,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
819
810
|
*
|
|
820
811
|
* @param {Callback<Array<AccountId20>> =} callback
|
|
821
812
|
**/
|
|
822
|
-
selectedCandidates: GenericStorageQuery<
|
|
813
|
+
selectedCandidates: GenericStorageQuery<() => Array<AccountId20>>;
|
|
823
814
|
|
|
824
815
|
/**
|
|
825
816
|
* Total capital locked by this staking pallet
|
|
826
817
|
*
|
|
827
818
|
* @param {Callback<bigint> =} callback
|
|
828
819
|
**/
|
|
829
|
-
total: GenericStorageQuery<
|
|
820
|
+
total: GenericStorageQuery<() => bigint>;
|
|
830
821
|
|
|
831
822
|
/**
|
|
832
823
|
* The pool of collator candidates, each with their total backing stake
|
|
833
824
|
*
|
|
834
825
|
* @param {Callback<PalletParachainStakingSetBoundedOrderedSet> =} callback
|
|
835
826
|
**/
|
|
836
|
-
candidatePool: GenericStorageQuery<
|
|
827
|
+
candidatePool: GenericStorageQuery<() => PalletParachainStakingSetBoundedOrderedSet>;
|
|
837
828
|
|
|
838
829
|
/**
|
|
839
830
|
* Snapshot of collator delegation stake at the start of the round
|
|
@@ -842,7 +833,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
842
833
|
* @param {Callback<PalletParachainStakingCollatorSnapshot | undefined> =} callback
|
|
843
834
|
**/
|
|
844
835
|
atStake: GenericStorageQuery<
|
|
845
|
-
Rv,
|
|
846
836
|
(arg: [number, AccountId20Like]) => PalletParachainStakingCollatorSnapshot | undefined,
|
|
847
837
|
[number, AccountId20]
|
|
848
838
|
>;
|
|
@@ -854,7 +844,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
854
844
|
* @param {[number, AccountId20Like]} arg
|
|
855
845
|
* @param {Callback<[] | undefined> =} callback
|
|
856
846
|
**/
|
|
857
|
-
wasInactive: GenericStorageQuery<
|
|
847
|
+
wasInactive: GenericStorageQuery<(arg: [number, AccountId20Like]) => [] | undefined, [number, AccountId20]>;
|
|
858
848
|
|
|
859
849
|
/**
|
|
860
850
|
* Delayed payouts
|
|
@@ -862,14 +852,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
862
852
|
* @param {number} arg
|
|
863
853
|
* @param {Callback<PalletParachainStakingDelayedPayout | undefined> =} callback
|
|
864
854
|
**/
|
|
865
|
-
delayedPayouts: GenericStorageQuery<
|
|
855
|
+
delayedPayouts: GenericStorageQuery<(arg: number) => PalletParachainStakingDelayedPayout | undefined, number>;
|
|
866
856
|
|
|
867
857
|
/**
|
|
868
858
|
* Inflation configuration
|
|
869
859
|
*
|
|
870
860
|
* @param {Callback<PalletParachainStakingInflationInflationInfo> =} callback
|
|
871
861
|
**/
|
|
872
|
-
inflationConfig: GenericStorageQuery<
|
|
862
|
+
inflationConfig: GenericStorageQuery<() => PalletParachainStakingInflationInflationInfo>;
|
|
873
863
|
|
|
874
864
|
/**
|
|
875
865
|
* Total points awarded to collators for block production in the round
|
|
@@ -877,7 +867,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
877
867
|
* @param {number} arg
|
|
878
868
|
* @param {Callback<number> =} callback
|
|
879
869
|
**/
|
|
880
|
-
points: GenericStorageQuery<
|
|
870
|
+
points: GenericStorageQuery<(arg: number) => number, number>;
|
|
881
871
|
|
|
882
872
|
/**
|
|
883
873
|
* Points for each collator per round
|
|
@@ -885,19 +875,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
885
875
|
* @param {[number, AccountId20Like]} arg
|
|
886
876
|
* @param {Callback<number> =} callback
|
|
887
877
|
**/
|
|
888
|
-
awardedPts: GenericStorageQuery<
|
|
878
|
+
awardedPts: GenericStorageQuery<(arg: [number, AccountId20Like]) => number, [number, AccountId20]>;
|
|
889
879
|
|
|
890
880
|
/**
|
|
891
881
|
* Killswitch to enable/disable marking offline feature.
|
|
892
882
|
*
|
|
893
883
|
* @param {Callback<boolean> =} callback
|
|
894
884
|
**/
|
|
895
|
-
enableMarkingOffline: GenericStorageQuery<
|
|
885
|
+
enableMarkingOffline: GenericStorageQuery<() => boolean>;
|
|
896
886
|
|
|
897
887
|
/**
|
|
898
888
|
* Generic pallet storage query
|
|
899
889
|
**/
|
|
900
|
-
[storage: string]: GenericStorageQuery
|
|
890
|
+
[storage: string]: GenericStorageQuery;
|
|
901
891
|
};
|
|
902
892
|
/**
|
|
903
893
|
* Pallet `AuthorInherent`'s storage queries
|
|
@@ -908,19 +898,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
908
898
|
*
|
|
909
899
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
910
900
|
**/
|
|
911
|
-
author: GenericStorageQuery<
|
|
901
|
+
author: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
912
902
|
|
|
913
903
|
/**
|
|
914
904
|
* Check if the inherent was included
|
|
915
905
|
*
|
|
916
906
|
* @param {Callback<boolean> =} callback
|
|
917
907
|
**/
|
|
918
|
-
inherentIncluded: GenericStorageQuery<
|
|
908
|
+
inherentIncluded: GenericStorageQuery<() => boolean>;
|
|
919
909
|
|
|
920
910
|
/**
|
|
921
911
|
* Generic pallet storage query
|
|
922
912
|
**/
|
|
923
|
-
[storage: string]: GenericStorageQuery
|
|
913
|
+
[storage: string]: GenericStorageQuery;
|
|
924
914
|
};
|
|
925
915
|
/**
|
|
926
916
|
* Pallet `AuthorFilter`'s storage queries
|
|
@@ -930,19 +920,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
930
920
|
*
|
|
931
921
|
* @param {Callback<Percent> =} callback
|
|
932
922
|
**/
|
|
933
|
-
eligibleRatio: GenericStorageQuery<
|
|
923
|
+
eligibleRatio: GenericStorageQuery<() => Percent>;
|
|
934
924
|
|
|
935
925
|
/**
|
|
936
926
|
* The number of active authors that will be eligible at each height.
|
|
937
927
|
*
|
|
938
928
|
* @param {Callback<PalletAuthorSlotFilterNumNonZeroU32> =} callback
|
|
939
929
|
**/
|
|
940
|
-
eligibleCount: GenericStorageQuery<
|
|
930
|
+
eligibleCount: GenericStorageQuery<() => PalletAuthorSlotFilterNumNonZeroU32>;
|
|
941
931
|
|
|
942
932
|
/**
|
|
943
933
|
* Generic pallet storage query
|
|
944
934
|
**/
|
|
945
|
-
[storage: string]: GenericStorageQuery
|
|
935
|
+
[storage: string]: GenericStorageQuery;
|
|
946
936
|
};
|
|
947
937
|
/**
|
|
948
938
|
* Pallet `AuthorMapping`'s storage queries
|
|
@@ -956,7 +946,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
956
946
|
* @param {Callback<PalletAuthorMappingRegistrationInfo | undefined> =} callback
|
|
957
947
|
**/
|
|
958
948
|
mappingWithDeposit: GenericStorageQuery<
|
|
959
|
-
Rv,
|
|
960
949
|
(arg: NimbusPrimitivesNimbusCryptoPublic) => PalletAuthorMappingRegistrationInfo | undefined,
|
|
961
950
|
NimbusPrimitivesNimbusCryptoPublic
|
|
962
951
|
>;
|
|
@@ -968,7 +957,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
968
957
|
* @param {Callback<NimbusPrimitivesNimbusCryptoPublic | undefined> =} callback
|
|
969
958
|
**/
|
|
970
959
|
nimbusLookup: GenericStorageQuery<
|
|
971
|
-
Rv,
|
|
972
960
|
(arg: AccountId20Like) => NimbusPrimitivesNimbusCryptoPublic | undefined,
|
|
973
961
|
AccountId20
|
|
974
962
|
>;
|
|
@@ -976,7 +964,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
976
964
|
/**
|
|
977
965
|
* Generic pallet storage query
|
|
978
966
|
**/
|
|
979
|
-
[storage: string]: GenericStorageQuery
|
|
967
|
+
[storage: string]: GenericStorageQuery;
|
|
980
968
|
};
|
|
981
969
|
/**
|
|
982
970
|
* Pallet `MoonbeamOrbiters`'s storage queries
|
|
@@ -989,7 +977,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
989
977
|
* @param {Callback<AccountId20 | undefined | undefined> =} callback
|
|
990
978
|
**/
|
|
991
979
|
accountLookupOverride: GenericStorageQuery<
|
|
992
|
-
Rv,
|
|
993
980
|
(arg: AccountId20Like) => AccountId20 | undefined | undefined,
|
|
994
981
|
AccountId20
|
|
995
982
|
>;
|
|
@@ -1001,7 +988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1001
988
|
* @param {Callback<PalletMoonbeamOrbitersCollatorPoolInfo | undefined> =} callback
|
|
1002
989
|
**/
|
|
1003
990
|
collatorsPool: GenericStorageQuery<
|
|
1004
|
-
Rv,
|
|
1005
991
|
(arg: AccountId20Like) => PalletMoonbeamOrbitersCollatorPoolInfo | undefined,
|
|
1006
992
|
AccountId20
|
|
1007
993
|
>;
|
|
@@ -1011,14 +997,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1011
997
|
*
|
|
1012
998
|
* @param {Callback<number> =} callback
|
|
1013
999
|
**/
|
|
1014
|
-
counterForCollatorsPool: GenericStorageQuery<
|
|
1000
|
+
counterForCollatorsPool: GenericStorageQuery<() => number>;
|
|
1015
1001
|
|
|
1016
1002
|
/**
|
|
1017
1003
|
* Current round index
|
|
1018
1004
|
*
|
|
1019
1005
|
* @param {Callback<number> =} callback
|
|
1020
1006
|
**/
|
|
1021
|
-
currentRound: GenericStorageQuery<
|
|
1007
|
+
currentRound: GenericStorageQuery<() => number>;
|
|
1022
1008
|
|
|
1023
1009
|
/**
|
|
1024
1010
|
* If true, it forces the rotation at the next round.
|
|
@@ -1027,14 +1013,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1027
1013
|
*
|
|
1028
1014
|
* @param {Callback<boolean> =} callback
|
|
1029
1015
|
**/
|
|
1030
|
-
forceRotation: GenericStorageQuery<
|
|
1016
|
+
forceRotation: GenericStorageQuery<() => boolean>;
|
|
1031
1017
|
|
|
1032
1018
|
/**
|
|
1033
1019
|
* Minimum deposit required to be registered as an orbiter
|
|
1034
1020
|
*
|
|
1035
1021
|
* @param {Callback<bigint | undefined> =} callback
|
|
1036
1022
|
**/
|
|
1037
|
-
minOrbiterDeposit: GenericStorageQuery<
|
|
1023
|
+
minOrbiterDeposit: GenericStorageQuery<() => bigint | undefined>;
|
|
1038
1024
|
|
|
1039
1025
|
/**
|
|
1040
1026
|
* Store active orbiter per round and per parent collator
|
|
@@ -1043,7 +1029,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1043
1029
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
1044
1030
|
**/
|
|
1045
1031
|
orbiterPerRound: GenericStorageQuery<
|
|
1046
|
-
Rv,
|
|
1047
1032
|
(arg: [number, AccountId20Like]) => AccountId20 | undefined,
|
|
1048
1033
|
[number, AccountId20]
|
|
1049
1034
|
>;
|
|
@@ -1054,12 +1039,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1054
1039
|
* @param {AccountId20Like} arg
|
|
1055
1040
|
* @param {Callback<boolean | undefined> =} callback
|
|
1056
1041
|
**/
|
|
1057
|
-
registeredOrbiter: GenericStorageQuery<
|
|
1042
|
+
registeredOrbiter: GenericStorageQuery<(arg: AccountId20Like) => boolean | undefined, AccountId20>;
|
|
1058
1043
|
|
|
1059
1044
|
/**
|
|
1060
1045
|
* Generic pallet storage query
|
|
1061
1046
|
**/
|
|
1062
|
-
[storage: string]: GenericStorageQuery
|
|
1047
|
+
[storage: string]: GenericStorageQuery;
|
|
1063
1048
|
};
|
|
1064
1049
|
/**
|
|
1065
1050
|
* Pallet `AsyncBacking`'s storage queries
|
|
@@ -1072,12 +1057,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1072
1057
|
*
|
|
1073
1058
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1074
1059
|
**/
|
|
1075
|
-
slotInfo: GenericStorageQuery<
|
|
1060
|
+
slotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1076
1061
|
|
|
1077
1062
|
/**
|
|
1078
1063
|
* Generic pallet storage query
|
|
1079
1064
|
**/
|
|
1080
|
-
[storage: string]: GenericStorageQuery
|
|
1065
|
+
[storage: string]: GenericStorageQuery;
|
|
1081
1066
|
};
|
|
1082
1067
|
/**
|
|
1083
1068
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1090,11 +1075,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1090
1075
|
* @param {AccountId20Like} arg
|
|
1091
1076
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1092
1077
|
**/
|
|
1093
|
-
proxies: GenericStorageQuery<
|
|
1094
|
-
Rv,
|
|
1095
|
-
(arg: AccountId20Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1096
|
-
AccountId20
|
|
1097
|
-
>;
|
|
1078
|
+
proxies: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId20>;
|
|
1098
1079
|
|
|
1099
1080
|
/**
|
|
1100
1081
|
* The announcements made by the proxy (key).
|
|
@@ -1102,16 +1083,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1102
1083
|
* @param {AccountId20Like} arg
|
|
1103
1084
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1104
1085
|
**/
|
|
1105
|
-
announcements: GenericStorageQuery<
|
|
1106
|
-
Rv,
|
|
1107
|
-
(arg: AccountId20Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1108
|
-
AccountId20
|
|
1109
|
-
>;
|
|
1086
|
+
announcements: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId20>;
|
|
1110
1087
|
|
|
1111
1088
|
/**
|
|
1112
1089
|
* Generic pallet storage query
|
|
1113
1090
|
**/
|
|
1114
|
-
[storage: string]: GenericStorageQuery
|
|
1091
|
+
[storage: string]: GenericStorageQuery;
|
|
1115
1092
|
};
|
|
1116
1093
|
/**
|
|
1117
1094
|
* Pallet `MaintenanceMode`'s storage queries
|
|
@@ -1122,12 +1099,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1122
1099
|
*
|
|
1123
1100
|
* @param {Callback<boolean> =} callback
|
|
1124
1101
|
**/
|
|
1125
|
-
maintenanceMode: GenericStorageQuery<
|
|
1102
|
+
maintenanceMode: GenericStorageQuery<() => boolean>;
|
|
1126
1103
|
|
|
1127
1104
|
/**
|
|
1128
1105
|
* Generic pallet storage query
|
|
1129
1106
|
**/
|
|
1130
|
-
[storage: string]: GenericStorageQuery
|
|
1107
|
+
[storage: string]: GenericStorageQuery;
|
|
1131
1108
|
};
|
|
1132
1109
|
/**
|
|
1133
1110
|
* Pallet `Identity`'s storage queries
|
|
@@ -1142,7 +1119,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1142
1119
|
* @param {AccountId20Like} arg
|
|
1143
1120
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
1144
1121
|
**/
|
|
1145
|
-
identityOf: GenericStorageQuery<
|
|
1122
|
+
identityOf: GenericStorageQuery<(arg: AccountId20Like) => PalletIdentityRegistration | undefined, AccountId20>;
|
|
1146
1123
|
|
|
1147
1124
|
/**
|
|
1148
1125
|
* Identifies the primary username of an account.
|
|
@@ -1150,7 +1127,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1150
1127
|
* @param {AccountId20Like} arg
|
|
1151
1128
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1152
1129
|
**/
|
|
1153
|
-
usernameOf: GenericStorageQuery<
|
|
1130
|
+
usernameOf: GenericStorageQuery<(arg: AccountId20Like) => Bytes | undefined, AccountId20>;
|
|
1154
1131
|
|
|
1155
1132
|
/**
|
|
1156
1133
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -1159,7 +1136,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1159
1136
|
* @param {AccountId20Like} arg
|
|
1160
1137
|
* @param {Callback<[AccountId20, Data] | undefined> =} callback
|
|
1161
1138
|
**/
|
|
1162
|
-
superOf: GenericStorageQuery<
|
|
1139
|
+
superOf: GenericStorageQuery<(arg: AccountId20Like) => [AccountId20, Data] | undefined, AccountId20>;
|
|
1163
1140
|
|
|
1164
1141
|
/**
|
|
1165
1142
|
* Alternative "sub" identities of this account.
|
|
@@ -1171,7 +1148,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1171
1148
|
* @param {AccountId20Like} arg
|
|
1172
1149
|
* @param {Callback<[bigint, Array<AccountId20>]> =} callback
|
|
1173
1150
|
**/
|
|
1174
|
-
subsOf: GenericStorageQuery<
|
|
1151
|
+
subsOf: GenericStorageQuery<(arg: AccountId20Like) => [bigint, Array<AccountId20>], AccountId20>;
|
|
1175
1152
|
|
|
1176
1153
|
/**
|
|
1177
1154
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1181,7 +1158,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1181
1158
|
*
|
|
1182
1159
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1183
1160
|
**/
|
|
1184
|
-
registrars: GenericStorageQuery<
|
|
1161
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1185
1162
|
|
|
1186
1163
|
/**
|
|
1187
1164
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1189,7 +1166,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1189
1166
|
* @param {BytesLike} arg
|
|
1190
1167
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1191
1168
|
**/
|
|
1192
|
-
authorityOf: GenericStorageQuery<
|
|
1169
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
1193
1170
|
|
|
1194
1171
|
/**
|
|
1195
1172
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -1202,7 +1179,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1202
1179
|
* @param {BytesLike} arg
|
|
1203
1180
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
1204
1181
|
**/
|
|
1205
|
-
usernameInfoOf: GenericStorageQuery<
|
|
1182
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
1206
1183
|
|
|
1207
1184
|
/**
|
|
1208
1185
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1216,7 +1193,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1216
1193
|
* @param {Callback<[AccountId20, number, PalletIdentityProvider] | undefined> =} callback
|
|
1217
1194
|
**/
|
|
1218
1195
|
pendingUsernames: GenericStorageQuery<
|
|
1219
|
-
Rv,
|
|
1220
1196
|
(arg: BytesLike) => [AccountId20, number, PalletIdentityProvider] | undefined,
|
|
1221
1197
|
Bytes
|
|
1222
1198
|
>;
|
|
@@ -1230,12 +1206,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1230
1206
|
* @param {BytesLike} arg
|
|
1231
1207
|
* @param {Callback<number | undefined> =} callback
|
|
1232
1208
|
**/
|
|
1233
|
-
unbindingUsernames: GenericStorageQuery<
|
|
1209
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1234
1210
|
|
|
1235
1211
|
/**
|
|
1236
1212
|
* Generic pallet storage query
|
|
1237
1213
|
**/
|
|
1238
|
-
[storage: string]: GenericStorageQuery
|
|
1214
|
+
[storage: string]: GenericStorageQuery;
|
|
1239
1215
|
};
|
|
1240
1216
|
/**
|
|
1241
1217
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1248,7 +1224,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1248
1224
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1249
1225
|
**/
|
|
1250
1226
|
multisigs: GenericStorageQuery<
|
|
1251
|
-
Rv,
|
|
1252
1227
|
(arg: [AccountId20Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1253
1228
|
[AccountId20, FixedBytes<32>]
|
|
1254
1229
|
>;
|
|
@@ -1256,7 +1231,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1256
1231
|
/**
|
|
1257
1232
|
* Generic pallet storage query
|
|
1258
1233
|
**/
|
|
1259
|
-
[storage: string]: GenericStorageQuery
|
|
1234
|
+
[storage: string]: GenericStorageQuery;
|
|
1260
1235
|
};
|
|
1261
1236
|
/**
|
|
1262
1237
|
* Pallet `MoonbeamLazyMigrations`'s storage queries
|
|
@@ -1265,7 +1240,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1265
1240
|
/**
|
|
1266
1241
|
* Generic pallet storage query
|
|
1267
1242
|
**/
|
|
1268
|
-
[storage: string]: GenericStorageQuery
|
|
1243
|
+
[storage: string]: GenericStorageQuery;
|
|
1269
1244
|
};
|
|
1270
1245
|
/**
|
|
1271
1246
|
* Pallet `Parameters`'s storage queries
|
|
@@ -1278,7 +1253,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1278
1253
|
* @param {Callback<MoonbeamRuntimeRuntimeParamsRuntimeParametersValue | undefined> =} callback
|
|
1279
1254
|
**/
|
|
1280
1255
|
parameters: GenericStorageQuery<
|
|
1281
|
-
Rv,
|
|
1282
1256
|
(
|
|
1283
1257
|
arg: MoonbeamRuntimeRuntimeParamsRuntimeParametersKey,
|
|
1284
1258
|
) => MoonbeamRuntimeRuntimeParamsRuntimeParametersValue | undefined,
|
|
@@ -1288,7 +1262,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1288
1262
|
/**
|
|
1289
1263
|
* Generic pallet storage query
|
|
1290
1264
|
**/
|
|
1291
|
-
[storage: string]: GenericStorageQuery
|
|
1265
|
+
[storage: string]: GenericStorageQuery;
|
|
1292
1266
|
};
|
|
1293
1267
|
/**
|
|
1294
1268
|
* Pallet `EthereumChainId`'s storage queries
|
|
@@ -1299,12 +1273,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1299
1273
|
*
|
|
1300
1274
|
* @param {Callback<bigint> =} callback
|
|
1301
1275
|
**/
|
|
1302
|
-
chainId: GenericStorageQuery<
|
|
1276
|
+
chainId: GenericStorageQuery<() => bigint>;
|
|
1303
1277
|
|
|
1304
1278
|
/**
|
|
1305
1279
|
* Generic pallet storage query
|
|
1306
1280
|
**/
|
|
1307
|
-
[storage: string]: GenericStorageQuery
|
|
1281
|
+
[storage: string]: GenericStorageQuery;
|
|
1308
1282
|
};
|
|
1309
1283
|
/**
|
|
1310
1284
|
* Pallet `EVM`'s storage queries
|
|
@@ -1315,26 +1289,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1315
1289
|
* @param {H160} arg
|
|
1316
1290
|
* @param {Callback<Bytes> =} callback
|
|
1317
1291
|
**/
|
|
1318
|
-
accountCodes: GenericStorageQuery<
|
|
1292
|
+
accountCodes: GenericStorageQuery<(arg: H160) => Bytes, H160>;
|
|
1319
1293
|
|
|
1320
1294
|
/**
|
|
1321
1295
|
*
|
|
1322
1296
|
* @param {H160} arg
|
|
1323
1297
|
* @param {Callback<PalletEvmCodeMetadata | undefined> =} callback
|
|
1324
1298
|
**/
|
|
1325
|
-
accountCodesMetadata: GenericStorageQuery<
|
|
1299
|
+
accountCodesMetadata: GenericStorageQuery<(arg: H160) => PalletEvmCodeMetadata | undefined, H160>;
|
|
1326
1300
|
|
|
1327
1301
|
/**
|
|
1328
1302
|
*
|
|
1329
1303
|
* @param {[H160, H256]} arg
|
|
1330
1304
|
* @param {Callback<H256> =} callback
|
|
1331
1305
|
**/
|
|
1332
|
-
accountStorages: GenericStorageQuery<
|
|
1306
|
+
accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256, [H160, H256]>;
|
|
1333
1307
|
|
|
1334
1308
|
/**
|
|
1335
1309
|
* Generic pallet storage query
|
|
1336
1310
|
**/
|
|
1337
|
-
[storage: string]: GenericStorageQuery
|
|
1311
|
+
[storage: string]: GenericStorageQuery;
|
|
1338
1312
|
};
|
|
1339
1313
|
/**
|
|
1340
1314
|
* Pallet `Ethereum`'s storage queries
|
|
@@ -1347,7 +1321,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1347
1321
|
* @param {Callback<[EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined> =} callback
|
|
1348
1322
|
**/
|
|
1349
1323
|
pending: GenericStorageQuery<
|
|
1350
|
-
Rv,
|
|
1351
1324
|
(arg: number) => [EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined,
|
|
1352
1325
|
number
|
|
1353
1326
|
>;
|
|
@@ -1357,40 +1330,40 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1357
1330
|
*
|
|
1358
1331
|
* @param {Callback<number> =} callback
|
|
1359
1332
|
**/
|
|
1360
|
-
counterForPending: GenericStorageQuery<
|
|
1333
|
+
counterForPending: GenericStorageQuery<() => number>;
|
|
1361
1334
|
|
|
1362
1335
|
/**
|
|
1363
1336
|
* The current Ethereum block.
|
|
1364
1337
|
*
|
|
1365
1338
|
* @param {Callback<EthereumBlock | undefined> =} callback
|
|
1366
1339
|
**/
|
|
1367
|
-
currentBlock: GenericStorageQuery<
|
|
1340
|
+
currentBlock: GenericStorageQuery<() => EthereumBlock | undefined>;
|
|
1368
1341
|
|
|
1369
1342
|
/**
|
|
1370
1343
|
* The current Ethereum receipts.
|
|
1371
1344
|
*
|
|
1372
1345
|
* @param {Callback<Array<EthereumReceiptReceiptV4> | undefined> =} callback
|
|
1373
1346
|
**/
|
|
1374
|
-
currentReceipts: GenericStorageQuery<
|
|
1347
|
+
currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV4> | undefined>;
|
|
1375
1348
|
|
|
1376
1349
|
/**
|
|
1377
1350
|
* The current transaction statuses.
|
|
1378
1351
|
*
|
|
1379
1352
|
* @param {Callback<Array<FpRpcTransactionStatus> | undefined> =} callback
|
|
1380
1353
|
**/
|
|
1381
|
-
currentTransactionStatuses: GenericStorageQuery<
|
|
1354
|
+
currentTransactionStatuses: GenericStorageQuery<() => Array<FpRpcTransactionStatus> | undefined>;
|
|
1382
1355
|
|
|
1383
1356
|
/**
|
|
1384
1357
|
*
|
|
1385
1358
|
* @param {U256} arg
|
|
1386
1359
|
* @param {Callback<H256> =} callback
|
|
1387
1360
|
**/
|
|
1388
|
-
blockHash: GenericStorageQuery<
|
|
1361
|
+
blockHash: GenericStorageQuery<(arg: U256) => H256, U256>;
|
|
1389
1362
|
|
|
1390
1363
|
/**
|
|
1391
1364
|
* Generic pallet storage query
|
|
1392
1365
|
**/
|
|
1393
|
-
[storage: string]: GenericStorageQuery
|
|
1366
|
+
[storage: string]: GenericStorageQuery;
|
|
1394
1367
|
};
|
|
1395
1368
|
/**
|
|
1396
1369
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -1401,7 +1374,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1401
1374
|
*
|
|
1402
1375
|
* @param {Callback<number | undefined> =} callback
|
|
1403
1376
|
**/
|
|
1404
|
-
incompleteSince: GenericStorageQuery<
|
|
1377
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
1405
1378
|
|
|
1406
1379
|
/**
|
|
1407
1380
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -1409,7 +1382,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1409
1382
|
* @param {number} arg
|
|
1410
1383
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
1411
1384
|
**/
|
|
1412
|
-
agenda: GenericStorageQuery<
|
|
1385
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
1413
1386
|
|
|
1414
1387
|
/**
|
|
1415
1388
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -1417,11 +1390,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1417
1390
|
* @param {[number, number]} arg
|
|
1418
1391
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
1419
1392
|
**/
|
|
1420
|
-
retries: GenericStorageQuery<
|
|
1421
|
-
Rv,
|
|
1422
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
1423
|
-
[number, number]
|
|
1424
|
-
>;
|
|
1393
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
1425
1394
|
|
|
1426
1395
|
/**
|
|
1427
1396
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -1432,12 +1401,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1432
1401
|
* @param {FixedBytes<32>} arg
|
|
1433
1402
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1434
1403
|
**/
|
|
1435
|
-
lookup: GenericStorageQuery<
|
|
1404
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
1436
1405
|
|
|
1437
1406
|
/**
|
|
1438
1407
|
* Generic pallet storage query
|
|
1439
1408
|
**/
|
|
1440
|
-
[storage: string]: GenericStorageQuery
|
|
1409
|
+
[storage: string]: GenericStorageQuery;
|
|
1441
1410
|
};
|
|
1442
1411
|
/**
|
|
1443
1412
|
* Pallet `Preimage`'s storage queries
|
|
@@ -1449,7 +1418,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1449
1418
|
* @param {H256} arg
|
|
1450
1419
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
1451
1420
|
**/
|
|
1452
|
-
statusFor: GenericStorageQuery<
|
|
1421
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1453
1422
|
|
|
1454
1423
|
/**
|
|
1455
1424
|
* The request status of a given hash.
|
|
@@ -1457,19 +1426,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1457
1426
|
* @param {H256} arg
|
|
1458
1427
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
1459
1428
|
**/
|
|
1460
|
-
requestStatusFor: GenericStorageQuery<
|
|
1429
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
1461
1430
|
|
|
1462
1431
|
/**
|
|
1463
1432
|
*
|
|
1464
1433
|
* @param {[H256, number]} arg
|
|
1465
1434
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1466
1435
|
**/
|
|
1467
|
-
preimageFor: GenericStorageQuery<
|
|
1436
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
1468
1437
|
|
|
1469
1438
|
/**
|
|
1470
1439
|
* Generic pallet storage query
|
|
1471
1440
|
**/
|
|
1472
|
-
[storage: string]: GenericStorageQuery
|
|
1441
|
+
[storage: string]: GenericStorageQuery;
|
|
1473
1442
|
};
|
|
1474
1443
|
/**
|
|
1475
1444
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -1483,7 +1452,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1483
1452
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
1484
1453
|
**/
|
|
1485
1454
|
votingFor: GenericStorageQuery<
|
|
1486
|
-
Rv,
|
|
1487
1455
|
(arg: [AccountId20Like, number]) => PalletConvictionVotingVoteVoting,
|
|
1488
1456
|
[AccountId20, number]
|
|
1489
1457
|
>;
|
|
@@ -1496,12 +1464,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1496
1464
|
* @param {AccountId20Like} arg
|
|
1497
1465
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1498
1466
|
**/
|
|
1499
|
-
classLocksFor: GenericStorageQuery<
|
|
1467
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId20Like) => Array<[number, bigint]>, AccountId20>;
|
|
1500
1468
|
|
|
1501
1469
|
/**
|
|
1502
1470
|
* Generic pallet storage query
|
|
1503
1471
|
**/
|
|
1504
|
-
[storage: string]: GenericStorageQuery
|
|
1472
|
+
[storage: string]: GenericStorageQuery;
|
|
1505
1473
|
};
|
|
1506
1474
|
/**
|
|
1507
1475
|
* Pallet `Referenda`'s storage queries
|
|
@@ -1512,7 +1480,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1512
1480
|
*
|
|
1513
1481
|
* @param {Callback<number> =} callback
|
|
1514
1482
|
**/
|
|
1515
|
-
referendumCount: GenericStorageQuery<
|
|
1483
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1516
1484
|
|
|
1517
1485
|
/**
|
|
1518
1486
|
* Information concerning any given referendum.
|
|
@@ -1520,7 +1488,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1520
1488
|
* @param {number} arg
|
|
1521
1489
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
1522
1490
|
**/
|
|
1523
|
-
referendumInfoFor: GenericStorageQuery<
|
|
1491
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
1524
1492
|
|
|
1525
1493
|
/**
|
|
1526
1494
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -1531,7 +1499,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1531
1499
|
* @param {number} arg
|
|
1532
1500
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1533
1501
|
**/
|
|
1534
|
-
trackQueue: GenericStorageQuery<
|
|
1502
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
1535
1503
|
|
|
1536
1504
|
/**
|
|
1537
1505
|
* The number of referenda being decided currently.
|
|
@@ -1539,7 +1507,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1539
1507
|
* @param {number} arg
|
|
1540
1508
|
* @param {Callback<number> =} callback
|
|
1541
1509
|
**/
|
|
1542
|
-
decidingCount: GenericStorageQuery<
|
|
1510
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1543
1511
|
|
|
1544
1512
|
/**
|
|
1545
1513
|
* The metadata is a general information concerning the referendum.
|
|
@@ -1552,12 +1520,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1552
1520
|
* @param {number} arg
|
|
1553
1521
|
* @param {Callback<H256 | undefined> =} callback
|
|
1554
1522
|
**/
|
|
1555
|
-
metadataOf: GenericStorageQuery<
|
|
1523
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
1556
1524
|
|
|
1557
1525
|
/**
|
|
1558
1526
|
* Generic pallet storage query
|
|
1559
1527
|
**/
|
|
1560
|
-
[storage: string]: GenericStorageQuery
|
|
1528
|
+
[storage: string]: GenericStorageQuery;
|
|
1561
1529
|
};
|
|
1562
1530
|
/**
|
|
1563
1531
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -1568,12 +1536,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1568
1536
|
* @param {H256} arg
|
|
1569
1537
|
* @param {Callback<[] | undefined> =} callback
|
|
1570
1538
|
**/
|
|
1571
|
-
whitelistedCall: GenericStorageQuery<
|
|
1539
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
1572
1540
|
|
|
1573
1541
|
/**
|
|
1574
1542
|
* Generic pallet storage query
|
|
1575
1543
|
**/
|
|
1576
|
-
[storage: string]: GenericStorageQuery
|
|
1544
|
+
[storage: string]: GenericStorageQuery;
|
|
1577
1545
|
};
|
|
1578
1546
|
/**
|
|
1579
1547
|
* Pallet `TreasuryCouncilCollective`'s storage queries
|
|
@@ -1584,7 +1552,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1584
1552
|
*
|
|
1585
1553
|
* @param {Callback<Array<H256>> =} callback
|
|
1586
1554
|
**/
|
|
1587
|
-
proposals: GenericStorageQuery<
|
|
1555
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
1588
1556
|
|
|
1589
1557
|
/**
|
|
1590
1558
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -1592,7 +1560,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1592
1560
|
* @param {H256} arg
|
|
1593
1561
|
* @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
|
|
1594
1562
|
**/
|
|
1595
|
-
proposalOf: GenericStorageQuery<
|
|
1563
|
+
proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined, H256>;
|
|
1596
1564
|
|
|
1597
1565
|
/**
|
|
1598
1566
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -1603,7 +1571,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1603
1571
|
* @param {H256} arg
|
|
1604
1572
|
* @param {Callback<[AccountId20, []] | undefined> =} callback
|
|
1605
1573
|
**/
|
|
1606
|
-
costOf: GenericStorageQuery<
|
|
1574
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId20, []] | undefined, H256>;
|
|
1607
1575
|
|
|
1608
1576
|
/**
|
|
1609
1577
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -1611,33 +1579,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1611
1579
|
* @param {H256} arg
|
|
1612
1580
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
1613
1581
|
**/
|
|
1614
|
-
voting: GenericStorageQuery<
|
|
1582
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
1615
1583
|
|
|
1616
1584
|
/**
|
|
1617
1585
|
* Proposals so far.
|
|
1618
1586
|
*
|
|
1619
1587
|
* @param {Callback<number> =} callback
|
|
1620
1588
|
**/
|
|
1621
|
-
proposalCount: GenericStorageQuery<
|
|
1589
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1622
1590
|
|
|
1623
1591
|
/**
|
|
1624
1592
|
* The current members of the collective. This is stored sorted (just by value).
|
|
1625
1593
|
*
|
|
1626
1594
|
* @param {Callback<Array<AccountId20>> =} callback
|
|
1627
1595
|
**/
|
|
1628
|
-
members: GenericStorageQuery<
|
|
1596
|
+
members: GenericStorageQuery<() => Array<AccountId20>>;
|
|
1629
1597
|
|
|
1630
1598
|
/**
|
|
1631
1599
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
1632
1600
|
*
|
|
1633
1601
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
1634
1602
|
**/
|
|
1635
|
-
prime: GenericStorageQuery<
|
|
1603
|
+
prime: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
1636
1604
|
|
|
1637
1605
|
/**
|
|
1638
1606
|
* Generic pallet storage query
|
|
1639
1607
|
**/
|
|
1640
|
-
[storage: string]: GenericStorageQuery
|
|
1608
|
+
[storage: string]: GenericStorageQuery;
|
|
1641
1609
|
};
|
|
1642
1610
|
/**
|
|
1643
1611
|
* Pallet `OpenTechCommitteeCollective`'s storage queries
|
|
@@ -1648,7 +1616,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1648
1616
|
*
|
|
1649
1617
|
* @param {Callback<Array<H256>> =} callback
|
|
1650
1618
|
**/
|
|
1651
|
-
proposals: GenericStorageQuery<
|
|
1619
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
1652
1620
|
|
|
1653
1621
|
/**
|
|
1654
1622
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -1656,7 +1624,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1656
1624
|
* @param {H256} arg
|
|
1657
1625
|
* @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
|
|
1658
1626
|
**/
|
|
1659
|
-
proposalOf: GenericStorageQuery<
|
|
1627
|
+
proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined, H256>;
|
|
1660
1628
|
|
|
1661
1629
|
/**
|
|
1662
1630
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -1667,7 +1635,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1667
1635
|
* @param {H256} arg
|
|
1668
1636
|
* @param {Callback<[AccountId20, []] | undefined> =} callback
|
|
1669
1637
|
**/
|
|
1670
|
-
costOf: GenericStorageQuery<
|
|
1638
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId20, []] | undefined, H256>;
|
|
1671
1639
|
|
|
1672
1640
|
/**
|
|
1673
1641
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -1675,33 +1643,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1675
1643
|
* @param {H256} arg
|
|
1676
1644
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
1677
1645
|
**/
|
|
1678
|
-
voting: GenericStorageQuery<
|
|
1646
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
1679
1647
|
|
|
1680
1648
|
/**
|
|
1681
1649
|
* Proposals so far.
|
|
1682
1650
|
*
|
|
1683
1651
|
* @param {Callback<number> =} callback
|
|
1684
1652
|
**/
|
|
1685
|
-
proposalCount: GenericStorageQuery<
|
|
1653
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1686
1654
|
|
|
1687
1655
|
/**
|
|
1688
1656
|
* The current members of the collective. This is stored sorted (just by value).
|
|
1689
1657
|
*
|
|
1690
1658
|
* @param {Callback<Array<AccountId20>> =} callback
|
|
1691
1659
|
**/
|
|
1692
|
-
members: GenericStorageQuery<
|
|
1660
|
+
members: GenericStorageQuery<() => Array<AccountId20>>;
|
|
1693
1661
|
|
|
1694
1662
|
/**
|
|
1695
1663
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
1696
1664
|
*
|
|
1697
1665
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
1698
1666
|
**/
|
|
1699
|
-
prime: GenericStorageQuery<
|
|
1667
|
+
prime: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
1700
1668
|
|
|
1701
1669
|
/**
|
|
1702
1670
|
* Generic pallet storage query
|
|
1703
1671
|
**/
|
|
1704
|
-
[storage: string]: GenericStorageQuery
|
|
1672
|
+
[storage: string]: GenericStorageQuery;
|
|
1705
1673
|
};
|
|
1706
1674
|
/**
|
|
1707
1675
|
* Pallet `Treasury`'s storage queries
|
|
@@ -1715,7 +1683,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1715
1683
|
*
|
|
1716
1684
|
* @param {Callback<number> =} callback
|
|
1717
1685
|
**/
|
|
1718
|
-
proposalCount: GenericStorageQuery<
|
|
1686
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
1719
1687
|
|
|
1720
1688
|
/**
|
|
1721
1689
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1726,14 +1694,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1726
1694
|
* @param {number} arg
|
|
1727
1695
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
1728
1696
|
**/
|
|
1729
|
-
proposals: GenericStorageQuery<
|
|
1697
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
1730
1698
|
|
|
1731
1699
|
/**
|
|
1732
1700
|
* The amount which has been reported as inactive to Currency.
|
|
1733
1701
|
*
|
|
1734
1702
|
* @param {Callback<bigint> =} callback
|
|
1735
1703
|
**/
|
|
1736
|
-
deactivated: GenericStorageQuery<
|
|
1704
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
1737
1705
|
|
|
1738
1706
|
/**
|
|
1739
1707
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
@@ -1743,14 +1711,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1743
1711
|
*
|
|
1744
1712
|
* @param {Callback<Array<number>> =} callback
|
|
1745
1713
|
**/
|
|
1746
|
-
approvals: GenericStorageQuery<
|
|
1714
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
1747
1715
|
|
|
1748
1716
|
/**
|
|
1749
1717
|
* The count of spends that have been made.
|
|
1750
1718
|
*
|
|
1751
1719
|
* @param {Callback<number> =} callback
|
|
1752
1720
|
**/
|
|
1753
|
-
spendCount: GenericStorageQuery<
|
|
1721
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
1754
1722
|
|
|
1755
1723
|
/**
|
|
1756
1724
|
* Spends that have been approved and being processed.
|
|
@@ -1758,19 +1726,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1758
1726
|
* @param {number} arg
|
|
1759
1727
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
1760
1728
|
**/
|
|
1761
|
-
spends: GenericStorageQuery<
|
|
1729
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1762
1730
|
|
|
1763
1731
|
/**
|
|
1764
1732
|
* The blocknumber for the last triggered spend period.
|
|
1765
1733
|
*
|
|
1766
1734
|
* @param {Callback<number | undefined> =} callback
|
|
1767
1735
|
**/
|
|
1768
|
-
lastSpendPeriod: GenericStorageQuery<
|
|
1736
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
1769
1737
|
|
|
1770
1738
|
/**
|
|
1771
1739
|
* Generic pallet storage query
|
|
1772
1740
|
**/
|
|
1773
|
-
[storage: string]: GenericStorageQuery
|
|
1741
|
+
[storage: string]: GenericStorageQuery;
|
|
1774
1742
|
};
|
|
1775
1743
|
/**
|
|
1776
1744
|
* Pallet `CrowdloanRewards`'s storage queries
|
|
@@ -1782,7 +1750,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1782
1750
|
* @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
|
|
1783
1751
|
**/
|
|
1784
1752
|
accountsPayable: GenericStorageQuery<
|
|
1785
|
-
Rv,
|
|
1786
1753
|
(arg: AccountId20Like) => PalletCrowdloanRewardsRewardInfo | undefined,
|
|
1787
1754
|
AccountId20
|
|
1788
1755
|
>;
|
|
@@ -1792,7 +1759,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1792
1759
|
* @param {FixedBytes<32>} arg
|
|
1793
1760
|
* @param {Callback<[] | undefined> =} callback
|
|
1794
1761
|
**/
|
|
1795
|
-
claimedRelayChainIds: GenericStorageQuery<
|
|
1762
|
+
claimedRelayChainIds: GenericStorageQuery<(arg: FixedBytes<32>) => [] | undefined, FixedBytes<32>>;
|
|
1796
1763
|
|
|
1797
1764
|
/**
|
|
1798
1765
|
*
|
|
@@ -1800,7 +1767,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1800
1767
|
* @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
|
|
1801
1768
|
**/
|
|
1802
1769
|
unassociatedContributions: GenericStorageQuery<
|
|
1803
|
-
Rv,
|
|
1804
1770
|
(arg: FixedBytes<32>) => PalletCrowdloanRewardsRewardInfo | undefined,
|
|
1805
1771
|
FixedBytes<32>
|
|
1806
1772
|
>;
|
|
@@ -1809,21 +1775,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1809
1775
|
*
|
|
1810
1776
|
* @param {Callback<boolean> =} callback
|
|
1811
1777
|
**/
|
|
1812
|
-
initialized: GenericStorageQuery<
|
|
1778
|
+
initialized: GenericStorageQuery<() => boolean>;
|
|
1813
1779
|
|
|
1814
1780
|
/**
|
|
1815
1781
|
* Vesting block height at the initialization of the pallet
|
|
1816
1782
|
*
|
|
1817
1783
|
* @param {Callback<number> =} callback
|
|
1818
1784
|
**/
|
|
1819
|
-
initRelayBlock: GenericStorageQuery<
|
|
1785
|
+
initRelayBlock: GenericStorageQuery<() => number>;
|
|
1820
1786
|
|
|
1821
1787
|
/**
|
|
1822
1788
|
* Vesting block height at the initialization of the pallet
|
|
1823
1789
|
*
|
|
1824
1790
|
* @param {Callback<number> =} callback
|
|
1825
1791
|
**/
|
|
1826
|
-
endRelayBlock: GenericStorageQuery<
|
|
1792
|
+
endRelayBlock: GenericStorageQuery<() => number>;
|
|
1827
1793
|
|
|
1828
1794
|
/**
|
|
1829
1795
|
* Total initialized amount so far. We store this to make pallet funds == contributors reward
|
|
@@ -1831,19 +1797,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1831
1797
|
*
|
|
1832
1798
|
* @param {Callback<bigint> =} callback
|
|
1833
1799
|
**/
|
|
1834
|
-
initializedRewardAmount: GenericStorageQuery<
|
|
1800
|
+
initializedRewardAmount: GenericStorageQuery<() => bigint>;
|
|
1835
1801
|
|
|
1836
1802
|
/**
|
|
1837
1803
|
* Total number of contributors to aid hinting benchmarking
|
|
1838
1804
|
*
|
|
1839
1805
|
* @param {Callback<number> =} callback
|
|
1840
1806
|
**/
|
|
1841
|
-
totalContributors: GenericStorageQuery<
|
|
1807
|
+
totalContributors: GenericStorageQuery<() => number>;
|
|
1842
1808
|
|
|
1843
1809
|
/**
|
|
1844
1810
|
* Generic pallet storage query
|
|
1845
1811
|
**/
|
|
1846
|
-
[storage: string]: GenericStorageQuery
|
|
1812
|
+
[storage: string]: GenericStorageQuery;
|
|
1847
1813
|
};
|
|
1848
1814
|
/**
|
|
1849
1815
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1861,7 +1827,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1861
1827
|
*
|
|
1862
1828
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1863
1829
|
**/
|
|
1864
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1830
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1865
1831
|
|
|
1866
1832
|
/**
|
|
1867
1833
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1873,7 +1839,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1873
1839
|
*
|
|
1874
1840
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1875
1841
|
**/
|
|
1876
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1842
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1877
1843
|
|
|
1878
1844
|
/**
|
|
1879
1845
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1882,7 +1848,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1882
1848
|
* @param {Callback<Bytes> =} callback
|
|
1883
1849
|
**/
|
|
1884
1850
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1885
|
-
Rv,
|
|
1886
1851
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1887
1852
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1888
1853
|
>;
|
|
@@ -1894,7 +1859,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1894
1859
|
* @param {Callback<Bytes> =} callback
|
|
1895
1860
|
**/
|
|
1896
1861
|
signalMessages: GenericStorageQuery<
|
|
1897
|
-
Rv,
|
|
1898
1862
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1899
1863
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1900
1864
|
>;
|
|
@@ -1904,14 +1868,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1904
1868
|
*
|
|
1905
1869
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1906
1870
|
**/
|
|
1907
|
-
queueConfig: GenericStorageQuery<
|
|
1871
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1908
1872
|
|
|
1909
1873
|
/**
|
|
1910
1874
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1911
1875
|
*
|
|
1912
1876
|
* @param {Callback<boolean> =} callback
|
|
1913
1877
|
**/
|
|
1914
|
-
queueSuspended: GenericStorageQuery<
|
|
1878
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1915
1879
|
|
|
1916
1880
|
/**
|
|
1917
1881
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1920,7 +1884,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1920
1884
|
* @param {Callback<FixedU128> =} callback
|
|
1921
1885
|
**/
|
|
1922
1886
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1923
|
-
Rv,
|
|
1924
1887
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1925
1888
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1926
1889
|
>;
|
|
@@ -1928,7 +1891,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1928
1891
|
/**
|
|
1929
1892
|
* Generic pallet storage query
|
|
1930
1893
|
**/
|
|
1931
|
-
[storage: string]: GenericStorageQuery
|
|
1894
|
+
[storage: string]: GenericStorageQuery;
|
|
1932
1895
|
};
|
|
1933
1896
|
/**
|
|
1934
1897
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1939,7 +1902,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1939
1902
|
*
|
|
1940
1903
|
* @param {Callback<bigint> =} callback
|
|
1941
1904
|
**/
|
|
1942
|
-
queryCounter: GenericStorageQuery<
|
|
1905
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1943
1906
|
|
|
1944
1907
|
/**
|
|
1945
1908
|
* The ongoing queries.
|
|
@@ -1947,7 +1910,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1947
1910
|
* @param {bigint} arg
|
|
1948
1911
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1949
1912
|
**/
|
|
1950
|
-
queries: GenericStorageQuery<
|
|
1913
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1951
1914
|
|
|
1952
1915
|
/**
|
|
1953
1916
|
* The existing asset traps.
|
|
@@ -1958,7 +1921,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1958
1921
|
* @param {H256} arg
|
|
1959
1922
|
* @param {Callback<number> =} callback
|
|
1960
1923
|
**/
|
|
1961
|
-
assetTraps: GenericStorageQuery<
|
|
1924
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1962
1925
|
|
|
1963
1926
|
/**
|
|
1964
1927
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1966,7 +1929,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1966
1929
|
*
|
|
1967
1930
|
* @param {Callback<number | undefined> =} callback
|
|
1968
1931
|
**/
|
|
1969
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1932
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1970
1933
|
|
|
1971
1934
|
/**
|
|
1972
1935
|
* The Latest versions that we know various locations support.
|
|
@@ -1975,7 +1938,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1975
1938
|
* @param {Callback<number | undefined> =} callback
|
|
1976
1939
|
**/
|
|
1977
1940
|
supportedVersion: GenericStorageQuery<
|
|
1978
|
-
Rv,
|
|
1979
1941
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1980
1942
|
[number, XcmVersionedLocation]
|
|
1981
1943
|
>;
|
|
@@ -1987,7 +1949,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1987
1949
|
* @param {Callback<bigint | undefined> =} callback
|
|
1988
1950
|
**/
|
|
1989
1951
|
versionNotifiers: GenericStorageQuery<
|
|
1990
|
-
Rv,
|
|
1991
1952
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1992
1953
|
[number, XcmVersionedLocation]
|
|
1993
1954
|
>;
|
|
@@ -2000,7 +1961,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2000
1961
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
2001
1962
|
**/
|
|
2002
1963
|
versionNotifyTargets: GenericStorageQuery<
|
|
2003
|
-
Rv,
|
|
2004
1964
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
2005
1965
|
[number, XcmVersionedLocation]
|
|
2006
1966
|
>;
|
|
@@ -2012,14 +1972,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2012
1972
|
*
|
|
2013
1973
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
2014
1974
|
**/
|
|
2015
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1975
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
2016
1976
|
|
|
2017
1977
|
/**
|
|
2018
1978
|
* The current migration's stage, if any.
|
|
2019
1979
|
*
|
|
2020
1980
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
2021
1981
|
**/
|
|
2022
|
-
currentMigration: GenericStorageQuery<
|
|
1982
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
2023
1983
|
|
|
2024
1984
|
/**
|
|
2025
1985
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -2028,7 +1988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2028
1988
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
2029
1989
|
**/
|
|
2030
1990
|
remoteLockedFungibles: GenericStorageQuery<
|
|
2031
|
-
Rv,
|
|
2032
1991
|
(arg: [number, AccountId20Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
2033
1992
|
[number, AccountId20, XcmVersionedAssetId]
|
|
2034
1993
|
>;
|
|
@@ -2040,7 +1999,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2040
1999
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
2041
2000
|
**/
|
|
2042
2001
|
lockedFungibles: GenericStorageQuery<
|
|
2043
|
-
Rv,
|
|
2044
2002
|
(arg: AccountId20Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
2045
2003
|
AccountId20
|
|
2046
2004
|
>;
|
|
@@ -2050,7 +2008,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2050
2008
|
*
|
|
2051
2009
|
* @param {Callback<boolean> =} callback
|
|
2052
2010
|
**/
|
|
2053
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
2011
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
2054
2012
|
|
|
2055
2013
|
/**
|
|
2056
2014
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -2063,7 +2021,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2063
2021
|
*
|
|
2064
2022
|
* @param {Callback<boolean> =} callback
|
|
2065
2023
|
**/
|
|
2066
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
2024
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
2067
2025
|
|
|
2068
2026
|
/**
|
|
2069
2027
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -2075,7 +2033,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2075
2033
|
*
|
|
2076
2034
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
2077
2035
|
**/
|
|
2078
|
-
recordedXcm: GenericStorageQuery<
|
|
2036
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
2079
2037
|
|
|
2080
2038
|
/**
|
|
2081
2039
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -2086,7 +2044,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2086
2044
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
2087
2045
|
**/
|
|
2088
2046
|
authorizedAliases: GenericStorageQuery<
|
|
2089
|
-
Rv,
|
|
2090
2047
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
2091
2048
|
XcmVersionedLocation
|
|
2092
2049
|
>;
|
|
@@ -2094,7 +2051,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2094
2051
|
/**
|
|
2095
2052
|
* Generic pallet storage query
|
|
2096
2053
|
**/
|
|
2097
|
-
[storage: string]: GenericStorageQuery
|
|
2054
|
+
[storage: string]: GenericStorageQuery;
|
|
2098
2055
|
};
|
|
2099
2056
|
/**
|
|
2100
2057
|
* Pallet `Assets`'s storage queries
|
|
@@ -2106,7 +2063,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2106
2063
|
* @param {bigint} arg
|
|
2107
2064
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
2108
2065
|
**/
|
|
2109
|
-
asset: GenericStorageQuery<
|
|
2066
|
+
asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined, bigint>;
|
|
2110
2067
|
|
|
2111
2068
|
/**
|
|
2112
2069
|
* The holdings of a specific account for a specific asset.
|
|
@@ -2115,7 +2072,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2115
2072
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
2116
2073
|
**/
|
|
2117
2074
|
account: GenericStorageQuery<
|
|
2118
|
-
Rv,
|
|
2119
2075
|
(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined,
|
|
2120
2076
|
[bigint, AccountId20]
|
|
2121
2077
|
>;
|
|
@@ -2129,7 +2085,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2129
2085
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
2130
2086
|
**/
|
|
2131
2087
|
approvals: GenericStorageQuery<
|
|
2132
|
-
Rv,
|
|
2133
2088
|
(arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined,
|
|
2134
2089
|
[bigint, AccountId20, AccountId20]
|
|
2135
2090
|
>;
|
|
@@ -2140,7 +2095,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2140
2095
|
* @param {bigint} arg
|
|
2141
2096
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
2142
2097
|
**/
|
|
2143
|
-
metadata: GenericStorageQuery<
|
|
2098
|
+
metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata, bigint>;
|
|
2144
2099
|
|
|
2145
2100
|
/**
|
|
2146
2101
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -2155,12 +2110,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2155
2110
|
*
|
|
2156
2111
|
* @param {Callback<bigint | undefined> =} callback
|
|
2157
2112
|
**/
|
|
2158
|
-
nextAssetId: GenericStorageQuery<
|
|
2113
|
+
nextAssetId: GenericStorageQuery<() => bigint | undefined>;
|
|
2159
2114
|
|
|
2160
2115
|
/**
|
|
2161
2116
|
* Generic pallet storage query
|
|
2162
2117
|
**/
|
|
2163
|
-
[storage: string]: GenericStorageQuery
|
|
2118
|
+
[storage: string]: GenericStorageQuery;
|
|
2164
2119
|
};
|
|
2165
2120
|
/**
|
|
2166
2121
|
* Pallet `XcmTransactor`'s storage queries
|
|
@@ -2174,7 +2129,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2174
2129
|
* @param {number} arg
|
|
2175
2130
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2176
2131
|
**/
|
|
2177
|
-
indexToAccount: GenericStorageQuery<
|
|
2132
|
+
indexToAccount: GenericStorageQuery<(arg: number) => AccountId20 | undefined, number>;
|
|
2178
2133
|
|
|
2179
2134
|
/**
|
|
2180
2135
|
* Stores the transact info of a Location. This defines how much extra weight we need to
|
|
@@ -2185,7 +2140,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2185
2140
|
* @param {Callback<PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined> =} callback
|
|
2186
2141
|
**/
|
|
2187
2142
|
transactInfoWithWeightLimit: GenericStorageQuery<
|
|
2188
|
-
Rv,
|
|
2189
2143
|
(arg: StagingXcmV5Location) => PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined,
|
|
2190
2144
|
StagingXcmV5Location
|
|
2191
2145
|
>;
|
|
@@ -2198,7 +2152,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2198
2152
|
* @param {Callback<bigint | undefined> =} callback
|
|
2199
2153
|
**/
|
|
2200
2154
|
destinationAssetFeePerSecond: GenericStorageQuery<
|
|
2201
|
-
Rv,
|
|
2202
2155
|
(arg: StagingXcmV5Location) => bigint | undefined,
|
|
2203
2156
|
StagingXcmV5Location
|
|
2204
2157
|
>;
|
|
@@ -2208,12 +2161,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2208
2161
|
*
|
|
2209
2162
|
* @param {Callback<PalletXcmTransactorRelayIndicesRelayChainIndices> =} callback
|
|
2210
2163
|
**/
|
|
2211
|
-
relayIndices: GenericStorageQuery<
|
|
2164
|
+
relayIndices: GenericStorageQuery<() => PalletXcmTransactorRelayIndicesRelayChainIndices>;
|
|
2212
2165
|
|
|
2213
2166
|
/**
|
|
2214
2167
|
* Generic pallet storage query
|
|
2215
2168
|
**/
|
|
2216
|
-
[storage: string]: GenericStorageQuery
|
|
2169
|
+
[storage: string]: GenericStorageQuery;
|
|
2217
2170
|
};
|
|
2218
2171
|
/**
|
|
2219
2172
|
* Pallet `EthereumXcm`'s storage queries
|
|
@@ -2224,19 +2177,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2224
2177
|
*
|
|
2225
2178
|
* @param {Callback<U256> =} callback
|
|
2226
2179
|
**/
|
|
2227
|
-
nonce: GenericStorageQuery<
|
|
2180
|
+
nonce: GenericStorageQuery<() => U256>;
|
|
2228
2181
|
|
|
2229
2182
|
/**
|
|
2230
2183
|
* Whether or not Ethereum-XCM is suspended from executing
|
|
2231
2184
|
*
|
|
2232
2185
|
* @param {Callback<boolean> =} callback
|
|
2233
2186
|
**/
|
|
2234
|
-
ethereumXcmSuspended: GenericStorageQuery<
|
|
2187
|
+
ethereumXcmSuspended: GenericStorageQuery<() => boolean>;
|
|
2235
2188
|
|
|
2236
2189
|
/**
|
|
2237
2190
|
* Generic pallet storage query
|
|
2238
2191
|
**/
|
|
2239
|
-
[storage: string]: GenericStorageQuery
|
|
2192
|
+
[storage: string]: GenericStorageQuery;
|
|
2240
2193
|
};
|
|
2241
2194
|
/**
|
|
2242
2195
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -2249,7 +2202,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2249
2202
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
2250
2203
|
**/
|
|
2251
2204
|
bookStateFor: GenericStorageQuery<
|
|
2252
|
-
Rv,
|
|
2253
2205
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
2254
2206
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
2255
2207
|
>;
|
|
@@ -2259,7 +2211,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2259
2211
|
*
|
|
2260
2212
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
2261
2213
|
**/
|
|
2262
|
-
serviceHead: GenericStorageQuery<
|
|
2214
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
2263
2215
|
|
|
2264
2216
|
/**
|
|
2265
2217
|
* The map of page indices to pages.
|
|
@@ -2268,7 +2220,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2268
2220
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
2269
2221
|
**/
|
|
2270
2222
|
pages: GenericStorageQuery<
|
|
2271
|
-
Rv,
|
|
2272
2223
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
2273
2224
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
2274
2225
|
>;
|
|
@@ -2276,7 +2227,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2276
2227
|
/**
|
|
2277
2228
|
* Generic pallet storage query
|
|
2278
2229
|
**/
|
|
2279
|
-
[storage: string]: GenericStorageQuery
|
|
2230
|
+
[storage: string]: GenericStorageQuery;
|
|
2280
2231
|
};
|
|
2281
2232
|
/**
|
|
2282
2233
|
* Pallet `EvmForeignAssets`'s storage queries
|
|
@@ -2290,14 +2241,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2290
2241
|
* @param {bigint} arg
|
|
2291
2242
|
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
2292
2243
|
**/
|
|
2293
|
-
assetsById: GenericStorageQuery<
|
|
2244
|
+
assetsById: GenericStorageQuery<(arg: bigint) => StagingXcmV5Location | undefined, bigint>;
|
|
2294
2245
|
|
|
2295
2246
|
/**
|
|
2296
2247
|
* Counter for the related counted storage map
|
|
2297
2248
|
*
|
|
2298
2249
|
* @param {Callback<number> =} callback
|
|
2299
2250
|
**/
|
|
2300
|
-
counterForAssetsById: GenericStorageQuery<
|
|
2251
|
+
counterForAssetsById: GenericStorageQuery<() => number>;
|
|
2301
2252
|
|
|
2302
2253
|
/**
|
|
2303
2254
|
* Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id.
|
|
@@ -2308,7 +2259,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2308
2259
|
* @param {Callback<[bigint, PalletMoonbeamForeignAssetsAssetStatus] | undefined> =} callback
|
|
2309
2260
|
**/
|
|
2310
2261
|
assetsByLocation: GenericStorageQuery<
|
|
2311
|
-
Rv,
|
|
2312
2262
|
(arg: StagingXcmV5Location) => [bigint, PalletMoonbeamForeignAssetsAssetStatus] | undefined,
|
|
2313
2263
|
StagingXcmV5Location
|
|
2314
2264
|
>;
|
|
@@ -2320,7 +2270,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2320
2270
|
* @param {Callback<PalletMoonbeamForeignAssetsAssetDepositDetails | undefined> =} callback
|
|
2321
2271
|
**/
|
|
2322
2272
|
assetsCreationDetails: GenericStorageQuery<
|
|
2323
|
-
Rv,
|
|
2324
2273
|
(arg: bigint) => PalletMoonbeamForeignAssetsAssetDepositDetails | undefined,
|
|
2325
2274
|
bigint
|
|
2326
2275
|
>;
|
|
@@ -2328,7 +2277,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2328
2277
|
/**
|
|
2329
2278
|
* Generic pallet storage query
|
|
2330
2279
|
**/
|
|
2331
|
-
[storage: string]: GenericStorageQuery
|
|
2280
|
+
[storage: string]: GenericStorageQuery;
|
|
2332
2281
|
};
|
|
2333
2282
|
/**
|
|
2334
2283
|
* Pallet `XcmWeightTrader`'s storage queries
|
|
@@ -2343,7 +2292,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2343
2292
|
* @param {Callback<[boolean, bigint] | undefined> =} callback
|
|
2344
2293
|
**/
|
|
2345
2294
|
supportedAssets: GenericStorageQuery<
|
|
2346
|
-
Rv,
|
|
2347
2295
|
(arg: StagingXcmV5Location) => [boolean, bigint] | undefined,
|
|
2348
2296
|
StagingXcmV5Location
|
|
2349
2297
|
>;
|
|
@@ -2351,7 +2299,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2351
2299
|
/**
|
|
2352
2300
|
* Generic pallet storage query
|
|
2353
2301
|
**/
|
|
2354
|
-
[storage: string]: GenericStorageQuery
|
|
2302
|
+
[storage: string]: GenericStorageQuery;
|
|
2355
2303
|
};
|
|
2356
2304
|
/**
|
|
2357
2305
|
* Pallet `EmergencyParaXcm`'s storage queries
|
|
@@ -2362,12 +2310,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2362
2310
|
*
|
|
2363
2311
|
* @param {Callback<PalletEmergencyParaXcmXcmMode> =} callback
|
|
2364
2312
|
**/
|
|
2365
|
-
mode: GenericStorageQuery<
|
|
2313
|
+
mode: GenericStorageQuery<() => PalletEmergencyParaXcmXcmMode>;
|
|
2366
2314
|
|
|
2367
2315
|
/**
|
|
2368
2316
|
* Generic pallet storage query
|
|
2369
2317
|
**/
|
|
2370
|
-
[storage: string]: GenericStorageQuery
|
|
2318
|
+
[storage: string]: GenericStorageQuery;
|
|
2371
2319
|
};
|
|
2372
2320
|
/**
|
|
2373
2321
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -2380,7 +2328,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2380
2328
|
*
|
|
2381
2329
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
2382
2330
|
**/
|
|
2383
|
-
cursor: GenericStorageQuery<
|
|
2331
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
2384
2332
|
|
|
2385
2333
|
/**
|
|
2386
2334
|
* Set of all successfully executed migrations.
|
|
@@ -2391,12 +2339,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2391
2339
|
* @param {BytesLike} arg
|
|
2392
2340
|
* @param {Callback<[] | undefined> =} callback
|
|
2393
2341
|
**/
|
|
2394
|
-
historic: GenericStorageQuery<
|
|
2342
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
2395
2343
|
|
|
2396
2344
|
/**
|
|
2397
2345
|
* Generic pallet storage query
|
|
2398
2346
|
**/
|
|
2399
|
-
[storage: string]: GenericStorageQuery
|
|
2347
|
+
[storage: string]: GenericStorageQuery;
|
|
2400
2348
|
};
|
|
2401
2349
|
/**
|
|
2402
2350
|
* Pallet `RelayStorageRoots`'s storage queries
|
|
@@ -2408,7 +2356,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2408
2356
|
* @param {number} arg
|
|
2409
2357
|
* @param {Callback<H256 | undefined> =} callback
|
|
2410
2358
|
**/
|
|
2411
|
-
relayStorageRoot: GenericStorageQuery<
|
|
2359
|
+
relayStorageRoot: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
2412
2360
|
|
|
2413
2361
|
/**
|
|
2414
2362
|
* List of all the keys in `RelayStorageRoot`.
|
|
@@ -2416,12 +2364,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2416
2364
|
*
|
|
2417
2365
|
* @param {Callback<Array<number>> =} callback
|
|
2418
2366
|
**/
|
|
2419
|
-
relayStorageRootKeys: GenericStorageQuery<
|
|
2367
|
+
relayStorageRootKeys: GenericStorageQuery<() => Array<number>>;
|
|
2420
2368
|
|
|
2421
2369
|
/**
|
|
2422
2370
|
* Generic pallet storage query
|
|
2423
2371
|
**/
|
|
2424
|
-
[storage: string]: GenericStorageQuery
|
|
2372
|
+
[storage: string]: GenericStorageQuery;
|
|
2425
2373
|
};
|
|
2426
2374
|
/**
|
|
2427
2375
|
* Pallet `Randomness`'s storage queries
|
|
@@ -2433,14 +2381,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2433
2381
|
* @param {bigint} arg
|
|
2434
2382
|
* @param {Callback<PalletRandomnessRequestState | undefined> =} callback
|
|
2435
2383
|
**/
|
|
2436
|
-
requests: GenericStorageQuery<
|
|
2384
|
+
requests: GenericStorageQuery<(arg: bigint) => PalletRandomnessRequestState | undefined, bigint>;
|
|
2437
2385
|
|
|
2438
2386
|
/**
|
|
2439
2387
|
* Number of randomness requests made so far, used to generate the next request's uid
|
|
2440
2388
|
*
|
|
2441
2389
|
* @param {Callback<bigint> =} callback
|
|
2442
2390
|
**/
|
|
2443
|
-
requestCount: GenericStorageQuery<
|
|
2391
|
+
requestCount: GenericStorageQuery<() => bigint>;
|
|
2444
2392
|
|
|
2445
2393
|
/**
|
|
2446
2394
|
* Current local per-block VRF randomness
|
|
@@ -2448,28 +2396,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2448
2396
|
*
|
|
2449
2397
|
* @param {Callback<H256 | undefined> =} callback
|
|
2450
2398
|
**/
|
|
2451
|
-
localVrfOutput: GenericStorageQuery<
|
|
2399
|
+
localVrfOutput: GenericStorageQuery<() => H256 | undefined>;
|
|
2452
2400
|
|
|
2453
2401
|
/**
|
|
2454
2402
|
* Relay epoch
|
|
2455
2403
|
*
|
|
2456
2404
|
* @param {Callback<bigint> =} callback
|
|
2457
2405
|
**/
|
|
2458
|
-
relayEpoch: GenericStorageQuery<
|
|
2406
|
+
relayEpoch: GenericStorageQuery<() => bigint>;
|
|
2459
2407
|
|
|
2460
2408
|
/**
|
|
2461
2409
|
* Ensures the mandatory inherent was included in the block
|
|
2462
2410
|
*
|
|
2463
2411
|
* @param {Callback<[] | undefined> =} callback
|
|
2464
2412
|
**/
|
|
2465
|
-
inherentIncluded: GenericStorageQuery<
|
|
2413
|
+
inherentIncluded: GenericStorageQuery<() => [] | undefined>;
|
|
2466
2414
|
|
|
2467
2415
|
/**
|
|
2468
2416
|
* Records whether this is the first block (genesis or runtime upgrade)
|
|
2469
2417
|
*
|
|
2470
2418
|
* @param {Callback<[] | undefined> =} callback
|
|
2471
2419
|
**/
|
|
2472
|
-
notFirstBlock: GenericStorageQuery<
|
|
2420
|
+
notFirstBlock: GenericStorageQuery<() => [] | undefined>;
|
|
2473
2421
|
|
|
2474
2422
|
/**
|
|
2475
2423
|
* Snapshot of randomness to fulfill all requests that are for the same raw randomness
|
|
@@ -2479,7 +2427,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2479
2427
|
* @param {Callback<PalletRandomnessRandomnessResult | undefined> =} callback
|
|
2480
2428
|
**/
|
|
2481
2429
|
randomnessResults: GenericStorageQuery<
|
|
2482
|
-
Rv,
|
|
2483
2430
|
(arg: PalletRandomnessRequestType) => PalletRandomnessRandomnessResult | undefined,
|
|
2484
2431
|
PalletRandomnessRequestType
|
|
2485
2432
|
>;
|
|
@@ -2490,12 +2437,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2490
2437
|
*
|
|
2491
2438
|
* @param {Callback<H256> =} callback
|
|
2492
2439
|
**/
|
|
2493
|
-
previousLocalVrfOutput: GenericStorageQuery<
|
|
2440
|
+
previousLocalVrfOutput: GenericStorageQuery<() => H256>;
|
|
2494
2441
|
|
|
2495
2442
|
/**
|
|
2496
2443
|
* Generic pallet storage query
|
|
2497
2444
|
**/
|
|
2498
|
-
[storage: string]: GenericStorageQuery
|
|
2445
|
+
[storage: string]: GenericStorageQuery;
|
|
2499
2446
|
};
|
|
2500
2447
|
/**
|
|
2501
2448
|
* Pallet `BridgeKusamaGrandpa`'s storage queries
|
|
@@ -2513,21 +2460,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2513
2460
|
*
|
|
2514
2461
|
* @param {Callback<number | undefined> =} callback
|
|
2515
2462
|
**/
|
|
2516
|
-
freeHeadersRemaining: GenericStorageQuery<
|
|
2463
|
+
freeHeadersRemaining: GenericStorageQuery<() => number | undefined>;
|
|
2517
2464
|
|
|
2518
2465
|
/**
|
|
2519
2466
|
* Hash of the header used to bootstrap the pallet.
|
|
2520
2467
|
*
|
|
2521
2468
|
* @param {Callback<H256> =} callback
|
|
2522
2469
|
**/
|
|
2523
|
-
initialHash: GenericStorageQuery<
|
|
2470
|
+
initialHash: GenericStorageQuery<() => H256>;
|
|
2524
2471
|
|
|
2525
2472
|
/**
|
|
2526
2473
|
* Hash of the best finalized header.
|
|
2527
2474
|
*
|
|
2528
2475
|
* @param {Callback<BpRuntimeHeaderId | undefined> =} callback
|
|
2529
2476
|
**/
|
|
2530
|
-
bestFinalized: GenericStorageQuery<
|
|
2477
|
+
bestFinalized: GenericStorageQuery<() => BpRuntimeHeaderId | undefined>;
|
|
2531
2478
|
|
|
2532
2479
|
/**
|
|
2533
2480
|
* A ring buffer of imported hashes. Ordered by the insertion time.
|
|
@@ -2535,14 +2482,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2535
2482
|
* @param {number} arg
|
|
2536
2483
|
* @param {Callback<H256 | undefined> =} callback
|
|
2537
2484
|
**/
|
|
2538
|
-
importedHashes: GenericStorageQuery<
|
|
2485
|
+
importedHashes: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
2539
2486
|
|
|
2540
2487
|
/**
|
|
2541
2488
|
* Current ring buffer position.
|
|
2542
2489
|
*
|
|
2543
2490
|
* @param {Callback<number> =} callback
|
|
2544
2491
|
**/
|
|
2545
|
-
importedHashesPointer: GenericStorageQuery<
|
|
2492
|
+
importedHashesPointer: GenericStorageQuery<() => number>;
|
|
2546
2493
|
|
|
2547
2494
|
/**
|
|
2548
2495
|
* Relevant fields of imported headers.
|
|
@@ -2550,14 +2497,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2550
2497
|
* @param {H256} arg
|
|
2551
2498
|
* @param {Callback<BpHeaderChainStoredHeaderData | undefined> =} callback
|
|
2552
2499
|
**/
|
|
2553
|
-
importedHeaders: GenericStorageQuery<
|
|
2500
|
+
importedHeaders: GenericStorageQuery<(arg: H256) => BpHeaderChainStoredHeaderData | undefined, H256>;
|
|
2554
2501
|
|
|
2555
2502
|
/**
|
|
2556
2503
|
* The current GRANDPA Authority set.
|
|
2557
2504
|
*
|
|
2558
2505
|
* @param {Callback<PalletBridgeGrandpaStorageTypesStoredAuthoritySet> =} callback
|
|
2559
2506
|
**/
|
|
2560
|
-
currentAuthoritySet: GenericStorageQuery<
|
|
2507
|
+
currentAuthoritySet: GenericStorageQuery<() => PalletBridgeGrandpaStorageTypesStoredAuthoritySet>;
|
|
2561
2508
|
|
|
2562
2509
|
/**
|
|
2563
2510
|
* Optional pallet owner.
|
|
@@ -2569,7 +2516,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2569
2516
|
*
|
|
2570
2517
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2571
2518
|
**/
|
|
2572
|
-
palletOwner: GenericStorageQuery<
|
|
2519
|
+
palletOwner: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
2573
2520
|
|
|
2574
2521
|
/**
|
|
2575
2522
|
* The current operating mode of the pallet.
|
|
@@ -2578,12 +2525,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2578
2525
|
*
|
|
2579
2526
|
* @param {Callback<BpRuntimeBasicOperatingMode> =} callback
|
|
2580
2527
|
**/
|
|
2581
|
-
palletOperatingMode: GenericStorageQuery<
|
|
2528
|
+
palletOperatingMode: GenericStorageQuery<() => BpRuntimeBasicOperatingMode>;
|
|
2582
2529
|
|
|
2583
2530
|
/**
|
|
2584
2531
|
* Generic pallet storage query
|
|
2585
2532
|
**/
|
|
2586
|
-
[storage: string]: GenericStorageQuery
|
|
2533
|
+
[storage: string]: GenericStorageQuery;
|
|
2587
2534
|
};
|
|
2588
2535
|
/**
|
|
2589
2536
|
* Pallet `BridgeKusamaParachains`'s storage queries
|
|
@@ -2599,7 +2546,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2599
2546
|
*
|
|
2600
2547
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2601
2548
|
**/
|
|
2602
|
-
palletOwner: GenericStorageQuery<
|
|
2549
|
+
palletOwner: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
2603
2550
|
|
|
2604
2551
|
/**
|
|
2605
2552
|
* The current operating mode of the pallet.
|
|
@@ -2608,7 +2555,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2608
2555
|
*
|
|
2609
2556
|
* @param {Callback<BpRuntimeBasicOperatingMode> =} callback
|
|
2610
2557
|
**/
|
|
2611
|
-
palletOperatingMode: GenericStorageQuery<
|
|
2558
|
+
palletOperatingMode: GenericStorageQuery<() => BpRuntimeBasicOperatingMode>;
|
|
2612
2559
|
|
|
2613
2560
|
/**
|
|
2614
2561
|
* Parachains info.
|
|
@@ -2621,7 +2568,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2621
2568
|
* @param {Callback<BpParachainsParaInfo | undefined> =} callback
|
|
2622
2569
|
**/
|
|
2623
2570
|
parasInfo: GenericStorageQuery<
|
|
2624
|
-
Rv,
|
|
2625
2571
|
(arg: BpPolkadotCoreParachainsParaId) => BpParachainsParaInfo | undefined,
|
|
2626
2572
|
BpPolkadotCoreParachainsParaId
|
|
2627
2573
|
>;
|
|
@@ -2633,7 +2579,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2633
2579
|
* @param {Callback<BpParachainsParaStoredHeaderData | undefined> =} callback
|
|
2634
2580
|
**/
|
|
2635
2581
|
importedParaHeads: GenericStorageQuery<
|
|
2636
|
-
Rv,
|
|
2637
2582
|
(arg: [BpPolkadotCoreParachainsParaId, H256]) => BpParachainsParaStoredHeaderData | undefined,
|
|
2638
2583
|
[BpPolkadotCoreParachainsParaId, H256]
|
|
2639
2584
|
>;
|
|
@@ -2645,7 +2590,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2645
2590
|
* @param {Callback<H256 | undefined> =} callback
|
|
2646
2591
|
**/
|
|
2647
2592
|
importedParaHashes: GenericStorageQuery<
|
|
2648
|
-
Rv,
|
|
2649
2593
|
(arg: [BpPolkadotCoreParachainsParaId, number]) => H256 | undefined,
|
|
2650
2594
|
[BpPolkadotCoreParachainsParaId, number]
|
|
2651
2595
|
>;
|
|
@@ -2653,7 +2597,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2653
2597
|
/**
|
|
2654
2598
|
* Generic pallet storage query
|
|
2655
2599
|
**/
|
|
2656
|
-
[storage: string]: GenericStorageQuery
|
|
2600
|
+
[storage: string]: GenericStorageQuery;
|
|
2657
2601
|
};
|
|
2658
2602
|
/**
|
|
2659
2603
|
* Pallet `BridgeKusamaMessages`'s storage queries
|
|
@@ -2669,7 +2613,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2669
2613
|
*
|
|
2670
2614
|
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2671
2615
|
**/
|
|
2672
|
-
palletOwner: GenericStorageQuery<
|
|
2616
|
+
palletOwner: GenericStorageQuery<() => AccountId20 | undefined>;
|
|
2673
2617
|
|
|
2674
2618
|
/**
|
|
2675
2619
|
* The current operating mode of the pallet.
|
|
@@ -2678,7 +2622,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2678
2622
|
*
|
|
2679
2623
|
* @param {Callback<BpMessagesMessagesOperatingMode> =} callback
|
|
2680
2624
|
**/
|
|
2681
|
-
palletOperatingMode: GenericStorageQuery<
|
|
2625
|
+
palletOperatingMode: GenericStorageQuery<() => BpMessagesMessagesOperatingMode>;
|
|
2682
2626
|
|
|
2683
2627
|
/**
|
|
2684
2628
|
* Map of lane id => inbound lane data.
|
|
@@ -2687,7 +2631,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2687
2631
|
* @param {Callback<BpMessagesInboundLaneData | undefined> =} callback
|
|
2688
2632
|
**/
|
|
2689
2633
|
inboundLanes: GenericStorageQuery<
|
|
2690
|
-
Rv,
|
|
2691
2634
|
(arg: BpMessagesLaneHashedLaneId) => BpMessagesInboundLaneData | undefined,
|
|
2692
2635
|
BpMessagesLaneHashedLaneId
|
|
2693
2636
|
>;
|
|
@@ -2699,7 +2642,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2699
2642
|
* @param {Callback<BpMessagesOutboundLaneData | undefined> =} callback
|
|
2700
2643
|
**/
|
|
2701
2644
|
outboundLanes: GenericStorageQuery<
|
|
2702
|
-
Rv,
|
|
2703
2645
|
(arg: BpMessagesLaneHashedLaneId) => BpMessagesOutboundLaneData | undefined,
|
|
2704
2646
|
BpMessagesLaneHashedLaneId
|
|
2705
2647
|
>;
|
|
@@ -2710,12 +2652,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2710
2652
|
* @param {BpMessagesMessageKey} arg
|
|
2711
2653
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2712
2654
|
**/
|
|
2713
|
-
outboundMessages: GenericStorageQuery<
|
|
2655
|
+
outboundMessages: GenericStorageQuery<(arg: BpMessagesMessageKey) => Bytes | undefined, BpMessagesMessageKey>;
|
|
2714
2656
|
|
|
2715
2657
|
/**
|
|
2716
2658
|
* Generic pallet storage query
|
|
2717
2659
|
**/
|
|
2718
|
-
[storage: string]: GenericStorageQuery
|
|
2660
|
+
[storage: string]: GenericStorageQuery;
|
|
2719
2661
|
};
|
|
2720
2662
|
/**
|
|
2721
2663
|
* Pallet `BridgeXcmOverMoonriver`'s storage queries
|
|
@@ -2728,7 +2670,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2728
2670
|
* @param {Callback<BpXcmBridgeHubBridge | undefined> =} callback
|
|
2729
2671
|
**/
|
|
2730
2672
|
bridges: GenericStorageQuery<
|
|
2731
|
-
Rv,
|
|
2732
2673
|
(arg: BpXcmBridgeHubBridgeId) => BpXcmBridgeHubBridge | undefined,
|
|
2733
2674
|
BpXcmBridgeHubBridgeId
|
|
2734
2675
|
>;
|
|
@@ -2740,7 +2681,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2740
2681
|
* @param {Callback<BpXcmBridgeHubBridgeId | undefined> =} callback
|
|
2741
2682
|
**/
|
|
2742
2683
|
laneToBridge: GenericStorageQuery<
|
|
2743
|
-
Rv,
|
|
2744
2684
|
(arg: BpMessagesLaneHashedLaneId) => BpXcmBridgeHubBridgeId | undefined,
|
|
2745
2685
|
BpMessagesLaneHashedLaneId
|
|
2746
2686
|
>;
|
|
@@ -2748,6 +2688,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2748
2688
|
/**
|
|
2749
2689
|
* Generic pallet storage query
|
|
2750
2690
|
**/
|
|
2751
|
-
[storage: string]: GenericStorageQuery
|
|
2691
|
+
[storage: string]: GenericStorageQuery;
|
|
2752
2692
|
};
|
|
2753
2693
|
}
|