@dedot/chaintypes 0.0.1-alpha.100

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.
Files changed (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,1640 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainStorage, GenericStorageQuery, Callback, RpcVersion } from 'dedot/types';
4
+ import type {
5
+ AccountId32,
6
+ AccountId32Like,
7
+ H256,
8
+ Bytes,
9
+ Digest,
10
+ Phase,
11
+ FixedU128,
12
+ BytesLike,
13
+ FixedBytes,
14
+ } from 'dedot/codecs';
15
+ import type {
16
+ FrameSystemAccountInfo,
17
+ FrameSupportDispatchPerDispatchClass,
18
+ FrameSystemEventRecord,
19
+ FrameSystemLastRuntimeUpgradeInfo,
20
+ FrameSystemCodeUpgradeAuthorization,
21
+ CumulusPalletParachainSystemUnincludedSegmentAncestor,
22
+ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
23
+ PolkadotPrimitivesV6PersistedValidationData,
24
+ PolkadotPrimitivesV6UpgradeRestriction,
25
+ PolkadotPrimitivesV6UpgradeGoAhead,
26
+ SpTrieStorageProof,
27
+ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
28
+ PolkadotPrimitivesV6AbridgedHostConfiguration,
29
+ CumulusPrimitivesParachainInherentMessageQueueChain,
30
+ PolkadotParachainPrimitivesPrimitivesId,
31
+ PolkadotCorePrimitivesOutboundHrmpMessage,
32
+ SpWeightsWeightV2Weight,
33
+ PalletBalancesAccountData,
34
+ PalletBalancesBalanceLock,
35
+ PalletBalancesReserveData,
36
+ PalletBalancesIdAmount,
37
+ PalletBalancesIdAmount002,
38
+ PalletTransactionPaymentReleases,
39
+ PalletCollatorSelectionCandidateInfo,
40
+ AssetHubPolkadotRuntimeSessionKeys,
41
+ SpCoreCryptoKeyTypeId,
42
+ SpConsensusAuraEd25519AppEd25519Public,
43
+ SpConsensusSlotsSlot,
44
+ CumulusPalletXcmpQueueOutboundChannelDetails,
45
+ CumulusPalletXcmpQueueQueueConfigData,
46
+ PalletXcmQueryStatus,
47
+ XcmVersionedLocation,
48
+ PalletXcmVersionMigrationStage,
49
+ PalletXcmRemoteLockedFungibleRecord,
50
+ XcmVersionedAssetId,
51
+ CumulusPalletDmpQueueMigrationState,
52
+ BpXcmBridgeHubRouterBridgeState,
53
+ PalletMessageQueueBookState,
54
+ CumulusPrimitivesCoreAggregateMessageOrigin,
55
+ PalletMessageQueuePage,
56
+ PalletMultisigMultisig,
57
+ PalletProxyProxyDefinition,
58
+ PalletProxyAnnouncement,
59
+ PalletAssetsAssetDetails,
60
+ PalletAssetsAssetAccount,
61
+ PalletAssetsApproval,
62
+ PalletAssetsAssetMetadata,
63
+ PalletUniquesCollectionDetails,
64
+ PalletUniquesItemDetails,
65
+ PalletUniquesCollectionMetadata,
66
+ PalletUniquesItemMetadata,
67
+ PalletNftsCollectionDetails,
68
+ PalletNftsBitFlagsCollectionRole,
69
+ PalletNftsItemDetails,
70
+ PalletNftsCollectionMetadata,
71
+ PalletNftsItemMetadata,
72
+ PalletNftsAttributeDeposit,
73
+ PalletNftsAttributeNamespace,
74
+ PalletNftsPendingSwap,
75
+ PalletNftsCollectionConfig,
76
+ PalletNftsItemConfig,
77
+ StagingXcmV3MultilocationMultiLocation,
78
+ PalletAssetConversionPoolInfo,
79
+ } from './types';
80
+
81
+ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
82
+ /**
83
+ * Pallet `System`'s storage queries
84
+ **/
85
+ system: {
86
+ /**
87
+ * The full account information for a particular account ID.
88
+ *
89
+ * @param {AccountId32Like} arg
90
+ * @param {Callback<FrameSystemAccountInfo> =} callback
91
+ **/
92
+ account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
93
+
94
+ /**
95
+ * Total extrinsics count for the current block.
96
+ *
97
+ * @param {Callback<number | undefined> =} callback
98
+ **/
99
+ extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
100
+
101
+ /**
102
+ * The current weight for the block.
103
+ *
104
+ * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
105
+ **/
106
+ blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
107
+
108
+ /**
109
+ * Total length (in bytes) for all extrinsics put together, for the current block.
110
+ *
111
+ * @param {Callback<number | undefined> =} callback
112
+ **/
113
+ allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
114
+
115
+ /**
116
+ * Map of block numbers to block hashes.
117
+ *
118
+ * @param {number} arg
119
+ * @param {Callback<H256> =} callback
120
+ **/
121
+ blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
122
+
123
+ /**
124
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
125
+ *
126
+ * @param {number} arg
127
+ * @param {Callback<Bytes> =} callback
128
+ **/
129
+ extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
130
+
131
+ /**
132
+ * The current block number being processed. Set by `execute_block`.
133
+ *
134
+ * @param {Callback<number> =} callback
135
+ **/
136
+ number: GenericStorageQuery<Rv, () => number>;
137
+
138
+ /**
139
+ * Hash of the previous block.
140
+ *
141
+ * @param {Callback<H256> =} callback
142
+ **/
143
+ parentHash: GenericStorageQuery<Rv, () => H256>;
144
+
145
+ /**
146
+ * Digest of the current block, also part of the block header.
147
+ *
148
+ * @param {Callback<Digest> =} callback
149
+ **/
150
+ digest: GenericStorageQuery<Rv, () => Digest>;
151
+
152
+ /**
153
+ * Events deposited for the current block.
154
+ *
155
+ * NOTE: The item is unbound and should therefore never be read on chain.
156
+ * It could otherwise inflate the PoV size of a block.
157
+ *
158
+ * Events have a large in-memory size. Box the events to not go out-of-memory
159
+ * just in case someone still reads them from within the runtime.
160
+ *
161
+ * @param {Callback<Array<FrameSystemEventRecord>> =} callback
162
+ **/
163
+ events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
164
+
165
+ /**
166
+ * The number of events in the `Events<T>` list.
167
+ *
168
+ * @param {Callback<number> =} callback
169
+ **/
170
+ eventCount: GenericStorageQuery<Rv, () => number>;
171
+
172
+ /**
173
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
174
+ * of events in the `<Events<T>>` list.
175
+ *
176
+ * All topic vectors have deterministic storage locations depending on the topic. This
177
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
178
+ * in case of changes fetch the list of events of interest.
179
+ *
180
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
181
+ * the `EventIndex` then in case if the topic has the same contents on the next block
182
+ * no notification will be triggered thus the event might be lost.
183
+ *
184
+ * @param {H256} arg
185
+ * @param {Callback<Array<[number, number]>> =} callback
186
+ **/
187
+ eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
188
+
189
+ /**
190
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
191
+ *
192
+ * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
193
+ **/
194
+ lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
195
+
196
+ /**
197
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
198
+ *
199
+ * @param {Callback<boolean> =} callback
200
+ **/
201
+ upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
202
+
203
+ /**
204
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
205
+ * (default) if not.
206
+ *
207
+ * @param {Callback<boolean> =} callback
208
+ **/
209
+ upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
210
+
211
+ /**
212
+ * The execution phase of the block.
213
+ *
214
+ * @param {Callback<Phase | undefined> =} callback
215
+ **/
216
+ executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
217
+
218
+ /**
219
+ * `Some` if a code upgrade has been authorized.
220
+ *
221
+ * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
222
+ **/
223
+ authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
224
+
225
+ /**
226
+ * Generic pallet storage query
227
+ **/
228
+ [storage: string]: GenericStorageQuery<Rv>;
229
+ };
230
+ /**
231
+ * Pallet `ParachainSystem`'s storage queries
232
+ **/
233
+ parachainSystem: {
234
+ /**
235
+ * Latest included block descendants the runtime accepted. In other words, these are
236
+ * ancestors of the currently executing block which have not been included in the observed
237
+ * relay-chain state.
238
+ *
239
+ * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
240
+ * in the pallet.
241
+ *
242
+ * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
243
+ **/
244
+ unincludedSegment: GenericStorageQuery<Rv, () => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
245
+
246
+ /**
247
+ * Storage field that keeps track of bandwidth used by the unincluded segment along with the
248
+ * latest HRMP watermark. Used for limiting the acceptance of new blocks with
249
+ * respect to relay chain constraints.
250
+ *
251
+ * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
252
+ **/
253
+ aggregatedUnincludedSegment: GenericStorageQuery<
254
+ Rv,
255
+ () => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
256
+ >;
257
+
258
+ /**
259
+ * In case of a scheduled upgrade, this storage field contains the validation code to be
260
+ * applied.
261
+ *
262
+ * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
263
+ * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
264
+ * with the new validation code. This concludes the upgrade process.
265
+ *
266
+ * @param {Callback<Bytes> =} callback
267
+ **/
268
+ pendingValidationCode: GenericStorageQuery<Rv, () => Bytes>;
269
+
270
+ /**
271
+ * Validation code that is set by the parachain and is to be communicated to collator and
272
+ * consequently the relay-chain.
273
+ *
274
+ * This will be cleared in `on_initialize` of each new block if no other pallet already set
275
+ * the value.
276
+ *
277
+ * @param {Callback<Bytes | undefined> =} callback
278
+ **/
279
+ newValidationCode: GenericStorageQuery<Rv, () => Bytes | undefined>;
280
+
281
+ /**
282
+ * The [`PersistedValidationData`] set for this block.
283
+ * This value is expected to be set only once per block and it's never stored
284
+ * in the trie.
285
+ *
286
+ * @param {Callback<PolkadotPrimitivesV6PersistedValidationData | undefined> =} callback
287
+ **/
288
+ validationData: GenericStorageQuery<Rv, () => PolkadotPrimitivesV6PersistedValidationData | undefined>;
289
+
290
+ /**
291
+ * Were the validation data set to notify the relay chain?
292
+ *
293
+ * @param {Callback<boolean> =} callback
294
+ **/
295
+ didSetValidationCode: GenericStorageQuery<Rv, () => boolean>;
296
+
297
+ /**
298
+ * The relay chain block number associated with the last parachain block.
299
+ *
300
+ * This is updated in `on_finalize`.
301
+ *
302
+ * @param {Callback<number> =} callback
303
+ **/
304
+ lastRelayChainBlockNumber: GenericStorageQuery<Rv, () => number>;
305
+
306
+ /**
307
+ * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
308
+ * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
309
+ * candidate will be invalid.
310
+ *
311
+ * This storage item is a mirror of the corresponding value for the current parachain from the
312
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
313
+ * set after the inherent.
314
+ *
315
+ * @param {Callback<PolkadotPrimitivesV6UpgradeRestriction | undefined> =} callback
316
+ **/
317
+ upgradeRestrictionSignal: GenericStorageQuery<Rv, () => PolkadotPrimitivesV6UpgradeRestriction | undefined>;
318
+
319
+ /**
320
+ * Optional upgrade go-ahead signal from the relay-chain.
321
+ *
322
+ * This storage item is a mirror of the corresponding value for the current parachain from the
323
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
324
+ * set after the inherent.
325
+ *
326
+ * @param {Callback<PolkadotPrimitivesV6UpgradeGoAhead | undefined> =} callback
327
+ **/
328
+ upgradeGoAhead: GenericStorageQuery<Rv, () => PolkadotPrimitivesV6UpgradeGoAhead | undefined>;
329
+
330
+ /**
331
+ * The state proof for the last relay parent block.
332
+ *
333
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
334
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
335
+ *
336
+ * This data is also absent from the genesis.
337
+ *
338
+ * @param {Callback<SpTrieStorageProof | undefined> =} callback
339
+ **/
340
+ relayStateProof: GenericStorageQuery<Rv, () => SpTrieStorageProof | undefined>;
341
+
342
+ /**
343
+ * The snapshot of some state related to messaging relevant to the current parachain as per
344
+ * the relay parent.
345
+ *
346
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
347
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
348
+ *
349
+ * This data is also absent from the genesis.
350
+ *
351
+ * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
352
+ **/
353
+ relevantMessagingState: GenericStorageQuery<
354
+ Rv,
355
+ () => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
356
+ >;
357
+
358
+ /**
359
+ * The parachain host configuration that was obtained from the relay parent.
360
+ *
361
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
362
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
363
+ *
364
+ * This data is also absent from the genesis.
365
+ *
366
+ * @param {Callback<PolkadotPrimitivesV6AbridgedHostConfiguration | undefined> =} callback
367
+ **/
368
+ hostConfiguration: GenericStorageQuery<Rv, () => PolkadotPrimitivesV6AbridgedHostConfiguration | undefined>;
369
+
370
+ /**
371
+ * The last downward message queue chain head we have observed.
372
+ *
373
+ * This value is loaded before and saved after processing inbound downward messages carried
374
+ * by the system inherent.
375
+ *
376
+ * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
377
+ **/
378
+ lastDmqMqcHead: GenericStorageQuery<Rv, () => CumulusPrimitivesParachainInherentMessageQueueChain>;
379
+
380
+ /**
381
+ * The message queue chain heads we have observed per each channel incoming channel.
382
+ *
383
+ * This value is loaded before and saved after processing inbound downward messages carried
384
+ * by the system inherent.
385
+ *
386
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
387
+ **/
388
+ lastHrmpMqcHeads: GenericStorageQuery<
389
+ Rv,
390
+ () => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
391
+ >;
392
+
393
+ /**
394
+ * Number of downward messages processed in a block.
395
+ *
396
+ * This will be cleared in `on_initialize` of each new block.
397
+ *
398
+ * @param {Callback<number> =} callback
399
+ **/
400
+ processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
401
+
402
+ /**
403
+ * HRMP watermark that was set in a block.
404
+ *
405
+ * This will be cleared in `on_initialize` of each new block.
406
+ *
407
+ * @param {Callback<number> =} callback
408
+ **/
409
+ hrmpWatermark: GenericStorageQuery<Rv, () => number>;
410
+
411
+ /**
412
+ * HRMP messages that were sent in a block.
413
+ *
414
+ * This will be cleared in `on_initialize` of each new block.
415
+ *
416
+ * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
417
+ **/
418
+ hrmpOutboundMessages: GenericStorageQuery<Rv, () => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
419
+
420
+ /**
421
+ * Upward messages that were sent in a block.
422
+ *
423
+ * This will be cleared in `on_initialize` of each new block.
424
+ *
425
+ * @param {Callback<Array<Bytes>> =} callback
426
+ **/
427
+ upwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
428
+
429
+ /**
430
+ * Upward messages that are still pending and not yet send to the relay chain.
431
+ *
432
+ * @param {Callback<Array<Bytes>> =} callback
433
+ **/
434
+ pendingUpwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
435
+
436
+ /**
437
+ * The factor to multiply the base delivery fee by for UMP.
438
+ *
439
+ * @param {Callback<FixedU128> =} callback
440
+ **/
441
+ upwardDeliveryFeeFactor: GenericStorageQuery<Rv, () => FixedU128>;
442
+
443
+ /**
444
+ * The number of HRMP messages we observed in `on_initialize` and thus used that number for
445
+ * announcing the weight of `on_initialize` and `on_finalize`.
446
+ *
447
+ * @param {Callback<number> =} callback
448
+ **/
449
+ announcedHrmpMessagesPerCandidate: GenericStorageQuery<Rv, () => number>;
450
+
451
+ /**
452
+ * The weight we reserve at the beginning of the block for processing XCMP messages. This
453
+ * overrides the amount set in the Config trait.
454
+ *
455
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
456
+ **/
457
+ reservedXcmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
458
+
459
+ /**
460
+ * The weight we reserve at the beginning of the block for processing DMP messages. This
461
+ * overrides the amount set in the Config trait.
462
+ *
463
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
464
+ **/
465
+ reservedDmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
466
+
467
+ /**
468
+ * A custom head data that should be returned as result of `validate_block`.
469
+ *
470
+ * See `Pallet::set_custom_validation_head_data` for more information.
471
+ *
472
+ * @param {Callback<Bytes | undefined> =} callback
473
+ **/
474
+ customValidationHeadData: GenericStorageQuery<Rv, () => Bytes | undefined>;
475
+
476
+ /**
477
+ * Generic pallet storage query
478
+ **/
479
+ [storage: string]: GenericStorageQuery<Rv>;
480
+ };
481
+ /**
482
+ * Pallet `Timestamp`'s storage queries
483
+ **/
484
+ timestamp: {
485
+ /**
486
+ * The current time for the current block.
487
+ *
488
+ * @param {Callback<bigint> =} callback
489
+ **/
490
+ now: GenericStorageQuery<Rv, () => bigint>;
491
+
492
+ /**
493
+ * Whether the timestamp has been updated in this block.
494
+ *
495
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
496
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
497
+ *
498
+ * @param {Callback<boolean> =} callback
499
+ **/
500
+ didUpdate: GenericStorageQuery<Rv, () => boolean>;
501
+
502
+ /**
503
+ * Generic pallet storage query
504
+ **/
505
+ [storage: string]: GenericStorageQuery<Rv>;
506
+ };
507
+ /**
508
+ * Pallet `ParachainInfo`'s storage queries
509
+ **/
510
+ parachainInfo: {
511
+ /**
512
+ *
513
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
514
+ **/
515
+ parachainId: GenericStorageQuery<Rv, () => PolkadotParachainPrimitivesPrimitivesId>;
516
+
517
+ /**
518
+ * Generic pallet storage query
519
+ **/
520
+ [storage: string]: GenericStorageQuery<Rv>;
521
+ };
522
+ /**
523
+ * Pallet `Balances`'s storage queries
524
+ **/
525
+ balances: {
526
+ /**
527
+ * The total units issued in the system.
528
+ *
529
+ * @param {Callback<bigint> =} callback
530
+ **/
531
+ totalIssuance: GenericStorageQuery<Rv, () => bigint>;
532
+
533
+ /**
534
+ * The total units of outstanding deactivated balance in the system.
535
+ *
536
+ * @param {Callback<bigint> =} callback
537
+ **/
538
+ inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
539
+
540
+ /**
541
+ * The Balances pallet example of storing the balance of an account.
542
+ *
543
+ * # Example
544
+ *
545
+ * ```nocompile
546
+ * impl pallet_balances::Config for Runtime {
547
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
548
+ * }
549
+ * ```
550
+ *
551
+ * You can also store the balance of an account in the `System` pallet.
552
+ *
553
+ * # Example
554
+ *
555
+ * ```nocompile
556
+ * impl pallet_balances::Config for Runtime {
557
+ * type AccountStore = System
558
+ * }
559
+ * ```
560
+ *
561
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
562
+ * `frame_system` data alongside the account data contrary to storing account balances in the
563
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
564
+ * NOTE: This is only used in the case that this pallet is used to store balances.
565
+ *
566
+ * @param {AccountId32Like} arg
567
+ * @param {Callback<PalletBalancesAccountData> =} callback
568
+ **/
569
+ account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
570
+
571
+ /**
572
+ * Any liquidity locks on some account balances.
573
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
574
+ *
575
+ * @param {AccountId32Like} arg
576
+ * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
577
+ **/
578
+ locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
579
+
580
+ /**
581
+ * Named reserves on some account balances.
582
+ *
583
+ * @param {AccountId32Like} arg
584
+ * @param {Callback<Array<PalletBalancesReserveData>> =} callback
585
+ **/
586
+ reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
587
+
588
+ /**
589
+ * Holds on account balances.
590
+ *
591
+ * @param {AccountId32Like} arg
592
+ * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
593
+ **/
594
+ holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesIdAmount>, AccountId32>;
595
+
596
+ /**
597
+ * Freeze locks on account balances.
598
+ *
599
+ * @param {AccountId32Like} arg
600
+ * @param {Callback<Array<PalletBalancesIdAmount002>> =} callback
601
+ **/
602
+ freezes: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesIdAmount002>, AccountId32>;
603
+
604
+ /**
605
+ * Generic pallet storage query
606
+ **/
607
+ [storage: string]: GenericStorageQuery<Rv>;
608
+ };
609
+ /**
610
+ * Pallet `TransactionPayment`'s storage queries
611
+ **/
612
+ transactionPayment: {
613
+ /**
614
+ *
615
+ * @param {Callback<FixedU128> =} callback
616
+ **/
617
+ nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
618
+
619
+ /**
620
+ *
621
+ * @param {Callback<PalletTransactionPaymentReleases> =} callback
622
+ **/
623
+ storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
624
+
625
+ /**
626
+ * Generic pallet storage query
627
+ **/
628
+ [storage: string]: GenericStorageQuery<Rv>;
629
+ };
630
+ /**
631
+ * Pallet `Authorship`'s storage queries
632
+ **/
633
+ authorship: {
634
+ /**
635
+ * Author of current block.
636
+ *
637
+ * @param {Callback<AccountId32 | undefined> =} callback
638
+ **/
639
+ author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
640
+
641
+ /**
642
+ * Generic pallet storage query
643
+ **/
644
+ [storage: string]: GenericStorageQuery<Rv>;
645
+ };
646
+ /**
647
+ * Pallet `CollatorSelection`'s storage queries
648
+ **/
649
+ collatorSelection: {
650
+ /**
651
+ * The invulnerable, permissioned collators. This list must be sorted.
652
+ *
653
+ * @param {Callback<Array<AccountId32>> =} callback
654
+ **/
655
+ invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
656
+
657
+ /**
658
+ * The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
659
+ * mutually exclusive.
660
+ *
661
+ * This list is sorted in ascending order by deposit and when the deposits are equal, the least
662
+ * recently updated is considered greater.
663
+ *
664
+ * @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
665
+ **/
666
+ candidateList: GenericStorageQuery<Rv, () => Array<PalletCollatorSelectionCandidateInfo>>;
667
+
668
+ /**
669
+ * Last block authored by collator.
670
+ *
671
+ * @param {AccountId32Like} arg
672
+ * @param {Callback<number> =} callback
673
+ **/
674
+ lastAuthoredBlock: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
675
+
676
+ /**
677
+ * Desired number of candidates.
678
+ *
679
+ * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct.
680
+ *
681
+ * @param {Callback<number> =} callback
682
+ **/
683
+ desiredCandidates: GenericStorageQuery<Rv, () => number>;
684
+
685
+ /**
686
+ * Fixed amount to deposit to become a collator.
687
+ *
688
+ * When a collator calls `leave_intent` they immediately receive the deposit back.
689
+ *
690
+ * @param {Callback<bigint> =} callback
691
+ **/
692
+ candidacyBond: GenericStorageQuery<Rv, () => bigint>;
693
+
694
+ /**
695
+ * Generic pallet storage query
696
+ **/
697
+ [storage: string]: GenericStorageQuery<Rv>;
698
+ };
699
+ /**
700
+ * Pallet `Session`'s storage queries
701
+ **/
702
+ session: {
703
+ /**
704
+ * The current set of validators.
705
+ *
706
+ * @param {Callback<Array<AccountId32>> =} callback
707
+ **/
708
+ validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
709
+
710
+ /**
711
+ * Current index of the session.
712
+ *
713
+ * @param {Callback<number> =} callback
714
+ **/
715
+ currentIndex: GenericStorageQuery<Rv, () => number>;
716
+
717
+ /**
718
+ * True if the underlying economic identities or weighting behind the validators
719
+ * has changed in the queued validator set.
720
+ *
721
+ * @param {Callback<boolean> =} callback
722
+ **/
723
+ queuedChanged: GenericStorageQuery<Rv, () => boolean>;
724
+
725
+ /**
726
+ * The queued keys for the next session. When the next session begins, these keys
727
+ * will be used to determine the validator's session keys.
728
+ *
729
+ * @param {Callback<Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>> =} callback
730
+ **/
731
+ queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>>;
732
+
733
+ /**
734
+ * Indices of disabled validators.
735
+ *
736
+ * The vec is always kept sorted so that we can find whether a given validator is
737
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
738
+ * a new set of identities.
739
+ *
740
+ * @param {Callback<Array<number>> =} callback
741
+ **/
742
+ disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
743
+
744
+ /**
745
+ * The next session keys for a validator.
746
+ *
747
+ * @param {AccountId32Like} arg
748
+ * @param {Callback<AssetHubPolkadotRuntimeSessionKeys | undefined> =} callback
749
+ **/
750
+ nextKeys: GenericStorageQuery<
751
+ Rv,
752
+ (arg: AccountId32Like) => AssetHubPolkadotRuntimeSessionKeys | undefined,
753
+ AccountId32
754
+ >;
755
+
756
+ /**
757
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
758
+ *
759
+ * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
760
+ * @param {Callback<AccountId32 | undefined> =} callback
761
+ **/
762
+ keyOwner: GenericStorageQuery<
763
+ Rv,
764
+ (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
765
+ [SpCoreCryptoKeyTypeId, Bytes]
766
+ >;
767
+
768
+ /**
769
+ * Generic pallet storage query
770
+ **/
771
+ [storage: string]: GenericStorageQuery<Rv>;
772
+ };
773
+ /**
774
+ * Pallet `Aura`'s storage queries
775
+ **/
776
+ aura: {
777
+ /**
778
+ * The current authority set.
779
+ *
780
+ * @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
781
+ **/
782
+ authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraEd25519AppEd25519Public>>;
783
+
784
+ /**
785
+ * The current slot of this block.
786
+ *
787
+ * This will be set in `on_initialize`.
788
+ *
789
+ * @param {Callback<SpConsensusSlotsSlot> =} callback
790
+ **/
791
+ currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
792
+
793
+ /**
794
+ * Generic pallet storage query
795
+ **/
796
+ [storage: string]: GenericStorageQuery<Rv>;
797
+ };
798
+ /**
799
+ * Pallet `AuraExt`'s storage queries
800
+ **/
801
+ auraExt: {
802
+ /**
803
+ * Serves as cache for the authorities.
804
+ *
805
+ * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
806
+ * but we require the old authorities to verify the seal when validating a PoV. This will
807
+ * always be updated to the latest AuRa authorities in `on_finalize`.
808
+ *
809
+ * @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
810
+ **/
811
+ authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraEd25519AppEd25519Public>>;
812
+
813
+ /**
814
+ * Current slot paired with a number of authored blocks.
815
+ *
816
+ * Updated on each block initialization.
817
+ *
818
+ * @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
819
+ **/
820
+ slotInfo: GenericStorageQuery<Rv, () => [SpConsensusSlotsSlot, number] | undefined>;
821
+
822
+ /**
823
+ * Generic pallet storage query
824
+ **/
825
+ [storage: string]: GenericStorageQuery<Rv>;
826
+ };
827
+ /**
828
+ * Pallet `XcmpQueue`'s storage queries
829
+ **/
830
+ xcmpQueue: {
831
+ /**
832
+ * The suspended inbound XCMP channels. All others are not suspended.
833
+ *
834
+ * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block
835
+ * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached
836
+ * within the block and therefore only included once in the proof size.
837
+ *
838
+ * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof
839
+ * will be smaller.
840
+ *
841
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
842
+ **/
843
+ inboundXcmpSuspended: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesId>>;
844
+
845
+ /**
846
+ * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
847
+ * and last outbound message. If the two indices are equal, then it indicates an empty
848
+ * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
849
+ * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
850
+ * case of the need to send a high-priority signal message this block.
851
+ * The bool is true if there is a signal message waiting to be sent.
852
+ *
853
+ * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
854
+ **/
855
+ outboundXcmpStatus: GenericStorageQuery<Rv, () => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
856
+
857
+ /**
858
+ * The messages outbound in a given XCMP channel.
859
+ *
860
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
861
+ * @param {Callback<Bytes> =} callback
862
+ **/
863
+ outboundXcmpMessages: GenericStorageQuery<
864
+ Rv,
865
+ (arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
866
+ [PolkadotParachainPrimitivesPrimitivesId, number]
867
+ >;
868
+
869
+ /**
870
+ * Any signal messages waiting to be sent.
871
+ *
872
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
873
+ * @param {Callback<Bytes> =} callback
874
+ **/
875
+ signalMessages: GenericStorageQuery<
876
+ Rv,
877
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
878
+ PolkadotParachainPrimitivesPrimitivesId
879
+ >;
880
+
881
+ /**
882
+ * The configuration which controls the dynamics of the outbound queue.
883
+ *
884
+ * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
885
+ **/
886
+ queueConfig: GenericStorageQuery<Rv, () => CumulusPalletXcmpQueueQueueConfigData>;
887
+
888
+ /**
889
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
890
+ *
891
+ * @param {Callback<boolean> =} callback
892
+ **/
893
+ queueSuspended: GenericStorageQuery<Rv, () => boolean>;
894
+
895
+ /**
896
+ * The factor to multiply the base delivery fee by.
897
+ *
898
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
899
+ * @param {Callback<FixedU128> =} callback
900
+ **/
901
+ deliveryFeeFactor: GenericStorageQuery<
902
+ Rv,
903
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
904
+ PolkadotParachainPrimitivesPrimitivesId
905
+ >;
906
+
907
+ /**
908
+ * Generic pallet storage query
909
+ **/
910
+ [storage: string]: GenericStorageQuery<Rv>;
911
+ };
912
+ /**
913
+ * Pallet `PolkadotXcm`'s storage queries
914
+ **/
915
+ polkadotXcm: {
916
+ /**
917
+ * The latest available query index.
918
+ *
919
+ * @param {Callback<bigint> =} callback
920
+ **/
921
+ queryCounter: GenericStorageQuery<Rv, () => bigint>;
922
+
923
+ /**
924
+ * The ongoing queries.
925
+ *
926
+ * @param {bigint} arg
927
+ * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
928
+ **/
929
+ queries: GenericStorageQuery<Rv, (arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
930
+
931
+ /**
932
+ * The existing asset traps.
933
+ *
934
+ * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
935
+ * times this pair has been trapped (usually just 1 if it exists at all).
936
+ *
937
+ * @param {H256} arg
938
+ * @param {Callback<number> =} callback
939
+ **/
940
+ assetTraps: GenericStorageQuery<Rv, (arg: H256) => number, H256>;
941
+
942
+ /**
943
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
944
+ * then the destinations whose XCM version is unknown are considered unreachable.
945
+ *
946
+ * @param {Callback<number | undefined> =} callback
947
+ **/
948
+ safeXcmVersion: GenericStorageQuery<Rv, () => number | undefined>;
949
+
950
+ /**
951
+ * The Latest versions that we know various locations support.
952
+ *
953
+ * @param {[number, XcmVersionedLocation]} arg
954
+ * @param {Callback<number | undefined> =} callback
955
+ **/
956
+ supportedVersion: GenericStorageQuery<
957
+ Rv,
958
+ (arg: [number, XcmVersionedLocation]) => number | undefined,
959
+ [number, XcmVersionedLocation]
960
+ >;
961
+
962
+ /**
963
+ * All locations that we have requested version notifications from.
964
+ *
965
+ * @param {[number, XcmVersionedLocation]} arg
966
+ * @param {Callback<bigint | undefined> =} callback
967
+ **/
968
+ versionNotifiers: GenericStorageQuery<
969
+ Rv,
970
+ (arg: [number, XcmVersionedLocation]) => bigint | undefined,
971
+ [number, XcmVersionedLocation]
972
+ >;
973
+
974
+ /**
975
+ * The target locations that are subscribed to our version changes, as well as the most recent
976
+ * of our versions we informed them of.
977
+ *
978
+ * @param {[number, XcmVersionedLocation]} arg
979
+ * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
980
+ **/
981
+ versionNotifyTargets: GenericStorageQuery<
982
+ Rv,
983
+ (arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
984
+ [number, XcmVersionedLocation]
985
+ >;
986
+
987
+ /**
988
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
989
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
990
+ * which is used as a prioritization.
991
+ *
992
+ * @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
993
+ **/
994
+ versionDiscoveryQueue: GenericStorageQuery<Rv, () => Array<[XcmVersionedLocation, number]>>;
995
+
996
+ /**
997
+ * The current migration's stage, if any.
998
+ *
999
+ * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
1000
+ **/
1001
+ currentMigration: GenericStorageQuery<Rv, () => PalletXcmVersionMigrationStage | undefined>;
1002
+
1003
+ /**
1004
+ * Fungible assets which we know are locked on a remote chain.
1005
+ *
1006
+ * @param {[number, AccountId32Like, XcmVersionedAssetId]} arg
1007
+ * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
1008
+ **/
1009
+ remoteLockedFungibles: GenericStorageQuery<
1010
+ Rv,
1011
+ (arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
1012
+ [number, AccountId32, XcmVersionedAssetId]
1013
+ >;
1014
+
1015
+ /**
1016
+ * Fungible assets which we know are locked on this chain.
1017
+ *
1018
+ * @param {AccountId32Like} arg
1019
+ * @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
1020
+ **/
1021
+ lockedFungibles: GenericStorageQuery<
1022
+ Rv,
1023
+ (arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
1024
+ AccountId32
1025
+ >;
1026
+
1027
+ /**
1028
+ * Global suspension state of the XCM executor.
1029
+ *
1030
+ * @param {Callback<boolean> =} callback
1031
+ **/
1032
+ xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
1033
+
1034
+ /**
1035
+ * Generic pallet storage query
1036
+ **/
1037
+ [storage: string]: GenericStorageQuery<Rv>;
1038
+ };
1039
+ /**
1040
+ * Pallet `DmpQueue`'s storage queries
1041
+ **/
1042
+ dmpQueue: {
1043
+ /**
1044
+ * The migration state of this pallet.
1045
+ *
1046
+ * @param {Callback<CumulusPalletDmpQueueMigrationState> =} callback
1047
+ **/
1048
+ migrationStatus: GenericStorageQuery<Rv, () => CumulusPalletDmpQueueMigrationState>;
1049
+
1050
+ /**
1051
+ * Generic pallet storage query
1052
+ **/
1053
+ [storage: string]: GenericStorageQuery<Rv>;
1054
+ };
1055
+ /**
1056
+ * Pallet `ToKusamaXcmRouter`'s storage queries
1057
+ **/
1058
+ toKusamaXcmRouter: {
1059
+ /**
1060
+ * Bridge that we are using.
1061
+ *
1062
+ * **bridges-v1** assumptions: all outbound messages through this router are using single lane
1063
+ * and to single remote consensus. If there is some other remote consensus that uses the same
1064
+ * bridge hub, the separate pallet instance shall be used, In `v2` we'll have all required
1065
+ * primitives (lane-id aka bridge-id, derived from XCM locations) to support multiple bridges
1066
+ * by the same pallet instance.
1067
+ *
1068
+ * @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
1069
+ **/
1070
+ bridge: GenericStorageQuery<Rv, () => BpXcmBridgeHubRouterBridgeState>;
1071
+
1072
+ /**
1073
+ * Generic pallet storage query
1074
+ **/
1075
+ [storage: string]: GenericStorageQuery<Rv>;
1076
+ };
1077
+ /**
1078
+ * Pallet `MessageQueue`'s storage queries
1079
+ **/
1080
+ messageQueue: {
1081
+ /**
1082
+ * The index of the first and last (non-empty) pages.
1083
+ *
1084
+ * @param {CumulusPrimitivesCoreAggregateMessageOrigin} arg
1085
+ * @param {Callback<PalletMessageQueueBookState> =} callback
1086
+ **/
1087
+ bookStateFor: GenericStorageQuery<
1088
+ Rv,
1089
+ (arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
1090
+ CumulusPrimitivesCoreAggregateMessageOrigin
1091
+ >;
1092
+
1093
+ /**
1094
+ * The origin at which we should begin servicing.
1095
+ *
1096
+ * @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
1097
+ **/
1098
+ serviceHead: GenericStorageQuery<Rv, () => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
1099
+
1100
+ /**
1101
+ * The map of page indices to pages.
1102
+ *
1103
+ * @param {[CumulusPrimitivesCoreAggregateMessageOrigin, number]} arg
1104
+ * @param {Callback<PalletMessageQueuePage | undefined> =} callback
1105
+ **/
1106
+ pages: GenericStorageQuery<
1107
+ Rv,
1108
+ (arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
1109
+ [CumulusPrimitivesCoreAggregateMessageOrigin, number]
1110
+ >;
1111
+
1112
+ /**
1113
+ * Generic pallet storage query
1114
+ **/
1115
+ [storage: string]: GenericStorageQuery<Rv>;
1116
+ };
1117
+ /**
1118
+ * Pallet `Multisig`'s storage queries
1119
+ **/
1120
+ multisig: {
1121
+ /**
1122
+ * The set of open multisig operations.
1123
+ *
1124
+ * @param {[AccountId32Like, FixedBytes<32>]} arg
1125
+ * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1126
+ **/
1127
+ multisigs: GenericStorageQuery<
1128
+ Rv,
1129
+ (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
1130
+ [AccountId32, FixedBytes<32>]
1131
+ >;
1132
+
1133
+ /**
1134
+ * Generic pallet storage query
1135
+ **/
1136
+ [storage: string]: GenericStorageQuery<Rv>;
1137
+ };
1138
+ /**
1139
+ * Pallet `Proxy`'s storage queries
1140
+ **/
1141
+ proxy: {
1142
+ /**
1143
+ * The set of account proxies. Maps the account which has delegated to the accounts
1144
+ * which are being delegated to, together with the amount held on deposit.
1145
+ *
1146
+ * @param {AccountId32Like} arg
1147
+ * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1148
+ **/
1149
+ proxies: GenericStorageQuery<
1150
+ Rv,
1151
+ (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
1152
+ AccountId32
1153
+ >;
1154
+
1155
+ /**
1156
+ * The announcements made by the proxy (key).
1157
+ *
1158
+ * @param {AccountId32Like} arg
1159
+ * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1160
+ **/
1161
+ announcements: GenericStorageQuery<
1162
+ Rv,
1163
+ (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
1164
+ AccountId32
1165
+ >;
1166
+
1167
+ /**
1168
+ * Generic pallet storage query
1169
+ **/
1170
+ [storage: string]: GenericStorageQuery<Rv>;
1171
+ };
1172
+ /**
1173
+ * Pallet `Assets`'s storage queries
1174
+ **/
1175
+ assets: {
1176
+ /**
1177
+ * Details of an asset.
1178
+ *
1179
+ * @param {number} arg
1180
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1181
+ **/
1182
+ asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
1183
+
1184
+ /**
1185
+ * The holdings of a specific account for a specific asset.
1186
+ *
1187
+ * @param {[number, AccountId32Like]} arg
1188
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1189
+ **/
1190
+ account: GenericStorageQuery<
1191
+ Rv,
1192
+ (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1193
+ [number, AccountId32]
1194
+ >;
1195
+
1196
+ /**
1197
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1198
+ * is the amount of `T::Currency` reserved for storing this.
1199
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1200
+ *
1201
+ * @param {[number, AccountId32Like, AccountId32Like]} arg
1202
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
1203
+ **/
1204
+ approvals: GenericStorageQuery<
1205
+ Rv,
1206
+ (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1207
+ [number, AccountId32, AccountId32]
1208
+ >;
1209
+
1210
+ /**
1211
+ * Metadata of an asset.
1212
+ *
1213
+ * @param {number} arg
1214
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
1215
+ **/
1216
+ metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
1217
+
1218
+ /**
1219
+ * Generic pallet storage query
1220
+ **/
1221
+ [storage: string]: GenericStorageQuery<Rv>;
1222
+ };
1223
+ /**
1224
+ * Pallet `Uniques`'s storage queries
1225
+ **/
1226
+ uniques: {
1227
+ /**
1228
+ * Details of a collection.
1229
+ *
1230
+ * @param {number} arg
1231
+ * @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
1232
+ **/
1233
+ class: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionDetails | undefined, number>;
1234
+
1235
+ /**
1236
+ * The collection, if any, of which an account is willing to take ownership.
1237
+ *
1238
+ * @param {AccountId32Like} arg
1239
+ * @param {Callback<number | undefined> =} callback
1240
+ **/
1241
+ ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
1242
+
1243
+ /**
1244
+ * The items held by any given account; set out this way so that items owned by a single
1245
+ * account can be enumerated.
1246
+ *
1247
+ * @param {[AccountId32Like, number, number]} arg
1248
+ * @param {Callback<[] | undefined> =} callback
1249
+ **/
1250
+ account: GenericStorageQuery<
1251
+ Rv,
1252
+ (arg: [AccountId32Like, number, number]) => [] | undefined,
1253
+ [AccountId32, number, number]
1254
+ >;
1255
+
1256
+ /**
1257
+ * The collections owned by any given account; set out this way so that collections owned by
1258
+ * a single account can be enumerated.
1259
+ *
1260
+ * @param {[AccountId32Like, number]} arg
1261
+ * @param {Callback<[] | undefined> =} callback
1262
+ **/
1263
+ classAccount: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
1264
+
1265
+ /**
1266
+ * The items in existence and their ownership details.
1267
+ *
1268
+ * @param {[number, number]} arg
1269
+ * @param {Callback<PalletUniquesItemDetails | undefined> =} callback
1270
+ **/
1271
+ asset: GenericStorageQuery<Rv, (arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
1272
+
1273
+ /**
1274
+ * Metadata of a collection.
1275
+ *
1276
+ * @param {number} arg
1277
+ * @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
1278
+ **/
1279
+ classMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
1280
+
1281
+ /**
1282
+ * Metadata of an item.
1283
+ *
1284
+ * @param {[number, number]} arg
1285
+ * @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
1286
+ **/
1287
+ instanceMetadataOf: GenericStorageQuery<
1288
+ Rv,
1289
+ (arg: [number, number]) => PalletUniquesItemMetadata | undefined,
1290
+ [number, number]
1291
+ >;
1292
+
1293
+ /**
1294
+ * Attributes of a collection.
1295
+ *
1296
+ * @param {[number, number | undefined, BytesLike]} arg
1297
+ * @param {Callback<[Bytes, bigint] | undefined> =} callback
1298
+ **/
1299
+ attribute: GenericStorageQuery<
1300
+ Rv,
1301
+ (arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
1302
+ [number, number | undefined, Bytes]
1303
+ >;
1304
+
1305
+ /**
1306
+ * Price of an asset instance.
1307
+ *
1308
+ * @param {[number, number]} arg
1309
+ * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1310
+ **/
1311
+ itemPriceOf: GenericStorageQuery<
1312
+ Rv,
1313
+ (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
1314
+ [number, number]
1315
+ >;
1316
+
1317
+ /**
1318
+ * Keeps track of the number of items a collection might have.
1319
+ *
1320
+ * @param {number} arg
1321
+ * @param {Callback<number | undefined> =} callback
1322
+ **/
1323
+ collectionMaxSupply: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
1324
+
1325
+ /**
1326
+ * Generic pallet storage query
1327
+ **/
1328
+ [storage: string]: GenericStorageQuery<Rv>;
1329
+ };
1330
+ /**
1331
+ * Pallet `Nfts`'s storage queries
1332
+ **/
1333
+ nfts: {
1334
+ /**
1335
+ * Details of a collection.
1336
+ *
1337
+ * @param {number} arg
1338
+ * @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
1339
+ **/
1340
+ collection: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionDetails | undefined, number>;
1341
+
1342
+ /**
1343
+ * The collection, if any, of which an account is willing to take ownership.
1344
+ *
1345
+ * @param {AccountId32Like} arg
1346
+ * @param {Callback<number | undefined> =} callback
1347
+ **/
1348
+ ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
1349
+
1350
+ /**
1351
+ * The items held by any given account; set out this way so that items owned by a single
1352
+ * account can be enumerated.
1353
+ *
1354
+ * @param {[AccountId32Like, number, number]} arg
1355
+ * @param {Callback<[] | undefined> =} callback
1356
+ **/
1357
+ account: GenericStorageQuery<
1358
+ Rv,
1359
+ (arg: [AccountId32Like, number, number]) => [] | undefined,
1360
+ [AccountId32, number, number]
1361
+ >;
1362
+
1363
+ /**
1364
+ * The collections owned by any given account; set out this way so that collections owned by
1365
+ * a single account can be enumerated.
1366
+ *
1367
+ * @param {[AccountId32Like, number]} arg
1368
+ * @param {Callback<[] | undefined> =} callback
1369
+ **/
1370
+ collectionAccount: GenericStorageQuery<
1371
+ Rv,
1372
+ (arg: [AccountId32Like, number]) => [] | undefined,
1373
+ [AccountId32, number]
1374
+ >;
1375
+
1376
+ /**
1377
+ * The items in existence and their ownership details.
1378
+ * Stores collection roles as per account.
1379
+ *
1380
+ * @param {[number, AccountId32Like]} arg
1381
+ * @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
1382
+ **/
1383
+ collectionRoleOf: GenericStorageQuery<
1384
+ Rv,
1385
+ (arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
1386
+ [number, AccountId32]
1387
+ >;
1388
+
1389
+ /**
1390
+ * The items in existence and their ownership details.
1391
+ *
1392
+ * @param {[number, number]} arg
1393
+ * @param {Callback<PalletNftsItemDetails | undefined> =} callback
1394
+ **/
1395
+ item: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
1396
+
1397
+ /**
1398
+ * Metadata of a collection.
1399
+ *
1400
+ * @param {number} arg
1401
+ * @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
1402
+ **/
1403
+ collectionMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionMetadata | undefined, number>;
1404
+
1405
+ /**
1406
+ * Metadata of an item.
1407
+ *
1408
+ * @param {[number, number]} arg
1409
+ * @param {Callback<PalletNftsItemMetadata | undefined> =} callback
1410
+ **/
1411
+ itemMetadataOf: GenericStorageQuery<
1412
+ Rv,
1413
+ (arg: [number, number]) => PalletNftsItemMetadata | undefined,
1414
+ [number, number]
1415
+ >;
1416
+
1417
+ /**
1418
+ * Attributes of a collection.
1419
+ *
1420
+ * @param {[number, number | undefined, PalletNftsAttributeNamespace, BytesLike]} arg
1421
+ * @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
1422
+ **/
1423
+ attribute: GenericStorageQuery<
1424
+ Rv,
1425
+ (
1426
+ arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
1427
+ ) => [Bytes, PalletNftsAttributeDeposit] | undefined,
1428
+ [number, number | undefined, PalletNftsAttributeNamespace, Bytes]
1429
+ >;
1430
+
1431
+ /**
1432
+ * A price of an item.
1433
+ *
1434
+ * @param {[number, number]} arg
1435
+ * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1436
+ **/
1437
+ itemPriceOf: GenericStorageQuery<
1438
+ Rv,
1439
+ (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
1440
+ [number, number]
1441
+ >;
1442
+
1443
+ /**
1444
+ * Item attribute approvals.
1445
+ *
1446
+ * @param {[number, number]} arg
1447
+ * @param {Callback<Array<AccountId32>> =} callback
1448
+ **/
1449
+ itemAttributesApprovalsOf: GenericStorageQuery<Rv, (arg: [number, number]) => Array<AccountId32>, [number, number]>;
1450
+
1451
+ /**
1452
+ * Stores the `CollectionId` that is going to be used for the next collection.
1453
+ * This gets incremented whenever a new collection is created.
1454
+ *
1455
+ * @param {Callback<number | undefined> =} callback
1456
+ **/
1457
+ nextCollectionId: GenericStorageQuery<Rv, () => number | undefined>;
1458
+
1459
+ /**
1460
+ * Handles all the pending swaps.
1461
+ *
1462
+ * @param {[number, number]} arg
1463
+ * @param {Callback<PalletNftsPendingSwap | undefined> =} callback
1464
+ **/
1465
+ pendingSwapOf: GenericStorageQuery<
1466
+ Rv,
1467
+ (arg: [number, number]) => PalletNftsPendingSwap | undefined,
1468
+ [number, number]
1469
+ >;
1470
+
1471
+ /**
1472
+ * Config of a collection.
1473
+ *
1474
+ * @param {number} arg
1475
+ * @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
1476
+ **/
1477
+ collectionConfigOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionConfig | undefined, number>;
1478
+
1479
+ /**
1480
+ * Config of an item.
1481
+ *
1482
+ * @param {[number, number]} arg
1483
+ * @param {Callback<PalletNftsItemConfig | undefined> =} callback
1484
+ **/
1485
+ itemConfigOf: GenericStorageQuery<
1486
+ Rv,
1487
+ (arg: [number, number]) => PalletNftsItemConfig | undefined,
1488
+ [number, number]
1489
+ >;
1490
+
1491
+ /**
1492
+ * Generic pallet storage query
1493
+ **/
1494
+ [storage: string]: GenericStorageQuery<Rv>;
1495
+ };
1496
+ /**
1497
+ * Pallet `ForeignAssets`'s storage queries
1498
+ **/
1499
+ foreignAssets: {
1500
+ /**
1501
+ * Details of an asset.
1502
+ *
1503
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
1504
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1505
+ **/
1506
+ asset: GenericStorageQuery<
1507
+ Rv,
1508
+ (arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetDetails | undefined,
1509
+ StagingXcmV3MultilocationMultiLocation
1510
+ >;
1511
+
1512
+ /**
1513
+ * The holdings of a specific account for a specific asset.
1514
+ *
1515
+ * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like]} arg
1516
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1517
+ **/
1518
+ account: GenericStorageQuery<
1519
+ Rv,
1520
+ (arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1521
+ [StagingXcmV3MultilocationMultiLocation, AccountId32]
1522
+ >;
1523
+
1524
+ /**
1525
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1526
+ * is the amount of `T::Currency` reserved for storing this.
1527
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1528
+ *
1529
+ * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like]} arg
1530
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
1531
+ **/
1532
+ approvals: GenericStorageQuery<
1533
+ Rv,
1534
+ (
1535
+ arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like],
1536
+ ) => PalletAssetsApproval | undefined,
1537
+ [StagingXcmV3MultilocationMultiLocation, AccountId32, AccountId32]
1538
+ >;
1539
+
1540
+ /**
1541
+ * Metadata of an asset.
1542
+ *
1543
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
1544
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
1545
+ **/
1546
+ metadata: GenericStorageQuery<
1547
+ Rv,
1548
+ (arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetMetadata,
1549
+ StagingXcmV3MultilocationMultiLocation
1550
+ >;
1551
+
1552
+ /**
1553
+ * Generic pallet storage query
1554
+ **/
1555
+ [storage: string]: GenericStorageQuery<Rv>;
1556
+ };
1557
+ /**
1558
+ * Pallet `PoolAssets`'s storage queries
1559
+ **/
1560
+ poolAssets: {
1561
+ /**
1562
+ * Details of an asset.
1563
+ *
1564
+ * @param {number} arg
1565
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1566
+ **/
1567
+ asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
1568
+
1569
+ /**
1570
+ * The holdings of a specific account for a specific asset.
1571
+ *
1572
+ * @param {[number, AccountId32Like]} arg
1573
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1574
+ **/
1575
+ account: GenericStorageQuery<
1576
+ Rv,
1577
+ (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1578
+ [number, AccountId32]
1579
+ >;
1580
+
1581
+ /**
1582
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1583
+ * is the amount of `T::Currency` reserved for storing this.
1584
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1585
+ *
1586
+ * @param {[number, AccountId32Like, AccountId32Like]} arg
1587
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
1588
+ **/
1589
+ approvals: GenericStorageQuery<
1590
+ Rv,
1591
+ (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1592
+ [number, AccountId32, AccountId32]
1593
+ >;
1594
+
1595
+ /**
1596
+ * Metadata of an asset.
1597
+ *
1598
+ * @param {number} arg
1599
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
1600
+ **/
1601
+ metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
1602
+
1603
+ /**
1604
+ * Generic pallet storage query
1605
+ **/
1606
+ [storage: string]: GenericStorageQuery<Rv>;
1607
+ };
1608
+ /**
1609
+ * Pallet `AssetConversion`'s storage queries
1610
+ **/
1611
+ assetConversion: {
1612
+ /**
1613
+ * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
1614
+ * created rather than people sending tokens directly to a pool's public account.
1615
+ *
1616
+ * @param {[StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]} arg
1617
+ * @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
1618
+ **/
1619
+ pools: GenericStorageQuery<
1620
+ Rv,
1621
+ (
1622
+ arg: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation],
1623
+ ) => PalletAssetConversionPoolInfo | undefined,
1624
+ [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]
1625
+ >;
1626
+
1627
+ /**
1628
+ * Stores the `PoolAssetId` that is going to be used for the next lp token.
1629
+ * This gets incremented whenever a new lp pool is created.
1630
+ *
1631
+ * @param {Callback<number | undefined> =} callback
1632
+ **/
1633
+ nextPoolAssetId: GenericStorageQuery<Rv, () => number | undefined>;
1634
+
1635
+ /**
1636
+ * Generic pallet storage query
1637
+ **/
1638
+ [storage: string]: GenericStorageQuery<Rv>;
1639
+ };
1640
+ }