@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/basilisk/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,
|
|
@@ -104,7 +104,7 @@ import type {
|
|
|
104
104
|
StagingXcmV4Location,
|
|
105
105
|
} from './types.js';
|
|
106
106
|
|
|
107
|
-
export interface ChainStorage
|
|
107
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
108
108
|
/**
|
|
109
109
|
* Pallet `System`'s storage queries
|
|
110
110
|
**/
|
|
@@ -115,35 +115,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
115
115
|
* @param {AccountId32Like} arg
|
|
116
116
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
117
117
|
**/
|
|
118
|
-
account: GenericStorageQuery<
|
|
118
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Total extrinsics count for the current block.
|
|
122
122
|
*
|
|
123
123
|
* @param {Callback<number | undefined> =} callback
|
|
124
124
|
**/
|
|
125
|
-
extrinsicCount: GenericStorageQuery<
|
|
125
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* Whether all inherents have been applied.
|
|
129
129
|
*
|
|
130
130
|
* @param {Callback<boolean> =} callback
|
|
131
131
|
**/
|
|
132
|
-
inherentsApplied: GenericStorageQuery<
|
|
132
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The current weight for the block.
|
|
136
136
|
*
|
|
137
137
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
138
138
|
**/
|
|
139
|
-
blockWeight: GenericStorageQuery<
|
|
139
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
143
143
|
*
|
|
144
144
|
* @param {Callback<number | undefined> =} callback
|
|
145
145
|
**/
|
|
146
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
146
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Map of block numbers to block hashes.
|
|
@@ -151,7 +151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
151
151
|
* @param {number} arg
|
|
152
152
|
* @param {Callback<H256> =} callback
|
|
153
153
|
**/
|
|
154
|
-
blockHash: GenericStorageQuery<
|
|
154
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -159,28 +159,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
159
159
|
* @param {number} arg
|
|
160
160
|
* @param {Callback<Bytes> =} callback
|
|
161
161
|
**/
|
|
162
|
-
extrinsicData: GenericStorageQuery<
|
|
162
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* The current block number being processed. Set by `execute_block`.
|
|
166
166
|
*
|
|
167
167
|
* @param {Callback<number> =} callback
|
|
168
168
|
**/
|
|
169
|
-
number: GenericStorageQuery<
|
|
169
|
+
number: GenericStorageQuery<() => number>;
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Hash of the previous block.
|
|
173
173
|
*
|
|
174
174
|
* @param {Callback<H256> =} callback
|
|
175
175
|
**/
|
|
176
|
-
parentHash: GenericStorageQuery<
|
|
176
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Digest of the current block, also part of the block header.
|
|
180
180
|
*
|
|
181
181
|
* @param {Callback<Digest> =} callback
|
|
182
182
|
**/
|
|
183
|
-
digest: GenericStorageQuery<
|
|
183
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Events deposited for the current block.
|
|
@@ -193,14 +193,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
193
193
|
*
|
|
194
194
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
195
195
|
**/
|
|
196
|
-
events: GenericStorageQuery<
|
|
196
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* The number of events in the `Events<T>` list.
|
|
200
200
|
*
|
|
201
201
|
* @param {Callback<number> =} callback
|
|
202
202
|
**/
|
|
203
|
-
eventCount: GenericStorageQuery<
|
|
203
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -217,21 +217,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
217
217
|
* @param {H256} arg
|
|
218
218
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
219
219
|
**/
|
|
220
|
-
eventTopics: GenericStorageQuery<
|
|
220
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
224
224
|
*
|
|
225
225
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
226
226
|
**/
|
|
227
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
227
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
231
231
|
*
|
|
232
232
|
* @param {Callback<boolean> =} callback
|
|
233
233
|
**/
|
|
234
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
234
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -239,26 +239,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
239
239
|
*
|
|
240
240
|
* @param {Callback<boolean> =} callback
|
|
241
241
|
**/
|
|
242
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
242
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
245
|
* The execution phase of the block.
|
|
246
246
|
*
|
|
247
247
|
* @param {Callback<Phase | undefined> =} callback
|
|
248
248
|
**/
|
|
249
|
-
executionPhase: GenericStorageQuery<
|
|
249
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* `Some` if a code upgrade has been authorized.
|
|
253
253
|
*
|
|
254
254
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
255
255
|
**/
|
|
256
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
256
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* Generic pallet storage query
|
|
260
260
|
**/
|
|
261
|
-
[storage: string]: GenericStorageQuery
|
|
261
|
+
[storage: string]: GenericStorageQuery;
|
|
262
262
|
};
|
|
263
263
|
/**
|
|
264
264
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -269,7 +269,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
269
269
|
*
|
|
270
270
|
* @param {Callback<bigint> =} callback
|
|
271
271
|
**/
|
|
272
|
-
now: GenericStorageQuery<
|
|
272
|
+
now: GenericStorageQuery<() => bigint>;
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* Whether the timestamp has been updated in this block.
|
|
@@ -279,12 +279,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
279
279
|
*
|
|
280
280
|
* @param {Callback<boolean> =} callback
|
|
281
281
|
**/
|
|
282
|
-
didUpdate: GenericStorageQuery<
|
|
282
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
285
|
* Generic pallet storage query
|
|
286
286
|
**/
|
|
287
|
-
[storage: string]: GenericStorageQuery
|
|
287
|
+
[storage: string]: GenericStorageQuery;
|
|
288
288
|
};
|
|
289
289
|
/**
|
|
290
290
|
* Pallet `Balances`'s storage queries
|
|
@@ -295,14 +295,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
295
295
|
*
|
|
296
296
|
* @param {Callback<bigint> =} callback
|
|
297
297
|
**/
|
|
298
|
-
totalIssuance: GenericStorageQuery<
|
|
298
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* The total units of outstanding deactivated balance in the system.
|
|
302
302
|
*
|
|
303
303
|
* @param {Callback<bigint> =} callback
|
|
304
304
|
**/
|
|
305
|
-
inactiveIssuance: GenericStorageQuery<
|
|
305
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -333,7 +333,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
333
333
|
* @param {AccountId32Like} arg
|
|
334
334
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
335
335
|
**/
|
|
336
|
-
account: GenericStorageQuery<
|
|
336
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* Any liquidity locks on some account balances.
|
|
@@ -344,7 +344,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
344
344
|
* @param {AccountId32Like} arg
|
|
345
345
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
346
346
|
**/
|
|
347
|
-
locks: GenericStorageQuery<
|
|
347
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
350
|
* Named reserves on some account balances.
|
|
@@ -354,7 +354,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
354
354
|
* @param {AccountId32Like} arg
|
|
355
355
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
356
356
|
**/
|
|
357
|
-
reserves: GenericStorageQuery<
|
|
357
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* Holds on account balances.
|
|
@@ -362,7 +362,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
362
362
|
* @param {AccountId32Like} arg
|
|
363
363
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
364
364
|
**/
|
|
365
|
-
holds: GenericStorageQuery<
|
|
365
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
368
|
* Freeze locks on account balances.
|
|
@@ -370,12 +370,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
370
370
|
* @param {AccountId32Like} arg
|
|
371
371
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
|
|
372
372
|
**/
|
|
373
|
-
freezes: GenericStorageQuery<
|
|
373
|
+
freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Generic pallet storage query
|
|
377
377
|
**/
|
|
378
|
-
[storage: string]: GenericStorageQuery
|
|
378
|
+
[storage: string]: GenericStorageQuery;
|
|
379
379
|
};
|
|
380
380
|
/**
|
|
381
381
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -385,18 +385,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
385
385
|
*
|
|
386
386
|
* @param {Callback<FixedU128> =} callback
|
|
387
387
|
**/
|
|
388
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
388
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
*
|
|
392
392
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
393
393
|
**/
|
|
394
|
-
storageVersion: GenericStorageQuery<
|
|
394
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
397
|
* Generic pallet storage query
|
|
398
398
|
**/
|
|
399
|
-
[storage: string]: GenericStorageQuery
|
|
399
|
+
[storage: string]: GenericStorageQuery;
|
|
400
400
|
};
|
|
401
401
|
/**
|
|
402
402
|
* Pallet `MultiTransactionPayment`'s storage queries
|
|
@@ -408,7 +408,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
408
408
|
* @param {AccountId32Like} arg
|
|
409
409
|
* @param {Callback<number | undefined> =} callback
|
|
410
410
|
**/
|
|
411
|
-
accountCurrencyMap: GenericStorageQuery<
|
|
411
|
+
accountCurrencyMap: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
414
|
* Curated list of currencies which fees can be paid mapped to corresponding fallback price
|
|
@@ -416,7 +416,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
416
416
|
* @param {number} arg
|
|
417
417
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
418
418
|
**/
|
|
419
|
-
acceptedCurrencies: GenericStorageQuery<
|
|
419
|
+
acceptedCurrencies: GenericStorageQuery<(arg: number) => FixedU128 | undefined, number>;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* Asset prices from the spot price provider or the fallback price if the price is not available. Updated at the beginning of every block.
|
|
@@ -424,19 +424,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
424
424
|
* @param {number} arg
|
|
425
425
|
* @param {Callback<FixedU128 | undefined> =} callback
|
|
426
426
|
**/
|
|
427
|
-
acceptedCurrencyPrice: GenericStorageQuery<
|
|
427
|
+
acceptedCurrencyPrice: GenericStorageQuery<(arg: number) => FixedU128 | undefined, number>;
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
430
|
*
|
|
431
431
|
* @param {AccountId32Like} arg
|
|
432
432
|
* @param {Callback<number | undefined> =} callback
|
|
433
433
|
**/
|
|
434
|
-
transactionCurrencyOverride: GenericStorageQuery<
|
|
434
|
+
transactionCurrencyOverride: GenericStorageQuery<(arg: AccountId32Like) => number | undefined, AccountId32>;
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
437
|
* Generic pallet storage query
|
|
438
438
|
**/
|
|
439
|
-
[storage: string]: GenericStorageQuery
|
|
439
|
+
[storage: string]: GenericStorageQuery;
|
|
440
440
|
};
|
|
441
441
|
/**
|
|
442
442
|
* Pallet `Treasury`'s storage queries
|
|
@@ -447,7 +447,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
447
447
|
*
|
|
448
448
|
* @param {Callback<number> =} callback
|
|
449
449
|
**/
|
|
450
|
-
proposalCount: GenericStorageQuery<
|
|
450
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* Proposals that have been made.
|
|
@@ -455,28 +455,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
455
455
|
* @param {number} arg
|
|
456
456
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
457
457
|
**/
|
|
458
|
-
proposals: GenericStorageQuery<
|
|
458
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* The amount which has been reported as inactive to Currency.
|
|
462
462
|
*
|
|
463
463
|
* @param {Callback<bigint> =} callback
|
|
464
464
|
**/
|
|
465
|
-
deactivated: GenericStorageQuery<
|
|
465
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* Proposal indices that have been approved but not yet awarded.
|
|
469
469
|
*
|
|
470
470
|
* @param {Callback<Array<number>> =} callback
|
|
471
471
|
**/
|
|
472
|
-
approvals: GenericStorageQuery<
|
|
472
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* The count of spends that have been made.
|
|
476
476
|
*
|
|
477
477
|
* @param {Callback<number> =} callback
|
|
478
478
|
**/
|
|
479
|
-
spendCount: GenericStorageQuery<
|
|
479
|
+
spendCount: GenericStorageQuery<() => number>;
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* Spends that have been approved and being processed.
|
|
@@ -484,12 +484,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
484
484
|
* @param {number} arg
|
|
485
485
|
* @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
|
|
486
486
|
**/
|
|
487
|
-
spends: GenericStorageQuery<
|
|
487
|
+
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
490
|
* Generic pallet storage query
|
|
491
491
|
**/
|
|
492
|
-
[storage: string]: GenericStorageQuery
|
|
492
|
+
[storage: string]: GenericStorageQuery;
|
|
493
493
|
};
|
|
494
494
|
/**
|
|
495
495
|
* Pallet `Democracy`'s storage queries
|
|
@@ -500,14 +500,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
500
500
|
*
|
|
501
501
|
* @param {Callback<number> =} callback
|
|
502
502
|
**/
|
|
503
|
-
publicPropCount: GenericStorageQuery<
|
|
503
|
+
publicPropCount: GenericStorageQuery<() => number>;
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
506
|
* The public proposals. Unsorted. The second item is the proposal.
|
|
507
507
|
*
|
|
508
508
|
* @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
|
|
509
509
|
**/
|
|
510
|
-
publicProps: GenericStorageQuery<
|
|
510
|
+
publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
513
|
* Those who have locked a deposit.
|
|
@@ -517,14 +517,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
517
517
|
* @param {number} arg
|
|
518
518
|
* @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
|
|
519
519
|
**/
|
|
520
|
-
depositOf: GenericStorageQuery<
|
|
520
|
+
depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
523
|
* The next free referendum index, aka the number of referenda started so far.
|
|
524
524
|
*
|
|
525
525
|
* @param {Callback<number> =} callback
|
|
526
526
|
**/
|
|
527
|
-
referendumCount: GenericStorageQuery<
|
|
527
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
@@ -532,7 +532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
532
532
|
*
|
|
533
533
|
* @param {Callback<number> =} callback
|
|
534
534
|
**/
|
|
535
|
-
lowestUnbaked: GenericStorageQuery<
|
|
535
|
+
lowestUnbaked: GenericStorageQuery<() => number>;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* Information concerning any given referendum.
|
|
@@ -542,7 +542,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
542
542
|
* @param {number} arg
|
|
543
543
|
* @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
|
|
544
544
|
**/
|
|
545
|
-
referendumInfoOf: GenericStorageQuery<
|
|
545
|
+
referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
548
|
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
@@ -553,7 +553,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
553
553
|
* @param {AccountId32Like} arg
|
|
554
554
|
* @param {Callback<PalletDemocracyVoteVoting> =} callback
|
|
555
555
|
**/
|
|
556
|
-
votingOf: GenericStorageQuery<
|
|
556
|
+
votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
@@ -561,7 +561,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
561
561
|
*
|
|
562
562
|
* @param {Callback<boolean> =} callback
|
|
563
563
|
**/
|
|
564
|
-
lastTabledWasExternal: GenericStorageQuery<
|
|
564
|
+
lastTabledWasExternal: GenericStorageQuery<() => boolean>;
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
567
|
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
@@ -571,10 +571,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
571
571
|
*
|
|
572
572
|
* @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
|
|
573
573
|
**/
|
|
574
|
-
nextExternal: GenericStorageQuery<
|
|
575
|
-
Rv,
|
|
576
|
-
() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined
|
|
577
|
-
>;
|
|
574
|
+
nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
|
|
578
575
|
|
|
579
576
|
/**
|
|
580
577
|
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
@@ -583,7 +580,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
583
580
|
* @param {H256} arg
|
|
584
581
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
585
582
|
**/
|
|
586
|
-
blacklist: GenericStorageQuery<
|
|
583
|
+
blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
|
|
587
584
|
|
|
588
585
|
/**
|
|
589
586
|
* Record of all proposals that have been subject to emergency cancellation.
|
|
@@ -591,7 +588,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
591
588
|
* @param {H256} arg
|
|
592
589
|
* @param {Callback<boolean> =} callback
|
|
593
590
|
**/
|
|
594
|
-
cancellations: GenericStorageQuery<
|
|
591
|
+
cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
595
592
|
|
|
596
593
|
/**
|
|
597
594
|
* General information concerning any proposal or referendum.
|
|
@@ -605,7 +602,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
605
602
|
* @param {Callback<H256 | undefined> =} callback
|
|
606
603
|
**/
|
|
607
604
|
metadataOf: GenericStorageQuery<
|
|
608
|
-
Rv,
|
|
609
605
|
(arg: PalletDemocracyMetadataOwner) => H256 | undefined,
|
|
610
606
|
PalletDemocracyMetadataOwner
|
|
611
607
|
>;
|
|
@@ -613,7 +609,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
613
609
|
/**
|
|
614
610
|
* Generic pallet storage query
|
|
615
611
|
**/
|
|
616
|
-
[storage: string]: GenericStorageQuery
|
|
612
|
+
[storage: string]: GenericStorageQuery;
|
|
617
613
|
};
|
|
618
614
|
/**
|
|
619
615
|
* Pallet `TechnicalCommittee`'s storage queries
|
|
@@ -624,7 +620,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
624
620
|
*
|
|
625
621
|
* @param {Callback<Array<H256>> =} callback
|
|
626
622
|
**/
|
|
627
|
-
proposals: GenericStorageQuery<
|
|
623
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
628
624
|
|
|
629
625
|
/**
|
|
630
626
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -632,7 +628,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
632
628
|
* @param {H256} arg
|
|
633
629
|
* @param {Callback<BasiliskRuntimeRuntimeCall | undefined> =} callback
|
|
634
630
|
**/
|
|
635
|
-
proposalOf: GenericStorageQuery<
|
|
631
|
+
proposalOf: GenericStorageQuery<(arg: H256) => BasiliskRuntimeRuntimeCall | undefined, H256>;
|
|
636
632
|
|
|
637
633
|
/**
|
|
638
634
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -640,33 +636,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
640
636
|
* @param {H256} arg
|
|
641
637
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
642
638
|
**/
|
|
643
|
-
voting: GenericStorageQuery<
|
|
639
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
644
640
|
|
|
645
641
|
/**
|
|
646
642
|
* Proposals so far.
|
|
647
643
|
*
|
|
648
644
|
* @param {Callback<number> =} callback
|
|
649
645
|
**/
|
|
650
|
-
proposalCount: GenericStorageQuery<
|
|
646
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
651
647
|
|
|
652
648
|
/**
|
|
653
649
|
* The current members of the collective. This is stored sorted (just by value).
|
|
654
650
|
*
|
|
655
651
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
656
652
|
**/
|
|
657
|
-
members: GenericStorageQuery<
|
|
653
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
658
654
|
|
|
659
655
|
/**
|
|
660
656
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
661
657
|
*
|
|
662
658
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
663
659
|
**/
|
|
664
|
-
prime: GenericStorageQuery<
|
|
660
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
665
661
|
|
|
666
662
|
/**
|
|
667
663
|
* Generic pallet storage query
|
|
668
664
|
**/
|
|
669
|
-
[storage: string]: GenericStorageQuery
|
|
665
|
+
[storage: string]: GenericStorageQuery;
|
|
670
666
|
};
|
|
671
667
|
/**
|
|
672
668
|
* Pallet `Vesting`'s storage queries
|
|
@@ -680,12 +676,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
680
676
|
* @param {AccountId32Like} arg
|
|
681
677
|
* @param {Callback<Array<OrmlVestingVestingSchedule>> =} callback
|
|
682
678
|
**/
|
|
683
|
-
vestingSchedules: GenericStorageQuery<
|
|
679
|
+
vestingSchedules: GenericStorageQuery<(arg: AccountId32Like) => Array<OrmlVestingVestingSchedule>, AccountId32>;
|
|
684
680
|
|
|
685
681
|
/**
|
|
686
682
|
* Generic pallet storage query
|
|
687
683
|
**/
|
|
688
|
-
[storage: string]: GenericStorageQuery
|
|
684
|
+
[storage: string]: GenericStorageQuery;
|
|
689
685
|
};
|
|
690
686
|
/**
|
|
691
687
|
* Pallet `Proxy`'s storage queries
|
|
@@ -698,11 +694,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
698
694
|
* @param {AccountId32Like} arg
|
|
699
695
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
700
696
|
**/
|
|
701
|
-
proxies: GenericStorageQuery<
|
|
702
|
-
Rv,
|
|
703
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
704
|
-
AccountId32
|
|
705
|
-
>;
|
|
697
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
706
698
|
|
|
707
699
|
/**
|
|
708
700
|
* The announcements made by the proxy (key).
|
|
@@ -710,16 +702,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
710
702
|
* @param {AccountId32Like} arg
|
|
711
703
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
712
704
|
**/
|
|
713
|
-
announcements: GenericStorageQuery<
|
|
714
|
-
Rv,
|
|
715
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
716
|
-
AccountId32
|
|
717
|
-
>;
|
|
705
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
718
706
|
|
|
719
707
|
/**
|
|
720
708
|
* Generic pallet storage query
|
|
721
709
|
**/
|
|
722
|
-
[storage: string]: GenericStorageQuery
|
|
710
|
+
[storage: string]: GenericStorageQuery;
|
|
723
711
|
};
|
|
724
712
|
/**
|
|
725
713
|
* Pallet `Authorship`'s storage queries
|
|
@@ -730,12 +718,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
730
718
|
*
|
|
731
719
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
732
720
|
**/
|
|
733
|
-
author: GenericStorageQuery<
|
|
721
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
734
722
|
|
|
735
723
|
/**
|
|
736
724
|
* Generic pallet storage query
|
|
737
725
|
**/
|
|
738
|
-
[storage: string]: GenericStorageQuery
|
|
726
|
+
[storage: string]: GenericStorageQuery;
|
|
739
727
|
};
|
|
740
728
|
/**
|
|
741
729
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -746,7 +734,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
746
734
|
*
|
|
747
735
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
748
736
|
**/
|
|
749
|
-
invulnerables: GenericStorageQuery<
|
|
737
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
750
738
|
|
|
751
739
|
/**
|
|
752
740
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -757,7 +745,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
757
745
|
*
|
|
758
746
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
759
747
|
**/
|
|
760
|
-
candidateList: GenericStorageQuery<
|
|
748
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
761
749
|
|
|
762
750
|
/**
|
|
763
751
|
* Last block authored by collator.
|
|
@@ -765,7 +753,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
765
753
|
* @param {AccountId32Like} arg
|
|
766
754
|
* @param {Callback<number> =} callback
|
|
767
755
|
**/
|
|
768
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
756
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
769
757
|
|
|
770
758
|
/**
|
|
771
759
|
* Desired number of candidates.
|
|
@@ -774,7 +762,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
774
762
|
*
|
|
775
763
|
* @param {Callback<number> =} callback
|
|
776
764
|
**/
|
|
777
|
-
desiredCandidates: GenericStorageQuery<
|
|
765
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
778
766
|
|
|
779
767
|
/**
|
|
780
768
|
* Fixed amount to deposit to become a collator.
|
|
@@ -783,12 +771,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
783
771
|
*
|
|
784
772
|
* @param {Callback<bigint> =} callback
|
|
785
773
|
**/
|
|
786
|
-
candidacyBond: GenericStorageQuery<
|
|
774
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
787
775
|
|
|
788
776
|
/**
|
|
789
777
|
* Generic pallet storage query
|
|
790
778
|
**/
|
|
791
|
-
[storage: string]: GenericStorageQuery
|
|
779
|
+
[storage: string]: GenericStorageQuery;
|
|
792
780
|
};
|
|
793
781
|
/**
|
|
794
782
|
* Pallet `Session`'s storage queries
|
|
@@ -799,14 +787,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
799
787
|
*
|
|
800
788
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
801
789
|
**/
|
|
802
|
-
validators: GenericStorageQuery<
|
|
790
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
803
791
|
|
|
804
792
|
/**
|
|
805
793
|
* Current index of the session.
|
|
806
794
|
*
|
|
807
795
|
* @param {Callback<number> =} callback
|
|
808
796
|
**/
|
|
809
|
-
currentIndex: GenericStorageQuery<
|
|
797
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
810
798
|
|
|
811
799
|
/**
|
|
812
800
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -814,7 +802,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
814
802
|
*
|
|
815
803
|
* @param {Callback<boolean> =} callback
|
|
816
804
|
**/
|
|
817
|
-
queuedChanged: GenericStorageQuery<
|
|
805
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
818
806
|
|
|
819
807
|
/**
|
|
820
808
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -822,7 +810,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
822
810
|
*
|
|
823
811
|
* @param {Callback<Array<[AccountId32, BasiliskRuntimeOpaqueSessionKeys]>> =} callback
|
|
824
812
|
**/
|
|
825
|
-
queuedKeys: GenericStorageQuery<
|
|
813
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, BasiliskRuntimeOpaqueSessionKeys]>>;
|
|
826
814
|
|
|
827
815
|
/**
|
|
828
816
|
* Indices of disabled validators.
|
|
@@ -833,7 +821,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
833
821
|
*
|
|
834
822
|
* @param {Callback<Array<number>> =} callback
|
|
835
823
|
**/
|
|
836
|
-
disabledValidators: GenericStorageQuery<
|
|
824
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
837
825
|
|
|
838
826
|
/**
|
|
839
827
|
* The next session keys for a validator.
|
|
@@ -841,11 +829,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
841
829
|
* @param {AccountId32Like} arg
|
|
842
830
|
* @param {Callback<BasiliskRuntimeOpaqueSessionKeys | undefined> =} callback
|
|
843
831
|
**/
|
|
844
|
-
nextKeys: GenericStorageQuery<
|
|
845
|
-
Rv,
|
|
846
|
-
(arg: AccountId32Like) => BasiliskRuntimeOpaqueSessionKeys | undefined,
|
|
847
|
-
AccountId32
|
|
848
|
-
>;
|
|
832
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => BasiliskRuntimeOpaqueSessionKeys | undefined, AccountId32>;
|
|
849
833
|
|
|
850
834
|
/**
|
|
851
835
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -854,7 +838,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
854
838
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
855
839
|
**/
|
|
856
840
|
keyOwner: GenericStorageQuery<
|
|
857
|
-
Rv,
|
|
858
841
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
859
842
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
860
843
|
>;
|
|
@@ -862,7 +845,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
862
845
|
/**
|
|
863
846
|
* Generic pallet storage query
|
|
864
847
|
**/
|
|
865
|
-
[storage: string]: GenericStorageQuery
|
|
848
|
+
[storage: string]: GenericStorageQuery;
|
|
866
849
|
};
|
|
867
850
|
/**
|
|
868
851
|
* Pallet `Aura`'s storage queries
|
|
@@ -873,7 +856,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
873
856
|
*
|
|
874
857
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
875
858
|
**/
|
|
876
|
-
authorities: GenericStorageQuery<
|
|
859
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
877
860
|
|
|
878
861
|
/**
|
|
879
862
|
* The current slot of this block.
|
|
@@ -882,12 +865,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
882
865
|
*
|
|
883
866
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
884
867
|
**/
|
|
885
|
-
currentSlot: GenericStorageQuery<
|
|
868
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
886
869
|
|
|
887
870
|
/**
|
|
888
871
|
* Generic pallet storage query
|
|
889
872
|
**/
|
|
890
|
-
[storage: string]: GenericStorageQuery
|
|
873
|
+
[storage: string]: GenericStorageQuery;
|
|
891
874
|
};
|
|
892
875
|
/**
|
|
893
876
|
* Pallet `Preimage`'s storage queries
|
|
@@ -899,7 +882,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
899
882
|
* @param {H256} arg
|
|
900
883
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
901
884
|
**/
|
|
902
|
-
statusFor: GenericStorageQuery<
|
|
885
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
903
886
|
|
|
904
887
|
/**
|
|
905
888
|
* The request status of a given hash.
|
|
@@ -907,19 +890,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
907
890
|
* @param {H256} arg
|
|
908
891
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
909
892
|
**/
|
|
910
|
-
requestStatusFor: GenericStorageQuery<
|
|
893
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
911
894
|
|
|
912
895
|
/**
|
|
913
896
|
*
|
|
914
897
|
* @param {[H256, number]} arg
|
|
915
898
|
* @param {Callback<Bytes | undefined> =} callback
|
|
916
899
|
**/
|
|
917
|
-
preimageFor: GenericStorageQuery<
|
|
900
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
918
901
|
|
|
919
902
|
/**
|
|
920
903
|
* Generic pallet storage query
|
|
921
904
|
**/
|
|
922
|
-
[storage: string]: GenericStorageQuery
|
|
905
|
+
[storage: string]: GenericStorageQuery;
|
|
923
906
|
};
|
|
924
907
|
/**
|
|
925
908
|
* Pallet `Uniques`'s storage queries
|
|
@@ -931,7 +914,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
931
914
|
* @param {bigint} arg
|
|
932
915
|
* @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
|
|
933
916
|
**/
|
|
934
|
-
class: GenericStorageQuery<
|
|
917
|
+
class: GenericStorageQuery<(arg: bigint) => PalletUniquesCollectionDetails | undefined, bigint>;
|
|
935
918
|
|
|
936
919
|
/**
|
|
937
920
|
* The collection, if any, of which an account is willing to take ownership.
|
|
@@ -939,7 +922,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
939
922
|
* @param {AccountId32Like} arg
|
|
940
923
|
* @param {Callback<bigint | undefined> =} callback
|
|
941
924
|
**/
|
|
942
|
-
ownershipAcceptance: GenericStorageQuery<
|
|
925
|
+
ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
943
926
|
|
|
944
927
|
/**
|
|
945
928
|
* The items held by any given account; set out this way so that items owned by a single
|
|
@@ -949,7 +932,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
949
932
|
* @param {Callback<[] | undefined> =} callback
|
|
950
933
|
**/
|
|
951
934
|
account: GenericStorageQuery<
|
|
952
|
-
Rv,
|
|
953
935
|
(arg: [AccountId32Like, bigint, bigint]) => [] | undefined,
|
|
954
936
|
[AccountId32, bigint, bigint]
|
|
955
937
|
>;
|
|
@@ -961,7 +943,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
961
943
|
* @param {[AccountId32Like, bigint]} arg
|
|
962
944
|
* @param {Callback<[] | undefined> =} callback
|
|
963
945
|
**/
|
|
964
|
-
classAccount: GenericStorageQuery<
|
|
946
|
+
classAccount: GenericStorageQuery<(arg: [AccountId32Like, bigint]) => [] | undefined, [AccountId32, bigint]>;
|
|
965
947
|
|
|
966
948
|
/**
|
|
967
949
|
* The items in existence and their ownership details.
|
|
@@ -969,7 +951,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
969
951
|
* @param {[bigint, bigint]} arg
|
|
970
952
|
* @param {Callback<PalletUniquesItemDetails | undefined> =} callback
|
|
971
953
|
**/
|
|
972
|
-
asset: GenericStorageQuery<
|
|
954
|
+
asset: GenericStorageQuery<(arg: [bigint, bigint]) => PalletUniquesItemDetails | undefined, [bigint, bigint]>;
|
|
973
955
|
|
|
974
956
|
/**
|
|
975
957
|
* Metadata of a collection.
|
|
@@ -977,7 +959,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
977
959
|
* @param {bigint} arg
|
|
978
960
|
* @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
|
|
979
961
|
**/
|
|
980
|
-
classMetadataOf: GenericStorageQuery<
|
|
962
|
+
classMetadataOf: GenericStorageQuery<(arg: bigint) => PalletUniquesCollectionMetadata | undefined, bigint>;
|
|
981
963
|
|
|
982
964
|
/**
|
|
983
965
|
* Metadata of an item.
|
|
@@ -986,7 +968,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
986
968
|
* @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
|
|
987
969
|
**/
|
|
988
970
|
instanceMetadataOf: GenericStorageQuery<
|
|
989
|
-
Rv,
|
|
990
971
|
(arg: [bigint, bigint]) => PalletUniquesItemMetadata | undefined,
|
|
991
972
|
[bigint, bigint]
|
|
992
973
|
>;
|
|
@@ -998,7 +979,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
998
979
|
* @param {Callback<[Bytes, bigint] | undefined> =} callback
|
|
999
980
|
**/
|
|
1000
981
|
attribute: GenericStorageQuery<
|
|
1001
|
-
Rv,
|
|
1002
982
|
(arg: [bigint, bigint | undefined, BytesLike]) => [Bytes, bigint] | undefined,
|
|
1003
983
|
[bigint, bigint | undefined, Bytes]
|
|
1004
984
|
>;
|
|
@@ -1010,7 +990,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1010
990
|
* @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
|
|
1011
991
|
**/
|
|
1012
992
|
itemPriceOf: GenericStorageQuery<
|
|
1013
|
-
Rv,
|
|
1014
993
|
(arg: [bigint, bigint]) => [bigint, AccountId32 | undefined] | undefined,
|
|
1015
994
|
[bigint, bigint]
|
|
1016
995
|
>;
|
|
@@ -1021,12 +1000,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1021
1000
|
* @param {bigint} arg
|
|
1022
1001
|
* @param {Callback<number | undefined> =} callback
|
|
1023
1002
|
**/
|
|
1024
|
-
collectionMaxSupply: GenericStorageQuery<
|
|
1003
|
+
collectionMaxSupply: GenericStorageQuery<(arg: bigint) => number | undefined, bigint>;
|
|
1025
1004
|
|
|
1026
1005
|
/**
|
|
1027
1006
|
* Generic pallet storage query
|
|
1028
1007
|
**/
|
|
1029
|
-
[storage: string]: GenericStorageQuery
|
|
1008
|
+
[storage: string]: GenericStorageQuery;
|
|
1030
1009
|
};
|
|
1031
1010
|
/**
|
|
1032
1011
|
* Pallet `Identity`'s storage queries
|
|
@@ -1042,7 +1021,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1042
1021
|
* @param {Callback<[PalletIdentityRegistration, Bytes | undefined] | undefined> =} callback
|
|
1043
1022
|
**/
|
|
1044
1023
|
identityOf: GenericStorageQuery<
|
|
1045
|
-
Rv,
|
|
1046
1024
|
(arg: AccountId32Like) => [PalletIdentityRegistration, Bytes | undefined] | undefined,
|
|
1047
1025
|
AccountId32
|
|
1048
1026
|
>;
|
|
@@ -1054,7 +1032,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1054
1032
|
* @param {AccountId32Like} arg
|
|
1055
1033
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
1056
1034
|
**/
|
|
1057
|
-
superOf: GenericStorageQuery<
|
|
1035
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
1058
1036
|
|
|
1059
1037
|
/**
|
|
1060
1038
|
* Alternative "sub" identities of this account.
|
|
@@ -1066,7 +1044,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1066
1044
|
* @param {AccountId32Like} arg
|
|
1067
1045
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
1068
1046
|
**/
|
|
1069
|
-
subsOf: GenericStorageQuery<
|
|
1047
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
1070
1048
|
|
|
1071
1049
|
/**
|
|
1072
1050
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1076,7 +1054,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1076
1054
|
*
|
|
1077
1055
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1078
1056
|
**/
|
|
1079
|
-
registrars: GenericStorageQuery<
|
|
1057
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1080
1058
|
|
|
1081
1059
|
/**
|
|
1082
1060
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1085,7 +1063,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1085
1063
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1086
1064
|
**/
|
|
1087
1065
|
usernameAuthorities: GenericStorageQuery<
|
|
1088
|
-
Rv,
|
|
1089
1066
|
(arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
|
|
1090
1067
|
AccountId32
|
|
1091
1068
|
>;
|
|
@@ -1100,7 +1077,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1100
1077
|
* @param {BytesLike} arg
|
|
1101
1078
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1102
1079
|
**/
|
|
1103
|
-
accountOfUsername: GenericStorageQuery<
|
|
1080
|
+
accountOfUsername: GenericStorageQuery<(arg: BytesLike) => AccountId32 | undefined, Bytes>;
|
|
1104
1081
|
|
|
1105
1082
|
/**
|
|
1106
1083
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1113,12 +1090,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1113
1090
|
* @param {BytesLike} arg
|
|
1114
1091
|
* @param {Callback<[AccountId32, number] | undefined> =} callback
|
|
1115
1092
|
**/
|
|
1116
|
-
pendingUsernames: GenericStorageQuery<
|
|
1093
|
+
pendingUsernames: GenericStorageQuery<(arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
|
|
1117
1094
|
|
|
1118
1095
|
/**
|
|
1119
1096
|
* Generic pallet storage query
|
|
1120
1097
|
**/
|
|
1121
|
-
[storage: string]: GenericStorageQuery
|
|
1098
|
+
[storage: string]: GenericStorageQuery;
|
|
1122
1099
|
};
|
|
1123
1100
|
/**
|
|
1124
1101
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1131,7 +1108,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1131
1108
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1132
1109
|
**/
|
|
1133
1110
|
multisigs: GenericStorageQuery<
|
|
1134
|
-
Rv,
|
|
1135
1111
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1136
1112
|
[AccountId32, FixedBytes<32>]
|
|
1137
1113
|
>;
|
|
@@ -1139,7 +1115,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1139
1115
|
/**
|
|
1140
1116
|
* Generic pallet storage query
|
|
1141
1117
|
**/
|
|
1142
|
-
[storage: string]: GenericStorageQuery
|
|
1118
|
+
[storage: string]: GenericStorageQuery;
|
|
1143
1119
|
};
|
|
1144
1120
|
/**
|
|
1145
1121
|
* Pallet `StateTrieMigration`'s storage queries
|
|
@@ -1153,7 +1129,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1153
1129
|
*
|
|
1154
1130
|
* @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
|
|
1155
1131
|
**/
|
|
1156
|
-
migrationProcess: GenericStorageQuery<
|
|
1132
|
+
migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
|
|
1157
1133
|
|
|
1158
1134
|
/**
|
|
1159
1135
|
* The limits that are imposed on automatic migrations.
|
|
@@ -1162,7 +1138,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1162
1138
|
*
|
|
1163
1139
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
1164
1140
|
**/
|
|
1165
|
-
autoLimits: GenericStorageQuery<
|
|
1141
|
+
autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
1166
1142
|
|
|
1167
1143
|
/**
|
|
1168
1144
|
* The maximum limits that the signed migration could use.
|
|
@@ -1171,12 +1147,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1171
1147
|
*
|
|
1172
1148
|
* @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
|
|
1173
1149
|
**/
|
|
1174
|
-
signedMigrationMaxLimits: GenericStorageQuery<
|
|
1150
|
+
signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
|
|
1175
1151
|
|
|
1176
1152
|
/**
|
|
1177
1153
|
* Generic pallet storage query
|
|
1178
1154
|
**/
|
|
1179
|
-
[storage: string]: GenericStorageQuery
|
|
1155
|
+
[storage: string]: GenericStorageQuery;
|
|
1180
1156
|
};
|
|
1181
1157
|
/**
|
|
1182
1158
|
* Pallet `ConvictionVoting`'s storage queries
|
|
@@ -1190,7 +1166,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1190
1166
|
* @param {Callback<PalletConvictionVotingVoteVoting> =} callback
|
|
1191
1167
|
**/
|
|
1192
1168
|
votingFor: GenericStorageQuery<
|
|
1193
|
-
Rv,
|
|
1194
1169
|
(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting,
|
|
1195
1170
|
[AccountId32, number]
|
|
1196
1171
|
>;
|
|
@@ -1203,12 +1178,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1203
1178
|
* @param {AccountId32Like} arg
|
|
1204
1179
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1205
1180
|
**/
|
|
1206
|
-
classLocksFor: GenericStorageQuery<
|
|
1181
|
+
classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>, AccountId32>;
|
|
1207
1182
|
|
|
1208
1183
|
/**
|
|
1209
1184
|
* Generic pallet storage query
|
|
1210
1185
|
**/
|
|
1211
|
-
[storage: string]: GenericStorageQuery
|
|
1186
|
+
[storage: string]: GenericStorageQuery;
|
|
1212
1187
|
};
|
|
1213
1188
|
/**
|
|
1214
1189
|
* Pallet `Referenda`'s storage queries
|
|
@@ -1219,7 +1194,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1219
1194
|
*
|
|
1220
1195
|
* @param {Callback<number> =} callback
|
|
1221
1196
|
**/
|
|
1222
|
-
referendumCount: GenericStorageQuery<
|
|
1197
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
1223
1198
|
|
|
1224
1199
|
/**
|
|
1225
1200
|
* Information concerning any given referendum.
|
|
@@ -1227,7 +1202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1227
1202
|
* @param {number} arg
|
|
1228
1203
|
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
1229
1204
|
**/
|
|
1230
|
-
referendumInfoFor: GenericStorageQuery<
|
|
1205
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
1231
1206
|
|
|
1232
1207
|
/**
|
|
1233
1208
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -1238,7 +1213,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1238
1213
|
* @param {number} arg
|
|
1239
1214
|
* @param {Callback<Array<[number, bigint]>> =} callback
|
|
1240
1215
|
**/
|
|
1241
|
-
trackQueue: GenericStorageQuery<
|
|
1216
|
+
trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>, number>;
|
|
1242
1217
|
|
|
1243
1218
|
/**
|
|
1244
1219
|
* The number of referenda being decided currently.
|
|
@@ -1246,7 +1221,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1246
1221
|
* @param {number} arg
|
|
1247
1222
|
* @param {Callback<number> =} callback
|
|
1248
1223
|
**/
|
|
1249
|
-
decidingCount: GenericStorageQuery<
|
|
1224
|
+
decidingCount: GenericStorageQuery<(arg: number) => number, number>;
|
|
1250
1225
|
|
|
1251
1226
|
/**
|
|
1252
1227
|
* The metadata is a general information concerning the referendum.
|
|
@@ -1259,12 +1234,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1259
1234
|
* @param {number} arg
|
|
1260
1235
|
* @param {Callback<H256 | undefined> =} callback
|
|
1261
1236
|
**/
|
|
1262
|
-
metadataOf: GenericStorageQuery<
|
|
1237
|
+
metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined, number>;
|
|
1263
1238
|
|
|
1264
1239
|
/**
|
|
1265
1240
|
* Generic pallet storage query
|
|
1266
1241
|
**/
|
|
1267
|
-
[storage: string]: GenericStorageQuery
|
|
1242
|
+
[storage: string]: GenericStorageQuery;
|
|
1268
1243
|
};
|
|
1269
1244
|
/**
|
|
1270
1245
|
* Pallet `Whitelist`'s storage queries
|
|
@@ -1275,12 +1250,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1275
1250
|
* @param {H256} arg
|
|
1276
1251
|
* @param {Callback<[] | undefined> =} callback
|
|
1277
1252
|
**/
|
|
1278
|
-
whitelistedCall: GenericStorageQuery<
|
|
1253
|
+
whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined, H256>;
|
|
1279
1254
|
|
|
1280
1255
|
/**
|
|
1281
1256
|
* Generic pallet storage query
|
|
1282
1257
|
**/
|
|
1283
|
-
[storage: string]: GenericStorageQuery
|
|
1258
|
+
[storage: string]: GenericStorageQuery;
|
|
1284
1259
|
};
|
|
1285
1260
|
/**
|
|
1286
1261
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -1290,7 +1265,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1290
1265
|
*
|
|
1291
1266
|
* @param {Callback<number | undefined> =} callback
|
|
1292
1267
|
**/
|
|
1293
|
-
incompleteSince: GenericStorageQuery<
|
|
1268
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
1294
1269
|
|
|
1295
1270
|
/**
|
|
1296
1271
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -1298,7 +1273,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1298
1273
|
* @param {number} arg
|
|
1299
1274
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
1300
1275
|
**/
|
|
1301
|
-
agenda: GenericStorageQuery<
|
|
1276
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
1302
1277
|
|
|
1303
1278
|
/**
|
|
1304
1279
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -1306,11 +1281,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1306
1281
|
* @param {[number, number]} arg
|
|
1307
1282
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
1308
1283
|
**/
|
|
1309
|
-
retries: GenericStorageQuery<
|
|
1310
|
-
Rv,
|
|
1311
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
1312
|
-
[number, number]
|
|
1313
|
-
>;
|
|
1284
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
1314
1285
|
|
|
1315
1286
|
/**
|
|
1316
1287
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -1321,12 +1292,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1321
1292
|
* @param {FixedBytes<32>} arg
|
|
1322
1293
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1323
1294
|
**/
|
|
1324
|
-
lookup: GenericStorageQuery<
|
|
1295
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
1325
1296
|
|
|
1326
1297
|
/**
|
|
1327
1298
|
* Generic pallet storage query
|
|
1328
1299
|
**/
|
|
1329
|
-
[storage: string]: GenericStorageQuery
|
|
1300
|
+
[storage: string]: GenericStorageQuery;
|
|
1330
1301
|
};
|
|
1331
1302
|
/**
|
|
1332
1303
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -1342,7 +1313,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1342
1313
|
*
|
|
1343
1314
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
1344
1315
|
**/
|
|
1345
|
-
unincludedSegment: GenericStorageQuery<
|
|
1316
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
1346
1317
|
|
|
1347
1318
|
/**
|
|
1348
1319
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -1352,7 +1323,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1352
1323
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
1353
1324
|
**/
|
|
1354
1325
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
1355
|
-
Rv,
|
|
1356
1326
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
1357
1327
|
>;
|
|
1358
1328
|
|
|
@@ -1366,7 +1336,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1366
1336
|
*
|
|
1367
1337
|
* @param {Callback<Bytes> =} callback
|
|
1368
1338
|
**/
|
|
1369
|
-
pendingValidationCode: GenericStorageQuery<
|
|
1339
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
1370
1340
|
|
|
1371
1341
|
/**
|
|
1372
1342
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -1377,7 +1347,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1377
1347
|
*
|
|
1378
1348
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1379
1349
|
**/
|
|
1380
|
-
newValidationCode: GenericStorageQuery<
|
|
1350
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
1381
1351
|
|
|
1382
1352
|
/**
|
|
1383
1353
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -1386,14 +1356,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1386
1356
|
*
|
|
1387
1357
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
1388
1358
|
**/
|
|
1389
|
-
validationData: GenericStorageQuery<
|
|
1359
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
1390
1360
|
|
|
1391
1361
|
/**
|
|
1392
1362
|
* Were the validation data set to notify the relay chain?
|
|
1393
1363
|
*
|
|
1394
1364
|
* @param {Callback<boolean> =} callback
|
|
1395
1365
|
**/
|
|
1396
|
-
didSetValidationCode: GenericStorageQuery<
|
|
1366
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
1397
1367
|
|
|
1398
1368
|
/**
|
|
1399
1369
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -1402,7 +1372,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1402
1372
|
*
|
|
1403
1373
|
* @param {Callback<number> =} callback
|
|
1404
1374
|
**/
|
|
1405
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
1375
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
1406
1376
|
|
|
1407
1377
|
/**
|
|
1408
1378
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -1415,7 +1385,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1415
1385
|
*
|
|
1416
1386
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
1417
1387
|
**/
|
|
1418
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
1388
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
1419
1389
|
|
|
1420
1390
|
/**
|
|
1421
1391
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -1426,7 +1396,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1426
1396
|
*
|
|
1427
1397
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
1428
1398
|
**/
|
|
1429
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
1399
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
1430
1400
|
|
|
1431
1401
|
/**
|
|
1432
1402
|
* The state proof for the last relay parent block.
|
|
@@ -1438,7 +1408,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1438
1408
|
*
|
|
1439
1409
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
1440
1410
|
**/
|
|
1441
|
-
relayStateProof: GenericStorageQuery<
|
|
1411
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
1442
1412
|
|
|
1443
1413
|
/**
|
|
1444
1414
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -1452,7 +1422,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1452
1422
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
1453
1423
|
**/
|
|
1454
1424
|
relevantMessagingState: GenericStorageQuery<
|
|
1455
|
-
Rv,
|
|
1456
1425
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
1457
1426
|
>;
|
|
1458
1427
|
|
|
@@ -1466,7 +1435,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1466
1435
|
*
|
|
1467
1436
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
1468
1437
|
**/
|
|
1469
|
-
hostConfiguration: GenericStorageQuery<
|
|
1438
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
1470
1439
|
|
|
1471
1440
|
/**
|
|
1472
1441
|
* The last downward message queue chain head we have observed.
|
|
@@ -1476,7 +1445,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1476
1445
|
*
|
|
1477
1446
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
1478
1447
|
**/
|
|
1479
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
1448
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
1480
1449
|
|
|
1481
1450
|
/**
|
|
1482
1451
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -1487,7 +1456,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1487
1456
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
1488
1457
|
**/
|
|
1489
1458
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
1490
|
-
Rv,
|
|
1491
1459
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
1492
1460
|
>;
|
|
1493
1461
|
|
|
@@ -1498,7 +1466,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1498
1466
|
*
|
|
1499
1467
|
* @param {Callback<number> =} callback
|
|
1500
1468
|
**/
|
|
1501
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
1469
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
1502
1470
|
|
|
1503
1471
|
/**
|
|
1504
1472
|
* HRMP watermark that was set in a block.
|
|
@@ -1507,7 +1475,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1507
1475
|
*
|
|
1508
1476
|
* @param {Callback<number> =} callback
|
|
1509
1477
|
**/
|
|
1510
|
-
hrmpWatermark: GenericStorageQuery<
|
|
1478
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
1511
1479
|
|
|
1512
1480
|
/**
|
|
1513
1481
|
* HRMP messages that were sent in a block.
|
|
@@ -1516,7 +1484,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1516
1484
|
*
|
|
1517
1485
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
1518
1486
|
**/
|
|
1519
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
1487
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
1520
1488
|
|
|
1521
1489
|
/**
|
|
1522
1490
|
* Upward messages that were sent in a block.
|
|
@@ -1525,21 +1493,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1525
1493
|
*
|
|
1526
1494
|
* @param {Callback<Array<Bytes>> =} callback
|
|
1527
1495
|
**/
|
|
1528
|
-
upwardMessages: GenericStorageQuery<
|
|
1496
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
1529
1497
|
|
|
1530
1498
|
/**
|
|
1531
1499
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
1532
1500
|
*
|
|
1533
1501
|
* @param {Callback<Array<Bytes>> =} callback
|
|
1534
1502
|
**/
|
|
1535
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
1503
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
1536
1504
|
|
|
1537
1505
|
/**
|
|
1538
1506
|
* The factor to multiply the base delivery fee by for UMP.
|
|
1539
1507
|
*
|
|
1540
1508
|
* @param {Callback<FixedU128> =} callback
|
|
1541
1509
|
**/
|
|
1542
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
1510
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
1543
1511
|
|
|
1544
1512
|
/**
|
|
1545
1513
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -1547,7 +1515,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1547
1515
|
*
|
|
1548
1516
|
* @param {Callback<number> =} callback
|
|
1549
1517
|
**/
|
|
1550
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
1518
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
1551
1519
|
|
|
1552
1520
|
/**
|
|
1553
1521
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -1555,7 +1523,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1555
1523
|
*
|
|
1556
1524
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
1557
1525
|
**/
|
|
1558
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
1526
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
1559
1527
|
|
|
1560
1528
|
/**
|
|
1561
1529
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -1563,7 +1531,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1563
1531
|
*
|
|
1564
1532
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
1565
1533
|
**/
|
|
1566
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
1534
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
1567
1535
|
|
|
1568
1536
|
/**
|
|
1569
1537
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -1572,12 +1540,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1572
1540
|
*
|
|
1573
1541
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1574
1542
|
**/
|
|
1575
|
-
customValidationHeadData: GenericStorageQuery<
|
|
1543
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
1576
1544
|
|
|
1577
1545
|
/**
|
|
1578
1546
|
* Generic pallet storage query
|
|
1579
1547
|
**/
|
|
1580
|
-
[storage: string]: GenericStorageQuery
|
|
1548
|
+
[storage: string]: GenericStorageQuery;
|
|
1581
1549
|
};
|
|
1582
1550
|
/**
|
|
1583
1551
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -1587,12 +1555,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1587
1555
|
*
|
|
1588
1556
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
1589
1557
|
**/
|
|
1590
|
-
parachainId: GenericStorageQuery<
|
|
1558
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
1591
1559
|
|
|
1592
1560
|
/**
|
|
1593
1561
|
* Generic pallet storage query
|
|
1594
1562
|
**/
|
|
1595
|
-
[storage: string]: GenericStorageQuery
|
|
1563
|
+
[storage: string]: GenericStorageQuery;
|
|
1596
1564
|
};
|
|
1597
1565
|
/**
|
|
1598
1566
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1603,7 +1571,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1603
1571
|
*
|
|
1604
1572
|
* @param {Callback<bigint> =} callback
|
|
1605
1573
|
**/
|
|
1606
|
-
queryCounter: GenericStorageQuery<
|
|
1574
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1607
1575
|
|
|
1608
1576
|
/**
|
|
1609
1577
|
* The ongoing queries.
|
|
@@ -1611,7 +1579,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1611
1579
|
* @param {bigint} arg
|
|
1612
1580
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1613
1581
|
**/
|
|
1614
|
-
queries: GenericStorageQuery<
|
|
1582
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1615
1583
|
|
|
1616
1584
|
/**
|
|
1617
1585
|
* The existing asset traps.
|
|
@@ -1622,7 +1590,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1622
1590
|
* @param {H256} arg
|
|
1623
1591
|
* @param {Callback<number> =} callback
|
|
1624
1592
|
**/
|
|
1625
|
-
assetTraps: GenericStorageQuery<
|
|
1593
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1626
1594
|
|
|
1627
1595
|
/**
|
|
1628
1596
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1630,7 +1598,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1630
1598
|
*
|
|
1631
1599
|
* @param {Callback<number | undefined> =} callback
|
|
1632
1600
|
**/
|
|
1633
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1601
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1634
1602
|
|
|
1635
1603
|
/**
|
|
1636
1604
|
* The Latest versions that we know various locations support.
|
|
@@ -1639,7 +1607,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1639
1607
|
* @param {Callback<number | undefined> =} callback
|
|
1640
1608
|
**/
|
|
1641
1609
|
supportedVersion: GenericStorageQuery<
|
|
1642
|
-
Rv,
|
|
1643
1610
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1644
1611
|
[number, XcmVersionedLocation]
|
|
1645
1612
|
>;
|
|
@@ -1651,7 +1618,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1651
1618
|
* @param {Callback<bigint | undefined> =} callback
|
|
1652
1619
|
**/
|
|
1653
1620
|
versionNotifiers: GenericStorageQuery<
|
|
1654
|
-
Rv,
|
|
1655
1621
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1656
1622
|
[number, XcmVersionedLocation]
|
|
1657
1623
|
>;
|
|
@@ -1664,7 +1630,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1664
1630
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1665
1631
|
**/
|
|
1666
1632
|
versionNotifyTargets: GenericStorageQuery<
|
|
1667
|
-
Rv,
|
|
1668
1633
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1669
1634
|
[number, XcmVersionedLocation]
|
|
1670
1635
|
>;
|
|
@@ -1676,14 +1641,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1676
1641
|
*
|
|
1677
1642
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1678
1643
|
**/
|
|
1679
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1644
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1680
1645
|
|
|
1681
1646
|
/**
|
|
1682
1647
|
* The current migration's stage, if any.
|
|
1683
1648
|
*
|
|
1684
1649
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1685
1650
|
**/
|
|
1686
|
-
currentMigration: GenericStorageQuery<
|
|
1651
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1687
1652
|
|
|
1688
1653
|
/**
|
|
1689
1654
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1692,7 +1657,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1692
1657
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1693
1658
|
**/
|
|
1694
1659
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1695
|
-
Rv,
|
|
1696
1660
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1697
1661
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1698
1662
|
>;
|
|
@@ -1704,7 +1668,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1704
1668
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1705
1669
|
**/
|
|
1706
1670
|
lockedFungibles: GenericStorageQuery<
|
|
1707
|
-
Rv,
|
|
1708
1671
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1709
1672
|
AccountId32
|
|
1710
1673
|
>;
|
|
@@ -1714,7 +1677,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1714
1677
|
*
|
|
1715
1678
|
* @param {Callback<boolean> =} callback
|
|
1716
1679
|
**/
|
|
1717
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1680
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1718
1681
|
|
|
1719
1682
|
/**
|
|
1720
1683
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1727,7 +1690,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1727
1690
|
*
|
|
1728
1691
|
* @param {Callback<boolean> =} callback
|
|
1729
1692
|
**/
|
|
1730
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1693
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1731
1694
|
|
|
1732
1695
|
/**
|
|
1733
1696
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1739,12 +1702,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1739
1702
|
*
|
|
1740
1703
|
* @param {Callback<StagingXcmV4Xcm | undefined> =} callback
|
|
1741
1704
|
**/
|
|
1742
|
-
recordedXcm: GenericStorageQuery<
|
|
1705
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV4Xcm | undefined>;
|
|
1743
1706
|
|
|
1744
1707
|
/**
|
|
1745
1708
|
* Generic pallet storage query
|
|
1746
1709
|
**/
|
|
1747
|
-
[storage: string]: GenericStorageQuery
|
|
1710
|
+
[storage: string]: GenericStorageQuery;
|
|
1748
1711
|
};
|
|
1749
1712
|
/**
|
|
1750
1713
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1762,7 +1725,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1762
1725
|
*
|
|
1763
1726
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1764
1727
|
**/
|
|
1765
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1728
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1766
1729
|
|
|
1767
1730
|
/**
|
|
1768
1731
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1774,7 +1737,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1774
1737
|
*
|
|
1775
1738
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1776
1739
|
**/
|
|
1777
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1740
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1778
1741
|
|
|
1779
1742
|
/**
|
|
1780
1743
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1783,7 +1746,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1783
1746
|
* @param {Callback<Bytes> =} callback
|
|
1784
1747
|
**/
|
|
1785
1748
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1786
|
-
Rv,
|
|
1787
1749
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1788
1750
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1789
1751
|
>;
|
|
@@ -1795,7 +1757,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1795
1757
|
* @param {Callback<Bytes> =} callback
|
|
1796
1758
|
**/
|
|
1797
1759
|
signalMessages: GenericStorageQuery<
|
|
1798
|
-
Rv,
|
|
1799
1760
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1800
1761
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1801
1762
|
>;
|
|
@@ -1805,14 +1766,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1805
1766
|
*
|
|
1806
1767
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1807
1768
|
**/
|
|
1808
|
-
queueConfig: GenericStorageQuery<
|
|
1769
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1809
1770
|
|
|
1810
1771
|
/**
|
|
1811
1772
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1812
1773
|
*
|
|
1813
1774
|
* @param {Callback<boolean> =} callback
|
|
1814
1775
|
**/
|
|
1815
|
-
queueSuspended: GenericStorageQuery<
|
|
1776
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1816
1777
|
|
|
1817
1778
|
/**
|
|
1818
1779
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1821,7 +1782,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1821
1782
|
* @param {Callback<FixedU128> =} callback
|
|
1822
1783
|
**/
|
|
1823
1784
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1824
|
-
Rv,
|
|
1825
1785
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1826
1786
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1827
1787
|
>;
|
|
@@ -1829,7 +1789,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1829
1789
|
/**
|
|
1830
1790
|
* Generic pallet storage query
|
|
1831
1791
|
**/
|
|
1832
|
-
[storage: string]: GenericStorageQuery
|
|
1792
|
+
[storage: string]: GenericStorageQuery;
|
|
1833
1793
|
};
|
|
1834
1794
|
/**
|
|
1835
1795
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1842,7 +1802,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1842
1802
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1843
1803
|
**/
|
|
1844
1804
|
bookStateFor: GenericStorageQuery<
|
|
1845
|
-
Rv,
|
|
1846
1805
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1847
1806
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1848
1807
|
>;
|
|
@@ -1852,7 +1811,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1852
1811
|
*
|
|
1853
1812
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1854
1813
|
**/
|
|
1855
|
-
serviceHead: GenericStorageQuery<
|
|
1814
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1856
1815
|
|
|
1857
1816
|
/**
|
|
1858
1817
|
* The map of page indices to pages.
|
|
@@ -1861,7 +1820,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1861
1820
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1862
1821
|
**/
|
|
1863
1822
|
pages: GenericStorageQuery<
|
|
1864
|
-
Rv,
|
|
1865
1823
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1866
1824
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1867
1825
|
>;
|
|
@@ -1869,7 +1827,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1869
1827
|
/**
|
|
1870
1828
|
* Generic pallet storage query
|
|
1871
1829
|
**/
|
|
1872
|
-
[storage: string]: GenericStorageQuery
|
|
1830
|
+
[storage: string]: GenericStorageQuery;
|
|
1873
1831
|
};
|
|
1874
1832
|
/**
|
|
1875
1833
|
* Pallet `AssetRegistry`'s storage queries
|
|
@@ -1881,14 +1839,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1881
1839
|
* @param {number} arg
|
|
1882
1840
|
* @param {Callback<PalletAssetRegistryAssetDetails | undefined> =} callback
|
|
1883
1841
|
**/
|
|
1884
|
-
assets: GenericStorageQuery<
|
|
1842
|
+
assets: GenericStorageQuery<(arg: number) => PalletAssetRegistryAssetDetails | undefined, number>;
|
|
1885
1843
|
|
|
1886
1844
|
/**
|
|
1887
1845
|
* Next available asset id. This is sequential id assigned for each new registered asset.
|
|
1888
1846
|
*
|
|
1889
1847
|
* @param {Callback<number> =} callback
|
|
1890
1848
|
**/
|
|
1891
|
-
nextAssetId: GenericStorageQuery<
|
|
1849
|
+
nextAssetId: GenericStorageQuery<() => number>;
|
|
1892
1850
|
|
|
1893
1851
|
/**
|
|
1894
1852
|
* Mapping between asset name and asset id.
|
|
@@ -1896,7 +1854,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1896
1854
|
* @param {BytesLike} arg
|
|
1897
1855
|
* @param {Callback<number | undefined> =} callback
|
|
1898
1856
|
**/
|
|
1899
|
-
assetIds: GenericStorageQuery<
|
|
1857
|
+
assetIds: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1900
1858
|
|
|
1901
1859
|
/**
|
|
1902
1860
|
* Native location of an asset.
|
|
@@ -1904,7 +1862,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1904
1862
|
* @param {number} arg
|
|
1905
1863
|
* @param {Callback<BasiliskRuntimeXcmAssetLocation | undefined> =} callback
|
|
1906
1864
|
**/
|
|
1907
|
-
assetLocations: GenericStorageQuery<
|
|
1865
|
+
assetLocations: GenericStorageQuery<(arg: number) => BasiliskRuntimeXcmAssetLocation | undefined, number>;
|
|
1908
1866
|
|
|
1909
1867
|
/**
|
|
1910
1868
|
* Local asset for native location.
|
|
@@ -1913,7 +1871,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1913
1871
|
* @param {Callback<number | undefined> =} callback
|
|
1914
1872
|
**/
|
|
1915
1873
|
locationAssets: GenericStorageQuery<
|
|
1916
|
-
Rv,
|
|
1917
1874
|
(arg: BasiliskRuntimeXcmAssetLocation) => number | undefined,
|
|
1918
1875
|
BasiliskRuntimeXcmAssetLocation
|
|
1919
1876
|
>;
|
|
@@ -1924,12 +1881,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1924
1881
|
* @param {number} arg
|
|
1925
1882
|
* @param {Callback<PalletAssetRegistryAssetMetadata | undefined> =} callback
|
|
1926
1883
|
**/
|
|
1927
|
-
assetMetadataMap: GenericStorageQuery<
|
|
1884
|
+
assetMetadataMap: GenericStorageQuery<(arg: number) => PalletAssetRegistryAssetMetadata | undefined, number>;
|
|
1928
1885
|
|
|
1929
1886
|
/**
|
|
1930
1887
|
* Generic pallet storage query
|
|
1931
1888
|
**/
|
|
1932
|
-
[storage: string]: GenericStorageQuery
|
|
1889
|
+
[storage: string]: GenericStorageQuery;
|
|
1933
1890
|
};
|
|
1934
1891
|
/**
|
|
1935
1892
|
* Pallet `XYK`'s storage queries
|
|
@@ -1941,7 +1898,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1941
1898
|
* @param {AccountId32Like} arg
|
|
1942
1899
|
* @param {Callback<number> =} callback
|
|
1943
1900
|
**/
|
|
1944
|
-
shareToken: GenericStorageQuery<
|
|
1901
|
+
shareToken: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
1945
1902
|
|
|
1946
1903
|
/**
|
|
1947
1904
|
* Total liquidity in a pool.
|
|
@@ -1949,7 +1906,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1949
1906
|
* @param {AccountId32Like} arg
|
|
1950
1907
|
* @param {Callback<bigint> =} callback
|
|
1951
1908
|
**/
|
|
1952
|
-
totalLiquidity: GenericStorageQuery<
|
|
1909
|
+
totalLiquidity: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
1953
1910
|
|
|
1954
1911
|
/**
|
|
1955
1912
|
* Asset pair in a pool.
|
|
@@ -1957,12 +1914,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1957
1914
|
* @param {AccountId32Like} arg
|
|
1958
1915
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
1959
1916
|
**/
|
|
1960
|
-
poolAssets: GenericStorageQuery<
|
|
1917
|
+
poolAssets: GenericStorageQuery<(arg: AccountId32Like) => [number, number] | undefined, AccountId32>;
|
|
1961
1918
|
|
|
1962
1919
|
/**
|
|
1963
1920
|
* Generic pallet storage query
|
|
1964
1921
|
**/
|
|
1965
|
-
[storage: string]: GenericStorageQuery
|
|
1922
|
+
[storage: string]: GenericStorageQuery;
|
|
1966
1923
|
};
|
|
1967
1924
|
/**
|
|
1968
1925
|
* Pallet `Duster`'s storage queries
|
|
@@ -1974,26 +1931,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1974
1931
|
* @param {AccountId32Like} arg
|
|
1975
1932
|
* @param {Callback<[] | undefined> =} callback
|
|
1976
1933
|
**/
|
|
1977
|
-
accountBlacklist: GenericStorageQuery<
|
|
1934
|
+
accountBlacklist: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
1978
1935
|
|
|
1979
1936
|
/**
|
|
1980
1937
|
* Account to take reward from.
|
|
1981
1938
|
*
|
|
1982
1939
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1983
1940
|
**/
|
|
1984
|
-
rewardAccount: GenericStorageQuery<
|
|
1941
|
+
rewardAccount: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1985
1942
|
|
|
1986
1943
|
/**
|
|
1987
1944
|
* Account to send dust to.
|
|
1988
1945
|
*
|
|
1989
1946
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1990
1947
|
**/
|
|
1991
|
-
dustAccount: GenericStorageQuery<
|
|
1948
|
+
dustAccount: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1992
1949
|
|
|
1993
1950
|
/**
|
|
1994
1951
|
* Generic pallet storage query
|
|
1995
1952
|
**/
|
|
1996
|
-
[storage: string]: GenericStorageQuery
|
|
1953
|
+
[storage: string]: GenericStorageQuery;
|
|
1997
1954
|
};
|
|
1998
1955
|
/**
|
|
1999
1956
|
* Pallet `LBP`'s storage queries
|
|
@@ -2005,7 +1962,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2005
1962
|
* @param {AccountId32Like} arg
|
|
2006
1963
|
* @param {Callback<PalletLbpPool | undefined> =} callback
|
|
2007
1964
|
**/
|
|
2008
|
-
poolData: GenericStorageQuery<
|
|
1965
|
+
poolData: GenericStorageQuery<(arg: AccountId32Like) => PalletLbpPool | undefined, AccountId32>;
|
|
2009
1966
|
|
|
2010
1967
|
/**
|
|
2011
1968
|
* Storage used for tracking existing fee collectors
|
|
@@ -2014,12 +1971,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2014
1971
|
* @param {[AccountId32Like, number]} arg
|
|
2015
1972
|
* @param {Callback<boolean> =} callback
|
|
2016
1973
|
**/
|
|
2017
|
-
feeCollectorWithAsset: GenericStorageQuery<
|
|
1974
|
+
feeCollectorWithAsset: GenericStorageQuery<(arg: [AccountId32Like, number]) => boolean, [AccountId32, number]>;
|
|
2018
1975
|
|
|
2019
1976
|
/**
|
|
2020
1977
|
* Generic pallet storage query
|
|
2021
1978
|
**/
|
|
2022
|
-
[storage: string]: GenericStorageQuery
|
|
1979
|
+
[storage: string]: GenericStorageQuery;
|
|
2023
1980
|
};
|
|
2024
1981
|
/**
|
|
2025
1982
|
* Pallet `NFT`'s storage queries
|
|
@@ -2031,7 +1988,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2031
1988
|
* @param {bigint} arg
|
|
2032
1989
|
* @param {Callback<PalletNftCollectionInfo | undefined> =} callback
|
|
2033
1990
|
**/
|
|
2034
|
-
collections: GenericStorageQuery<
|
|
1991
|
+
collections: GenericStorageQuery<(arg: bigint) => PalletNftCollectionInfo | undefined, bigint>;
|
|
2035
1992
|
|
|
2036
1993
|
/**
|
|
2037
1994
|
* Stores item info
|
|
@@ -2039,12 +1996,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2039
1996
|
* @param {[bigint, bigint]} arg
|
|
2040
1997
|
* @param {Callback<PalletNftItemInfo | undefined> =} callback
|
|
2041
1998
|
**/
|
|
2042
|
-
items: GenericStorageQuery<
|
|
1999
|
+
items: GenericStorageQuery<(arg: [bigint, bigint]) => PalletNftItemInfo | undefined, [bigint, bigint]>;
|
|
2043
2000
|
|
|
2044
2001
|
/**
|
|
2045
2002
|
* Generic pallet storage query
|
|
2046
2003
|
**/
|
|
2047
|
-
[storage: string]: GenericStorageQuery
|
|
2004
|
+
[storage: string]: GenericStorageQuery;
|
|
2048
2005
|
};
|
|
2049
2006
|
/**
|
|
2050
2007
|
* Pallet `Marketplace`'s storage queries
|
|
@@ -2056,7 +2013,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2056
2013
|
* @param {[bigint, bigint]} arg
|
|
2057
2014
|
* @param {Callback<bigint | undefined> =} callback
|
|
2058
2015
|
**/
|
|
2059
|
-
prices: GenericStorageQuery<
|
|
2016
|
+
prices: GenericStorageQuery<(arg: [bigint, bigint]) => bigint | undefined, [bigint, bigint]>;
|
|
2060
2017
|
|
|
2061
2018
|
/**
|
|
2062
2019
|
* Stores offer info
|
|
@@ -2065,7 +2022,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2065
2022
|
* @param {Callback<PalletMarketplaceOffer | undefined> =} callback
|
|
2066
2023
|
**/
|
|
2067
2024
|
offers: GenericStorageQuery<
|
|
2068
|
-
Rv,
|
|
2069
2025
|
(arg: [[bigint, bigint], AccountId32Like]) => PalletMarketplaceOffer | undefined,
|
|
2070
2026
|
[[bigint, bigint], AccountId32]
|
|
2071
2027
|
>;
|
|
@@ -2077,7 +2033,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2077
2033
|
* @param {Callback<PalletMarketplaceRoyalty | undefined> =} callback
|
|
2078
2034
|
**/
|
|
2079
2035
|
marketplaceItems: GenericStorageQuery<
|
|
2080
|
-
Rv,
|
|
2081
2036
|
(arg: [bigint, bigint]) => PalletMarketplaceRoyalty | undefined,
|
|
2082
2037
|
[bigint, bigint]
|
|
2083
2038
|
>;
|
|
@@ -2085,7 +2040,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2085
2040
|
/**
|
|
2086
2041
|
* Generic pallet storage query
|
|
2087
2042
|
**/
|
|
2088
|
-
[storage: string]: GenericStorageQuery
|
|
2043
|
+
[storage: string]: GenericStorageQuery;
|
|
2089
2044
|
};
|
|
2090
2045
|
/**
|
|
2091
2046
|
* Pallet `TransactionPause`'s storage queries
|
|
@@ -2099,12 +2054,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2099
2054
|
* @param {[BytesLike, BytesLike]} arg
|
|
2100
2055
|
* @param {Callback<[] | undefined> =} callback
|
|
2101
2056
|
**/
|
|
2102
|
-
pausedTransactions: GenericStorageQuery<
|
|
2057
|
+
pausedTransactions: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
|
|
2103
2058
|
|
|
2104
2059
|
/**
|
|
2105
2060
|
* Generic pallet storage query
|
|
2106
2061
|
**/
|
|
2107
|
-
[storage: string]: GenericStorageQuery
|
|
2062
|
+
[storage: string]: GenericStorageQuery;
|
|
2108
2063
|
};
|
|
2109
2064
|
/**
|
|
2110
2065
|
* Pallet `Router`'s storage queries
|
|
@@ -2115,7 +2070,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2115
2070
|
*
|
|
2116
2071
|
* @param {Callback<PalletRouteExecutorSkipEd | undefined> =} callback
|
|
2117
2072
|
**/
|
|
2118
|
-
skipEd: GenericStorageQuery<
|
|
2073
|
+
skipEd: GenericStorageQuery<() => PalletRouteExecutorSkipEd | undefined>;
|
|
2119
2074
|
|
|
2120
2075
|
/**
|
|
2121
2076
|
* Storing routes for asset pairs
|
|
@@ -2124,7 +2079,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2124
2079
|
* @param {Callback<Array<HydradxTraitsRouterTrade> | undefined> =} callback
|
|
2125
2080
|
**/
|
|
2126
2081
|
routes: GenericStorageQuery<
|
|
2127
|
-
Rv,
|
|
2128
2082
|
(arg: HydradxTraitsRouterAssetPair) => Array<HydradxTraitsRouterTrade> | undefined,
|
|
2129
2083
|
HydradxTraitsRouterAssetPair
|
|
2130
2084
|
>;
|
|
@@ -2132,7 +2086,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2132
2086
|
/**
|
|
2133
2087
|
* Generic pallet storage query
|
|
2134
2088
|
**/
|
|
2135
|
-
[storage: string]: GenericStorageQuery
|
|
2089
|
+
[storage: string]: GenericStorageQuery;
|
|
2136
2090
|
};
|
|
2137
2091
|
/**
|
|
2138
2092
|
* Pallet `XYKWarehouseLM`'s storage queries
|
|
@@ -2143,20 +2097,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2143
2097
|
*
|
|
2144
2098
|
* @param {Callback<number> =} callback
|
|
2145
2099
|
**/
|
|
2146
|
-
farmSequencer: GenericStorageQuery<
|
|
2100
|
+
farmSequencer: GenericStorageQuery<() => number>;
|
|
2147
2101
|
|
|
2148
2102
|
/**
|
|
2149
2103
|
*
|
|
2150
2104
|
* @param {Callback<bigint> =} callback
|
|
2151
2105
|
**/
|
|
2152
|
-
depositSequencer: GenericStorageQuery<
|
|
2106
|
+
depositSequencer: GenericStorageQuery<() => bigint>;
|
|
2153
2107
|
|
|
2154
2108
|
/**
|
|
2155
2109
|
*
|
|
2156
2110
|
* @param {number} arg
|
|
2157
2111
|
* @param {Callback<PalletLiquidityMiningGlobalFarmData | undefined> =} callback
|
|
2158
2112
|
**/
|
|
2159
|
-
globalFarm: GenericStorageQuery<
|
|
2113
|
+
globalFarm: GenericStorageQuery<(arg: number) => PalletLiquidityMiningGlobalFarmData | undefined, number>;
|
|
2160
2114
|
|
|
2161
2115
|
/**
|
|
2162
2116
|
* Yield farm details.
|
|
@@ -2165,7 +2119,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2165
2119
|
* @param {Callback<PalletLiquidityMiningYieldFarmData | undefined> =} callback
|
|
2166
2120
|
**/
|
|
2167
2121
|
yieldFarm: GenericStorageQuery<
|
|
2168
|
-
Rv,
|
|
2169
2122
|
(arg: [AccountId32Like, number, number]) => PalletLiquidityMiningYieldFarmData | undefined,
|
|
2170
2123
|
[AccountId32, number, number]
|
|
2171
2124
|
>;
|
|
@@ -2176,7 +2129,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2176
2129
|
* @param {bigint} arg
|
|
2177
2130
|
* @param {Callback<PalletLiquidityMiningDepositData | undefined> =} callback
|
|
2178
2131
|
**/
|
|
2179
|
-
deposit: GenericStorageQuery<
|
|
2132
|
+
deposit: GenericStorageQuery<(arg: bigint) => PalletLiquidityMiningDepositData | undefined, bigint>;
|
|
2180
2133
|
|
|
2181
2134
|
/**
|
|
2182
2135
|
* Active(farms able to receive LP shares deposits) yield farms.
|
|
@@ -2184,16 +2137,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2184
2137
|
* @param {[AccountId32Like, number]} arg
|
|
2185
2138
|
* @param {Callback<number | undefined> =} callback
|
|
2186
2139
|
**/
|
|
2187
|
-
activeYieldFarm: GenericStorageQuery<
|
|
2188
|
-
Rv,
|
|
2189
|
-
(arg: [AccountId32Like, number]) => number | undefined,
|
|
2190
|
-
[AccountId32, number]
|
|
2191
|
-
>;
|
|
2140
|
+
activeYieldFarm: GenericStorageQuery<(arg: [AccountId32Like, number]) => number | undefined, [AccountId32, number]>;
|
|
2192
2141
|
|
|
2193
2142
|
/**
|
|
2194
2143
|
* Generic pallet storage query
|
|
2195
2144
|
**/
|
|
2196
|
-
[storage: string]: GenericStorageQuery
|
|
2145
|
+
[storage: string]: GenericStorageQuery;
|
|
2197
2146
|
};
|
|
2198
2147
|
/**
|
|
2199
2148
|
* Pallet `CollatorRewards`'s storage queries
|
|
@@ -2205,12 +2154,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2205
2154
|
* @param {number} arg
|
|
2206
2155
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2207
2156
|
**/
|
|
2208
|
-
collators: GenericStorageQuery<
|
|
2157
|
+
collators: GenericStorageQuery<(arg: number) => Array<AccountId32>, number>;
|
|
2209
2158
|
|
|
2210
2159
|
/**
|
|
2211
2160
|
* Generic pallet storage query
|
|
2212
2161
|
**/
|
|
2213
|
-
[storage: string]: GenericStorageQuery
|
|
2162
|
+
[storage: string]: GenericStorageQuery;
|
|
2214
2163
|
};
|
|
2215
2164
|
/**
|
|
2216
2165
|
* Pallet `Broadcast`'s storage queries
|
|
@@ -2221,14 +2170,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2221
2170
|
*
|
|
2222
2171
|
* @param {Callback<number> =} callback
|
|
2223
2172
|
**/
|
|
2224
|
-
incrementalId: GenericStorageQuery<
|
|
2173
|
+
incrementalId: GenericStorageQuery<() => number>;
|
|
2225
2174
|
|
|
2226
2175
|
/**
|
|
2227
2176
|
* Execution context to figure out where the trade is originated from
|
|
2228
2177
|
*
|
|
2229
2178
|
* @param {Callback<Array<PalletBroadcastExecutionType>> =} callback
|
|
2230
2179
|
**/
|
|
2231
|
-
executionContext: GenericStorageQuery<
|
|
2180
|
+
executionContext: GenericStorageQuery<() => Array<PalletBroadcastExecutionType>>;
|
|
2232
2181
|
|
|
2233
2182
|
/**
|
|
2234
2183
|
* To handle the overflow of increasing the execution context.
|
|
@@ -2237,12 +2186,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2237
2186
|
*
|
|
2238
2187
|
* @param {Callback<number> =} callback
|
|
2239
2188
|
**/
|
|
2240
|
-
overflowCount: GenericStorageQuery<
|
|
2189
|
+
overflowCount: GenericStorageQuery<() => number>;
|
|
2241
2190
|
|
|
2242
2191
|
/**
|
|
2243
2192
|
* Generic pallet storage query
|
|
2244
2193
|
**/
|
|
2245
|
-
[storage: string]: GenericStorageQuery
|
|
2194
|
+
[storage: string]: GenericStorageQuery;
|
|
2246
2195
|
};
|
|
2247
2196
|
/**
|
|
2248
2197
|
* Pallet `EmaOracle`'s storage queries
|
|
@@ -2253,7 +2202,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2253
2202
|
*
|
|
2254
2203
|
* @param {Callback<Array<[[FixedBytes<8>, [number, number]], PalletEmaOracleOracleEntry]>> =} callback
|
|
2255
2204
|
**/
|
|
2256
|
-
accumulator: GenericStorageQuery<
|
|
2205
|
+
accumulator: GenericStorageQuery<() => Array<[[FixedBytes<8>, [number, number]], PalletEmaOracleOracleEntry]>>;
|
|
2257
2206
|
|
|
2258
2207
|
/**
|
|
2259
2208
|
* Oracle storage keyed by data source, involved asset ids and the period length of the oracle.
|
|
@@ -2264,7 +2213,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2264
2213
|
* @param {Callback<[PalletEmaOracleOracleEntry, number] | undefined> =} callback
|
|
2265
2214
|
**/
|
|
2266
2215
|
oracles: GenericStorageQuery<
|
|
2267
|
-
Rv,
|
|
2268
2216
|
(
|
|
2269
2217
|
arg: [FixedBytes<8>, [number, number], HydradxTraitsOracleOraclePeriod],
|
|
2270
2218
|
) => [PalletEmaOracleOracleEntry, number] | undefined,
|
|
@@ -2276,12 +2224,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2276
2224
|
*
|
|
2277
2225
|
* @param {Callback<Array<[FixedBytes<8>, [number, number]]>> =} callback
|
|
2278
2226
|
**/
|
|
2279
|
-
whitelistedAssets: GenericStorageQuery<
|
|
2227
|
+
whitelistedAssets: GenericStorageQuery<() => Array<[FixedBytes<8>, [number, number]]>>;
|
|
2280
2228
|
|
|
2281
2229
|
/**
|
|
2282
2230
|
* Generic pallet storage query
|
|
2283
2231
|
**/
|
|
2284
|
-
[storage: string]: GenericStorageQuery
|
|
2232
|
+
[storage: string]: GenericStorageQuery;
|
|
2285
2233
|
};
|
|
2286
2234
|
/**
|
|
2287
2235
|
* Pallet `Tokens`'s storage queries
|
|
@@ -2293,7 +2241,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2293
2241
|
* @param {number} arg
|
|
2294
2242
|
* @param {Callback<bigint> =} callback
|
|
2295
2243
|
**/
|
|
2296
|
-
totalIssuance: GenericStorageQuery<
|
|
2244
|
+
totalIssuance: GenericStorageQuery<(arg: number) => bigint, number>;
|
|
2297
2245
|
|
|
2298
2246
|
/**
|
|
2299
2247
|
* Any liquidity locks of a token type under an account.
|
|
@@ -2302,11 +2250,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2302
2250
|
* @param {[AccountId32Like, number]} arg
|
|
2303
2251
|
* @param {Callback<Array<OrmlTokensBalanceLock>> =} callback
|
|
2304
2252
|
**/
|
|
2305
|
-
locks: GenericStorageQuery<
|
|
2306
|
-
Rv,
|
|
2307
|
-
(arg: [AccountId32Like, number]) => Array<OrmlTokensBalanceLock>,
|
|
2308
|
-
[AccountId32, number]
|
|
2309
|
-
>;
|
|
2253
|
+
locks: GenericStorageQuery<(arg: [AccountId32Like, number]) => Array<OrmlTokensBalanceLock>, [AccountId32, number]>;
|
|
2310
2254
|
|
|
2311
2255
|
/**
|
|
2312
2256
|
* The balance of a token type under an account.
|
|
@@ -2319,7 +2263,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2319
2263
|
* @param {[AccountId32Like, number]} arg
|
|
2320
2264
|
* @param {Callback<OrmlTokensAccountData> =} callback
|
|
2321
2265
|
**/
|
|
2322
|
-
accounts: GenericStorageQuery<
|
|
2266
|
+
accounts: GenericStorageQuery<(arg: [AccountId32Like, number]) => OrmlTokensAccountData, [AccountId32, number]>;
|
|
2323
2267
|
|
|
2324
2268
|
/**
|
|
2325
2269
|
* Named reserves on some account balances.
|
|
@@ -2328,7 +2272,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2328
2272
|
* @param {Callback<Array<OrmlTokensReserveData>> =} callback
|
|
2329
2273
|
**/
|
|
2330
2274
|
reserves: GenericStorageQuery<
|
|
2331
|
-
Rv,
|
|
2332
2275
|
(arg: [AccountId32Like, number]) => Array<OrmlTokensReserveData>,
|
|
2333
2276
|
[AccountId32, number]
|
|
2334
2277
|
>;
|
|
@@ -2336,7 +2279,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2336
2279
|
/**
|
|
2337
2280
|
* Generic pallet storage query
|
|
2338
2281
|
**/
|
|
2339
|
-
[storage: string]: GenericStorageQuery
|
|
2282
|
+
[storage: string]: GenericStorageQuery;
|
|
2340
2283
|
};
|
|
2341
2284
|
/**
|
|
2342
2285
|
* Pallet `UnknownTokens`'s storage queries
|
|
@@ -2352,7 +2295,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2352
2295
|
* @param {Callback<bigint> =} callback
|
|
2353
2296
|
**/
|
|
2354
2297
|
concreteFungibleBalances: GenericStorageQuery<
|
|
2355
|
-
Rv,
|
|
2356
2298
|
(arg: [StagingXcmV4Location, StagingXcmV4Location]) => bigint,
|
|
2357
2299
|
[StagingXcmV4Location, StagingXcmV4Location]
|
|
2358
2300
|
>;
|
|
@@ -2367,7 +2309,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2367
2309
|
* @param {Callback<bigint> =} callback
|
|
2368
2310
|
**/
|
|
2369
2311
|
abstractFungibleBalances: GenericStorageQuery<
|
|
2370
|
-
Rv,
|
|
2371
2312
|
(arg: [StagingXcmV4Location, BytesLike]) => bigint,
|
|
2372
2313
|
[StagingXcmV4Location, Bytes]
|
|
2373
2314
|
>;
|
|
@@ -2375,6 +2316,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2375
2316
|
/**
|
|
2376
2317
|
* Generic pallet storage query
|
|
2377
2318
|
**/
|
|
2378
|
-
[storage: string]: GenericStorageQuery
|
|
2319
|
+
[storage: string]: GenericStorageQuery;
|
|
2379
2320
|
};
|
|
2380
2321
|
}
|