@dedot/chaintypes 0.194.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/paseo-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, PeoplePaseoRuntimeSessionKeys]>> =} callback
|
|
794
789
|
**/
|
|
795
|
-
queuedKeys: GenericStorageQuery<
|
|
790
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, PeoplePaseoRuntimeSessionKeys]>>;
|
|
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,7 +806,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
811
806
|
* @param {AccountId32Like} arg
|
|
812
807
|
* @param {Callback<PeoplePaseoRuntimeSessionKeys | undefined> =} callback
|
|
813
808
|
**/
|
|
814
|
-
nextKeys: GenericStorageQuery<
|
|
809
|
+
nextKeys: GenericStorageQuery<(arg: AccountId32Like) => PeoplePaseoRuntimeSessionKeys | undefined, AccountId32>;
|
|
815
810
|
|
|
816
811
|
/**
|
|
817
812
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -820,7 +815,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
820
815
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
821
816
|
**/
|
|
822
817
|
keyOwner: GenericStorageQuery<
|
|
823
|
-
Rv,
|
|
824
818
|
(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
|
|
825
819
|
[SpCoreCryptoKeyTypeId, Bytes]
|
|
826
820
|
>;
|
|
@@ -828,7 +822,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
828
822
|
/**
|
|
829
823
|
* Generic pallet storage query
|
|
830
824
|
**/
|
|
831
|
-
[storage: string]: GenericStorageQuery
|
|
825
|
+
[storage: string]: GenericStorageQuery;
|
|
832
826
|
};
|
|
833
827
|
/**
|
|
834
828
|
* Pallet `Aura`'s storage queries
|
|
@@ -839,7 +833,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
839
833
|
*
|
|
840
834
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
841
835
|
**/
|
|
842
|
-
authorities: GenericStorageQuery<
|
|
836
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
843
837
|
|
|
844
838
|
/**
|
|
845
839
|
* The current slot of this block.
|
|
@@ -848,12 +842,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
848
842
|
*
|
|
849
843
|
* @param {Callback<SpConsensusSlotsSlot> =} callback
|
|
850
844
|
**/
|
|
851
|
-
currentSlot: GenericStorageQuery<
|
|
845
|
+
currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
|
|
852
846
|
|
|
853
847
|
/**
|
|
854
848
|
* Generic pallet storage query
|
|
855
849
|
**/
|
|
856
|
-
[storage: string]: GenericStorageQuery
|
|
850
|
+
[storage: string]: GenericStorageQuery;
|
|
857
851
|
};
|
|
858
852
|
/**
|
|
859
853
|
* Pallet `AuraExt`'s storage queries
|
|
@@ -868,7 +862,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
868
862
|
*
|
|
869
863
|
* @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
|
|
870
864
|
**/
|
|
871
|
-
authorities: GenericStorageQuery<
|
|
865
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
872
866
|
|
|
873
867
|
/**
|
|
874
868
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -878,12 +872,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
878
872
|
*
|
|
879
873
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
880
874
|
**/
|
|
881
|
-
relaySlotInfo: GenericStorageQuery<
|
|
875
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
882
876
|
|
|
883
877
|
/**
|
|
884
878
|
* Generic pallet storage query
|
|
885
879
|
**/
|
|
886
|
-
[storage: string]: GenericStorageQuery
|
|
880
|
+
[storage: string]: GenericStorageQuery;
|
|
887
881
|
};
|
|
888
882
|
/**
|
|
889
883
|
* Pallet `XcmpQueue`'s storage queries
|
|
@@ -901,7 +895,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
901
895
|
*
|
|
902
896
|
* @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
|
|
903
897
|
**/
|
|
904
|
-
inboundXcmpSuspended: GenericStorageQuery<
|
|
898
|
+
inboundXcmpSuspended: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
|
|
905
899
|
|
|
906
900
|
/**
|
|
907
901
|
* The non-empty XCMP channels in order of becoming non-empty, and the index of the first
|
|
@@ -913,7 +907,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
913
907
|
*
|
|
914
908
|
* @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
|
|
915
909
|
**/
|
|
916
|
-
outboundXcmpStatus: GenericStorageQuery<
|
|
910
|
+
outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
|
|
917
911
|
|
|
918
912
|
/**
|
|
919
913
|
* The messages outbound in a given XCMP channel.
|
|
@@ -922,7 +916,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
922
916
|
* @param {Callback<Bytes> =} callback
|
|
923
917
|
**/
|
|
924
918
|
outboundXcmpMessages: GenericStorageQuery<
|
|
925
|
-
Rv,
|
|
926
919
|
(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
|
|
927
920
|
[PolkadotParachainPrimitivesPrimitivesId, number]
|
|
928
921
|
>;
|
|
@@ -934,7 +927,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
934
927
|
* @param {Callback<Bytes> =} callback
|
|
935
928
|
**/
|
|
936
929
|
signalMessages: GenericStorageQuery<
|
|
937
|
-
Rv,
|
|
938
930
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
|
|
939
931
|
PolkadotParachainPrimitivesPrimitivesId
|
|
940
932
|
>;
|
|
@@ -944,14 +936,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
944
936
|
*
|
|
945
937
|
* @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
|
|
946
938
|
**/
|
|
947
|
-
queueConfig: GenericStorageQuery<
|
|
939
|
+
queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
|
|
948
940
|
|
|
949
941
|
/**
|
|
950
942
|
* Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
|
|
951
943
|
*
|
|
952
944
|
* @param {Callback<boolean> =} callback
|
|
953
945
|
**/
|
|
954
|
-
queueSuspended: GenericStorageQuery<
|
|
946
|
+
queueSuspended: GenericStorageQuery<() => boolean>;
|
|
955
947
|
|
|
956
948
|
/**
|
|
957
949
|
* The factor to multiply the base delivery fee by.
|
|
@@ -960,7 +952,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
960
952
|
* @param {Callback<FixedU128> =} callback
|
|
961
953
|
**/
|
|
962
954
|
deliveryFeeFactor: GenericStorageQuery<
|
|
963
|
-
Rv,
|
|
964
955
|
(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
|
|
965
956
|
PolkadotParachainPrimitivesPrimitivesId
|
|
966
957
|
>;
|
|
@@ -968,7 +959,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
968
959
|
/**
|
|
969
960
|
* Generic pallet storage query
|
|
970
961
|
**/
|
|
971
|
-
[storage: string]: GenericStorageQuery
|
|
962
|
+
[storage: string]: GenericStorageQuery;
|
|
972
963
|
};
|
|
973
964
|
/**
|
|
974
965
|
* Pallet `PolkadotXcm`'s storage queries
|
|
@@ -979,7 +970,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
979
970
|
*
|
|
980
971
|
* @param {Callback<bigint> =} callback
|
|
981
972
|
**/
|
|
982
|
-
queryCounter: GenericStorageQuery<
|
|
973
|
+
queryCounter: GenericStorageQuery<() => bigint>;
|
|
983
974
|
|
|
984
975
|
/**
|
|
985
976
|
* The ongoing queries.
|
|
@@ -987,7 +978,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
987
978
|
* @param {bigint} arg
|
|
988
979
|
* @param {Callback<PalletXcmQueryStatus | undefined> =} callback
|
|
989
980
|
**/
|
|
990
|
-
queries: GenericStorageQuery<
|
|
981
|
+
queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
|
|
991
982
|
|
|
992
983
|
/**
|
|
993
984
|
* The existing asset traps.
|
|
@@ -998,7 +989,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
998
989
|
* @param {H256} arg
|
|
999
990
|
* @param {Callback<number> =} callback
|
|
1000
991
|
**/
|
|
1001
|
-
assetTraps: GenericStorageQuery<
|
|
992
|
+
assetTraps: GenericStorageQuery<(arg: H256) => number, H256>;
|
|
1002
993
|
|
|
1003
994
|
/**
|
|
1004
995
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
|
@@ -1006,7 +997,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1006
997
|
*
|
|
1007
998
|
* @param {Callback<number | undefined> =} callback
|
|
1008
999
|
**/
|
|
1009
|
-
safeXcmVersion: GenericStorageQuery<
|
|
1000
|
+
safeXcmVersion: GenericStorageQuery<() => number | undefined>;
|
|
1010
1001
|
|
|
1011
1002
|
/**
|
|
1012
1003
|
* The Latest versions that we know various locations support.
|
|
@@ -1015,7 +1006,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1015
1006
|
* @param {Callback<number | undefined> =} callback
|
|
1016
1007
|
**/
|
|
1017
1008
|
supportedVersion: GenericStorageQuery<
|
|
1018
|
-
Rv,
|
|
1019
1009
|
(arg: [number, XcmVersionedLocation]) => number | undefined,
|
|
1020
1010
|
[number, XcmVersionedLocation]
|
|
1021
1011
|
>;
|
|
@@ -1027,7 +1017,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1027
1017
|
* @param {Callback<bigint | undefined> =} callback
|
|
1028
1018
|
**/
|
|
1029
1019
|
versionNotifiers: GenericStorageQuery<
|
|
1030
|
-
Rv,
|
|
1031
1020
|
(arg: [number, XcmVersionedLocation]) => bigint | undefined,
|
|
1032
1021
|
[number, XcmVersionedLocation]
|
|
1033
1022
|
>;
|
|
@@ -1040,7 +1029,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1040
1029
|
* @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
|
|
1041
1030
|
**/
|
|
1042
1031
|
versionNotifyTargets: GenericStorageQuery<
|
|
1043
|
-
Rv,
|
|
1044
1032
|
(arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
|
|
1045
1033
|
[number, XcmVersionedLocation]
|
|
1046
1034
|
>;
|
|
@@ -1052,14 +1040,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1052
1040
|
*
|
|
1053
1041
|
* @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
|
|
1054
1042
|
**/
|
|
1055
|
-
versionDiscoveryQueue: GenericStorageQuery<
|
|
1043
|
+
versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedLocation, number]>>;
|
|
1056
1044
|
|
|
1057
1045
|
/**
|
|
1058
1046
|
* The current migration's stage, if any.
|
|
1059
1047
|
*
|
|
1060
1048
|
* @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
|
|
1061
1049
|
**/
|
|
1062
|
-
currentMigration: GenericStorageQuery<
|
|
1050
|
+
currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
|
|
1063
1051
|
|
|
1064
1052
|
/**
|
|
1065
1053
|
* Fungible assets which we know are locked on a remote chain.
|
|
@@ -1068,7 +1056,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1068
1056
|
* @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
|
|
1069
1057
|
**/
|
|
1070
1058
|
remoteLockedFungibles: GenericStorageQuery<
|
|
1071
|
-
Rv,
|
|
1072
1059
|
(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
|
|
1073
1060
|
[number, AccountId32, XcmVersionedAssetId]
|
|
1074
1061
|
>;
|
|
@@ -1080,7 +1067,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1080
1067
|
* @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
|
|
1081
1068
|
**/
|
|
1082
1069
|
lockedFungibles: GenericStorageQuery<
|
|
1083
|
-
Rv,
|
|
1084
1070
|
(arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
|
|
1085
1071
|
AccountId32
|
|
1086
1072
|
>;
|
|
@@ -1090,7 +1076,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1090
1076
|
*
|
|
1091
1077
|
* @param {Callback<boolean> =} callback
|
|
1092
1078
|
**/
|
|
1093
|
-
xcmExecutionSuspended: GenericStorageQuery<
|
|
1079
|
+
xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
|
|
1094
1080
|
|
|
1095
1081
|
/**
|
|
1096
1082
|
* Whether or not incoming XCMs (both executed locally and received) should be recorded.
|
|
@@ -1103,7 +1089,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1103
1089
|
*
|
|
1104
1090
|
* @param {Callback<boolean> =} callback
|
|
1105
1091
|
**/
|
|
1106
|
-
shouldRecordXcm: GenericStorageQuery<
|
|
1092
|
+
shouldRecordXcm: GenericStorageQuery<() => boolean>;
|
|
1107
1093
|
|
|
1108
1094
|
/**
|
|
1109
1095
|
* If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
|
|
@@ -1115,7 +1101,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1115
1101
|
*
|
|
1116
1102
|
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1117
1103
|
**/
|
|
1118
|
-
recordedXcm: GenericStorageQuery<
|
|
1104
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1119
1105
|
|
|
1120
1106
|
/**
|
|
1121
1107
|
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
@@ -1126,7 +1112,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1126
1112
|
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1127
1113
|
**/
|
|
1128
1114
|
authorizedAliases: GenericStorageQuery<
|
|
1129
|
-
Rv,
|
|
1130
1115
|
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1131
1116
|
XcmVersionedLocation
|
|
1132
1117
|
>;
|
|
@@ -1134,7 +1119,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1134
1119
|
/**
|
|
1135
1120
|
* Generic pallet storage query
|
|
1136
1121
|
**/
|
|
1137
|
-
[storage: string]: GenericStorageQuery
|
|
1122
|
+
[storage: string]: GenericStorageQuery;
|
|
1138
1123
|
};
|
|
1139
1124
|
/**
|
|
1140
1125
|
* Pallet `MessageQueue`'s storage queries
|
|
@@ -1147,7 +1132,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1147
1132
|
* @param {Callback<PalletMessageQueueBookState> =} callback
|
|
1148
1133
|
**/
|
|
1149
1134
|
bookStateFor: GenericStorageQuery<
|
|
1150
|
-
Rv,
|
|
1151
1135
|
(arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
|
|
1152
1136
|
CumulusPrimitivesCoreAggregateMessageOrigin
|
|
1153
1137
|
>;
|
|
@@ -1157,7 +1141,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1157
1141
|
*
|
|
1158
1142
|
* @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
|
|
1159
1143
|
**/
|
|
1160
|
-
serviceHead: GenericStorageQuery<
|
|
1144
|
+
serviceHead: GenericStorageQuery<() => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
|
|
1161
1145
|
|
|
1162
1146
|
/**
|
|
1163
1147
|
* The map of page indices to pages.
|
|
@@ -1166,7 +1150,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1166
1150
|
* @param {Callback<PalletMessageQueuePage | undefined> =} callback
|
|
1167
1151
|
**/
|
|
1168
1152
|
pages: GenericStorageQuery<
|
|
1169
|
-
Rv,
|
|
1170
1153
|
(arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
|
|
1171
1154
|
[CumulusPrimitivesCoreAggregateMessageOrigin, number]
|
|
1172
1155
|
>;
|
|
@@ -1174,7 +1157,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1174
1157
|
/**
|
|
1175
1158
|
* Generic pallet storage query
|
|
1176
1159
|
**/
|
|
1177
|
-
[storage: string]: GenericStorageQuery
|
|
1160
|
+
[storage: string]: GenericStorageQuery;
|
|
1178
1161
|
};
|
|
1179
1162
|
/**
|
|
1180
1163
|
* Pallet `Multisig`'s storage queries
|
|
@@ -1187,7 +1170,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1187
1170
|
* @param {Callback<PalletMultisigMultisig | undefined> =} callback
|
|
1188
1171
|
**/
|
|
1189
1172
|
multisigs: GenericStorageQuery<
|
|
1190
|
-
Rv,
|
|
1191
1173
|
(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
|
|
1192
1174
|
[AccountId32, FixedBytes<32>]
|
|
1193
1175
|
>;
|
|
@@ -1195,7 +1177,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1195
1177
|
/**
|
|
1196
1178
|
* Generic pallet storage query
|
|
1197
1179
|
**/
|
|
1198
|
-
[storage: string]: GenericStorageQuery
|
|
1180
|
+
[storage: string]: GenericStorageQuery;
|
|
1199
1181
|
};
|
|
1200
1182
|
/**
|
|
1201
1183
|
* Pallet `Proxy`'s storage queries
|
|
@@ -1208,11 +1190,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1208
1190
|
* @param {AccountId32Like} arg
|
|
1209
1191
|
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1210
1192
|
**/
|
|
1211
|
-
proxies: GenericStorageQuery<
|
|
1212
|
-
Rv,
|
|
1213
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1214
|
-
AccountId32
|
|
1215
|
-
>;
|
|
1193
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1216
1194
|
|
|
1217
1195
|
/**
|
|
1218
1196
|
* The announcements made by the proxy (key).
|
|
@@ -1220,16 +1198,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1220
1198
|
* @param {AccountId32Like} arg
|
|
1221
1199
|
* @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
|
|
1222
1200
|
**/
|
|
1223
|
-
announcements: GenericStorageQuery<
|
|
1224
|
-
Rv,
|
|
1225
|
-
(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
|
|
1226
|
-
AccountId32
|
|
1227
|
-
>;
|
|
1201
|
+
announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint], AccountId32>;
|
|
1228
1202
|
|
|
1229
1203
|
/**
|
|
1230
1204
|
* Generic pallet storage query
|
|
1231
1205
|
**/
|
|
1232
|
-
[storage: string]: GenericStorageQuery
|
|
1206
|
+
[storage: string]: GenericStorageQuery;
|
|
1233
1207
|
};
|
|
1234
1208
|
/**
|
|
1235
1209
|
* Pallet `Identity`'s storage queries
|
|
@@ -1244,7 +1218,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1244
1218
|
* @param {AccountId32Like} arg
|
|
1245
1219
|
* @param {Callback<PalletIdentityRegistration | undefined> =} callback
|
|
1246
1220
|
**/
|
|
1247
|
-
identityOf: GenericStorageQuery<
|
|
1221
|
+
identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
|
|
1248
1222
|
|
|
1249
1223
|
/**
|
|
1250
1224
|
* Identifies the primary username of an account.
|
|
@@ -1252,7 +1226,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1252
1226
|
* @param {AccountId32Like} arg
|
|
1253
1227
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1254
1228
|
**/
|
|
1255
|
-
usernameOf: GenericStorageQuery<
|
|
1229
|
+
usernameOf: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined, AccountId32>;
|
|
1256
1230
|
|
|
1257
1231
|
/**
|
|
1258
1232
|
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
@@ -1261,7 +1235,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1261
1235
|
* @param {AccountId32Like} arg
|
|
1262
1236
|
* @param {Callback<[AccountId32, Data] | undefined> =} callback
|
|
1263
1237
|
**/
|
|
1264
|
-
superOf: GenericStorageQuery<
|
|
1238
|
+
superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
|
|
1265
1239
|
|
|
1266
1240
|
/**
|
|
1267
1241
|
* Alternative "sub" identities of this account.
|
|
@@ -1273,7 +1247,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1273
1247
|
* @param {AccountId32Like} arg
|
|
1274
1248
|
* @param {Callback<[bigint, Array<AccountId32>]> =} callback
|
|
1275
1249
|
**/
|
|
1276
|
-
subsOf: GenericStorageQuery<
|
|
1250
|
+
subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
|
|
1277
1251
|
|
|
1278
1252
|
/**
|
|
1279
1253
|
* The set of registrars. Not expected to get very big as can only be added through a
|
|
@@ -1283,7 +1257,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1283
1257
|
*
|
|
1284
1258
|
* @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
|
|
1285
1259
|
**/
|
|
1286
|
-
registrars: GenericStorageQuery<
|
|
1260
|
+
registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
|
|
1287
1261
|
|
|
1288
1262
|
/**
|
|
1289
1263
|
* A map of the accounts who are authorized to grant usernames.
|
|
@@ -1291,7 +1265,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1291
1265
|
* @param {BytesLike} arg
|
|
1292
1266
|
* @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
|
|
1293
1267
|
**/
|
|
1294
|
-
authorityOf: GenericStorageQuery<
|
|
1268
|
+
authorityOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
|
|
1295
1269
|
|
|
1296
1270
|
/**
|
|
1297
1271
|
* Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
|
|
@@ -1304,7 +1278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1304
1278
|
* @param {BytesLike} arg
|
|
1305
1279
|
* @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
|
|
1306
1280
|
**/
|
|
1307
|
-
usernameInfoOf: GenericStorageQuery<
|
|
1281
|
+
usernameInfoOf: GenericStorageQuery<(arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
|
|
1308
1282
|
|
|
1309
1283
|
/**
|
|
1310
1284
|
* Usernames that an authority has granted, but that the account controller has not confirmed
|
|
@@ -1318,7 +1292,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1318
1292
|
* @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
|
|
1319
1293
|
**/
|
|
1320
1294
|
pendingUsernames: GenericStorageQuery<
|
|
1321
|
-
Rv,
|
|
1322
1295
|
(arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
|
|
1323
1296
|
Bytes
|
|
1324
1297
|
>;
|
|
@@ -1332,12 +1305,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1332
1305
|
* @param {BytesLike} arg
|
|
1333
1306
|
* @param {Callback<number | undefined> =} callback
|
|
1334
1307
|
**/
|
|
1335
|
-
unbindingUsernames: GenericStorageQuery<
|
|
1308
|
+
unbindingUsernames: GenericStorageQuery<(arg: BytesLike) => number | undefined, Bytes>;
|
|
1336
1309
|
|
|
1337
1310
|
/**
|
|
1338
1311
|
* Generic pallet storage query
|
|
1339
1312
|
**/
|
|
1340
|
-
[storage: string]: GenericStorageQuery
|
|
1313
|
+
[storage: string]: GenericStorageQuery;
|
|
1341
1314
|
};
|
|
1342
1315
|
/**
|
|
1343
1316
|
* Pallet `Sudo`'s storage queries
|
|
@@ -1348,11 +1321,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1348
1321
|
*
|
|
1349
1322
|
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1350
1323
|
**/
|
|
1351
|
-
key: GenericStorageQuery<
|
|
1324
|
+
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1352
1325
|
|
|
1353
1326
|
/**
|
|
1354
1327
|
* Generic pallet storage query
|
|
1355
1328
|
**/
|
|
1356
|
-
[storage: string]: GenericStorageQuery
|
|
1329
|
+
[storage: string]: GenericStorageQuery;
|
|
1357
1330
|
};
|
|
1358
1331
|
}
|