@dedot/chaintypes 0.0.1-alpha.22

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