@dedot/chaintypes 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -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,
|
|
@@ -67,7 +67,7 @@ import type {
|
|
|
67
67
|
PalletMigrationsMigrationCursor,
|
|
68
68
|
} from './types.js';
|
|
69
69
|
|
|
70
|
-
export interface ChainStorage
|
|
70
|
+
export interface ChainStorage extends GenericChainStorage {
|
|
71
71
|
/**
|
|
72
72
|
* Pallet `System`'s storage queries
|
|
73
73
|
**/
|
|
@@ -78,35 +78,35 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
78
78
|
* @param {AccountId32Like} arg
|
|
79
79
|
* @param {Callback<FrameSystemAccountInfo> =} callback
|
|
80
80
|
**/
|
|
81
|
-
account: GenericStorageQuery<
|
|
81
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Total extrinsics count for the current block.
|
|
85
85
|
*
|
|
86
86
|
* @param {Callback<number | undefined> =} callback
|
|
87
87
|
**/
|
|
88
|
-
extrinsicCount: GenericStorageQuery<
|
|
88
|
+
extrinsicCount: GenericStorageQuery<() => number | undefined>;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Whether all inherents have been applied.
|
|
92
92
|
*
|
|
93
93
|
* @param {Callback<boolean> =} callback
|
|
94
94
|
**/
|
|
95
|
-
inherentsApplied: GenericStorageQuery<
|
|
95
|
+
inherentsApplied: GenericStorageQuery<() => boolean>;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* The current weight for the block.
|
|
99
99
|
*
|
|
100
100
|
* @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
|
|
101
101
|
**/
|
|
102
|
-
blockWeight: GenericStorageQuery<
|
|
102
|
+
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
106
106
|
*
|
|
107
107
|
* @param {Callback<number | undefined> =} callback
|
|
108
108
|
**/
|
|
109
|
-
allExtrinsicsLen: GenericStorageQuery<
|
|
109
|
+
allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* Map of block numbers to block hashes.
|
|
@@ -114,7 +114,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
114
114
|
* @param {number} arg
|
|
115
115
|
* @param {Callback<H256> =} callback
|
|
116
116
|
**/
|
|
117
|
-
blockHash: GenericStorageQuery<
|
|
117
|
+
blockHash: GenericStorageQuery<(arg: number) => H256, number>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
@@ -122,28 +122,28 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
122
122
|
* @param {number} arg
|
|
123
123
|
* @param {Callback<Bytes> =} callback
|
|
124
124
|
**/
|
|
125
|
-
extrinsicData: GenericStorageQuery<
|
|
125
|
+
extrinsicData: GenericStorageQuery<(arg: number) => Bytes, number>;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* The current block number being processed. Set by `execute_block`.
|
|
129
129
|
*
|
|
130
130
|
* @param {Callback<number> =} callback
|
|
131
131
|
**/
|
|
132
|
-
number: GenericStorageQuery<
|
|
132
|
+
number: GenericStorageQuery<() => number>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Hash of the previous block.
|
|
136
136
|
*
|
|
137
137
|
* @param {Callback<H256> =} callback
|
|
138
138
|
**/
|
|
139
|
-
parentHash: GenericStorageQuery<
|
|
139
|
+
parentHash: GenericStorageQuery<() => H256>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Digest of the current block, also part of the block header.
|
|
143
143
|
*
|
|
144
144
|
* @param {Callback<Digest> =} callback
|
|
145
145
|
**/
|
|
146
|
-
digest: GenericStorageQuery<
|
|
146
|
+
digest: GenericStorageQuery<() => Digest>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Events deposited for the current block.
|
|
@@ -156,14 +156,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
156
156
|
*
|
|
157
157
|
* @param {Callback<Array<FrameSystemEventRecord>> =} callback
|
|
158
158
|
**/
|
|
159
|
-
events: GenericStorageQuery<
|
|
159
|
+
events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* The number of events in the `Events<T>` list.
|
|
163
163
|
*
|
|
164
164
|
* @param {Callback<number> =} callback
|
|
165
165
|
**/
|
|
166
|
-
eventCount: GenericStorageQuery<
|
|
166
|
+
eventCount: GenericStorageQuery<() => number>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
@@ -180,21 +180,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
180
180
|
* @param {H256} arg
|
|
181
181
|
* @param {Callback<Array<[number, number]>> =} callback
|
|
182
182
|
**/
|
|
183
|
-
eventTopics: GenericStorageQuery<
|
|
183
|
+
eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>, H256>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
187
187
|
*
|
|
188
188
|
* @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
|
|
189
189
|
**/
|
|
190
|
-
lastRuntimeUpgrade: GenericStorageQuery<
|
|
190
|
+
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
194
194
|
*
|
|
195
195
|
* @param {Callback<boolean> =} callback
|
|
196
196
|
**/
|
|
197
|
-
upgradedToU32RefCount: GenericStorageQuery<
|
|
197
|
+
upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
@@ -202,21 +202,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
202
202
|
*
|
|
203
203
|
* @param {Callback<boolean> =} callback
|
|
204
204
|
**/
|
|
205
|
-
upgradedToTripleRefCount: GenericStorageQuery<
|
|
205
|
+
upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* The execution phase of the block.
|
|
209
209
|
*
|
|
210
210
|
* @param {Callback<Phase | undefined> =} callback
|
|
211
211
|
**/
|
|
212
|
-
executionPhase: GenericStorageQuery<
|
|
212
|
+
executionPhase: GenericStorageQuery<() => Phase | undefined>;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* `Some` if a code upgrade has been authorized.
|
|
216
216
|
*
|
|
217
217
|
* @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
|
|
218
218
|
**/
|
|
219
|
-
authorizedUpgrade: GenericStorageQuery<
|
|
219
|
+
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* The weight reclaimed for the extrinsic.
|
|
@@ -229,12 +229,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
229
229
|
*
|
|
230
230
|
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
231
231
|
**/
|
|
232
|
-
extrinsicWeightReclaimed: GenericStorageQuery<
|
|
232
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Generic pallet storage query
|
|
236
236
|
**/
|
|
237
|
-
[storage: string]: GenericStorageQuery
|
|
237
|
+
[storage: string]: GenericStorageQuery;
|
|
238
238
|
};
|
|
239
239
|
/**
|
|
240
240
|
* Pallet `ParachainSystem`'s storage queries
|
|
@@ -250,7 +250,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
250
250
|
*
|
|
251
251
|
* @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
|
|
252
252
|
**/
|
|
253
|
-
unincludedSegment: GenericStorageQuery<
|
|
253
|
+
unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Storage field that keeps track of bandwidth used by the unincluded segment along with the
|
|
@@ -260,7 +260,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
260
260
|
* @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
|
|
261
261
|
**/
|
|
262
262
|
aggregatedUnincludedSegment: GenericStorageQuery<
|
|
263
|
-
Rv,
|
|
264
263
|
() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
|
|
265
264
|
>;
|
|
266
265
|
|
|
@@ -274,7 +273,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
274
273
|
*
|
|
275
274
|
* @param {Callback<Bytes> =} callback
|
|
276
275
|
**/
|
|
277
|
-
pendingValidationCode: GenericStorageQuery<
|
|
276
|
+
pendingValidationCode: GenericStorageQuery<() => Bytes>;
|
|
278
277
|
|
|
279
278
|
/**
|
|
280
279
|
* Validation code that is set by the parachain and is to be communicated to collator and
|
|
@@ -285,7 +284,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
285
284
|
*
|
|
286
285
|
* @param {Callback<Bytes | undefined> =} callback
|
|
287
286
|
**/
|
|
288
|
-
newValidationCode: GenericStorageQuery<
|
|
287
|
+
newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
|
|
289
288
|
|
|
290
289
|
/**
|
|
291
290
|
* The [`PersistedValidationData`] set for this block.
|
|
@@ -294,14 +293,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
294
293
|
*
|
|
295
294
|
* @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
|
|
296
295
|
**/
|
|
297
|
-
validationData: GenericStorageQuery<
|
|
296
|
+
validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
|
|
298
297
|
|
|
299
298
|
/**
|
|
300
299
|
* Were the validation data set to notify the relay chain?
|
|
301
300
|
*
|
|
302
301
|
* @param {Callback<boolean> =} callback
|
|
303
302
|
**/
|
|
304
|
-
didSetValidationCode: GenericStorageQuery<
|
|
303
|
+
didSetValidationCode: GenericStorageQuery<() => boolean>;
|
|
305
304
|
|
|
306
305
|
/**
|
|
307
306
|
* The relay chain block number associated with the last parachain block.
|
|
@@ -310,7 +309,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
310
309
|
*
|
|
311
310
|
* @param {Callback<number> =} callback
|
|
312
311
|
**/
|
|
313
|
-
lastRelayChainBlockNumber: GenericStorageQuery<
|
|
312
|
+
lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
|
|
314
313
|
|
|
315
314
|
/**
|
|
316
315
|
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
|
|
@@ -323,7 +322,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
323
322
|
*
|
|
324
323
|
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
325
324
|
**/
|
|
326
|
-
upgradeRestrictionSignal: GenericStorageQuery<
|
|
325
|
+
upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
|
|
327
326
|
|
|
328
327
|
/**
|
|
329
328
|
* Optional upgrade go-ahead signal from the relay-chain.
|
|
@@ -334,7 +333,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
334
333
|
*
|
|
335
334
|
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
336
335
|
**/
|
|
337
|
-
upgradeGoAhead: GenericStorageQuery<
|
|
336
|
+
upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
|
|
338
337
|
|
|
339
338
|
/**
|
|
340
339
|
* The state proof for the last relay parent block.
|
|
@@ -346,7 +345,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
346
345
|
*
|
|
347
346
|
* @param {Callback<SpTrieStorageProof | undefined> =} callback
|
|
348
347
|
**/
|
|
349
|
-
relayStateProof: GenericStorageQuery<
|
|
348
|
+
relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
|
|
350
349
|
|
|
351
350
|
/**
|
|
352
351
|
* The snapshot of some state related to messaging relevant to the current parachain as per
|
|
@@ -360,7 +359,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
360
359
|
* @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
|
|
361
360
|
**/
|
|
362
361
|
relevantMessagingState: GenericStorageQuery<
|
|
363
|
-
Rv,
|
|
364
362
|
() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
|
|
365
363
|
>;
|
|
366
364
|
|
|
@@ -374,7 +372,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
374
372
|
*
|
|
375
373
|
* @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
|
|
376
374
|
**/
|
|
377
|
-
hostConfiguration: GenericStorageQuery<
|
|
375
|
+
hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
|
|
378
376
|
|
|
379
377
|
/**
|
|
380
378
|
* The last downward message queue chain head we have observed.
|
|
@@ -384,7 +382,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
384
382
|
*
|
|
385
383
|
* @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
|
|
386
384
|
**/
|
|
387
|
-
lastDmqMqcHead: GenericStorageQuery<
|
|
385
|
+
lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
|
|
388
386
|
|
|
389
387
|
/**
|
|
390
388
|
* The message queue chain heads we have observed per each channel incoming channel.
|
|
@@ -395,7 +393,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
395
393
|
* @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
|
|
396
394
|
**/
|
|
397
395
|
lastHrmpMqcHeads: GenericStorageQuery<
|
|
398
|
-
Rv,
|
|
399
396
|
() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
|
|
400
397
|
>;
|
|
401
398
|
|
|
@@ -406,7 +403,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
406
403
|
*
|
|
407
404
|
* @param {Callback<number> =} callback
|
|
408
405
|
**/
|
|
409
|
-
processedDownwardMessages: GenericStorageQuery<
|
|
406
|
+
processedDownwardMessages: GenericStorageQuery<() => number>;
|
|
410
407
|
|
|
411
408
|
/**
|
|
412
409
|
* The last processed downward message.
|
|
@@ -416,7 +413,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
416
413
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
417
414
|
**/
|
|
418
415
|
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
419
|
-
Rv,
|
|
420
416
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
421
417
|
>;
|
|
422
418
|
|
|
@@ -425,7 +421,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
425
421
|
*
|
|
426
422
|
* @param {Callback<number> =} callback
|
|
427
423
|
**/
|
|
428
|
-
hrmpWatermark: GenericStorageQuery<
|
|
424
|
+
hrmpWatermark: GenericStorageQuery<() => number>;
|
|
429
425
|
|
|
430
426
|
/**
|
|
431
427
|
* The last processed HRMP message.
|
|
@@ -435,7 +431,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
435
431
|
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
436
432
|
**/
|
|
437
433
|
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
438
|
-
Rv,
|
|
439
434
|
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
440
435
|
>;
|
|
441
436
|
|
|
@@ -446,7 +441,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
446
441
|
*
|
|
447
442
|
* @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
|
|
448
443
|
**/
|
|
449
|
-
hrmpOutboundMessages: GenericStorageQuery<
|
|
444
|
+
hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
|
|
450
445
|
|
|
451
446
|
/**
|
|
452
447
|
* Upward messages that were sent in a block.
|
|
@@ -455,21 +450,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
455
450
|
*
|
|
456
451
|
* @param {Callback<Array<Bytes>> =} callback
|
|
457
452
|
**/
|
|
458
|
-
upwardMessages: GenericStorageQuery<
|
|
453
|
+
upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
459
454
|
|
|
460
455
|
/**
|
|
461
456
|
* Upward messages that are still pending and not yet send to the relay chain.
|
|
462
457
|
*
|
|
463
458
|
* @param {Callback<Array<Bytes>> =} callback
|
|
464
459
|
**/
|
|
465
|
-
pendingUpwardMessages: GenericStorageQuery<
|
|
460
|
+
pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
|
|
466
461
|
|
|
467
462
|
/**
|
|
468
463
|
* The factor to multiply the base delivery fee by for UMP.
|
|
469
464
|
*
|
|
470
465
|
* @param {Callback<FixedU128> =} callback
|
|
471
466
|
**/
|
|
472
|
-
upwardDeliveryFeeFactor: GenericStorageQuery<
|
|
467
|
+
upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
|
|
473
468
|
|
|
474
469
|
/**
|
|
475
470
|
* The number of HRMP messages we observed in `on_initialize` and thus used that number for
|
|
@@ -477,7 +472,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
477
472
|
*
|
|
478
473
|
* @param {Callback<number> =} callback
|
|
479
474
|
**/
|
|
480
|
-
announcedHrmpMessagesPerCandidate: GenericStorageQuery<
|
|
475
|
+
announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
|
|
481
476
|
|
|
482
477
|
/**
|
|
483
478
|
* The weight we reserve at the beginning of the block for processing XCMP messages. This
|
|
@@ -485,7 +480,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
485
480
|
*
|
|
486
481
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
487
482
|
**/
|
|
488
|
-
reservedXcmpWeightOverride: GenericStorageQuery<
|
|
483
|
+
reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
489
484
|
|
|
490
485
|
/**
|
|
491
486
|
* The weight we reserve at the beginning of the block for processing DMP messages. This
|
|
@@ -493,7 +488,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
493
488
|
*
|
|
494
489
|
* @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
|
|
495
490
|
**/
|
|
496
|
-
reservedDmpWeightOverride: GenericStorageQuery<
|
|
491
|
+
reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
|
|
497
492
|
|
|
498
493
|
/**
|
|
499
494
|
* A custom head data that should be returned as result of `validate_block`.
|
|
@@ -502,12 +497,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
502
497
|
*
|
|
503
498
|
* @param {Callback<Bytes | undefined> =} callback
|
|
504
499
|
**/
|
|
505
|
-
customValidationHeadData: GenericStorageQuery<
|
|
500
|
+
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
506
501
|
|
|
507
502
|
/**
|
|
508
503
|
* Generic pallet storage query
|
|
509
504
|
**/
|
|
510
|
-
[storage: string]: GenericStorageQuery
|
|
505
|
+
[storage: string]: GenericStorageQuery;
|
|
511
506
|
};
|
|
512
507
|
/**
|
|
513
508
|
* Pallet `Timestamp`'s storage queries
|
|
@@ -518,7 +513,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
518
513
|
*
|
|
519
514
|
* @param {Callback<bigint> =} callback
|
|
520
515
|
**/
|
|
521
|
-
now: GenericStorageQuery<
|
|
516
|
+
now: GenericStorageQuery<() => bigint>;
|
|
522
517
|
|
|
523
518
|
/**
|
|
524
519
|
* Whether the timestamp has been updated in this block.
|
|
@@ -528,12 +523,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
528
523
|
*
|
|
529
524
|
* @param {Callback<boolean> =} callback
|
|
530
525
|
**/
|
|
531
|
-
didUpdate: GenericStorageQuery<
|
|
526
|
+
didUpdate: GenericStorageQuery<() => boolean>;
|
|
532
527
|
|
|
533
528
|
/**
|
|
534
529
|
* Generic pallet storage query
|
|
535
530
|
**/
|
|
536
|
-
[storage: string]: GenericStorageQuery
|
|
531
|
+
[storage: string]: GenericStorageQuery;
|
|
537
532
|
};
|
|
538
533
|
/**
|
|
539
534
|
* Pallet `ParachainInfo`'s storage queries
|
|
@@ -543,12 +538,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
543
538
|
*
|
|
544
539
|
* @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
|
|
545
540
|
**/
|
|
546
|
-
parachainId: GenericStorageQuery<
|
|
541
|
+
parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
|
|
547
542
|
|
|
548
543
|
/**
|
|
549
544
|
* Generic pallet storage query
|
|
550
545
|
**/
|
|
551
|
-
[storage: string]: GenericStorageQuery
|
|
546
|
+
[storage: string]: GenericStorageQuery;
|
|
552
547
|
};
|
|
553
548
|
/**
|
|
554
549
|
* Pallet `Balances`'s storage queries
|
|
@@ -559,14 +554,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
559
554
|
*
|
|
560
555
|
* @param {Callback<bigint> =} callback
|
|
561
556
|
**/
|
|
562
|
-
totalIssuance: GenericStorageQuery<
|
|
557
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
563
558
|
|
|
564
559
|
/**
|
|
565
560
|
* The total units of outstanding deactivated balance in the system.
|
|
566
561
|
*
|
|
567
562
|
* @param {Callback<bigint> =} callback
|
|
568
563
|
**/
|
|
569
|
-
inactiveIssuance: GenericStorageQuery<
|
|
564
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
570
565
|
|
|
571
566
|
/**
|
|
572
567
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -597,7 +592,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
597
592
|
* @param {AccountId32Like} arg
|
|
598
593
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
599
594
|
**/
|
|
600
|
-
account: GenericStorageQuery<
|
|
595
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
601
596
|
|
|
602
597
|
/**
|
|
603
598
|
* Any liquidity locks on some account balances.
|
|
@@ -608,7 +603,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
608
603
|
* @param {AccountId32Like} arg
|
|
609
604
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
610
605
|
**/
|
|
611
|
-
locks: GenericStorageQuery<
|
|
606
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
612
607
|
|
|
613
608
|
/**
|
|
614
609
|
* Named reserves on some account balances.
|
|
@@ -618,7 +613,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
618
613
|
* @param {AccountId32Like} arg
|
|
619
614
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
620
615
|
**/
|
|
621
|
-
reserves: GenericStorageQuery<
|
|
616
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
622
617
|
|
|
623
618
|
/**
|
|
624
619
|
* Holds on account balances.
|
|
@@ -626,7 +621,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
626
621
|
* @param {AccountId32Like} arg
|
|
627
622
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
628
623
|
**/
|
|
629
|
-
holds: GenericStorageQuery<
|
|
624
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
630
625
|
|
|
631
626
|
/**
|
|
632
627
|
* Freeze locks on account balances.
|
|
@@ -634,12 +629,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
634
629
|
* @param {AccountId32Like} arg
|
|
635
630
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
|
|
636
631
|
**/
|
|
637
|
-
freezes: GenericStorageQuery<
|
|
632
|
+
freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
|
|
638
633
|
|
|
639
634
|
/**
|
|
640
635
|
* Generic pallet storage query
|
|
641
636
|
**/
|
|
642
|
-
[storage: string]: GenericStorageQuery
|
|
637
|
+
[storage: string]: GenericStorageQuery;
|
|
643
638
|
};
|
|
644
639
|
/**
|
|
645
640
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -649,18 +644,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
649
644
|
*
|
|
650
645
|
* @param {Callback<FixedU128> =} callback
|
|
651
646
|
**/
|
|
652
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
647
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
653
648
|
|
|
654
649
|
/**
|
|
655
650
|
*
|
|
656
651
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
657
652
|
**/
|
|
658
|
-
storageVersion: GenericStorageQuery<
|
|
653
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
659
654
|
|
|
660
655
|
/**
|
|
661
656
|
* Generic pallet storage query
|
|
662
657
|
**/
|
|
663
|
-
[storage: string]: GenericStorageQuery
|
|
658
|
+
[storage: string]: GenericStorageQuery;
|
|
664
659
|
};
|
|
665
660
|
/**
|
|
666
661
|
* Pallet `Authorship`'s storage queries
|
|
@@ -671,12 +666,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
671
666
|
*
|
|
672
667
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
673
668
|
**/
|
|
674
|
-
author: GenericStorageQuery<
|
|
669
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
675
670
|
|
|
676
671
|
/**
|
|
677
672
|
* Generic pallet storage query
|
|
678
673
|
**/
|
|
679
|
-
[storage: string]: GenericStorageQuery
|
|
674
|
+
[storage: string]: GenericStorageQuery;
|
|
680
675
|
};
|
|
681
676
|
/**
|
|
682
677
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -687,7 +682,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
687
682
|
*
|
|
688
683
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
689
684
|
**/
|
|
690
|
-
invulnerables: GenericStorageQuery<
|
|
685
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
691
686
|
|
|
692
687
|
/**
|
|
693
688
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -698,7 +693,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
698
693
|
*
|
|
699
694
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
700
695
|
**/
|
|
701
|
-
candidateList: GenericStorageQuery<
|
|
696
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
702
697
|
|
|
703
698
|
/**
|
|
704
699
|
* Last block authored by collator.
|
|
@@ -706,7 +701,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
706
701
|
* @param {AccountId32Like} arg
|
|
707
702
|
* @param {Callback<number> =} callback
|
|
708
703
|
**/
|
|
709
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
704
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
710
705
|
|
|
711
706
|
/**
|
|
712
707
|
* Desired number of candidates.
|
|
@@ -715,7 +710,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
715
710
|
*
|
|
716
711
|
* @param {Callback<number> =} callback
|
|
717
712
|
**/
|
|
718
|
-
desiredCandidates: GenericStorageQuery<
|
|
713
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
719
714
|
|
|
720
715
|
/**
|
|
721
716
|
* Fixed amount to deposit to become a collator.
|
|
@@ -724,12 +719,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
724
719
|
*
|
|
725
720
|
* @param {Callback<bigint> =} callback
|
|
726
721
|
**/
|
|
727
|
-
candidacyBond: GenericStorageQuery<
|
|
722
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
728
723
|
|
|
729
724
|
/**
|
|
730
725
|
* Generic pallet storage query
|
|
731
726
|
**/
|
|
732
|
-
[storage: string]: GenericStorageQuery
|
|
727
|
+
[storage: string]: GenericStorageQuery;
|
|
733
728
|
};
|
|
734
729
|
/**
|
|
735
730
|
* Pallet `Session`'s storage queries
|
|
@@ -740,14 +735,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
740
735
|
*
|
|
741
736
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
742
737
|
**/
|
|
743
|
-
validators: GenericStorageQuery<
|
|
738
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
744
739
|
|
|
745
740
|
/**
|
|
746
741
|
* Current index of the session.
|
|
747
742
|
*
|
|
748
743
|
* @param {Callback<number> =} callback
|
|
749
744
|
**/
|
|
750
|
-
currentIndex: GenericStorageQuery<
|
|
745
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
751
746
|
|
|
752
747
|
/**
|
|
753
748
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -755,7 +750,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
755
750
|
*
|
|
756
751
|
* @param {Callback<boolean> =} callback
|
|
757
752
|
**/
|
|
758
|
-
queuedChanged: GenericStorageQuery<
|
|
753
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
759
754
|
|
|
760
755
|
/**
|
|
761
756
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -763,7 +758,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
763
758
|
*
|
|
764
759
|
* @param {Callback<Array<[AccountId32, PeopleWestendRuntimeSessionKeys]>> =} callback
|
|
765
760
|
**/
|
|
766
|
-
queuedKeys: GenericStorageQuery<
|
|
761
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, PeopleWestendRuntimeSessionKeys]>>;
|
|
767
762
|
|
|
768
763
|
/**
|
|
769
764
|
* Indices of disabled validators.
|
|
@@ -774,7 +769,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
774
769
|
*
|
|
775
770
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
776
771
|
**/
|
|
777
|
-
disabledValidators: GenericStorageQuery<
|
|
772
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
778
773
|
|
|
779
774
|
/**
|
|
780
775
|
* The next session keys for a validator.
|
|
@@ -782,11 +777,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
782
777
|
* @param {AccountId32Like} arg
|
|
783
778
|
* @param {Callback<PeopleWestendRuntimeSessionKeys | undefined> =} callback
|
|
784
779
|
**/
|
|
785
|
-
nextKeys: GenericStorageQuery<
|
|
786
|
-
Rv,
|
|
787
|
-
(arg: AccountId32Like) => PeopleWestendRuntimeSessionKeys | undefined,
|
|
788
|
-
AccountId32
|
|
789
|
-
>;
|
|
780
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => PeopleWestendRuntimeSessionKeys | undefined, AccountId32>;
|
|
790
781
|
|
|
791
782
|
/**
|
|
792
783
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -795,7 +786,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
795
786
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
796
787
|
**/
|
|
797
788
|
keyOwner: GenericStorageQuery<
|
|
798
|
-
Rv,
|
|
799
789
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
800
790
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
801
791
|
>;
|
|
@@ -803,7 +793,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
803
793
|
/**
|
|
804
794
|
* Generic pallet storage query
|
|
805
795
|
**/
|
|
806
|
-
[storage: string]: GenericStorageQuery
|
|
796
|
+
[storage: string]: GenericStorageQuery;
|
|
807
797
|
};
|
|
808
798
|
/**
|
|
809
799
|
* Pallet `Aura`'s storage queries
|
|
@@ -814,7 +804,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
814
804
|
*
|
|
815
805
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
816
806
|
**/
|
|
817
|
-
authorities: GenericStorageQuery<
|
|
807
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
818
808
|
|
|
819
809
|
/**
|
|
820
810
|
* The current slot of this block.
|
|
@@ -823,12 +813,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
823
813
|
*
|
|
824
814
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
825
815
|
**/
|
|
826
|
-
currentSlot: GenericStorageQuery<
|
|
816
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
827
817
|
|
|
828
818
|
/**
|
|
829
819
|
* Generic pallet storage query
|
|
830
820
|
**/
|
|
831
|
-
[storage: string]: GenericStorageQuery
|
|
821
|
+
[storage: string]: GenericStorageQuery;
|
|
832
822
|
};
|
|
833
823
|
/**
|
|
834
824
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -843,7 +833,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
843
833
|
*
|
|
844
834
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
845
835
|
**/
|
|
846
|
-
authorities: GenericStorageQuery<
|
|
836
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
847
837
|
|
|
848
838
|
/**
|
|
849
839
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -853,12 +843,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
853
843
|
*
|
|
854
844
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
855
845
|
**/
|
|
856
|
-
relaySlotInfo: GenericStorageQuery<
|
|
846
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
857
847
|
|
|
858
848
|
/**
|
|
859
849
|
* Generic pallet storage query
|
|
860
850
|
**/
|
|
861
|
-
[storage: string]: GenericStorageQuery
|
|
851
|
+
[storage: string]: GenericStorageQuery;
|
|
862
852
|
};
|
|
863
853
|
/**
|
|
864
854
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -876,7 +866,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
876
866
|
*
|
|
877
867
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
878
868
|
**/
|
|
879
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
869
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
880
870
|
|
|
881
871
|
/**
|
|
882
872
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -888,7 +878,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
888
878
|
*
|
|
889
879
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
890
880
|
**/
|
|
891
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
881
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
892
882
|
|
|
893
883
|
/**
|
|
894
884
|
* The messages outbound in a given XCMP channel.
|
|
@@ -897,7 +887,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
897
887
|
* @param {Callback<Bytes> =} callback
|
|
898
888
|
**/
|
|
899
889
|
outboundXcmpMessages: GenericStorageQuery<
|
|
900
|
-
Rv,
|
|
901
890
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
902
891
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
903
892
|
>;
|
|
@@ -909,7 +898,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
909
898
|
* @param {Callback<Bytes> =} callback
|
|
910
899
|
**/
|
|
911
900
|
signalMessages: GenericStorageQuery<
|
|
912
|
-
Rv,
|
|
913
901
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
914
902
|
PolkadotParachainPrimitivesPrimitivesId
|
|
915
903
|
>;
|
|
@@ -919,14 +907,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
919
907
|
*
|
|
920
908
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
921
909
|
**/
|
|
922
|
-
queueConfig: GenericStorageQuery<
|
|
910
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
923
911
|
|
|
924
912
|
/**
|
|
925
913
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
926
914
|
*
|
|
927
915
|
* @param {Callback<boolean> =} callback
|
|
928
916
|
**/
|
|
929
|
-
queueSuspended: GenericStorageQuery<
|
|
917
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
930
918
|
|
|
931
919
|
/**
|
|
932
920
|
* The factor to multiply the base delivery fee by.
|
|
@@ -935,7 +923,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
935
923
|
* @param {Callback<FixedU128> =} callback
|
|
936
924
|
**/
|
|
937
925
|
deliveryFeeFactor: GenericStorageQuery<
|
|
938
|
-
Rv,
|
|
939
926
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
940
927
|
PolkadotParachainPrimitivesPrimitivesId
|
|
941
928
|
>;
|
|
@@ -943,7 +930,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
943
930
|
/**
|
|
944
931
|
* Generic pallet storage query
|
|
945
932
|
**/
|
|
946
|
-
[storage: string]: GenericStorageQuery
|
|
933
|
+
[storage: string]: GenericStorageQuery;
|
|
947
934
|
};
|
|
948
935
|
/**
|
|
949
936
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -954,7 +941,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
954
941
|
*
|
|
955
942
|
* @param {Callback<bigint> =} callback
|
|
956
943
|
**/
|
|
957
|
-
queryCounter: GenericStorageQuery<
|
|
944
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
958
945
|
|
|
959
946
|
/**
|
|
960
947
|
* The ongoing queries.
|
|
@@ -962,7 +949,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
962
949
|
* @param {bigint} arg
|
|
963
950
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
964
951
|
**/
|
|
965
|
-
queries: GenericStorageQuery<
|
|
952
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
966
953
|
|
|
967
954
|
/**
|
|
968
955
|
* The existing asset traps.
|
|
@@ -973,7 +960,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
973
960
|
* @param {H256} arg
|
|
974
961
|
* @param {Callback<number> =} callback
|
|
975
962
|
**/
|
|
976
|
-
assetTraps: GenericStorageQuery<
|
|
963
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
977
964
|
|
|
978
965
|
/**
|
|
979
966
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -981,7 +968,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
981
968
|
*
|
|
982
969
|
* @param {Callback<number | undefined> =} callback
|
|
983
970
|
**/
|
|
984
|
-
safeXcmVersion: GenericStorageQuery<
|
|
971
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
985
972
|
|
|
986
973
|
/**
|
|
987
974
|
* The Latest versions that we know various locations support.
|
|
@@ -990,7 +977,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
990
977
|
* @param {Callback<number | undefined> =} callback
|
|
991
978
|
**/
|
|
992
979
|
supportedVersion: GenericStorageQuery<
|
|
993
|
-
Rv,
|
|
994
980
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
995
981
|
[number, XcmVersionedLocation]
|
|
996
982
|
>;
|
|
@@ -1002,7 +988,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1002
988
|
* @param {Callback<bigint | undefined> =} callback
|
|
1003
989
|
**/
|
|
1004
990
|
versionNotifiers: GenericStorageQuery<
|
|
1005
|
-
Rv,
|
|
1006
991
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1007
992
|
[number, XcmVersionedLocation]
|
|
1008
993
|
>;
|
|
@@ -1015,7 +1000,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1015
1000
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1016
1001
|
**/
|
|
1017
1002
|
versionNotifyTargets: GenericStorageQuery<
|
|
1018
|
-
Rv,
|
|
1019
1003
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1020
1004
|
[number, XcmVersionedLocation]
|
|
1021
1005
|
>;
|
|
@@ -1027,14 +1011,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1027
1011
|
*
|
|
1028
1012
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1029
1013
|
**/
|
|
1030
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1014
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1031
1015
|
|
|
1032
1016
|
/**
|
|
1033
1017
|
* The current migration's stage, if any.
|
|
1034
1018
|
*
|
|
1035
1019
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1036
1020
|
**/
|
|
1037
|
-
currentMigration: GenericStorageQuery<
|
|
1021
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1038
1022
|
|
|
1039
1023
|
/**
|
|
1040
1024
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1043,7 +1027,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1043
1027
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1044
1028
|
**/
|
|
1045
1029
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1046
|
-
Rv,
|
|
1047
1030
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1048
1031
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1049
1032
|
>;
|
|
@@ -1055,7 +1038,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1055
1038
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1056
1039
|
**/
|
|
1057
1040
|
lockedFungibles: GenericStorageQuery<
|
|
1058
|
-
Rv,
|
|
1059
1041
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1060
1042
|
AccountId32
|
|
1061
1043
|
>;
|
|
@@ -1065,7 +1047,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1065
1047
|
*
|
|
1066
1048
|
* @param {Callback<boolean> =} callback
|
|
1067
1049
|
**/
|
|
1068
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1050
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1069
1051
|
|
|
1070
1052
|
/**
|
|
1071
1053
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1078,7 +1060,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1078
1060
|
*
|
|
1079
1061
|
* @param {Callback<boolean> =} callback
|
|
1080
1062
|
**/
|
|
1081
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1063
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1082
1064
|
|
|
1083
1065
|
/**
|
|
1084
1066
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1090,7 +1072,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1090
1072
|
*
|
|
1091
1073
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1092
1074
|
**/
|
|
1093
|
-
recordedXcm: GenericStorageQuery<
|
|
1075
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1094
1076
|
|
|
1095
1077
|
/**
|
|
1096
1078
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1101,7 +1083,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1101
1083
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1102
1084
|
**/
|
|
1103
1085
|
authorizedAliases: GenericStorageQuery<
|
|
1104
|
-
Rv,
|
|
1105
1086
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1106
1087
|
XcmVersionedLocation
|
|
1107
1088
|
>;
|
|
@@ -1109,7 +1090,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1109
1090
|
/**
|
|
1110
1091
|
* Generic pallet storage query
|
|
1111
1092
|
**/
|
|
1112
|
-
[storage: string]: GenericStorageQuery
|
|
1093
|
+
[storage: string]: GenericStorageQuery;
|
|
1113
1094
|
};
|
|
1114
1095
|
/**
|
|
1115
1096
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1122,7 +1103,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1122
1103
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1123
1104
|
**/
|
|
1124
1105
|
bookStateFor: GenericStorageQuery<
|
|
1125
|
-
Rv,
|
|
1126
1106
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1127
1107
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1128
1108
|
>;
|
|
@@ -1132,7 +1112,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1132
1112
|
*
|
|
1133
1113
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1134
1114
|
**/
|
|
1135
|
-
serviceHead: GenericStorageQuery<
|
|
1115
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1136
1116
|
|
|
1137
1117
|
/**
|
|
1138
1118
|
* The map of page indices to pages.
|
|
@@ -1141,7 +1121,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1141
1121
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1142
1122
|
**/
|
|
1143
1123
|
pages: GenericStorageQuery<
|
|
1144
|
-
Rv,
|
|
1145
1124
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1146
1125
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1147
1126
|
>;
|
|
@@ -1149,7 +1128,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1149
1128
|
/**
|
|
1150
1129
|
* Generic pallet storage query
|
|
1151
1130
|
**/
|
|
1152
|
-
[storage: string]: GenericStorageQuery
|
|
1131
|
+
[storage: string]: GenericStorageQuery;
|
|
1153
1132
|
};
|
|
1154
1133
|
/**
|
|
1155
1134
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1162,7 +1141,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1162
1141
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1163
1142
|
**/
|
|
1164
1143
|
multisigs: GenericStorageQuery<
|
|
1165
|
-
Rv,
|
|
1166
1144
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1167
1145
|
[AccountId32, FixedBytes<32>]
|
|
1168
1146
|
>;
|
|
@@ -1170,7 +1148,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1170
1148
|
/**
|
|
1171
1149
|
* Generic pallet storage query
|
|
1172
1150
|
**/
|
|
1173
|
-
[storage: string]: GenericStorageQuery
|
|
1151
|
+
[storage: string]: GenericStorageQuery;
|
|
1174
1152
|
};
|
|
1175
1153
|
/**
|
|
1176
1154
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1183,11 +1161,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1183
1161
|
* @param {AccountId32Like} arg
|
|
1184
1162
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1185
1163
|
**/
|
|
1186
|
-
proxies: GenericStorageQuery<
|
|
1187
|
-
Rv,
|
|
1188
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1189
|
-
AccountId32
|
|
1190
|
-
>;
|
|
1164
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1191
1165
|
|
|
1192
1166
|
/**
|
|
1193
1167
|
* The announcements made by the proxy (key).
|
|
@@ -1195,16 +1169,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1195
1169
|
* @param {AccountId32Like} arg
|
|
1196
1170
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1197
1171
|
**/
|
|
1198
|
-
announcements: GenericStorageQuery<
|
|
1199
|
-
Rv,
|
|
1200
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1201
|
-
AccountId32
|
|
1202
|
-
>;
|
|
1172
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1203
1173
|
|
|
1204
1174
|
/**
|
|
1205
1175
|
* Generic pallet storage query
|
|
1206
1176
|
**/
|
|
1207
|
-
[storage: string]: GenericStorageQuery
|
|
1177
|
+
[storage: string]: GenericStorageQuery;
|
|
1208
1178
|
};
|
|
1209
1179
|
/**
|
|
1210
1180
|
* Pallet `Identity`'s storage queries
|
|
@@ -1219,7 +1189,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1219
1189
|
* @param {AccountId32Like} arg
|
|
1220
1190
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
1221
1191
|
**/
|
|
1222
|
-
identityOf: GenericStorageQuery<
|
|
1192
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
1223
1193
|
|
|
1224
1194
|
/**
|
|
1225
1195
|
* Identifies the primary username of an account.
|
|
@@ -1227,7 +1197,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1227
1197
|
* @param {AccountId32Like} arg
|
|
1228
1198
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1229
1199
|
**/
|
|
1230
|
-
usernameOf: GenericStorageQuery<
|
|
1200
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1231
1201
|
|
|
1232
1202
|
/**
|
|
1233
1203
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -1236,7 +1206,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1236
1206
|
* @param {AccountId32Like} arg
|
|
1237
1207
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
1238
1208
|
**/
|
|
1239
|
-
superOf: GenericStorageQuery<
|
|
1209
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
1240
1210
|
|
|
1241
1211
|
/**
|
|
1242
1212
|
* Alternative "sub" identities of this account.
|
|
@@ -1248,7 +1218,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1248
1218
|
* @param {AccountId32Like} arg
|
|
1249
1219
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
1250
1220
|
**/
|
|
1251
|
-
subsOf: GenericStorageQuery<
|
|
1221
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
1252
1222
|
|
|
1253
1223
|
/**
|
|
1254
1224
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1258,7 +1228,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1258
1228
|
*
|
|
1259
1229
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1260
1230
|
**/
|
|
1261
|
-
registrars: GenericStorageQuery<
|
|
1231
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1262
1232
|
|
|
1263
1233
|
/**
|
|
1264
1234
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1266,7 +1236,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1266
1236
|
* @param {BytesLike} arg
|
|
1267
1237
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1268
1238
|
**/
|
|
1269
|
-
authorityOf: GenericStorageQuery<
|
|
1239
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
1270
1240
|
|
|
1271
1241
|
/**
|
|
1272
1242
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -1279,7 +1249,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1279
1249
|
* @param {BytesLike} arg
|
|
1280
1250
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
1281
1251
|
**/
|
|
1282
|
-
usernameInfoOf: GenericStorageQuery<
|
|
1252
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
1283
1253
|
|
|
1284
1254
|
/**
|
|
1285
1255
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1293,7 +1263,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1293
1263
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
1294
1264
|
**/
|
|
1295
1265
|
pendingUsernames: GenericStorageQuery<
|
|
1296
|
-
Rv,
|
|
1297
1266
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
1298
1267
|
Bytes
|
|
1299
1268
|
>;
|
|
@@ -1307,12 +1276,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1307
1276
|
* @param {BytesLike} arg
|
|
1308
1277
|
* @param {Callback<number | undefined> =} callback
|
|
1309
1278
|
**/
|
|
1310
|
-
unbindingUsernames: GenericStorageQuery<
|
|
1279
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1311
1280
|
|
|
1312
1281
|
/**
|
|
1313
1282
|
* Generic pallet storage query
|
|
1314
1283
|
**/
|
|
1315
|
-
[storage: string]: GenericStorageQuery
|
|
1284
|
+
[storage: string]: GenericStorageQuery;
|
|
1316
1285
|
};
|
|
1317
1286
|
/**
|
|
1318
1287
|
* Pallet `MultiBlockMigrations`'s storage queries
|
|
@@ -1325,7 +1294,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1325
1294
|
*
|
|
1326
1295
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
1327
1296
|
**/
|
|
1328
|
-
cursor: GenericStorageQuery<
|
|
1297
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
1329
1298
|
|
|
1330
1299
|
/**
|
|
1331
1300
|
* Set of all successfully executed migrations.
|
|
@@ -1336,11 +1305,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1336
1305
|
* @param {BytesLike} arg
|
|
1337
1306
|
* @param {Callback<[] | undefined> =} callback
|
|
1338
1307
|
**/
|
|
1339
|
-
historic: GenericStorageQuery<
|
|
1308
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
1340
1309
|
|
|
1341
1310
|
/**
|
|
1342
1311
|
* Generic pallet storage query
|
|
1343
1312
|
**/
|
|
1344
|
-
[storage: string]: GenericStorageQuery
|
|
1313
|
+
[storage: string]: GenericStorageQuery;
|
|
1345
1314
|
};
|
|
1346
1315
|
}
|