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