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