@dedot/chaintypes 0.193.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 -4
- 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/kusama-people/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,
|
|
@@ -67,7 +67,7 @@ import type {
|
|
|
67
67
|
PalletIdentityProvider,
|
|
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 `MultiBlockMigrations`'s storage queries
|
|
@@ -561,7 +556,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
561
556
|
*
|
|
562
557
|
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
563
558
|
**/
|
|
564
|
-
cursor: GenericStorageQuery<
|
|
559
|
+
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
565
560
|
|
|
566
561
|
/**
|
|
567
562
|
* Set of all successfully executed migrations.
|
|
@@ -572,12 +567,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
572
567
|
* @param {BytesLike} arg
|
|
573
568
|
* @param {Callback<[] | undefined> =} callback
|
|
574
569
|
**/
|
|
575
|
-
historic: GenericStorageQuery<
|
|
570
|
+
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
576
571
|
|
|
577
572
|
/**
|
|
578
573
|
* Generic pallet storage query
|
|
579
574
|
**/
|
|
580
|
-
[storage: string]: GenericStorageQuery
|
|
575
|
+
[storage: string]: GenericStorageQuery;
|
|
581
576
|
};
|
|
582
577
|
/**
|
|
583
578
|
* Pallet `Balances`'s storage queries
|
|
@@ -588,14 +583,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
588
583
|
*
|
|
589
584
|
* @param {Callback<bigint> =} callback
|
|
590
585
|
**/
|
|
591
|
-
totalIssuance: GenericStorageQuery<
|
|
586
|
+
totalIssuance: GenericStorageQuery<() => bigint>;
|
|
592
587
|
|
|
593
588
|
/**
|
|
594
589
|
* The total units of outstanding deactivated balance in the system.
|
|
595
590
|
*
|
|
596
591
|
* @param {Callback<bigint> =} callback
|
|
597
592
|
**/
|
|
598
|
-
inactiveIssuance: GenericStorageQuery<
|
|
593
|
+
inactiveIssuance: GenericStorageQuery<() => bigint>;
|
|
599
594
|
|
|
600
595
|
/**
|
|
601
596
|
* The Balances pallet example of storing the balance of an account.
|
|
@@ -626,7 +621,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
626
621
|
* @param {AccountId32Like} arg
|
|
627
622
|
* @param {Callback<PalletBalancesAccountData> =} callback
|
|
628
623
|
**/
|
|
629
|
-
account: GenericStorageQuery<
|
|
624
|
+
account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
|
|
630
625
|
|
|
631
626
|
/**
|
|
632
627
|
* Any liquidity locks on some account balances.
|
|
@@ -637,7 +632,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
637
632
|
* @param {AccountId32Like} arg
|
|
638
633
|
* @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
|
|
639
634
|
**/
|
|
640
|
-
locks: GenericStorageQuery<
|
|
635
|
+
locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
|
|
641
636
|
|
|
642
637
|
/**
|
|
643
638
|
* Named reserves on some account balances.
|
|
@@ -647,7 +642,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
647
642
|
* @param {AccountId32Like} arg
|
|
648
643
|
* @param {Callback<Array<PalletBalancesReserveData>> =} callback
|
|
649
644
|
**/
|
|
650
|
-
reserves: GenericStorageQuery<
|
|
645
|
+
reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
|
|
651
646
|
|
|
652
647
|
/**
|
|
653
648
|
* Holds on account balances.
|
|
@@ -655,7 +650,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
655
650
|
* @param {AccountId32Like} arg
|
|
656
651
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
657
652
|
**/
|
|
658
|
-
holds: GenericStorageQuery<
|
|
653
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
659
654
|
|
|
660
655
|
/**
|
|
661
656
|
* Freeze locks on account balances.
|
|
@@ -663,12 +658,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
663
658
|
* @param {AccountId32Like} arg
|
|
664
659
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
|
|
665
660
|
**/
|
|
666
|
-
freezes: GenericStorageQuery<
|
|
661
|
+
freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
|
|
667
662
|
|
|
668
663
|
/**
|
|
669
664
|
* Generic pallet storage query
|
|
670
665
|
**/
|
|
671
|
-
[storage: string]: GenericStorageQuery
|
|
666
|
+
[storage: string]: GenericStorageQuery;
|
|
672
667
|
};
|
|
673
668
|
/**
|
|
674
669
|
* Pallet `TransactionPayment`'s storage queries
|
|
@@ -678,18 +673,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
678
673
|
*
|
|
679
674
|
* @param {Callback<FixedU128> =} callback
|
|
680
675
|
**/
|
|
681
|
-
nextFeeMultiplier: GenericStorageQuery<
|
|
676
|
+
nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
|
|
682
677
|
|
|
683
678
|
/**
|
|
684
679
|
*
|
|
685
680
|
* @param {Callback<PalletTransactionPaymentReleases> =} callback
|
|
686
681
|
**/
|
|
687
|
-
storageVersion: GenericStorageQuery<
|
|
682
|
+
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
688
683
|
|
|
689
684
|
/**
|
|
690
685
|
* Generic pallet storage query
|
|
691
686
|
**/
|
|
692
|
-
[storage: string]: GenericStorageQuery
|
|
687
|
+
[storage: string]: GenericStorageQuery;
|
|
693
688
|
};
|
|
694
689
|
/**
|
|
695
690
|
* Pallet `Authorship`'s storage queries
|
|
@@ -700,12 +695,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
700
695
|
*
|
|
701
696
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
702
697
|
**/
|
|
703
|
-
author: GenericStorageQuery<
|
|
698
|
+
author: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
704
699
|
|
|
705
700
|
/**
|
|
706
701
|
* Generic pallet storage query
|
|
707
702
|
**/
|
|
708
|
-
[storage: string]: GenericStorageQuery
|
|
703
|
+
[storage: string]: GenericStorageQuery;
|
|
709
704
|
};
|
|
710
705
|
/**
|
|
711
706
|
* Pallet `CollatorSelection`'s storage queries
|
|
@@ -716,7 +711,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
716
711
|
*
|
|
717
712
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
718
713
|
**/
|
|
719
|
-
invulnerables: GenericStorageQuery<
|
|
714
|
+
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
720
715
|
|
|
721
716
|
/**
|
|
722
717
|
* The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
|
|
@@ -727,7 +722,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
727
722
|
*
|
|
728
723
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
729
724
|
**/
|
|
730
|
-
candidateList: GenericStorageQuery<
|
|
725
|
+
candidateList: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
|
|
731
726
|
|
|
732
727
|
/**
|
|
733
728
|
* Last block authored by collator.
|
|
@@ -735,7 +730,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
735
730
|
* @param {AccountId32Like} arg
|
|
736
731
|
* @param {Callback<number> =} callback
|
|
737
732
|
**/
|
|
738
|
-
lastAuthoredBlock: GenericStorageQuery<
|
|
733
|
+
lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
739
734
|
|
|
740
735
|
/**
|
|
741
736
|
* Desired number of candidates.
|
|
@@ -744,7 +739,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
744
739
|
*
|
|
745
740
|
* @param {Callback<number> =} callback
|
|
746
741
|
**/
|
|
747
|
-
desiredCandidates: GenericStorageQuery<
|
|
742
|
+
desiredCandidates: GenericStorageQuery<() => number>;
|
|
748
743
|
|
|
749
744
|
/**
|
|
750
745
|
* Fixed amount to deposit to become a collator.
|
|
@@ -753,12 +748,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
753
748
|
*
|
|
754
749
|
* @param {Callback<bigint> =} callback
|
|
755
750
|
**/
|
|
756
|
-
candidacyBond: GenericStorageQuery<
|
|
751
|
+
candidacyBond: GenericStorageQuery<() => bigint>;
|
|
757
752
|
|
|
758
753
|
/**
|
|
759
754
|
* Generic pallet storage query
|
|
760
755
|
**/
|
|
761
|
-
[storage: string]: GenericStorageQuery
|
|
756
|
+
[storage: string]: GenericStorageQuery;
|
|
762
757
|
};
|
|
763
758
|
/**
|
|
764
759
|
* Pallet `Session`'s storage queries
|
|
@@ -769,14 +764,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
769
764
|
*
|
|
770
765
|
* @param {Callback<Array<AccountId32>> =} callback
|
|
771
766
|
**/
|
|
772
|
-
validators: GenericStorageQuery<
|
|
767
|
+
validators: GenericStorageQuery<() => Array<AccountId32>>;
|
|
773
768
|
|
|
774
769
|
/**
|
|
775
770
|
* Current index of the session.
|
|
776
771
|
*
|
|
777
772
|
* @param {Callback<number> =} callback
|
|
778
773
|
**/
|
|
779
|
-
currentIndex: GenericStorageQuery<
|
|
774
|
+
currentIndex: GenericStorageQuery<() => number>;
|
|
780
775
|
|
|
781
776
|
/**
|
|
782
777
|
* True if the underlying economic identities or weighting behind the validators
|
|
@@ -784,7 +779,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
784
779
|
*
|
|
785
780
|
* @param {Callback<boolean> =} callback
|
|
786
781
|
**/
|
|
787
|
-
queuedChanged: GenericStorageQuery<
|
|
782
|
+
queuedChanged: GenericStorageQuery<() => boolean>;
|
|
788
783
|
|
|
789
784
|
/**
|
|
790
785
|
* The queued keys for the next session. When the next session begins, these keys
|
|
@@ -792,7 +787,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
792
787
|
*
|
|
793
788
|
* @param {Callback<Array<[AccountId32, PeopleKusamaRuntimeSessionKeys]>> =} callback
|
|
794
789
|
**/
|
|
795
|
-
queuedKeys: GenericStorageQuery<
|
|
790
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, PeopleKusamaRuntimeSessionKeys]>>;
|
|
796
791
|
|
|
797
792
|
/**
|
|
798
793
|
* Indices of disabled validators.
|
|
@@ -803,7 +798,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
803
798
|
*
|
|
804
799
|
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
805
800
|
**/
|
|
806
|
-
disabledValidators: GenericStorageQuery<
|
|
801
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
807
802
|
|
|
808
803
|
/**
|
|
809
804
|
* The next session keys for a validator.
|
|
@@ -811,11 +806,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
811
806
|
* @param {AccountId32Like} arg
|
|
812
807
|
* @param {Callback<PeopleKusamaRuntimeSessionKeys | undefined> =} callback
|
|
813
808
|
**/
|
|
814
|
-
nextKeys: GenericStorageQuery<
|
|
815
|
-
Rv,
|
|
816
|
-
(arg: AccountId32Like) => PeopleKusamaRuntimeSessionKeys | undefined,
|
|
817
|
-
AccountId32
|
|
818
|
-
>;
|
|
809
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => PeopleKusamaRuntimeSessionKeys | undefined, AccountId32>;
|
|
819
810
|
|
|
820
811
|
/**
|
|
821
812
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -824,7 +815,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
824
815
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
825
816
|
**/
|
|
826
817
|
keyOwner: GenericStorageQuery<
|
|
827
|
-
Rv,
|
|
828
818
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
829
819
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
830
820
|
>;
|
|
@@ -832,7 +822,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
832
822
|
/**
|
|
833
823
|
* Generic pallet storage query
|
|
834
824
|
**/
|
|
835
|
-
[storage: string]: GenericStorageQuery
|
|
825
|
+
[storage: string]: GenericStorageQuery;
|
|
836
826
|
};
|
|
837
827
|
/**
|
|
838
828
|
* Pallet `Aura`'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
|
* The current slot of this block.
|
|
@@ -852,12 +842,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
852
842
|
*
|
|
853
843
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
854
844
|
**/
|
|
855
|
-
currentSlot: GenericStorageQuery<
|
|
845
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
856
846
|
|
|
857
847
|
/**
|
|
858
848
|
* Generic pallet storage query
|
|
859
849
|
**/
|
|
860
|
-
[storage: string]: GenericStorageQuery
|
|
850
|
+
[storage: string]: GenericStorageQuery;
|
|
861
851
|
};
|
|
862
852
|
/**
|
|
863
853
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -872,7 +862,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
872
862
|
*
|
|
873
863
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
874
864
|
**/
|
|
875
|
-
authorities: GenericStorageQuery<
|
|
865
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
876
866
|
|
|
877
867
|
/**
|
|
878
868
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -882,12 +872,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
882
872
|
*
|
|
883
873
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
884
874
|
**/
|
|
885
|
-
relaySlotInfo: GenericStorageQuery<
|
|
875
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
886
876
|
|
|
887
877
|
/**
|
|
888
878
|
* Generic pallet storage query
|
|
889
879
|
**/
|
|
890
|
-
[storage: string]: GenericStorageQuery
|
|
880
|
+
[storage: string]: GenericStorageQuery;
|
|
891
881
|
};
|
|
892
882
|
/**
|
|
893
883
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -905,7 +895,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
905
895
|
*
|
|
906
896
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
907
897
|
**/
|
|
908
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
898
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
909
899
|
|
|
910
900
|
/**
|
|
911
901
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -917,7 +907,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
917
907
|
*
|
|
918
908
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
919
909
|
**/
|
|
920
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
910
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
921
911
|
|
|
922
912
|
/**
|
|
923
913
|
* The messages outbound in a given XCMP channel.
|
|
@@ -926,7 +916,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
926
916
|
* @param {Callback<Bytes> =} callback
|
|
927
917
|
**/
|
|
928
918
|
outboundXcmpMessages: GenericStorageQuery<
|
|
929
|
-
Rv,
|
|
930
919
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
931
920
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
932
921
|
>;
|
|
@@ -938,7 +927,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
938
927
|
* @param {Callback<Bytes> =} callback
|
|
939
928
|
**/
|
|
940
929
|
signalMessages: GenericStorageQuery<
|
|
941
|
-
Rv,
|
|
942
930
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
943
931
|
PolkadotParachainPrimitivesPrimitivesId
|
|
944
932
|
>;
|
|
@@ -948,14 +936,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
948
936
|
*
|
|
949
937
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
950
938
|
**/
|
|
951
|
-
queueConfig: GenericStorageQuery<
|
|
939
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
952
940
|
|
|
953
941
|
/**
|
|
954
942
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
955
943
|
*
|
|
956
944
|
* @param {Callback<boolean> =} callback
|
|
957
945
|
**/
|
|
958
|
-
queueSuspended: GenericStorageQuery<
|
|
946
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
959
947
|
|
|
960
948
|
/**
|
|
961
949
|
* The factor to multiply the base delivery fee by.
|
|
@@ -964,7 +952,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
964
952
|
* @param {Callback<FixedU128> =} callback
|
|
965
953
|
**/
|
|
966
954
|
deliveryFeeFactor: GenericStorageQuery<
|
|
967
|
-
Rv,
|
|
968
955
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
969
956
|
PolkadotParachainPrimitivesPrimitivesId
|
|
970
957
|
>;
|
|
@@ -972,7 +959,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
972
959
|
/**
|
|
973
960
|
* Generic pallet storage query
|
|
974
961
|
**/
|
|
975
|
-
[storage: string]: GenericStorageQuery
|
|
962
|
+
[storage: string]: GenericStorageQuery;
|
|
976
963
|
};
|
|
977
964
|
/**
|
|
978
965
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -983,7 +970,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
983
970
|
*
|
|
984
971
|
* @param {Callback<bigint> =} callback
|
|
985
972
|
**/
|
|
986
|
-
queryCounter: GenericStorageQuery<
|
|
973
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
987
974
|
|
|
988
975
|
/**
|
|
989
976
|
* The ongoing queries.
|
|
@@ -991,7 +978,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
991
978
|
* @param {bigint} arg
|
|
992
979
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
993
980
|
**/
|
|
994
|
-
queries: GenericStorageQuery<
|
|
981
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
995
982
|
|
|
996
983
|
/**
|
|
997
984
|
* The existing asset traps.
|
|
@@ -1002,7 +989,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1002
989
|
* @param {H256} arg
|
|
1003
990
|
* @param {Callback<number> =} callback
|
|
1004
991
|
**/
|
|
1005
|
-
assetTraps: GenericStorageQuery<
|
|
992
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1006
993
|
|
|
1007
994
|
/**
|
|
1008
995
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1010,7 +997,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1010
997
|
*
|
|
1011
998
|
* @param {Callback<number | undefined> =} callback
|
|
1012
999
|
**/
|
|
1013
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1000
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1014
1001
|
|
|
1015
1002
|
/**
|
|
1016
1003
|
* The Latest versions that we know various locations support.
|
|
@@ -1019,7 +1006,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1019
1006
|
* @param {Callback<number | undefined> =} callback
|
|
1020
1007
|
**/
|
|
1021
1008
|
supportedVersion: GenericStorageQuery<
|
|
1022
|
-
Rv,
|
|
1023
1009
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1024
1010
|
[number, XcmVersionedLocation]
|
|
1025
1011
|
>;
|
|
@@ -1031,7 +1017,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1031
1017
|
* @param {Callback<bigint | undefined> =} callback
|
|
1032
1018
|
**/
|
|
1033
1019
|
versionNotifiers: GenericStorageQuery<
|
|
1034
|
-
Rv,
|
|
1035
1020
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1036
1021
|
[number, XcmVersionedLocation]
|
|
1037
1022
|
>;
|
|
@@ -1044,7 +1029,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1044
1029
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1045
1030
|
**/
|
|
1046
1031
|
versionNotifyTargets: GenericStorageQuery<
|
|
1047
|
-
Rv,
|
|
1048
1032
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1049
1033
|
[number, XcmVersionedLocation]
|
|
1050
1034
|
>;
|
|
@@ -1056,14 +1040,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1056
1040
|
*
|
|
1057
1041
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1058
1042
|
**/
|
|
1059
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1043
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1060
1044
|
|
|
1061
1045
|
/**
|
|
1062
1046
|
* The current migration's stage, if any.
|
|
1063
1047
|
*
|
|
1064
1048
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1065
1049
|
**/
|
|
1066
|
-
currentMigration: GenericStorageQuery<
|
|
1050
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1067
1051
|
|
|
1068
1052
|
/**
|
|
1069
1053
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1072,7 +1056,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1072
1056
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1073
1057
|
**/
|
|
1074
1058
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1075
|
-
Rv,
|
|
1076
1059
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1077
1060
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1078
1061
|
>;
|
|
@@ -1084,7 +1067,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1084
1067
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1085
1068
|
**/
|
|
1086
1069
|
lockedFungibles: GenericStorageQuery<
|
|
1087
|
-
Rv,
|
|
1088
1070
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1089
1071
|
AccountId32
|
|
1090
1072
|
>;
|
|
@@ -1094,7 +1076,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1094
1076
|
*
|
|
1095
1077
|
* @param {Callback<boolean> =} callback
|
|
1096
1078
|
**/
|
|
1097
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1079
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1098
1080
|
|
|
1099
1081
|
/**
|
|
1100
1082
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1107,7 +1089,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1107
1089
|
*
|
|
1108
1090
|
* @param {Callback<boolean> =} callback
|
|
1109
1091
|
**/
|
|
1110
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1092
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1111
1093
|
|
|
1112
1094
|
/**
|
|
1113
1095
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1119,7 +1101,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1119
1101
|
*
|
|
1120
1102
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1121
1103
|
**/
|
|
1122
|
-
recordedXcm: GenericStorageQuery<
|
|
1104
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1123
1105
|
|
|
1124
1106
|
/**
|
|
1125
1107
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1130,7 +1112,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1130
1112
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1131
1113
|
**/
|
|
1132
1114
|
authorizedAliases: GenericStorageQuery<
|
|
1133
|
-
Rv,
|
|
1134
1115
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1135
1116
|
XcmVersionedLocation
|
|
1136
1117
|
>;
|
|
@@ -1138,7 +1119,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1138
1119
|
/**
|
|
1139
1120
|
* Generic pallet storage query
|
|
1140
1121
|
**/
|
|
1141
|
-
[storage: string]: GenericStorageQuery
|
|
1122
|
+
[storage: string]: GenericStorageQuery;
|
|
1142
1123
|
};
|
|
1143
1124
|
/**
|
|
1144
1125
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1151,7 +1132,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1151
1132
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1152
1133
|
**/
|
|
1153
1134
|
bookStateFor: GenericStorageQuery<
|
|
1154
|
-
Rv,
|
|
1155
1135
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1156
1136
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1157
1137
|
>;
|
|
@@ -1161,7 +1141,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1161
1141
|
*
|
|
1162
1142
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1163
1143
|
**/
|
|
1164
|
-
serviceHead: GenericStorageQuery<
|
|
1144
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1165
1145
|
|
|
1166
1146
|
/**
|
|
1167
1147
|
* The map of page indices to pages.
|
|
@@ -1170,7 +1150,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1170
1150
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1171
1151
|
**/
|
|
1172
1152
|
pages: GenericStorageQuery<
|
|
1173
|
-
Rv,
|
|
1174
1153
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1175
1154
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1176
1155
|
>;
|
|
@@ -1178,7 +1157,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1178
1157
|
/**
|
|
1179
1158
|
* Generic pallet storage query
|
|
1180
1159
|
**/
|
|
1181
|
-
[storage: string]: GenericStorageQuery
|
|
1160
|
+
[storage: string]: GenericStorageQuery;
|
|
1182
1161
|
};
|
|
1183
1162
|
/**
|
|
1184
1163
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1191,7 +1170,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1191
1170
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1192
1171
|
**/
|
|
1193
1172
|
multisigs: GenericStorageQuery<
|
|
1194
|
-
Rv,
|
|
1195
1173
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1196
1174
|
[AccountId32, FixedBytes<32>]
|
|
1197
1175
|
>;
|
|
@@ -1199,7 +1177,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1199
1177
|
/**
|
|
1200
1178
|
* Generic pallet storage query
|
|
1201
1179
|
**/
|
|
1202
|
-
[storage: string]: GenericStorageQuery
|
|
1180
|
+
[storage: string]: GenericStorageQuery;
|
|
1203
1181
|
};
|
|
1204
1182
|
/**
|
|
1205
1183
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1212,11 +1190,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1212
1190
|
* @param {AccountId32Like} arg
|
|
1213
1191
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1214
1192
|
**/
|
|
1215
|
-
proxies: GenericStorageQuery<
|
|
1216
|
-
Rv,
|
|
1217
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1218
|
-
AccountId32
|
|
1219
|
-
>;
|
|
1193
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1220
1194
|
|
|
1221
1195
|
/**
|
|
1222
1196
|
* The announcements made by the proxy (key).
|
|
@@ -1224,16 +1198,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1224
1198
|
* @param {AccountId32Like} arg
|
|
1225
1199
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1226
1200
|
**/
|
|
1227
|
-
announcements: GenericStorageQuery<
|
|
1228
|
-
Rv,
|
|
1229
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1230
|
-
AccountId32
|
|
1231
|
-
>;
|
|
1201
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1232
1202
|
|
|
1233
1203
|
/**
|
|
1234
1204
|
* Generic pallet storage query
|
|
1235
1205
|
**/
|
|
1236
|
-
[storage: string]: GenericStorageQuery
|
|
1206
|
+
[storage: string]: GenericStorageQuery;
|
|
1237
1207
|
};
|
|
1238
1208
|
/**
|
|
1239
1209
|
* Pallet `Identity`'s storage queries
|
|
@@ -1248,7 +1218,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1248
1218
|
* @param {AccountId32Like} arg
|
|
1249
1219
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
1250
1220
|
**/
|
|
1251
|
-
identityOf: GenericStorageQuery<
|
|
1221
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
1252
1222
|
|
|
1253
1223
|
/**
|
|
1254
1224
|
* Identifies the primary username of an account.
|
|
@@ -1256,7 +1226,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1256
1226
|
* @param {AccountId32Like} arg
|
|
1257
1227
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1258
1228
|
**/
|
|
1259
|
-
usernameOf: GenericStorageQuery<
|
|
1229
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1260
1230
|
|
|
1261
1231
|
/**
|
|
1262
1232
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -1265,7 +1235,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1265
1235
|
* @param {AccountId32Like} arg
|
|
1266
1236
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
1267
1237
|
**/
|
|
1268
|
-
superOf: GenericStorageQuery<
|
|
1238
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
1269
1239
|
|
|
1270
1240
|
/**
|
|
1271
1241
|
* Alternative "sub" identities of this account.
|
|
@@ -1277,7 +1247,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1277
1247
|
* @param {AccountId32Like} arg
|
|
1278
1248
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
1279
1249
|
**/
|
|
1280
|
-
subsOf: GenericStorageQuery<
|
|
1250
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
1281
1251
|
|
|
1282
1252
|
/**
|
|
1283
1253
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1287,7 +1257,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1287
1257
|
*
|
|
1288
1258
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1289
1259
|
**/
|
|
1290
|
-
registrars: GenericStorageQuery<
|
|
1260
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1291
1261
|
|
|
1292
1262
|
/**
|
|
1293
1263
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1295,7 +1265,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1295
1265
|
* @param {BytesLike} arg
|
|
1296
1266
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1297
1267
|
**/
|
|
1298
|
-
authorityOf: GenericStorageQuery<
|
|
1268
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
1299
1269
|
|
|
1300
1270
|
/**
|
|
1301
1271
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -1308,7 +1278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1308
1278
|
* @param {BytesLike} arg
|
|
1309
1279
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
1310
1280
|
**/
|
|
1311
|
-
usernameInfoOf: GenericStorageQuery<
|
|
1281
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
1312
1282
|
|
|
1313
1283
|
/**
|
|
1314
1284
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1322,7 +1292,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1322
1292
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
1323
1293
|
**/
|
|
1324
1294
|
pendingUsernames: GenericStorageQuery<
|
|
1325
|
-
Rv,
|
|
1326
1295
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
1327
1296
|
Bytes
|
|
1328
1297
|
>;
|
|
@@ -1336,11 +1305,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1336
1305
|
* @param {BytesLike} arg
|
|
1337
1306
|
* @param {Callback<number | undefined> =} callback
|
|
1338
1307
|
**/
|
|
1339
|
-
unbindingUsernames: GenericStorageQuery<
|
|
1308
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | 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
|
}
|