@dedot/chaintypes 0.194.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/astar/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,
|
|
@@ -113,7 +113,7 @@ import type {
|
|
|
113
113
|
PalletMigrationsMigrationCursor,
|
|
114
114
|
} from './types.js';
|
|
115
115
|
|
|
116
|
-
export interface ChainStorage
|
|
116
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
117
117
|
/**
|
|
118
118
|
* Pallet `System`'s storage queries
|
|
119
119
|
**/
|
|
@@ -124,35 +124,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
124
124
|
* @param {AccountId32Like} arg
|
|
125
125
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
126
126
|
**/
|
|
127
|
-
account: GenericStorageQuery<
|
|
127
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Total extrinsics count for the current block.
|
|
131
131
|
*
|
|
132
132
|
* @param {Callback<number | undefined> =} callback
|
|
133
133
|
**/
|
|
134
|
-
extrinsicCount: GenericStorageQuery<
|
|
134
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Whether all inherents have been applied.
|
|
138
138
|
*
|
|
139
139
|
* @param {Callback<boolean> =} callback
|
|
140
140
|
**/
|
|
141
|
-
inherentsApplied: GenericStorageQuery<
|
|
141
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* The current weight for the block.
|
|
145
145
|
*
|
|
146
146
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
147
147
|
**/
|
|
148
|
-
blockWeight: GenericStorageQuery<
|
|
148
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
152
152
|
*
|
|
153
153
|
* @param {Callback<number | undefined> =} callback
|
|
154
154
|
**/
|
|
155
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
155
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Map of block numbers to block hashes.
|
|
@@ -160,7 +160,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
160
160
|
* @param {number} arg
|
|
161
161
|
* @param {Callback<H256> =} callback
|
|
162
162
|
**/
|
|
163
|
-
blockHash: GenericStorageQuery<
|
|
163
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -168,28 +168,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
168
168
|
* @param {number} arg
|
|
169
169
|
* @param {Callback<Bytes> =} callback
|
|
170
170
|
**/
|
|
171
|
-
extrinsicData: GenericStorageQuery<
|
|
171
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* The current block number being processed. Set by `execute_block`.
|
|
175
175
|
*
|
|
176
176
|
* @param {Callback<number> =} callback
|
|
177
177
|
**/
|
|
178
|
-
number: GenericStorageQuery<
|
|
178
|
+
number: GenericStorageQuery<() => number>;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Hash of the previous block.
|
|
182
182
|
*
|
|
183
183
|
* @param {Callback<H256> =} callback
|
|
184
184
|
**/
|
|
185
|
-
parentHash: GenericStorageQuery<
|
|
185
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Digest of the current block, also part of the block header.
|
|
189
189
|
*
|
|
190
190
|
* @param {Callback<Digest> =} callback
|
|
191
191
|
**/
|
|
192
|
-
digest: GenericStorageQuery<
|
|
192
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* Events deposited for the current block.
|
|
@@ -202,14 +202,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
202
202
|
*
|
|
203
203
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
204
204
|
**/
|
|
205
|
-
events: GenericStorageQuery<
|
|
205
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* The number of events in the `Events<T>` list.
|
|
209
209
|
*
|
|
210
210
|
* @param {Callback<number> =} callback
|
|
211
211
|
**/
|
|
212
|
-
eventCount: GenericStorageQuery<
|
|
212
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -226,21 +226,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
226
226
|
* @param {H256} arg
|
|
227
227
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
228
228
|
**/
|
|
229
|
-
eventTopics: GenericStorageQuery<
|
|
229
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
233
233
|
*
|
|
234
234
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
235
235
|
**/
|
|
236
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
236
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
239
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
240
240
|
*
|
|
241
241
|
* @param {Callback<boolean> =} callback
|
|
242
242
|
**/
|
|
243
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
243
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -248,26 +248,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
248
248
|
*
|
|
249
249
|
* @param {Callback<boolean> =} callback
|
|
250
250
|
**/
|
|
251
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
251
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* The execution phase of the block.
|
|
255
255
|
*
|
|
256
256
|
* @param {Callback<Phase | undefined> =} callback
|
|
257
257
|
**/
|
|
258
|
-
executionPhase: GenericStorageQuery<
|
|
258
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* `Some` if a code upgrade has been authorized.
|
|
262
262
|
*
|
|
263
263
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
264
264
|
**/
|
|
265
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
265
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Generic pallet storage query
|
|
269
269
|
**/
|
|
270
|
-
[storage: string]: GenericStorageQuery
|
|
270
|
+
[storage: string]: GenericStorageQuery;
|
|
271
271
|
};
|
|
272
272
|
/**
|
|
273
273
|
* Pallet `Identity`'s storage queries
|
|
@@ -282,7 +282,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
282
282
|
* @param {AccountId32Like} arg
|
|
283
283
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
284
284
|
**/
|
|
285
|
-
identityOf: GenericStorageQuery<
|
|
285
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Identifies the primary username of an account.
|
|
@@ -290,7 +290,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
290
290
|
* @param {AccountId32Like} arg
|
|
291
291
|
* @param {Callback<Bytes | undefined> =} callback
|
|
292
292
|
**/
|
|
293
|
-
usernameOf: GenericStorageQuery<
|
|
293
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -299,7 +299,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
299
299
|
* @param {AccountId32Like} arg
|
|
300
300
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
301
301
|
**/
|
|
302
|
-
superOf: GenericStorageQuery<
|
|
302
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* Alternative "sub" identities of this account.
|
|
@@ -311,7 +311,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
311
311
|
* @param {AccountId32Like} arg
|
|
312
312
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
313
313
|
**/
|
|
314
|
-
subsOf: GenericStorageQuery<
|
|
314
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -321,7 +321,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
321
321
|
*
|
|
322
322
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
323
323
|
**/
|
|
324
|
-
registrars: GenericStorageQuery<
|
|
324
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -329,7 +329,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
329
329
|
* @param {BytesLike} arg
|
|
330
330
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
331
331
|
**/
|
|
332
|
-
authorityOf: GenericStorageQuery<
|
|
332
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
335
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -342,7 +342,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
342
342
|
* @param {BytesLike} arg
|
|
343
343
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
344
344
|
**/
|
|
345
|
-
usernameInfoOf: GenericStorageQuery<
|
|
345
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
348
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -356,7 +356,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
356
356
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
357
357
|
**/
|
|
358
358
|
pendingUsernames: GenericStorageQuery<
|
|
359
|
-
Rv,
|
|
360
359
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
361
360
|
Bytes
|
|
362
361
|
>;
|
|
@@ -370,12 +369,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
370
369
|
* @param {BytesLike} arg
|
|
371
370
|
* @param {Callback<number | undefined> =} callback
|
|
372
371
|
**/
|
|
373
|
-
unbindingUsernames: GenericStorageQuery<
|
|
372
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
374
373
|
|
|
375
374
|
/**
|
|
376
375
|
* Generic pallet storage query
|
|
377
376
|
**/
|
|
378
|
-
[storage: string]: GenericStorageQuery
|
|
377
|
+
[storage: string]: GenericStorageQuery;
|
|
379
378
|
};
|
|
380
379
|
/**
|
|
381
380
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -386,7 +385,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
386
385
|
*
|
|
387
386
|
* @param {Callback<bigint> =} callback
|
|
388
387
|
**/
|
|
389
|
-
now: GenericStorageQuery<
|
|
388
|
+
now: GenericStorageQuery<() => bigint>;
|
|
390
389
|
|
|
391
390
|
/**
|
|
392
391
|
* Whether the timestamp has been updated in this block.
|
|
@@ -396,12 +395,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
396
395
|
*
|
|
397
396
|
* @param {Callback<boolean> =} callback
|
|
398
397
|
**/
|
|
399
|
-
didUpdate: GenericStorageQuery<
|
|
398
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
400
399
|
|
|
401
400
|
/**
|
|
402
401
|
* Generic pallet storage query
|
|
403
402
|
**/
|
|
404
|
-
[storage: string]: GenericStorageQuery
|
|
403
|
+
[storage: string]: GenericStorageQuery;
|
|
405
404
|
};
|
|
406
405
|
/**
|
|
407
406
|
* Pallet `Multisig`'s storage queries
|
|
@@ -414,7 +413,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
414
413
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
415
414
|
**/
|
|
416
415
|
multisigs: GenericStorageQuery<
|
|
417
|
-
Rv,
|
|
418
416
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
419
417
|
[AccountId32, FixedBytes<32>]
|
|
420
418
|
>;
|
|
@@ -422,7 +420,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
422
420
|
/**
|
|
423
421
|
* Generic pallet storage query
|
|
424
422
|
**/
|
|
425
|
-
[storage: string]: GenericStorageQuery
|
|
423
|
+
[storage: string]: GenericStorageQuery;
|
|
426
424
|
};
|
|
427
425
|
/**
|
|
428
426
|
* Pallet `Proxy`'s storage queries
|
|
@@ -435,11 +433,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
435
433
|
* @param {AccountId32Like} arg
|
|
436
434
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
437
435
|
**/
|
|
438
|
-
proxies: GenericStorageQuery<
|
|
439
|
-
Rv,
|
|
440
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
441
|
-
AccountId32
|
|
442
|
-
>;
|
|
436
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
443
437
|
|
|
444
438
|
/**
|
|
445
439
|
* The announcements made by the proxy (key).
|
|
@@ -447,16 +441,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
447
441
|
* @param {AccountId32Like} arg
|
|
448
442
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
449
443
|
**/
|
|
450
|
-
announcements: GenericStorageQuery<
|
|
451
|
-
Rv,
|
|
452
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
453
|
-
AccountId32
|
|
454
|
-
>;
|
|
444
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
455
445
|
|
|
456
446
|
/**
|
|
457
447
|
* Generic pallet storage query
|
|
458
448
|
**/
|
|
459
|
-
[storage: string]: GenericStorageQuery
|
|
449
|
+
[storage: string]: GenericStorageQuery;
|
|
460
450
|
};
|
|
461
451
|
/**
|
|
462
452
|
* Pallet `Scheduler`'s storage queries
|
|
@@ -466,7 +456,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
466
456
|
*
|
|
467
457
|
* @param {Callback<number | undefined> =} callback
|
|
468
458
|
**/
|
|
469
|
-
incompleteSince: GenericStorageQuery<
|
|
459
|
+
incompleteSince: GenericStorageQuery<() => number | undefined>;
|
|
470
460
|
|
|
471
461
|
/**
|
|
472
462
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -474,7 +464,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
474
464
|
* @param {number} arg
|
|
475
465
|
* @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
|
|
476
466
|
**/
|
|
477
|
-
agenda: GenericStorageQuery<
|
|
467
|
+
agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>, number>;
|
|
478
468
|
|
|
479
469
|
/**
|
|
480
470
|
* Retry configurations for items to be executed, indexed by task address.
|
|
@@ -482,11 +472,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
482
472
|
* @param {[number, number]} arg
|
|
483
473
|
* @param {Callback<PalletSchedulerRetryConfig | undefined> =} callback
|
|
484
474
|
**/
|
|
485
|
-
retries: GenericStorageQuery<
|
|
486
|
-
Rv,
|
|
487
|
-
(arg: [number, number]) => PalletSchedulerRetryConfig | undefined,
|
|
488
|
-
[number, number]
|
|
489
|
-
>;
|
|
475
|
+
retries: GenericStorageQuery<(arg: [number, number]) => PalletSchedulerRetryConfig | undefined, [number, number]>;
|
|
490
476
|
|
|
491
477
|
/**
|
|
492
478
|
* Lookup from a name to the block number and index of the task.
|
|
@@ -497,12 +483,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
497
483
|
* @param {FixedBytes<32>} arg
|
|
498
484
|
* @param {Callback<[number, number] | undefined> =} callback
|
|
499
485
|
**/
|
|
500
|
-
lookup: GenericStorageQuery<
|
|
486
|
+
lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined, FixedBytes<32>>;
|
|
501
487
|
|
|
502
488
|
/**
|
|
503
489
|
* Generic pallet storage query
|
|
504
490
|
**/
|
|
505
|
-
[storage: string]: GenericStorageQuery
|
|
491
|
+
[storage: string]: GenericStorageQuery;
|
|
506
492
|
};
|
|
507
493
|
/**
|
|
508
494
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -518,7 +504,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
518
504
|
*
|
|
519
505
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
520
506
|
**/
|
|
521
|
-
unincludedSegment: GenericStorageQuery<
|
|
507
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
522
508
|
|
|
523
509
|
/**
|
|
524
510
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -528,7 +514,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
528
514
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
529
515
|
**/
|
|
530
516
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
531
|
-
Rv,
|
|
532
517
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
533
518
|
>;
|
|
534
519
|
|
|
@@ -542,7 +527,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
542
527
|
*
|
|
543
528
|
* @param {Callback<Bytes> =} callback
|
|
544
529
|
**/
|
|
545
|
-
pendingValidationCode: GenericStorageQuery<
|
|
530
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
546
531
|
|
|
547
532
|
/**
|
|
548
533
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -553,7 +538,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
553
538
|
*
|
|
554
539
|
* @param {Callback<Bytes | undefined> =} callback
|
|
555
540
|
**/
|
|
556
|
-
newValidationCode: GenericStorageQuery<
|
|
541
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
557
542
|
|
|
558
543
|
/**
|
|
559
544
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -562,14 +547,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
562
547
|
*
|
|
563
548
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
564
549
|
**/
|
|
565
|
-
validationData: GenericStorageQuery<
|
|
550
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
566
551
|
|
|
567
552
|
/**
|
|
568
553
|
* Were the validation data set to notify the relay chain?
|
|
569
554
|
*
|
|
570
555
|
* @param {Callback<boolean> =} callback
|
|
571
556
|
**/
|
|
572
|
-
didSetValidationCode: GenericStorageQuery<
|
|
557
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
573
558
|
|
|
574
559
|
/**
|
|
575
560
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -578,7 +563,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
578
563
|
*
|
|
579
564
|
* @param {Callback<number> =} callback
|
|
580
565
|
**/
|
|
581
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
566
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
582
567
|
|
|
583
568
|
/**
|
|
584
569
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -591,7 +576,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
591
576
|
*
|
|
592
577
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
593
578
|
**/
|
|
594
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
579
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
595
580
|
|
|
596
581
|
/**
|
|
597
582
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -602,7 +587,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
602
587
|
*
|
|
603
588
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
604
589
|
**/
|
|
605
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
590
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
606
591
|
|
|
607
592
|
/**
|
|
608
593
|
* The state proof for the last relay parent block.
|
|
@@ -614,7 +599,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
614
599
|
*
|
|
615
600
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
616
601
|
**/
|
|
617
|
-
relayStateProof: GenericStorageQuery<
|
|
602
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
618
603
|
|
|
619
604
|
/**
|
|
620
605
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -628,7 +613,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
628
613
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
629
614
|
**/
|
|
630
615
|
relevantMessagingState: GenericStorageQuery<
|
|
631
|
-
Rv,
|
|
632
616
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
633
617
|
>;
|
|
634
618
|
|
|
@@ -642,7 +626,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
642
626
|
*
|
|
643
627
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
644
628
|
**/
|
|
645
|
-
hostConfiguration: GenericStorageQuery<
|
|
629
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
646
630
|
|
|
647
631
|
/**
|
|
648
632
|
* The last downward message queue chain head we have observed.
|
|
@@ -652,7 +636,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
652
636
|
*
|
|
653
637
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
654
638
|
**/
|
|
655
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
639
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
656
640
|
|
|
657
641
|
/**
|
|
658
642
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -663,7 +647,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
663
647
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
664
648
|
**/
|
|
665
649
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
666
|
-
Rv,
|
|
667
650
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
668
651
|
>;
|
|
669
652
|
|
|
@@ -674,7 +657,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
674
657
|
*
|
|
675
658
|
* @param {Callback<number> =} callback
|
|
676
659
|
**/
|
|
677
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
660
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
678
661
|
|
|
679
662
|
/**
|
|
680
663
|
* HRMP watermark that was set in a block.
|
|
@@ -683,7 +666,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
683
666
|
*
|
|
684
667
|
* @param {Callback<number> =} callback
|
|
685
668
|
**/
|
|
686
|
-
hrmpWatermark: GenericStorageQuery<
|
|
669
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
687
670
|
|
|
688
671
|
/**
|
|
689
672
|
* HRMP messages that were sent in a block.
|
|
@@ -692,7 +675,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
692
675
|
*
|
|
693
676
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
694
677
|
**/
|
|
695
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
678
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
696
679
|
|
|
697
680
|
/**
|
|
698
681
|
* Upward messages that were sent in a block.
|
|
@@ -701,21 +684,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
701
684
|
*
|
|
702
685
|
* @param {Callback<Array<Bytes>> =} callback
|
|
703
686
|
**/
|
|
704
|
-
upwardMessages: GenericStorageQuery<
|
|
687
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
705
688
|
|
|
706
689
|
/**
|
|
707
690
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
708
691
|
*
|
|
709
692
|
* @param {Callback<Array<Bytes>> =} callback
|
|
710
693
|
**/
|
|
711
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
694
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
712
695
|
|
|
713
696
|
/**
|
|
714
697
|
* The factor to multiply the base delivery fee by for UMP.
|
|
715
698
|
*
|
|
716
699
|
* @param {Callback<FixedU128> =} callback
|
|
717
700
|
**/
|
|
718
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
701
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
719
702
|
|
|
720
703
|
/**
|
|
721
704
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -723,7 +706,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
723
706
|
*
|
|
724
707
|
* @param {Callback<number> =} callback
|
|
725
708
|
**/
|
|
726
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
709
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
727
710
|
|
|
728
711
|
/**
|
|
729
712
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -731,7 +714,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
731
714
|
*
|
|
732
715
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
733
716
|
**/
|
|
734
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
717
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
735
718
|
|
|
736
719
|
/**
|
|
737
720
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -739,7 +722,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
739
722
|
*
|
|
740
723
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
741
724
|
**/
|
|
742
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
725
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
743
726
|
|
|
744
727
|
/**
|
|
745
728
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -748,12 +731,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
748
731
|
*
|
|
749
732
|
* @param {Callback<Bytes | undefined> =} callback
|
|
750
733
|
**/
|
|
751
|
-
customValidationHeadData: GenericStorageQuery<
|
|
734
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
752
735
|
|
|
753
736
|
/**
|
|
754
737
|
* Generic pallet storage query
|
|
755
738
|
**/
|
|
756
|
-
[storage: string]: GenericStorageQuery
|
|
739
|
+
[storage: string]: GenericStorageQuery;
|
|
757
740
|
};
|
|
758
741
|
/**
|
|
759
742
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -763,12 +746,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
763
746
|
*
|
|
764
747
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
765
748
|
**/
|
|
766
|
-
parachainId: GenericStorageQuery<
|
|
749
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
767
750
|
|
|
768
751
|
/**
|
|
769
752
|
* Generic pallet storage query
|
|
770
753
|
**/
|
|
771
|
-
[storage: string]: GenericStorageQuery
|
|
754
|
+
[storage: string]: GenericStorageQuery;
|
|
772
755
|
};
|
|
773
756
|
/**
|
|
774
757
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -778,18 +761,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
778
761
|
*
|
|
779
762
|
* @param {Callback<FixedU128> =} callback
|
|
780
763
|
**/
|
|
781
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
764
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
782
765
|
|
|
783
766
|
/**
|
|
784
767
|
*
|
|
785
768
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
786
769
|
**/
|
|
787
|
-
storageVersion: GenericStorageQuery<
|
|
770
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
788
771
|
|
|
789
772
|
/**
|
|
790
773
|
* Generic pallet storage query
|
|
791
774
|
**/
|
|
792
|
-
[storage: string]: GenericStorageQuery
|
|
775
|
+
[storage: string]: GenericStorageQuery;
|
|
793
776
|
};
|
|
794
777
|
/**
|
|
795
778
|
* Pallet `Balances`'s storage queries
|
|
@@ -800,14 +783,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
800
783
|
*
|
|
801
784
|
* @param {Callback<bigint> =} callback
|
|
802
785
|
**/
|
|
803
|
-
totalIssuance: GenericStorageQuery<
|
|
786
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
804
787
|
|
|
805
788
|
/**
|
|
806
789
|
* The total units of outstanding deactivated balance in the system.
|
|
807
790
|
*
|
|
808
791
|
* @param {Callback<bigint> =} callback
|
|
809
792
|
**/
|
|
810
|
-
inactiveIssuance: GenericStorageQuery<
|
|
793
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
811
794
|
|
|
812
795
|
/**
|
|
813
796
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -838,7 +821,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
838
821
|
* @param {AccountId32Like} arg
|
|
839
822
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
840
823
|
**/
|
|
841
|
-
account: GenericStorageQuery<
|
|
824
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
842
825
|
|
|
843
826
|
/**
|
|
844
827
|
* Any liquidity locks on some account balances.
|
|
@@ -849,7 +832,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
849
832
|
* @param {AccountId32Like} arg
|
|
850
833
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
851
834
|
**/
|
|
852
|
-
locks: GenericStorageQuery<
|
|
835
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
853
836
|
|
|
854
837
|
/**
|
|
855
838
|
* Named reserves on some account balances.
|
|
@@ -859,7 +842,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
859
842
|
* @param {AccountId32Like} arg
|
|
860
843
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
861
844
|
**/
|
|
862
|
-
reserves: GenericStorageQuery<
|
|
845
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
863
846
|
|
|
864
847
|
/**
|
|
865
848
|
* Holds on account balances.
|
|
@@ -867,7 +850,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
867
850
|
* @param {AccountId32Like} arg
|
|
868
851
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
869
852
|
**/
|
|
870
|
-
holds: GenericStorageQuery<
|
|
853
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
871
854
|
|
|
872
855
|
/**
|
|
873
856
|
* Freeze locks on account balances.
|
|
@@ -876,7 +859,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
876
859
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
877
860
|
**/
|
|
878
861
|
freezes: GenericStorageQuery<
|
|
879
|
-
Rv,
|
|
880
862
|
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
881
863
|
AccountId32
|
|
882
864
|
>;
|
|
@@ -884,7 +866,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
884
866
|
/**
|
|
885
867
|
* Generic pallet storage query
|
|
886
868
|
**/
|
|
887
|
-
[storage: string]: GenericStorageQuery
|
|
869
|
+
[storage: string]: GenericStorageQuery;
|
|
888
870
|
};
|
|
889
871
|
/**
|
|
890
872
|
* Pallet `Vesting`'s storage queries
|
|
@@ -896,11 +878,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
896
878
|
* @param {AccountId32Like} arg
|
|
897
879
|
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
898
880
|
**/
|
|
899
|
-
vesting: GenericStorageQuery<
|
|
900
|
-
Rv,
|
|
901
|
-
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
902
|
-
AccountId32
|
|
903
|
-
>;
|
|
881
|
+
vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined, AccountId32>;
|
|
904
882
|
|
|
905
883
|
/**
|
|
906
884
|
* Storage version of the pallet.
|
|
@@ -909,12 +887,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
909
887
|
*
|
|
910
888
|
* @param {Callback<PalletVestingReleases> =} callback
|
|
911
889
|
**/
|
|
912
|
-
storageVersion: GenericStorageQuery<
|
|
890
|
+
storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
|
|
913
891
|
|
|
914
892
|
/**
|
|
915
893
|
* Generic pallet storage query
|
|
916
894
|
**/
|
|
917
|
-
[storage: string]: GenericStorageQuery
|
|
895
|
+
[storage: string]: GenericStorageQuery;
|
|
918
896
|
};
|
|
919
897
|
/**
|
|
920
898
|
* Pallet `Inflation`'s storage queries
|
|
@@ -926,26 +904,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
926
904
|
*
|
|
927
905
|
* @param {Callback<PalletInflationInflationConfiguration> =} callback
|
|
928
906
|
**/
|
|
929
|
-
activeInflationConfig: GenericStorageQuery<
|
|
907
|
+
activeInflationConfig: GenericStorageQuery<() => PalletInflationInflationConfiguration>;
|
|
930
908
|
|
|
931
909
|
/**
|
|
932
910
|
* Static inflation parameters - used to calculate active inflation configuration at certain points in time.
|
|
933
911
|
*
|
|
934
912
|
* @param {Callback<PalletInflationInflationParameters> =} callback
|
|
935
913
|
**/
|
|
936
|
-
inflationParams: GenericStorageQuery<
|
|
914
|
+
inflationParams: GenericStorageQuery<() => PalletInflationInflationParameters>;
|
|
937
915
|
|
|
938
916
|
/**
|
|
939
917
|
* Flag indicating whether on the first possible opportunity, recalculation of the inflation config should be done.
|
|
940
918
|
*
|
|
941
919
|
* @param {Callback<number | undefined> =} callback
|
|
942
920
|
**/
|
|
943
|
-
doRecalculation: GenericStorageQuery<
|
|
921
|
+
doRecalculation: GenericStorageQuery<() => number | undefined>;
|
|
944
922
|
|
|
945
923
|
/**
|
|
946
924
|
* Generic pallet storage query
|
|
947
925
|
**/
|
|
948
|
-
[storage: string]: GenericStorageQuery
|
|
926
|
+
[storage: string]: GenericStorageQuery;
|
|
949
927
|
};
|
|
950
928
|
/**
|
|
951
929
|
* Pallet `DappStaking`'s storage queries
|
|
@@ -956,14 +934,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
956
934
|
*
|
|
957
935
|
* @param {Callback<PalletDappStakingProtocolState> =} callback
|
|
958
936
|
**/
|
|
959
|
-
activeProtocolState: GenericStorageQuery<
|
|
937
|
+
activeProtocolState: GenericStorageQuery<() => PalletDappStakingProtocolState>;
|
|
960
938
|
|
|
961
939
|
/**
|
|
962
940
|
* Counter for unique dApp identifiers.
|
|
963
941
|
*
|
|
964
942
|
* @param {Callback<number> =} callback
|
|
965
943
|
**/
|
|
966
|
-
nextDAppId: GenericStorageQuery<
|
|
944
|
+
nextDAppId: GenericStorageQuery<() => number>;
|
|
967
945
|
|
|
968
946
|
/**
|
|
969
947
|
* Map of all dApps integrated into dApp staking protocol.
|
|
@@ -975,7 +953,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
975
953
|
* @param {Callback<PalletDappStakingDAppInfo | undefined> =} callback
|
|
976
954
|
**/
|
|
977
955
|
integratedDApps: GenericStorageQuery<
|
|
978
|
-
Rv,
|
|
979
956
|
(arg: AstarPrimitivesDappStakingSmartContract) => PalletDappStakingDAppInfo | undefined,
|
|
980
957
|
AstarPrimitivesDappStakingSmartContract
|
|
981
958
|
>;
|
|
@@ -985,7 +962,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
985
962
|
*
|
|
986
963
|
* @param {Callback<number> =} callback
|
|
987
964
|
**/
|
|
988
|
-
counterForIntegratedDApps: GenericStorageQuery<
|
|
965
|
+
counterForIntegratedDApps: GenericStorageQuery<() => number>;
|
|
989
966
|
|
|
990
967
|
/**
|
|
991
968
|
* General locked/staked information for each account.
|
|
@@ -993,7 +970,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
993
970
|
* @param {AccountId32Like} arg
|
|
994
971
|
* @param {Callback<PalletDappStakingAccountLedger> =} callback
|
|
995
972
|
**/
|
|
996
|
-
ledger: GenericStorageQuery<
|
|
973
|
+
ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletDappStakingAccountLedger, AccountId32>;
|
|
997
974
|
|
|
998
975
|
/**
|
|
999
976
|
* Information about how much each staker has staked for each smart contract in some period.
|
|
@@ -1002,7 +979,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1002
979
|
* @param {Callback<PalletDappStakingSingularStakingInfo | undefined> =} callback
|
|
1003
980
|
**/
|
|
1004
981
|
stakerInfo: GenericStorageQuery<
|
|
1005
|
-
Rv,
|
|
1006
982
|
(
|
|
1007
983
|
arg: [AccountId32Like, AstarPrimitivesDappStakingSmartContract],
|
|
1008
984
|
) => PalletDappStakingSingularStakingInfo | undefined,
|
|
@@ -1015,14 +991,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1015
991
|
* @param {number} arg
|
|
1016
992
|
* @param {Callback<PalletDappStakingContractStakeAmount> =} callback
|
|
1017
993
|
**/
|
|
1018
|
-
contractStake: GenericStorageQuery<
|
|
994
|
+
contractStake: GenericStorageQuery<(arg: number) => PalletDappStakingContractStakeAmount, number>;
|
|
1019
995
|
|
|
1020
996
|
/**
|
|
1021
997
|
* General information about the current era.
|
|
1022
998
|
*
|
|
1023
999
|
* @param {Callback<PalletDappStakingEraInfo> =} callback
|
|
1024
1000
|
**/
|
|
1025
|
-
currentEraInfo: GenericStorageQuery<
|
|
1001
|
+
currentEraInfo: GenericStorageQuery<() => PalletDappStakingEraInfo>;
|
|
1026
1002
|
|
|
1027
1003
|
/**
|
|
1028
1004
|
* Information about rewards for each era.
|
|
@@ -1038,7 +1014,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1038
1014
|
* @param {number} arg
|
|
1039
1015
|
* @param {Callback<PalletDappStakingEraRewardSpan | undefined> =} callback
|
|
1040
1016
|
**/
|
|
1041
|
-
eraRewards: GenericStorageQuery<
|
|
1017
|
+
eraRewards: GenericStorageQuery<(arg: number) => PalletDappStakingEraRewardSpan | undefined, number>;
|
|
1042
1018
|
|
|
1043
1019
|
/**
|
|
1044
1020
|
* Information about period's end.
|
|
@@ -1046,21 +1022,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1046
1022
|
* @param {number} arg
|
|
1047
1023
|
* @param {Callback<PalletDappStakingPeriodEndInfo | undefined> =} callback
|
|
1048
1024
|
**/
|
|
1049
|
-
periodEnd: GenericStorageQuery<
|
|
1025
|
+
periodEnd: GenericStorageQuery<(arg: number) => PalletDappStakingPeriodEndInfo | undefined, number>;
|
|
1050
1026
|
|
|
1051
1027
|
/**
|
|
1052
1028
|
* Static tier parameters used to calculate tier configuration.
|
|
1053
1029
|
*
|
|
1054
1030
|
* @param {Callback<PalletDappStakingTierParameters> =} callback
|
|
1055
1031
|
**/
|
|
1056
|
-
staticTierParams: GenericStorageQuery<
|
|
1032
|
+
staticTierParams: GenericStorageQuery<() => PalletDappStakingTierParameters>;
|
|
1057
1033
|
|
|
1058
1034
|
/**
|
|
1059
1035
|
* Tier configuration user for current & preceding eras.
|
|
1060
1036
|
*
|
|
1061
1037
|
* @param {Callback<PalletDappStakingTiersConfiguration> =} callback
|
|
1062
1038
|
**/
|
|
1063
|
-
tierConfig: GenericStorageQuery<
|
|
1039
|
+
tierConfig: GenericStorageQuery<() => PalletDappStakingTiersConfiguration>;
|
|
1064
1040
|
|
|
1065
1041
|
/**
|
|
1066
1042
|
* Information about which tier a dApp belonged to in a specific era.
|
|
@@ -1068,14 +1044,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1068
1044
|
* @param {number} arg
|
|
1069
1045
|
* @param {Callback<PalletDappStakingDAppTierRewards | undefined> =} callback
|
|
1070
1046
|
**/
|
|
1071
|
-
dAppTiers: GenericStorageQuery<
|
|
1047
|
+
dAppTiers: GenericStorageQuery<(arg: number) => PalletDappStakingDAppTierRewards | undefined, number>;
|
|
1072
1048
|
|
|
1073
1049
|
/**
|
|
1074
1050
|
* History cleanup marker - holds information about which DB entries should be cleaned up next, when applicable.
|
|
1075
1051
|
*
|
|
1076
1052
|
* @param {Callback<PalletDappStakingCleanupMarker> =} callback
|
|
1077
1053
|
**/
|
|
1078
|
-
historyCleanupMarker: GenericStorageQuery<
|
|
1054
|
+
historyCleanupMarker: GenericStorageQuery<() => PalletDappStakingCleanupMarker>;
|
|
1079
1055
|
|
|
1080
1056
|
/**
|
|
1081
1057
|
* Safeguard to prevent unwanted operations in production.
|
|
@@ -1084,12 +1060,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1084
1060
|
*
|
|
1085
1061
|
* @param {Callback<boolean> =} callback
|
|
1086
1062
|
**/
|
|
1087
|
-
safeguard: GenericStorageQuery<
|
|
1063
|
+
safeguard: GenericStorageQuery<() => boolean>;
|
|
1088
1064
|
|
|
1089
1065
|
/**
|
|
1090
1066
|
* Generic pallet storage query
|
|
1091
1067
|
**/
|
|
1092
|
-
[storage: string]: GenericStorageQuery
|
|
1068
|
+
[storage: string]: GenericStorageQuery;
|
|
1093
1069
|
};
|
|
1094
1070
|
/**
|
|
1095
1071
|
* Pallet `Assets`'s storage queries
|
|
@@ -1101,7 +1077,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1101
1077
|
* @param {bigint} arg
|
|
1102
1078
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1103
1079
|
**/
|
|
1104
|
-
asset: GenericStorageQuery<
|
|
1080
|
+
asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined, bigint>;
|
|
1105
1081
|
|
|
1106
1082
|
/**
|
|
1107
1083
|
* The holdings of a specific account for a specific asset.
|
|
@@ -1110,7 +1086,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1110
1086
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1111
1087
|
**/
|
|
1112
1088
|
account: GenericStorageQuery<
|
|
1113
|
-
Rv,
|
|
1114
1089
|
(arg: [bigint, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1115
1090
|
[bigint, AccountId32]
|
|
1116
1091
|
>;
|
|
@@ -1124,7 +1099,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1124
1099
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1125
1100
|
**/
|
|
1126
1101
|
approvals: GenericStorageQuery<
|
|
1127
|
-
Rv,
|
|
1128
1102
|
(arg: [bigint, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1129
1103
|
[bigint, AccountId32, AccountId32]
|
|
1130
1104
|
>;
|
|
@@ -1135,7 +1109,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1135
1109
|
* @param {bigint} arg
|
|
1136
1110
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1137
1111
|
**/
|
|
1138
|
-
metadata: GenericStorageQuery<
|
|
1112
|
+
metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata, bigint>;
|
|
1139
1113
|
|
|
1140
1114
|
/**
|
|
1141
1115
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1150,12 +1124,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1150
1124
|
*
|
|
1151
1125
|
* @param {Callback<bigint | undefined> =} callback
|
|
1152
1126
|
**/
|
|
1153
|
-
nextAssetId: GenericStorageQuery<
|
|
1127
|
+
nextAssetId: GenericStorageQuery<() => bigint | undefined>;
|
|
1154
1128
|
|
|
1155
1129
|
/**
|
|
1156
1130
|
* Generic pallet storage query
|
|
1157
1131
|
**/
|
|
1158
|
-
[storage: string]: GenericStorageQuery
|
|
1132
|
+
[storage: string]: GenericStorageQuery;
|
|
1159
1133
|
};
|
|
1160
1134
|
/**
|
|
1161
1135
|
* Pallet `PriceAggregator`'s storage queries
|
|
@@ -1166,26 +1140,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1166
1140
|
*
|
|
1167
1141
|
* @param {Callback<Array<FixedU128>> =} callback
|
|
1168
1142
|
**/
|
|
1169
|
-
currentBlockValues: GenericStorageQuery<
|
|
1143
|
+
currentBlockValues: GenericStorageQuery<() => Array<FixedU128>>;
|
|
1170
1144
|
|
|
1171
1145
|
/**
|
|
1172
1146
|
* Used to store the aggregated processed block values during some time period.
|
|
1173
1147
|
*
|
|
1174
1148
|
* @param {Callback<PalletPriceAggregatorValueAggregator> =} callback
|
|
1175
1149
|
**/
|
|
1176
|
-
intermediateValueAggregator: GenericStorageQuery<
|
|
1150
|
+
intermediateValueAggregator: GenericStorageQuery<() => PalletPriceAggregatorValueAggregator>;
|
|
1177
1151
|
|
|
1178
1152
|
/**
|
|
1179
1153
|
* Used to store aggregated intermediate values for some time period.
|
|
1180
1154
|
*
|
|
1181
1155
|
* @param {Callback<PalletPriceAggregatorCircularBuffer> =} callback
|
|
1182
1156
|
**/
|
|
1183
|
-
valuesCircularBuffer: GenericStorageQuery<
|
|
1157
|
+
valuesCircularBuffer: GenericStorageQuery<() => PalletPriceAggregatorCircularBuffer>;
|
|
1184
1158
|
|
|
1185
1159
|
/**
|
|
1186
1160
|
* Generic pallet storage query
|
|
1187
1161
|
**/
|
|
1188
|
-
[storage: string]: GenericStorageQuery
|
|
1162
|
+
[storage: string]: GenericStorageQuery;
|
|
1189
1163
|
};
|
|
1190
1164
|
/**
|
|
1191
1165
|
* Pallet `Oracle`'s storage queries
|
|
@@ -1198,7 +1172,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1198
1172
|
* @param {Callback<OrmlOracleModuleTimestampedValue | undefined> =} callback
|
|
1199
1173
|
**/
|
|
1200
1174
|
rawValues: GenericStorageQuery<
|
|
1201
|
-
Rv,
|
|
1202
1175
|
(arg: [AccountId32Like, AstarPrimitivesOracleCurrencyId]) => OrmlOracleModuleTimestampedValue | undefined,
|
|
1203
1176
|
[AccountId32, AstarPrimitivesOracleCurrencyId]
|
|
1204
1177
|
>;
|
|
@@ -1210,7 +1183,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1210
1183
|
* @param {Callback<OrmlOracleModuleTimestampedValue | undefined> =} callback
|
|
1211
1184
|
**/
|
|
1212
1185
|
values: GenericStorageQuery<
|
|
1213
|
-
Rv,
|
|
1214
1186
|
(arg: AstarPrimitivesOracleCurrencyId) => OrmlOracleModuleTimestampedValue | undefined,
|
|
1215
1187
|
AstarPrimitivesOracleCurrencyId
|
|
1216
1188
|
>;
|
|
@@ -1220,12 +1192,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1220
1192
|
*
|
|
1221
1193
|
* @param {Callback<OrmlUtilitiesOrderedSet> =} callback
|
|
1222
1194
|
**/
|
|
1223
|
-
hasDispatched: GenericStorageQuery<
|
|
1195
|
+
hasDispatched: GenericStorageQuery<() => OrmlUtilitiesOrderedSet>;
|
|
1224
1196
|
|
|
1225
1197
|
/**
|
|
1226
1198
|
* Generic pallet storage query
|
|
1227
1199
|
**/
|
|
1228
|
-
[storage: string]: GenericStorageQuery
|
|
1200
|
+
[storage: string]: GenericStorageQuery;
|
|
1229
1201
|
};
|
|
1230
1202
|
/**
|
|
1231
1203
|
* Pallet `OracleMembership`'s storage queries
|
|
@@ -1236,19 +1208,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1236
1208
|
*
|
|
1237
1209
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1238
1210
|
**/
|
|
1239
|
-
members: GenericStorageQuery<
|
|
1211
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1240
1212
|
|
|
1241
1213
|
/**
|
|
1242
1214
|
* The current prime member, if one exists.
|
|
1243
1215
|
*
|
|
1244
1216
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1245
1217
|
**/
|
|
1246
|
-
prime: GenericStorageQuery<
|
|
1218
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1247
1219
|
|
|
1248
1220
|
/**
|
|
1249
1221
|
* Generic pallet storage query
|
|
1250
1222
|
**/
|
|
1251
|
-
[storage: string]: GenericStorageQuery
|
|
1223
|
+
[storage: string]: GenericStorageQuery;
|
|
1252
1224
|
};
|
|
1253
1225
|
/**
|
|
1254
1226
|
* Pallet `Authorship`'s storage queries
|
|
@@ -1259,12 +1231,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1259
1231
|
*
|
|
1260
1232
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1261
1233
|
**/
|
|
1262
|
-
author: GenericStorageQuery<
|
|
1234
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1263
1235
|
|
|
1264
1236
|
/**
|
|
1265
1237
|
* Generic pallet storage query
|
|
1266
1238
|
**/
|
|
1267
|
-
[storage: string]: GenericStorageQuery
|
|
1239
|
+
[storage: string]: GenericStorageQuery;
|
|
1268
1240
|
};
|
|
1269
1241
|
/**
|
|
1270
1242
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -1275,14 +1247,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1275
1247
|
*
|
|
1276
1248
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1277
1249
|
**/
|
|
1278
|
-
invulnerables: GenericStorageQuery<
|
|
1250
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1279
1251
|
|
|
1280
1252
|
/**
|
|
1281
1253
|
* The (community approved, limited) collation candidates.
|
|
1282
1254
|
*
|
|
1283
1255
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
1284
1256
|
**/
|
|
1285
|
-
candidates: GenericStorageQuery<
|
|
1257
|
+
candidates: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
1286
1258
|
|
|
1287
1259
|
/**
|
|
1288
1260
|
* Candidates who initiated leave intent or kicked.
|
|
@@ -1290,7 +1262,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1290
1262
|
* @param {AccountId32Like} arg
|
|
1291
1263
|
* @param {Callback<[number, bigint] | undefined> =} callback
|
|
1292
1264
|
**/
|
|
1293
|
-
nonCandidates: GenericStorageQuery<
|
|
1265
|
+
nonCandidates: GenericStorageQuery<(arg: AccountId32Like) => [number, bigint] | undefined, AccountId32>;
|
|
1294
1266
|
|
|
1295
1267
|
/**
|
|
1296
1268
|
* Last block authored by collator.
|
|
@@ -1298,7 +1270,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1298
1270
|
* @param {AccountId32Like} arg
|
|
1299
1271
|
* @param {Callback<number> =} callback
|
|
1300
1272
|
**/
|
|
1301
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
1273
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
1302
1274
|
|
|
1303
1275
|
/**
|
|
1304
1276
|
* Desired number of candidates.
|
|
@@ -1307,7 +1279,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1307
1279
|
*
|
|
1308
1280
|
* @param {Callback<number> =} callback
|
|
1309
1281
|
**/
|
|
1310
|
-
desiredCandidates: GenericStorageQuery<
|
|
1282
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
1311
1283
|
|
|
1312
1284
|
/**
|
|
1313
1285
|
* Fixed amount to deposit to become a collator.
|
|
@@ -1316,14 +1288,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1316
1288
|
*
|
|
1317
1289
|
* @param {Callback<bigint> =} callback
|
|
1318
1290
|
**/
|
|
1319
|
-
candidacyBond: GenericStorageQuery<
|
|
1291
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
1320
1292
|
|
|
1321
1293
|
/**
|
|
1322
1294
|
* Destination account for slashed amount.
|
|
1323
1295
|
*
|
|
1324
1296
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1325
1297
|
**/
|
|
1326
|
-
slashDestination: GenericStorageQuery<
|
|
1298
|
+
slashDestination: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1327
1299
|
|
|
1328
1300
|
/**
|
|
1329
1301
|
* Pending applications to become a collator.
|
|
@@ -1331,12 +1303,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1331
1303
|
* @param {AccountId32Like} arg
|
|
1332
1304
|
* @param {Callback<bigint | undefined> =} callback
|
|
1333
1305
|
**/
|
|
1334
|
-
pendingApplications: GenericStorageQuery<
|
|
1306
|
+
pendingApplications: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
1335
1307
|
|
|
1336
1308
|
/**
|
|
1337
1309
|
* Generic pallet storage query
|
|
1338
1310
|
**/
|
|
1339
|
-
[storage: string]: GenericStorageQuery
|
|
1311
|
+
[storage: string]: GenericStorageQuery;
|
|
1340
1312
|
};
|
|
1341
1313
|
/**
|
|
1342
1314
|
* Pallet `Session`'s storage queries
|
|
@@ -1347,14 +1319,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1347
1319
|
*
|
|
1348
1320
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
1349
1321
|
**/
|
|
1350
|
-
validators: GenericStorageQuery<
|
|
1322
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
1351
1323
|
|
|
1352
1324
|
/**
|
|
1353
1325
|
* Current index of the session.
|
|
1354
1326
|
*
|
|
1355
1327
|
* @param {Callback<number> =} callback
|
|
1356
1328
|
**/
|
|
1357
|
-
currentIndex: GenericStorageQuery<
|
|
1329
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
1358
1330
|
|
|
1359
1331
|
/**
|
|
1360
1332
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -1362,7 +1334,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1362
1334
|
*
|
|
1363
1335
|
* @param {Callback<boolean> =} callback
|
|
1364
1336
|
**/
|
|
1365
|
-
queuedChanged: GenericStorageQuery<
|
|
1337
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
1366
1338
|
|
|
1367
1339
|
/**
|
|
1368
1340
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -1370,7 +1342,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1370
1342
|
*
|
|
1371
1343
|
* @param {Callback<Array<[AccountId32, AstarRuntimeSessionKeys]>> =} callback
|
|
1372
1344
|
**/
|
|
1373
|
-
queuedKeys: GenericStorageQuery<
|
|
1345
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AstarRuntimeSessionKeys]>>;
|
|
1374
1346
|
|
|
1375
1347
|
/**
|
|
1376
1348
|
* Indices of disabled validators.
|
|
@@ -1381,7 +1353,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1381
1353
|
*
|
|
1382
1354
|
* @param {Callback<Array<number>> =} callback
|
|
1383
1355
|
**/
|
|
1384
|
-
disabledValidators: GenericStorageQuery<
|
|
1356
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1385
1357
|
|
|
1386
1358
|
/**
|
|
1387
1359
|
* The next session keys for a validator.
|
|
@@ -1389,7 +1361,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1389
1361
|
* @param {AccountId32Like} arg
|
|
1390
1362
|
* @param {Callback<AstarRuntimeSessionKeys | undefined> =} callback
|
|
1391
1363
|
**/
|
|
1392
|
-
nextKeys: GenericStorageQuery<
|
|
1364
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => AstarRuntimeSessionKeys | undefined, AccountId32>;
|
|
1393
1365
|
|
|
1394
1366
|
/**
|
|
1395
1367
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1398,7 +1370,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1398
1370
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1399
1371
|
**/
|
|
1400
1372
|
keyOwner: GenericStorageQuery<
|
|
1401
|
-
Rv,
|
|
1402
1373
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
1403
1374
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
1404
1375
|
>;
|
|
@@ -1406,7 +1377,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1406
1377
|
/**
|
|
1407
1378
|
* Generic pallet storage query
|
|
1408
1379
|
**/
|
|
1409
|
-
[storage: string]: GenericStorageQuery
|
|
1380
|
+
[storage: string]: GenericStorageQuery;
|
|
1410
1381
|
};
|
|
1411
1382
|
/**
|
|
1412
1383
|
* Pallet `Aura`'s storage queries
|
|
@@ -1417,7 +1388,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1417
1388
|
*
|
|
1418
1389
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1419
1390
|
**/
|
|
1420
|
-
authorities: GenericStorageQuery<
|
|
1391
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1421
1392
|
|
|
1422
1393
|
/**
|
|
1423
1394
|
* The current slot of this block.
|
|
@@ -1426,12 +1397,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1426
1397
|
*
|
|
1427
1398
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
1428
1399
|
**/
|
|
1429
|
-
currentSlot: GenericStorageQuery<
|
|
1400
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
1430
1401
|
|
|
1431
1402
|
/**
|
|
1432
1403
|
* Generic pallet storage query
|
|
1433
1404
|
**/
|
|
1434
|
-
[storage: string]: GenericStorageQuery
|
|
1405
|
+
[storage: string]: GenericStorageQuery;
|
|
1435
1406
|
};
|
|
1436
1407
|
/**
|
|
1437
1408
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -1446,7 +1417,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1446
1417
|
*
|
|
1447
1418
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
1448
1419
|
**/
|
|
1449
|
-
authorities: GenericStorageQuery<
|
|
1420
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1450
1421
|
|
|
1451
1422
|
/**
|
|
1452
1423
|
* Current slot paired with a number of authored blocks.
|
|
@@ -1455,12 +1426,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1455
1426
|
*
|
|
1456
1427
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1457
1428
|
**/
|
|
1458
|
-
slotInfo: GenericStorageQuery<
|
|
1429
|
+
slotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1459
1430
|
|
|
1460
1431
|
/**
|
|
1461
1432
|
* Generic pallet storage query
|
|
1462
1433
|
**/
|
|
1463
|
-
[storage: string]: GenericStorageQuery
|
|
1434
|
+
[storage: string]: GenericStorageQuery;
|
|
1464
1435
|
};
|
|
1465
1436
|
/**
|
|
1466
1437
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -1478,7 +1449,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1478
1449
|
*
|
|
1479
1450
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
1480
1451
|
**/
|
|
1481
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
1452
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
1482
1453
|
|
|
1483
1454
|
/**
|
|
1484
1455
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -1490,7 +1461,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1490
1461
|
*
|
|
1491
1462
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
1492
1463
|
**/
|
|
1493
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
1464
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
1494
1465
|
|
|
1495
1466
|
/**
|
|
1496
1467
|
* The messages outbound in a given XCMP channel.
|
|
@@ -1499,7 +1470,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1499
1470
|
* @param {Callback<Bytes> =} callback
|
|
1500
1471
|
**/
|
|
1501
1472
|
outboundXcmpMessages: GenericStorageQuery<
|
|
1502
|
-
Rv,
|
|
1503
1473
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
1504
1474
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
1505
1475
|
>;
|
|
@@ -1511,7 +1481,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1511
1481
|
* @param {Callback<Bytes> =} callback
|
|
1512
1482
|
**/
|
|
1513
1483
|
signalMessages: GenericStorageQuery<
|
|
1514
|
-
Rv,
|
|
1515
1484
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
1516
1485
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1517
1486
|
>;
|
|
@@ -1521,14 +1490,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1521
1490
|
*
|
|
1522
1491
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
1523
1492
|
**/
|
|
1524
|
-
queueConfig: GenericStorageQuery<
|
|
1493
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
1525
1494
|
|
|
1526
1495
|
/**
|
|
1527
1496
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
1528
1497
|
*
|
|
1529
1498
|
* @param {Callback<boolean> =} callback
|
|
1530
1499
|
**/
|
|
1531
|
-
queueSuspended: GenericStorageQuery<
|
|
1500
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
1532
1501
|
|
|
1533
1502
|
/**
|
|
1534
1503
|
* The factor to multiply the base delivery fee by.
|
|
@@ -1537,7 +1506,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1537
1506
|
* @param {Callback<FixedU128> =} callback
|
|
1538
1507
|
**/
|
|
1539
1508
|
deliveryFeeFactor: GenericStorageQuery<
|
|
1540
|
-
Rv,
|
|
1541
1509
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
1542
1510
|
PolkadotParachainPrimitivesPrimitivesId
|
|
1543
1511
|
>;
|
|
@@ -1545,7 +1513,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1545
1513
|
/**
|
|
1546
1514
|
* Generic pallet storage query
|
|
1547
1515
|
**/
|
|
1548
|
-
[storage: string]: GenericStorageQuery
|
|
1516
|
+
[storage: string]: GenericStorageQuery;
|
|
1549
1517
|
};
|
|
1550
1518
|
/**
|
|
1551
1519
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -1556,7 +1524,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1556
1524
|
*
|
|
1557
1525
|
* @param {Callback<bigint> =} callback
|
|
1558
1526
|
**/
|
|
1559
|
-
queryCounter: GenericStorageQuery<
|
|
1527
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
1560
1528
|
|
|
1561
1529
|
/**
|
|
1562
1530
|
* The ongoing queries.
|
|
@@ -1564,7 +1532,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1564
1532
|
* @param {bigint} arg
|
|
1565
1533
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
1566
1534
|
**/
|
|
1567
|
-
queries: GenericStorageQuery<
|
|
1535
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
1568
1536
|
|
|
1569
1537
|
/**
|
|
1570
1538
|
* The existing asset traps.
|
|
@@ -1575,7 +1543,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1575
1543
|
* @param {H256} arg
|
|
1576
1544
|
* @param {Callback<number> =} callback
|
|
1577
1545
|
**/
|
|
1578
|
-
assetTraps: GenericStorageQuery<
|
|
1546
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1579
1547
|
|
|
1580
1548
|
/**
|
|
1581
1549
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1583,7 +1551,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1583
1551
|
*
|
|
1584
1552
|
* @param {Callback<number | undefined> =} callback
|
|
1585
1553
|
**/
|
|
1586
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1554
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1587
1555
|
|
|
1588
1556
|
/**
|
|
1589
1557
|
* The Latest versions that we know various locations support.
|
|
@@ -1592,7 +1560,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1592
1560
|
* @param {Callback<number | undefined> =} callback
|
|
1593
1561
|
**/
|
|
1594
1562
|
supportedVersion: GenericStorageQuery<
|
|
1595
|
-
Rv,
|
|
1596
1563
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1597
1564
|
[number, XcmVersionedLocation]
|
|
1598
1565
|
>;
|
|
@@ -1604,7 +1571,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1604
1571
|
* @param {Callback<bigint | undefined> =} callback
|
|
1605
1572
|
**/
|
|
1606
1573
|
versionNotifiers: GenericStorageQuery<
|
|
1607
|
-
Rv,
|
|
1608
1574
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1609
1575
|
[number, XcmVersionedLocation]
|
|
1610
1576
|
>;
|
|
@@ -1617,7 +1583,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1617
1583
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1618
1584
|
**/
|
|
1619
1585
|
versionNotifyTargets: GenericStorageQuery<
|
|
1620
|
-
Rv,
|
|
1621
1586
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1622
1587
|
[number, XcmVersionedLocation]
|
|
1623
1588
|
>;
|
|
@@ -1629,14 +1594,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1629
1594
|
*
|
|
1630
1595
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1631
1596
|
**/
|
|
1632
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1597
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1633
1598
|
|
|
1634
1599
|
/**
|
|
1635
1600
|
* The current migration's stage, if any.
|
|
1636
1601
|
*
|
|
1637
1602
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1638
1603
|
**/
|
|
1639
|
-
currentMigration: GenericStorageQuery<
|
|
1604
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1640
1605
|
|
|
1641
1606
|
/**
|
|
1642
1607
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1645,7 +1610,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1645
1610
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1646
1611
|
**/
|
|
1647
1612
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1648
|
-
Rv,
|
|
1649
1613
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1650
1614
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1651
1615
|
>;
|
|
@@ -1657,7 +1621,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1657
1621
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1658
1622
|
**/
|
|
1659
1623
|
lockedFungibles: GenericStorageQuery<
|
|
1660
|
-
Rv,
|
|
1661
1624
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1662
1625
|
AccountId32
|
|
1663
1626
|
>;
|
|
@@ -1667,7 +1630,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1667
1630
|
*
|
|
1668
1631
|
* @param {Callback<boolean> =} callback
|
|
1669
1632
|
**/
|
|
1670
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1633
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1671
1634
|
|
|
1672
1635
|
/**
|
|
1673
1636
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1680,7 +1643,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1680
1643
|
*
|
|
1681
1644
|
* @param {Callback<boolean> =} callback
|
|
1682
1645
|
**/
|
|
1683
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1646
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1684
1647
|
|
|
1685
1648
|
/**
|
|
1686
1649
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1692,12 +1655,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1692
1655
|
*
|
|
1693
1656
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1694
1657
|
**/
|
|
1695
|
-
recordedXcm: GenericStorageQuery<
|
|
1658
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1696
1659
|
|
|
1697
1660
|
/**
|
|
1698
1661
|
* Generic pallet storage query
|
|
1699
1662
|
**/
|
|
1700
|
-
[storage: string]: GenericStorageQuery
|
|
1663
|
+
[storage: string]: GenericStorageQuery;
|
|
1701
1664
|
};
|
|
1702
1665
|
/**
|
|
1703
1666
|
* Pallet `XcAssetConfig`'s storage queries
|
|
@@ -1711,7 +1674,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1711
1674
|
* @param {bigint} arg
|
|
1712
1675
|
* @param {Callback<XcmVersionedLocation | undefined> =} callback
|
|
1713
1676
|
**/
|
|
1714
|
-
assetIdToLocation: GenericStorageQuery<
|
|
1677
|
+
assetIdToLocation: GenericStorageQuery<(arg: bigint) => XcmVersionedLocation | undefined, bigint>;
|
|
1715
1678
|
|
|
1716
1679
|
/**
|
|
1717
1680
|
* Mapping from an asset type to an asset id.
|
|
@@ -1721,7 +1684,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1721
1684
|
* @param {XcmVersionedLocation} arg
|
|
1722
1685
|
* @param {Callback<bigint | undefined> =} callback
|
|
1723
1686
|
**/
|
|
1724
|
-
assetLocationToId: GenericStorageQuery<
|
|
1687
|
+
assetLocationToId: GenericStorageQuery<(arg: XcmVersionedLocation) => bigint | undefined, XcmVersionedLocation>;
|
|
1725
1688
|
|
|
1726
1689
|
/**
|
|
1727
1690
|
* Stores the units per second for local execution for a AssetLocation.
|
|
@@ -1733,7 +1696,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1733
1696
|
* @param {Callback<bigint | undefined> =} callback
|
|
1734
1697
|
**/
|
|
1735
1698
|
assetLocationUnitsPerSecond: GenericStorageQuery<
|
|
1736
|
-
Rv,
|
|
1737
1699
|
(arg: XcmVersionedLocation) => bigint | undefined,
|
|
1738
1700
|
XcmVersionedLocation
|
|
1739
1701
|
>;
|
|
@@ -1742,12 +1704,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1742
1704
|
*
|
|
1743
1705
|
* @param {Callback<PalletXcAssetConfigMigrationStep> =} callback
|
|
1744
1706
|
**/
|
|
1745
|
-
assetHubMigrationStep: GenericStorageQuery<
|
|
1707
|
+
assetHubMigrationStep: GenericStorageQuery<() => PalletXcAssetConfigMigrationStep>;
|
|
1746
1708
|
|
|
1747
1709
|
/**
|
|
1748
1710
|
* Generic pallet storage query
|
|
1749
1711
|
**/
|
|
1750
|
-
[storage: string]: GenericStorageQuery
|
|
1712
|
+
[storage: string]: GenericStorageQuery;
|
|
1751
1713
|
};
|
|
1752
1714
|
/**
|
|
1753
1715
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1760,7 +1722,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1760
1722
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1761
1723
|
**/
|
|
1762
1724
|
bookStateFor: GenericStorageQuery<
|
|
1763
|
-
Rv,
|
|
1764
1725
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1765
1726
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1766
1727
|
>;
|
|
@@ -1770,7 +1731,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1770
1731
|
*
|
|
1771
1732
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1772
1733
|
**/
|
|
1773
|
-
serviceHead: GenericStorageQuery<
|
|
1734
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1774
1735
|
|
|
1775
1736
|
/**
|
|
1776
1737
|
* The map of page indices to pages.
|
|
@@ -1779,7 +1740,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1779
1740
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1780
1741
|
**/
|
|
1781
1742
|
pages: GenericStorageQuery<
|
|
1782
|
-
Rv,
|
|
1783
1743
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1784
1744
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1785
1745
|
>;
|
|
@@ -1787,7 +1747,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1787
1747
|
/**
|
|
1788
1748
|
* Generic pallet storage query
|
|
1789
1749
|
**/
|
|
1790
|
-
[storage: string]: GenericStorageQuery
|
|
1750
|
+
[storage: string]: GenericStorageQuery;
|
|
1791
1751
|
};
|
|
1792
1752
|
/**
|
|
1793
1753
|
* Pallet `EVM`'s storage queries
|
|
@@ -1798,26 +1758,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1798
1758
|
* @param {H160} arg
|
|
1799
1759
|
* @param {Callback<Bytes> =} callback
|
|
1800
1760
|
**/
|
|
1801
|
-
accountCodes: GenericStorageQuery<
|
|
1761
|
+
accountCodes: GenericStorageQuery<(arg: H160) => Bytes, H160>;
|
|
1802
1762
|
|
|
1803
1763
|
/**
|
|
1804
1764
|
*
|
|
1805
1765
|
* @param {H160} arg
|
|
1806
1766
|
* @param {Callback<PalletEvmCodeMetadata | undefined> =} callback
|
|
1807
1767
|
**/
|
|
1808
|
-
accountCodesMetadata: GenericStorageQuery<
|
|
1768
|
+
accountCodesMetadata: GenericStorageQuery<(arg: H160) => PalletEvmCodeMetadata | undefined, H160>;
|
|
1809
1769
|
|
|
1810
1770
|
/**
|
|
1811
1771
|
*
|
|
1812
1772
|
* @param {[H160, H256]} arg
|
|
1813
1773
|
* @param {Callback<H256> =} callback
|
|
1814
1774
|
**/
|
|
1815
|
-
accountStorages: GenericStorageQuery<
|
|
1775
|
+
accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256, [H160, H256]>;
|
|
1816
1776
|
|
|
1817
1777
|
/**
|
|
1818
1778
|
* Generic pallet storage query
|
|
1819
1779
|
**/
|
|
1820
|
-
[storage: string]: GenericStorageQuery
|
|
1780
|
+
[storage: string]: GenericStorageQuery;
|
|
1821
1781
|
};
|
|
1822
1782
|
/**
|
|
1823
1783
|
* Pallet `Ethereum`'s storage queries
|
|
@@ -1830,7 +1790,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1830
1790
|
* @param {Callback<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined> =} callback
|
|
1831
1791
|
**/
|
|
1832
1792
|
pending: GenericStorageQuery<
|
|
1833
|
-
Rv,
|
|
1834
1793
|
(arg: number) => [EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined,
|
|
1835
1794
|
number
|
|
1836
1795
|
>;
|
|
@@ -1840,40 +1799,40 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1840
1799
|
*
|
|
1841
1800
|
* @param {Callback<number> =} callback
|
|
1842
1801
|
**/
|
|
1843
|
-
counterForPending: GenericStorageQuery<
|
|
1802
|
+
counterForPending: GenericStorageQuery<() => number>;
|
|
1844
1803
|
|
|
1845
1804
|
/**
|
|
1846
1805
|
* The current Ethereum block.
|
|
1847
1806
|
*
|
|
1848
1807
|
* @param {Callback<EthereumBlock | undefined> =} callback
|
|
1849
1808
|
**/
|
|
1850
|
-
currentBlock: GenericStorageQuery<
|
|
1809
|
+
currentBlock: GenericStorageQuery<() => EthereumBlock | undefined>;
|
|
1851
1810
|
|
|
1852
1811
|
/**
|
|
1853
1812
|
* The current Ethereum receipts.
|
|
1854
1813
|
*
|
|
1855
1814
|
* @param {Callback<Array<EthereumReceiptReceiptV3> | undefined> =} callback
|
|
1856
1815
|
**/
|
|
1857
|
-
currentReceipts: GenericStorageQuery<
|
|
1816
|
+
currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV3> | undefined>;
|
|
1858
1817
|
|
|
1859
1818
|
/**
|
|
1860
1819
|
* The current transaction statuses.
|
|
1861
1820
|
*
|
|
1862
1821
|
* @param {Callback<Array<FpRpcTransactionStatus> | undefined> =} callback
|
|
1863
1822
|
**/
|
|
1864
|
-
currentTransactionStatuses: GenericStorageQuery<
|
|
1823
|
+
currentTransactionStatuses: GenericStorageQuery<() => Array<FpRpcTransactionStatus> | undefined>;
|
|
1865
1824
|
|
|
1866
1825
|
/**
|
|
1867
1826
|
*
|
|
1868
1827
|
* @param {U256} arg
|
|
1869
1828
|
* @param {Callback<H256> =} callback
|
|
1870
1829
|
**/
|
|
1871
|
-
blockHash: GenericStorageQuery<
|
|
1830
|
+
blockHash: GenericStorageQuery<(arg: U256) => H256, U256>;
|
|
1872
1831
|
|
|
1873
1832
|
/**
|
|
1874
1833
|
* Generic pallet storage query
|
|
1875
1834
|
**/
|
|
1876
|
-
[storage: string]: GenericStorageQuery
|
|
1835
|
+
[storage: string]: GenericStorageQuery;
|
|
1877
1836
|
};
|
|
1878
1837
|
/**
|
|
1879
1838
|
* Pallet `DynamicEvmBaseFee`'s storage queries
|
|
@@ -1883,12 +1842,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1883
1842
|
*
|
|
1884
1843
|
* @param {Callback<U256> =} callback
|
|
1885
1844
|
**/
|
|
1886
|
-
baseFeePerGas: GenericStorageQuery<
|
|
1845
|
+
baseFeePerGas: GenericStorageQuery<() => U256>;
|
|
1887
1846
|
|
|
1888
1847
|
/**
|
|
1889
1848
|
* Generic pallet storage query
|
|
1890
1849
|
**/
|
|
1891
|
-
[storage: string]: GenericStorageQuery
|
|
1850
|
+
[storage: string]: GenericStorageQuery;
|
|
1892
1851
|
};
|
|
1893
1852
|
/**
|
|
1894
1853
|
* Pallet `Contracts`'s storage queries
|
|
@@ -1900,7 +1859,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1900
1859
|
* @param {H256} arg
|
|
1901
1860
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1902
1861
|
**/
|
|
1903
|
-
pristineCode: GenericStorageQuery<
|
|
1862
|
+
pristineCode: GenericStorageQuery<(arg: H256) => Bytes | undefined, H256>;
|
|
1904
1863
|
|
|
1905
1864
|
/**
|
|
1906
1865
|
* A mapping from a contract's code hash to its code info.
|
|
@@ -1908,7 +1867,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1908
1867
|
* @param {H256} arg
|
|
1909
1868
|
* @param {Callback<PalletContractsWasmCodeInfo | undefined> =} callback
|
|
1910
1869
|
**/
|
|
1911
|
-
codeInfoOf: GenericStorageQuery<
|
|
1870
|
+
codeInfoOf: GenericStorageQuery<(arg: H256) => PalletContractsWasmCodeInfo | undefined, H256>;
|
|
1912
1871
|
|
|
1913
1872
|
/**
|
|
1914
1873
|
* This is a **monotonic** counter incremented on contract instantiation.
|
|
@@ -1936,7 +1895,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1936
1895
|
*
|
|
1937
1896
|
* @param {Callback<bigint> =} callback
|
|
1938
1897
|
**/
|
|
1939
|
-
nonce: GenericStorageQuery<
|
|
1898
|
+
nonce: GenericStorageQuery<() => bigint>;
|
|
1940
1899
|
|
|
1941
1900
|
/**
|
|
1942
1901
|
* The code associated with a given account.
|
|
@@ -1947,7 +1906,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1947
1906
|
* @param {Callback<PalletContractsStorageContractInfo | undefined> =} callback
|
|
1948
1907
|
**/
|
|
1949
1908
|
contractInfoOf: GenericStorageQuery<
|
|
1950
|
-
Rv,
|
|
1951
1909
|
(arg: AccountId32Like) => PalletContractsStorageContractInfo | undefined,
|
|
1952
1910
|
AccountId32
|
|
1953
1911
|
>;
|
|
@@ -1961,7 +1919,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1961
1919
|
* @param {number} arg
|
|
1962
1920
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1963
1921
|
**/
|
|
1964
|
-
deletionQueue: GenericStorageQuery<
|
|
1922
|
+
deletionQueue: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
1965
1923
|
|
|
1966
1924
|
/**
|
|
1967
1925
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
@@ -1969,7 +1927,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1969
1927
|
*
|
|
1970
1928
|
* @param {Callback<PalletContractsStorageDeletionQueueManager> =} callback
|
|
1971
1929
|
**/
|
|
1972
|
-
deletionQueueCounter: GenericStorageQuery<
|
|
1930
|
+
deletionQueueCounter: GenericStorageQuery<() => PalletContractsStorageDeletionQueueManager>;
|
|
1973
1931
|
|
|
1974
1932
|
/**
|
|
1975
1933
|
* A migration can span across multiple blocks. This storage defines a cursor to track the
|
|
@@ -1977,12 +1935,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1977
1935
|
*
|
|
1978
1936
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1979
1937
|
**/
|
|
1980
|
-
migrationInProgress: GenericStorageQuery<
|
|
1938
|
+
migrationInProgress: GenericStorageQuery<() => Bytes | undefined>;
|
|
1981
1939
|
|
|
1982
1940
|
/**
|
|
1983
1941
|
* Generic pallet storage query
|
|
1984
1942
|
**/
|
|
1985
|
-
[storage: string]: GenericStorageQuery
|
|
1943
|
+
[storage: string]: GenericStorageQuery;
|
|
1986
1944
|
};
|
|
1987
1945
|
/**
|
|
1988
1946
|
* Pallet `Preimage`'s storage queries
|
|
@@ -1994,7 +1952,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1994
1952
|
* @param {H256} arg
|
|
1995
1953
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
1996
1954
|
**/
|
|
1997
|
-
statusFor: GenericStorageQuery<
|
|
1955
|
+
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1998
1956
|
|
|
1999
1957
|
/**
|
|
2000
1958
|
* The request status of a given hash.
|
|
@@ -2002,19 +1960,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2002
1960
|
* @param {H256} arg
|
|
2003
1961
|
* @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
|
|
2004
1962
|
**/
|
|
2005
|
-
requestStatusFor: GenericStorageQuery<
|
|
1963
|
+
requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined, H256>;
|
|
2006
1964
|
|
|
2007
1965
|
/**
|
|
2008
1966
|
*
|
|
2009
1967
|
* @param {[H256, number]} arg
|
|
2010
1968
|
* @param {Callback<Bytes | undefined> =} callback
|
|
2011
1969
|
**/
|
|
2012
|
-
preimageFor: GenericStorageQuery<
|
|
1970
|
+
preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined, [H256, number]>;
|
|
2013
1971
|
|
|
2014
1972
|
/**
|
|
2015
1973
|
* Generic pallet storage query
|
|
2016
1974
|
**/
|
|
2017
|
-
[storage: string]: GenericStorageQuery
|
|
1975
|
+
[storage: string]: GenericStorageQuery;
|
|
2018
1976
|
};
|
|
2019
1977
|
/**
|
|
2020
1978
|
* Pallet `Sudo`'s storage queries
|
|
@@ -2025,12 +1983,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2025
1983
|
*
|
|
2026
1984
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2027
1985
|
**/
|
|
2028
|
-
key: GenericStorageQuery<
|
|
1986
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2029
1987
|
|
|
2030
1988
|
/**
|
|
2031
1989
|
* Generic pallet storage query
|
|
2032
1990
|
**/
|
|
2033
|
-
[storage: string]: GenericStorageQuery
|
|
1991
|
+
[storage: string]: GenericStorageQuery;
|
|
2034
1992
|
};
|
|
2035
1993
|
/**
|
|
2036
1994
|
* Pallet `CouncilMembership`'s storage queries
|
|
@@ -2041,19 +1999,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2041
1999
|
*
|
|
2042
2000
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2043
2001
|
**/
|
|
2044
|
-
members: GenericStorageQuery<
|
|
2002
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2045
2003
|
|
|
2046
2004
|
/**
|
|
2047
2005
|
* The current prime member, if one exists.
|
|
2048
2006
|
*
|
|
2049
2007
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2050
2008
|
**/
|
|
2051
|
-
prime: GenericStorageQuery<
|
|
2009
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2052
2010
|
|
|
2053
2011
|
/**
|
|
2054
2012
|
* Generic pallet storage query
|
|
2055
2013
|
**/
|
|
2056
|
-
[storage: string]: GenericStorageQuery
|
|
2014
|
+
[storage: string]: GenericStorageQuery;
|
|
2057
2015
|
};
|
|
2058
2016
|
/**
|
|
2059
2017
|
* Pallet `TechnicalCommitteeMembership`'s storage queries
|
|
@@ -2064,19 +2022,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2064
2022
|
*
|
|
2065
2023
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2066
2024
|
**/
|
|
2067
|
-
members: GenericStorageQuery<
|
|
2025
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2068
2026
|
|
|
2069
2027
|
/**
|
|
2070
2028
|
* The current prime member, if one exists.
|
|
2071
2029
|
*
|
|
2072
2030
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2073
2031
|
**/
|
|
2074
|
-
prime: GenericStorageQuery<
|
|
2032
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2075
2033
|
|
|
2076
2034
|
/**
|
|
2077
2035
|
* Generic pallet storage query
|
|
2078
2036
|
**/
|
|
2079
|
-
[storage: string]: GenericStorageQuery
|
|
2037
|
+
[storage: string]: GenericStorageQuery;
|
|
2080
2038
|
};
|
|
2081
2039
|
/**
|
|
2082
2040
|
* Pallet `CommunityCouncilMembership`'s storage queries
|
|
@@ -2087,19 +2045,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2087
2045
|
*
|
|
2088
2046
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2089
2047
|
**/
|
|
2090
|
-
members: GenericStorageQuery<
|
|
2048
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2091
2049
|
|
|
2092
2050
|
/**
|
|
2093
2051
|
* The current prime member, if one exists.
|
|
2094
2052
|
*
|
|
2095
2053
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2096
2054
|
**/
|
|
2097
|
-
prime: GenericStorageQuery<
|
|
2055
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2098
2056
|
|
|
2099
2057
|
/**
|
|
2100
2058
|
* Generic pallet storage query
|
|
2101
2059
|
**/
|
|
2102
|
-
[storage: string]: GenericStorageQuery
|
|
2060
|
+
[storage: string]: GenericStorageQuery;
|
|
2103
2061
|
};
|
|
2104
2062
|
/**
|
|
2105
2063
|
* Pallet `Council`'s storage queries
|
|
@@ -2110,7 +2068,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2110
2068
|
*
|
|
2111
2069
|
* @param {Callback<Array<H256>> =} callback
|
|
2112
2070
|
**/
|
|
2113
|
-
proposals: GenericStorageQuery<
|
|
2071
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
2114
2072
|
|
|
2115
2073
|
/**
|
|
2116
2074
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -2118,7 +2076,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2118
2076
|
* @param {H256} arg
|
|
2119
2077
|
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2120
2078
|
**/
|
|
2121
|
-
proposalOf: GenericStorageQuery<
|
|
2079
|
+
proposalOf: GenericStorageQuery<(arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2122
2080
|
|
|
2123
2081
|
/**
|
|
2124
2082
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -2129,7 +2087,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2129
2087
|
* @param {H256} arg
|
|
2130
2088
|
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
2131
2089
|
**/
|
|
2132
|
-
costOf: GenericStorageQuery<
|
|
2090
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
2133
2091
|
|
|
2134
2092
|
/**
|
|
2135
2093
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -2137,33 +2095,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2137
2095
|
* @param {H256} arg
|
|
2138
2096
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2139
2097
|
**/
|
|
2140
|
-
voting: GenericStorageQuery<
|
|
2098
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2141
2099
|
|
|
2142
2100
|
/**
|
|
2143
2101
|
* Proposals so far.
|
|
2144
2102
|
*
|
|
2145
2103
|
* @param {Callback<number> =} callback
|
|
2146
2104
|
**/
|
|
2147
|
-
proposalCount: GenericStorageQuery<
|
|
2105
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2148
2106
|
|
|
2149
2107
|
/**
|
|
2150
2108
|
* The current members of the collective. This is stored sorted (just by value).
|
|
2151
2109
|
*
|
|
2152
2110
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2153
2111
|
**/
|
|
2154
|
-
members: GenericStorageQuery<
|
|
2112
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2155
2113
|
|
|
2156
2114
|
/**
|
|
2157
2115
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2158
2116
|
*
|
|
2159
2117
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2160
2118
|
**/
|
|
2161
|
-
prime: GenericStorageQuery<
|
|
2119
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2162
2120
|
|
|
2163
2121
|
/**
|
|
2164
2122
|
* Generic pallet storage query
|
|
2165
2123
|
**/
|
|
2166
|
-
[storage: string]: GenericStorageQuery
|
|
2124
|
+
[storage: string]: GenericStorageQuery;
|
|
2167
2125
|
};
|
|
2168
2126
|
/**
|
|
2169
2127
|
* Pallet `TechnicalCommittee`'s storage queries
|
|
@@ -2174,7 +2132,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2174
2132
|
*
|
|
2175
2133
|
* @param {Callback<Array<H256>> =} callback
|
|
2176
2134
|
**/
|
|
2177
|
-
proposals: GenericStorageQuery<
|
|
2135
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
2178
2136
|
|
|
2179
2137
|
/**
|
|
2180
2138
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -2182,7 +2140,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2182
2140
|
* @param {H256} arg
|
|
2183
2141
|
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2184
2142
|
**/
|
|
2185
|
-
proposalOf: GenericStorageQuery<
|
|
2143
|
+
proposalOf: GenericStorageQuery<(arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2186
2144
|
|
|
2187
2145
|
/**
|
|
2188
2146
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -2193,7 +2151,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2193
2151
|
* @param {H256} arg
|
|
2194
2152
|
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
2195
2153
|
**/
|
|
2196
|
-
costOf: GenericStorageQuery<
|
|
2154
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
2197
2155
|
|
|
2198
2156
|
/**
|
|
2199
2157
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -2201,33 +2159,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2201
2159
|
* @param {H256} arg
|
|
2202
2160
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2203
2161
|
**/
|
|
2204
|
-
voting: GenericStorageQuery<
|
|
2162
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2205
2163
|
|
|
2206
2164
|
/**
|
|
2207
2165
|
* Proposals so far.
|
|
2208
2166
|
*
|
|
2209
2167
|
* @param {Callback<number> =} callback
|
|
2210
2168
|
**/
|
|
2211
|
-
proposalCount: GenericStorageQuery<
|
|
2169
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2212
2170
|
|
|
2213
2171
|
/**
|
|
2214
2172
|
* The current members of the collective. This is stored sorted (just by value).
|
|
2215
2173
|
*
|
|
2216
2174
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2217
2175
|
**/
|
|
2218
|
-
members: GenericStorageQuery<
|
|
2176
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2219
2177
|
|
|
2220
2178
|
/**
|
|
2221
2179
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2222
2180
|
*
|
|
2223
2181
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2224
2182
|
**/
|
|
2225
|
-
prime: GenericStorageQuery<
|
|
2183
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2226
2184
|
|
|
2227
2185
|
/**
|
|
2228
2186
|
* Generic pallet storage query
|
|
2229
2187
|
**/
|
|
2230
|
-
[storage: string]: GenericStorageQuery
|
|
2188
|
+
[storage: string]: GenericStorageQuery;
|
|
2231
2189
|
};
|
|
2232
2190
|
/**
|
|
2233
2191
|
* Pallet `CommunityCouncil`'s storage queries
|
|
@@ -2238,7 +2196,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2238
2196
|
*
|
|
2239
2197
|
* @param {Callback<Array<H256>> =} callback
|
|
2240
2198
|
**/
|
|
2241
|
-
proposals: GenericStorageQuery<
|
|
2199
|
+
proposals: GenericStorageQuery<() => Array<H256>>;
|
|
2242
2200
|
|
|
2243
2201
|
/**
|
|
2244
2202
|
* Actual proposal for a given hash, if it's current.
|
|
@@ -2246,7 +2204,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2246
2204
|
* @param {H256} arg
|
|
2247
2205
|
* @param {Callback<AstarRuntimeRuntimeCall | undefined> =} callback
|
|
2248
2206
|
**/
|
|
2249
|
-
proposalOf: GenericStorageQuery<
|
|
2207
|
+
proposalOf: GenericStorageQuery<(arg: H256) => AstarRuntimeRuntimeCall | undefined, H256>;
|
|
2250
2208
|
|
|
2251
2209
|
/**
|
|
2252
2210
|
* Consideration cost created for publishing and storing a proposal.
|
|
@@ -2257,7 +2215,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2257
2215
|
* @param {H256} arg
|
|
2258
2216
|
* @param {Callback<[AccountId32, []] | undefined> =} callback
|
|
2259
2217
|
**/
|
|
2260
|
-
costOf: GenericStorageQuery<
|
|
2218
|
+
costOf: GenericStorageQuery<(arg: H256) => [AccountId32, []] | undefined, H256>;
|
|
2261
2219
|
|
|
2262
2220
|
/**
|
|
2263
2221
|
* Votes on a given proposal, if it is ongoing.
|
|
@@ -2265,33 +2223,33 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2265
2223
|
* @param {H256} arg
|
|
2266
2224
|
* @param {Callback<PalletCollectiveVotes | undefined> =} callback
|
|
2267
2225
|
**/
|
|
2268
|
-
voting: GenericStorageQuery<
|
|
2226
|
+
voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined, H256>;
|
|
2269
2227
|
|
|
2270
2228
|
/**
|
|
2271
2229
|
* Proposals so far.
|
|
2272
2230
|
*
|
|
2273
2231
|
* @param {Callback<number> =} callback
|
|
2274
2232
|
**/
|
|
2275
|
-
proposalCount: GenericStorageQuery<
|
|
2233
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2276
2234
|
|
|
2277
2235
|
/**
|
|
2278
2236
|
* The current members of the collective. This is stored sorted (just by value).
|
|
2279
2237
|
*
|
|
2280
2238
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
2281
2239
|
**/
|
|
2282
|
-
members: GenericStorageQuery<
|
|
2240
|
+
members: GenericStorageQuery<() => Array<AccountId32>>;
|
|
2283
2241
|
|
|
2284
2242
|
/**
|
|
2285
2243
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
2286
2244
|
*
|
|
2287
2245
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
2288
2246
|
**/
|
|
2289
|
-
prime: GenericStorageQuery<
|
|
2247
|
+
prime: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2290
2248
|
|
|
2291
2249
|
/**
|
|
2292
2250
|
* Generic pallet storage query
|
|
2293
2251
|
**/
|
|
2294
|
-
[storage: string]: GenericStorageQuery
|
|
2252
|
+
[storage: string]: GenericStorageQuery;
|
|
2295
2253
|
};
|
|
2296
2254
|
/**
|
|
2297
2255
|
* Pallet `Democracy`'s storage queries
|
|
@@ -2302,14 +2260,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2302
2260
|
*
|
|
2303
2261
|
* @param {Callback<number> =} callback
|
|
2304
2262
|
**/
|
|
2305
|
-
publicPropCount: GenericStorageQuery<
|
|
2263
|
+
publicPropCount: GenericStorageQuery<() => number>;
|
|
2306
2264
|
|
|
2307
2265
|
/**
|
|
2308
2266
|
* The public proposals. Unsorted. The second item is the proposal.
|
|
2309
2267
|
*
|
|
2310
2268
|
* @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId32]>> =} callback
|
|
2311
2269
|
**/
|
|
2312
|
-
publicProps: GenericStorageQuery<
|
|
2270
|
+
publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId32]>>;
|
|
2313
2271
|
|
|
2314
2272
|
/**
|
|
2315
2273
|
* Those who have locked a deposit.
|
|
@@ -2319,14 +2277,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2319
2277
|
* @param {number} arg
|
|
2320
2278
|
* @param {Callback<[Array<AccountId32>, bigint] | undefined> =} callback
|
|
2321
2279
|
**/
|
|
2322
|
-
depositOf: GenericStorageQuery<
|
|
2280
|
+
depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId32>, bigint] | undefined, number>;
|
|
2323
2281
|
|
|
2324
2282
|
/**
|
|
2325
2283
|
* The next free referendum index, aka the number of referenda started so far.
|
|
2326
2284
|
*
|
|
2327
2285
|
* @param {Callback<number> =} callback
|
|
2328
2286
|
**/
|
|
2329
|
-
referendumCount: GenericStorageQuery<
|
|
2287
|
+
referendumCount: GenericStorageQuery<() => number>;
|
|
2330
2288
|
|
|
2331
2289
|
/**
|
|
2332
2290
|
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
@@ -2334,7 +2292,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2334
2292
|
*
|
|
2335
2293
|
* @param {Callback<number> =} callback
|
|
2336
2294
|
**/
|
|
2337
|
-
lowestUnbaked: GenericStorageQuery<
|
|
2295
|
+
lowestUnbaked: GenericStorageQuery<() => number>;
|
|
2338
2296
|
|
|
2339
2297
|
/**
|
|
2340
2298
|
* Information concerning any given referendum.
|
|
@@ -2344,7 +2302,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2344
2302
|
* @param {number} arg
|
|
2345
2303
|
* @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
|
|
2346
2304
|
**/
|
|
2347
|
-
referendumInfoOf: GenericStorageQuery<
|
|
2305
|
+
referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined, number>;
|
|
2348
2306
|
|
|
2349
2307
|
/**
|
|
2350
2308
|
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
@@ -2355,7 +2313,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2355
2313
|
* @param {AccountId32Like} arg
|
|
2356
2314
|
* @param {Callback<PalletDemocracyVoteVoting> =} callback
|
|
2357
2315
|
**/
|
|
2358
|
-
votingOf: GenericStorageQuery<
|
|
2316
|
+
votingOf: GenericStorageQuery<(arg: AccountId32Like) => PalletDemocracyVoteVoting, AccountId32>;
|
|
2359
2317
|
|
|
2360
2318
|
/**
|
|
2361
2319
|
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
@@ -2363,7 +2321,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2363
2321
|
*
|
|
2364
2322
|
* @param {Callback<boolean> =} callback
|
|
2365
2323
|
**/
|
|
2366
|
-
lastTabledWasExternal: GenericStorageQuery<
|
|
2324
|
+
lastTabledWasExternal: GenericStorageQuery<() => boolean>;
|
|
2367
2325
|
|
|
2368
2326
|
/**
|
|
2369
2327
|
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
@@ -2373,10 +2331,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2373
2331
|
*
|
|
2374
2332
|
* @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
|
|
2375
2333
|
**/
|
|
2376
|
-
nextExternal: GenericStorageQuery<
|
|
2377
|
-
Rv,
|
|
2378
|
-
() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined
|
|
2379
|
-
>;
|
|
2334
|
+
nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
|
|
2380
2335
|
|
|
2381
2336
|
/**
|
|
2382
2337
|
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
@@ -2385,7 +2340,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2385
2340
|
* @param {H256} arg
|
|
2386
2341
|
* @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
|
|
2387
2342
|
**/
|
|
2388
|
-
blacklist: GenericStorageQuery<
|
|
2343
|
+
blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId32>] | undefined, H256>;
|
|
2389
2344
|
|
|
2390
2345
|
/**
|
|
2391
2346
|
* Record of all proposals that have been subject to emergency cancellation.
|
|
@@ -2393,7 +2348,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2393
2348
|
* @param {H256} arg
|
|
2394
2349
|
* @param {Callback<boolean> =} callback
|
|
2395
2350
|
**/
|
|
2396
|
-
cancellations: GenericStorageQuery<
|
|
2351
|
+
cancellations: GenericStorageQuery<(arg: H256) => boolean, H256>;
|
|
2397
2352
|
|
|
2398
2353
|
/**
|
|
2399
2354
|
* General information concerning any proposal or referendum.
|
|
@@ -2407,7 +2362,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2407
2362
|
* @param {Callback<H256 | undefined> =} callback
|
|
2408
2363
|
**/
|
|
2409
2364
|
metadataOf: GenericStorageQuery<
|
|
2410
|
-
Rv,
|
|
2411
2365
|
(arg: PalletDemocracyMetadataOwner) => H256 | undefined,
|
|
2412
2366
|
PalletDemocracyMetadataOwner
|
|
2413
2367
|
>;
|
|
@@ -2415,7 +2369,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2415
2369
|
/**
|
|
2416
2370
|
* Generic pallet storage query
|
|
2417
2371
|
**/
|
|
2418
|
-
[storage: string]: GenericStorageQuery
|
|
2372
|
+
[storage: string]: GenericStorageQuery;
|
|
2419
2373
|
};
|
|
2420
2374
|
/**
|
|
2421
2375
|
* Pallet `Treasury`'s storage queries
|
|
@@ -2426,7 +2380,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2426
2380
|
*
|
|
2427
2381
|
* @param {Callback<number> =} callback
|
|
2428
2382
|
**/
|
|
2429
|
-
proposalCount: GenericStorageQuery<
|
|
2383
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2430
2384
|
|
|
2431
2385
|
/**
|
|
2432
2386
|
* Proposals that have been made.
|
|
@@ -2434,26 +2388,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2434
2388
|
* @param {number} arg
|
|
2435
2389
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2436
2390
|
**/
|
|
2437
|
-
proposals: GenericStorageQuery<
|
|
2391
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2438
2392
|
|
|
2439
2393
|
/**
|
|
2440
2394
|
* The amount which has been reported as inactive to Currency.
|
|
2441
2395
|
*
|
|
2442
2396
|
* @param {Callback<bigint> =} callback
|
|
2443
2397
|
**/
|
|
2444
|
-
deactivated: GenericStorageQuery<
|
|
2398
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
2445
2399
|
|
|
2446
2400
|
/**
|
|
2447
2401
|
* Proposal indices that have been approved but not yet awarded.
|
|
2448
2402
|
*
|
|
2449
2403
|
* @param {Callback<Array<number>> =} callback
|
|
2450
2404
|
**/
|
|
2451
|
-
approvals: GenericStorageQuery<
|
|
2405
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
2452
2406
|
|
|
2453
2407
|
/**
|
|
2454
2408
|
* Generic pallet storage query
|
|
2455
2409
|
**/
|
|
2456
|
-
[storage: string]: GenericStorageQuery
|
|
2410
|
+
[storage: string]: GenericStorageQuery;
|
|
2457
2411
|
};
|
|
2458
2412
|
/**
|
|
2459
2413
|
* Pallet `CommunityTreasury`'s storage queries
|
|
@@ -2464,7 +2418,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2464
2418
|
*
|
|
2465
2419
|
* @param {Callback<number> =} callback
|
|
2466
2420
|
**/
|
|
2467
|
-
proposalCount: GenericStorageQuery<
|
|
2421
|
+
proposalCount: GenericStorageQuery<() => number>;
|
|
2468
2422
|
|
|
2469
2423
|
/**
|
|
2470
2424
|
* Proposals that have been made.
|
|
@@ -2472,26 +2426,26 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2472
2426
|
* @param {number} arg
|
|
2473
2427
|
* @param {Callback<PalletTreasuryProposal | undefined> =} callback
|
|
2474
2428
|
**/
|
|
2475
|
-
proposals: GenericStorageQuery<
|
|
2429
|
+
proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined, number>;
|
|
2476
2430
|
|
|
2477
2431
|
/**
|
|
2478
2432
|
* The amount which has been reported as inactive to Currency.
|
|
2479
2433
|
*
|
|
2480
2434
|
* @param {Callback<bigint> =} callback
|
|
2481
2435
|
**/
|
|
2482
|
-
deactivated: GenericStorageQuery<
|
|
2436
|
+
deactivated: GenericStorageQuery<() => bigint>;
|
|
2483
2437
|
|
|
2484
2438
|
/**
|
|
2485
2439
|
* Proposal indices that have been approved but not yet awarded.
|
|
2486
2440
|
*
|
|
2487
2441
|
* @param {Callback<Array<number>> =} callback
|
|
2488
2442
|
**/
|
|
2489
|
-
approvals: GenericStorageQuery<
|
|
2443
|
+
approvals: GenericStorageQuery<() => Array<number>>;
|
|
2490
2444
|
|
|
2491
2445
|
/**
|
|
2492
2446
|
* Generic pallet storage query
|
|
2493
2447
|
**/
|
|
2494
|
-
[storage: string]: GenericStorageQuery
|
|
2448
|
+
[storage: string]: GenericStorageQuery;
|
|
2495
2449
|
};
|
|
2496
2450
|
/**
|
|
2497
2451
|
* Pallet `SafeMode`'s storage queries
|
|
@@ -2506,7 +2460,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2506
2460
|
*
|
|
2507
2461
|
* @param {Callback<number | undefined> =} callback
|
|
2508
2462
|
**/
|
|
2509
|
-
enteredUntil: GenericStorageQuery<
|
|
2463
|
+
enteredUntil: GenericStorageQuery<() => number | undefined>;
|
|
2510
2464
|
|
|
2511
2465
|
/**
|
|
2512
2466
|
* Holds the reserve that was taken from an account at a specific block number.
|
|
@@ -2517,12 +2471,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2517
2471
|
* @param {[AccountId32Like, number]} arg
|
|
2518
2472
|
* @param {Callback<bigint | undefined> =} callback
|
|
2519
2473
|
**/
|
|
2520
|
-
deposits: GenericStorageQuery<
|
|
2474
|
+
deposits: GenericStorageQuery<(arg: [AccountId32Like, number]) => bigint | undefined, [AccountId32, number]>;
|
|
2521
2475
|
|
|
2522
2476
|
/**
|
|
2523
2477
|
* Generic pallet storage query
|
|
2524
2478
|
**/
|
|
2525
|
-
[storage: string]: GenericStorageQuery
|
|
2479
|
+
[storage: string]: GenericStorageQuery;
|
|
2526
2480
|
};
|
|
2527
2481
|
/**
|
|
2528
2482
|
* Pallet `TxPause`'s storage queries
|
|
@@ -2534,12 +2488,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2534
2488
|
* @param {[BytesLike, BytesLike]} arg
|
|
2535
2489
|
* @param {Callback<[] | undefined> =} callback
|
|
2536
2490
|
**/
|
|
2537
|
-
pausedCalls: GenericStorageQuery<
|
|
2491
|
+
pausedCalls: GenericStorageQuery<(arg: [BytesLike, BytesLike]) => [] | undefined, [Bytes, Bytes]>;
|
|
2538
2492
|
|
|
2539
2493
|
/**
|
|
2540
2494
|
* Generic pallet storage query
|
|
2541
2495
|
**/
|
|
2542
|
-
[storage: string]: GenericStorageQuery
|
|
2496
|
+
[storage: string]: GenericStorageQuery;
|
|
2543
2497
|
};
|
|
2544
2498
|
/**
|
|
2545
2499
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -2552,7 +2506,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2552
2506
|
*
|
|
2553
2507
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
2554
2508
|
**/
|
|
2555
|
-
cursor: GenericStorageQuery<
|
|
2509
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
2556
2510
|
|
|
2557
2511
|
/**
|
|
2558
2512
|
* Set of all successfully executed migrations.
|
|
@@ -2563,11 +2517,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2563
2517
|
* @param {BytesLike} arg
|
|
2564
2518
|
* @param {Callback<[] | undefined> =} callback
|
|
2565
2519
|
**/
|
|
2566
|
-
historic: GenericStorageQuery<
|
|
2520
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
2567
2521
|
|
|
2568
2522
|
/**
|
|
2569
2523
|
* Generic pallet storage query
|
|
2570
2524
|
**/
|
|
2571
|
-
[storage: string]: GenericStorageQuery
|
|
2525
|
+
[storage: string]: GenericStorageQuery;
|
|
2572
2526
|
};
|
|
2573
2527
|
}
|