@dedot/chaintypes 0.0.1-alpha.3 → 0.0.1-alpha.31

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