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