@dedot/chaintypes 0.194.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainStorage, GenericStorageQuery, Callback
|
|
3
|
+
import type { GenericChainStorage, GenericStorageQuery, Callback } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
AccountId32,
|
|
6
6
|
AccountId32Like,
|
|
@@ -135,7 +135,7 @@ import type {
|
|
|
135
135
|
PalletBroadcastExecutionType,
|
|
136
136
|
} from './types.js';
|
|
137
137
|
|
|
138
|
-
export interface ChainStorage
|
|
138
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
139
139
|
/**
|
|
140
140
|
* Pallet `System`'s storage queries
|
|
141
141
|
**/
|
|
@@ -146,35 +146,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
146
146
|
* @param {AccountId32Like} arg
|
|
147
147
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
148
148
|
**/
|
|
149
|
-
account: GenericStorageQuery<
|
|
149
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Total extrinsics count for the current block.
|
|
153
153
|
*
|
|
154
154
|
* @param {Callback<number | undefined> =} callback
|
|
155
155
|
**/
|
|
156
|
-
extrinsicCount: GenericStorageQuery<
|
|
156
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Whether all inherents have been applied.
|
|
160
160
|
*
|
|
161
161
|
* @param {Callback<boolean> =} callback
|
|
162
162
|
**/
|
|
163
|
-
inherentsApplied: GenericStorageQuery<
|
|
163
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* The current weight for the block.
|
|
167
167
|
*
|
|
168
168
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
169
169
|
**/
|
|
170
|
-
blockWeight: GenericStorageQuery<
|
|
170
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
174
174
|
*
|
|
175
175
|
* @param {Callback<number | undefined> =} callback
|
|
176
176
|
**/
|
|
177
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
177
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Map of block numbers to block hashes.
|
|
@@ -182,7 +182,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
182
182
|
* @param {number} arg
|
|
183
183
|
* @param {Callback<H256> =} callback
|
|
184
184
|
**/
|
|
185
|
-
blockHash: GenericStorageQuery<
|
|
185
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -190,28 +190,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
190
190
|
* @param {number} arg
|
|
191
191
|
* @param {Callback<Bytes> =} callback
|
|
192
192
|
**/
|
|
193
|
-
extrinsicData: GenericStorageQuery<
|
|
193
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* The current block number being processed. Set by `execute_block`.
|
|
197
197
|
*
|
|
198
198
|
* @param {Callback<number> =} callback
|
|
199
199
|
**/
|
|
200
|
-
number: GenericStorageQuery<
|
|
200
|
+
number: GenericStorageQuery<() => number>;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Hash of the previous block.
|
|
204
204
|
*
|
|
205
205
|
* @param {Callback<H256> =} callback
|
|
206
206
|
**/
|
|
207
|
-
parentHash: GenericStorageQuery<
|
|
207
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* Digest of the current block, also part of the block header.
|
|
211
211
|
*
|
|
212
212
|
* @param {Callback<Digest> =} callback
|
|
213
213
|
**/
|
|
214
|
-
digest: GenericStorageQuery<
|
|
214
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Events deposited for the current block.
|
|
@@ -224,14 +224,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
224
224
|
*
|
|
225
225
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
226
226
|
**/
|
|
227
|
-
events: GenericStorageQuery<
|
|
227
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* The number of events in the `Events<T>` list.
|
|
231
231
|
*
|
|
232
232
|
* @param {Callback<number> =} callback
|
|
233
233
|
**/
|
|
234
|
-
eventCount: GenericStorageQuery<
|
|
234
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -248,21 +248,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
248
248
|
* @param {H256} arg
|
|
249
249
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
250
250
|
**/
|
|
251
|
-
eventTopics: GenericStorageQuery<
|
|
251
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
255
255
|
*
|
|
256
256
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
257
257
|
**/
|
|
258
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
258
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
262
262
|
*
|
|
263
263
|
* @param {Callback<boolean> =} callback
|
|
264
264
|
**/
|
|
265
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
265
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -270,26 +270,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
270
270
|
*
|
|
271
271
|
* @param {Callback<boolean> =} callback
|
|
272
272
|
**/
|
|
273
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
273
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* The execution phase of the block.
|
|
277
277
|
*
|
|
278
278
|
* @param {Callback<Phase | undefined> =} callback
|
|
279
279
|
**/
|
|
280
|
-
executionPhase: GenericStorageQuery<
|
|
280
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* `Some` if a code upgrade has been authorized.
|
|
284
284
|
*
|
|
285
285
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
286
286
|
**/
|
|
287
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
287
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* Generic pallet storage query
|
|
291
291
|
**/
|
|
292
|
-
[storage: string]: GenericStorageQuery
|
|
292
|
+
[storage: string]: GenericStorageQuery;
|
|
293
293
|
};
|
|
294
294
|
/**
|
|
295
295
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -300,7 +300,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
300
300
|
*
|
|
301
301
|
* @param {Callback<bigint> =} callback
|
|
302
302
|
**/
|
|
303
|
-
now: GenericStorageQuery<
|
|
303
|
+
now: GenericStorageQuery<() => bigint>;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Whether the timestamp has been updated in this block.
|
|
@@ -310,12 +310,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
310
310
|
*
|
|
311
311
|
* @param {Callback<boolean> =} callback
|
|
312
312
|
**/
|
|
313
|
-
didUpdate: GenericStorageQuery<
|
|
313
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* Generic pallet storage query
|
|
317
317
|
**/
|
|
318
|
-
[storage: string]: GenericStorageQuery
|
|
318
|
+
[storage: string]: GenericStorageQuery;
|
|
319
319
|
};
|
|
320
320
|
/**
|
|
321
321
|
* Pallet `Balances`'s storage queries
|
|
@@ -326,14 +326,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
326
326
|
*
|
|
327
327
|
* @param {Callback<bigint> =} callback
|
|
328
328
|
**/
|
|
329
|
-
totalIssuance: GenericStorageQuery<
|
|
329
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* The total units of outstanding deactivated balance in the system.
|
|
333
333
|
*
|
|
334
334
|
* @param {Callback<bigint> =} callback
|
|
335
335
|
**/
|
|
336
|
-
inactiveIssuance: GenericStorageQuery<
|
|
336
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -364,7 +364,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
364
364
|
* @param {AccountId32Like} arg
|
|
365
365
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
366
366
|
**/
|
|
367
|
-
account: GenericStorageQuery<
|
|
367
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* Any liquidity locks on some account balances.
|
|
@@ -375,7 +375,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
375
375
|
* @param {AccountId32Like} arg
|
|
376
376
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
377
377
|
**/
|
|
378
|
-
locks: GenericStorageQuery<
|
|
378
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Named reserves on some account balances.
|
|
@@ -385,7 +385,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
385
385
|
* @param {AccountId32Like} arg
|
|
386
386
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
387
387
|
**/
|
|
388
|
-
reserves: GenericStorageQuery<
|
|
388
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* Holds on account balances.
|
|
@@ -393,7 +393,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
393
393
|
* @param {AccountId32Like} arg
|
|
394
394
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
395
395
|
**/
|
|
396
|
-
holds: GenericStorageQuery<
|
|
396
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* Freeze locks on account balances.
|
|
@@ -401,12 +401,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
401
401
|
* @param {AccountId32Like} arg
|
|
402
402
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
|
|
403
403
|
**/
|
|
404
|
-
freezes: GenericStorageQuery<
|
|
404
|
+
freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* Generic pallet storage query
|
|
408
408
|
**/
|
|
409
|
-
[storage: string]: GenericStorageQuery
|
|
409
|
+
[storage: string]: GenericStorageQuery;
|
|
410
410
|
};
|
|
411
411
|
/**
|
|
412
412
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -416,18 +416,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
416
416
|
*
|
|
417
417
|
* @param {Callback<FixedU128> =} callback
|
|
418
418
|
**/
|
|
419
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
419
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
*
|
|
423
423
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
424
424
|
**/
|
|
425
|
-
storageVersion: GenericStorageQuery<
|
|
425
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* Generic pallet storage query
|
|
429
429
|
**/
|
|
430
|
-
[storage: string]: GenericStorageQuery
|
|
430
|
+
[storage: string]: GenericStorageQuery;
|
|
431
431
|
};
|
|
432
432
|
/**
|
|
433
433
|
* Pallet `MultiTransactionPayment`'s storage queries
|
|
@@ -439,7 +439,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
439
439
|
* @param {AccountId32Like} arg
|
|
440
440
|
* @param {Callback<number | undefined> =} callback
|
|
441
441
|
**/
|
|
442
|
-
accountCurrencyMap: GenericStorageQuery<
|
|
442
|
+
accountCurrencyMap: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* Curated list of currencies which fees can be paid mapped to corresponding fallback price
|
|
@@ -447,7 +447,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
447
447
|
* @param {number} arg
|
|
448
448
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
449
449
|
**/
|
|
450
|
-
acceptedCurrencies: GenericStorageQuery<
|
|
450
|
+
acceptedCurrencies: GenericStorageQuery<(arg: number) => FixedU128 | undefined, number>;
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* Asset prices from the spot price provider or the fallback price if the price is not available. Updated at the beginning of every block.
|
|
@@ -455,19 +455,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
455
455
|
* @param {number} arg
|
|
456
456
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
457
457
|
**/
|
|
458
|
-
acceptedCurrencyPrice: GenericStorageQuery<
|
|
458
|
+
acceptedCurrencyPrice: GenericStorageQuery<(arg: number) => FixedU128 | undefined, number>;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
*
|
|
462
462
|
* @param {AccountId32Like} arg
|
|
463
463
|
* @param {Callback<number | undefined> =} callback
|
|
464
464
|
**/
|
|
465
|
-
transactionCurrencyOverride: GenericStorageQuery<
|
|
465
|
+
transactionCurrencyOverride: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* Generic pallet storage query
|
|
469
469
|
**/
|
|
470
|
-
[storage: string]: GenericStorageQuery
|
|
470
|
+
[storage: string]: GenericStorageQuery;
|
|
471
471
|
};
|
|
472
472
|
/**
|
|
473
473
|
* Pallet `Treasury`'s storage queries
|
|
@@ -478,7 +478,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
478
478
|
*
|
|
479
479
|
* @param {Callback<number> =} callback
|
|
480
480
|
**/
|
|
481
|
-
proposalCount: GenericStorageQuery<
|
|
481
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* Proposals that have been made.
|
|
@@ -486,28 +486,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
486
486
|
* @param {number} arg
|
|
487
487
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
488
488
|
**/
|
|
489
|
-
proposals: GenericStorageQuery<
|
|
489
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* The amount which has been reported as inactive to Currency.
|
|
493
493
|
*
|
|
494
494
|
* @param {Callback<bigint> =} callback
|
|
495
495
|
**/
|
|
496
|
-
deactivated: GenericStorageQuery<
|
|
496
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
499
|
* Proposal indices that have been approved but not yet awarded.
|
|
500
500
|
*
|
|
501
501
|
* @param {Callback<Array<number>> =} callback
|
|
502
502
|
**/
|
|
503
|
-
approvals: GenericStorageQuery<
|
|
503
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
506
|
* The count of spends that have been made.
|
|
507
507
|
*
|
|
508
508
|
* @param {Callback<number> =} callback
|
|
509
509
|
**/
|
|
510
|
-
spendCount: GenericStorageQuery<
|
|
510
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
513
|
* Spends that have been approved and being processed.
|
|
@@ -515,12 +515,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
515
515
|
* @param {number} arg
|
|
516
516
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
517
517
|
**/
|
|
518
|
-
spends: GenericStorageQuery<
|
|
518
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Generic pallet storage query
|
|
522
522
|
**/
|
|
523
|
-
[storage: string]: GenericStorageQuery
|
|
523
|
+
[storage: string]: GenericStorageQuery;
|
|
524
524
|
};
|
|
525
525
|
/**
|
|
526
526
|
* Pallet `Preimage`'s storage queries
|
|
@@ -532,7 +532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
532
532
|
* @param {H256} arg
|
|
533
533
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
534
534
|
**/
|
|
535
|
-
statusFor: GenericStorageQuery<
|
|
535
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* The request status of a given hash.
|
|
@@ -540,19 +540,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
540
540
|
* @param {H256} arg
|
|
541
541
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
542
542
|
**/
|
|
543
|
-
requestStatusFor: GenericStorageQuery<
|
|
543
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
544
544
|
|
|
545
545
|
/**
|
|
546
546
|
*
|
|
547
547
|
* @param {[H256, number]} arg
|
|
548
548
|
* @param {Callback<Bytes | undefined> =} callback
|
|
549
549
|
**/
|
|
550
|
-
preimageFor: GenericStorageQuery<
|
|
550
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* Generic pallet storage query
|
|
554
554
|
**/
|
|
555
|
-
[storage: string]: GenericStorageQuery
|
|
555
|
+
[storage: string]: GenericStorageQuery;
|
|
556
556
|
};
|
|
557
557
|
/**
|
|
558
558
|
* Pallet `Identity`'s storage queries
|
|
@@ -568,7 +568,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
568
568
|
* @param {Callback<[PalletIdentityRegistration, Bytes | undefined] | undefined> =} callback
|
|
569
569
|
**/
|
|
570
570
|
identityOf: GenericStorageQuery<
|
|
571
|
-
Rv,
|
|
572
571
|
(arg: AccountId32Like) => [PalletIdentityRegistration, Bytes | undefined] | undefined,
|
|
573
572
|
AccountId32
|
|
574
573
|
>;
|
|
@@ -580,7 +579,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
580
579
|
* @param {AccountId32Like} arg
|
|
581
580
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
582
581
|
**/
|
|
583
|
-
superOf: GenericStorageQuery<
|
|
582
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
584
583
|
|
|
585
584
|
/**
|
|
586
585
|
* Alternative "sub" identities of this account.
|
|
@@ -592,7 +591,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
592
591
|
* @param {AccountId32Like} arg
|
|
593
592
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
594
593
|
**/
|
|
595
|
-
subsOf: GenericStorageQuery<
|
|
594
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
596
595
|
|
|
597
596
|
/**
|
|
598
597
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -602,7 +601,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
602
601
|
*
|
|
603
602
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
604
603
|
**/
|
|
605
|
-
registrars: GenericStorageQuery<
|
|
604
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
606
605
|
|
|
607
606
|
/**
|
|
608
607
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -611,7 +610,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
611
610
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
612
611
|
**/
|
|
613
612
|
usernameAuthorities: GenericStorageQuery<
|
|
614
|
-
Rv,
|
|
615
613
|
(arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
|
|
616
614
|
AccountId32
|
|
617
615
|
>;
|
|
@@ -626,7 +624,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
626
624
|
* @param {BytesLike} arg
|
|
627
625
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
628
626
|
**/
|
|
629
|
-
accountOfUsername: GenericStorageQuery<
|
|
627
|
+
accountOfUsername: GenericStorageQuery<(arg: BytesLike) => AccountId32 | undefined, Bytes>;
|
|
630
628
|
|
|
631
629
|
/**
|
|
632
630
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -639,12 +637,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
639
637
|
* @param {BytesLike} arg
|
|
640
638
|
* @param {Callback<[AccountId32, number] | undefined> =} callback
|
|
641
639
|
**/
|
|
642
|
-
pendingUsernames: GenericStorageQuery<
|
|
640
|
+
pendingUsernames: GenericStorageQuery<(arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
|
|
643
641
|
|
|
644
642
|
/**
|
|
645
643
|
* Generic pallet storage query
|
|
646
644
|
**/
|
|
647
|
-
[storage: string]: GenericStorageQuery
|
|
645
|
+
[storage: string]: GenericStorageQuery;
|
|
648
646
|
};
|
|
649
647
|
/**
|
|
650
648
|
* Pallet `Democracy`'s storage queries
|
|
@@ -655,14 +653,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
655
653
|
*
|
|
656
654
|
* @param {Callback<number> =} callback
|
|
657
655
|
**/
|
|
658
|
-
publicPropCount: GenericStorageQuery<
|
|
656
|
+
publicPropCount: GenericStorageQuery<() => number>;
|
|
659
657
|
|
|
660
658
|
/**
|
|
661
659
|
* The public proposals. Unsorted. The second item is the proposal.
|
|
662
660
|
*
|
|
663
661
|
* @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
|
|
664
662
|
**/
|
|
665
|
-
publicProps: GenericStorageQuery<
|
|
663
|
+
publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
|
|
666
664
|
|
|
667
665
|
/**
|
|
668
666
|
* Those who have locked a deposit.
|
|
@@ -672,14 +670,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
672
670
|
* @param {number} arg
|
|
673
671
|
* @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
|
|
674
672
|
**/
|
|
675
|
-
depositOf: GenericStorageQuery<
|
|
673
|
+
depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
|
|
676
674
|
|
|
677
675
|
/**
|
|
678
676
|
* The next free referendum index, aka the number of referenda started so far.
|
|
679
677
|
*
|
|
680
678
|
* @param {Callback<number> =} callback
|
|
681
679
|
**/
|
|
682
|
-
referendumCount: GenericStorageQuery<
|
|
680
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
683
681
|
|
|
684
682
|
/**
|
|
685
683
|
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
@@ -687,7 +685,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
687
685
|
*
|
|
688
686
|
* @param {Callback<number> =} callback
|
|
689
687
|
**/
|
|
690
|
-
lowestUnbaked: GenericStorageQuery<
|
|
688
|
+
lowestUnbaked: GenericStorageQuery<() => number>;
|
|
691
689
|
|
|
692
690
|
/**
|
|
693
691
|
* Information concerning any given referendum.
|
|
@@ -697,7 +695,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
697
695
|
* @param {number} arg
|
|
698
696
|
* @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
|
|
699
697
|
**/
|
|
700
|
-
referendumInfoOf: GenericStorageQuery<
|
|
698
|
+
referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
|
|
701
699
|
|
|
702
700
|
/**
|
|
703
701
|
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
@@ -708,7 +706,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
708
706
|
* @param {AccountId32Like} arg
|
|
709
707
|
* @param {Callback<PalletDemocracyVoteVoting> =} callback
|
|
710
708
|
**/
|
|
711
|
-
votingOf: GenericStorageQuery<
|
|
709
|
+
votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
|
|
712
710
|
|
|
713
711
|
/**
|
|
714
712
|
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
@@ -716,7 +714,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
716
714
|
*
|
|
717
715
|
* @param {Callback<boolean> =} callback
|
|
718
716
|
**/
|
|
719
|
-
lastTabledWasExternal: GenericStorageQuery<
|
|
717
|
+
lastTabledWasExternal: GenericStorageQuery<() => boolean>;
|
|
720
718
|
|
|
721
719
|
/**
|
|
722
720
|
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
@@ -726,10 +724,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
726
724
|
*
|
|
727
725
|
* @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
|
|
728
726
|
**/
|
|
729
|
-
nextExternal: GenericStorageQuery<
|
|
730
|
-
Rv,
|
|
731
|
-
() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined
|
|
732
|
-
>;
|
|
727
|
+
nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
|
|
733
728
|
|
|
734
729
|
/**
|
|
735
730
|
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
@@ -738,7 +733,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
738
733
|
* @param {H256} arg
|
|
739
734
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
740
735
|
**/
|
|
741
|
-
blacklist: GenericStorageQuery<
|
|
736
|
+
blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
|
|
742
737
|
|
|
743
738
|
/**
|
|
744
739
|
* Record of all proposals that have been subject to emergency cancellation.
|
|
@@ -746,7 +741,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
746
741
|
* @param {H256} arg
|
|
747
742
|
* @param {Callback<boolean> =} callback
|
|
748
743
|
**/
|
|
749
|
-
cancellations: GenericStorageQuery<
|
|
744
|
+
cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
750
745
|
|
|
751
746
|
/**
|
|
752
747
|
* General information concerning any proposal or referendum.
|
|
@@ -760,7 +755,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
760
755
|
* @param {Callback<H256 | undefined> =} callback
|
|
761
756
|
**/
|
|
762
757
|
metadataOf: GenericStorageQuery<
|
|
763
|
-
Rv,
|
|
764
758
|
(arg: PalletDemocracyMetadataOwner) => H256 | undefined,
|
|
765
759
|
PalletDemocracyMetadataOwner
|
|
766
760
|
>;
|
|
@@ -768,7 +762,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
768
762
|
/**
|
|
769
763
|
* Generic pallet storage query
|
|
770
764
|
**/
|
|
771
|
-
[storage: string]: GenericStorageQuery
|
|
765
|
+
[storage: string]: GenericStorageQuery;
|
|
772
766
|
};
|
|
773
767
|
/**
|
|
774
768
|
* Pallet `TechnicalCommittee`'s storage queries
|
|
@@ -779,7 +773,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
779
773
|
*
|
|
780
774
|
* @param {Callback<Array<H256>> =} callback
|
|
781
775
|
**/
|
|
782
|
-
proposals: GenericStorageQuery<
|
|
776
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
783
777
|
|
|
784
778
|
/**
|
|
785
779
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -787,7 +781,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
787
781
|
* @param {H256} arg
|
|
788
782
|
* @param {Callback<HydradxRuntimeRuntimeCall | undefined> =} callback
|
|
789
783
|
**/
|
|
790
|
-
proposalOf: GenericStorageQuery<
|
|
784
|
+
proposalOf: GenericStorageQuery<(arg: H256) => HydradxRuntimeRuntimeCall | undefined, H256>;
|
|
791
785
|
|
|
792
786
|
/**
|
|
793
787
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -795,33 +789,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
795
789
|
* @param {H256} arg
|
|
796
790
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
797
791
|
**/
|
|
798
|
-
voting: GenericStorageQuery<
|
|
792
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
799
793
|
|
|
800
794
|
/**
|
|
801
795
|
* Proposals so far.
|
|
802
796
|
*
|
|
803
797
|
* @param {Callback<number> =} callback
|
|
804
798
|
**/
|
|
805
|
-
proposalCount: GenericStorageQuery<
|
|
799
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
806
800
|
|
|
807
801
|
/**
|
|
808
802
|
* The current members of the collective. This is stored sorted (just by value).
|
|
809
803
|
*
|
|
810
804
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
811
805
|
**/
|
|
812
|
-
members: GenericStorageQuery<
|
|
806
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
813
807
|
|
|
814
808
|
/**
|
|
815
809
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
816
810
|
*
|
|
817
811
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
818
812
|
**/
|
|
819
|
-
prime: GenericStorageQuery<
|
|
813
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
820
814
|
|
|
821
815
|
/**
|
|
822
816
|
* Generic pallet storage query
|
|
823
817
|
**/
|
|
824
|
-
[storage: string]: GenericStorageQuery
|
|
818
|
+
[storage: string]: GenericStorageQuery;
|
|
825
819
|
};
|
|
826
820
|
/**
|
|
827
821
|
* Pallet `Proxy`'s storage queries
|
|
@@ -834,11 +828,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
834
828
|
* @param {AccountId32Like} arg
|
|
835
829
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
836
830
|
**/
|
|
837
|
-
proxies: GenericStorageQuery<
|
|
838
|
-
Rv,
|
|
839
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
840
|
-
AccountId32
|
|
841
|
-
>;
|
|
831
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
842
832
|
|
|
843
833
|
/**
|
|
844
834
|
* The announcements made by the proxy (key).
|
|
@@ -846,16 +836,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
846
836
|
* @param {AccountId32Like} arg
|
|
847
837
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
848
838
|
**/
|
|
849
|
-
announcements: GenericStorageQuery<
|
|
850
|
-
Rv,
|
|
851
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
852
|
-
AccountId32
|
|
853
|
-
>;
|
|
839
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
854
840
|
|
|
855
841
|
/**
|
|
856
842
|
* Generic pallet storage query
|
|
857
843
|
**/
|
|
858
|
-
[storage: string]: GenericStorageQuery
|
|
844
|
+
[storage: string]: GenericStorageQuery;
|
|
859
845
|
};
|
|
860
846
|
/**
|
|
861
847
|
* Pallet `Multisig`'s storage queries
|
|
@@ -868,7 +854,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
868
854
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
869
855
|
**/
|
|
870
856
|
multisigs: GenericStorageQuery<
|
|
871
|
-
Rv,
|
|
872
857
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
873
858
|
[AccountId32, FixedBytes<32>]
|
|
874
859
|
>;
|
|
@@ -876,7 +861,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
876
861
|
/**
|
|
877
862
|
* Generic pallet storage query
|
|
878
863
|
**/
|
|
879
|
-
[storage: string]: GenericStorageQuery
|
|
864
|
+
[storage: string]: GenericStorageQuery;
|
|
880
865
|
};
|
|
881
866
|
/**
|
|
882
867
|
* Pallet `Uniques`'s storage queries
|
|
@@ -888,7 +873,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
888
873
|
* @param {bigint} arg
|
|
889
874
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
890
875
|
**/
|
|
891
|
-
class: GenericStorageQuery<
|
|
876
|
+
class: GenericStorageQuery<(arg: bigint) => PalletUniquesCollectionDetails | undefined, bigint>;
|
|
892
877
|
|
|
893
878
|
/**
|
|
894
879
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -896,7 +881,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
896
881
|
* @param {AccountId32Like} arg
|
|
897
882
|
* @param {Callback<bigint | undefined> =} callback
|
|
898
883
|
**/
|
|
899
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
884
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
900
885
|
|
|
901
886
|
/**
|
|
902
887
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -906,7 +891,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
906
891
|
* @param {Callback<[] | undefined> =} callback
|
|
907
892
|
**/
|
|
908
893
|
account: GenericStorageQuery<
|
|
909
|
-
Rv,
|
|
910
894
|
(arg: [AccountId32Like, bigint, bigint]) => [] | undefined,
|
|
911
895
|
[AccountId32, bigint, bigint]
|
|
912
896
|
>;
|
|
@@ -918,7 +902,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
918
902
|
* @param {[AccountId32Like, bigint]} arg
|
|
919
903
|
* @param {Callback<[] | undefined> =} callback
|
|
920
904
|
**/
|
|
921
|
-
classAccount: GenericStorageQuery<
|
|
905
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, bigint]) => [] | undefined, [AccountId32, bigint]>;
|
|
922
906
|
|
|
923
907
|
/**
|
|
924
908
|
* The items in existence and their ownership details.
|
|
@@ -926,7 +910,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
926
910
|
* @param {[bigint, bigint]} arg
|
|
927
911
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
928
912
|
**/
|
|
929
|
-
asset: GenericStorageQuery<
|
|
913
|
+
asset: GenericStorageQuery<(arg: [bigint, bigint]) => PalletUniquesItemDetails | undefined, [bigint, bigint]>;
|
|
930
914
|
|
|
931
915
|
/**
|
|
932
916
|
* Metadata of a collection.
|
|
@@ -934,7 +918,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
934
918
|
* @param {bigint} arg
|
|
935
919
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
936
920
|
**/
|
|
937
|
-
classMetadataOf: GenericStorageQuery<
|
|
921
|
+
classMetadataOf: GenericStorageQuery<(arg: bigint) => PalletUniquesCollectionMetadata | undefined, bigint>;
|
|
938
922
|
|
|
939
923
|
/**
|
|
940
924
|
* Metadata of an item.
|
|
@@ -943,7 +927,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
943
927
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
944
928
|
**/
|
|
945
929
|
instanceMetadataOf: GenericStorageQuery<
|
|
946
|
-
Rv,
|
|
947
930
|
(arg: [bigint, bigint]) => PalletUniquesItemMetadata | undefined,
|
|
948
931
|
[bigint, bigint]
|
|
949
932
|
>;
|
|
@@ -955,7 +938,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
955
938
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
956
939
|
**/
|
|
957
940
|
attribute: GenericStorageQuery<
|
|
958
|
-
Rv,
|
|
959
941
|
(arg: [bigint, bigint | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
960
942
|
[bigint, bigint | undefined, Bytes]
|
|
961
943
|
>;
|
|
@@ -967,7 +949,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
967
949
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
968
950
|
**/
|
|
969
951
|
itemPriceOf: GenericStorageQuery<
|
|
970
|
-
Rv,
|
|
971
952
|
(arg: [bigint, bigint]) => [bigint, AccountId32 | undefined] | undefined,
|
|
972
953
|
[bigint, bigint]
|
|
973
954
|
>;
|
|
@@ -978,12 +959,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
978
959
|
* @param {bigint} arg
|
|
979
960
|
* @param {Callback<number | undefined> =} callback
|
|
980
961
|
**/
|
|
981
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
962
|
+
collectionMaxSupply: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
982
963
|
|
|
983
964
|
/**
|
|
984
965
|
* Generic pallet storage query
|
|
985
966
|
**/
|
|
986
|
-
[storage: string]: GenericStorageQuery
|
|
967
|
+
[storage: string]: GenericStorageQuery;
|
|
987
968
|
};
|
|
988
969
|
/**
|
|
989
970
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -997,7 +978,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
997
978
|
*
|
|
998
979
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
999
980
|
**/
|
|
1000
|
-
migrationProcess: GenericStorageQuery<
|
|
981
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
1001
982
|
|
|
1002
983
|
/**
|
|
1003
984
|
* The limits that are imposed on automatic migrations.
|
|
@@ -1006,7 +987,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1006
987
|
*
|
|
1007
988
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
1008
989
|
**/
|
|
1009
|
-
autoLimits: GenericStorageQuery<
|
|
990
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
1010
991
|
|
|
1011
992
|
/**
|
|
1012
993
|
* The maximum limits that the signed migration could use.
|
|
@@ -1015,12 +996,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1015
996
|
*
|
|
1016
997
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
1017
998
|
**/
|
|
1018
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
999
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
1019
1000
|
|
|
1020
1001
|
/**
|
|
1021
1002
|
* Generic pallet storage query
|
|
1022
1003
|
**/
|
|
1023
|
-
[storage: string]: GenericStorageQuery
|
|
1004
|
+
[storage: string]: GenericStorageQuery;
|
|
1024
1005
|
};
|
|
1025
1006
|
/**
|
|
1026
1007
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -1034,7 +1015,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1034
1015
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
1035
1016
|
**/
|
|
1036
1017
|
votingFor: GenericStorageQuery<
|
|
1037
|
-
Rv,
|
|
1038
1018
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
1039
1019
|
[AccountId32, number]
|
|
1040
1020
|
>;
|
|
@@ -1047,12 +1027,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1047
1027
|
* @param {AccountId32Like} arg
|
|
1048
1028
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1049
1029
|
**/
|
|
1050
|
-
classLocksFor: GenericStorageQuery<
|
|
1030
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
1051
1031
|
|
|
1052
1032
|
/**
|
|
1053
1033
|
* Generic pallet storage query
|
|
1054
1034
|
**/
|
|
1055
|
-
[storage: string]: GenericStorageQuery
|
|
1035
|
+
[storage: string]: GenericStorageQuery;
|
|
1056
1036
|
};
|
|
1057
1037
|
/**
|
|
1058
1038
|
* Pallet `Referenda`'s storage queries
|
|
@@ -1063,7 +1043,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1063
1043
|
*
|
|
1064
1044
|
* @param {Callback<number> =} callback
|
|
1065
1045
|
**/
|
|
1066
|
-
referendumCount: GenericStorageQuery<
|
|
1046
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1067
1047
|
|
|
1068
1048
|
/**
|
|
1069
1049
|
* Information concerning any given referendum.
|
|
@@ -1071,7 +1051,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1071
1051
|
* @param {number} arg
|
|
1072
1052
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
1073
1053
|
**/
|
|
1074
|
-
referendumInfoFor: GenericStorageQuery<
|
|
1054
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
1075
1055
|
|
|
1076
1056
|
/**
|
|
1077
1057
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -1082,7 +1062,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1082
1062
|
* @param {number} arg
|
|
1083
1063
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1084
1064
|
**/
|
|
1085
|
-
trackQueue: GenericStorageQuery<
|
|
1065
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
1086
1066
|
|
|
1087
1067
|
/**
|
|
1088
1068
|
* The number of referenda being decided currently.
|
|
@@ -1090,7 +1070,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1090
1070
|
* @param {number} arg
|
|
1091
1071
|
* @param {Callback<number> =} callback
|
|
1092
1072
|
**/
|
|
1093
|
-
decidingCount: GenericStorageQuery<
|
|
1073
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1094
1074
|
|
|
1095
1075
|
/**
|
|
1096
1076
|
* The metadata is a general information concerning the referendum.
|
|
@@ -1103,12 +1083,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1103
1083
|
* @param {number} arg
|
|
1104
1084
|
* @param {Callback<H256 | undefined> =} callback
|
|
1105
1085
|
**/
|
|
1106
|
-
metadataOf: GenericStorageQuery<
|
|
1086
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
1107
1087
|
|
|
1108
1088
|
/**
|
|
1109
1089
|
* Generic pallet storage query
|
|
1110
1090
|
**/
|
|
1111
|
-
[storage: string]: GenericStorageQuery
|
|
1091
|
+
[storage: string]: GenericStorageQuery;
|
|
1112
1092
|
};
|
|
1113
1093
|
/**
|
|
1114
1094
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -1119,12 +1099,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1119
1099
|
* @param {H256} arg
|
|
1120
1100
|
* @param {Callback<[] | undefined> =} callback
|
|
1121
1101
|
**/
|
|
1122
|
-
whitelistedCall: GenericStorageQuery<
|
|
1102
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
1123
1103
|
|
|
1124
1104
|
/**
|
|
1125
1105
|
* Generic pallet storage query
|
|
1126
1106
|
**/
|
|
1127
|
-
[storage: string]: GenericStorageQuery
|
|
1107
|
+
[storage: string]: GenericStorageQuery;
|
|
1128
1108
|
};
|
|
1129
1109
|
/**
|
|
1130
1110
|
* Pallet `Dispatcher`'s storage queries
|
|
@@ -1134,24 +1114,24 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1134
1114
|
*
|
|
1135
1115
|
* @param {Callback<AccountId32> =} callback
|
|
1136
1116
|
**/
|
|
1137
|
-
aaveManagerAccount: GenericStorageQuery<
|
|
1117
|
+
aaveManagerAccount: GenericStorageQuery<() => AccountId32>;
|
|
1138
1118
|
|
|
1139
1119
|
/**
|
|
1140
1120
|
*
|
|
1141
1121
|
* @param {Callback<bigint> =} callback
|
|
1142
1122
|
**/
|
|
1143
|
-
extraGas: GenericStorageQuery<
|
|
1123
|
+
extraGas: GenericStorageQuery<() => bigint>;
|
|
1144
1124
|
|
|
1145
1125
|
/**
|
|
1146
1126
|
*
|
|
1147
1127
|
* @param {Callback<EvmCoreErrorExitReason | undefined> =} callback
|
|
1148
1128
|
**/
|
|
1149
|
-
lastEvmCallExitReason: GenericStorageQuery<
|
|
1129
|
+
lastEvmCallExitReason: GenericStorageQuery<() => EvmCoreErrorExitReason | undefined>;
|
|
1150
1130
|
|
|
1151
1131
|
/**
|
|
1152
1132
|
* Generic pallet storage query
|
|
1153
1133
|
**/
|
|
1154
|
-
[storage: string]: GenericStorageQuery
|
|
1134
|
+
[storage: string]: GenericStorageQuery;
|
|
1155
1135
|
};
|
|
1156
1136
|
/**
|
|
1157
1137
|
* Pallet `AssetRegistry`'s storage queries
|
|
@@ -1163,14 +1143,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1163
1143
|
* @param {number} arg
|
|
1164
1144
|
* @param {Callback<PalletAssetRegistryAssetDetails | undefined> =} callback
|
|
1165
1145
|
**/
|
|
1166
|
-
assets: GenericStorageQuery<
|
|
1146
|
+
assets: GenericStorageQuery<(arg: number) => PalletAssetRegistryAssetDetails | undefined, number>;
|
|
1167
1147
|
|
|
1168
1148
|
/**
|
|
1169
1149
|
* Next available asset id. This is sequential id assigned for each new registered asset.
|
|
1170
1150
|
*
|
|
1171
1151
|
* @param {Callback<number> =} callback
|
|
1172
1152
|
**/
|
|
1173
|
-
nextAssetId: GenericStorageQuery<
|
|
1153
|
+
nextAssetId: GenericStorageQuery<() => number>;
|
|
1174
1154
|
|
|
1175
1155
|
/**
|
|
1176
1156
|
* Mapping between asset name and asset id.
|
|
@@ -1178,7 +1158,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1178
1158
|
* @param {BytesLike} arg
|
|
1179
1159
|
* @param {Callback<number | undefined> =} callback
|
|
1180
1160
|
**/
|
|
1181
|
-
assetIds: GenericStorageQuery<
|
|
1161
|
+
assetIds: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1182
1162
|
|
|
1183
1163
|
/**
|
|
1184
1164
|
* Native location of an asset.
|
|
@@ -1186,7 +1166,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1186
1166
|
* @param {number} arg
|
|
1187
1167
|
* @param {Callback<HydradxRuntimeXcmAssetLocation | undefined> =} callback
|
|
1188
1168
|
**/
|
|
1189
|
-
assetLocations: GenericStorageQuery<
|
|
1169
|
+
assetLocations: GenericStorageQuery<(arg: number) => HydradxRuntimeXcmAssetLocation | undefined, number>;
|
|
1190
1170
|
|
|
1191
1171
|
/**
|
|
1192
1172
|
* Non-native assets which transfer is banned.
|
|
@@ -1194,7 +1174,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1194
1174
|
* @param {number} arg
|
|
1195
1175
|
* @param {Callback<[] | undefined> =} callback
|
|
1196
1176
|
**/
|
|
1197
|
-
bannedAssets: GenericStorageQuery<
|
|
1177
|
+
bannedAssets: GenericStorageQuery<(arg: number) => [] | undefined, number>;
|
|
1198
1178
|
|
|
1199
1179
|
/**
|
|
1200
1180
|
* Local asset for native location.
|
|
@@ -1203,7 +1183,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1203
1183
|
* @param {Callback<number | undefined> =} callback
|
|
1204
1184
|
**/
|
|
1205
1185
|
locationAssets: GenericStorageQuery<
|
|
1206
|
-
Rv,
|
|
1207
1186
|
(arg: HydradxRuntimeXcmAssetLocation) => number | undefined,
|
|
1208
1187
|
HydradxRuntimeXcmAssetLocation
|
|
1209
1188
|
>;
|
|
@@ -1214,12 +1193,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1214
1193
|
*
|
|
1215
1194
|
* @param {Callback<bigint> =} callback
|
|
1216
1195
|
**/
|
|
1217
|
-
existentialDepositCounter: GenericStorageQuery<
|
|
1196
|
+
existentialDepositCounter: GenericStorageQuery<() => bigint>;
|
|
1218
1197
|
|
|
1219
1198
|
/**
|
|
1220
1199
|
* Generic pallet storage query
|
|
1221
1200
|
**/
|
|
1222
|
-
[storage: string]: GenericStorageQuery
|
|
1201
|
+
[storage: string]: GenericStorageQuery;
|
|
1223
1202
|
};
|
|
1224
1203
|
/**
|
|
1225
1204
|
* Pallet `Claims`'s storage queries
|
|
@@ -1231,12 +1210,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1231
1210
|
* @param {PalletClaimsEthereumAddress} arg
|
|
1232
1211
|
* @param {Callback<bigint> =} callback
|
|
1233
1212
|
**/
|
|
1234
|
-
claims: GenericStorageQuery<
|
|
1213
|
+
claims: GenericStorageQuery<(arg: PalletClaimsEthereumAddress) => bigint, PalletClaimsEthereumAddress>;
|
|
1235
1214
|
|
|
1236
1215
|
/**
|
|
1237
1216
|
* Generic pallet storage query
|
|
1238
1217
|
**/
|
|
1239
|
-
[storage: string]: GenericStorageQuery
|
|
1218
|
+
[storage: string]: GenericStorageQuery;
|
|
1240
1219
|
};
|
|
1241
1220
|
/**
|
|
1242
1221
|
* Pallet `GenesisHistory`'s storage queries
|
|
@@ -1246,12 +1225,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1246
1225
|
*
|
|
1247
1226
|
* @param {Callback<PalletGenesisHistoryChain> =} callback
|
|
1248
1227
|
**/
|
|
1249
|
-
previousChain: GenericStorageQuery<
|
|
1228
|
+
previousChain: GenericStorageQuery<() => PalletGenesisHistoryChain>;
|
|
1250
1229
|
|
|
1251
1230
|
/**
|
|
1252
1231
|
* Generic pallet storage query
|
|
1253
1232
|
**/
|
|
1254
|
-
[storage: string]: GenericStorageQuery
|
|
1233
|
+
[storage: string]: GenericStorageQuery;
|
|
1255
1234
|
};
|
|
1256
1235
|
/**
|
|
1257
1236
|
* Pallet `CollatorRewards`'s storage queries
|
|
@@ -1263,12 +1242,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1263
1242
|
* @param {number} arg
|
|
1264
1243
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1265
1244
|
**/
|
|
1266
|
-
collators: GenericStorageQuery<
|
|
1245
|
+
collators: GenericStorageQuery<(arg: number) => Array<AccountId32>, number>;
|
|
1267
1246
|
|
|
1268
1247
|
/**
|
|
1269
1248
|
* Generic pallet storage query
|
|
1270
1249
|
**/
|
|
1271
|
-
[storage: string]: GenericStorageQuery
|
|
1250
|
+
[storage: string]: GenericStorageQuery;
|
|
1272
1251
|
};
|
|
1273
1252
|
/**
|
|
1274
1253
|
* Pallet `Omnipool`'s storage queries
|
|
@@ -1280,14 +1259,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1280
1259
|
* @param {number} arg
|
|
1281
1260
|
* @param {Callback<PalletOmnipoolAssetState | undefined> =} callback
|
|
1282
1261
|
**/
|
|
1283
|
-
assets: GenericStorageQuery<
|
|
1262
|
+
assets: GenericStorageQuery<(arg: number) => PalletOmnipoolAssetState | undefined, number>;
|
|
1284
1263
|
|
|
1285
1264
|
/**
|
|
1286
1265
|
* Tradable state of hub asset.
|
|
1287
1266
|
*
|
|
1288
1267
|
* @param {Callback<PalletOmnipoolTradability> =} callback
|
|
1289
1268
|
**/
|
|
1290
|
-
hubAssetTradability: GenericStorageQuery<
|
|
1269
|
+
hubAssetTradability: GenericStorageQuery<() => PalletOmnipoolTradability>;
|
|
1291
1270
|
|
|
1292
1271
|
/**
|
|
1293
1272
|
* LP positions. Maps NFT instance id to corresponding position
|
|
@@ -1295,19 +1274,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1295
1274
|
* @param {bigint} arg
|
|
1296
1275
|
* @param {Callback<PalletOmnipoolPosition | undefined> =} callback
|
|
1297
1276
|
**/
|
|
1298
|
-
positions: GenericStorageQuery<
|
|
1277
|
+
positions: GenericStorageQuery<(arg: bigint) => PalletOmnipoolPosition | undefined, bigint>;
|
|
1299
1278
|
|
|
1300
1279
|
/**
|
|
1301
1280
|
* Position ids sequencer
|
|
1302
1281
|
*
|
|
1303
1282
|
* @param {Callback<bigint> =} callback
|
|
1304
1283
|
**/
|
|
1305
|
-
nextPositionId: GenericStorageQuery<
|
|
1284
|
+
nextPositionId: GenericStorageQuery<() => bigint>;
|
|
1306
1285
|
|
|
1307
1286
|
/**
|
|
1308
1287
|
* Generic pallet storage query
|
|
1309
1288
|
**/
|
|
1310
|
-
[storage: string]: GenericStorageQuery
|
|
1289
|
+
[storage: string]: GenericStorageQuery;
|
|
1311
1290
|
};
|
|
1312
1291
|
/**
|
|
1313
1292
|
* Pallet `TransactionPause`'s storage queries
|
|
@@ -1321,12 +1300,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1321
1300
|
* @param {[BytesLike, BytesLike]} arg
|
|
1322
1301
|
* @param {Callback<[] | undefined> =} callback
|
|
1323
1302
|
**/
|
|
1324
|
-
pausedTransactions: GenericStorageQuery<
|
|
1303
|
+
pausedTransactions: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
|
|
1325
1304
|
|
|
1326
1305
|
/**
|
|
1327
1306
|
* Generic pallet storage query
|
|
1328
1307
|
**/
|
|
1329
|
-
[storage: string]: GenericStorageQuery
|
|
1308
|
+
[storage: string]: GenericStorageQuery;
|
|
1330
1309
|
};
|
|
1331
1310
|
/**
|
|
1332
1311
|
* Pallet `Duster`'s storage queries
|
|
@@ -1338,12 +1317,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1338
1317
|
* @param {AccountId32Like} arg
|
|
1339
1318
|
* @param {Callback<[] | undefined> =} callback
|
|
1340
1319
|
**/
|
|
1341
|
-
accountWhitelist: GenericStorageQuery<
|
|
1320
|
+
accountWhitelist: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
1342
1321
|
|
|
1343
1322
|
/**
|
|
1344
1323
|
* Generic pallet storage query
|
|
1345
1324
|
**/
|
|
1346
|
-
[storage: string]: GenericStorageQuery
|
|
1325
|
+
[storage: string]: GenericStorageQuery;
|
|
1347
1326
|
};
|
|
1348
1327
|
/**
|
|
1349
1328
|
* Pallet `OmnipoolWarehouseLM`'s storage queries
|
|
@@ -1354,20 +1333,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1354
1333
|
*
|
|
1355
1334
|
* @param {Callback<number> =} callback
|
|
1356
1335
|
**/
|
|
1357
|
-
farmSequencer: GenericStorageQuery<
|
|
1336
|
+
farmSequencer: GenericStorageQuery<() => number>;
|
|
1358
1337
|
|
|
1359
1338
|
/**
|
|
1360
1339
|
*
|
|
1361
1340
|
* @param {Callback<bigint> =} callback
|
|
1362
1341
|
**/
|
|
1363
|
-
depositSequencer: GenericStorageQuery<
|
|
1342
|
+
depositSequencer: GenericStorageQuery<() => bigint>;
|
|
1364
1343
|
|
|
1365
1344
|
/**
|
|
1366
1345
|
*
|
|
1367
1346
|
* @param {number} arg
|
|
1368
1347
|
* @param {Callback<PalletLiquidityMiningGlobalFarmData | undefined> =} callback
|
|
1369
1348
|
**/
|
|
1370
|
-
globalFarm: GenericStorageQuery<
|
|
1349
|
+
globalFarm: GenericStorageQuery<(arg: number) => PalletLiquidityMiningGlobalFarmData | undefined, number>;
|
|
1371
1350
|
|
|
1372
1351
|
/**
|
|
1373
1352
|
* Yield farm details.
|
|
@@ -1376,7 +1355,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1376
1355
|
* @param {Callback<PalletLiquidityMiningYieldFarmData | undefined> =} callback
|
|
1377
1356
|
**/
|
|
1378
1357
|
yieldFarm: GenericStorageQuery<
|
|
1379
|
-
Rv,
|
|
1380
1358
|
(arg: [number, number, number]) => PalletLiquidityMiningYieldFarmData | undefined,
|
|
1381
1359
|
[number, number, number]
|
|
1382
1360
|
>;
|
|
@@ -1387,7 +1365,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1387
1365
|
* @param {bigint} arg
|
|
1388
1366
|
* @param {Callback<PalletLiquidityMiningDepositData | undefined> =} callback
|
|
1389
1367
|
**/
|
|
1390
|
-
deposit: GenericStorageQuery<
|
|
1368
|
+
deposit: GenericStorageQuery<(arg: bigint) => PalletLiquidityMiningDepositData | undefined, bigint>;
|
|
1391
1369
|
|
|
1392
1370
|
/**
|
|
1393
1371
|
* Active(farms able to receive LP shares deposits) yield farms.
|
|
@@ -1395,12 +1373,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1395
1373
|
* @param {[number, number]} arg
|
|
1396
1374
|
* @param {Callback<number | undefined> =} callback
|
|
1397
1375
|
**/
|
|
1398
|
-
activeYieldFarm: GenericStorageQuery<
|
|
1376
|
+
activeYieldFarm: GenericStorageQuery<(arg: [number, number]) => number | undefined, [number, number]>;
|
|
1399
1377
|
|
|
1400
1378
|
/**
|
|
1401
1379
|
* Generic pallet storage query
|
|
1402
1380
|
**/
|
|
1403
|
-
[storage: string]: GenericStorageQuery
|
|
1381
|
+
[storage: string]: GenericStorageQuery;
|
|
1404
1382
|
};
|
|
1405
1383
|
/**
|
|
1406
1384
|
* Pallet `OmnipoolLiquidityMining`'s storage queries
|
|
@@ -1412,12 +1390,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1412
1390
|
* @param {bigint} arg
|
|
1413
1391
|
* @param {Callback<bigint | undefined> =} callback
|
|
1414
1392
|
**/
|
|
1415
|
-
omniPositionId: GenericStorageQuery<
|
|
1393
|
+
omniPositionId: GenericStorageQuery<(arg: bigint) => bigint | undefined, bigint>;
|
|
1416
1394
|
|
|
1417
1395
|
/**
|
|
1418
1396
|
* Generic pallet storage query
|
|
1419
1397
|
**/
|
|
1420
|
-
[storage: string]: GenericStorageQuery
|
|
1398
|
+
[storage: string]: GenericStorageQuery;
|
|
1421
1399
|
};
|
|
1422
1400
|
/**
|
|
1423
1401
|
* Pallet `OTC`'s storage queries
|
|
@@ -1428,19 +1406,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1428
1406
|
*
|
|
1429
1407
|
* @param {Callback<number> =} callback
|
|
1430
1408
|
**/
|
|
1431
|
-
nextOrderId: GenericStorageQuery<
|
|
1409
|
+
nextOrderId: GenericStorageQuery<() => number>;
|
|
1432
1410
|
|
|
1433
1411
|
/**
|
|
1434
1412
|
*
|
|
1435
1413
|
* @param {number} arg
|
|
1436
1414
|
* @param {Callback<PalletOtcOrder | undefined> =} callback
|
|
1437
1415
|
**/
|
|
1438
|
-
orders: GenericStorageQuery<
|
|
1416
|
+
orders: GenericStorageQuery<(arg: number) => PalletOtcOrder | undefined, number>;
|
|
1439
1417
|
|
|
1440
1418
|
/**
|
|
1441
1419
|
* Generic pallet storage query
|
|
1442
1420
|
**/
|
|
1443
|
-
[storage: string]: GenericStorageQuery
|
|
1421
|
+
[storage: string]: GenericStorageQuery;
|
|
1444
1422
|
};
|
|
1445
1423
|
/**
|
|
1446
1424
|
* Pallet `CircuitBreaker`'s storage queries
|
|
@@ -1453,7 +1431,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1453
1431
|
* @param {number} arg
|
|
1454
1432
|
* @param {Callback<[number, number]> =} callback
|
|
1455
1433
|
**/
|
|
1456
|
-
tradeVolumeLimitPerAsset: GenericStorageQuery<
|
|
1434
|
+
tradeVolumeLimitPerAsset: GenericStorageQuery<(arg: number) => [number, number], number>;
|
|
1457
1435
|
|
|
1458
1436
|
/**
|
|
1459
1437
|
* Trade volumes per asset
|
|
@@ -1462,7 +1440,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1462
1440
|
* @param {Callback<PalletCircuitBreakerTradeVolumeLimit | undefined> =} callback
|
|
1463
1441
|
**/
|
|
1464
1442
|
allowedTradeVolumeLimitPerAsset: GenericStorageQuery<
|
|
1465
|
-
Rv,
|
|
1466
1443
|
(arg: number) => PalletCircuitBreakerTradeVolumeLimit | undefined,
|
|
1467
1444
|
number
|
|
1468
1445
|
>;
|
|
@@ -1474,7 +1451,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1474
1451
|
* @param {number} arg
|
|
1475
1452
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1476
1453
|
**/
|
|
1477
|
-
liquidityAddLimitPerAsset: GenericStorageQuery<
|
|
1454
|
+
liquidityAddLimitPerAsset: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
1478
1455
|
|
|
1479
1456
|
/**
|
|
1480
1457
|
* Add liquidity volumes per asset
|
|
@@ -1483,7 +1460,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1483
1460
|
* @param {Callback<PalletCircuitBreakerLiquidityLimit | undefined> =} callback
|
|
1484
1461
|
**/
|
|
1485
1462
|
allowedAddLiquidityAmountPerAsset: GenericStorageQuery<
|
|
1486
|
-
Rv,
|
|
1487
1463
|
(arg: number) => PalletCircuitBreakerLiquidityLimit | undefined,
|
|
1488
1464
|
number
|
|
1489
1465
|
>;
|
|
@@ -1493,11 +1469,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1493
1469
|
* @param {number} arg
|
|
1494
1470
|
* @param {Callback<PalletCircuitBreakerLockdownStatus | undefined> =} callback
|
|
1495
1471
|
**/
|
|
1496
|
-
assetLockdownState: GenericStorageQuery<
|
|
1497
|
-
Rv,
|
|
1498
|
-
(arg: number) => PalletCircuitBreakerLockdownStatus | undefined,
|
|
1499
|
-
number
|
|
1500
|
-
>;
|
|
1472
|
+
assetLockdownState: GenericStorageQuery<(arg: number) => PalletCircuitBreakerLockdownStatus | undefined, number>;
|
|
1501
1473
|
|
|
1502
1474
|
/**
|
|
1503
1475
|
* Liquidity limits of assets for removing liquidity.
|
|
@@ -1506,7 +1478,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1506
1478
|
* @param {number} arg
|
|
1507
1479
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1508
1480
|
**/
|
|
1509
|
-
liquidityRemoveLimitPerAsset: GenericStorageQuery<
|
|
1481
|
+
liquidityRemoveLimitPerAsset: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
1510
1482
|
|
|
1511
1483
|
/**
|
|
1512
1484
|
* Remove liquidity volumes per asset
|
|
@@ -1515,7 +1487,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1515
1487
|
* @param {Callback<PalletCircuitBreakerLiquidityLimit | undefined> =} callback
|
|
1516
1488
|
**/
|
|
1517
1489
|
allowedRemoveLiquidityAmountPerAsset: GenericStorageQuery<
|
|
1518
|
-
Rv,
|
|
1519
1490
|
(arg: number) => PalletCircuitBreakerLiquidityLimit | undefined,
|
|
1520
1491
|
number
|
|
1521
1492
|
>;
|
|
@@ -1523,7 +1494,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1523
1494
|
/**
|
|
1524
1495
|
* Generic pallet storage query
|
|
1525
1496
|
**/
|
|
1526
|
-
[storage: string]: GenericStorageQuery
|
|
1497
|
+
[storage: string]: GenericStorageQuery;
|
|
1527
1498
|
};
|
|
1528
1499
|
/**
|
|
1529
1500
|
* Pallet `Router`'s storage queries
|
|
@@ -1536,7 +1507,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1536
1507
|
* @param {Callback<Array<HydradxTraitsRouterTrade> | undefined> =} callback
|
|
1537
1508
|
**/
|
|
1538
1509
|
routes: GenericStorageQuery<
|
|
1539
|
-
Rv,
|
|
1540
1510
|
(arg: HydradxTraitsRouterAssetPair) => Array<HydradxTraitsRouterTrade> | undefined,
|
|
1541
1511
|
HydradxTraitsRouterAssetPair
|
|
1542
1512
|
>;
|
|
@@ -1544,7 +1514,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1544
1514
|
/**
|
|
1545
1515
|
* Generic pallet storage query
|
|
1546
1516
|
**/
|
|
1547
|
-
[storage: string]: GenericStorageQuery
|
|
1517
|
+
[storage: string]: GenericStorageQuery;
|
|
1548
1518
|
};
|
|
1549
1519
|
/**
|
|
1550
1520
|
* Pallet `DynamicFees`'s storage queries
|
|
@@ -1557,7 +1527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1557
1527
|
* @param {number} arg
|
|
1558
1528
|
* @param {Callback<PalletDynamicFeesFeeEntry | undefined> =} callback
|
|
1559
1529
|
**/
|
|
1560
|
-
assetFee: GenericStorageQuery<
|
|
1530
|
+
assetFee: GenericStorageQuery<(arg: number) => PalletDynamicFeesFeeEntry | undefined, number>;
|
|
1561
1531
|
|
|
1562
1532
|
/**
|
|
1563
1533
|
* Stores per-asset fee configuration (Fixed or Dynamic)
|
|
@@ -1565,16 +1535,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1565
1535
|
* @param {number} arg
|
|
1566
1536
|
* @param {Callback<PalletDynamicFeesAssetFeeConfig | undefined> =} callback
|
|
1567
1537
|
**/
|
|
1568
|
-
assetFeeConfiguration: GenericStorageQuery<
|
|
1569
|
-
Rv,
|
|
1570
|
-
(arg: number) => PalletDynamicFeesAssetFeeConfig | undefined,
|
|
1571
|
-
number
|
|
1572
|
-
>;
|
|
1538
|
+
assetFeeConfiguration: GenericStorageQuery<(arg: number) => PalletDynamicFeesAssetFeeConfig | undefined, number>;
|
|
1573
1539
|
|
|
1574
1540
|
/**
|
|
1575
1541
|
* Generic pallet storage query
|
|
1576
1542
|
**/
|
|
1577
|
-
[storage: string]: GenericStorageQuery
|
|
1543
|
+
[storage: string]: GenericStorageQuery;
|
|
1578
1544
|
};
|
|
1579
1545
|
/**
|
|
1580
1546
|
* Pallet `Staking`'s storage queries
|
|
@@ -1585,7 +1551,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1585
1551
|
*
|
|
1586
1552
|
* @param {Callback<PalletStakingStakingData> =} callback
|
|
1587
1553
|
**/
|
|
1588
|
-
staking: GenericStorageQuery<
|
|
1554
|
+
staking: GenericStorageQuery<() => PalletStakingStakingData>;
|
|
1589
1555
|
|
|
1590
1556
|
/**
|
|
1591
1557
|
* User's position state.
|
|
@@ -1593,14 +1559,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1593
1559
|
* @param {bigint} arg
|
|
1594
1560
|
* @param {Callback<PalletStakingPosition | undefined> =} callback
|
|
1595
1561
|
**/
|
|
1596
|
-
positions: GenericStorageQuery<
|
|
1562
|
+
positions: GenericStorageQuery<(arg: bigint) => PalletStakingPosition | undefined, bigint>;
|
|
1597
1563
|
|
|
1598
1564
|
/**
|
|
1599
1565
|
* Position ids sequencer.
|
|
1600
1566
|
*
|
|
1601
1567
|
* @param {Callback<bigint> =} callback
|
|
1602
1568
|
**/
|
|
1603
|
-
nextPositionId: GenericStorageQuery<
|
|
1569
|
+
nextPositionId: GenericStorageQuery<() => bigint>;
|
|
1604
1570
|
|
|
1605
1571
|
/**
|
|
1606
1572
|
* List of position votes.
|
|
@@ -1608,7 +1574,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1608
1574
|
* @param {bigint} arg
|
|
1609
1575
|
* @param {Callback<PalletStakingVoting> =} callback
|
|
1610
1576
|
**/
|
|
1611
|
-
votes: GenericStorageQuery<
|
|
1577
|
+
votes: GenericStorageQuery<(arg: bigint) => PalletStakingVoting, bigint>;
|
|
1612
1578
|
|
|
1613
1579
|
/**
|
|
1614
1580
|
* List of processed vote. Used to determine if the vote should be locked in case of voting not in favor.
|
|
@@ -1617,7 +1583,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1617
1583
|
* @param {Callback<PalletStakingVote | undefined> =} callback
|
|
1618
1584
|
**/
|
|
1619
1585
|
votesRewarded: GenericStorageQuery<
|
|
1620
|
-
Rv,
|
|
1621
1586
|
(arg: [AccountId32Like, number]) => PalletStakingVote | undefined,
|
|
1622
1587
|
[AccountId32, number]
|
|
1623
1588
|
>;
|
|
@@ -1628,7 +1593,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1628
1593
|
* @param {bigint} arg
|
|
1629
1594
|
* @param {Callback<PalletStakingVoting> =} callback
|
|
1630
1595
|
**/
|
|
1631
|
-
positionVotes: GenericStorageQuery<
|
|
1596
|
+
positionVotes: GenericStorageQuery<(arg: bigint) => PalletStakingVoting, bigint>;
|
|
1632
1597
|
|
|
1633
1598
|
/**
|
|
1634
1599
|
* Legacy storage! - Used to handle democracy processed votes until democracy pallet is fully removed.
|
|
@@ -1637,7 +1602,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1637
1602
|
* @param {Callback<PalletStakingVote | undefined> =} callback
|
|
1638
1603
|
**/
|
|
1639
1604
|
processedVotes: GenericStorageQuery<
|
|
1640
|
-
Rv,
|
|
1641
1605
|
(arg: [AccountId32Like, number]) => PalletStakingVote | undefined,
|
|
1642
1606
|
[AccountId32, number]
|
|
1643
1607
|
>;
|
|
@@ -1647,12 +1611,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1647
1611
|
*
|
|
1648
1612
|
* @param {Callback<number> =} callback
|
|
1649
1613
|
**/
|
|
1650
|
-
sixSecBlocksSince: GenericStorageQuery<
|
|
1614
|
+
sixSecBlocksSince: GenericStorageQuery<() => number>;
|
|
1651
1615
|
|
|
1652
1616
|
/**
|
|
1653
1617
|
* Generic pallet storage query
|
|
1654
1618
|
**/
|
|
1655
|
-
[storage: string]: GenericStorageQuery
|
|
1619
|
+
[storage: string]: GenericStorageQuery;
|
|
1656
1620
|
};
|
|
1657
1621
|
/**
|
|
1658
1622
|
* Pallet `Stableswap`'s storage queries
|
|
@@ -1664,7 +1628,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1664
1628
|
* @param {number} arg
|
|
1665
1629
|
* @param {Callback<PalletStableswapPoolInfo | undefined> =} callback
|
|
1666
1630
|
**/
|
|
1667
|
-
pools: GenericStorageQuery<
|
|
1631
|
+
pools: GenericStorageQuery<(arg: number) => PalletStableswapPoolInfo | undefined, number>;
|
|
1668
1632
|
|
|
1669
1633
|
/**
|
|
1670
1634
|
* Pool peg info.
|
|
@@ -1672,7 +1636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1672
1636
|
* @param {number} arg
|
|
1673
1637
|
* @param {Callback<PalletStableswapPoolPegInfo | undefined> =} callback
|
|
1674
1638
|
**/
|
|
1675
|
-
poolPegs: GenericStorageQuery<
|
|
1639
|
+
poolPegs: GenericStorageQuery<(arg: number) => PalletStableswapPoolPegInfo | undefined, number>;
|
|
1676
1640
|
|
|
1677
1641
|
/**
|
|
1678
1642
|
* Tradability state of pool assets.
|
|
@@ -1680,7 +1644,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1680
1644
|
* @param {[number, number]} arg
|
|
1681
1645
|
* @param {Callback<PalletStableswapTradability> =} callback
|
|
1682
1646
|
**/
|
|
1683
|
-
assetTradability: GenericStorageQuery<
|
|
1647
|
+
assetTradability: GenericStorageQuery<(arg: [number, number]) => PalletStableswapTradability, [number, number]>;
|
|
1684
1648
|
|
|
1685
1649
|
/**
|
|
1686
1650
|
* Temporary pool state storage. Used to save a state of pool in a single block.
|
|
@@ -1688,12 +1652,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1688
1652
|
* @param {number} arg
|
|
1689
1653
|
* @param {Callback<PalletStableswapPoolSnapshot | undefined> =} callback
|
|
1690
1654
|
**/
|
|
1691
|
-
poolSnapshots: GenericStorageQuery<
|
|
1655
|
+
poolSnapshots: GenericStorageQuery<(arg: number) => PalletStableswapPoolSnapshot | undefined, number>;
|
|
1692
1656
|
|
|
1693
1657
|
/**
|
|
1694
1658
|
* Generic pallet storage query
|
|
1695
1659
|
**/
|
|
1696
|
-
[storage: string]: GenericStorageQuery
|
|
1660
|
+
[storage: string]: GenericStorageQuery;
|
|
1697
1661
|
};
|
|
1698
1662
|
/**
|
|
1699
1663
|
* Pallet `Bonds`'s storage queries
|
|
@@ -1706,7 +1670,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1706
1670
|
* @param {[number, bigint]} arg
|
|
1707
1671
|
* @param {Callback<number | undefined> =} callback
|
|
1708
1672
|
**/
|
|
1709
|
-
bondIds: GenericStorageQuery<
|
|
1673
|
+
bondIds: GenericStorageQuery<(arg: [number, bigint]) => number | undefined, [number, bigint]>;
|
|
1710
1674
|
|
|
1711
1675
|
/**
|
|
1712
1676
|
* Registered bonds.
|
|
@@ -1715,12 +1679,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1715
1679
|
* @param {number} arg
|
|
1716
1680
|
* @param {Callback<[number, bigint] | undefined> =} callback
|
|
1717
1681
|
**/
|
|
1718
|
-
bonds: GenericStorageQuery<
|
|
1682
|
+
bonds: GenericStorageQuery<(arg: number) => [number, bigint] | undefined, number>;
|
|
1719
1683
|
|
|
1720
1684
|
/**
|
|
1721
1685
|
* Generic pallet storage query
|
|
1722
1686
|
**/
|
|
1723
|
-
[storage: string]: GenericStorageQuery
|
|
1687
|
+
[storage: string]: GenericStorageQuery;
|
|
1724
1688
|
};
|
|
1725
1689
|
/**
|
|
1726
1690
|
* Pallet `LBP`'s storage queries
|
|
@@ -1732,7 +1696,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1732
1696
|
* @param {AccountId32Like} arg
|
|
1733
1697
|
* @param {Callback<PalletLbpPool | undefined> =} callback
|
|
1734
1698
|
**/
|
|
1735
|
-
poolData: GenericStorageQuery<
|
|
1699
|
+
poolData: GenericStorageQuery<(arg: AccountId32Like) => PalletLbpPool | undefined, AccountId32>;
|
|
1736
1700
|
|
|
1737
1701
|
/**
|
|
1738
1702
|
* Storage used for tracking existing fee collectors
|
|
@@ -1741,12 +1705,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1741
1705
|
* @param {[AccountId32Like, number]} arg
|
|
1742
1706
|
* @param {Callback<boolean> =} callback
|
|
1743
1707
|
**/
|
|
1744
|
-
feeCollectorWithAsset: GenericStorageQuery<
|
|
1708
|
+
feeCollectorWithAsset: GenericStorageQuery<(arg: [AccountId32Like, number]) => boolean, [AccountId32, number]>;
|
|
1745
1709
|
|
|
1746
1710
|
/**
|
|
1747
1711
|
* Generic pallet storage query
|
|
1748
1712
|
**/
|
|
1749
|
-
[storage: string]: GenericStorageQuery
|
|
1713
|
+
[storage: string]: GenericStorageQuery;
|
|
1750
1714
|
};
|
|
1751
1715
|
/**
|
|
1752
1716
|
* Pallet `XYK`'s storage queries
|
|
@@ -1758,7 +1722,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1758
1722
|
* @param {AccountId32Like} arg
|
|
1759
1723
|
* @param {Callback<number> =} callback
|
|
1760
1724
|
**/
|
|
1761
|
-
shareToken: GenericStorageQuery<
|
|
1725
|
+
shareToken: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
1762
1726
|
|
|
1763
1727
|
/**
|
|
1764
1728
|
* Total liquidity in a pool.
|
|
@@ -1766,7 +1730,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1766
1730
|
* @param {AccountId32Like} arg
|
|
1767
1731
|
* @param {Callback<bigint> =} callback
|
|
1768
1732
|
**/
|
|
1769
|
-
totalLiquidity: GenericStorageQuery<
|
|
1733
|
+
totalLiquidity: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
1770
1734
|
|
|
1771
1735
|
/**
|
|
1772
1736
|
* Asset pair in a pool.
|
|
@@ -1774,12 +1738,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1774
1738
|
* @param {AccountId32Like} arg
|
|
1775
1739
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1776
1740
|
**/
|
|
1777
|
-
poolAssets: GenericStorageQuery<
|
|
1741
|
+
poolAssets: GenericStorageQuery<(arg: AccountId32Like) => [number, number] | undefined, AccountId32>;
|
|
1778
1742
|
|
|
1779
1743
|
/**
|
|
1780
1744
|
* Generic pallet storage query
|
|
1781
1745
|
**/
|
|
1782
|
-
[storage: string]: GenericStorageQuery
|
|
1746
|
+
[storage: string]: GenericStorageQuery;
|
|
1783
1747
|
};
|
|
1784
1748
|
/**
|
|
1785
1749
|
* Pallet `Referrals`'s storage queries
|
|
@@ -1792,7 +1756,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1792
1756
|
* @param {BytesLike} arg
|
|
1793
1757
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1794
1758
|
**/
|
|
1795
|
-
referralCodes: GenericStorageQuery<
|
|
1759
|
+
referralCodes: GenericStorageQuery<(arg: BytesLike) => AccountId32 | undefined, Bytes>;
|
|
1796
1760
|
|
|
1797
1761
|
/**
|
|
1798
1762
|
* Referral accounts
|
|
@@ -1801,7 +1765,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1801
1765
|
* @param {AccountId32Like} arg
|
|
1802
1766
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1803
1767
|
**/
|
|
1804
|
-
referralAccounts: GenericStorageQuery<
|
|
1768
|
+
referralAccounts: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1805
1769
|
|
|
1806
1770
|
/**
|
|
1807
1771
|
* Linked accounts.
|
|
@@ -1810,7 +1774,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1810
1774
|
* @param {AccountId32Like} arg
|
|
1811
1775
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1812
1776
|
**/
|
|
1813
|
-
linkedAccounts: GenericStorageQuery<
|
|
1777
|
+
linkedAccounts: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined, AccountId32>;
|
|
1814
1778
|
|
|
1815
1779
|
/**
|
|
1816
1780
|
* Shares of a referral account
|
|
@@ -1818,7 +1782,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1818
1782
|
* @param {AccountId32Like} arg
|
|
1819
1783
|
* @param {Callback<bigint> =} callback
|
|
1820
1784
|
**/
|
|
1821
|
-
referrerShares: GenericStorageQuery<
|
|
1785
|
+
referrerShares: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
1822
1786
|
|
|
1823
1787
|
/**
|
|
1824
1788
|
* Shares of a trader account
|
|
@@ -1826,14 +1790,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1826
1790
|
* @param {AccountId32Like} arg
|
|
1827
1791
|
* @param {Callback<bigint> =} callback
|
|
1828
1792
|
**/
|
|
1829
|
-
traderShares: GenericStorageQuery<
|
|
1793
|
+
traderShares: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
1830
1794
|
|
|
1831
1795
|
/**
|
|
1832
1796
|
* Total share issuance.
|
|
1833
1797
|
*
|
|
1834
1798
|
* @param {Callback<bigint> =} callback
|
|
1835
1799
|
**/
|
|
1836
|
-
totalShares: GenericStorageQuery<
|
|
1800
|
+
totalShares: GenericStorageQuery<() => bigint>;
|
|
1837
1801
|
|
|
1838
1802
|
/**
|
|
1839
1803
|
* Referer level and total accumulated rewards over time.
|
|
@@ -1843,11 +1807,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1843
1807
|
* @param {AccountId32Like} arg
|
|
1844
1808
|
* @param {Callback<[PalletReferralsLevel, bigint] | undefined> =} callback
|
|
1845
1809
|
**/
|
|
1846
|
-
referrer: GenericStorageQuery<
|
|
1847
|
-
Rv,
|
|
1848
|
-
(arg: AccountId32Like) => [PalletReferralsLevel, bigint] | undefined,
|
|
1849
|
-
AccountId32
|
|
1850
|
-
>;
|
|
1810
|
+
referrer: GenericStorageQuery<(arg: AccountId32Like) => [PalletReferralsLevel, bigint] | undefined, AccountId32>;
|
|
1851
1811
|
|
|
1852
1812
|
/**
|
|
1853
1813
|
* Asset fee distribution rewards information.
|
|
@@ -1857,7 +1817,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1857
1817
|
* @param {Callback<PalletReferralsFeeDistribution | undefined> =} callback
|
|
1858
1818
|
**/
|
|
1859
1819
|
assetRewards: GenericStorageQuery<
|
|
1860
|
-
Rv,
|
|
1861
1820
|
(arg: [number, PalletReferralsLevel]) => PalletReferralsFeeDistribution | undefined,
|
|
1862
1821
|
[number, PalletReferralsLevel]
|
|
1863
1822
|
>;
|
|
@@ -1869,19 +1828,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1869
1828
|
* @param {number} arg
|
|
1870
1829
|
* @param {Callback<[] | undefined> =} callback
|
|
1871
1830
|
**/
|
|
1872
|
-
pendingConversions: GenericStorageQuery<
|
|
1831
|
+
pendingConversions: GenericStorageQuery<(arg: number) => [] | undefined, number>;
|
|
1873
1832
|
|
|
1874
1833
|
/**
|
|
1875
1834
|
* Counter for the related counted storage map
|
|
1876
1835
|
*
|
|
1877
1836
|
* @param {Callback<number> =} callback
|
|
1878
1837
|
**/
|
|
1879
|
-
counterForPendingConversions: GenericStorageQuery<
|
|
1838
|
+
counterForPendingConversions: GenericStorageQuery<() => number>;
|
|
1880
1839
|
|
|
1881
1840
|
/**
|
|
1882
1841
|
* Generic pallet storage query
|
|
1883
1842
|
**/
|
|
1884
|
-
[storage: string]: GenericStorageQuery
|
|
1843
|
+
[storage: string]: GenericStorageQuery;
|
|
1885
1844
|
};
|
|
1886
1845
|
/**
|
|
1887
1846
|
* Pallet `Liquidation`'s storage queries
|
|
@@ -1892,12 +1851,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1892
1851
|
*
|
|
1893
1852
|
* @param {Callback<H160> =} callback
|
|
1894
1853
|
**/
|
|
1895
|
-
borrowingContract: GenericStorageQuery<
|
|
1854
|
+
borrowingContract: GenericStorageQuery<() => H160>;
|
|
1896
1855
|
|
|
1897
1856
|
/**
|
|
1898
1857
|
* Generic pallet storage query
|
|
1899
1858
|
**/
|
|
1900
|
-
[storage: string]: GenericStorageQuery
|
|
1859
|
+
[storage: string]: GenericStorageQuery;
|
|
1901
1860
|
};
|
|
1902
1861
|
/**
|
|
1903
1862
|
* Pallet `HSM`'s storage queries
|
|
@@ -1913,7 +1872,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1913
1872
|
* @param {number} arg
|
|
1914
1873
|
* @param {Callback<PalletHsmCollateralInfo | undefined> =} callback
|
|
1915
1874
|
**/
|
|
1916
|
-
collaterals: GenericStorageQuery<
|
|
1875
|
+
collaterals: GenericStorageQuery<(arg: number) => PalletHsmCollateralInfo | undefined, number>;
|
|
1917
1876
|
|
|
1918
1877
|
/**
|
|
1919
1878
|
* Amount of Hollar bought with an asset in a single block
|
|
@@ -1925,19 +1884,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1925
1884
|
* @param {number} arg
|
|
1926
1885
|
* @param {Callback<bigint> =} callback
|
|
1927
1886
|
**/
|
|
1928
|
-
hollarAmountReceived: GenericStorageQuery<
|
|
1887
|
+
hollarAmountReceived: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
1929
1888
|
|
|
1930
1889
|
/**
|
|
1931
1890
|
* Address of the flash loan receiver.
|
|
1932
1891
|
*
|
|
1933
1892
|
* @param {Callback<H160 | undefined> =} callback
|
|
1934
1893
|
**/
|
|
1935
|
-
flashMinter: GenericStorageQuery<
|
|
1894
|
+
flashMinter: GenericStorageQuery<() => H160 | undefined>;
|
|
1936
1895
|
|
|
1937
1896
|
/**
|
|
1938
1897
|
* Generic pallet storage query
|
|
1939
1898
|
**/
|
|
1940
|
-
[storage: string]: GenericStorageQuery
|
|
1899
|
+
[storage: string]: GenericStorageQuery;
|
|
1941
1900
|
};
|
|
1942
1901
|
/**
|
|
1943
1902
|
* Pallet `Parameters`'s storage queries
|
|
@@ -1947,12 +1906,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1947
1906
|
*
|
|
1948
1907
|
* @param {Callback<boolean> =} callback
|
|
1949
1908
|
**/
|
|
1950
|
-
isTestnet: GenericStorageQuery<
|
|
1909
|
+
isTestnet: GenericStorageQuery<() => boolean>;
|
|
1951
1910
|
|
|
1952
1911
|
/**
|
|
1953
1912
|
* Generic pallet storage query
|
|
1954
1913
|
**/
|
|
1955
|
-
[storage: string]: GenericStorageQuery
|
|
1914
|
+
[storage: string]: GenericStorageQuery;
|
|
1956
1915
|
};
|
|
1957
1916
|
/**
|
|
1958
1917
|
* Pallet `Tokens`'s storage queries
|
|
@@ -1964,7 +1923,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1964
1923
|
* @param {number} arg
|
|
1965
1924
|
* @param {Callback<bigint> =} callback
|
|
1966
1925
|
**/
|
|
1967
|
-
totalIssuance: GenericStorageQuery<
|
|
1926
|
+
totalIssuance: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
1968
1927
|
|
|
1969
1928
|
/**
|
|
1970
1929
|
* Any liquidity locks of a token type under an account.
|
|
@@ -1973,11 +1932,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1973
1932
|
* @param {[AccountId32Like, number]} arg
|
|
1974
1933
|
* @param {Callback<Array<OrmlTokensBalanceLock>> =} callback
|
|
1975
1934
|
**/
|
|
1976
|
-
locks: GenericStorageQuery<
|
|
1977
|
-
Rv,
|
|
1978
|
-
(arg: [AccountId32Like, number]) => Array<OrmlTokensBalanceLock>,
|
|
1979
|
-
[AccountId32, number]
|
|
1980
|
-
>;
|
|
1935
|
+
locks: GenericStorageQuery<(arg: [AccountId32Like, number]) => Array<OrmlTokensBalanceLock>, [AccountId32, number]>;
|
|
1981
1936
|
|
|
1982
1937
|
/**
|
|
1983
1938
|
* The balance of a token type under an account.
|
|
@@ -1990,7 +1945,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1990
1945
|
* @param {[AccountId32Like, number]} arg
|
|
1991
1946
|
* @param {Callback<OrmlTokensAccountData> =} callback
|
|
1992
1947
|
**/
|
|
1993
|
-
accounts: GenericStorageQuery<
|
|
1948
|
+
accounts: GenericStorageQuery<(arg: [AccountId32Like, number]) => OrmlTokensAccountData, [AccountId32, number]>;
|
|
1994
1949
|
|
|
1995
1950
|
/**
|
|
1996
1951
|
* Named reserves on some account balances.
|
|
@@ -1999,7 +1954,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1999
1954
|
* @param {Callback<Array<OrmlTokensReserveData>> =} callback
|
|
2000
1955
|
**/
|
|
2001
1956
|
reserves: GenericStorageQuery<
|
|
2002
|
-
Rv,
|
|
2003
1957
|
(arg: [AccountId32Like, number]) => Array<OrmlTokensReserveData>,
|
|
2004
1958
|
[AccountId32, number]
|
|
2005
1959
|
>;
|
|
@@ -2007,7 +1961,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2007
1961
|
/**
|
|
2008
1962
|
* Generic pallet storage query
|
|
2009
1963
|
**/
|
|
2010
|
-
[storage: string]: GenericStorageQuery
|
|
1964
|
+
[storage: string]: GenericStorageQuery;
|
|
2011
1965
|
};
|
|
2012
1966
|
/**
|
|
2013
1967
|
* Pallet `Vesting`'s storage queries
|
|
@@ -2021,12 +1975,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2021
1975
|
* @param {AccountId32Like} arg
|
|
2022
1976
|
* @param {Callback<Array<OrmlVestingVestingSchedule>> =} callback
|
|
2023
1977
|
**/
|
|
2024
|
-
vestingSchedules: GenericStorageQuery<
|
|
1978
|
+
vestingSchedules: GenericStorageQuery<(arg: AccountId32Like) => Array<OrmlVestingVestingSchedule>, AccountId32>;
|
|
2025
1979
|
|
|
2026
1980
|
/**
|
|
2027
1981
|
* Generic pallet storage query
|
|
2028
1982
|
**/
|
|
2029
|
-
[storage: string]: GenericStorageQuery
|
|
1983
|
+
[storage: string]: GenericStorageQuery;
|
|
2030
1984
|
};
|
|
2031
1985
|
/**
|
|
2032
1986
|
* Pallet `EVM`'s storage queries
|
|
@@ -2037,33 +1991,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2037
1991
|
* @param {H160} arg
|
|
2038
1992
|
* @param {Callback<Bytes> =} callback
|
|
2039
1993
|
**/
|
|
2040
|
-
accountCodes: GenericStorageQuery<
|
|
1994
|
+
accountCodes: GenericStorageQuery<(arg: H160) => Bytes, H160>;
|
|
2041
1995
|
|
|
2042
1996
|
/**
|
|
2043
1997
|
*
|
|
2044
1998
|
* @param {H160} arg
|
|
2045
1999
|
* @param {Callback<PalletEvmCodeMetadata | undefined> =} callback
|
|
2046
2000
|
**/
|
|
2047
|
-
accountCodesMetadata: GenericStorageQuery<
|
|
2001
|
+
accountCodesMetadata: GenericStorageQuery<(arg: H160) => PalletEvmCodeMetadata | undefined, H160>;
|
|
2048
2002
|
|
|
2049
2003
|
/**
|
|
2050
2004
|
*
|
|
2051
2005
|
* @param {[H160, H256]} arg
|
|
2052
2006
|
* @param {Callback<H256> =} callback
|
|
2053
2007
|
**/
|
|
2054
|
-
accountStorages: GenericStorageQuery<
|
|
2008
|
+
accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256, [H160, H256]>;
|
|
2055
2009
|
|
|
2056
2010
|
/**
|
|
2057
2011
|
*
|
|
2058
2012
|
* @param {H160} arg
|
|
2059
2013
|
* @param {Callback<[] | undefined> =} callback
|
|
2060
2014
|
**/
|
|
2061
|
-
suicided: GenericStorageQuery<
|
|
2015
|
+
suicided: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
|
|
2062
2016
|
|
|
2063
2017
|
/**
|
|
2064
2018
|
* Generic pallet storage query
|
|
2065
2019
|
**/
|
|
2066
|
-
[storage: string]: GenericStorageQuery
|
|
2020
|
+
[storage: string]: GenericStorageQuery;
|
|
2067
2021
|
};
|
|
2068
2022
|
/**
|
|
2069
2023
|
* Pallet `EVMChainId`'s storage queries
|
|
@@ -2074,12 +2028,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2074
2028
|
*
|
|
2075
2029
|
* @param {Callback<bigint> =} callback
|
|
2076
2030
|
**/
|
|
2077
|
-
chainId: GenericStorageQuery<
|
|
2031
|
+
chainId: GenericStorageQuery<() => bigint>;
|
|
2078
2032
|
|
|
2079
2033
|
/**
|
|
2080
2034
|
* Generic pallet storage query
|
|
2081
2035
|
**/
|
|
2082
|
-
[storage: string]: GenericStorageQuery
|
|
2036
|
+
[storage: string]: GenericStorageQuery;
|
|
2083
2037
|
};
|
|
2084
2038
|
/**
|
|
2085
2039
|
* Pallet `Ethereum`'s storage queries
|
|
@@ -2092,7 +2046,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2092
2046
|
* @param {Callback<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined> =} callback
|
|
2093
2047
|
**/
|
|
2094
2048
|
pending: GenericStorageQuery<
|
|
2095
|
-
Rv,
|
|
2096
2049
|
(arg: number) => [EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined,
|
|
2097
2050
|
number
|
|
2098
2051
|
>;
|
|
@@ -2102,40 +2055,40 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2102
2055
|
*
|
|
2103
2056
|
* @param {Callback<number> =} callback
|
|
2104
2057
|
**/
|
|
2105
|
-
counterForPending: GenericStorageQuery<
|
|
2058
|
+
counterForPending: GenericStorageQuery<() => number>;
|
|
2106
2059
|
|
|
2107
2060
|
/**
|
|
2108
2061
|
* The current Ethereum block.
|
|
2109
2062
|
*
|
|
2110
2063
|
* @param {Callback<EthereumBlock | undefined> =} callback
|
|
2111
2064
|
**/
|
|
2112
|
-
currentBlock: GenericStorageQuery<
|
|
2065
|
+
currentBlock: GenericStorageQuery<() => EthereumBlock | undefined>;
|
|
2113
2066
|
|
|
2114
2067
|
/**
|
|
2115
2068
|
* The current Ethereum receipts.
|
|
2116
2069
|
*
|
|
2117
2070
|
* @param {Callback<Array<EthereumReceiptReceiptV3> | undefined> =} callback
|
|
2118
2071
|
**/
|
|
2119
|
-
currentReceipts: GenericStorageQuery<
|
|
2072
|
+
currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV3> | undefined>;
|
|
2120
2073
|
|
|
2121
2074
|
/**
|
|
2122
2075
|
* The current transaction statuses.
|
|
2123
2076
|
*
|
|
2124
2077
|
* @param {Callback<Array<FpRpcTransactionStatus> | undefined> =} callback
|
|
2125
2078
|
**/
|
|
2126
|
-
currentTransactionStatuses: GenericStorageQuery<
|
|
2079
|
+
currentTransactionStatuses: GenericStorageQuery<() => Array<FpRpcTransactionStatus> | undefined>;
|
|
2127
2080
|
|
|
2128
2081
|
/**
|
|
2129
2082
|
*
|
|
2130
2083
|
* @param {U256} arg
|
|
2131
2084
|
* @param {Callback<H256> =} callback
|
|
2132
2085
|
**/
|
|
2133
|
-
blockHash: GenericStorageQuery<
|
|
2086
|
+
blockHash: GenericStorageQuery<(arg: U256) => H256, U256>;
|
|
2134
2087
|
|
|
2135
2088
|
/**
|
|
2136
2089
|
* Generic pallet storage query
|
|
2137
2090
|
**/
|
|
2138
|
-
[storage: string]: GenericStorageQuery
|
|
2091
|
+
[storage: string]: GenericStorageQuery;
|
|
2139
2092
|
};
|
|
2140
2093
|
/**
|
|
2141
2094
|
* Pallet `EVMAccounts`'s storage queries
|
|
@@ -2147,7 +2100,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2147
2100
|
* @param {H160} arg
|
|
2148
2101
|
* @param {Callback<FixedBytes<12> | undefined> =} callback
|
|
2149
2102
|
**/
|
|
2150
|
-
accountExtension: GenericStorageQuery<
|
|
2103
|
+
accountExtension: GenericStorageQuery<(arg: H160) => FixedBytes<12> | undefined, H160>;
|
|
2151
2104
|
|
|
2152
2105
|
/**
|
|
2153
2106
|
* Whitelisted addresses that are allowed to deploy smart contracts.
|
|
@@ -2155,7 +2108,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2155
2108
|
* @param {H160} arg
|
|
2156
2109
|
* @param {Callback<[] | undefined> =} callback
|
|
2157
2110
|
**/
|
|
2158
|
-
contractDeployer: GenericStorageQuery<
|
|
2111
|
+
contractDeployer: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
|
|
2159
2112
|
|
|
2160
2113
|
/**
|
|
2161
2114
|
* Whitelisted contracts that are allowed to manage balances and tokens.
|
|
@@ -2163,12 +2116,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2163
2116
|
* @param {H160} arg
|
|
2164
2117
|
* @param {Callback<[] | undefined> =} callback
|
|
2165
2118
|
**/
|
|
2166
|
-
approvedContract: GenericStorageQuery<
|
|
2119
|
+
approvedContract: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
|
|
2167
2120
|
|
|
2168
2121
|
/**
|
|
2169
2122
|
* Generic pallet storage query
|
|
2170
2123
|
**/
|
|
2171
|
-
[storage: string]: GenericStorageQuery
|
|
2124
|
+
[storage: string]: GenericStorageQuery;
|
|
2172
2125
|
};
|
|
2173
2126
|
/**
|
|
2174
2127
|
* Pallet `DynamicEvmFee`'s storage queries
|
|
@@ -2179,12 +2132,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2179
2132
|
*
|
|
2180
2133
|
* @param {Callback<U256> =} callback
|
|
2181
2134
|
**/
|
|
2182
|
-
baseFeePerGas: GenericStorageQuery<
|
|
2135
|
+
baseFeePerGas: GenericStorageQuery<() => U256>;
|
|
2183
2136
|
|
|
2184
2137
|
/**
|
|
2185
2138
|
* Generic pallet storage query
|
|
2186
2139
|
**/
|
|
2187
|
-
[storage: string]: GenericStorageQuery
|
|
2140
|
+
[storage: string]: GenericStorageQuery;
|
|
2188
2141
|
};
|
|
2189
2142
|
/**
|
|
2190
2143
|
* Pallet `XYKWarehouseLM`'s storage queries
|
|
@@ -2195,20 +2148,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2195
2148
|
*
|
|
2196
2149
|
* @param {Callback<number> =} callback
|
|
2197
2150
|
**/
|
|
2198
|
-
farmSequencer: GenericStorageQuery<
|
|
2151
|
+
farmSequencer: GenericStorageQuery<() => number>;
|
|
2199
2152
|
|
|
2200
2153
|
/**
|
|
2201
2154
|
*
|
|
2202
2155
|
* @param {Callback<bigint> =} callback
|
|
2203
2156
|
**/
|
|
2204
|
-
depositSequencer: GenericStorageQuery<
|
|
2157
|
+
depositSequencer: GenericStorageQuery<() => bigint>;
|
|
2205
2158
|
|
|
2206
2159
|
/**
|
|
2207
2160
|
*
|
|
2208
2161
|
* @param {number} arg
|
|
2209
2162
|
* @param {Callback<PalletLiquidityMiningGlobalFarmData | undefined> =} callback
|
|
2210
2163
|
**/
|
|
2211
|
-
globalFarm: GenericStorageQuery<
|
|
2164
|
+
globalFarm: GenericStorageQuery<(arg: number) => PalletLiquidityMiningGlobalFarmData | undefined, number>;
|
|
2212
2165
|
|
|
2213
2166
|
/**
|
|
2214
2167
|
* Yield farm details.
|
|
@@ -2217,7 +2170,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2217
2170
|
* @param {Callback<PalletLiquidityMiningYieldFarmData | undefined> =} callback
|
|
2218
2171
|
**/
|
|
2219
2172
|
yieldFarm: GenericStorageQuery<
|
|
2220
|
-
Rv,
|
|
2221
2173
|
(arg: [AccountId32Like, number, number]) => PalletLiquidityMiningYieldFarmData | undefined,
|
|
2222
2174
|
[AccountId32, number, number]
|
|
2223
2175
|
>;
|
|
@@ -2228,7 +2180,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2228
2180
|
* @param {bigint} arg
|
|
2229
2181
|
* @param {Callback<PalletLiquidityMiningDepositData002 | undefined> =} callback
|
|
2230
2182
|
**/
|
|
2231
|
-
deposit: GenericStorageQuery<
|
|
2183
|
+
deposit: GenericStorageQuery<(arg: bigint) => PalletLiquidityMiningDepositData002 | undefined, bigint>;
|
|
2232
2184
|
|
|
2233
2185
|
/**
|
|
2234
2186
|
* Active(farms able to receive LP shares deposits) yield farms.
|
|
@@ -2236,16 +2188,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2236
2188
|
* @param {[AccountId32Like, number]} arg
|
|
2237
2189
|
* @param {Callback<number | undefined> =} callback
|
|
2238
2190
|
**/
|
|
2239
|
-
activeYieldFarm: GenericStorageQuery<
|
|
2240
|
-
Rv,
|
|
2241
|
-
(arg: [AccountId32Like, number]) => number | undefined,
|
|
2242
|
-
[AccountId32, number]
|
|
2243
|
-
>;
|
|
2191
|
+
activeYieldFarm: GenericStorageQuery<(arg: [AccountId32Like, number]) => number | undefined, [AccountId32, number]>;
|
|
2244
2192
|
|
|
2245
2193
|
/**
|
|
2246
2194
|
* Generic pallet storage query
|
|
2247
2195
|
**/
|
|
2248
|
-
[storage: string]: GenericStorageQuery
|
|
2196
|
+
[storage: string]: GenericStorageQuery;
|
|
2249
2197
|
};
|
|
2250
2198
|
/**
|
|
2251
2199
|
* Pallet `DCA`'s storage queries
|
|
@@ -2256,7 +2204,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2256
2204
|
*
|
|
2257
2205
|
* @param {Callback<number> =} callback
|
|
2258
2206
|
**/
|
|
2259
|
-
scheduleIdSequencer: GenericStorageQuery<
|
|
2207
|
+
scheduleIdSequencer: GenericStorageQuery<() => number>;
|
|
2260
2208
|
|
|
2261
2209
|
/**
|
|
2262
2210
|
* Storing schedule details
|
|
@@ -2264,7 +2212,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2264
2212
|
* @param {number} arg
|
|
2265
2213
|
* @param {Callback<PalletDcaSchedule | undefined> =} callback
|
|
2266
2214
|
**/
|
|
2267
|
-
schedules: GenericStorageQuery<
|
|
2215
|
+
schedules: GenericStorageQuery<(arg: number) => PalletDcaSchedule | undefined, number>;
|
|
2268
2216
|
|
|
2269
2217
|
/**
|
|
2270
2218
|
* Storing schedule ownership
|
|
@@ -2272,11 +2220,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2272
2220
|
* @param {[AccountId32Like, number]} arg
|
|
2273
2221
|
* @param {Callback<[] | undefined> =} callback
|
|
2274
2222
|
**/
|
|
2275
|
-
scheduleOwnership: GenericStorageQuery<
|
|
2276
|
-
Rv,
|
|
2277
|
-
(arg: [AccountId32Like, number]) => [] | undefined,
|
|
2278
|
-
[AccountId32, number]
|
|
2279
|
-
>;
|
|
2223
|
+
scheduleOwnership: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
|
|
2280
2224
|
|
|
2281
2225
|
/**
|
|
2282
2226
|
* Keep tracking the remaining amounts to spend for DCA schedules
|
|
@@ -2284,7 +2228,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2284
2228
|
* @param {number} arg
|
|
2285
2229
|
* @param {Callback<bigint | undefined> =} callback
|
|
2286
2230
|
**/
|
|
2287
|
-
remainingAmounts: GenericStorageQuery<
|
|
2231
|
+
remainingAmounts: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
2288
2232
|
|
|
2289
2233
|
/**
|
|
2290
2234
|
* Keep tracking the retry on error flag for DCA schedules
|
|
@@ -2292,7 +2236,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2292
2236
|
* @param {number} arg
|
|
2293
2237
|
* @param {Callback<number> =} callback
|
|
2294
2238
|
**/
|
|
2295
|
-
retriesOnError: GenericStorageQuery<
|
|
2239
|
+
retriesOnError: GenericStorageQuery<(arg: number) => number, number>;
|
|
2296
2240
|
|
|
2297
2241
|
/**
|
|
2298
2242
|
* Keep tracking the blocknumber when the schedule is planned to be executed
|
|
@@ -2300,7 +2244,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2300
2244
|
* @param {number} arg
|
|
2301
2245
|
* @param {Callback<number | undefined> =} callback
|
|
2302
2246
|
**/
|
|
2303
|
-
scheduleExecutionBlock: GenericStorageQuery<
|
|
2247
|
+
scheduleExecutionBlock: GenericStorageQuery<(arg: number) => number | undefined, number>;
|
|
2304
2248
|
|
|
2305
2249
|
/**
|
|
2306
2250
|
* Keep tracking of the schedule ids to be executed in the block
|
|
@@ -2308,12 +2252,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2308
2252
|
* @param {number} arg
|
|
2309
2253
|
* @param {Callback<Array<number>> =} callback
|
|
2310
2254
|
**/
|
|
2311
|
-
scheduleIdsPerBlock: GenericStorageQuery<
|
|
2255
|
+
scheduleIdsPerBlock: GenericStorageQuery<(arg: number) => Array<number>, number>;
|
|
2312
2256
|
|
|
2313
2257
|
/**
|
|
2314
2258
|
* Generic pallet storage query
|
|
2315
2259
|
**/
|
|
2316
|
-
[storage: string]: GenericStorageQuery
|
|
2260
|
+
[storage: string]: GenericStorageQuery;
|
|
2317
2261
|
};
|
|
2318
2262
|
/**
|
|
2319
2263
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -2323,7 +2267,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2323
2267
|
*
|
|
2324
2268
|
* @param {Callback<number | undefined> =} callback
|
|
2325
2269
|
**/
|
|
2326
|
-
incompleteSince: GenericStorageQuery<
|
|
2270
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
2327
2271
|
|
|
2328
2272
|
/**
|
|
2329
2273
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -2331,7 +2275,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2331
2275
|
* @param {number} arg
|
|
2332
2276
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
2333
2277
|
**/
|
|
2334
|
-
agenda: GenericStorageQuery<
|
|
2278
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
2335
2279
|
|
|
2336
2280
|
/**
|
|
2337
2281
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -2339,11 +2283,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2339
2283
|
* @param {[number, number]} arg
|
|
2340
2284
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
2341
2285
|
**/
|
|
2342
|
-
retries: GenericStorageQuery<
|
|
2343
|
-
Rv,
|
|
2344
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
2345
|
-
[number, number]
|
|
2346
|
-
>;
|
|
2286
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
2347
2287
|
|
|
2348
2288
|
/**
|
|
2349
2289
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -2354,12 +2294,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2354
2294
|
* @param {FixedBytes<32>} arg
|
|
2355
2295
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
2356
2296
|
**/
|
|
2357
|
-
lookup: GenericStorageQuery<
|
|
2297
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
2358
2298
|
|
|
2359
2299
|
/**
|
|
2360
2300
|
* Generic pallet storage query
|
|
2361
2301
|
**/
|
|
2362
|
-
[storage: string]: GenericStorageQuery
|
|
2302
|
+
[storage: string]: GenericStorageQuery;
|
|
2363
2303
|
};
|
|
2364
2304
|
/**
|
|
2365
2305
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -2375,7 +2315,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2375
2315
|
*
|
|
2376
2316
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
2377
2317
|
**/
|
|
2378
|
-
unincludedSegment: GenericStorageQuery<
|
|
2318
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
2379
2319
|
|
|
2380
2320
|
/**
|
|
2381
2321
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -2385,7 +2325,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2385
2325
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
2386
2326
|
**/
|
|
2387
2327
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
2388
|
-
Rv,
|
|
2389
2328
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
2390
2329
|
>;
|
|
2391
2330
|
|
|
@@ -2399,7 +2338,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2399
2338
|
*
|
|
2400
2339
|
* @param {Callback<Bytes> =} callback
|
|
2401
2340
|
**/
|
|
2402
|
-
pendingValidationCode: GenericStorageQuery<
|
|
2341
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
2403
2342
|
|
|
2404
2343
|
/**
|
|
2405
2344
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -2410,7 +2349,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2410
2349
|
*
|
|
2411
2350
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2412
2351
|
**/
|
|
2413
|
-
newValidationCode: GenericStorageQuery<
|
|
2352
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
2414
2353
|
|
|
2415
2354
|
/**
|
|
2416
2355
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -2419,14 +2358,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2419
2358
|
*
|
|
2420
2359
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
2421
2360
|
**/
|
|
2422
|
-
validationData: GenericStorageQuery<
|
|
2361
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
2423
2362
|
|
|
2424
2363
|
/**
|
|
2425
2364
|
* Were the validation data set to notify the relay chain?
|
|
2426
2365
|
*
|
|
2427
2366
|
* @param {Callback<boolean> =} callback
|
|
2428
2367
|
**/
|
|
2429
|
-
didSetValidationCode: GenericStorageQuery<
|
|
2368
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
2430
2369
|
|
|
2431
2370
|
/**
|
|
2432
2371
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -2435,7 +2374,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2435
2374
|
*
|
|
2436
2375
|
* @param {Callback<number> =} callback
|
|
2437
2376
|
**/
|
|
2438
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
2377
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
2439
2378
|
|
|
2440
2379
|
/**
|
|
2441
2380
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -2448,7 +2387,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2448
2387
|
*
|
|
2449
2388
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
2450
2389
|
**/
|
|
2451
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2390
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
2452
2391
|
|
|
2453
2392
|
/**
|
|
2454
2393
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -2459,7 +2398,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2459
2398
|
*
|
|
2460
2399
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
2461
2400
|
**/
|
|
2462
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
2401
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
2463
2402
|
|
|
2464
2403
|
/**
|
|
2465
2404
|
* The state proof for the last relay parent block.
|
|
@@ -2471,7 +2410,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2471
2410
|
*
|
|
2472
2411
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
2473
2412
|
**/
|
|
2474
|
-
relayStateProof: GenericStorageQuery<
|
|
2413
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
2475
2414
|
|
|
2476
2415
|
/**
|
|
2477
2416
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -2485,7 +2424,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2485
2424
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
2486
2425
|
**/
|
|
2487
2426
|
relevantMessagingState: GenericStorageQuery<
|
|
2488
|
-
Rv,
|
|
2489
2427
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
2490
2428
|
>;
|
|
2491
2429
|
|
|
@@ -2499,7 +2437,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2499
2437
|
*
|
|
2500
2438
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
2501
2439
|
**/
|
|
2502
|
-
hostConfiguration: GenericStorageQuery<
|
|
2440
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
2503
2441
|
|
|
2504
2442
|
/**
|
|
2505
2443
|
* The last downward message queue chain head we have observed.
|
|
@@ -2509,7 +2447,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2509
2447
|
*
|
|
2510
2448
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
2511
2449
|
**/
|
|
2512
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
2450
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
2513
2451
|
|
|
2514
2452
|
/**
|
|
2515
2453
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -2520,7 +2458,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2520
2458
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
2521
2459
|
**/
|
|
2522
2460
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
2523
|
-
Rv,
|
|
2524
2461
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
2525
2462
|
>;
|
|
2526
2463
|
|
|
@@ -2531,7 +2468,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2531
2468
|
*
|
|
2532
2469
|
* @param {Callback<number> =} callback
|
|
2533
2470
|
**/
|
|
2534
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
2471
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
2535
2472
|
|
|
2536
2473
|
/**
|
|
2537
2474
|
* HRMP watermark that was set in a block.
|
|
@@ -2540,7 +2477,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2540
2477
|
*
|
|
2541
2478
|
* @param {Callback<number> =} callback
|
|
2542
2479
|
**/
|
|
2543
|
-
hrmpWatermark: GenericStorageQuery<
|
|
2480
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
2544
2481
|
|
|
2545
2482
|
/**
|
|
2546
2483
|
* HRMP messages that were sent in a block.
|
|
@@ -2549,7 +2486,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2549
2486
|
*
|
|
2550
2487
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
2551
2488
|
**/
|
|
2552
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
2489
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
2553
2490
|
|
|
2554
2491
|
/**
|
|
2555
2492
|
* Upward messages that were sent in a block.
|
|
@@ -2558,21 +2495,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2558
2495
|
*
|
|
2559
2496
|
* @param {Callback<Array<Bytes>> =} callback
|
|
2560
2497
|
**/
|
|
2561
|
-
upwardMessages: GenericStorageQuery<
|
|
2498
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
2562
2499
|
|
|
2563
2500
|
/**
|
|
2564
2501
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
2565
2502
|
*
|
|
2566
2503
|
* @param {Callback<Array<Bytes>> =} callback
|
|
2567
2504
|
**/
|
|
2568
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
2505
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
2569
2506
|
|
|
2570
2507
|
/**
|
|
2571
2508
|
* The factor to multiply the base delivery fee by for UMP.
|
|
2572
2509
|
*
|
|
2573
2510
|
* @param {Callback<FixedU128> =} callback
|
|
2574
2511
|
**/
|
|
2575
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
2512
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
2576
2513
|
|
|
2577
2514
|
/**
|
|
2578
2515
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -2580,7 +2517,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2580
2517
|
*
|
|
2581
2518
|
* @param {Callback<number> =} callback
|
|
2582
2519
|
**/
|
|
2583
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
2520
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
2584
2521
|
|
|
2585
2522
|
/**
|
|
2586
2523
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -2588,7 +2525,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2588
2525
|
*
|
|
2589
2526
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
2590
2527
|
**/
|
|
2591
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
2528
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
2592
2529
|
|
|
2593
2530
|
/**
|
|
2594
2531
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -2596,7 +2533,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2596
2533
|
*
|
|
2597
2534
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
2598
2535
|
**/
|
|
2599
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
2536
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
2600
2537
|
|
|
2601
2538
|
/**
|
|
2602
2539
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -2605,12 +2542,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2605
2542
|
*
|
|
2606
2543
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2607
2544
|
**/
|
|
2608
|
-
customValidationHeadData: GenericStorageQuery<
|
|
2545
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
2609
2546
|
|
|
2610
2547
|
/**
|
|
2611
2548
|
* Generic pallet storage query
|
|
2612
2549
|
**/
|
|
2613
|
-
[storage: string]: GenericStorageQuery
|
|
2550
|
+
[storage: string]: GenericStorageQuery;
|
|
2614
2551
|
};
|
|
2615
2552
|
/**
|
|
2616
2553
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -2620,12 +2557,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2620
2557
|
*
|
|
2621
2558
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
2622
2559
|
**/
|
|
2623
|
-
parachainId: GenericStorageQuery<
|
|
2560
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
2624
2561
|
|
|
2625
2562
|
/**
|
|
2626
2563
|
* Generic pallet storage query
|
|
2627
2564
|
**/
|
|
2628
|
-
[storage: string]: GenericStorageQuery
|
|
2565
|
+
[storage: string]: GenericStorageQuery;
|
|
2629
2566
|
};
|
|
2630
2567
|
/**
|
|
2631
2568
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -2636,7 +2573,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2636
2573
|
*
|
|
2637
2574
|
* @param {Callback<bigint> =} callback
|
|
2638
2575
|
**/
|
|
2639
|
-
queryCounter: GenericStorageQuery<
|
|
2576
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
2640
2577
|
|
|
2641
2578
|
/**
|
|
2642
2579
|
* The ongoing queries.
|
|
@@ -2644,7 +2581,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2644
2581
|
* @param {bigint} arg
|
|
2645
2582
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
2646
2583
|
**/
|
|
2647
|
-
queries: GenericStorageQuery<
|
|
2584
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
2648
2585
|
|
|
2649
2586
|
/**
|
|
2650
2587
|
* The existing asset traps.
|
|
@@ -2655,7 +2592,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2655
2592
|
* @param {H256} arg
|
|
2656
2593
|
* @param {Callback<number> =} callback
|
|
2657
2594
|
**/
|
|
2658
|
-
assetTraps: GenericStorageQuery<
|
|
2595
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
2659
2596
|
|
|
2660
2597
|
/**
|
|
2661
2598
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -2663,7 +2600,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2663
2600
|
*
|
|
2664
2601
|
* @param {Callback<number | undefined> =} callback
|
|
2665
2602
|
**/
|
|
2666
|
-
safeXcmVersion: GenericStorageQuery<
|
|
2603
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
2667
2604
|
|
|
2668
2605
|
/**
|
|
2669
2606
|
* The Latest versions that we know various locations support.
|
|
@@ -2672,7 +2609,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2672
2609
|
* @param {Callback<number | undefined> =} callback
|
|
2673
2610
|
**/
|
|
2674
2611
|
supportedVersion: GenericStorageQuery<
|
|
2675
|
-
Rv,
|
|
2676
2612
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
2677
2613
|
[number, XcmVersionedLocation]
|
|
2678
2614
|
>;
|
|
@@ -2684,7 +2620,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2684
2620
|
* @param {Callback<bigint | undefined> =} callback
|
|
2685
2621
|
**/
|
|
2686
2622
|
versionNotifiers: GenericStorageQuery<
|
|
2687
|
-
Rv,
|
|
2688
2623
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
2689
2624
|
[number, XcmVersionedLocation]
|
|
2690
2625
|
>;
|
|
@@ -2697,7 +2632,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2697
2632
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
2698
2633
|
**/
|
|
2699
2634
|
versionNotifyTargets: GenericStorageQuery<
|
|
2700
|
-
Rv,
|
|
2701
2635
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
2702
2636
|
[number, XcmVersionedLocation]
|
|
2703
2637
|
>;
|
|
@@ -2709,14 +2643,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2709
2643
|
*
|
|
2710
2644
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
2711
2645
|
**/
|
|
2712
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
2646
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
2713
2647
|
|
|
2714
2648
|
/**
|
|
2715
2649
|
* The current migration's stage, if any.
|
|
2716
2650
|
*
|
|
2717
2651
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
2718
2652
|
**/
|
|
2719
|
-
currentMigration: GenericStorageQuery<
|
|
2653
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
2720
2654
|
|
|
2721
2655
|
/**
|
|
2722
2656
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -2725,7 +2659,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2725
2659
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
2726
2660
|
**/
|
|
2727
2661
|
remoteLockedFungibles: GenericStorageQuery<
|
|
2728
|
-
Rv,
|
|
2729
2662
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
2730
2663
|
[number, AccountId32, XcmVersionedAssetId]
|
|
2731
2664
|
>;
|
|
@@ -2737,7 +2670,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2737
2670
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
2738
2671
|
**/
|
|
2739
2672
|
lockedFungibles: GenericStorageQuery<
|
|
2740
|
-
Rv,
|
|
2741
2673
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
2742
2674
|
AccountId32
|
|
2743
2675
|
>;
|
|
@@ -2747,7 +2679,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2747
2679
|
*
|
|
2748
2680
|
* @param {Callback<boolean> =} callback
|
|
2749
2681
|
**/
|
|
2750
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
2682
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
2751
2683
|
|
|
2752
2684
|
/**
|
|
2753
2685
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -2760,7 +2692,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2760
2692
|
*
|
|
2761
2693
|
* @param {Callback<boolean> =} callback
|
|
2762
2694
|
**/
|
|
2763
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
2695
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
2764
2696
|
|
|
2765
2697
|
/**
|
|
2766
2698
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -2772,12 +2704,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2772
2704
|
*
|
|
2773
2705
|
* @param {Callback<StagingXcmV4Xcm | undefined> =} callback
|
|
2774
2706
|
**/
|
|
2775
|
-
recordedXcm: GenericStorageQuery<
|
|
2707
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV4Xcm | undefined>;
|
|
2776
2708
|
|
|
2777
2709
|
/**
|
|
2778
2710
|
* Generic pallet storage query
|
|
2779
2711
|
**/
|
|
2780
|
-
[storage: string]: GenericStorageQuery
|
|
2712
|
+
[storage: string]: GenericStorageQuery;
|
|
2781
2713
|
};
|
|
2782
2714
|
/**
|
|
2783
2715
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -2795,7 +2727,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2795
2727
|
*
|
|
2796
2728
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
2797
2729
|
**/
|
|
2798
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
2730
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
2799
2731
|
|
|
2800
2732
|
/**
|
|
2801
2733
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -2807,7 +2739,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2807
2739
|
*
|
|
2808
2740
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
2809
2741
|
**/
|
|
2810
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
2742
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
2811
2743
|
|
|
2812
2744
|
/**
|
|
2813
2745
|
* The messages outbound in a given XCMP channel.
|
|
@@ -2816,7 +2748,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2816
2748
|
* @param {Callback<Bytes> =} callback
|
|
2817
2749
|
**/
|
|
2818
2750
|
outboundXcmpMessages: GenericStorageQuery<
|
|
2819
|
-
Rv,
|
|
2820
2751
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
2821
2752
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
2822
2753
|
>;
|
|
@@ -2828,7 +2759,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2828
2759
|
* @param {Callback<Bytes> =} callback
|
|
2829
2760
|
**/
|
|
2830
2761
|
signalMessages: GenericStorageQuery<
|
|
2831
|
-
Rv,
|
|
2832
2762
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
2833
2763
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2834
2764
|
>;
|
|
@@ -2838,14 +2768,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2838
2768
|
*
|
|
2839
2769
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
2840
2770
|
**/
|
|
2841
|
-
queueConfig: GenericStorageQuery<
|
|
2771
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
2842
2772
|
|
|
2843
2773
|
/**
|
|
2844
2774
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
2845
2775
|
*
|
|
2846
2776
|
* @param {Callback<boolean> =} callback
|
|
2847
2777
|
**/
|
|
2848
|
-
queueSuspended: GenericStorageQuery<
|
|
2778
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
2849
2779
|
|
|
2850
2780
|
/**
|
|
2851
2781
|
* The factor to multiply the base delivery fee by.
|
|
@@ -2854,7 +2784,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2854
2784
|
* @param {Callback<FixedU128> =} callback
|
|
2855
2785
|
**/
|
|
2856
2786
|
deliveryFeeFactor: GenericStorageQuery<
|
|
2857
|
-
Rv,
|
|
2858
2787
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
2859
2788
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2860
2789
|
>;
|
|
@@ -2862,7 +2791,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2862
2791
|
/**
|
|
2863
2792
|
* Generic pallet storage query
|
|
2864
2793
|
**/
|
|
2865
|
-
[storage: string]: GenericStorageQuery
|
|
2794
|
+
[storage: string]: GenericStorageQuery;
|
|
2866
2795
|
};
|
|
2867
2796
|
/**
|
|
2868
2797
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -2875,7 +2804,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2875
2804
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
2876
2805
|
**/
|
|
2877
2806
|
bookStateFor: GenericStorageQuery<
|
|
2878
|
-
Rv,
|
|
2879
2807
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
2880
2808
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
2881
2809
|
>;
|
|
@@ -2885,7 +2813,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2885
2813
|
*
|
|
2886
2814
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
2887
2815
|
**/
|
|
2888
|
-
serviceHead: GenericStorageQuery<
|
|
2816
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
2889
2817
|
|
|
2890
2818
|
/**
|
|
2891
2819
|
* The map of page indices to pages.
|
|
@@ -2894,7 +2822,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2894
2822
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
2895
2823
|
**/
|
|
2896
2824
|
pages: GenericStorageQuery<
|
|
2897
|
-
Rv,
|
|
2898
2825
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
2899
2826
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
2900
2827
|
>;
|
|
@@ -2902,7 +2829,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2902
2829
|
/**
|
|
2903
2830
|
* Generic pallet storage query
|
|
2904
2831
|
**/
|
|
2905
|
-
[storage: string]: GenericStorageQuery
|
|
2832
|
+
[storage: string]: GenericStorageQuery;
|
|
2906
2833
|
};
|
|
2907
2834
|
/**
|
|
2908
2835
|
* Pallet `UnknownTokens`'s storage queries
|
|
@@ -2918,7 +2845,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2918
2845
|
* @param {Callback<bigint> =} callback
|
|
2919
2846
|
**/
|
|
2920
2847
|
concreteFungibleBalances: GenericStorageQuery<
|
|
2921
|
-
Rv,
|
|
2922
2848
|
(arg: [StagingXcmV4Location, StagingXcmV4Location]) => bigint,
|
|
2923
2849
|
[StagingXcmV4Location, StagingXcmV4Location]
|
|
2924
2850
|
>;
|
|
@@ -2933,7 +2859,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2933
2859
|
* @param {Callback<bigint> =} callback
|
|
2934
2860
|
**/
|
|
2935
2861
|
abstractFungibleBalances: GenericStorageQuery<
|
|
2936
|
-
Rv,
|
|
2937
2862
|
(arg: [StagingXcmV4Location, BytesLike]) => bigint,
|
|
2938
2863
|
[StagingXcmV4Location, Bytes]
|
|
2939
2864
|
>;
|
|
@@ -2941,7 +2866,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2941
2866
|
/**
|
|
2942
2867
|
* Generic pallet storage query
|
|
2943
2868
|
**/
|
|
2944
|
-
[storage: string]: GenericStorageQuery
|
|
2869
|
+
[storage: string]: GenericStorageQuery;
|
|
2945
2870
|
};
|
|
2946
2871
|
/**
|
|
2947
2872
|
* Pallet `Authorship`'s storage queries
|
|
@@ -2952,12 +2877,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2952
2877
|
*
|
|
2953
2878
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2954
2879
|
**/
|
|
2955
|
-
author: GenericStorageQuery<
|
|
2880
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2956
2881
|
|
|
2957
2882
|
/**
|
|
2958
2883
|
* Generic pallet storage query
|
|
2959
2884
|
**/
|
|
2960
|
-
[storage: string]: GenericStorageQuery
|
|
2885
|
+
[storage: string]: GenericStorageQuery;
|
|
2961
2886
|
};
|
|
2962
2887
|
/**
|
|
2963
2888
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -2968,7 +2893,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2968
2893
|
*
|
|
2969
2894
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2970
2895
|
**/
|
|
2971
|
-
invulnerables: GenericStorageQuery<
|
|
2896
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2972
2897
|
|
|
2973
2898
|
/**
|
|
2974
2899
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -2979,7 +2904,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2979
2904
|
*
|
|
2980
2905
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
2981
2906
|
**/
|
|
2982
|
-
candidateList: GenericStorageQuery<
|
|
2907
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
2983
2908
|
|
|
2984
2909
|
/**
|
|
2985
2910
|
* Last block authored by collator.
|
|
@@ -2987,7 +2912,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2987
2912
|
* @param {AccountId32Like} arg
|
|
2988
2913
|
* @param {Callback<number> =} callback
|
|
2989
2914
|
**/
|
|
2990
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
2915
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
2991
2916
|
|
|
2992
2917
|
/**
|
|
2993
2918
|
* Desired number of candidates.
|
|
@@ -2996,7 +2921,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2996
2921
|
*
|
|
2997
2922
|
* @param {Callback<number> =} callback
|
|
2998
2923
|
**/
|
|
2999
|
-
desiredCandidates: GenericStorageQuery<
|
|
2924
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
3000
2925
|
|
|
3001
2926
|
/**
|
|
3002
2927
|
* Fixed amount to deposit to become a collator.
|
|
@@ -3005,12 +2930,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3005
2930
|
*
|
|
3006
2931
|
* @param {Callback<bigint> =} callback
|
|
3007
2932
|
**/
|
|
3008
|
-
candidacyBond: GenericStorageQuery<
|
|
2933
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
3009
2934
|
|
|
3010
2935
|
/**
|
|
3011
2936
|
* Generic pallet storage query
|
|
3012
2937
|
**/
|
|
3013
|
-
[storage: string]: GenericStorageQuery
|
|
2938
|
+
[storage: string]: GenericStorageQuery;
|
|
3014
2939
|
};
|
|
3015
2940
|
/**
|
|
3016
2941
|
* Pallet `Session`'s storage queries
|
|
@@ -3021,14 +2946,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3021
2946
|
*
|
|
3022
2947
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
3023
2948
|
**/
|
|
3024
|
-
validators: GenericStorageQuery<
|
|
2949
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3025
2950
|
|
|
3026
2951
|
/**
|
|
3027
2952
|
* Current index of the session.
|
|
3028
2953
|
*
|
|
3029
2954
|
* @param {Callback<number> =} callback
|
|
3030
2955
|
**/
|
|
3031
|
-
currentIndex: GenericStorageQuery<
|
|
2956
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
3032
2957
|
|
|
3033
2958
|
/**
|
|
3034
2959
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -3036,7 +2961,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3036
2961
|
*
|
|
3037
2962
|
* @param {Callback<boolean> =} callback
|
|
3038
2963
|
**/
|
|
3039
|
-
queuedChanged: GenericStorageQuery<
|
|
2964
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
3040
2965
|
|
|
3041
2966
|
/**
|
|
3042
2967
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -3044,7 +2969,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3044
2969
|
*
|
|
3045
2970
|
* @param {Callback<Array<[AccountId32, HydradxRuntimeOpaqueSessionKeys]>> =} callback
|
|
3046
2971
|
**/
|
|
3047
|
-
queuedKeys: GenericStorageQuery<
|
|
2972
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, HydradxRuntimeOpaqueSessionKeys]>>;
|
|
3048
2973
|
|
|
3049
2974
|
/**
|
|
3050
2975
|
* Indices of disabled validators.
|
|
@@ -3055,7 +2980,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3055
2980
|
*
|
|
3056
2981
|
* @param {Callback<Array<number>> =} callback
|
|
3057
2982
|
**/
|
|
3058
|
-
disabledValidators: GenericStorageQuery<
|
|
2983
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
3059
2984
|
|
|
3060
2985
|
/**
|
|
3061
2986
|
* The next session keys for a validator.
|
|
@@ -3063,11 +2988,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3063
2988
|
* @param {AccountId32Like} arg
|
|
3064
2989
|
* @param {Callback<HydradxRuntimeOpaqueSessionKeys | undefined> =} callback
|
|
3065
2990
|
**/
|
|
3066
|
-
nextKeys: GenericStorageQuery<
|
|
3067
|
-
Rv,
|
|
3068
|
-
(arg: AccountId32Like) => HydradxRuntimeOpaqueSessionKeys | undefined,
|
|
3069
|
-
AccountId32
|
|
3070
|
-
>;
|
|
2991
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => HydradxRuntimeOpaqueSessionKeys | undefined, AccountId32>;
|
|
3071
2992
|
|
|
3072
2993
|
/**
|
|
3073
2994
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -3076,7 +2997,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3076
2997
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3077
2998
|
**/
|
|
3078
2999
|
keyOwner: GenericStorageQuery<
|
|
3079
|
-
Rv,
|
|
3080
3000
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
3081
3001
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
3082
3002
|
>;
|
|
@@ -3084,7 +3004,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3084
3004
|
/**
|
|
3085
3005
|
* Generic pallet storage query
|
|
3086
3006
|
**/
|
|
3087
|
-
[storage: string]: GenericStorageQuery
|
|
3007
|
+
[storage: string]: GenericStorageQuery;
|
|
3088
3008
|
};
|
|
3089
3009
|
/**
|
|
3090
3010
|
* Pallet `Aura`'s storage queries
|
|
@@ -3095,7 +3015,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3095
3015
|
*
|
|
3096
3016
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
3097
3017
|
**/
|
|
3098
|
-
authorities: GenericStorageQuery<
|
|
3018
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
3099
3019
|
|
|
3100
3020
|
/**
|
|
3101
3021
|
* The current slot of this block.
|
|
@@ -3104,12 +3024,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3104
3024
|
*
|
|
3105
3025
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
3106
3026
|
**/
|
|
3107
|
-
currentSlot: GenericStorageQuery<
|
|
3027
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
3108
3028
|
|
|
3109
3029
|
/**
|
|
3110
3030
|
* Generic pallet storage query
|
|
3111
3031
|
**/
|
|
3112
|
-
[storage: string]: GenericStorageQuery
|
|
3032
|
+
[storage: string]: GenericStorageQuery;
|
|
3113
3033
|
};
|
|
3114
3034
|
/**
|
|
3115
3035
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -3124,7 +3044,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3124
3044
|
*
|
|
3125
3045
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
3126
3046
|
**/
|
|
3127
|
-
authorities: GenericStorageQuery<
|
|
3047
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
3128
3048
|
|
|
3129
3049
|
/**
|
|
3130
3050
|
* Current slot paired with a number of authored blocks.
|
|
@@ -3133,12 +3053,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3133
3053
|
*
|
|
3134
3054
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
3135
3055
|
**/
|
|
3136
|
-
slotInfo: GenericStorageQuery<
|
|
3056
|
+
slotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
3137
3057
|
|
|
3138
3058
|
/**
|
|
3139
3059
|
* Generic pallet storage query
|
|
3140
3060
|
**/
|
|
3141
|
-
[storage: string]: GenericStorageQuery
|
|
3061
|
+
[storage: string]: GenericStorageQuery;
|
|
3142
3062
|
};
|
|
3143
3063
|
/**
|
|
3144
3064
|
* Pallet `Ismp`'s storage queries
|
|
@@ -3152,7 +3072,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3152
3072
|
* @param {Callback<IsmpConsensusStateCommitment | undefined> =} callback
|
|
3153
3073
|
**/
|
|
3154
3074
|
stateCommitments: GenericStorageQuery<
|
|
3155
|
-
Rv,
|
|
3156
3075
|
(arg: IsmpConsensusStateMachineHeight) => IsmpConsensusStateCommitment | undefined,
|
|
3157
3076
|
IsmpConsensusStateMachineHeight
|
|
3158
3077
|
>;
|
|
@@ -3163,7 +3082,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3163
3082
|
* @param {FixedBytes<4>} arg
|
|
3164
3083
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3165
3084
|
**/
|
|
3166
|
-
consensusStates: GenericStorageQuery<
|
|
3085
|
+
consensusStates: GenericStorageQuery<(arg: FixedBytes<4>) => Bytes | undefined, FixedBytes<4>>;
|
|
3167
3086
|
|
|
3168
3087
|
/**
|
|
3169
3088
|
* A mapping of consensus state identifier to it's associated consensus client identifier
|
|
@@ -3171,7 +3090,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3171
3090
|
* @param {FixedBytes<4>} arg
|
|
3172
3091
|
* @param {Callback<FixedBytes<4> | undefined> =} callback
|
|
3173
3092
|
**/
|
|
3174
|
-
consensusStateClient: GenericStorageQuery<
|
|
3093
|
+
consensusStateClient: GenericStorageQuery<(arg: FixedBytes<4>) => FixedBytes<4> | undefined, FixedBytes<4>>;
|
|
3175
3094
|
|
|
3176
3095
|
/**
|
|
3177
3096
|
* A mapping of consensus state identifiers to their unbonding periods
|
|
@@ -3179,7 +3098,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3179
3098
|
* @param {FixedBytes<4>} arg
|
|
3180
3099
|
* @param {Callback<bigint | undefined> =} callback
|
|
3181
3100
|
**/
|
|
3182
|
-
unbondingPeriod: GenericStorageQuery<
|
|
3101
|
+
unbondingPeriod: GenericStorageQuery<(arg: FixedBytes<4>) => bigint | undefined, FixedBytes<4>>;
|
|
3183
3102
|
|
|
3184
3103
|
/**
|
|
3185
3104
|
* A mapping of state machine Ids to their challenge periods
|
|
@@ -3188,7 +3107,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3188
3107
|
* @param {Callback<bigint | undefined> =} callback
|
|
3189
3108
|
**/
|
|
3190
3109
|
challengePeriod: GenericStorageQuery<
|
|
3191
|
-
Rv,
|
|
3192
3110
|
(arg: IsmpConsensusStateMachineId) => bigint | undefined,
|
|
3193
3111
|
IsmpConsensusStateMachineId
|
|
3194
3112
|
>;
|
|
@@ -3200,7 +3118,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3200
3118
|
* @param {FixedBytes<4>} arg
|
|
3201
3119
|
* @param {Callback<boolean> =} callback
|
|
3202
3120
|
**/
|
|
3203
|
-
frozenConsensusClients: GenericStorageQuery<
|
|
3121
|
+
frozenConsensusClients: GenericStorageQuery<(arg: FixedBytes<4>) => boolean, FixedBytes<4>>;
|
|
3204
3122
|
|
|
3205
3123
|
/**
|
|
3206
3124
|
* The latest verified height for a state machine
|
|
@@ -3209,7 +3127,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3209
3127
|
* @param {Callback<bigint | undefined> =} callback
|
|
3210
3128
|
**/
|
|
3211
3129
|
latestStateMachineHeight: GenericStorageQuery<
|
|
3212
|
-
Rv,
|
|
3213
3130
|
(arg: IsmpConsensusStateMachineId) => bigint | undefined,
|
|
3214
3131
|
IsmpConsensusStateMachineId
|
|
3215
3132
|
>;
|
|
@@ -3221,7 +3138,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3221
3138
|
* @param {FixedBytes<4>} arg
|
|
3222
3139
|
* @param {Callback<bigint | undefined> =} callback
|
|
3223
3140
|
**/
|
|
3224
|
-
consensusClientUpdateTime: GenericStorageQuery<
|
|
3141
|
+
consensusClientUpdateTime: GenericStorageQuery<(arg: FixedBytes<4>) => bigint | undefined, FixedBytes<4>>;
|
|
3225
3142
|
|
|
3226
3143
|
/**
|
|
3227
3144
|
* Holds the timestamp at which a state machine height was updated.
|
|
@@ -3231,7 +3148,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3231
3148
|
* @param {Callback<bigint | undefined> =} callback
|
|
3232
3149
|
**/
|
|
3233
3150
|
stateMachineUpdateTime: GenericStorageQuery<
|
|
3234
|
-
Rv,
|
|
3235
3151
|
(arg: IsmpConsensusStateMachineHeight) => bigint | undefined,
|
|
3236
3152
|
IsmpConsensusStateMachineHeight
|
|
3237
3153
|
>;
|
|
@@ -3243,26 +3159,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3243
3159
|
* @param {H256} arg
|
|
3244
3160
|
* @param {Callback<boolean> =} callback
|
|
3245
3161
|
**/
|
|
3246
|
-
responded: GenericStorageQuery<
|
|
3162
|
+
responded: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
3247
3163
|
|
|
3248
3164
|
/**
|
|
3249
3165
|
* Latest nonce for messages sent from this chain
|
|
3250
3166
|
*
|
|
3251
3167
|
* @param {Callback<bigint> =} callback
|
|
3252
3168
|
**/
|
|
3253
|
-
nonce: GenericStorageQuery<
|
|
3169
|
+
nonce: GenericStorageQuery<() => bigint>;
|
|
3254
3170
|
|
|
3255
3171
|
/**
|
|
3256
3172
|
* The child trie root of messages
|
|
3257
3173
|
*
|
|
3258
3174
|
* @param {Callback<H256> =} callback
|
|
3259
3175
|
**/
|
|
3260
|
-
childTrieRoot: GenericStorageQuery<
|
|
3176
|
+
childTrieRoot: GenericStorageQuery<() => H256>;
|
|
3261
3177
|
|
|
3262
3178
|
/**
|
|
3263
3179
|
* Generic pallet storage query
|
|
3264
3180
|
**/
|
|
3265
|
-
[storage: string]: GenericStorageQuery
|
|
3181
|
+
[storage: string]: GenericStorageQuery;
|
|
3266
3182
|
};
|
|
3267
3183
|
/**
|
|
3268
3184
|
* Pallet `IsmpParachain`'s storage queries
|
|
@@ -3276,14 +3192,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3276
3192
|
* @param {number} arg
|
|
3277
3193
|
* @param {Callback<H256 | undefined> =} callback
|
|
3278
3194
|
**/
|
|
3279
|
-
relayChainStateCommitments: GenericStorageQuery<
|
|
3195
|
+
relayChainStateCommitments: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3280
3196
|
|
|
3281
3197
|
/**
|
|
3282
3198
|
* Tracks whether we've already seen the `update_parachain_consensus` inherent
|
|
3283
3199
|
*
|
|
3284
3200
|
* @param {Callback<boolean | undefined> =} callback
|
|
3285
3201
|
**/
|
|
3286
|
-
consensusUpdated: GenericStorageQuery<
|
|
3202
|
+
consensusUpdated: GenericStorageQuery<() => boolean | undefined>;
|
|
3287
3203
|
|
|
3288
3204
|
/**
|
|
3289
3205
|
* List of parachains that this state machine is interested in.
|
|
@@ -3291,12 +3207,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3291
3207
|
* @param {number} arg
|
|
3292
3208
|
* @param {Callback<bigint | undefined> =} callback
|
|
3293
3209
|
**/
|
|
3294
|
-
parachains: GenericStorageQuery<
|
|
3210
|
+
parachains: GenericStorageQuery<(arg: number) => bigint | undefined, number>;
|
|
3295
3211
|
|
|
3296
3212
|
/**
|
|
3297
3213
|
* Generic pallet storage query
|
|
3298
3214
|
**/
|
|
3299
|
-
[storage: string]: GenericStorageQuery
|
|
3215
|
+
[storage: string]: GenericStorageQuery;
|
|
3300
3216
|
};
|
|
3301
3217
|
/**
|
|
3302
3218
|
* Pallet `Hyperbridge`'s storage queries
|
|
@@ -3307,12 +3223,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3307
3223
|
*
|
|
3308
3224
|
* @param {Callback<PalletHyperbridgeVersionedHostParams> =} callback
|
|
3309
3225
|
**/
|
|
3310
|
-
hostParams: GenericStorageQuery<
|
|
3226
|
+
hostParams: GenericStorageQuery<() => PalletHyperbridgeVersionedHostParams>;
|
|
3311
3227
|
|
|
3312
3228
|
/**
|
|
3313
3229
|
* Generic pallet storage query
|
|
3314
3230
|
**/
|
|
3315
|
-
[storage: string]: GenericStorageQuery
|
|
3231
|
+
[storage: string]: GenericStorageQuery;
|
|
3316
3232
|
};
|
|
3317
3233
|
/**
|
|
3318
3234
|
* Pallet `TokenGateway`'s storage queries
|
|
@@ -3325,7 +3241,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3325
3241
|
* @param {number} arg
|
|
3326
3242
|
* @param {Callback<H256 | undefined> =} callback
|
|
3327
3243
|
**/
|
|
3328
|
-
supportedAssets: GenericStorageQuery<
|
|
3244
|
+
supportedAssets: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
3329
3245
|
|
|
3330
3246
|
/**
|
|
3331
3247
|
* Assets that originate from this chain
|
|
@@ -3333,7 +3249,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3333
3249
|
* @param {number} arg
|
|
3334
3250
|
* @param {Callback<boolean> =} callback
|
|
3335
3251
|
**/
|
|
3336
|
-
nativeAssets: GenericStorageQuery<
|
|
3252
|
+
nativeAssets: GenericStorageQuery<(arg: number) => boolean, number>;
|
|
3337
3253
|
|
|
3338
3254
|
/**
|
|
3339
3255
|
* Assets supported by this instance of token gateway
|
|
@@ -3342,7 +3258,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3342
3258
|
* @param {H256} arg
|
|
3343
3259
|
* @param {Callback<number | undefined> =} callback
|
|
3344
3260
|
**/
|
|
3345
|
-
localAssets: GenericStorageQuery<
|
|
3261
|
+
localAssets: GenericStorageQuery<(arg: H256) => number | undefined, H256>;
|
|
3346
3262
|
|
|
3347
3263
|
/**
|
|
3348
3264
|
* The decimals used by the EVM counterpart of this asset
|
|
@@ -3351,7 +3267,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3351
3267
|
* @param {Callback<number | undefined> =} callback
|
|
3352
3268
|
**/
|
|
3353
3269
|
precisions: GenericStorageQuery<
|
|
3354
|
-
Rv,
|
|
3355
3270
|
(arg: [number, IsmpHostStateMachine]) => number | undefined,
|
|
3356
3271
|
[number, IsmpHostStateMachine]
|
|
3357
3272
|
>;
|
|
@@ -3362,16 +3277,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3362
3277
|
* @param {IsmpHostStateMachine} arg
|
|
3363
3278
|
* @param {Callback<Bytes | undefined> =} callback
|
|
3364
3279
|
**/
|
|
3365
|
-
tokenGatewayAddresses: GenericStorageQuery<
|
|
3366
|
-
Rv,
|
|
3367
|
-
(arg: IsmpHostStateMachine) => Bytes | undefined,
|
|
3368
|
-
IsmpHostStateMachine
|
|
3369
|
-
>;
|
|
3280
|
+
tokenGatewayAddresses: GenericStorageQuery<(arg: IsmpHostStateMachine) => Bytes | undefined, IsmpHostStateMachine>;
|
|
3370
3281
|
|
|
3371
3282
|
/**
|
|
3372
3283
|
* Generic pallet storage query
|
|
3373
3284
|
**/
|
|
3374
|
-
[storage: string]: GenericStorageQuery
|
|
3285
|
+
[storage: string]: GenericStorageQuery;
|
|
3375
3286
|
};
|
|
3376
3287
|
/**
|
|
3377
3288
|
* Pallet `EmaOracle`'s storage queries
|
|
@@ -3382,7 +3293,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3382
3293
|
*
|
|
3383
3294
|
* @param {Callback<Array<[[FixedBytes<8>, [number, number]], PalletEmaOracleOracleEntry]>> =} callback
|
|
3384
3295
|
**/
|
|
3385
|
-
accumulator: GenericStorageQuery<
|
|
3296
|
+
accumulator: GenericStorageQuery<() => Array<[[FixedBytes<8>, [number, number]], PalletEmaOracleOracleEntry]>>;
|
|
3386
3297
|
|
|
3387
3298
|
/**
|
|
3388
3299
|
* Oracle storage keyed by data source, involved asset ids and the period length of the oracle.
|
|
@@ -3393,7 +3304,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3393
3304
|
* @param {Callback<[PalletEmaOracleOracleEntry, number] | undefined> =} callback
|
|
3394
3305
|
**/
|
|
3395
3306
|
oracles: GenericStorageQuery<
|
|
3396
|
-
Rv,
|
|
3397
3307
|
(
|
|
3398
3308
|
arg: [FixedBytes<8>, [number, number], HydradxTraitsOracleOraclePeriod],
|
|
3399
3309
|
) => [PalletEmaOracleOracleEntry, number] | undefined,
|
|
@@ -3405,12 +3315,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3405
3315
|
*
|
|
3406
3316
|
* @param {Callback<Array<[FixedBytes<8>, [number, number]]>> =} callback
|
|
3407
3317
|
**/
|
|
3408
|
-
whitelistedAssets: GenericStorageQuery<
|
|
3318
|
+
whitelistedAssets: GenericStorageQuery<() => Array<[FixedBytes<8>, [number, number]]>>;
|
|
3409
3319
|
|
|
3410
3320
|
/**
|
|
3411
3321
|
* Generic pallet storage query
|
|
3412
3322
|
**/
|
|
3413
|
-
[storage: string]: GenericStorageQuery
|
|
3323
|
+
[storage: string]: GenericStorageQuery;
|
|
3414
3324
|
};
|
|
3415
3325
|
/**
|
|
3416
3326
|
* Pallet `Broadcast`'s storage queries
|
|
@@ -3421,25 +3331,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3421
3331
|
*
|
|
3422
3332
|
* @param {Callback<number> =} callback
|
|
3423
3333
|
**/
|
|
3424
|
-
incrementalId: GenericStorageQuery<
|
|
3334
|
+
incrementalId: GenericStorageQuery<() => number>;
|
|
3425
3335
|
|
|
3426
3336
|
/**
|
|
3427
3337
|
* Execution context to figure out where the trade is originated from
|
|
3428
3338
|
*
|
|
3429
3339
|
* @param {Callback<Array<PalletBroadcastExecutionType>> =} callback
|
|
3430
3340
|
**/
|
|
3431
|
-
executionContext: GenericStorageQuery<
|
|
3341
|
+
executionContext: GenericStorageQuery<() => Array<PalletBroadcastExecutionType>>;
|
|
3432
3342
|
|
|
3433
3343
|
/**
|
|
3434
3344
|
* If filled, we overwrite the original swapper. Mainly used in router to not to use temporary trade account
|
|
3435
3345
|
*
|
|
3436
3346
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3437
3347
|
**/
|
|
3438
|
-
swapper: GenericStorageQuery<
|
|
3348
|
+
swapper: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3439
3349
|
|
|
3440
3350
|
/**
|
|
3441
3351
|
* Generic pallet storage query
|
|
3442
3352
|
**/
|
|
3443
|
-
[storage: string]: GenericStorageQuery
|
|
3353
|
+
[storage: string]: GenericStorageQuery;
|
|
3444
3354
|
};
|
|
3445
3355
|
}
|