@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,1301 @@
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, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, PolkadotPrimitivesV6PersistedValidationData, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6UpgradeGoAhead, SpTrieStorageProof, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, PolkadotPrimitivesV6AbridgedHostConfiguration, CumulusPrimitivesParachainInherentMessageQueueChain, PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesOutboundHrmpMessage, SpWeightsWeightV2Weight, CumulusPalletParachainSystemCodeUpgradeAuthorization, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBalancesIdAmount, PalletBalancesIdAmount002, PalletTransactionPaymentReleases, PalletCollatorSelectionCandidateInfo, AssetHubKusamaRuntimeSessionKeys, SpCoreCryptoKeyTypeId, SpConsensusAuraSr25519AppSr25519Public, SpConsensusSlotsSlot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, PalletXcmQueryStatus, XcmVersionedMultiLocation, PalletXcmVersionMigrationStage, PalletXcmRemoteLockedFungibleRecord, XcmVersionedAssetId, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, BpXcmBridgeHubRouterBridgeState, PalletMultisigMultisig, PalletProxyProxyDefinition, PalletProxyAnnouncement, 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
+ * Generic pallet storage query
127
+ **/
128
+ [storage: string]: GenericStorageQuery;
129
+ };
130
+ /**
131
+ * Pallet `ParachainSystem`'s storage queries
132
+ **/
133
+ parachainSystem: {
134
+ /**
135
+ * Latest included block descendants the runtime accepted. In other words, these are
136
+ * ancestors of the currently executing block which have not been included in the observed
137
+ * relay-chain state.
138
+ *
139
+ * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
140
+ * in the pallet.
141
+ *
142
+ * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
143
+ **/
144
+ unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
145
+ /**
146
+ * Storage field that keeps track of bandwidth used by the unincluded segment along with the
147
+ * latest HRMP watermark. Used for limiting the acceptance of new blocks with
148
+ * respect to relay chain constraints.
149
+ *
150
+ * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
151
+ **/
152
+ aggregatedUnincludedSegment: GenericStorageQuery<() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined>;
153
+ /**
154
+ * In case of a scheduled upgrade, this storage field contains the validation code to be
155
+ * applied.
156
+ *
157
+ * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
158
+ * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
159
+ * with the new validation code. This concludes the upgrade process.
160
+ *
161
+ * @param {Callback<Bytes> =} callback
162
+ **/
163
+ pendingValidationCode: GenericStorageQuery<() => Bytes>;
164
+ /**
165
+ * Validation code that is set by the parachain and is to be communicated to collator and
166
+ * consequently the relay-chain.
167
+ *
168
+ * This will be cleared in `on_initialize` of each new block if no other pallet already set
169
+ * the value.
170
+ *
171
+ * @param {Callback<Bytes | undefined> =} callback
172
+ **/
173
+ newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
174
+ /**
175
+ * The [`PersistedValidationData`] set for this block.
176
+ * This value is expected to be set only once per block and it's never stored
177
+ * in the trie.
178
+ *
179
+ * @param {Callback<PolkadotPrimitivesV6PersistedValidationData | undefined> =} callback
180
+ **/
181
+ validationData: GenericStorageQuery<() => PolkadotPrimitivesV6PersistedValidationData | undefined>;
182
+ /**
183
+ * Were the validation data set to notify the relay chain?
184
+ *
185
+ * @param {Callback<boolean> =} callback
186
+ **/
187
+ didSetValidationCode: GenericStorageQuery<() => boolean>;
188
+ /**
189
+ * The relay chain block number associated with the last parachain block.
190
+ *
191
+ * This is updated in `on_finalize`.
192
+ *
193
+ * @param {Callback<number> =} callback
194
+ **/
195
+ lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
196
+ /**
197
+ * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
198
+ * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
199
+ * candidate will be invalid.
200
+ *
201
+ * This storage item is a mirror of the corresponding value for the current parachain from the
202
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
203
+ * set after the inherent.
204
+ *
205
+ * @param {Callback<PolkadotPrimitivesV6UpgradeRestriction | undefined> =} callback
206
+ **/
207
+ upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeRestriction | undefined>;
208
+ /**
209
+ * Optional upgrade go-ahead signal from the relay-chain.
210
+ *
211
+ * This storage item is a mirror of the corresponding value for the current parachain from the
212
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
213
+ * set after the inherent.
214
+ *
215
+ * @param {Callback<PolkadotPrimitivesV6UpgradeGoAhead | undefined> =} callback
216
+ **/
217
+ upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeGoAhead | undefined>;
218
+ /**
219
+ * The state proof for the last relay parent block.
220
+ *
221
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
222
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
223
+ *
224
+ * This data is also absent from the genesis.
225
+ *
226
+ * @param {Callback<SpTrieStorageProof | undefined> =} callback
227
+ **/
228
+ relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
229
+ /**
230
+ * The snapshot of some state related to messaging relevant to the current parachain as per
231
+ * the relay parent.
232
+ *
233
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
234
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
235
+ *
236
+ * This data is also absent from the genesis.
237
+ *
238
+ * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
239
+ **/
240
+ relevantMessagingState: GenericStorageQuery<() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined>;
241
+ /**
242
+ * The parachain host configuration that was obtained from the relay parent.
243
+ *
244
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
245
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
246
+ *
247
+ * This data is also absent from the genesis.
248
+ *
249
+ * @param {Callback<PolkadotPrimitivesV6AbridgedHostConfiguration | undefined> =} callback
250
+ **/
251
+ hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV6AbridgedHostConfiguration | undefined>;
252
+ /**
253
+ * The last downward message queue chain head we have observed.
254
+ *
255
+ * This value is loaded before and saved after processing inbound downward messages carried
256
+ * by the system inherent.
257
+ *
258
+ * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
259
+ **/
260
+ lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
261
+ /**
262
+ * The message queue chain heads we have observed per each channel incoming channel.
263
+ *
264
+ * This value is loaded before and saved after processing inbound downward messages carried
265
+ * by the system inherent.
266
+ *
267
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
268
+ **/
269
+ lastHrmpMqcHeads: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>>;
270
+ /**
271
+ * Number of downward messages processed in a block.
272
+ *
273
+ * This will be cleared in `on_initialize` of each new block.
274
+ *
275
+ * @param {Callback<number> =} callback
276
+ **/
277
+ processedDownwardMessages: GenericStorageQuery<() => number>;
278
+ /**
279
+ * HRMP watermark that was set in a block.
280
+ *
281
+ * This will be cleared in `on_initialize` of each new block.
282
+ *
283
+ * @param {Callback<number> =} callback
284
+ **/
285
+ hrmpWatermark: GenericStorageQuery<() => number>;
286
+ /**
287
+ * HRMP messages that were sent in a block.
288
+ *
289
+ * This will be cleared in `on_initialize` of each new block.
290
+ *
291
+ * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
292
+ **/
293
+ hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
294
+ /**
295
+ * Upward messages that were sent in a block.
296
+ *
297
+ * This will be cleared in `on_initialize` of each new block.
298
+ *
299
+ * @param {Callback<Array<Bytes>> =} callback
300
+ **/
301
+ upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
302
+ /**
303
+ * Upward messages that are still pending and not yet send to the relay chain.
304
+ *
305
+ * @param {Callback<Array<Bytes>> =} callback
306
+ **/
307
+ pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
308
+ /**
309
+ * The factor to multiply the base delivery fee by for UMP.
310
+ *
311
+ * @param {Callback<FixedU128> =} callback
312
+ **/
313
+ upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
314
+ /**
315
+ * The number of HRMP messages we observed in `on_initialize` and thus used that number for
316
+ * announcing the weight of `on_initialize` and `on_finalize`.
317
+ *
318
+ * @param {Callback<number> =} callback
319
+ **/
320
+ announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
321
+ /**
322
+ * The weight we reserve at the beginning of the block for processing XCMP messages. This
323
+ * overrides the amount set in the Config trait.
324
+ *
325
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
326
+ **/
327
+ reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
328
+ /**
329
+ * The weight we reserve at the beginning of the block for processing DMP messages. This
330
+ * overrides the amount set in the Config trait.
331
+ *
332
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
333
+ **/
334
+ reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
335
+ /**
336
+ * The next authorized upgrade, if there is one.
337
+ *
338
+ * @param {Callback<CumulusPalletParachainSystemCodeUpgradeAuthorization | undefined> =} callback
339
+ **/
340
+ authorizedUpgrade: GenericStorageQuery<() => CumulusPalletParachainSystemCodeUpgradeAuthorization | 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
+ * @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
521
+ **/
522
+ candidates: GenericStorageQuery<() => Array<PalletCollatorSelectionCandidateInfo>>;
523
+ /**
524
+ * Last block authored by collator.
525
+ *
526
+ * @param {AccountId32Like} arg
527
+ * @param {Callback<number> =} callback
528
+ **/
529
+ lastAuthoredBlock: GenericStorageQuery<(arg: AccountId32Like) => number>;
530
+ /**
531
+ * Desired number of candidates.
532
+ *
533
+ * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct.
534
+ *
535
+ * @param {Callback<number> =} callback
536
+ **/
537
+ desiredCandidates: GenericStorageQuery<() => number>;
538
+ /**
539
+ * Fixed amount to deposit to become a collator.
540
+ *
541
+ * When a collator calls `leave_intent` they immediately receive the deposit back.
542
+ *
543
+ * @param {Callback<bigint> =} callback
544
+ **/
545
+ candidacyBond: GenericStorageQuery<() => bigint>;
546
+ /**
547
+ * Generic pallet storage query
548
+ **/
549
+ [storage: string]: GenericStorageQuery;
550
+ };
551
+ /**
552
+ * Pallet `Session`'s storage queries
553
+ **/
554
+ session: {
555
+ /**
556
+ * The current set of validators.
557
+ *
558
+ * @param {Callback<Array<AccountId32>> =} callback
559
+ **/
560
+ validators: GenericStorageQuery<() => Array<AccountId32>>;
561
+ /**
562
+ * Current index of the session.
563
+ *
564
+ * @param {Callback<number> =} callback
565
+ **/
566
+ currentIndex: GenericStorageQuery<() => number>;
567
+ /**
568
+ * True if the underlying economic identities or weighting behind the validators
569
+ * has changed in the queued validator set.
570
+ *
571
+ * @param {Callback<boolean> =} callback
572
+ **/
573
+ queuedChanged: GenericStorageQuery<() => boolean>;
574
+ /**
575
+ * The queued keys for the next session. When the next session begins, these keys
576
+ * will be used to determine the validator's session keys.
577
+ *
578
+ * @param {Callback<Array<[AccountId32, AssetHubKusamaRuntimeSessionKeys]>> =} callback
579
+ **/
580
+ queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubKusamaRuntimeSessionKeys]>>;
581
+ /**
582
+ * Indices of disabled validators.
583
+ *
584
+ * The vec is always kept sorted so that we can find whether a given validator is
585
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
586
+ * a new set of identities.
587
+ *
588
+ * @param {Callback<Array<number>> =} callback
589
+ **/
590
+ disabledValidators: GenericStorageQuery<() => Array<number>>;
591
+ /**
592
+ * The next session keys for a validator.
593
+ *
594
+ * @param {AccountId32Like} arg
595
+ * @param {Callback<AssetHubKusamaRuntimeSessionKeys | undefined> =} callback
596
+ **/
597
+ nextKeys: GenericStorageQuery<(arg: AccountId32Like) => AssetHubKusamaRuntimeSessionKeys | undefined>;
598
+ /**
599
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
600
+ *
601
+ * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
602
+ * @param {Callback<AccountId32 | undefined> =} callback
603
+ **/
604
+ keyOwner: GenericStorageQuery<(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined>;
605
+ /**
606
+ * Generic pallet storage query
607
+ **/
608
+ [storage: string]: GenericStorageQuery;
609
+ };
610
+ /**
611
+ * Pallet `Aura`'s storage queries
612
+ **/
613
+ aura: {
614
+ /**
615
+ * The current authority set.
616
+ *
617
+ * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
618
+ **/
619
+ authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
620
+ /**
621
+ * The current slot of this block.
622
+ *
623
+ * This will be set in `on_initialize`.
624
+ *
625
+ * @param {Callback<SpConsensusSlotsSlot> =} callback
626
+ **/
627
+ currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
628
+ /**
629
+ * Generic pallet storage query
630
+ **/
631
+ [storage: string]: GenericStorageQuery;
632
+ };
633
+ /**
634
+ * Pallet `AuraExt`'s storage queries
635
+ **/
636
+ auraExt: {
637
+ /**
638
+ * Serves as cache for the authorities.
639
+ *
640
+ * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
641
+ * but we require the old authorities to verify the seal when validating a PoV. This will
642
+ * always be updated to the latest AuRa authorities in `on_finalize`.
643
+ *
644
+ * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
645
+ **/
646
+ authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
647
+ /**
648
+ * Current slot paired with a number of authored blocks.
649
+ *
650
+ * Updated on each block initialization.
651
+ *
652
+ * @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
653
+ **/
654
+ slotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
655
+ /**
656
+ * Generic pallet storage query
657
+ **/
658
+ [storage: string]: GenericStorageQuery;
659
+ };
660
+ /**
661
+ * Pallet `XcmpQueue`'s storage queries
662
+ **/
663
+ xcmpQueue: {
664
+ /**
665
+ * Status of the inbound XCMP channels.
666
+ *
667
+ * @param {Callback<Array<CumulusPalletXcmpQueueInboundChannelDetails>> =} callback
668
+ **/
669
+ inboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueInboundChannelDetails>>;
670
+ /**
671
+ * Inbound aggregate XCMP messages. It can only be one per ParaId/block.
672
+ *
673
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
674
+ * @param {Callback<Bytes> =} callback
675
+ **/
676
+ inboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
677
+ /**
678
+ * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
679
+ * and last outbound message. If the two indices are equal, then it indicates an empty
680
+ * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
681
+ * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
682
+ * case of the need to send a high-priority signal message this block.
683
+ * The bool is true if there is a signal message waiting to be sent.
684
+ *
685
+ * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
686
+ **/
687
+ outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
688
+ /**
689
+ * The messages outbound in a given XCMP channel.
690
+ *
691
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
692
+ * @param {Callback<Bytes> =} callback
693
+ **/
694
+ outboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
695
+ /**
696
+ * Any signal messages waiting to be sent.
697
+ *
698
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
699
+ * @param {Callback<Bytes> =} callback
700
+ **/
701
+ signalMessages: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes>;
702
+ /**
703
+ * The configuration which controls the dynamics of the outbound queue.
704
+ *
705
+ * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
706
+ **/
707
+ queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
708
+ /**
709
+ * The messages that exceeded max individual message weight budget.
710
+ *
711
+ * These message stay in this storage map until they are manually dispatched via
712
+ * `service_overweight`.
713
+ *
714
+ * @param {bigint} arg
715
+ * @param {Callback<[PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined> =} callback
716
+ **/
717
+ overweight: GenericStorageQuery<(arg: bigint) => [PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined>;
718
+ /**
719
+ * Counter for the related counted storage map
720
+ *
721
+ * @param {Callback<number> =} callback
722
+ **/
723
+ counterForOverweight: GenericStorageQuery<() => number>;
724
+ /**
725
+ * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next
726
+ * available free overweight index.
727
+ *
728
+ * @param {Callback<bigint> =} callback
729
+ **/
730
+ overweightCount: GenericStorageQuery<() => bigint>;
731
+ /**
732
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
733
+ *
734
+ * @param {Callback<boolean> =} callback
735
+ **/
736
+ queueSuspended: GenericStorageQuery<() => boolean>;
737
+ /**
738
+ * The factor to multiply the base delivery fee by.
739
+ *
740
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
741
+ * @param {Callback<FixedU128> =} callback
742
+ **/
743
+ deliveryFeeFactor: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128>;
744
+ /**
745
+ * Generic pallet storage query
746
+ **/
747
+ [storage: string]: GenericStorageQuery;
748
+ };
749
+ /**
750
+ * Pallet `PolkadotXcm`'s storage queries
751
+ **/
752
+ polkadotXcm: {
753
+ /**
754
+ * The latest available query index.
755
+ *
756
+ * @param {Callback<bigint> =} callback
757
+ **/
758
+ queryCounter: GenericStorageQuery<() => bigint>;
759
+ /**
760
+ * The ongoing queries.
761
+ *
762
+ * @param {bigint} arg
763
+ * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
764
+ **/
765
+ queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined>;
766
+ /**
767
+ * The existing asset traps.
768
+ *
769
+ * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
770
+ * times this pair has been trapped (usually just 1 if it exists at all).
771
+ *
772
+ * @param {H256} arg
773
+ * @param {Callback<number> =} callback
774
+ **/
775
+ assetTraps: GenericStorageQuery<(arg: H256) => number>;
776
+ /**
777
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
778
+ * then the destinations whose XCM version is unknown are considered unreachable.
779
+ *
780
+ * @param {Callback<number | undefined> =} callback
781
+ **/
782
+ safeXcmVersion: GenericStorageQuery<() => number | undefined>;
783
+ /**
784
+ * The Latest versions that we know various locations support.
785
+ *
786
+ * @param {[number, XcmVersionedMultiLocation]} arg
787
+ * @param {Callback<number | undefined> =} callback
788
+ **/
789
+ supportedVersion: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => number | undefined>;
790
+ /**
791
+ * All locations that we have requested version notifications from.
792
+ *
793
+ * @param {[number, XcmVersionedMultiLocation]} arg
794
+ * @param {Callback<bigint | undefined> =} callback
795
+ **/
796
+ versionNotifiers: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => bigint | undefined>;
797
+ /**
798
+ * The target locations that are subscribed to our version changes, as well as the most recent
799
+ * of our versions we informed them of.
800
+ *
801
+ * @param {[number, XcmVersionedMultiLocation]} arg
802
+ * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
803
+ **/
804
+ versionNotifyTargets: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined>;
805
+ /**
806
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
807
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
808
+ * which is used as a prioritization.
809
+ *
810
+ * @param {Callback<Array<[XcmVersionedMultiLocation, number]>> =} callback
811
+ **/
812
+ versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedMultiLocation, number]>>;
813
+ /**
814
+ * The current migration's stage, if any.
815
+ *
816
+ * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
817
+ **/
818
+ currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
819
+ /**
820
+ * Fungible assets which we know are locked on a remote chain.
821
+ *
822
+ * @param {[number, AccountId32Like, XcmVersionedAssetId]} arg
823
+ * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
824
+ **/
825
+ remoteLockedFungibles: GenericStorageQuery<(arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined>;
826
+ /**
827
+ * Fungible assets which we know are locked on this chain.
828
+ *
829
+ * @param {AccountId32Like} arg
830
+ * @param {Callback<Array<[bigint, XcmVersionedMultiLocation]> | undefined> =} callback
831
+ **/
832
+ lockedFungibles: GenericStorageQuery<(arg: AccountId32Like) => Array<[bigint, XcmVersionedMultiLocation]> | undefined>;
833
+ /**
834
+ * Global suspension state of the XCM executor.
835
+ *
836
+ * @param {Callback<boolean> =} callback
837
+ **/
838
+ xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
839
+ /**
840
+ * Generic pallet storage query
841
+ **/
842
+ [storage: string]: GenericStorageQuery;
843
+ };
844
+ /**
845
+ * Pallet `DmpQueue`'s storage queries
846
+ **/
847
+ dmpQueue: {
848
+ /**
849
+ * The configuration.
850
+ *
851
+ * @param {Callback<CumulusPalletDmpQueueConfigData> =} callback
852
+ **/
853
+ configuration: GenericStorageQuery<() => CumulusPalletDmpQueueConfigData>;
854
+ /**
855
+ * The page index.
856
+ *
857
+ * @param {Callback<CumulusPalletDmpQueuePageIndexData> =} callback
858
+ **/
859
+ pageIndex: GenericStorageQuery<() => CumulusPalletDmpQueuePageIndexData>;
860
+ /**
861
+ * The queue pages.
862
+ *
863
+ * @param {number} arg
864
+ * @param {Callback<Array<[number, Bytes]>> =} callback
865
+ **/
866
+ pages: GenericStorageQuery<(arg: number) => Array<[number, Bytes]>>;
867
+ /**
868
+ * The overweight messages.
869
+ *
870
+ * @param {bigint} arg
871
+ * @param {Callback<[number, Bytes] | undefined> =} callback
872
+ **/
873
+ overweight: GenericStorageQuery<(arg: bigint) => [number, Bytes] | undefined>;
874
+ /**
875
+ * Counter for the related counted storage map
876
+ *
877
+ * @param {Callback<number> =} callback
878
+ **/
879
+ counterForOverweight: GenericStorageQuery<() => number>;
880
+ /**
881
+ * Generic pallet storage query
882
+ **/
883
+ [storage: string]: GenericStorageQuery;
884
+ };
885
+ /**
886
+ * Pallet `ToPolkadotXcmRouter`'s storage queries
887
+ **/
888
+ toPolkadotXcmRouter: {
889
+ /**
890
+ * Bridge that we are using.
891
+ *
892
+ * **bridges-v1** assumptions: all outbound messages through this router are using single lane
893
+ * and to single remote consensus. If there is some other remote consensus that uses the same
894
+ * bridge hub, the separate pallet instance shall be used, In `v2` we'll have all required
895
+ * primitives (lane-id aka bridge-id, derived from XCM locations) to support multiple bridges
896
+ * by the same pallet instance.
897
+ *
898
+ * @param {Callback<BpXcmBridgeHubRouterBridgeState> =} callback
899
+ **/
900
+ bridge: GenericStorageQuery<() => BpXcmBridgeHubRouterBridgeState>;
901
+ /**
902
+ * Generic pallet storage query
903
+ **/
904
+ [storage: string]: GenericStorageQuery;
905
+ };
906
+ /**
907
+ * Pallet `Multisig`'s storage queries
908
+ **/
909
+ multisig: {
910
+ /**
911
+ * The set of open multisig operations.
912
+ *
913
+ * @param {[AccountId32Like, FixedBytes<32>]} arg
914
+ * @param {Callback<PalletMultisigMultisig | undefined> =} callback
915
+ **/
916
+ multisigs: GenericStorageQuery<(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined>;
917
+ /**
918
+ * Generic pallet storage query
919
+ **/
920
+ [storage: string]: GenericStorageQuery;
921
+ };
922
+ /**
923
+ * Pallet `Proxy`'s storage queries
924
+ **/
925
+ proxy: {
926
+ /**
927
+ * The set of account proxies. Maps the account which has delegated to the accounts
928
+ * which are being delegated to, together with the amount held on deposit.
929
+ *
930
+ * @param {AccountId32Like} arg
931
+ * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
932
+ **/
933
+ proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint]>;
934
+ /**
935
+ * The announcements made by the proxy (key).
936
+ *
937
+ * @param {AccountId32Like} arg
938
+ * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
939
+ **/
940
+ announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint]>;
941
+ /**
942
+ * Generic pallet storage query
943
+ **/
944
+ [storage: string]: GenericStorageQuery;
945
+ };
946
+ /**
947
+ * Pallet `Assets`'s storage queries
948
+ **/
949
+ assets: {
950
+ /**
951
+ * Details of an asset.
952
+ *
953
+ * @param {number} arg
954
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
955
+ **/
956
+ asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined>;
957
+ /**
958
+ * The holdings of a specific account for a specific asset.
959
+ *
960
+ * @param {[number, AccountId32Like]} arg
961
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
962
+ **/
963
+ account: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined>;
964
+ /**
965
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
966
+ * is the amount of `T::Currency` reserved for storing this.
967
+ * First key is the asset ID, second key is the owner and third key is the delegate.
968
+ *
969
+ * @param {[number, AccountId32Like, AccountId32Like]} arg
970
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
971
+ **/
972
+ approvals: GenericStorageQuery<(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined>;
973
+ /**
974
+ * Metadata of an asset.
975
+ *
976
+ * @param {number} arg
977
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
978
+ **/
979
+ metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata>;
980
+ /**
981
+ * Generic pallet storage query
982
+ **/
983
+ [storage: string]: GenericStorageQuery;
984
+ };
985
+ /**
986
+ * Pallet `Uniques`'s storage queries
987
+ **/
988
+ uniques: {
989
+ /**
990
+ * Details of a collection.
991
+ *
992
+ * @param {number} arg
993
+ * @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
994
+ **/
995
+ class: GenericStorageQuery<(arg: number) => PalletUniquesCollectionDetails | undefined>;
996
+ /**
997
+ * The collection, if any, of which an account is willing to take ownership.
998
+ *
999
+ * @param {AccountId32Like} arg
1000
+ * @param {Callback<number | undefined> =} callback
1001
+ **/
1002
+ ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined>;
1003
+ /**
1004
+ * The items held by any given account; set out this way so that items owned by a single
1005
+ * account can be enumerated.
1006
+ *
1007
+ * @param {[AccountId32Like, number, number]} arg
1008
+ * @param {Callback<[] | undefined> =} callback
1009
+ **/
1010
+ account: GenericStorageQuery<(arg: [AccountId32Like, number, number]) => [] | undefined>;
1011
+ /**
1012
+ * The collections owned by any given account; set out this way so that collections owned by
1013
+ * a single account can be enumerated.
1014
+ *
1015
+ * @param {[AccountId32Like, number]} arg
1016
+ * @param {Callback<[] | undefined> =} callback
1017
+ **/
1018
+ classAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined>;
1019
+ /**
1020
+ * The items in existence and their ownership details.
1021
+ *
1022
+ * @param {[number, number]} arg
1023
+ * @param {Callback<PalletUniquesItemDetails | undefined> =} callback
1024
+ **/
1025
+ asset: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemDetails | undefined>;
1026
+ /**
1027
+ * Metadata of a collection.
1028
+ *
1029
+ * @param {number} arg
1030
+ * @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
1031
+ **/
1032
+ classMetadataOf: GenericStorageQuery<(arg: number) => PalletUniquesCollectionMetadata | undefined>;
1033
+ /**
1034
+ * Metadata of an item.
1035
+ *
1036
+ * @param {[number, number]} arg
1037
+ * @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
1038
+ **/
1039
+ instanceMetadataOf: GenericStorageQuery<(arg: [number, number]) => PalletUniquesItemMetadata | undefined>;
1040
+ /**
1041
+ * Attributes of a collection.
1042
+ *
1043
+ * @param {[number, number | undefined, BytesLike]} arg
1044
+ * @param {Callback<[Bytes, bigint] | undefined> =} callback
1045
+ **/
1046
+ attribute: GenericStorageQuery<(arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined>;
1047
+ /**
1048
+ * Price of an asset instance.
1049
+ *
1050
+ * @param {[number, number]} arg
1051
+ * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1052
+ **/
1053
+ itemPriceOf: GenericStorageQuery<(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined>;
1054
+ /**
1055
+ * Keeps track of the number of items a collection might have.
1056
+ *
1057
+ * @param {number} arg
1058
+ * @param {Callback<number | undefined> =} callback
1059
+ **/
1060
+ collectionMaxSupply: GenericStorageQuery<(arg: number) => number | undefined>;
1061
+ /**
1062
+ * Generic pallet storage query
1063
+ **/
1064
+ [storage: string]: GenericStorageQuery;
1065
+ };
1066
+ /**
1067
+ * Pallet `Nfts`'s storage queries
1068
+ **/
1069
+ nfts: {
1070
+ /**
1071
+ * Details of a collection.
1072
+ *
1073
+ * @param {number} arg
1074
+ * @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
1075
+ **/
1076
+ collection: GenericStorageQuery<(arg: number) => PalletNftsCollectionDetails | undefined>;
1077
+ /**
1078
+ * The collection, if any, of which an account is willing to take ownership.
1079
+ *
1080
+ * @param {AccountId32Like} arg
1081
+ * @param {Callback<number | undefined> =} callback
1082
+ **/
1083
+ ownershipAcceptance: GenericStorageQuery<(arg: AccountId32Like) => number | undefined>;
1084
+ /**
1085
+ * The items held by any given account; set out this way so that items owned by a single
1086
+ * account can be enumerated.
1087
+ *
1088
+ * @param {[AccountId32Like, number, number]} arg
1089
+ * @param {Callback<[] | undefined> =} callback
1090
+ **/
1091
+ account: GenericStorageQuery<(arg: [AccountId32Like, number, number]) => [] | undefined>;
1092
+ /**
1093
+ * The collections owned by any given account; set out this way so that collections owned by
1094
+ * a single account can be enumerated.
1095
+ *
1096
+ * @param {[AccountId32Like, number]} arg
1097
+ * @param {Callback<[] | undefined> =} callback
1098
+ **/
1099
+ collectionAccount: GenericStorageQuery<(arg: [AccountId32Like, number]) => [] | undefined>;
1100
+ /**
1101
+ * The items in existence and their ownership details.
1102
+ * Stores collection roles as per account.
1103
+ *
1104
+ * @param {[number, AccountId32Like]} arg
1105
+ * @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
1106
+ **/
1107
+ collectionRoleOf: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined>;
1108
+ /**
1109
+ * The items in existence and their ownership details.
1110
+ *
1111
+ * @param {[number, number]} arg
1112
+ * @param {Callback<PalletNftsItemDetails | undefined> =} callback
1113
+ **/
1114
+ item: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemDetails | undefined>;
1115
+ /**
1116
+ * Metadata of a collection.
1117
+ *
1118
+ * @param {number} arg
1119
+ * @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
1120
+ **/
1121
+ collectionMetadataOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionMetadata | undefined>;
1122
+ /**
1123
+ * Metadata of an item.
1124
+ *
1125
+ * @param {[number, number]} arg
1126
+ * @param {Callback<PalletNftsItemMetadata | undefined> =} callback
1127
+ **/
1128
+ itemMetadataOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemMetadata | undefined>;
1129
+ /**
1130
+ * Attributes of a collection.
1131
+ *
1132
+ * @param {[number, number | undefined, PalletNftsAttributeNamespace, BytesLike]} arg
1133
+ * @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
1134
+ **/
1135
+ attribute: GenericStorageQuery<(arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike]) => [Bytes, PalletNftsAttributeDeposit] | undefined>;
1136
+ /**
1137
+ * A price of an item.
1138
+ *
1139
+ * @param {[number, number]} arg
1140
+ * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1141
+ **/
1142
+ itemPriceOf: GenericStorageQuery<(arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined>;
1143
+ /**
1144
+ * Item attribute approvals.
1145
+ *
1146
+ * @param {[number, number]} arg
1147
+ * @param {Callback<Array<AccountId32>> =} callback
1148
+ **/
1149
+ itemAttributesApprovalsOf: GenericStorageQuery<(arg: [number, number]) => Array<AccountId32>>;
1150
+ /**
1151
+ * Stores the `CollectionId` that is going to be used for the next collection.
1152
+ * This gets incremented whenever a new collection is created.
1153
+ *
1154
+ * @param {Callback<number | undefined> =} callback
1155
+ **/
1156
+ nextCollectionId: GenericStorageQuery<() => number | undefined>;
1157
+ /**
1158
+ * Handles all the pending swaps.
1159
+ *
1160
+ * @param {[number, number]} arg
1161
+ * @param {Callback<PalletNftsPendingSwap | undefined> =} callback
1162
+ **/
1163
+ pendingSwapOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsPendingSwap | undefined>;
1164
+ /**
1165
+ * Config of a collection.
1166
+ *
1167
+ * @param {number} arg
1168
+ * @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
1169
+ **/
1170
+ collectionConfigOf: GenericStorageQuery<(arg: number) => PalletNftsCollectionConfig | undefined>;
1171
+ /**
1172
+ * Config of an item.
1173
+ *
1174
+ * @param {[number, number]} arg
1175
+ * @param {Callback<PalletNftsItemConfig | undefined> =} callback
1176
+ **/
1177
+ itemConfigOf: GenericStorageQuery<(arg: [number, number]) => PalletNftsItemConfig | undefined>;
1178
+ /**
1179
+ * Generic pallet storage query
1180
+ **/
1181
+ [storage: string]: GenericStorageQuery;
1182
+ };
1183
+ /**
1184
+ * Pallet `ForeignAssets`'s storage queries
1185
+ **/
1186
+ foreignAssets: {
1187
+ /**
1188
+ * Details of an asset.
1189
+ *
1190
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
1191
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1192
+ **/
1193
+ asset: GenericStorageQuery<(arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetDetails | undefined>;
1194
+ /**
1195
+ * The holdings of a specific account for a specific asset.
1196
+ *
1197
+ * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like]} arg
1198
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1199
+ **/
1200
+ account: GenericStorageQuery<(arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like]) => PalletAssetsAssetAccount | undefined>;
1201
+ /**
1202
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1203
+ * is the amount of `T::Currency` reserved for storing this.
1204
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1205
+ *
1206
+ * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like]} arg
1207
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
1208
+ **/
1209
+ approvals: GenericStorageQuery<(arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined>;
1210
+ /**
1211
+ * Metadata of an asset.
1212
+ *
1213
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
1214
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
1215
+ **/
1216
+ metadata: GenericStorageQuery<(arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetMetadata>;
1217
+ /**
1218
+ * Generic pallet storage query
1219
+ **/
1220
+ [storage: string]: GenericStorageQuery;
1221
+ };
1222
+ /**
1223
+ * Pallet `NftFractionalization`'s storage queries
1224
+ **/
1225
+ nftFractionalization: {
1226
+ /**
1227
+ * Keeps track of the corresponding NFT ID, asset ID and amount minted.
1228
+ *
1229
+ * @param {[number, number]} arg
1230
+ * @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
1231
+ **/
1232
+ nftToAsset: GenericStorageQuery<(arg: [number, number]) => PalletNftFractionalizationDetails | undefined>;
1233
+ /**
1234
+ * Generic pallet storage query
1235
+ **/
1236
+ [storage: string]: GenericStorageQuery;
1237
+ };
1238
+ /**
1239
+ * Pallet `PoolAssets`'s storage queries
1240
+ **/
1241
+ poolAssets: {
1242
+ /**
1243
+ * Details of an asset.
1244
+ *
1245
+ * @param {number} arg
1246
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1247
+ **/
1248
+ asset: GenericStorageQuery<(arg: number) => PalletAssetsAssetDetails | undefined>;
1249
+ /**
1250
+ * The holdings of a specific account for a specific asset.
1251
+ *
1252
+ * @param {[number, AccountId32Like]} arg
1253
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1254
+ **/
1255
+ account: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined>;
1256
+ /**
1257
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1258
+ * is the amount of `T::Currency` reserved for storing this.
1259
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1260
+ *
1261
+ * @param {[number, AccountId32Like, AccountId32Like]} arg
1262
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
1263
+ **/
1264
+ approvals: GenericStorageQuery<(arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined>;
1265
+ /**
1266
+ * Metadata of an asset.
1267
+ *
1268
+ * @param {number} arg
1269
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
1270
+ **/
1271
+ metadata: GenericStorageQuery<(arg: number) => PalletAssetsAssetMetadata>;
1272
+ /**
1273
+ * Generic pallet storage query
1274
+ **/
1275
+ [storage: string]: GenericStorageQuery;
1276
+ };
1277
+ /**
1278
+ * Pallet `AssetConversion`'s storage queries
1279
+ **/
1280
+ assetConversion: {
1281
+ /**
1282
+ * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
1283
+ * created rather than people sending tokens directly to a pool's public account.
1284
+ *
1285
+ * @param {[StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]} arg
1286
+ * @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
1287
+ **/
1288
+ pools: GenericStorageQuery<(arg: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]) => PalletAssetConversionPoolInfo | undefined>;
1289
+ /**
1290
+ * Stores the `PoolAssetId` that is going to be used for the next lp token.
1291
+ * This gets incremented whenever a new lp pool is created.
1292
+ *
1293
+ * @param {Callback<number | undefined> =} callback
1294
+ **/
1295
+ nextPoolAssetId: GenericStorageQuery<() => number | undefined>;
1296
+ /**
1297
+ * Generic pallet storage query
1298
+ **/
1299
+ [storage: string]: GenericStorageQuery;
1300
+ };
1301
+ }