@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,2027 +1,2394 @@
1
- import type { GenericChainStorage, GenericStorageQuery } from '@dedot/types';
2
- import type { AccountId20Like, H256, Bytes, Digest, Phase, FixedU128, Perbill, AccountId20, Percent, Data, BytesLike, FixedBytes, H160, U256 } from '@dedot/codecs';
3
- import type { FrameSystemAccountInfo, FrameSupportDispatchPerDispatchClass, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, PolkadotPrimitivesV6PersistedValidationData, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6UpgradeGoAhead, SpTrieStorageProof, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, PolkadotPrimitivesV6AbridgedHostConfiguration, CumulusPrimitivesParachainInherentMessageQueueChain, PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesOutboundHrmpMessage, SpWeightsWeightV2Weight, CumulusPalletParachainSystemCodeUpgradeAuthorization, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBalancesIdAmount, PalletBalancesIdAmount002, PalletTransactionPaymentReleases, PalletParachainStakingParachainBondConfig, PalletParachainStakingRoundInfo, PalletParachainStakingDelegator, PalletParachainStakingCandidateMetadata, PalletParachainStakingDelegationRequestsScheduledRequest, PalletParachainStakingAutoCompoundAutoCompoundConfig, PalletParachainStakingDelegations, PalletParachainStakingSetBoundedOrderedSet, PalletParachainStakingCollatorSnapshot, PalletParachainStakingDelayedPayout, PalletParachainStakingInflationInflationInfo, PalletAuthorSlotFilterNumNonZeroU32, PalletAuthorMappingRegistrationInfo, NimbusPrimitivesNimbusCryptoPublic, PalletMoonbeamOrbitersCollatorPoolInfo, PalletProxyProxyDefinition, PalletProxyAnnouncement, PalletIdentityRegistration, PalletIdentityRegistrarInfo, PalletMultisigMultisig, PalletEvmCodeMetadata, EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3, EthereumBlock, PalletSchedulerScheduled, FrameSupportPreimagesBounded, PalletDemocracyReferendumInfo, PalletDemocracyVoteVoting, PalletDemocracyVoteThreshold, PalletDemocracyMetadataOwner, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletConvictionVotingVoteVoting, PalletReferendaReferendumInfo, MoonbeamRuntimeRuntimeCall, PalletCollectiveVotes, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletCrowdloanRewardsRewardInfo, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, PalletXcmQueryStatus, XcmVersionedMultiLocation, PalletXcmVersionMigrationStage, PalletXcmRemoteLockedFungibleRecord, XcmVersionedAssetId, PalletAssetsAssetDetails, PalletAssetsAssetAccount, PalletAssetsApproval, PalletAssetsAssetMetadata, MoonbeamRuntimeXcmConfigAssetType, PalletAssetManagerAssetInfo, PalletXcmTransactorRemoteTransactInfoWithMaxWeight, StagingXcmV3MultilocationMultiLocation, PalletXcmTransactorRelayIndicesRelayChainIndices, PalletRandomnessRequestState, PalletRandomnessRandomnessResult, PalletRandomnessRequestType } from './types';
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainStorage, GenericStorageQuery, Callback } from '@dedot/types';
4
+ import type {
5
+ AccountId20Like,
6
+ H256,
7
+ Bytes,
8
+ Digest,
9
+ Phase,
10
+ FixedU128,
11
+ Perbill,
12
+ AccountId20,
13
+ Percent,
14
+ Data,
15
+ BytesLike,
16
+ FixedBytes,
17
+ H160,
18
+ U256,
19
+ } from '@dedot/codecs';
20
+ import type {
21
+ FrameSystemAccountInfo,
22
+ FrameSupportDispatchPerDispatchClass,
23
+ FrameSystemEventRecord,
24
+ FrameSystemLastRuntimeUpgradeInfo,
25
+ CumulusPalletParachainSystemUnincludedSegmentAncestor,
26
+ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
27
+ PolkadotPrimitivesV6PersistedValidationData,
28
+ PolkadotPrimitivesV6UpgradeRestriction,
29
+ PolkadotPrimitivesV6UpgradeGoAhead,
30
+ SpTrieStorageProof,
31
+ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
32
+ PolkadotPrimitivesV6AbridgedHostConfiguration,
33
+ CumulusPrimitivesParachainInherentMessageQueueChain,
34
+ PolkadotParachainPrimitivesPrimitivesId,
35
+ PolkadotCorePrimitivesOutboundHrmpMessage,
36
+ SpWeightsWeightV2Weight,
37
+ CumulusPalletParachainSystemCodeUpgradeAuthorization,
38
+ PalletBalancesAccountData,
39
+ PalletBalancesBalanceLock,
40
+ PalletBalancesReserveData,
41
+ PalletBalancesIdAmount,
42
+ PalletBalancesIdAmount002,
43
+ PalletTransactionPaymentReleases,
44
+ PalletParachainStakingParachainBondConfig,
45
+ PalletParachainStakingRoundInfo,
46
+ PalletParachainStakingDelegator,
47
+ PalletParachainStakingCandidateMetadata,
48
+ PalletParachainStakingDelegationRequestsScheduledRequest,
49
+ PalletParachainStakingAutoCompoundAutoCompoundConfig,
50
+ PalletParachainStakingDelegations,
51
+ PalletParachainStakingSetBoundedOrderedSet,
52
+ PalletParachainStakingCollatorSnapshot,
53
+ PalletParachainStakingDelayedPayout,
54
+ PalletParachainStakingInflationInflationInfo,
55
+ PalletAuthorSlotFilterNumNonZeroU32,
56
+ PalletAuthorMappingRegistrationInfo,
57
+ NimbusPrimitivesNimbusCryptoPublic,
58
+ PalletMoonbeamOrbitersCollatorPoolInfo,
59
+ PalletProxyProxyDefinition,
60
+ PalletProxyAnnouncement,
61
+ PalletIdentityRegistration,
62
+ PalletIdentityRegistrarInfo,
63
+ PalletMultisigMultisig,
64
+ PalletEvmCodeMetadata,
65
+ EthereumTransactionTransactionV2,
66
+ FpRpcTransactionStatus,
67
+ EthereumReceiptReceiptV3,
68
+ EthereumBlock,
69
+ PalletSchedulerScheduled,
70
+ FrameSupportPreimagesBounded,
71
+ PalletDemocracyReferendumInfo,
72
+ PalletDemocracyVoteVoting,
73
+ PalletDemocracyVoteThreshold,
74
+ PalletDemocracyMetadataOwner,
75
+ PalletPreimageOldRequestStatus,
76
+ PalletPreimageRequestStatus,
77
+ PalletConvictionVotingVoteVoting,
78
+ PalletReferendaReferendumInfo,
79
+ MoonbeamRuntimeRuntimeCall,
80
+ PalletCollectiveVotes,
81
+ PalletTreasuryProposal,
82
+ PalletTreasurySpendStatus,
83
+ PalletCrowdloanRewardsRewardInfo,
84
+ CumulusPalletXcmpQueueInboundChannelDetails,
85
+ CumulusPalletXcmpQueueOutboundChannelDetails,
86
+ CumulusPalletXcmpQueueQueueConfigData,
87
+ CumulusPalletDmpQueueConfigData,
88
+ CumulusPalletDmpQueuePageIndexData,
89
+ PalletXcmQueryStatus,
90
+ XcmVersionedMultiLocation,
91
+ PalletXcmVersionMigrationStage,
92
+ PalletXcmRemoteLockedFungibleRecord,
93
+ XcmVersionedAssetId,
94
+ PalletAssetsAssetDetails,
95
+ PalletAssetsAssetAccount,
96
+ PalletAssetsApproval,
97
+ PalletAssetsAssetMetadata,
98
+ MoonbeamRuntimeXcmConfigAssetType,
99
+ PalletAssetManagerAssetInfo,
100
+ PalletXcmTransactorRemoteTransactInfoWithMaxWeight,
101
+ StagingXcmV3MultilocationMultiLocation,
102
+ PalletXcmTransactorRelayIndicesRelayChainIndices,
103
+ PalletRandomnessRequestState,
104
+ PalletRandomnessRandomnessResult,
105
+ PalletRandomnessRequestType,
106
+ } from './types';
107
+
4
108
  export interface ChainStorage extends GenericChainStorage {
109
+ /**
110
+ * Pallet `System`'s storage queries
111
+ **/
112
+ system: {
5
113
  /**
6
- * Pallet `System`'s storage queries
7
- **/
8
- system: {
9
- /**
10
- * The full account information for a particular account ID.
11
- *
12
- * @param {AccountId20Like} arg
13
- * @param {Callback<FrameSystemAccountInfo> =} callback
14
- **/
15
- account: GenericStorageQuery<(arg: AccountId20Like) => FrameSystemAccountInfo>;
16
- /**
17
- * Total extrinsics count for the current block.
18
- *
19
- * @param {Callback<number | undefined> =} callback
20
- **/
21
- extrinsicCount: GenericStorageQuery<() => number | undefined>;
22
- /**
23
- * The current weight for the block.
24
- *
25
- * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
26
- **/
27
- blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
28
- /**
29
- * Total length (in bytes) for all extrinsics put together, for the current block.
30
- *
31
- * @param {Callback<number | undefined> =} callback
32
- **/
33
- allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
34
- /**
35
- * Map of block numbers to block hashes.
36
- *
37
- * @param {number} arg
38
- * @param {Callback<H256> =} callback
39
- **/
40
- blockHash: GenericStorageQuery<(arg: number) => H256>;
41
- /**
42
- * Extrinsics data for the current block (maps an extrinsic's index to its data).
43
- *
44
- * @param {number} arg
45
- * @param {Callback<Bytes> =} callback
46
- **/
47
- extrinsicData: GenericStorageQuery<(arg: number) => Bytes>;
48
- /**
49
- * The current block number being processed. Set by `execute_block`.
50
- *
51
- * @param {Callback<number> =} callback
52
- **/
53
- number: GenericStorageQuery<() => number>;
54
- /**
55
- * Hash of the previous block.
56
- *
57
- * @param {Callback<H256> =} callback
58
- **/
59
- parentHash: GenericStorageQuery<() => H256>;
60
- /**
61
- * Digest of the current block, also part of the block header.
62
- *
63
- * @param {Callback<Digest> =} callback
64
- **/
65
- digest: GenericStorageQuery<() => Digest>;
66
- /**
67
- * Events deposited for the current block.
68
- *
69
- * NOTE: The item is unbound and should therefore never be read on chain.
70
- * It could otherwise inflate the PoV size of a block.
71
- *
72
- * Events have a large in-memory size. Box the events to not go out-of-memory
73
- * just in case someone still reads them from within the runtime.
74
- *
75
- * @param {Callback<Array<FrameSystemEventRecord>> =} callback
76
- **/
77
- events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
78
- /**
79
- * The number of events in the `Events<T>` list.
80
- *
81
- * @param {Callback<number> =} callback
82
- **/
83
- eventCount: GenericStorageQuery<() => number>;
84
- /**
85
- * Mapping between a topic (represented by T::Hash) and a vector of indexes
86
- * of events in the `<Events<T>>` list.
87
- *
88
- * All topic vectors have deterministic storage locations depending on the topic. This
89
- * allows light-clients to leverage the changes trie storage tracking mechanism and
90
- * in case of changes fetch the list of events of interest.
91
- *
92
- * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
93
- * the `EventIndex` then in case if the topic has the same contents on the next block
94
- * no notification will be triggered thus the event might be lost.
95
- *
96
- * @param {H256} arg
97
- * @param {Callback<Array<[number, number]>> =} callback
98
- **/
99
- eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>>;
100
- /**
101
- * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
102
- *
103
- * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
104
- **/
105
- lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
106
- /**
107
- * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
108
- *
109
- * @param {Callback<boolean> =} callback
110
- **/
111
- upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
112
- /**
113
- * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
114
- * (default) if not.
115
- *
116
- * @param {Callback<boolean> =} callback
117
- **/
118
- upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
119
- /**
120
- * The execution phase of the block.
121
- *
122
- * @param {Callback<Phase | undefined> =} callback
123
- **/
124
- executionPhase: GenericStorageQuery<() => Phase | undefined>;
125
- /**
126
- * Generic pallet storage query
127
- **/
128
- [storage: string]: GenericStorageQuery;
129
- };
130
- /**
131
- * Pallet `ParachainSystem`'s storage queries
132
- **/
133
- parachainSystem: {
134
- /**
135
- * Latest included block descendants the runtime accepted. In other words, these are
136
- * ancestors of the currently executing block which have not been included in the observed
137
- * relay-chain state.
138
- *
139
- * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
140
- * in the pallet.
141
- *
142
- * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
143
- **/
144
- unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
145
- /**
146
- * Storage field that keeps track of bandwidth used by the unincluded segment along with the
147
- * latest HRMP watermark. Used for limiting the acceptance of new blocks with
148
- * respect to relay chain constraints.
149
- *
150
- * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
151
- **/
152
- aggregatedUnincludedSegment: GenericStorageQuery<() => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined>;
153
- /**
154
- * In case of a scheduled upgrade, this storage field contains the validation code to be
155
- * applied.
156
- *
157
- * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
158
- * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
159
- * with the new validation code. This concludes the upgrade process.
160
- *
161
- * @param {Callback<Bytes> =} callback
162
- **/
163
- pendingValidationCode: GenericStorageQuery<() => Bytes>;
164
- /**
165
- * Validation code that is set by the parachain and is to be communicated to collator and
166
- * consequently the relay-chain.
167
- *
168
- * This will be cleared in `on_initialize` of each new block if no other pallet already set
169
- * the value.
170
- *
171
- * @param {Callback<Bytes | undefined> =} callback
172
- **/
173
- newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
174
- /**
175
- * The [`PersistedValidationData`] set for this block.
176
- * This value is expected to be set only once per block and it's never stored
177
- * in the trie.
178
- *
179
- * @param {Callback<PolkadotPrimitivesV6PersistedValidationData | undefined> =} callback
180
- **/
181
- validationData: GenericStorageQuery<() => PolkadotPrimitivesV6PersistedValidationData | undefined>;
182
- /**
183
- * Were the validation data set to notify the relay chain?
184
- *
185
- * @param {Callback<boolean> =} callback
186
- **/
187
- didSetValidationCode: GenericStorageQuery<() => boolean>;
188
- /**
189
- * The relay chain block number associated with the last parachain block.
190
- *
191
- * This is updated in `on_finalize`.
192
- *
193
- * @param {Callback<number> =} callback
194
- **/
195
- lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
196
- /**
197
- * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
198
- * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
199
- * candidate will be invalid.
200
- *
201
- * This storage item is a mirror of the corresponding value for the current parachain from the
202
- * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
203
- * set after the inherent.
204
- *
205
- * @param {Callback<PolkadotPrimitivesV6UpgradeRestriction | undefined> =} callback
206
- **/
207
- upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeRestriction | undefined>;
208
- /**
209
- * Optional upgrade go-ahead signal from the relay-chain.
210
- *
211
- * This storage item is a mirror of the corresponding value for the current parachain from the
212
- * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
213
- * set after the inherent.
214
- *
215
- * @param {Callback<PolkadotPrimitivesV6UpgradeGoAhead | undefined> =} callback
216
- **/
217
- upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeGoAhead | undefined>;
218
- /**
219
- * The state proof for the last relay parent block.
220
- *
221
- * This field is meant to be updated each block with the validation data inherent. Therefore,
222
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
223
- *
224
- * This data is also absent from the genesis.
225
- *
226
- * @param {Callback<SpTrieStorageProof | undefined> =} callback
227
- **/
228
- relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
229
- /**
230
- * The snapshot of some state related to messaging relevant to the current parachain as per
231
- * the relay parent.
232
- *
233
- * This field is meant to be updated each block with the validation data inherent. Therefore,
234
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
235
- *
236
- * This data is also absent from the genesis.
237
- *
238
- * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
239
- **/
240
- relevantMessagingState: GenericStorageQuery<() => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined>;
241
- /**
242
- * The parachain host configuration that was obtained from the relay parent.
243
- *
244
- * This field is meant to be updated each block with the validation data inherent. Therefore,
245
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
246
- *
247
- * This data is also absent from the genesis.
248
- *
249
- * @param {Callback<PolkadotPrimitivesV6AbridgedHostConfiguration | undefined> =} callback
250
- **/
251
- hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV6AbridgedHostConfiguration | undefined>;
252
- /**
253
- * The last downward message queue chain head we have observed.
254
- *
255
- * This value is loaded before and saved after processing inbound downward messages carried
256
- * by the system inherent.
257
- *
258
- * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
259
- **/
260
- lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
261
- /**
262
- * The message queue chain heads we have observed per each channel incoming channel.
263
- *
264
- * This value is loaded before and saved after processing inbound downward messages carried
265
- * by the system inherent.
266
- *
267
- * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
268
- **/
269
- lastHrmpMqcHeads: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>>;
270
- /**
271
- * Number of downward messages processed in a block.
272
- *
273
- * This will be cleared in `on_initialize` of each new block.
274
- *
275
- * @param {Callback<number> =} callback
276
- **/
277
- processedDownwardMessages: GenericStorageQuery<() => number>;
278
- /**
279
- * HRMP watermark that was set in a block.
280
- *
281
- * This will be cleared in `on_initialize` of each new block.
282
- *
283
- * @param {Callback<number> =} callback
284
- **/
285
- hrmpWatermark: GenericStorageQuery<() => number>;
286
- /**
287
- * HRMP messages that were sent in a block.
288
- *
289
- * This will be cleared in `on_initialize` of each new block.
290
- *
291
- * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
292
- **/
293
- hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
294
- /**
295
- * Upward messages that were sent in a block.
296
- *
297
- * This will be cleared in `on_initialize` of each new block.
298
- *
299
- * @param {Callback<Array<Bytes>> =} callback
300
- **/
301
- upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
302
- /**
303
- * Upward messages that are still pending and not yet send to the relay chain.
304
- *
305
- * @param {Callback<Array<Bytes>> =} callback
306
- **/
307
- pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
308
- /**
309
- * The factor to multiply the base delivery fee by for UMP.
310
- *
311
- * @param {Callback<FixedU128> =} callback
312
- **/
313
- upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
314
- /**
315
- * The number of HRMP messages we observed in `on_initialize` and thus used that number for
316
- * announcing the weight of `on_initialize` and `on_finalize`.
317
- *
318
- * @param {Callback<number> =} callback
319
- **/
320
- announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
321
- /**
322
- * The weight we reserve at the beginning of the block for processing XCMP messages. This
323
- * overrides the amount set in the Config trait.
324
- *
325
- * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
326
- **/
327
- reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
328
- /**
329
- * The weight we reserve at the beginning of the block for processing DMP messages. This
330
- * overrides the amount set in the Config trait.
331
- *
332
- * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
333
- **/
334
- reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
335
- /**
336
- * The next authorized upgrade, if there is one.
337
- *
338
- * @param {Callback<CumulusPalletParachainSystemCodeUpgradeAuthorization | undefined> =} callback
339
- **/
340
- authorizedUpgrade: GenericStorageQuery<() => CumulusPalletParachainSystemCodeUpgradeAuthorization | undefined>;
341
- /**
342
- * A custom head data that should be returned as result of `validate_block`.
343
- *
344
- * See `Pallet::set_custom_validation_head_data` for more information.
345
- *
346
- * @param {Callback<Bytes | undefined> =} callback
347
- **/
348
- customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
349
- /**
350
- * Generic pallet storage query
351
- **/
352
- [storage: string]: GenericStorageQuery;
353
- };
354
- /**
355
- * Pallet `Timestamp`'s storage queries
356
- **/
357
- timestamp: {
358
- /**
359
- * The current time for the current block.
360
- *
361
- * @param {Callback<bigint> =} callback
362
- **/
363
- now: GenericStorageQuery<() => bigint>;
364
- /**
365
- * Whether the timestamp has been updated in this block.
366
- *
367
- * This value is updated to `true` upon successful submission of a timestamp by a node.
368
- * It is then checked at the end of each block execution in the `on_finalize` hook.
369
- *
370
- * @param {Callback<boolean> =} callback
371
- **/
372
- didUpdate: GenericStorageQuery<() => boolean>;
373
- /**
374
- * Generic pallet storage query
375
- **/
376
- [storage: string]: GenericStorageQuery;
377
- };
378
- /**
379
- * Pallet `ParachainInfo`'s storage queries
380
- **/
381
- parachainInfo: {
382
- /**
383
- *
384
- * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
385
- **/
386
- parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
387
- /**
388
- * Generic pallet storage query
389
- **/
390
- [storage: string]: GenericStorageQuery;
391
- };
392
- /**
393
- * Pallet `RootTesting`'s storage queries
394
- **/
395
- rootTesting: {
396
- /**
397
- * Generic pallet storage query
398
- **/
399
- [storage: string]: GenericStorageQuery;
400
- };
401
- /**
402
- * Pallet `Balances`'s storage queries
403
- **/
404
- balances: {
405
- /**
406
- * The total units issued in the system.
407
- *
408
- * @param {Callback<bigint> =} callback
409
- **/
410
- totalIssuance: GenericStorageQuery<() => bigint>;
411
- /**
412
- * The total units of outstanding deactivated balance in the system.
413
- *
414
- * @param {Callback<bigint> =} callback
415
- **/
416
- inactiveIssuance: GenericStorageQuery<() => bigint>;
417
- /**
418
- * The Balances pallet example of storing the balance of an account.
419
- *
420
- * # Example
421
- *
422
- * ```nocompile
423
- * impl pallet_balances::Config for Runtime {
424
- * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
425
- * }
426
- * ```
427
- *
428
- * You can also store the balance of an account in the `System` pallet.
429
- *
430
- * # Example
431
- *
432
- * ```nocompile
433
- * impl pallet_balances::Config for Runtime {
434
- * type AccountStore = System
435
- * }
436
- * ```
437
- *
438
- * But this comes with tradeoffs, storing account balances in the system pallet stores
439
- * `frame_system` data alongside the account data contrary to storing account balances in the
440
- * `Balances` pallet, which uses a `StorageMap` to store balances data only.
441
- * NOTE: This is only used in the case that this pallet is used to store balances.
442
- *
443
- * @param {AccountId20Like} arg
444
- * @param {Callback<PalletBalancesAccountData> =} callback
445
- **/
446
- account: GenericStorageQuery<(arg: AccountId20Like) => PalletBalancesAccountData>;
447
- /**
448
- * Any liquidity locks on some account balances.
449
- * NOTE: Should only be accessed when setting, changing and freeing a lock.
450
- *
451
- * @param {AccountId20Like} arg
452
- * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
453
- **/
454
- locks: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesBalanceLock>>;
455
- /**
456
- * Named reserves on some account balances.
457
- *
458
- * @param {AccountId20Like} arg
459
- * @param {Callback<Array<PalletBalancesReserveData>> =} callback
460
- **/
461
- reserves: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesReserveData>>;
462
- /**
463
- * Holds on account balances.
464
- *
465
- * @param {AccountId20Like} arg
466
- * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
467
- **/
468
- holds: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesIdAmount>>;
469
- /**
470
- * Freeze locks on account balances.
471
- *
472
- * @param {AccountId20Like} arg
473
- * @param {Callback<Array<PalletBalancesIdAmount002>> =} callback
474
- **/
475
- freezes: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesIdAmount002>>;
476
- /**
477
- * Generic pallet storage query
478
- **/
479
- [storage: string]: GenericStorageQuery;
480
- };
481
- /**
482
- * Pallet `TransactionPayment`'s storage queries
483
- **/
484
- transactionPayment: {
485
- /**
486
- *
487
- * @param {Callback<FixedU128> =} callback
488
- **/
489
- nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
490
- /**
491
- *
492
- * @param {Callback<PalletTransactionPaymentReleases> =} callback
493
- **/
494
- storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
495
- /**
496
- * Generic pallet storage query
497
- **/
498
- [storage: string]: GenericStorageQuery;
499
- };
500
- /**
501
- * Pallet `ParachainStaking`'s storage queries
502
- **/
503
- parachainStaking: {
504
- /**
505
- * Commission percent taken off of rewards for all collators
506
- *
507
- * @param {Callback<Perbill> =} callback
508
- **/
509
- collatorCommission: GenericStorageQuery<() => Perbill>;
510
- /**
511
- * The total candidates selected every round
512
- *
513
- * @param {Callback<number> =} callback
514
- **/
515
- totalSelected: GenericStorageQuery<() => number>;
516
- /**
517
- * Parachain bond config info { account, percent_of_inflation }
518
- *
519
- * @param {Callback<PalletParachainStakingParachainBondConfig> =} callback
520
- **/
521
- parachainBondInfo: GenericStorageQuery<() => PalletParachainStakingParachainBondConfig>;
522
- /**
523
- * Current round index and next round scheduled transition
524
- *
525
- * @param {Callback<PalletParachainStakingRoundInfo> =} callback
526
- **/
527
- round: GenericStorageQuery<() => PalletParachainStakingRoundInfo>;
528
- /**
529
- * Get delegator state associated with an account if account is delegating else None
530
- *
531
- * @param {AccountId20Like} arg
532
- * @param {Callback<PalletParachainStakingDelegator | undefined> =} callback
533
- **/
534
- delegatorState: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegator | undefined>;
535
- /**
536
- * Get collator candidate info associated with an account if account is candidate else None
537
- *
538
- * @param {AccountId20Like} arg
539
- * @param {Callback<PalletParachainStakingCandidateMetadata | undefined> =} callback
540
- **/
541
- candidateInfo: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingCandidateMetadata | undefined>;
542
- /**
543
- * Stores outstanding delegation requests per collator.
544
- *
545
- * @param {AccountId20Like} arg
546
- * @param {Callback<Array<PalletParachainStakingDelegationRequestsScheduledRequest>> =} callback
547
- **/
548
- delegationScheduledRequests: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletParachainStakingDelegationRequestsScheduledRequest>>;
549
- /**
550
- * Stores auto-compounding configuration per collator.
551
- *
552
- * @param {AccountId20Like} arg
553
- * @param {Callback<Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>> =} callback
554
- **/
555
- autoCompoundingDelegations: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>>;
556
- /**
557
- * Top delegations for collator candidate
558
- *
559
- * @param {AccountId20Like} arg
560
- * @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
561
- **/
562
- topDelegations: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined>;
563
- /**
564
- * Bottom delegations for collator candidate
565
- *
566
- * @param {AccountId20Like} arg
567
- * @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
568
- **/
569
- bottomDelegations: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined>;
570
- /**
571
- * The collator candidates selected for the current round
572
- *
573
- * @param {Callback<Array<AccountId20>> =} callback
574
- **/
575
- selectedCandidates: GenericStorageQuery<() => Array<AccountId20>>;
576
- /**
577
- * Total capital locked by this staking pallet
578
- *
579
- * @param {Callback<bigint> =} callback
580
- **/
581
- total: GenericStorageQuery<() => bigint>;
582
- /**
583
- * The pool of collator candidates, each with their total backing stake
584
- *
585
- * @param {Callback<PalletParachainStakingSetBoundedOrderedSet> =} callback
586
- **/
587
- candidatePool: GenericStorageQuery<() => PalletParachainStakingSetBoundedOrderedSet>;
588
- /**
589
- * Snapshot of collator delegation stake at the start of the round
590
- *
591
- * @param {[number, AccountId20Like]} arg
592
- * @param {Callback<PalletParachainStakingCollatorSnapshot | undefined> =} callback
593
- **/
594
- atStake: GenericStorageQuery<(arg: [number, AccountId20Like]) => PalletParachainStakingCollatorSnapshot | undefined>;
595
- /**
596
- * Delayed payouts
597
- *
598
- * @param {number} arg
599
- * @param {Callback<PalletParachainStakingDelayedPayout | undefined> =} callback
600
- **/
601
- delayedPayouts: GenericStorageQuery<(arg: number) => PalletParachainStakingDelayedPayout | undefined>;
602
- /**
603
- * Total counted stake for selected candidates in the round
604
- *
605
- * @param {number} arg
606
- * @param {Callback<bigint> =} callback
607
- **/
608
- staked: GenericStorageQuery<(arg: number) => bigint>;
609
- /**
610
- * Inflation configuration
611
- *
612
- * @param {Callback<PalletParachainStakingInflationInflationInfo> =} callback
613
- **/
614
- inflationConfig: GenericStorageQuery<() => PalletParachainStakingInflationInflationInfo>;
615
- /**
616
- * Total points awarded to collators for block production in the round
617
- *
618
- * @param {number} arg
619
- * @param {Callback<number> =} callback
620
- **/
621
- points: GenericStorageQuery<(arg: number) => number>;
622
- /**
623
- * Points for each collator per round
624
- *
625
- * @param {[number, AccountId20Like]} arg
626
- * @param {Callback<number> =} callback
627
- **/
628
- awardedPts: GenericStorageQuery<(arg: [number, AccountId20Like]) => number>;
629
- /**
630
- * Killswitch to enable/disable marking offline feature.
631
- *
632
- * @param {Callback<boolean> =} callback
633
- **/
634
- enableMarkingOffline: GenericStorageQuery<() => boolean>;
635
- /**
636
- * Generic pallet storage query
637
- **/
638
- [storage: string]: GenericStorageQuery;
639
- };
640
- /**
641
- * Pallet `AuthorInherent`'s storage queries
642
- **/
643
- authorInherent: {
644
- /**
645
- * Author of current block.
646
- *
647
- * @param {Callback<AccountId20 | undefined> =} callback
648
- **/
649
- author: GenericStorageQuery<() => AccountId20 | undefined>;
650
- /**
651
- * Generic pallet storage query
652
- **/
653
- [storage: string]: GenericStorageQuery;
654
- };
655
- /**
656
- * Pallet `AuthorFilter`'s storage queries
657
- **/
658
- authorFilter: {
659
- /**
660
- *
661
- * @param {Callback<Percent> =} callback
662
- **/
663
- eligibleRatio: GenericStorageQuery<() => Percent>;
664
- /**
665
- * The number of active authors that will be eligible at each height.
666
- *
667
- * @param {Callback<PalletAuthorSlotFilterNumNonZeroU32> =} callback
668
- **/
669
- eligibleCount: GenericStorageQuery<() => PalletAuthorSlotFilterNumNonZeroU32>;
670
- /**
671
- * Generic pallet storage query
672
- **/
673
- [storage: string]: GenericStorageQuery;
674
- };
675
- /**
676
- * Pallet `AuthorMapping`'s storage queries
677
- **/
678
- authorMapping: {
679
- /**
680
- * We maintain a mapping from the NimbusIds used in the consensus layer
681
- * to the AccountIds runtime.
682
- *
683
- * @param {NimbusPrimitivesNimbusCryptoPublic} arg
684
- * @param {Callback<PalletAuthorMappingRegistrationInfo | undefined> =} callback
685
- **/
686
- mappingWithDeposit: GenericStorageQuery<(arg: NimbusPrimitivesNimbusCryptoPublic) => PalletAuthorMappingRegistrationInfo | undefined>;
687
- /**
688
- * We maintain a reverse mapping from AccountIds to NimbusIDS
689
- *
690
- * @param {AccountId20Like} arg
691
- * @param {Callback<NimbusPrimitivesNimbusCryptoPublic | undefined> =} callback
692
- **/
693
- nimbusLookup: GenericStorageQuery<(arg: AccountId20Like) => NimbusPrimitivesNimbusCryptoPublic | undefined>;
694
- /**
695
- * Generic pallet storage query
696
- **/
697
- [storage: string]: GenericStorageQuery;
698
- };
699
- /**
700
- * Pallet `MoonbeamOrbiters`'s storage queries
701
- **/
702
- moonbeamOrbiters: {
703
- /**
704
- * Account lookup override
705
- *
706
- * @param {AccountId20Like} arg
707
- * @param {Callback<AccountId20 | undefined | undefined> =} callback
708
- **/
709
- accountLookupOverride: GenericStorageQuery<(arg: AccountId20Like) => AccountId20 | undefined | undefined>;
710
- /**
711
- * Current orbiters, with their "parent" collator
712
- *
713
- * @param {AccountId20Like} arg
714
- * @param {Callback<PalletMoonbeamOrbitersCollatorPoolInfo | undefined> =} callback
715
- **/
716
- collatorsPool: GenericStorageQuery<(arg: AccountId20Like) => PalletMoonbeamOrbitersCollatorPoolInfo | undefined>;
717
- /**
718
- * Counter for the related counted storage map
719
- *
720
- * @param {Callback<number> =} callback
721
- **/
722
- counterForCollatorsPool: GenericStorageQuery<() => number>;
723
- /**
724
- * Current round index
725
- *
726
- * @param {Callback<number> =} callback
727
- **/
728
- currentRound: GenericStorageQuery<() => number>;
729
- /**
730
- * If true, it forces the rotation at the next round.
731
- * A use case: when changing RotatePeriod, you need a migration code that sets this value to
732
- * true to avoid holes in OrbiterPerRound.
733
- *
734
- * @param {Callback<boolean> =} callback
735
- **/
736
- forceRotation: GenericStorageQuery<() => boolean>;
737
- /**
738
- * Minimum deposit required to be registered as an orbiter
739
- *
740
- * @param {Callback<bigint | undefined> =} callback
741
- **/
742
- minOrbiterDeposit: GenericStorageQuery<() => bigint | undefined>;
743
- /**
744
- * Store active orbiter per round and per parent collator
745
- *
746
- * @param {[number, AccountId20Like]} arg
747
- * @param {Callback<AccountId20 | undefined> =} callback
748
- **/
749
- orbiterPerRound: GenericStorageQuery<(arg: [number, AccountId20Like]) => AccountId20 | undefined>;
750
- /**
751
- * Check if account is an orbiter
752
- *
753
- * @param {AccountId20Like} arg
754
- * @param {Callback<boolean | undefined> =} callback
755
- **/
756
- registeredOrbiter: GenericStorageQuery<(arg: AccountId20Like) => boolean | undefined>;
757
- /**
758
- * Generic pallet storage query
759
- **/
760
- [storage: string]: GenericStorageQuery;
761
- };
762
- /**
763
- * Pallet `Proxy`'s storage queries
764
- **/
765
- proxy: {
766
- /**
767
- * The set of account proxies. Maps the account which has delegated to the accounts
768
- * which are being delegated to, together with the amount held on deposit.
769
- *
770
- * @param {AccountId20Like} arg
771
- * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
772
- **/
773
- proxies: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyProxyDefinition>, bigint]>;
774
- /**
775
- * The announcements made by the proxy (key).
776
- *
777
- * @param {AccountId20Like} arg
778
- * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
779
- **/
780
- announcements: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyAnnouncement>, bigint]>;
781
- /**
782
- * Generic pallet storage query
783
- **/
784
- [storage: string]: GenericStorageQuery;
785
- };
786
- /**
787
- * Pallet `MaintenanceMode`'s storage queries
788
- **/
789
- maintenanceMode: {
790
- /**
791
- * Whether the site is in maintenance mode
792
- *
793
- * @param {Callback<boolean> =} callback
794
- **/
795
- maintenanceMode: GenericStorageQuery<() => boolean>;
796
- /**
797
- * Generic pallet storage query
798
- **/
799
- [storage: string]: GenericStorageQuery;
800
- };
801
- /**
802
- * Pallet `Identity`'s storage queries
803
- **/
804
- identity: {
805
- /**
806
- * Information that is pertinent to identify the entity behind an account.
807
- *
808
- * TWOX-NOTE: OK `AccountId` is a secure hash.
809
- *
810
- * @param {AccountId20Like} arg
811
- * @param {Callback<PalletIdentityRegistration | undefined> =} callback
812
- **/
813
- identityOf: GenericStorageQuery<(arg: AccountId20Like) => PalletIdentityRegistration | undefined>;
814
- /**
815
- * The super-identity of an alternative "sub" identity together with its name, within that
816
- * context. If the account is not some other account's sub-identity, then just `None`.
817
- *
818
- * @param {AccountId20Like} arg
819
- * @param {Callback<[AccountId20, Data] | undefined> =} callback
820
- **/
821
- superOf: GenericStorageQuery<(arg: AccountId20Like) => [AccountId20, Data] | undefined>;
822
- /**
823
- * Alternative "sub" identities of this account.
824
- *
825
- * The first item is the deposit, the second is a vector of the accounts.
826
- *
827
- * TWOX-NOTE: OK ― `AccountId` is a secure hash.
828
- *
829
- * @param {AccountId20Like} arg
830
- * @param {Callback<[bigint, Array<AccountId20>]> =} callback
831
- **/
832
- subsOf: GenericStorageQuery<(arg: AccountId20Like) => [bigint, Array<AccountId20>]>;
833
- /**
834
- * The set of registrars. Not expected to get very big as can only be added through a
835
- * special origin (likely a council motion).
836
- *
837
- * The index into this can be cast to `RegistrarIndex` to get a valid value.
838
- *
839
- * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
840
- **/
841
- registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
842
- /**
843
- * Generic pallet storage query
844
- **/
845
- [storage: string]: GenericStorageQuery;
846
- };
847
- /**
848
- * Pallet `Migrations`'s storage queries
849
- **/
850
- migrations: {
851
- /**
852
- * True if all required migrations have completed
853
- *
854
- * @param {Callback<boolean> =} callback
855
- **/
856
- fullyUpgraded: GenericStorageQuery<() => boolean>;
857
- /**
858
- * MigrationState tracks the progress of a migration.
859
- * Maps name (Vec<u8>) -> whether or not migration has been completed (bool)
860
- *
861
- * @param {BytesLike} arg
862
- * @param {Callback<boolean> =} callback
863
- **/
864
- migrationState: GenericStorageQuery<(arg: BytesLike) => boolean>;
865
- /**
866
- * Temporary value that is set to true at the beginning of the block during which the execution
867
- * of xcm messages must be paused.
868
- *
869
- * @param {Callback<boolean> =} callback
870
- **/
871
- shouldPauseXcm: GenericStorageQuery<() => boolean>;
872
- /**
873
- * Generic pallet storage query
874
- **/
875
- [storage: string]: GenericStorageQuery;
876
- };
877
- /**
878
- * Pallet `Multisig`'s storage queries
879
- **/
880
- multisig: {
881
- /**
882
- * The set of open multisig operations.
883
- *
884
- * @param {[AccountId20Like, FixedBytes<32>]} arg
885
- * @param {Callback<PalletMultisigMultisig | undefined> =} callback
886
- **/
887
- multisigs: GenericStorageQuery<(arg: [AccountId20Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined>;
888
- /**
889
- * Generic pallet storage query
890
- **/
891
- [storage: string]: GenericStorageQuery;
892
- };
893
- /**
894
- * Pallet `EthereumChainId`'s storage queries
895
- **/
896
- ethereumChainId: {
897
- /**
898
- * The EVM chain ID.
899
- *
900
- * @param {Callback<bigint> =} callback
901
- **/
902
- chainId: GenericStorageQuery<() => bigint>;
903
- /**
904
- * Generic pallet storage query
905
- **/
906
- [storage: string]: GenericStorageQuery;
907
- };
908
- /**
909
- * Pallet `EVM`'s storage queries
910
- **/
911
- eVM: {
912
- /**
913
- *
914
- * @param {H160} arg
915
- * @param {Callback<Bytes> =} callback
916
- **/
917
- accountCodes: GenericStorageQuery<(arg: H160) => Bytes>;
918
- /**
919
- *
920
- * @param {H160} arg
921
- * @param {Callback<PalletEvmCodeMetadata | undefined> =} callback
922
- **/
923
- accountCodesMetadata: GenericStorageQuery<(arg: H160) => PalletEvmCodeMetadata | undefined>;
924
- /**
925
- *
926
- * @param {[H160, H256]} arg
927
- * @param {Callback<H256> =} callback
928
- **/
929
- accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256>;
930
- /**
931
- *
932
- * @param {H160} arg
933
- * @param {Callback<[] | undefined> =} callback
934
- **/
935
- suicided: GenericStorageQuery<(arg: H160) => [] | undefined>;
936
- /**
937
- * Generic pallet storage query
938
- **/
939
- [storage: string]: GenericStorageQuery;
940
- };
941
- /**
942
- * Pallet `Ethereum`'s storage queries
943
- **/
944
- ethereum: {
945
- /**
946
- * Current building block's transactions and receipts.
947
- *
948
- * @param {Callback<Array<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>> =} callback
949
- **/
950
- pending: GenericStorageQuery<() => Array<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>;
951
- /**
952
- * The current Ethereum block.
953
- *
954
- * @param {Callback<EthereumBlock | undefined> =} callback
955
- **/
956
- currentBlock: GenericStorageQuery<() => EthereumBlock | undefined>;
957
- /**
958
- * The current Ethereum receipts.
959
- *
960
- * @param {Callback<Array<EthereumReceiptReceiptV3> | undefined> =} callback
961
- **/
962
- currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV3> | undefined>;
963
- /**
964
- * The current transaction statuses.
965
- *
966
- * @param {Callback<Array<FpRpcTransactionStatus> | undefined> =} callback
967
- **/
968
- currentTransactionStatuses: GenericStorageQuery<() => Array<FpRpcTransactionStatus> | undefined>;
969
- /**
970
- *
971
- * @param {U256} arg
972
- * @param {Callback<H256> =} callback
973
- **/
974
- blockHash: GenericStorageQuery<(arg: U256) => H256>;
975
- /**
976
- * Generic pallet storage query
977
- **/
978
- [storage: string]: GenericStorageQuery;
979
- };
980
- /**
981
- * Pallet `Scheduler`'s storage queries
982
- **/
983
- scheduler: {
984
- /**
985
- *
986
- * @param {Callback<number | undefined> =} callback
987
- **/
988
- incompleteSince: GenericStorageQuery<() => number | undefined>;
989
- /**
990
- * Items to be executed, indexed by the block number that they should be executed on.
991
- *
992
- * @param {number} arg
993
- * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
994
- **/
995
- agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>>;
996
- /**
997
- * Lookup from a name to the block number and index of the task.
998
- *
999
- * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1000
- * identities.
1001
- *
1002
- * @param {FixedBytes<32>} arg
1003
- * @param {Callback<[number, number] | undefined> =} callback
1004
- **/
1005
- lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined>;
1006
- /**
1007
- * Generic pallet storage query
1008
- **/
1009
- [storage: string]: GenericStorageQuery;
1010
- };
1011
- /**
1012
- * Pallet `Democracy`'s storage queries
1013
- **/
1014
- democracy: {
1015
- /**
1016
- * The number of (public) proposals that have been made so far.
1017
- *
1018
- * @param {Callback<number> =} callback
1019
- **/
1020
- publicPropCount: GenericStorageQuery<() => number>;
1021
- /**
1022
- * The public proposals. Unsorted. The second item is the proposal.
1023
- *
1024
- * @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId20]>> =} callback
1025
- **/
1026
- publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId20]>>;
1027
- /**
1028
- * Those who have locked a deposit.
1029
- *
1030
- * TWOX-NOTE: Safe, as increasing integer keys are safe.
1031
- *
1032
- * @param {number} arg
1033
- * @param {Callback<[Array<AccountId20>, bigint] | undefined> =} callback
1034
- **/
1035
- depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId20>, bigint] | undefined>;
1036
- /**
1037
- * The next free referendum index, aka the number of referenda started so far.
1038
- *
1039
- * @param {Callback<number> =} callback
1040
- **/
1041
- referendumCount: GenericStorageQuery<() => number>;
1042
- /**
1043
- * The lowest referendum index representing an unbaked referendum. Equal to
1044
- * `ReferendumCount` if there isn't a unbaked referendum.
1045
- *
1046
- * @param {Callback<number> =} callback
1047
- **/
1048
- lowestUnbaked: GenericStorageQuery<() => number>;
1049
- /**
1050
- * Information concerning any given referendum.
1051
- *
1052
- * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
1053
- *
1054
- * @param {number} arg
1055
- * @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
1056
- **/
1057
- referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined>;
1058
- /**
1059
- * All votes for a particular voter. We store the balance for the number of votes that we
1060
- * have recorded. The second item is the total amount of delegations, that will be added.
1061
- *
1062
- * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
1063
- *
1064
- * @param {AccountId20Like} arg
1065
- * @param {Callback<PalletDemocracyVoteVoting> =} callback
1066
- **/
1067
- votingOf: GenericStorageQuery<(arg: AccountId20Like) => PalletDemocracyVoteVoting>;
1068
- /**
1069
- * True if the last referendum tabled was submitted externally. False if it was a public
1070
- * proposal.
1071
- *
1072
- * @param {Callback<boolean> =} callback
1073
- **/
1074
- lastTabledWasExternal: GenericStorageQuery<() => boolean>;
1075
- /**
1076
- * The referendum to be tabled whenever it would be valid to table an external proposal.
1077
- * This happens when a referendum needs to be tabled and one of two conditions are met:
1078
- * - `LastTabledWasExternal` is `false`; or
1079
- * - `PublicProps` is empty.
1080
- *
1081
- * @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
1082
- **/
1083
- nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
1084
- /**
1085
- * A record of who vetoed what. Maps proposal hash to a possible existent block number
1086
- * (until when it may not be resubmitted) and who vetoed it.
1087
- *
1088
- * @param {H256} arg
1089
- * @param {Callback<[number, Array<AccountId20>] | undefined> =} callback
1090
- **/
1091
- blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId20>] | undefined>;
1092
- /**
1093
- * Record of all proposals that have been subject to emergency cancellation.
1094
- *
1095
- * @param {H256} arg
1096
- * @param {Callback<boolean> =} callback
1097
- **/
1098
- cancellations: GenericStorageQuery<(arg: H256) => boolean>;
1099
- /**
1100
- * General information concerning any proposal or referendum.
1101
- * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1102
- * dump or IPFS hash of a JSON file.
1103
- *
1104
- * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1105
- * large preimages.
1106
- *
1107
- * @param {PalletDemocracyMetadataOwner} arg
1108
- * @param {Callback<H256 | undefined> =} callback
1109
- **/
1110
- metadataOf: GenericStorageQuery<(arg: PalletDemocracyMetadataOwner) => H256 | undefined>;
1111
- /**
1112
- * Generic pallet storage query
1113
- **/
1114
- [storage: string]: GenericStorageQuery;
1115
- };
1116
- /**
1117
- * Pallet `Preimage`'s storage queries
1118
- **/
1119
- preimage: {
1120
- /**
1121
- * The request status of a given hash.
1122
- *
1123
- * @param {H256} arg
1124
- * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
1125
- **/
1126
- statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined>;
1127
- /**
1128
- * The request status of a given hash.
1129
- *
1130
- * @param {H256} arg
1131
- * @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
1132
- **/
1133
- requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined>;
1134
- /**
1135
- *
1136
- * @param {[H256, number]} arg
1137
- * @param {Callback<Bytes | undefined> =} callback
1138
- **/
1139
- preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined>;
1140
- /**
1141
- * Generic pallet storage query
1142
- **/
1143
- [storage: string]: GenericStorageQuery;
1144
- };
1145
- /**
1146
- * Pallet `ConvictionVoting`'s storage queries
1147
- **/
1148
- convictionVoting: {
1149
- /**
1150
- * All voting for a particular voter in a particular voting class. We store the balance for the
1151
- * number of votes that we have recorded.
1152
- *
1153
- * @param {[AccountId20Like, number]} arg
1154
- * @param {Callback<PalletConvictionVotingVoteVoting> =} callback
1155
- **/
1156
- votingFor: GenericStorageQuery<(arg: [AccountId20Like, number]) => PalletConvictionVotingVoteVoting>;
1157
- /**
1158
- * The voting classes which have a non-zero lock requirement and the lock amounts which they
1159
- * require. The actual amount locked on behalf of this pallet should always be the maximum of
1160
- * this list.
1161
- *
1162
- * @param {AccountId20Like} arg
1163
- * @param {Callback<Array<[number, bigint]>> =} callback
1164
- **/
1165
- classLocksFor: GenericStorageQuery<(arg: AccountId20Like) => Array<[number, bigint]>>;
1166
- /**
1167
- * Generic pallet storage query
1168
- **/
1169
- [storage: string]: GenericStorageQuery;
1170
- };
1171
- /**
1172
- * Pallet `Referenda`'s storage queries
1173
- **/
1174
- referenda: {
1175
- /**
1176
- * The next free referendum index, aka the number of referenda started so far.
1177
- *
1178
- * @param {Callback<number> =} callback
1179
- **/
1180
- referendumCount: GenericStorageQuery<() => number>;
1181
- /**
1182
- * Information concerning any given referendum.
1183
- *
1184
- * @param {number} arg
1185
- * @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
1186
- **/
1187
- referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined>;
1188
- /**
1189
- * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1190
- * conviction-weighted approvals.
1191
- *
1192
- * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1193
- *
1194
- * @param {number} arg
1195
- * @param {Callback<Array<[number, bigint]>> =} callback
1196
- **/
1197
- trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>>;
1198
- /**
1199
- * The number of referenda being decided currently.
1200
- *
1201
- * @param {number} arg
1202
- * @param {Callback<number> =} callback
1203
- **/
1204
- decidingCount: GenericStorageQuery<(arg: number) => number>;
1205
- /**
1206
- * The metadata is a general information concerning the referendum.
1207
- * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1208
- * dump or IPFS hash of a JSON file.
1209
- *
1210
- * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1211
- * large preimages.
1212
- *
1213
- * @param {number} arg
1214
- * @param {Callback<H256 | undefined> =} callback
1215
- **/
1216
- metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined>;
1217
- /**
1218
- * Generic pallet storage query
1219
- **/
1220
- [storage: string]: GenericStorageQuery;
1221
- };
1222
- /**
1223
- * Pallet `Whitelist`'s storage queries
1224
- **/
1225
- whitelist: {
1226
- /**
1227
- *
1228
- * @param {H256} arg
1229
- * @param {Callback<[] | undefined> =} callback
1230
- **/
1231
- whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined>;
1232
- /**
1233
- * Generic pallet storage query
1234
- **/
1235
- [storage: string]: GenericStorageQuery;
1236
- };
1237
- /**
1238
- * Pallet `CouncilCollective`'s storage queries
1239
- **/
1240
- councilCollective: {
1241
- /**
1242
- * The hashes of the active proposals.
1243
- *
1244
- * @param {Callback<Array<H256>> =} callback
1245
- **/
1246
- proposals: GenericStorageQuery<() => Array<H256>>;
1247
- /**
1248
- * Actual proposal for a given hash, if it's current.
1249
- *
1250
- * @param {H256} arg
1251
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1252
- **/
1253
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1254
- /**
1255
- * Votes on a given proposal, if it is ongoing.
1256
- *
1257
- * @param {H256} arg
1258
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1259
- **/
1260
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1261
- /**
1262
- * Proposals so far.
1263
- *
1264
- * @param {Callback<number> =} callback
1265
- **/
1266
- proposalCount: GenericStorageQuery<() => number>;
1267
- /**
1268
- * The current members of the collective. This is stored sorted (just by value).
1269
- *
1270
- * @param {Callback<Array<AccountId20>> =} callback
1271
- **/
1272
- members: GenericStorageQuery<() => Array<AccountId20>>;
1273
- /**
1274
- * The prime member that helps determine the default vote behavior in case of absentations.
1275
- *
1276
- * @param {Callback<AccountId20 | undefined> =} callback
1277
- **/
1278
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1279
- /**
1280
- * Generic pallet storage query
1281
- **/
1282
- [storage: string]: GenericStorageQuery;
1283
- };
1284
- /**
1285
- * Pallet `TechCommitteeCollective`'s storage queries
1286
- **/
1287
- techCommitteeCollective: {
1288
- /**
1289
- * The hashes of the active proposals.
1290
- *
1291
- * @param {Callback<Array<H256>> =} callback
1292
- **/
1293
- proposals: GenericStorageQuery<() => Array<H256>>;
1294
- /**
1295
- * Actual proposal for a given hash, if it's current.
1296
- *
1297
- * @param {H256} arg
1298
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1299
- **/
1300
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1301
- /**
1302
- * Votes on a given proposal, if it is ongoing.
1303
- *
1304
- * @param {H256} arg
1305
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1306
- **/
1307
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1308
- /**
1309
- * Proposals so far.
1310
- *
1311
- * @param {Callback<number> =} callback
1312
- **/
1313
- proposalCount: GenericStorageQuery<() => number>;
1314
- /**
1315
- * The current members of the collective. This is stored sorted (just by value).
1316
- *
1317
- * @param {Callback<Array<AccountId20>> =} callback
1318
- **/
1319
- members: GenericStorageQuery<() => Array<AccountId20>>;
1320
- /**
1321
- * The prime member that helps determine the default vote behavior in case of absentations.
1322
- *
1323
- * @param {Callback<AccountId20 | undefined> =} callback
1324
- **/
1325
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1326
- /**
1327
- * Generic pallet storage query
1328
- **/
1329
- [storage: string]: GenericStorageQuery;
1330
- };
1331
- /**
1332
- * Pallet `TreasuryCouncilCollective`'s storage queries
1333
- **/
1334
- treasuryCouncilCollective: {
1335
- /**
1336
- * The hashes of the active proposals.
1337
- *
1338
- * @param {Callback<Array<H256>> =} callback
1339
- **/
1340
- proposals: GenericStorageQuery<() => Array<H256>>;
1341
- /**
1342
- * Actual proposal for a given hash, if it's current.
1343
- *
1344
- * @param {H256} arg
1345
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1346
- **/
1347
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1348
- /**
1349
- * Votes on a given proposal, if it is ongoing.
1350
- *
1351
- * @param {H256} arg
1352
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1353
- **/
1354
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1355
- /**
1356
- * Proposals so far.
1357
- *
1358
- * @param {Callback<number> =} callback
1359
- **/
1360
- proposalCount: GenericStorageQuery<() => number>;
1361
- /**
1362
- * The current members of the collective. This is stored sorted (just by value).
1363
- *
1364
- * @param {Callback<Array<AccountId20>> =} callback
1365
- **/
1366
- members: GenericStorageQuery<() => Array<AccountId20>>;
1367
- /**
1368
- * The prime member that helps determine the default vote behavior in case of absentations.
1369
- *
1370
- * @param {Callback<AccountId20 | undefined> =} callback
1371
- **/
1372
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1373
- /**
1374
- * Generic pallet storage query
1375
- **/
1376
- [storage: string]: GenericStorageQuery;
1377
- };
1378
- /**
1379
- * Pallet `OpenTechCommitteeCollective`'s storage queries
1380
- **/
1381
- openTechCommitteeCollective: {
1382
- /**
1383
- * The hashes of the active proposals.
1384
- *
1385
- * @param {Callback<Array<H256>> =} callback
1386
- **/
1387
- proposals: GenericStorageQuery<() => Array<H256>>;
1388
- /**
1389
- * Actual proposal for a given hash, if it's current.
1390
- *
1391
- * @param {H256} arg
1392
- * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1393
- **/
1394
- proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1395
- /**
1396
- * Votes on a given proposal, if it is ongoing.
1397
- *
1398
- * @param {H256} arg
1399
- * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1400
- **/
1401
- voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1402
- /**
1403
- * Proposals so far.
1404
- *
1405
- * @param {Callback<number> =} callback
1406
- **/
1407
- proposalCount: GenericStorageQuery<() => number>;
1408
- /**
1409
- * The current members of the collective. This is stored sorted (just by value).
1410
- *
1411
- * @param {Callback<Array<AccountId20>> =} callback
1412
- **/
1413
- members: GenericStorageQuery<() => Array<AccountId20>>;
1414
- /**
1415
- * The prime member that helps determine the default vote behavior in case of absentations.
1416
- *
1417
- * @param {Callback<AccountId20 | undefined> =} callback
1418
- **/
1419
- prime: GenericStorageQuery<() => AccountId20 | undefined>;
1420
- /**
1421
- * Generic pallet storage query
1422
- **/
1423
- [storage: string]: GenericStorageQuery;
1424
- };
1425
- /**
1426
- * Pallet `Treasury`'s storage queries
1427
- **/
1428
- treasury: {
1429
- /**
1430
- * Number of proposals that have been made.
1431
- *
1432
- * @param {Callback<number> =} callback
1433
- **/
1434
- proposalCount: GenericStorageQuery<() => number>;
1435
- /**
1436
- * Proposals that have been made.
1437
- *
1438
- * @param {number} arg
1439
- * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1440
- **/
1441
- proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined>;
1442
- /**
1443
- * The amount which has been reported as inactive to Currency.
1444
- *
1445
- * @param {Callback<bigint> =} callback
1446
- **/
1447
- deactivated: GenericStorageQuery<() => bigint>;
1448
- /**
1449
- * Proposal indices that have been approved but not yet awarded.
1450
- *
1451
- * @param {Callback<Array<number>> =} callback
1452
- **/
1453
- approvals: GenericStorageQuery<() => Array<number>>;
1454
- /**
1455
- * The count of spends that have been made.
1456
- *
1457
- * @param {Callback<number> =} callback
1458
- **/
1459
- spendCount: GenericStorageQuery<() => number>;
1460
- /**
1461
- * Spends that have been approved and being processed.
1462
- *
1463
- * @param {number} arg
1464
- * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1465
- **/
1466
- spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined>;
1467
- /**
1468
- * Generic pallet storage query
1469
- **/
1470
- [storage: string]: GenericStorageQuery;
1471
- };
1472
- /**
1473
- * Pallet `CrowdloanRewards`'s storage queries
1474
- **/
1475
- crowdloanRewards: {
1476
- /**
1477
- *
1478
- * @param {AccountId20Like} arg
1479
- * @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
1480
- **/
1481
- accountsPayable: GenericStorageQuery<(arg: AccountId20Like) => PalletCrowdloanRewardsRewardInfo | undefined>;
1482
- /**
1483
- *
1484
- * @param {FixedBytes<32>} arg
1485
- * @param {Callback<[] | undefined> =} callback
1486
- **/
1487
- claimedRelayChainIds: GenericStorageQuery<(arg: FixedBytes<32>) => [] | undefined>;
1488
- /**
1489
- *
1490
- * @param {FixedBytes<32>} arg
1491
- * @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
1492
- **/
1493
- unassociatedContributions: GenericStorageQuery<(arg: FixedBytes<32>) => PalletCrowdloanRewardsRewardInfo | undefined>;
1494
- /**
1495
- *
1496
- * @param {Callback<boolean> =} callback
1497
- **/
1498
- initialized: GenericStorageQuery<() => boolean>;
1499
- /**
1500
- * Vesting block height at the initialization of the pallet
1501
- *
1502
- * @param {Callback<number> =} callback
1503
- **/
1504
- initRelayBlock: GenericStorageQuery<() => number>;
1505
- /**
1506
- * Vesting block height at the initialization of the pallet
1507
- *
1508
- * @param {Callback<number> =} callback
1509
- **/
1510
- endRelayBlock: GenericStorageQuery<() => number>;
1511
- /**
1512
- * Total initialized amount so far. We store this to make pallet funds == contributors reward
1513
- * check easier and more efficient
1514
- *
1515
- * @param {Callback<bigint> =} callback
1516
- **/
1517
- initializedRewardAmount: GenericStorageQuery<() => bigint>;
1518
- /**
1519
- * Total number of contributors to aid hinting benchmarking
1520
- *
1521
- * @param {Callback<number> =} callback
1522
- **/
1523
- totalContributors: GenericStorageQuery<() => number>;
1524
- /**
1525
- * Generic pallet storage query
1526
- **/
1527
- [storage: string]: GenericStorageQuery;
1528
- };
1529
- /**
1530
- * Pallet `XcmpQueue`'s storage queries
1531
- **/
1532
- xcmpQueue: {
1533
- /**
1534
- * Status of the inbound XCMP channels.
1535
- *
1536
- * @param {Callback<Array<CumulusPalletXcmpQueueInboundChannelDetails>> =} callback
1537
- **/
1538
- inboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueInboundChannelDetails>>;
1539
- /**
1540
- * Inbound aggregate XCMP messages. It can only be one per ParaId/block.
1541
- *
1542
- * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
1543
- * @param {Callback<Bytes> =} callback
1544
- **/
1545
- inboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
1546
- /**
1547
- * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
1548
- * and last outbound message. If the two indices are equal, then it indicates an empty
1549
- * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
1550
- * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
1551
- * case of the need to send a high-priority signal message this block.
1552
- * The bool is true if there is a signal message waiting to be sent.
1553
- *
1554
- * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
1555
- **/
1556
- outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
1557
- /**
1558
- * The messages outbound in a given XCMP channel.
1559
- *
1560
- * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
1561
- * @param {Callback<Bytes> =} callback
1562
- **/
1563
- outboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
1564
- /**
1565
- * Any signal messages waiting to be sent.
1566
- *
1567
- * @param {PolkadotParachainPrimitivesPrimitivesId} arg
1568
- * @param {Callback<Bytes> =} callback
1569
- **/
1570
- signalMessages: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes>;
1571
- /**
1572
- * The configuration which controls the dynamics of the outbound queue.
1573
- *
1574
- * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
1575
- **/
1576
- queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
1577
- /**
1578
- * The messages that exceeded max individual message weight budget.
1579
- *
1580
- * These message stay in this storage map until they are manually dispatched via
1581
- * `service_overweight`.
1582
- *
1583
- * @param {bigint} arg
1584
- * @param {Callback<[PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined> =} callback
1585
- **/
1586
- overweight: GenericStorageQuery<(arg: bigint) => [PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined>;
1587
- /**
1588
- * Counter for the related counted storage map
1589
- *
1590
- * @param {Callback<number> =} callback
1591
- **/
1592
- counterForOverweight: GenericStorageQuery<() => number>;
1593
- /**
1594
- * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next
1595
- * available free overweight index.
1596
- *
1597
- * @param {Callback<bigint> =} callback
1598
- **/
1599
- overweightCount: GenericStorageQuery<() => bigint>;
1600
- /**
1601
- * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
1602
- *
1603
- * @param {Callback<boolean> =} callback
1604
- **/
1605
- queueSuspended: GenericStorageQuery<() => boolean>;
1606
- /**
1607
- * The factor to multiply the base delivery fee by.
1608
- *
1609
- * @param {PolkadotParachainPrimitivesPrimitivesId} arg
1610
- * @param {Callback<FixedU128> =} callback
1611
- **/
1612
- deliveryFeeFactor: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128>;
1613
- /**
1614
- * Generic pallet storage query
1615
- **/
1616
- [storage: string]: GenericStorageQuery;
1617
- };
1618
- /**
1619
- * Pallet `DmpQueue`'s storage queries
1620
- **/
1621
- dmpQueue: {
1622
- /**
1623
- * The configuration.
1624
- *
1625
- * @param {Callback<CumulusPalletDmpQueueConfigData> =} callback
1626
- **/
1627
- configuration: GenericStorageQuery<() => CumulusPalletDmpQueueConfigData>;
1628
- /**
1629
- * The page index.
1630
- *
1631
- * @param {Callback<CumulusPalletDmpQueuePageIndexData> =} callback
1632
- **/
1633
- pageIndex: GenericStorageQuery<() => CumulusPalletDmpQueuePageIndexData>;
1634
- /**
1635
- * The queue pages.
1636
- *
1637
- * @param {number} arg
1638
- * @param {Callback<Array<[number, Bytes]>> =} callback
1639
- **/
1640
- pages: GenericStorageQuery<(arg: number) => Array<[number, Bytes]>>;
1641
- /**
1642
- * The overweight messages.
1643
- *
1644
- * @param {bigint} arg
1645
- * @param {Callback<[number, Bytes] | undefined> =} callback
1646
- **/
1647
- overweight: GenericStorageQuery<(arg: bigint) => [number, Bytes] | undefined>;
1648
- /**
1649
- * Counter for the related counted storage map
1650
- *
1651
- * @param {Callback<number> =} callback
1652
- **/
1653
- counterForOverweight: GenericStorageQuery<() => number>;
1654
- /**
1655
- * Generic pallet storage query
1656
- **/
1657
- [storage: string]: GenericStorageQuery;
1658
- };
1659
- /**
1660
- * Pallet `PolkadotXcm`'s storage queries
1661
- **/
1662
- polkadotXcm: {
1663
- /**
1664
- * The latest available query index.
1665
- *
1666
- * @param {Callback<bigint> =} callback
1667
- **/
1668
- queryCounter: GenericStorageQuery<() => bigint>;
1669
- /**
1670
- * The ongoing queries.
1671
- *
1672
- * @param {bigint} arg
1673
- * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
1674
- **/
1675
- queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined>;
1676
- /**
1677
- * The existing asset traps.
1678
- *
1679
- * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
1680
- * times this pair has been trapped (usually just 1 if it exists at all).
1681
- *
1682
- * @param {H256} arg
1683
- * @param {Callback<number> =} callback
1684
- **/
1685
- assetTraps: GenericStorageQuery<(arg: H256) => number>;
1686
- /**
1687
- * Default version to encode XCM when latest version of destination is unknown. If `None`,
1688
- * then the destinations whose XCM version is unknown are considered unreachable.
1689
- *
1690
- * @param {Callback<number | undefined> =} callback
1691
- **/
1692
- safeXcmVersion: GenericStorageQuery<() => number | undefined>;
1693
- /**
1694
- * The Latest versions that we know various locations support.
1695
- *
1696
- * @param {[number, XcmVersionedMultiLocation]} arg
1697
- * @param {Callback<number | undefined> =} callback
1698
- **/
1699
- supportedVersion: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => number | undefined>;
1700
- /**
1701
- * All locations that we have requested version notifications from.
1702
- *
1703
- * @param {[number, XcmVersionedMultiLocation]} arg
1704
- * @param {Callback<bigint | undefined> =} callback
1705
- **/
1706
- versionNotifiers: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => bigint | undefined>;
1707
- /**
1708
- * The target locations that are subscribed to our version changes, as well as the most recent
1709
- * of our versions we informed them of.
1710
- *
1711
- * @param {[number, XcmVersionedMultiLocation]} arg
1712
- * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
1713
- **/
1714
- versionNotifyTargets: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined>;
1715
- /**
1716
- * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
1717
- * the `u32` counter is the number of times that a send to the destination has been attempted,
1718
- * which is used as a prioritization.
1719
- *
1720
- * @param {Callback<Array<[XcmVersionedMultiLocation, number]>> =} callback
1721
- **/
1722
- versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedMultiLocation, number]>>;
1723
- /**
1724
- * The current migration's stage, if any.
1725
- *
1726
- * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
1727
- **/
1728
- currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
1729
- /**
1730
- * Fungible assets which we know are locked on a remote chain.
1731
- *
1732
- * @param {[number, AccountId20Like, XcmVersionedAssetId]} arg
1733
- * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
1734
- **/
1735
- remoteLockedFungibles: GenericStorageQuery<(arg: [number, AccountId20Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined>;
1736
- /**
1737
- * Fungible assets which we know are locked on this chain.
1738
- *
1739
- * @param {AccountId20Like} arg
1740
- * @param {Callback<Array<[bigint, XcmVersionedMultiLocation]> | undefined> =} callback
1741
- **/
1742
- lockedFungibles: GenericStorageQuery<(arg: AccountId20Like) => Array<[bigint, XcmVersionedMultiLocation]> | undefined>;
1743
- /**
1744
- * Global suspension state of the XCM executor.
1745
- *
1746
- * @param {Callback<boolean> =} callback
1747
- **/
1748
- xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
1749
- /**
1750
- * Generic pallet storage query
1751
- **/
1752
- [storage: string]: GenericStorageQuery;
1753
- };
1754
- /**
1755
- * Pallet `Assets`'s storage queries
1756
- **/
1757
- assets: {
1758
- /**
1759
- * Details of an asset.
1760
- *
1761
- * @param {bigint} arg
1762
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1763
- **/
1764
- asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined>;
1765
- /**
1766
- * The holdings of a specific account for a specific asset.
1767
- *
1768
- * @param {[bigint, AccountId20Like]} arg
1769
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1770
- **/
1771
- account: GenericStorageQuery<(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined>;
1772
- /**
1773
- * Approved balance transfers. First balance is the amount approved for transfer. Second
1774
- * is the amount of `T::Currency` reserved for storing this.
1775
- * First key is the asset ID, second key is the owner and third key is the delegate.
1776
- *
1777
- * @param {[bigint, AccountId20Like, AccountId20Like]} arg
1778
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
1779
- **/
1780
- approvals: GenericStorageQuery<(arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined>;
1781
- /**
1782
- * Metadata of an asset.
1783
- *
1784
- * @param {bigint} arg
1785
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
1786
- **/
1787
- metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata>;
1788
- /**
1789
- * Generic pallet storage query
1790
- **/
1791
- [storage: string]: GenericStorageQuery;
1792
- };
1793
- /**
1794
- * Pallet `AssetManager`'s storage queries
1795
- **/
1796
- assetManager: {
1797
- /**
1798
- * Mapping from an asset id to asset type.
1799
- * This is mostly used when receiving transaction specifying an asset directly,
1800
- * like transferring an asset from this chain to another.
1801
- *
1802
- * @param {bigint} arg
1803
- * @param {Callback<MoonbeamRuntimeXcmConfigAssetType | undefined> =} callback
1804
- **/
1805
- assetIdType: GenericStorageQuery<(arg: bigint) => MoonbeamRuntimeXcmConfigAssetType | undefined>;
1806
- /**
1807
- * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id.
1808
- * This is mostly used when receiving a multilocation XCM message to retrieve
1809
- * the corresponding asset in which tokens should me minted.
1810
- *
1811
- * @param {MoonbeamRuntimeXcmConfigAssetType} arg
1812
- * @param {Callback<bigint | undefined> =} callback
1813
- **/
1814
- assetTypeId: GenericStorageQuery<(arg: MoonbeamRuntimeXcmConfigAssetType) => bigint | undefined>;
1815
- /**
1816
- * Stores the units per second for local execution for a AssetType.
1817
- * This is used to know how to charge for XCM execution in a particular
1818
- * asset
1819
- * Not all assets might contain units per second, hence the different storage
1820
- *
1821
- * @param {MoonbeamRuntimeXcmConfigAssetType} arg
1822
- * @param {Callback<bigint | undefined> =} callback
1823
- **/
1824
- assetTypeUnitsPerSecond: GenericStorageQuery<(arg: MoonbeamRuntimeXcmConfigAssetType) => bigint | undefined>;
1825
- /**
1826
- * Stores the counter of the number of local assets that have been
1827
- * created so far
1828
- * This value can be used to salt the creation of an assetId, e.g.,
1829
- * by hashing it. This is particularly useful for cases like moonbeam
1830
- * where letting users choose their assetId would result in collision
1831
- * in the evm side.
1832
- *
1833
- * @param {Callback<bigint> =} callback
1834
- **/
1835
- localAssetCounter: GenericStorageQuery<() => bigint>;
1836
- /**
1837
- * Local asset deposits, a mapping from assetId to a struct
1838
- * holding the creator (from which the deposit was reserved) and
1839
- * the deposit amount
1840
- *
1841
- * @param {bigint} arg
1842
- * @param {Callback<PalletAssetManagerAssetInfo | undefined> =} callback
1843
- **/
1844
- localAssetDeposit: GenericStorageQuery<(arg: bigint) => PalletAssetManagerAssetInfo | undefined>;
1845
- /**
1846
- *
1847
- * @param {Callback<Array<MoonbeamRuntimeXcmConfigAssetType>> =} callback
1848
- **/
1849
- supportedFeePaymentAssets: GenericStorageQuery<() => Array<MoonbeamRuntimeXcmConfigAssetType>>;
1850
- /**
1851
- * Generic pallet storage query
1852
- **/
1853
- [storage: string]: GenericStorageQuery;
1854
- };
1855
- /**
1856
- * Pallet `XTokens`'s storage queries
1857
- **/
1858
- xTokens: {
1859
- /**
1860
- * Generic pallet storage query
1861
- **/
1862
- [storage: string]: GenericStorageQuery;
1863
- };
1864
- /**
1865
- * Pallet `XcmTransactor`'s storage queries
1866
- **/
1867
- xcmTransactor: {
1868
- /**
1869
- * Since we are using pallet-utility for account derivation (through AsDerivative),
1870
- * we need to provide an index for the account derivation. This storage item stores the index
1871
- * assigned for a given local account. These indices are usable as derivative in the relay chain
1872
- *
1873
- * @param {number} arg
1874
- * @param {Callback<AccountId20 | undefined> =} callback
1875
- **/
1876
- indexToAccount: GenericStorageQuery<(arg: number) => AccountId20 | undefined>;
1877
- /**
1878
- * Stores the transact info of a MultiLocation. This defines how much extra weight we need to
1879
- * add when we want to transact in the destination chain and maximum amount of weight allowed
1880
- * by the destination chain
1881
- *
1882
- * @param {StagingXcmV3MultilocationMultiLocation} arg
1883
- * @param {Callback<PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined> =} callback
1884
- **/
1885
- transactInfoWithWeightLimit: GenericStorageQuery<(arg: StagingXcmV3MultilocationMultiLocation) => PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined>;
1886
- /**
1887
- * Stores the fee per second for an asset in its reserve chain. This allows us to convert
1888
- * from weight to fee
1889
- *
1890
- * @param {StagingXcmV3MultilocationMultiLocation} arg
1891
- * @param {Callback<bigint | undefined> =} callback
1892
- **/
1893
- destinationAssetFeePerSecond: GenericStorageQuery<(arg: StagingXcmV3MultilocationMultiLocation) => bigint | undefined>;
1894
- /**
1895
- * Stores the indices of relay chain pallets
1896
- *
1897
- * @param {Callback<PalletXcmTransactorRelayIndicesRelayChainIndices> =} callback
1898
- **/
1899
- relayIndices: GenericStorageQuery<() => PalletXcmTransactorRelayIndicesRelayChainIndices>;
1900
- /**
1901
- * Generic pallet storage query
1902
- **/
1903
- [storage: string]: GenericStorageQuery;
1904
- };
1905
- /**
1906
- * Pallet `LocalAssets`'s storage queries
1907
- **/
1908
- localAssets: {
1909
- /**
1910
- * Details of an asset.
1911
- *
1912
- * @param {bigint} arg
1913
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1914
- **/
1915
- asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined>;
1916
- /**
1917
- * The holdings of a specific account for a specific asset.
1918
- *
1919
- * @param {[bigint, AccountId20Like]} arg
1920
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1921
- **/
1922
- account: GenericStorageQuery<(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined>;
1923
- /**
1924
- * Approved balance transfers. First balance is the amount approved for transfer. Second
1925
- * is the amount of `T::Currency` reserved for storing this.
1926
- * First key is the asset ID, second key is the owner and third key is the delegate.
1927
- *
1928
- * @param {[bigint, AccountId20Like, AccountId20Like]} arg
1929
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
1930
- **/
1931
- approvals: GenericStorageQuery<(arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined>;
1932
- /**
1933
- * Metadata of an asset.
1934
- *
1935
- * @param {bigint} arg
1936
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
1937
- **/
1938
- metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata>;
1939
- /**
1940
- * Generic pallet storage query
1941
- **/
1942
- [storage: string]: GenericStorageQuery;
1943
- };
1944
- /**
1945
- * Pallet `EthereumXcm`'s storage queries
1946
- **/
1947
- ethereumXcm: {
1948
- /**
1949
- * Global nonce used for building Ethereum transaction payload.
1950
- *
1951
- * @param {Callback<U256> =} callback
1952
- **/
1953
- nonce: GenericStorageQuery<() => U256>;
1954
- /**
1955
- * Whether or not Ethereum-XCM is suspended from executing
1956
- *
1957
- * @param {Callback<boolean> =} callback
1958
- **/
1959
- ethereumXcmSuspended: GenericStorageQuery<() => boolean>;
1960
- /**
1961
- * Generic pallet storage query
1962
- **/
1963
- [storage: string]: GenericStorageQuery;
1964
- };
1965
- /**
1966
- * Pallet `Randomness`'s storage queries
1967
- **/
1968
- randomness: {
1969
- /**
1970
- * Randomness requests not yet fulfilled or purged
1971
- *
1972
- * @param {bigint} arg
1973
- * @param {Callback<PalletRandomnessRequestState | undefined> =} callback
1974
- **/
1975
- requests: GenericStorageQuery<(arg: bigint) => PalletRandomnessRequestState | undefined>;
1976
- /**
1977
- * Number of randomness requests made so far, used to generate the next request's uid
1978
- *
1979
- * @param {Callback<bigint> =} callback
1980
- **/
1981
- requestCount: GenericStorageQuery<() => bigint>;
1982
- /**
1983
- * Current local per-block VRF randomness
1984
- * Set in `on_initialize`
1985
- *
1986
- * @param {Callback<H256 | undefined> =} callback
1987
- **/
1988
- localVrfOutput: GenericStorageQuery<() => H256 | undefined>;
1989
- /**
1990
- * Relay epoch
1991
- *
1992
- * @param {Callback<bigint> =} callback
1993
- **/
1994
- relayEpoch: GenericStorageQuery<() => bigint>;
1995
- /**
1996
- * Ensures the mandatory inherent was included in the block
1997
- *
1998
- * @param {Callback<[] | undefined> =} callback
1999
- **/
2000
- inherentIncluded: GenericStorageQuery<() => [] | undefined>;
2001
- /**
2002
- * Records whether this is the first block (genesis or runtime upgrade)
2003
- *
2004
- * @param {Callback<[] | undefined> =} callback
2005
- **/
2006
- notFirstBlock: GenericStorageQuery<() => [] | undefined>;
2007
- /**
2008
- * Snapshot of randomness to fulfill all requests that are for the same raw randomness
2009
- * Removed once $value.request_count == 0
2010
- *
2011
- * @param {PalletRandomnessRequestType} arg
2012
- * @param {Callback<PalletRandomnessRandomnessResult | undefined> =} callback
2013
- **/
2014
- randomnessResults: GenericStorageQuery<(arg: PalletRandomnessRequestType) => PalletRandomnessRandomnessResult | undefined>;
2015
- /**
2016
- * Previous local per-block VRF randomness
2017
- * Set in `on_finalize` of last block
2018
- *
2019
- * @param {Callback<H256> =} callback
2020
- **/
2021
- previousLocalVrfOutput: GenericStorageQuery<() => H256>;
2022
- /**
2023
- * Generic pallet storage query
2024
- **/
2025
- [storage: string]: GenericStorageQuery;
2026
- };
114
+ * The full account information for a particular account ID.
115
+ *
116
+ * @param {AccountId20Like} arg
117
+ * @param {Callback<FrameSystemAccountInfo> =} callback
118
+ **/
119
+ account: GenericStorageQuery<(arg: AccountId20Like) => FrameSystemAccountInfo>;
120
+
121
+ /**
122
+ * Total extrinsics count for the current block.
123
+ *
124
+ * @param {Callback<number | undefined> =} callback
125
+ **/
126
+ extrinsicCount: GenericStorageQuery<() => number | undefined>;
127
+
128
+ /**
129
+ * The current weight for the block.
130
+ *
131
+ * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
132
+ **/
133
+ blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
134
+
135
+ /**
136
+ * Total length (in bytes) for all extrinsics put together, for the current block.
137
+ *
138
+ * @param {Callback<number | undefined> =} callback
139
+ **/
140
+ allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
141
+
142
+ /**
143
+ * Map of block numbers to block hashes.
144
+ *
145
+ * @param {number} arg
146
+ * @param {Callback<H256> =} callback
147
+ **/
148
+ blockHash: GenericStorageQuery<(arg: number) => H256>;
149
+
150
+ /**
151
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
152
+ *
153
+ * @param {number} arg
154
+ * @param {Callback<Bytes> =} callback
155
+ **/
156
+ extrinsicData: GenericStorageQuery<(arg: number) => Bytes>;
157
+
158
+ /**
159
+ * The current block number being processed. Set by `execute_block`.
160
+ *
161
+ * @param {Callback<number> =} callback
162
+ **/
163
+ number: GenericStorageQuery<() => number>;
164
+
165
+ /**
166
+ * Hash of the previous block.
167
+ *
168
+ * @param {Callback<H256> =} callback
169
+ **/
170
+ parentHash: GenericStorageQuery<() => H256>;
171
+
172
+ /**
173
+ * Digest of the current block, also part of the block header.
174
+ *
175
+ * @param {Callback<Digest> =} callback
176
+ **/
177
+ digest: GenericStorageQuery<() => Digest>;
178
+
179
+ /**
180
+ * Events deposited for the current block.
181
+ *
182
+ * NOTE: The item is unbound and should therefore never be read on chain.
183
+ * It could otherwise inflate the PoV size of a block.
184
+ *
185
+ * Events have a large in-memory size. Box the events to not go out-of-memory
186
+ * just in case someone still reads them from within the runtime.
187
+ *
188
+ * @param {Callback<Array<FrameSystemEventRecord>> =} callback
189
+ **/
190
+ events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
191
+
192
+ /**
193
+ * The number of events in the `Events<T>` list.
194
+ *
195
+ * @param {Callback<number> =} callback
196
+ **/
197
+ eventCount: GenericStorageQuery<() => number>;
198
+
199
+ /**
200
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
201
+ * of events in the `<Events<T>>` list.
202
+ *
203
+ * All topic vectors have deterministic storage locations depending on the topic. This
204
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
205
+ * in case of changes fetch the list of events of interest.
206
+ *
207
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
208
+ * the `EventIndex` then in case if the topic has the same contents on the next block
209
+ * no notification will be triggered thus the event might be lost.
210
+ *
211
+ * @param {H256} arg
212
+ * @param {Callback<Array<[number, number]>> =} callback
213
+ **/
214
+ eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>>;
215
+
216
+ /**
217
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
218
+ *
219
+ * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
220
+ **/
221
+ lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
222
+
223
+ /**
224
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
225
+ *
226
+ * @param {Callback<boolean> =} callback
227
+ **/
228
+ upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
229
+
230
+ /**
231
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
232
+ * (default) if not.
233
+ *
234
+ * @param {Callback<boolean> =} callback
235
+ **/
236
+ upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
237
+
238
+ /**
239
+ * The execution phase of the block.
240
+ *
241
+ * @param {Callback<Phase | undefined> =} callback
242
+ **/
243
+ executionPhase: GenericStorageQuery<() => Phase | undefined>;
244
+
245
+ /**
246
+ * Generic pallet storage query
247
+ **/
248
+ [storage: string]: GenericStorageQuery;
249
+ };
250
+ /**
251
+ * Pallet `ParachainSystem`'s storage queries
252
+ **/
253
+ parachainSystem: {
254
+ /**
255
+ * Latest included block descendants the runtime accepted. In other words, these are
256
+ * ancestors of the currently executing block which have not been included in the observed
257
+ * relay-chain state.
258
+ *
259
+ * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
260
+ * in the pallet.
261
+ *
262
+ * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
263
+ **/
264
+ unincludedSegment: GenericStorageQuery<() => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
265
+
266
+ /**
267
+ * Storage field that keeps track of bandwidth used by the unincluded segment along with the
268
+ * latest HRMP watermark. Used for limiting the acceptance of new blocks with
269
+ * respect to relay chain constraints.
270
+ *
271
+ * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
272
+ **/
273
+ aggregatedUnincludedSegment: GenericStorageQuery<
274
+ () => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
275
+ >;
276
+
277
+ /**
278
+ * In case of a scheduled upgrade, this storage field contains the validation code to be
279
+ * applied.
280
+ *
281
+ * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
282
+ * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
283
+ * with the new validation code. This concludes the upgrade process.
284
+ *
285
+ * @param {Callback<Bytes> =} callback
286
+ **/
287
+ pendingValidationCode: GenericStorageQuery<() => Bytes>;
288
+
289
+ /**
290
+ * Validation code that is set by the parachain and is to be communicated to collator and
291
+ * consequently the relay-chain.
292
+ *
293
+ * This will be cleared in `on_initialize` of each new block if no other pallet already set
294
+ * the value.
295
+ *
296
+ * @param {Callback<Bytes | undefined> =} callback
297
+ **/
298
+ newValidationCode: GenericStorageQuery<() => Bytes | undefined>;
299
+
300
+ /**
301
+ * The [`PersistedValidationData`] set for this block.
302
+ * This value is expected to be set only once per block and it's never stored
303
+ * in the trie.
304
+ *
305
+ * @param {Callback<PolkadotPrimitivesV6PersistedValidationData | undefined> =} callback
306
+ **/
307
+ validationData: GenericStorageQuery<() => PolkadotPrimitivesV6PersistedValidationData | undefined>;
308
+
309
+ /**
310
+ * Were the validation data set to notify the relay chain?
311
+ *
312
+ * @param {Callback<boolean> =} callback
313
+ **/
314
+ didSetValidationCode: GenericStorageQuery<() => boolean>;
315
+
316
+ /**
317
+ * The relay chain block number associated with the last parachain block.
318
+ *
319
+ * This is updated in `on_finalize`.
320
+ *
321
+ * @param {Callback<number> =} callback
322
+ **/
323
+ lastRelayChainBlockNumber: GenericStorageQuery<() => number>;
324
+
325
+ /**
326
+ * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
327
+ * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
328
+ * candidate will be invalid.
329
+ *
330
+ * This storage item is a mirror of the corresponding value for the current parachain from the
331
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
332
+ * set after the inherent.
333
+ *
334
+ * @param {Callback<PolkadotPrimitivesV6UpgradeRestriction | undefined> =} callback
335
+ **/
336
+ upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeRestriction | undefined>;
337
+
338
+ /**
339
+ * Optional upgrade go-ahead signal from the relay-chain.
340
+ *
341
+ * This storage item is a mirror of the corresponding value for the current parachain from the
342
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
343
+ * set after the inherent.
344
+ *
345
+ * @param {Callback<PolkadotPrimitivesV6UpgradeGoAhead | undefined> =} callback
346
+ **/
347
+ upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV6UpgradeGoAhead | undefined>;
348
+
349
+ /**
350
+ * The state proof for the last relay parent block.
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<SpTrieStorageProof | undefined> =} callback
358
+ **/
359
+ relayStateProof: GenericStorageQuery<() => SpTrieStorageProof | undefined>;
360
+
361
+ /**
362
+ * The snapshot of some state related to messaging relevant to the current parachain as per
363
+ * the relay parent.
364
+ *
365
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
366
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
367
+ *
368
+ * This data is also absent from the genesis.
369
+ *
370
+ * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
371
+ **/
372
+ relevantMessagingState: GenericStorageQuery<
373
+ () => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
374
+ >;
375
+
376
+ /**
377
+ * The parachain host configuration that was obtained from the relay parent.
378
+ *
379
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
380
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
381
+ *
382
+ * This data is also absent from the genesis.
383
+ *
384
+ * @param {Callback<PolkadotPrimitivesV6AbridgedHostConfiguration | undefined> =} callback
385
+ **/
386
+ hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV6AbridgedHostConfiguration | undefined>;
387
+
388
+ /**
389
+ * The last downward message queue chain head we have observed.
390
+ *
391
+ * This value is loaded before and saved after processing inbound downward messages carried
392
+ * by the system inherent.
393
+ *
394
+ * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
395
+ **/
396
+ lastDmqMqcHead: GenericStorageQuery<() => CumulusPrimitivesParachainInherentMessageQueueChain>;
397
+
398
+ /**
399
+ * The message queue chain heads we have observed per each channel incoming channel.
400
+ *
401
+ * This value is loaded before and saved after processing inbound downward messages carried
402
+ * by the system inherent.
403
+ *
404
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
405
+ **/
406
+ lastHrmpMqcHeads: GenericStorageQuery<
407
+ () => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
408
+ >;
409
+
410
+ /**
411
+ * Number of downward messages processed in a block.
412
+ *
413
+ * This will be cleared in `on_initialize` of each new block.
414
+ *
415
+ * @param {Callback<number> =} callback
416
+ **/
417
+ processedDownwardMessages: GenericStorageQuery<() => number>;
418
+
419
+ /**
420
+ * HRMP watermark that was set in a block.
421
+ *
422
+ * This will be cleared in `on_initialize` of each new block.
423
+ *
424
+ * @param {Callback<number> =} callback
425
+ **/
426
+ hrmpWatermark: GenericStorageQuery<() => number>;
427
+
428
+ /**
429
+ * HRMP messages that were sent in a block.
430
+ *
431
+ * This will be cleared in `on_initialize` of each new block.
432
+ *
433
+ * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
434
+ **/
435
+ hrmpOutboundMessages: GenericStorageQuery<() => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
436
+
437
+ /**
438
+ * Upward messages that were sent in a block.
439
+ *
440
+ * This will be cleared in `on_initialize` of each new block.
441
+ *
442
+ * @param {Callback<Array<Bytes>> =} callback
443
+ **/
444
+ upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
445
+
446
+ /**
447
+ * Upward messages that are still pending and not yet send to the relay chain.
448
+ *
449
+ * @param {Callback<Array<Bytes>> =} callback
450
+ **/
451
+ pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
452
+
453
+ /**
454
+ * The factor to multiply the base delivery fee by for UMP.
455
+ *
456
+ * @param {Callback<FixedU128> =} callback
457
+ **/
458
+ upwardDeliveryFeeFactor: GenericStorageQuery<() => FixedU128>;
459
+
460
+ /**
461
+ * The number of HRMP messages we observed in `on_initialize` and thus used that number for
462
+ * announcing the weight of `on_initialize` and `on_finalize`.
463
+ *
464
+ * @param {Callback<number> =} callback
465
+ **/
466
+ announcedHrmpMessagesPerCandidate: GenericStorageQuery<() => number>;
467
+
468
+ /**
469
+ * The weight we reserve at the beginning of the block for processing XCMP messages. This
470
+ * overrides the amount set in the Config trait.
471
+ *
472
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
473
+ **/
474
+ reservedXcmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
475
+
476
+ /**
477
+ * The weight we reserve at the beginning of the block for processing DMP messages. This
478
+ * overrides the amount set in the Config trait.
479
+ *
480
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
481
+ **/
482
+ reservedDmpWeightOverride: GenericStorageQuery<() => SpWeightsWeightV2Weight | undefined>;
483
+
484
+ /**
485
+ * The next authorized upgrade, if there is one.
486
+ *
487
+ * @param {Callback<CumulusPalletParachainSystemCodeUpgradeAuthorization | undefined> =} callback
488
+ **/
489
+ authorizedUpgrade: GenericStorageQuery<() => CumulusPalletParachainSystemCodeUpgradeAuthorization | undefined>;
490
+
491
+ /**
492
+ * A custom head data that should be returned as result of `validate_block`.
493
+ *
494
+ * See `Pallet::set_custom_validation_head_data` for more information.
495
+ *
496
+ * @param {Callback<Bytes | undefined> =} callback
497
+ **/
498
+ customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
499
+
500
+ /**
501
+ * Generic pallet storage query
502
+ **/
503
+ [storage: string]: GenericStorageQuery;
504
+ };
505
+ /**
506
+ * Pallet `Timestamp`'s storage queries
507
+ **/
508
+ timestamp: {
509
+ /**
510
+ * The current time for the current block.
511
+ *
512
+ * @param {Callback<bigint> =} callback
513
+ **/
514
+ now: GenericStorageQuery<() => bigint>;
515
+
516
+ /**
517
+ * Whether the timestamp has been updated in this block.
518
+ *
519
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
520
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
521
+ *
522
+ * @param {Callback<boolean> =} callback
523
+ **/
524
+ didUpdate: GenericStorageQuery<() => boolean>;
525
+
526
+ /**
527
+ * Generic pallet storage query
528
+ **/
529
+ [storage: string]: GenericStorageQuery;
530
+ };
531
+ /**
532
+ * Pallet `ParachainInfo`'s storage queries
533
+ **/
534
+ parachainInfo: {
535
+ /**
536
+ *
537
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
538
+ **/
539
+ parachainId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
540
+
541
+ /**
542
+ * Generic pallet storage query
543
+ **/
544
+ [storage: string]: GenericStorageQuery;
545
+ };
546
+ /**
547
+ * Pallet `RootTesting`'s storage queries
548
+ **/
549
+ rootTesting: {
550
+ /**
551
+ * Generic pallet storage query
552
+ **/
553
+ [storage: string]: GenericStorageQuery;
554
+ };
555
+ /**
556
+ * Pallet `Balances`'s storage queries
557
+ **/
558
+ balances: {
559
+ /**
560
+ * The total units issued in the system.
561
+ *
562
+ * @param {Callback<bigint> =} callback
563
+ **/
564
+ totalIssuance: GenericStorageQuery<() => bigint>;
565
+
566
+ /**
567
+ * The total units of outstanding deactivated balance in the system.
568
+ *
569
+ * @param {Callback<bigint> =} callback
570
+ **/
571
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
572
+
573
+ /**
574
+ * The Balances pallet example of storing the balance of an account.
575
+ *
576
+ * # Example
577
+ *
578
+ * ```nocompile
579
+ * impl pallet_balances::Config for Runtime {
580
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
581
+ * }
582
+ * ```
583
+ *
584
+ * You can also store the balance of an account in the `System` pallet.
585
+ *
586
+ * # Example
587
+ *
588
+ * ```nocompile
589
+ * impl pallet_balances::Config for Runtime {
590
+ * type AccountStore = System
591
+ * }
592
+ * ```
593
+ *
594
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
595
+ * `frame_system` data alongside the account data contrary to storing account balances in the
596
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
597
+ * NOTE: This is only used in the case that this pallet is used to store balances.
598
+ *
599
+ * @param {AccountId20Like} arg
600
+ * @param {Callback<PalletBalancesAccountData> =} callback
601
+ **/
602
+ account: GenericStorageQuery<(arg: AccountId20Like) => PalletBalancesAccountData>;
603
+
604
+ /**
605
+ * Any liquidity locks on some account balances.
606
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
607
+ *
608
+ * @param {AccountId20Like} arg
609
+ * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
610
+ **/
611
+ locks: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesBalanceLock>>;
612
+
613
+ /**
614
+ * Named reserves on some account balances.
615
+ *
616
+ * @param {AccountId20Like} arg
617
+ * @param {Callback<Array<PalletBalancesReserveData>> =} callback
618
+ **/
619
+ reserves: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesReserveData>>;
620
+
621
+ /**
622
+ * Holds on account balances.
623
+ *
624
+ * @param {AccountId20Like} arg
625
+ * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
626
+ **/
627
+ holds: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesIdAmount>>;
628
+
629
+ /**
630
+ * Freeze locks on account balances.
631
+ *
632
+ * @param {AccountId20Like} arg
633
+ * @param {Callback<Array<PalletBalancesIdAmount002>> =} callback
634
+ **/
635
+ freezes: GenericStorageQuery<(arg: AccountId20Like) => Array<PalletBalancesIdAmount002>>;
636
+
637
+ /**
638
+ * Generic pallet storage query
639
+ **/
640
+ [storage: string]: GenericStorageQuery;
641
+ };
642
+ /**
643
+ * Pallet `TransactionPayment`'s storage queries
644
+ **/
645
+ transactionPayment: {
646
+ /**
647
+ *
648
+ * @param {Callback<FixedU128> =} callback
649
+ **/
650
+ nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
651
+
652
+ /**
653
+ *
654
+ * @param {Callback<PalletTransactionPaymentReleases> =} callback
655
+ **/
656
+ storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
657
+
658
+ /**
659
+ * Generic pallet storage query
660
+ **/
661
+ [storage: string]: GenericStorageQuery;
662
+ };
663
+ /**
664
+ * Pallet `ParachainStaking`'s storage queries
665
+ **/
666
+ parachainStaking: {
667
+ /**
668
+ * Commission percent taken off of rewards for all collators
669
+ *
670
+ * @param {Callback<Perbill> =} callback
671
+ **/
672
+ collatorCommission: GenericStorageQuery<() => Perbill>;
673
+
674
+ /**
675
+ * The total candidates selected every round
676
+ *
677
+ * @param {Callback<number> =} callback
678
+ **/
679
+ totalSelected: GenericStorageQuery<() => number>;
680
+
681
+ /**
682
+ * Parachain bond config info { account, percent_of_inflation }
683
+ *
684
+ * @param {Callback<PalletParachainStakingParachainBondConfig> =} callback
685
+ **/
686
+ parachainBondInfo: GenericStorageQuery<() => PalletParachainStakingParachainBondConfig>;
687
+
688
+ /**
689
+ * Current round index and next round scheduled transition
690
+ *
691
+ * @param {Callback<PalletParachainStakingRoundInfo> =} callback
692
+ **/
693
+ round: GenericStorageQuery<() => PalletParachainStakingRoundInfo>;
694
+
695
+ /**
696
+ * Get delegator state associated with an account if account is delegating else None
697
+ *
698
+ * @param {AccountId20Like} arg
699
+ * @param {Callback<PalletParachainStakingDelegator | undefined> =} callback
700
+ **/
701
+ delegatorState: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegator | undefined>;
702
+
703
+ /**
704
+ * Get collator candidate info associated with an account if account is candidate else None
705
+ *
706
+ * @param {AccountId20Like} arg
707
+ * @param {Callback<PalletParachainStakingCandidateMetadata | undefined> =} callback
708
+ **/
709
+ candidateInfo: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingCandidateMetadata | undefined>;
710
+
711
+ /**
712
+ * Stores outstanding delegation requests per collator.
713
+ *
714
+ * @param {AccountId20Like} arg
715
+ * @param {Callback<Array<PalletParachainStakingDelegationRequestsScheduledRequest>> =} callback
716
+ **/
717
+ delegationScheduledRequests: GenericStorageQuery<
718
+ (arg: AccountId20Like) => Array<PalletParachainStakingDelegationRequestsScheduledRequest>
719
+ >;
720
+
721
+ /**
722
+ * Stores auto-compounding configuration per collator.
723
+ *
724
+ * @param {AccountId20Like} arg
725
+ * @param {Callback<Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>> =} callback
726
+ **/
727
+ autoCompoundingDelegations: GenericStorageQuery<
728
+ (arg: AccountId20Like) => Array<PalletParachainStakingAutoCompoundAutoCompoundConfig>
729
+ >;
730
+
731
+ /**
732
+ * Top delegations for collator candidate
733
+ *
734
+ * @param {AccountId20Like} arg
735
+ * @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
736
+ **/
737
+ topDelegations: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined>;
738
+
739
+ /**
740
+ * Bottom delegations for collator candidate
741
+ *
742
+ * @param {AccountId20Like} arg
743
+ * @param {Callback<PalletParachainStakingDelegations | undefined> =} callback
744
+ **/
745
+ bottomDelegations: GenericStorageQuery<(arg: AccountId20Like) => PalletParachainStakingDelegations | undefined>;
746
+
747
+ /**
748
+ * The collator candidates selected for the current round
749
+ *
750
+ * @param {Callback<Array<AccountId20>> =} callback
751
+ **/
752
+ selectedCandidates: GenericStorageQuery<() => Array<AccountId20>>;
753
+
754
+ /**
755
+ * Total capital locked by this staking pallet
756
+ *
757
+ * @param {Callback<bigint> =} callback
758
+ **/
759
+ total: GenericStorageQuery<() => bigint>;
760
+
761
+ /**
762
+ * The pool of collator candidates, each with their total backing stake
763
+ *
764
+ * @param {Callback<PalletParachainStakingSetBoundedOrderedSet> =} callback
765
+ **/
766
+ candidatePool: GenericStorageQuery<() => PalletParachainStakingSetBoundedOrderedSet>;
767
+
768
+ /**
769
+ * Snapshot of collator delegation stake at the start of the round
770
+ *
771
+ * @param {[number, AccountId20Like]} arg
772
+ * @param {Callback<PalletParachainStakingCollatorSnapshot | undefined> =} callback
773
+ **/
774
+ atStake: GenericStorageQuery<
775
+ (arg: [number, AccountId20Like]) => PalletParachainStakingCollatorSnapshot | undefined
776
+ >;
777
+
778
+ /**
779
+ * Delayed payouts
780
+ *
781
+ * @param {number} arg
782
+ * @param {Callback<PalletParachainStakingDelayedPayout | undefined> =} callback
783
+ **/
784
+ delayedPayouts: GenericStorageQuery<(arg: number) => PalletParachainStakingDelayedPayout | undefined>;
785
+
786
+ /**
787
+ * Total counted stake for selected candidates in the round
788
+ *
789
+ * @param {number} arg
790
+ * @param {Callback<bigint> =} callback
791
+ **/
792
+ staked: GenericStorageQuery<(arg: number) => bigint>;
793
+
794
+ /**
795
+ * Inflation configuration
796
+ *
797
+ * @param {Callback<PalletParachainStakingInflationInflationInfo> =} callback
798
+ **/
799
+ inflationConfig: GenericStorageQuery<() => PalletParachainStakingInflationInflationInfo>;
800
+
801
+ /**
802
+ * Total points awarded to collators for block production in the round
803
+ *
804
+ * @param {number} arg
805
+ * @param {Callback<number> =} callback
806
+ **/
807
+ points: GenericStorageQuery<(arg: number) => number>;
808
+
809
+ /**
810
+ * Points for each collator per round
811
+ *
812
+ * @param {[number, AccountId20Like]} arg
813
+ * @param {Callback<number> =} callback
814
+ **/
815
+ awardedPts: GenericStorageQuery<(arg: [number, AccountId20Like]) => number>;
816
+
817
+ /**
818
+ * Killswitch to enable/disable marking offline feature.
819
+ *
820
+ * @param {Callback<boolean> =} callback
821
+ **/
822
+ enableMarkingOffline: GenericStorageQuery<() => boolean>;
823
+
824
+ /**
825
+ * Generic pallet storage query
826
+ **/
827
+ [storage: string]: GenericStorageQuery;
828
+ };
829
+ /**
830
+ * Pallet `AuthorInherent`'s storage queries
831
+ **/
832
+ authorInherent: {
833
+ /**
834
+ * Author of current block.
835
+ *
836
+ * @param {Callback<AccountId20 | undefined> =} callback
837
+ **/
838
+ author: GenericStorageQuery<() => AccountId20 | undefined>;
839
+
840
+ /**
841
+ * Generic pallet storage query
842
+ **/
843
+ [storage: string]: GenericStorageQuery;
844
+ };
845
+ /**
846
+ * Pallet `AuthorFilter`'s storage queries
847
+ **/
848
+ authorFilter: {
849
+ /**
850
+ *
851
+ * @param {Callback<Percent> =} callback
852
+ **/
853
+ eligibleRatio: GenericStorageQuery<() => Percent>;
854
+
855
+ /**
856
+ * The number of active authors that will be eligible at each height.
857
+ *
858
+ * @param {Callback<PalletAuthorSlotFilterNumNonZeroU32> =} callback
859
+ **/
860
+ eligibleCount: GenericStorageQuery<() => PalletAuthorSlotFilterNumNonZeroU32>;
861
+
862
+ /**
863
+ * Generic pallet storage query
864
+ **/
865
+ [storage: string]: GenericStorageQuery;
866
+ };
867
+ /**
868
+ * Pallet `AuthorMapping`'s storage queries
869
+ **/
870
+ authorMapping: {
871
+ /**
872
+ * We maintain a mapping from the NimbusIds used in the consensus layer
873
+ * to the AccountIds runtime.
874
+ *
875
+ * @param {NimbusPrimitivesNimbusCryptoPublic} arg
876
+ * @param {Callback<PalletAuthorMappingRegistrationInfo | undefined> =} callback
877
+ **/
878
+ mappingWithDeposit: GenericStorageQuery<
879
+ (arg: NimbusPrimitivesNimbusCryptoPublic) => PalletAuthorMappingRegistrationInfo | undefined
880
+ >;
881
+
882
+ /**
883
+ * We maintain a reverse mapping from AccountIds to NimbusIDS
884
+ *
885
+ * @param {AccountId20Like} arg
886
+ * @param {Callback<NimbusPrimitivesNimbusCryptoPublic | undefined> =} callback
887
+ **/
888
+ nimbusLookup: GenericStorageQuery<(arg: AccountId20Like) => NimbusPrimitivesNimbusCryptoPublic | undefined>;
889
+
890
+ /**
891
+ * Generic pallet storage query
892
+ **/
893
+ [storage: string]: GenericStorageQuery;
894
+ };
895
+ /**
896
+ * Pallet `MoonbeamOrbiters`'s storage queries
897
+ **/
898
+ moonbeamOrbiters: {
899
+ /**
900
+ * Account lookup override
901
+ *
902
+ * @param {AccountId20Like} arg
903
+ * @param {Callback<AccountId20 | undefined | undefined> =} callback
904
+ **/
905
+ accountLookupOverride: GenericStorageQuery<(arg: AccountId20Like) => AccountId20 | undefined | undefined>;
906
+
907
+ /**
908
+ * Current orbiters, with their "parent" collator
909
+ *
910
+ * @param {AccountId20Like} arg
911
+ * @param {Callback<PalletMoonbeamOrbitersCollatorPoolInfo | undefined> =} callback
912
+ **/
913
+ collatorsPool: GenericStorageQuery<(arg: AccountId20Like) => PalletMoonbeamOrbitersCollatorPoolInfo | undefined>;
914
+
915
+ /**
916
+ * Counter for the related counted storage map
917
+ *
918
+ * @param {Callback<number> =} callback
919
+ **/
920
+ counterForCollatorsPool: GenericStorageQuery<() => number>;
921
+
922
+ /**
923
+ * Current round index
924
+ *
925
+ * @param {Callback<number> =} callback
926
+ **/
927
+ currentRound: GenericStorageQuery<() => number>;
928
+
929
+ /**
930
+ * If true, it forces the rotation at the next round.
931
+ * A use case: when changing RotatePeriod, you need a migration code that sets this value to
932
+ * true to avoid holes in OrbiterPerRound.
933
+ *
934
+ * @param {Callback<boolean> =} callback
935
+ **/
936
+ forceRotation: GenericStorageQuery<() => boolean>;
937
+
938
+ /**
939
+ * Minimum deposit required to be registered as an orbiter
940
+ *
941
+ * @param {Callback<bigint | undefined> =} callback
942
+ **/
943
+ minOrbiterDeposit: GenericStorageQuery<() => bigint | undefined>;
944
+
945
+ /**
946
+ * Store active orbiter per round and per parent collator
947
+ *
948
+ * @param {[number, AccountId20Like]} arg
949
+ * @param {Callback<AccountId20 | undefined> =} callback
950
+ **/
951
+ orbiterPerRound: GenericStorageQuery<(arg: [number, AccountId20Like]) => AccountId20 | undefined>;
952
+
953
+ /**
954
+ * Check if account is an orbiter
955
+ *
956
+ * @param {AccountId20Like} arg
957
+ * @param {Callback<boolean | undefined> =} callback
958
+ **/
959
+ registeredOrbiter: GenericStorageQuery<(arg: AccountId20Like) => boolean | undefined>;
960
+
961
+ /**
962
+ * Generic pallet storage query
963
+ **/
964
+ [storage: string]: GenericStorageQuery;
965
+ };
966
+ /**
967
+ * Pallet `Proxy`'s storage queries
968
+ **/
969
+ proxy: {
970
+ /**
971
+ * The set of account proxies. Maps the account which has delegated to the accounts
972
+ * which are being delegated to, together with the amount held on deposit.
973
+ *
974
+ * @param {AccountId20Like} arg
975
+ * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
976
+ **/
977
+ proxies: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyProxyDefinition>, bigint]>;
978
+
979
+ /**
980
+ * The announcements made by the proxy (key).
981
+ *
982
+ * @param {AccountId20Like} arg
983
+ * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
984
+ **/
985
+ announcements: GenericStorageQuery<(arg: AccountId20Like) => [Array<PalletProxyAnnouncement>, bigint]>;
986
+
987
+ /**
988
+ * Generic pallet storage query
989
+ **/
990
+ [storage: string]: GenericStorageQuery;
991
+ };
992
+ /**
993
+ * Pallet `MaintenanceMode`'s storage queries
994
+ **/
995
+ maintenanceMode: {
996
+ /**
997
+ * Whether the site is in maintenance mode
998
+ *
999
+ * @param {Callback<boolean> =} callback
1000
+ **/
1001
+ maintenanceMode: GenericStorageQuery<() => boolean>;
1002
+
1003
+ /**
1004
+ * Generic pallet storage query
1005
+ **/
1006
+ [storage: string]: GenericStorageQuery;
1007
+ };
1008
+ /**
1009
+ * Pallet `Identity`'s storage queries
1010
+ **/
1011
+ identity: {
1012
+ /**
1013
+ * Information that is pertinent to identify the entity behind an account.
1014
+ *
1015
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1016
+ *
1017
+ * @param {AccountId20Like} arg
1018
+ * @param {Callback<PalletIdentityRegistration | undefined> =} callback
1019
+ **/
1020
+ identityOf: GenericStorageQuery<(arg: AccountId20Like) => PalletIdentityRegistration | undefined>;
1021
+
1022
+ /**
1023
+ * The super-identity of an alternative "sub" identity together with its name, within that
1024
+ * context. If the account is not some other account's sub-identity, then just `None`.
1025
+ *
1026
+ * @param {AccountId20Like} arg
1027
+ * @param {Callback<[AccountId20, Data] | undefined> =} callback
1028
+ **/
1029
+ superOf: GenericStorageQuery<(arg: AccountId20Like) => [AccountId20, Data] | undefined>;
1030
+
1031
+ /**
1032
+ * Alternative "sub" identities of this account.
1033
+ *
1034
+ * The first item is the deposit, the second is a vector of the accounts.
1035
+ *
1036
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1037
+ *
1038
+ * @param {AccountId20Like} arg
1039
+ * @param {Callback<[bigint, Array<AccountId20>]> =} callback
1040
+ **/
1041
+ subsOf: GenericStorageQuery<(arg: AccountId20Like) => [bigint, Array<AccountId20>]>;
1042
+
1043
+ /**
1044
+ * The set of registrars. Not expected to get very big as can only be added through a
1045
+ * special origin (likely a council motion).
1046
+ *
1047
+ * The index into this can be cast to `RegistrarIndex` to get a valid value.
1048
+ *
1049
+ * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
1050
+ **/
1051
+ registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
1052
+
1053
+ /**
1054
+ * Generic pallet storage query
1055
+ **/
1056
+ [storage: string]: GenericStorageQuery;
1057
+ };
1058
+ /**
1059
+ * Pallet `Migrations`'s storage queries
1060
+ **/
1061
+ migrations: {
1062
+ /**
1063
+ * True if all required migrations have completed
1064
+ *
1065
+ * @param {Callback<boolean> =} callback
1066
+ **/
1067
+ fullyUpgraded: GenericStorageQuery<() => boolean>;
1068
+
1069
+ /**
1070
+ * MigrationState tracks the progress of a migration.
1071
+ * Maps name (Vec<u8>) -> whether or not migration has been completed (bool)
1072
+ *
1073
+ * @param {BytesLike} arg
1074
+ * @param {Callback<boolean> =} callback
1075
+ **/
1076
+ migrationState: GenericStorageQuery<(arg: BytesLike) => boolean>;
1077
+
1078
+ /**
1079
+ * Temporary value that is set to true at the beginning of the block during which the execution
1080
+ * of xcm messages must be paused.
1081
+ *
1082
+ * @param {Callback<boolean> =} callback
1083
+ **/
1084
+ shouldPauseXcm: GenericStorageQuery<() => boolean>;
1085
+
1086
+ /**
1087
+ * Generic pallet storage query
1088
+ **/
1089
+ [storage: string]: GenericStorageQuery;
1090
+ };
1091
+ /**
1092
+ * Pallet `Multisig`'s storage queries
1093
+ **/
1094
+ multisig: {
1095
+ /**
1096
+ * The set of open multisig operations.
1097
+ *
1098
+ * @param {[AccountId20Like, FixedBytes<32>]} arg
1099
+ * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1100
+ **/
1101
+ multisigs: GenericStorageQuery<(arg: [AccountId20Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined>;
1102
+
1103
+ /**
1104
+ * Generic pallet storage query
1105
+ **/
1106
+ [storage: string]: GenericStorageQuery;
1107
+ };
1108
+ /**
1109
+ * Pallet `EthereumChainId`'s storage queries
1110
+ **/
1111
+ ethereumChainId: {
1112
+ /**
1113
+ * The EVM chain ID.
1114
+ *
1115
+ * @param {Callback<bigint> =} callback
1116
+ **/
1117
+ chainId: GenericStorageQuery<() => bigint>;
1118
+
1119
+ /**
1120
+ * Generic pallet storage query
1121
+ **/
1122
+ [storage: string]: GenericStorageQuery;
1123
+ };
1124
+ /**
1125
+ * Pallet `EVM`'s storage queries
1126
+ **/
1127
+ evm: {
1128
+ /**
1129
+ *
1130
+ * @param {H160} arg
1131
+ * @param {Callback<Bytes> =} callback
1132
+ **/
1133
+ accountCodes: GenericStorageQuery<(arg: H160) => Bytes>;
1134
+
1135
+ /**
1136
+ *
1137
+ * @param {H160} arg
1138
+ * @param {Callback<PalletEvmCodeMetadata | undefined> =} callback
1139
+ **/
1140
+ accountCodesMetadata: GenericStorageQuery<(arg: H160) => PalletEvmCodeMetadata | undefined>;
1141
+
1142
+ /**
1143
+ *
1144
+ * @param {[H160, H256]} arg
1145
+ * @param {Callback<H256> =} callback
1146
+ **/
1147
+ accountStorages: GenericStorageQuery<(arg: [H160, H256]) => H256>;
1148
+
1149
+ /**
1150
+ *
1151
+ * @param {H160} arg
1152
+ * @param {Callback<[] | undefined> =} callback
1153
+ **/
1154
+ suicided: GenericStorageQuery<(arg: H160) => [] | undefined>;
1155
+
1156
+ /**
1157
+ * Generic pallet storage query
1158
+ **/
1159
+ [storage: string]: GenericStorageQuery;
1160
+ };
1161
+ /**
1162
+ * Pallet `Ethereum`'s storage queries
1163
+ **/
1164
+ ethereum: {
1165
+ /**
1166
+ * Current building block's transactions and receipts.
1167
+ *
1168
+ * @param {Callback<Array<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>> =} callback
1169
+ **/
1170
+ pending: GenericStorageQuery<
1171
+ () => Array<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>
1172
+ >;
1173
+
1174
+ /**
1175
+ * The current Ethereum block.
1176
+ *
1177
+ * @param {Callback<EthereumBlock | undefined> =} callback
1178
+ **/
1179
+ currentBlock: GenericStorageQuery<() => EthereumBlock | undefined>;
1180
+
1181
+ /**
1182
+ * The current Ethereum receipts.
1183
+ *
1184
+ * @param {Callback<Array<EthereumReceiptReceiptV3> | undefined> =} callback
1185
+ **/
1186
+ currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV3> | undefined>;
1187
+
1188
+ /**
1189
+ * The current transaction statuses.
1190
+ *
1191
+ * @param {Callback<Array<FpRpcTransactionStatus> | undefined> =} callback
1192
+ **/
1193
+ currentTransactionStatuses: GenericStorageQuery<() => Array<FpRpcTransactionStatus> | undefined>;
1194
+
1195
+ /**
1196
+ *
1197
+ * @param {U256} arg
1198
+ * @param {Callback<H256> =} callback
1199
+ **/
1200
+ blockHash: GenericStorageQuery<(arg: U256) => H256>;
1201
+
1202
+ /**
1203
+ * Generic pallet storage query
1204
+ **/
1205
+ [storage: string]: GenericStorageQuery;
1206
+ };
1207
+ /**
1208
+ * Pallet `Scheduler`'s storage queries
1209
+ **/
1210
+ scheduler: {
1211
+ /**
1212
+ *
1213
+ * @param {Callback<number | undefined> =} callback
1214
+ **/
1215
+ incompleteSince: GenericStorageQuery<() => number | undefined>;
1216
+
1217
+ /**
1218
+ * Items to be executed, indexed by the block number that they should be executed on.
1219
+ *
1220
+ * @param {number} arg
1221
+ * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
1222
+ **/
1223
+ agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>>;
1224
+
1225
+ /**
1226
+ * Lookup from a name to the block number and index of the task.
1227
+ *
1228
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1229
+ * identities.
1230
+ *
1231
+ * @param {FixedBytes<32>} arg
1232
+ * @param {Callback<[number, number] | undefined> =} callback
1233
+ **/
1234
+ lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined>;
1235
+
1236
+ /**
1237
+ * Generic pallet storage query
1238
+ **/
1239
+ [storage: string]: GenericStorageQuery;
1240
+ };
1241
+ /**
1242
+ * Pallet `Democracy`'s storage queries
1243
+ **/
1244
+ democracy: {
1245
+ /**
1246
+ * The number of (public) proposals that have been made so far.
1247
+ *
1248
+ * @param {Callback<number> =} callback
1249
+ **/
1250
+ publicPropCount: GenericStorageQuery<() => number>;
1251
+
1252
+ /**
1253
+ * The public proposals. Unsorted. The second item is the proposal.
1254
+ *
1255
+ * @param {Callback<Array<[number, FrameSupportPreimagesBounded, AccountId20]>> =} callback
1256
+ **/
1257
+ publicProps: GenericStorageQuery<() => Array<[number, FrameSupportPreimagesBounded, AccountId20]>>;
1258
+
1259
+ /**
1260
+ * Those who have locked a deposit.
1261
+ *
1262
+ * TWOX-NOTE: Safe, as increasing integer keys are safe.
1263
+ *
1264
+ * @param {number} arg
1265
+ * @param {Callback<[Array<AccountId20>, bigint] | undefined> =} callback
1266
+ **/
1267
+ depositOf: GenericStorageQuery<(arg: number) => [Array<AccountId20>, bigint] | undefined>;
1268
+
1269
+ /**
1270
+ * The next free referendum index, aka the number of referenda started so far.
1271
+ *
1272
+ * @param {Callback<number> =} callback
1273
+ **/
1274
+ referendumCount: GenericStorageQuery<() => number>;
1275
+
1276
+ /**
1277
+ * The lowest referendum index representing an unbaked referendum. Equal to
1278
+ * `ReferendumCount` if there isn't a unbaked referendum.
1279
+ *
1280
+ * @param {Callback<number> =} callback
1281
+ **/
1282
+ lowestUnbaked: GenericStorageQuery<() => number>;
1283
+
1284
+ /**
1285
+ * Information concerning any given referendum.
1286
+ *
1287
+ * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
1288
+ *
1289
+ * @param {number} arg
1290
+ * @param {Callback<PalletDemocracyReferendumInfo | undefined> =} callback
1291
+ **/
1292
+ referendumInfoOf: GenericStorageQuery<(arg: number) => PalletDemocracyReferendumInfo | undefined>;
1293
+
1294
+ /**
1295
+ * All votes for a particular voter. We store the balance for the number of votes that we
1296
+ * have recorded. The second item is the total amount of delegations, that will be added.
1297
+ *
1298
+ * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
1299
+ *
1300
+ * @param {AccountId20Like} arg
1301
+ * @param {Callback<PalletDemocracyVoteVoting> =} callback
1302
+ **/
1303
+ votingOf: GenericStorageQuery<(arg: AccountId20Like) => PalletDemocracyVoteVoting>;
1304
+
1305
+ /**
1306
+ * True if the last referendum tabled was submitted externally. False if it was a public
1307
+ * proposal.
1308
+ *
1309
+ * @param {Callback<boolean> =} callback
1310
+ **/
1311
+ lastTabledWasExternal: GenericStorageQuery<() => boolean>;
1312
+
1313
+ /**
1314
+ * The referendum to be tabled whenever it would be valid to table an external proposal.
1315
+ * This happens when a referendum needs to be tabled and one of two conditions are met:
1316
+ * - `LastTabledWasExternal` is `false`; or
1317
+ * - `PublicProps` is empty.
1318
+ *
1319
+ * @param {Callback<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined> =} callback
1320
+ **/
1321
+ nextExternal: GenericStorageQuery<() => [FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold] | undefined>;
1322
+
1323
+ /**
1324
+ * A record of who vetoed what. Maps proposal hash to a possible existent block number
1325
+ * (until when it may not be resubmitted) and who vetoed it.
1326
+ *
1327
+ * @param {H256} arg
1328
+ * @param {Callback<[number, Array<AccountId20>] | undefined> =} callback
1329
+ **/
1330
+ blacklist: GenericStorageQuery<(arg: H256) => [number, Array<AccountId20>] | undefined>;
1331
+
1332
+ /**
1333
+ * Record of all proposals that have been subject to emergency cancellation.
1334
+ *
1335
+ * @param {H256} arg
1336
+ * @param {Callback<boolean> =} callback
1337
+ **/
1338
+ cancellations: GenericStorageQuery<(arg: H256) => boolean>;
1339
+
1340
+ /**
1341
+ * General information concerning any proposal or referendum.
1342
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1343
+ * dump or IPFS hash of a JSON file.
1344
+ *
1345
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1346
+ * large preimages.
1347
+ *
1348
+ * @param {PalletDemocracyMetadataOwner} arg
1349
+ * @param {Callback<H256 | undefined> =} callback
1350
+ **/
1351
+ metadataOf: GenericStorageQuery<(arg: PalletDemocracyMetadataOwner) => H256 | undefined>;
1352
+
1353
+ /**
1354
+ * Generic pallet storage query
1355
+ **/
1356
+ [storage: string]: GenericStorageQuery;
1357
+ };
1358
+ /**
1359
+ * Pallet `Preimage`'s storage queries
1360
+ **/
1361
+ preimage: {
1362
+ /**
1363
+ * The request status of a given hash.
1364
+ *
1365
+ * @param {H256} arg
1366
+ * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
1367
+ **/
1368
+ statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined>;
1369
+
1370
+ /**
1371
+ * The request status of a given hash.
1372
+ *
1373
+ * @param {H256} arg
1374
+ * @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
1375
+ **/
1376
+ requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined>;
1377
+
1378
+ /**
1379
+ *
1380
+ * @param {[H256, number]} arg
1381
+ * @param {Callback<Bytes | undefined> =} callback
1382
+ **/
1383
+ preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined>;
1384
+
1385
+ /**
1386
+ * Generic pallet storage query
1387
+ **/
1388
+ [storage: string]: GenericStorageQuery;
1389
+ };
1390
+ /**
1391
+ * Pallet `ConvictionVoting`'s storage queries
1392
+ **/
1393
+ convictionVoting: {
1394
+ /**
1395
+ * All voting for a particular voter in a particular voting class. We store the balance for the
1396
+ * number of votes that we have recorded.
1397
+ *
1398
+ * @param {[AccountId20Like, number]} arg
1399
+ * @param {Callback<PalletConvictionVotingVoteVoting> =} callback
1400
+ **/
1401
+ votingFor: GenericStorageQuery<(arg: [AccountId20Like, number]) => PalletConvictionVotingVoteVoting>;
1402
+
1403
+ /**
1404
+ * The voting classes which have a non-zero lock requirement and the lock amounts which they
1405
+ * require. The actual amount locked on behalf of this pallet should always be the maximum of
1406
+ * this list.
1407
+ *
1408
+ * @param {AccountId20Like} arg
1409
+ * @param {Callback<Array<[number, bigint]>> =} callback
1410
+ **/
1411
+ classLocksFor: GenericStorageQuery<(arg: AccountId20Like) => Array<[number, bigint]>>;
1412
+
1413
+ /**
1414
+ * Generic pallet storage query
1415
+ **/
1416
+ [storage: string]: GenericStorageQuery;
1417
+ };
1418
+ /**
1419
+ * Pallet `Referenda`'s storage queries
1420
+ **/
1421
+ referenda: {
1422
+ /**
1423
+ * The next free referendum index, aka the number of referenda started so far.
1424
+ *
1425
+ * @param {Callback<number> =} callback
1426
+ **/
1427
+ referendumCount: GenericStorageQuery<() => number>;
1428
+
1429
+ /**
1430
+ * Information concerning any given referendum.
1431
+ *
1432
+ * @param {number} arg
1433
+ * @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
1434
+ **/
1435
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined>;
1436
+
1437
+ /**
1438
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1439
+ * conviction-weighted approvals.
1440
+ *
1441
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1442
+ *
1443
+ * @param {number} arg
1444
+ * @param {Callback<Array<[number, bigint]>> =} callback
1445
+ **/
1446
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>>;
1447
+
1448
+ /**
1449
+ * The number of referenda being decided currently.
1450
+ *
1451
+ * @param {number} arg
1452
+ * @param {Callback<number> =} callback
1453
+ **/
1454
+ decidingCount: GenericStorageQuery<(arg: number) => number>;
1455
+
1456
+ /**
1457
+ * The metadata is a general information concerning the referendum.
1458
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1459
+ * dump or IPFS hash of a JSON file.
1460
+ *
1461
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1462
+ * large preimages.
1463
+ *
1464
+ * @param {number} arg
1465
+ * @param {Callback<H256 | undefined> =} callback
1466
+ **/
1467
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined>;
1468
+
1469
+ /**
1470
+ * Generic pallet storage query
1471
+ **/
1472
+ [storage: string]: GenericStorageQuery;
1473
+ };
1474
+ /**
1475
+ * Pallet `Whitelist`'s storage queries
1476
+ **/
1477
+ whitelist: {
1478
+ /**
1479
+ *
1480
+ * @param {H256} arg
1481
+ * @param {Callback<[] | undefined> =} callback
1482
+ **/
1483
+ whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined>;
1484
+
1485
+ /**
1486
+ * Generic pallet storage query
1487
+ **/
1488
+ [storage: string]: GenericStorageQuery;
1489
+ };
1490
+ /**
1491
+ * Pallet `CouncilCollective`'s storage queries
1492
+ **/
1493
+ councilCollective: {
1494
+ /**
1495
+ * The hashes of the active proposals.
1496
+ *
1497
+ * @param {Callback<Array<H256>> =} callback
1498
+ **/
1499
+ proposals: GenericStorageQuery<() => Array<H256>>;
1500
+
1501
+ /**
1502
+ * Actual proposal for a given hash, if it's current.
1503
+ *
1504
+ * @param {H256} arg
1505
+ * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1506
+ **/
1507
+ proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1508
+
1509
+ /**
1510
+ * Votes on a given proposal, if it is ongoing.
1511
+ *
1512
+ * @param {H256} arg
1513
+ * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1514
+ **/
1515
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1516
+
1517
+ /**
1518
+ * Proposals so far.
1519
+ *
1520
+ * @param {Callback<number> =} callback
1521
+ **/
1522
+ proposalCount: GenericStorageQuery<() => number>;
1523
+
1524
+ /**
1525
+ * The current members of the collective. This is stored sorted (just by value).
1526
+ *
1527
+ * @param {Callback<Array<AccountId20>> =} callback
1528
+ **/
1529
+ members: GenericStorageQuery<() => Array<AccountId20>>;
1530
+
1531
+ /**
1532
+ * The prime member that helps determine the default vote behavior in case of absentations.
1533
+ *
1534
+ * @param {Callback<AccountId20 | undefined> =} callback
1535
+ **/
1536
+ prime: GenericStorageQuery<() => AccountId20 | undefined>;
1537
+
1538
+ /**
1539
+ * Generic pallet storage query
1540
+ **/
1541
+ [storage: string]: GenericStorageQuery;
1542
+ };
1543
+ /**
1544
+ * Pallet `TechCommitteeCollective`'s storage queries
1545
+ **/
1546
+ techCommitteeCollective: {
1547
+ /**
1548
+ * The hashes of the active proposals.
1549
+ *
1550
+ * @param {Callback<Array<H256>> =} callback
1551
+ **/
1552
+ proposals: GenericStorageQuery<() => Array<H256>>;
1553
+
1554
+ /**
1555
+ * Actual proposal for a given hash, if it's current.
1556
+ *
1557
+ * @param {H256} arg
1558
+ * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1559
+ **/
1560
+ proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1561
+
1562
+ /**
1563
+ * Votes on a given proposal, if it is ongoing.
1564
+ *
1565
+ * @param {H256} arg
1566
+ * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1567
+ **/
1568
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1569
+
1570
+ /**
1571
+ * Proposals so far.
1572
+ *
1573
+ * @param {Callback<number> =} callback
1574
+ **/
1575
+ proposalCount: GenericStorageQuery<() => number>;
1576
+
1577
+ /**
1578
+ * The current members of the collective. This is stored sorted (just by value).
1579
+ *
1580
+ * @param {Callback<Array<AccountId20>> =} callback
1581
+ **/
1582
+ members: GenericStorageQuery<() => Array<AccountId20>>;
1583
+
1584
+ /**
1585
+ * The prime member that helps determine the default vote behavior in case of absentations.
1586
+ *
1587
+ * @param {Callback<AccountId20 | undefined> =} callback
1588
+ **/
1589
+ prime: GenericStorageQuery<() => AccountId20 | undefined>;
1590
+
1591
+ /**
1592
+ * Generic pallet storage query
1593
+ **/
1594
+ [storage: string]: GenericStorageQuery;
1595
+ };
1596
+ /**
1597
+ * Pallet `TreasuryCouncilCollective`'s storage queries
1598
+ **/
1599
+ treasuryCouncilCollective: {
1600
+ /**
1601
+ * The hashes of the active proposals.
1602
+ *
1603
+ * @param {Callback<Array<H256>> =} callback
1604
+ **/
1605
+ proposals: GenericStorageQuery<() => Array<H256>>;
1606
+
1607
+ /**
1608
+ * Actual proposal for a given hash, if it's current.
1609
+ *
1610
+ * @param {H256} arg
1611
+ * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1612
+ **/
1613
+ proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1614
+
1615
+ /**
1616
+ * Votes on a given proposal, if it is ongoing.
1617
+ *
1618
+ * @param {H256} arg
1619
+ * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1620
+ **/
1621
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1622
+
1623
+ /**
1624
+ * Proposals so far.
1625
+ *
1626
+ * @param {Callback<number> =} callback
1627
+ **/
1628
+ proposalCount: GenericStorageQuery<() => number>;
1629
+
1630
+ /**
1631
+ * The current members of the collective. This is stored sorted (just by value).
1632
+ *
1633
+ * @param {Callback<Array<AccountId20>> =} callback
1634
+ **/
1635
+ members: GenericStorageQuery<() => Array<AccountId20>>;
1636
+
1637
+ /**
1638
+ * The prime member that helps determine the default vote behavior in case of absentations.
1639
+ *
1640
+ * @param {Callback<AccountId20 | undefined> =} callback
1641
+ **/
1642
+ prime: GenericStorageQuery<() => AccountId20 | undefined>;
1643
+
1644
+ /**
1645
+ * Generic pallet storage query
1646
+ **/
1647
+ [storage: string]: GenericStorageQuery;
1648
+ };
1649
+ /**
1650
+ * Pallet `OpenTechCommitteeCollective`'s storage queries
1651
+ **/
1652
+ openTechCommitteeCollective: {
1653
+ /**
1654
+ * The hashes of the active proposals.
1655
+ *
1656
+ * @param {Callback<Array<H256>> =} callback
1657
+ **/
1658
+ proposals: GenericStorageQuery<() => Array<H256>>;
1659
+
1660
+ /**
1661
+ * Actual proposal for a given hash, if it's current.
1662
+ *
1663
+ * @param {H256} arg
1664
+ * @param {Callback<MoonbeamRuntimeRuntimeCall | undefined> =} callback
1665
+ **/
1666
+ proposalOf: GenericStorageQuery<(arg: H256) => MoonbeamRuntimeRuntimeCall | undefined>;
1667
+
1668
+ /**
1669
+ * Votes on a given proposal, if it is ongoing.
1670
+ *
1671
+ * @param {H256} arg
1672
+ * @param {Callback<PalletCollectiveVotes | undefined> =} callback
1673
+ **/
1674
+ voting: GenericStorageQuery<(arg: H256) => PalletCollectiveVotes | undefined>;
1675
+
1676
+ /**
1677
+ * Proposals so far.
1678
+ *
1679
+ * @param {Callback<number> =} callback
1680
+ **/
1681
+ proposalCount: GenericStorageQuery<() => number>;
1682
+
1683
+ /**
1684
+ * The current members of the collective. This is stored sorted (just by value).
1685
+ *
1686
+ * @param {Callback<Array<AccountId20>> =} callback
1687
+ **/
1688
+ members: GenericStorageQuery<() => Array<AccountId20>>;
1689
+
1690
+ /**
1691
+ * The prime member that helps determine the default vote behavior in case of absentations.
1692
+ *
1693
+ * @param {Callback<AccountId20 | undefined> =} callback
1694
+ **/
1695
+ prime: GenericStorageQuery<() => AccountId20 | undefined>;
1696
+
1697
+ /**
1698
+ * Generic pallet storage query
1699
+ **/
1700
+ [storage: string]: GenericStorageQuery;
1701
+ };
1702
+ /**
1703
+ * Pallet `Treasury`'s storage queries
1704
+ **/
1705
+ treasury: {
1706
+ /**
1707
+ * Number of proposals that have been made.
1708
+ *
1709
+ * @param {Callback<number> =} callback
1710
+ **/
1711
+ proposalCount: GenericStorageQuery<() => number>;
1712
+
1713
+ /**
1714
+ * Proposals that have been made.
1715
+ *
1716
+ * @param {number} arg
1717
+ * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1718
+ **/
1719
+ proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined>;
1720
+
1721
+ /**
1722
+ * The amount which has been reported as inactive to Currency.
1723
+ *
1724
+ * @param {Callback<bigint> =} callback
1725
+ **/
1726
+ deactivated: GenericStorageQuery<() => bigint>;
1727
+
1728
+ /**
1729
+ * Proposal indices that have been approved but not yet awarded.
1730
+ *
1731
+ * @param {Callback<Array<number>> =} callback
1732
+ **/
1733
+ approvals: GenericStorageQuery<() => Array<number>>;
1734
+
1735
+ /**
1736
+ * The count of spends that have been made.
1737
+ *
1738
+ * @param {Callback<number> =} callback
1739
+ **/
1740
+ spendCount: GenericStorageQuery<() => number>;
1741
+
1742
+ /**
1743
+ * Spends that have been approved and being processed.
1744
+ *
1745
+ * @param {number} arg
1746
+ * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1747
+ **/
1748
+ spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined>;
1749
+
1750
+ /**
1751
+ * Generic pallet storage query
1752
+ **/
1753
+ [storage: string]: GenericStorageQuery;
1754
+ };
1755
+ /**
1756
+ * Pallet `CrowdloanRewards`'s storage queries
1757
+ **/
1758
+ crowdloanRewards: {
1759
+ /**
1760
+ *
1761
+ * @param {AccountId20Like} arg
1762
+ * @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
1763
+ **/
1764
+ accountsPayable: GenericStorageQuery<(arg: AccountId20Like) => PalletCrowdloanRewardsRewardInfo | undefined>;
1765
+
1766
+ /**
1767
+ *
1768
+ * @param {FixedBytes<32>} arg
1769
+ * @param {Callback<[] | undefined> =} callback
1770
+ **/
1771
+ claimedRelayChainIds: GenericStorageQuery<(arg: FixedBytes<32>) => [] | undefined>;
1772
+
1773
+ /**
1774
+ *
1775
+ * @param {FixedBytes<32>} arg
1776
+ * @param {Callback<PalletCrowdloanRewardsRewardInfo | undefined> =} callback
1777
+ **/
1778
+ unassociatedContributions: GenericStorageQuery<
1779
+ (arg: FixedBytes<32>) => PalletCrowdloanRewardsRewardInfo | undefined
1780
+ >;
1781
+
1782
+ /**
1783
+ *
1784
+ * @param {Callback<boolean> =} callback
1785
+ **/
1786
+ initialized: GenericStorageQuery<() => boolean>;
1787
+
1788
+ /**
1789
+ * Vesting block height at the initialization of the pallet
1790
+ *
1791
+ * @param {Callback<number> =} callback
1792
+ **/
1793
+ initRelayBlock: GenericStorageQuery<() => number>;
1794
+
1795
+ /**
1796
+ * Vesting block height at the initialization of the pallet
1797
+ *
1798
+ * @param {Callback<number> =} callback
1799
+ **/
1800
+ endRelayBlock: GenericStorageQuery<() => number>;
1801
+
1802
+ /**
1803
+ * Total initialized amount so far. We store this to make pallet funds == contributors reward
1804
+ * check easier and more efficient
1805
+ *
1806
+ * @param {Callback<bigint> =} callback
1807
+ **/
1808
+ initializedRewardAmount: GenericStorageQuery<() => bigint>;
1809
+
1810
+ /**
1811
+ * Total number of contributors to aid hinting benchmarking
1812
+ *
1813
+ * @param {Callback<number> =} callback
1814
+ **/
1815
+ totalContributors: GenericStorageQuery<() => number>;
1816
+
1817
+ /**
1818
+ * Generic pallet storage query
1819
+ **/
1820
+ [storage: string]: GenericStorageQuery;
1821
+ };
1822
+ /**
1823
+ * Pallet `XcmpQueue`'s storage queries
1824
+ **/
1825
+ xcmpQueue: {
1826
+ /**
1827
+ * Status of the inbound XCMP channels.
1828
+ *
1829
+ * @param {Callback<Array<CumulusPalletXcmpQueueInboundChannelDetails>> =} callback
1830
+ **/
1831
+ inboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueInboundChannelDetails>>;
1832
+
1833
+ /**
1834
+ * Inbound aggregate XCMP messages. It can only be one per ParaId/block.
1835
+ *
1836
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
1837
+ * @param {Callback<Bytes> =} callback
1838
+ **/
1839
+ inboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
1840
+
1841
+ /**
1842
+ * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
1843
+ * and last outbound message. If the two indices are equal, then it indicates an empty
1844
+ * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
1845
+ * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
1846
+ * case of the need to send a high-priority signal message this block.
1847
+ * The bool is true if there is a signal message waiting to be sent.
1848
+ *
1849
+ * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
1850
+ **/
1851
+ outboundXcmpStatus: GenericStorageQuery<() => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
1852
+
1853
+ /**
1854
+ * The messages outbound in a given XCMP channel.
1855
+ *
1856
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
1857
+ * @param {Callback<Bytes> =} callback
1858
+ **/
1859
+ outboundXcmpMessages: GenericStorageQuery<(arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes>;
1860
+
1861
+ /**
1862
+ * Any signal messages waiting to be sent.
1863
+ *
1864
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
1865
+ * @param {Callback<Bytes> =} callback
1866
+ **/
1867
+ signalMessages: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes>;
1868
+
1869
+ /**
1870
+ * The configuration which controls the dynamics of the outbound queue.
1871
+ *
1872
+ * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
1873
+ **/
1874
+ queueConfig: GenericStorageQuery<() => CumulusPalletXcmpQueueQueueConfigData>;
1875
+
1876
+ /**
1877
+ * The messages that exceeded max individual message weight budget.
1878
+ *
1879
+ * These message stay in this storage map until they are manually dispatched via
1880
+ * `service_overweight`.
1881
+ *
1882
+ * @param {bigint} arg
1883
+ * @param {Callback<[PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined> =} callback
1884
+ **/
1885
+ overweight: GenericStorageQuery<
1886
+ (arg: bigint) => [PolkadotParachainPrimitivesPrimitivesId, number, Bytes] | undefined
1887
+ >;
1888
+
1889
+ /**
1890
+ * Counter for the related counted storage map
1891
+ *
1892
+ * @param {Callback<number> =} callback
1893
+ **/
1894
+ counterForOverweight: GenericStorageQuery<() => number>;
1895
+
1896
+ /**
1897
+ * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next
1898
+ * available free overweight index.
1899
+ *
1900
+ * @param {Callback<bigint> =} callback
1901
+ **/
1902
+ overweightCount: GenericStorageQuery<() => bigint>;
1903
+
1904
+ /**
1905
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
1906
+ *
1907
+ * @param {Callback<boolean> =} callback
1908
+ **/
1909
+ queueSuspended: GenericStorageQuery<() => boolean>;
1910
+
1911
+ /**
1912
+ * The factor to multiply the base delivery fee by.
1913
+ *
1914
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
1915
+ * @param {Callback<FixedU128> =} callback
1916
+ **/
1917
+ deliveryFeeFactor: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128>;
1918
+
1919
+ /**
1920
+ * Generic pallet storage query
1921
+ **/
1922
+ [storage: string]: GenericStorageQuery;
1923
+ };
1924
+ /**
1925
+ * Pallet `DmpQueue`'s storage queries
1926
+ **/
1927
+ dmpQueue: {
1928
+ /**
1929
+ * The configuration.
1930
+ *
1931
+ * @param {Callback<CumulusPalletDmpQueueConfigData> =} callback
1932
+ **/
1933
+ configuration: GenericStorageQuery<() => CumulusPalletDmpQueueConfigData>;
1934
+
1935
+ /**
1936
+ * The page index.
1937
+ *
1938
+ * @param {Callback<CumulusPalletDmpQueuePageIndexData> =} callback
1939
+ **/
1940
+ pageIndex: GenericStorageQuery<() => CumulusPalletDmpQueuePageIndexData>;
1941
+
1942
+ /**
1943
+ * The queue pages.
1944
+ *
1945
+ * @param {number} arg
1946
+ * @param {Callback<Array<[number, Bytes]>> =} callback
1947
+ **/
1948
+ pages: GenericStorageQuery<(arg: number) => Array<[number, Bytes]>>;
1949
+
1950
+ /**
1951
+ * The overweight messages.
1952
+ *
1953
+ * @param {bigint} arg
1954
+ * @param {Callback<[number, Bytes] | undefined> =} callback
1955
+ **/
1956
+ overweight: GenericStorageQuery<(arg: bigint) => [number, Bytes] | undefined>;
1957
+
1958
+ /**
1959
+ * Counter for the related counted storage map
1960
+ *
1961
+ * @param {Callback<number> =} callback
1962
+ **/
1963
+ counterForOverweight: GenericStorageQuery<() => number>;
1964
+
1965
+ /**
1966
+ * Generic pallet storage query
1967
+ **/
1968
+ [storage: string]: GenericStorageQuery;
1969
+ };
1970
+ /**
1971
+ * Pallet `PolkadotXcm`'s storage queries
1972
+ **/
1973
+ polkadotXcm: {
1974
+ /**
1975
+ * The latest available query index.
1976
+ *
1977
+ * @param {Callback<bigint> =} callback
1978
+ **/
1979
+ queryCounter: GenericStorageQuery<() => bigint>;
1980
+
1981
+ /**
1982
+ * The ongoing queries.
1983
+ *
1984
+ * @param {bigint} arg
1985
+ * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
1986
+ **/
1987
+ queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined>;
1988
+
1989
+ /**
1990
+ * The existing asset traps.
1991
+ *
1992
+ * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
1993
+ * times this pair has been trapped (usually just 1 if it exists at all).
1994
+ *
1995
+ * @param {H256} arg
1996
+ * @param {Callback<number> =} callback
1997
+ **/
1998
+ assetTraps: GenericStorageQuery<(arg: H256) => number>;
1999
+
2000
+ /**
2001
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
2002
+ * then the destinations whose XCM version is unknown are considered unreachable.
2003
+ *
2004
+ * @param {Callback<number | undefined> =} callback
2005
+ **/
2006
+ safeXcmVersion: GenericStorageQuery<() => number | undefined>;
2007
+
2008
+ /**
2009
+ * The Latest versions that we know various locations support.
2010
+ *
2011
+ * @param {[number, XcmVersionedMultiLocation]} arg
2012
+ * @param {Callback<number | undefined> =} callback
2013
+ **/
2014
+ supportedVersion: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => number | undefined>;
2015
+
2016
+ /**
2017
+ * All locations that we have requested version notifications from.
2018
+ *
2019
+ * @param {[number, XcmVersionedMultiLocation]} arg
2020
+ * @param {Callback<bigint | undefined> =} callback
2021
+ **/
2022
+ versionNotifiers: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => bigint | undefined>;
2023
+
2024
+ /**
2025
+ * The target locations that are subscribed to our version changes, as well as the most recent
2026
+ * of our versions we informed them of.
2027
+ *
2028
+ * @param {[number, XcmVersionedMultiLocation]} arg
2029
+ * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
2030
+ **/
2031
+ versionNotifyTargets: GenericStorageQuery<
2032
+ (arg: [number, XcmVersionedMultiLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined
2033
+ >;
2034
+
2035
+ /**
2036
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
2037
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
2038
+ * which is used as a prioritization.
2039
+ *
2040
+ * @param {Callback<Array<[XcmVersionedMultiLocation, number]>> =} callback
2041
+ **/
2042
+ versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedMultiLocation, number]>>;
2043
+
2044
+ /**
2045
+ * The current migration's stage, if any.
2046
+ *
2047
+ * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
2048
+ **/
2049
+ currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
2050
+
2051
+ /**
2052
+ * Fungible assets which we know are locked on a remote chain.
2053
+ *
2054
+ * @param {[number, AccountId20Like, XcmVersionedAssetId]} arg
2055
+ * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
2056
+ **/
2057
+ remoteLockedFungibles: GenericStorageQuery<
2058
+ (arg: [number, AccountId20Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined
2059
+ >;
2060
+
2061
+ /**
2062
+ * Fungible assets which we know are locked on this chain.
2063
+ *
2064
+ * @param {AccountId20Like} arg
2065
+ * @param {Callback<Array<[bigint, XcmVersionedMultiLocation]> | undefined> =} callback
2066
+ **/
2067
+ lockedFungibles: GenericStorageQuery<
2068
+ (arg: AccountId20Like) => Array<[bigint, XcmVersionedMultiLocation]> | undefined
2069
+ >;
2070
+
2071
+ /**
2072
+ * Global suspension state of the XCM executor.
2073
+ *
2074
+ * @param {Callback<boolean> =} callback
2075
+ **/
2076
+ xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
2077
+
2078
+ /**
2079
+ * Generic pallet storage query
2080
+ **/
2081
+ [storage: string]: GenericStorageQuery;
2082
+ };
2083
+ /**
2084
+ * Pallet `Assets`'s storage queries
2085
+ **/
2086
+ assets: {
2087
+ /**
2088
+ * Details of an asset.
2089
+ *
2090
+ * @param {bigint} arg
2091
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
2092
+ **/
2093
+ asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined>;
2094
+
2095
+ /**
2096
+ * The holdings of a specific account for a specific asset.
2097
+ *
2098
+ * @param {[bigint, AccountId20Like]} arg
2099
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
2100
+ **/
2101
+ account: GenericStorageQuery<(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined>;
2102
+
2103
+ /**
2104
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
2105
+ * is the amount of `T::Currency` reserved for storing this.
2106
+ * First key is the asset ID, second key is the owner and third key is the delegate.
2107
+ *
2108
+ * @param {[bigint, AccountId20Like, AccountId20Like]} arg
2109
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
2110
+ **/
2111
+ approvals: GenericStorageQuery<
2112
+ (arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined
2113
+ >;
2114
+
2115
+ /**
2116
+ * Metadata of an asset.
2117
+ *
2118
+ * @param {bigint} arg
2119
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
2120
+ **/
2121
+ metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata>;
2122
+
2123
+ /**
2124
+ * Generic pallet storage query
2125
+ **/
2126
+ [storage: string]: GenericStorageQuery;
2127
+ };
2128
+ /**
2129
+ * Pallet `AssetManager`'s storage queries
2130
+ **/
2131
+ assetManager: {
2132
+ /**
2133
+ * Mapping from an asset id to asset type.
2134
+ * This is mostly used when receiving transaction specifying an asset directly,
2135
+ * like transferring an asset from this chain to another.
2136
+ *
2137
+ * @param {bigint} arg
2138
+ * @param {Callback<MoonbeamRuntimeXcmConfigAssetType | undefined> =} callback
2139
+ **/
2140
+ assetIdType: GenericStorageQuery<(arg: bigint) => MoonbeamRuntimeXcmConfigAssetType | undefined>;
2141
+
2142
+ /**
2143
+ * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id.
2144
+ * This is mostly used when receiving a multilocation XCM message to retrieve
2145
+ * the corresponding asset in which tokens should me minted.
2146
+ *
2147
+ * @param {MoonbeamRuntimeXcmConfigAssetType} arg
2148
+ * @param {Callback<bigint | undefined> =} callback
2149
+ **/
2150
+ assetTypeId: GenericStorageQuery<(arg: MoonbeamRuntimeXcmConfigAssetType) => bigint | undefined>;
2151
+
2152
+ /**
2153
+ * Stores the units per second for local execution for a AssetType.
2154
+ * This is used to know how to charge for XCM execution in a particular
2155
+ * asset
2156
+ * Not all assets might contain units per second, hence the different storage
2157
+ *
2158
+ * @param {MoonbeamRuntimeXcmConfigAssetType} arg
2159
+ * @param {Callback<bigint | undefined> =} callback
2160
+ **/
2161
+ assetTypeUnitsPerSecond: GenericStorageQuery<(arg: MoonbeamRuntimeXcmConfigAssetType) => bigint | undefined>;
2162
+
2163
+ /**
2164
+ * Stores the counter of the number of local assets that have been
2165
+ * created so far
2166
+ * This value can be used to salt the creation of an assetId, e.g.,
2167
+ * by hashing it. This is particularly useful for cases like moonbeam
2168
+ * where letting users choose their assetId would result in collision
2169
+ * in the evm side.
2170
+ *
2171
+ * @param {Callback<bigint> =} callback
2172
+ **/
2173
+ localAssetCounter: GenericStorageQuery<() => bigint>;
2174
+
2175
+ /**
2176
+ * Local asset deposits, a mapping from assetId to a struct
2177
+ * holding the creator (from which the deposit was reserved) and
2178
+ * the deposit amount
2179
+ *
2180
+ * @param {bigint} arg
2181
+ * @param {Callback<PalletAssetManagerAssetInfo | undefined> =} callback
2182
+ **/
2183
+ localAssetDeposit: GenericStorageQuery<(arg: bigint) => PalletAssetManagerAssetInfo | undefined>;
2184
+
2185
+ /**
2186
+ *
2187
+ * @param {Callback<Array<MoonbeamRuntimeXcmConfigAssetType>> =} callback
2188
+ **/
2189
+ supportedFeePaymentAssets: GenericStorageQuery<() => Array<MoonbeamRuntimeXcmConfigAssetType>>;
2190
+
2191
+ /**
2192
+ * Generic pallet storage query
2193
+ **/
2194
+ [storage: string]: GenericStorageQuery;
2195
+ };
2196
+ /**
2197
+ * Pallet `XTokens`'s storage queries
2198
+ **/
2199
+ xTokens: {
2200
+ /**
2201
+ * Generic pallet storage query
2202
+ **/
2203
+ [storage: string]: GenericStorageQuery;
2204
+ };
2205
+ /**
2206
+ * Pallet `XcmTransactor`'s storage queries
2207
+ **/
2208
+ xcmTransactor: {
2209
+ /**
2210
+ * Since we are using pallet-utility for account derivation (through AsDerivative),
2211
+ * we need to provide an index for the account derivation. This storage item stores the index
2212
+ * assigned for a given local account. These indices are usable as derivative in the relay chain
2213
+ *
2214
+ * @param {number} arg
2215
+ * @param {Callback<AccountId20 | undefined> =} callback
2216
+ **/
2217
+ indexToAccount: GenericStorageQuery<(arg: number) => AccountId20 | undefined>;
2218
+
2219
+ /**
2220
+ * Stores the transact info of a MultiLocation. This defines how much extra weight we need to
2221
+ * add when we want to transact in the destination chain and maximum amount of weight allowed
2222
+ * by the destination chain
2223
+ *
2224
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
2225
+ * @param {Callback<PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined> =} callback
2226
+ **/
2227
+ transactInfoWithWeightLimit: GenericStorageQuery<
2228
+ (arg: StagingXcmV3MultilocationMultiLocation) => PalletXcmTransactorRemoteTransactInfoWithMaxWeight | undefined
2229
+ >;
2230
+
2231
+ /**
2232
+ * Stores the fee per second for an asset in its reserve chain. This allows us to convert
2233
+ * from weight to fee
2234
+ *
2235
+ * @param {StagingXcmV3MultilocationMultiLocation} arg
2236
+ * @param {Callback<bigint | undefined> =} callback
2237
+ **/
2238
+ destinationAssetFeePerSecond: GenericStorageQuery<
2239
+ (arg: StagingXcmV3MultilocationMultiLocation) => bigint | undefined
2240
+ >;
2241
+
2242
+ /**
2243
+ * Stores the indices of relay chain pallets
2244
+ *
2245
+ * @param {Callback<PalletXcmTransactorRelayIndicesRelayChainIndices> =} callback
2246
+ **/
2247
+ relayIndices: GenericStorageQuery<() => PalletXcmTransactorRelayIndicesRelayChainIndices>;
2248
+
2249
+ /**
2250
+ * Generic pallet storage query
2251
+ **/
2252
+ [storage: string]: GenericStorageQuery;
2253
+ };
2254
+ /**
2255
+ * Pallet `LocalAssets`'s storage queries
2256
+ **/
2257
+ localAssets: {
2258
+ /**
2259
+ * Details of an asset.
2260
+ *
2261
+ * @param {bigint} arg
2262
+ * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
2263
+ **/
2264
+ asset: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetDetails | undefined>;
2265
+
2266
+ /**
2267
+ * The holdings of a specific account for a specific asset.
2268
+ *
2269
+ * @param {[bigint, AccountId20Like]} arg
2270
+ * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
2271
+ **/
2272
+ account: GenericStorageQuery<(arg: [bigint, AccountId20Like]) => PalletAssetsAssetAccount | undefined>;
2273
+
2274
+ /**
2275
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
2276
+ * is the amount of `T::Currency` reserved for storing this.
2277
+ * First key is the asset ID, second key is the owner and third key is the delegate.
2278
+ *
2279
+ * @param {[bigint, AccountId20Like, AccountId20Like]} arg
2280
+ * @param {Callback<PalletAssetsApproval | undefined> =} callback
2281
+ **/
2282
+ approvals: GenericStorageQuery<
2283
+ (arg: [bigint, AccountId20Like, AccountId20Like]) => PalletAssetsApproval | undefined
2284
+ >;
2285
+
2286
+ /**
2287
+ * Metadata of an asset.
2288
+ *
2289
+ * @param {bigint} arg
2290
+ * @param {Callback<PalletAssetsAssetMetadata> =} callback
2291
+ **/
2292
+ metadata: GenericStorageQuery<(arg: bigint) => PalletAssetsAssetMetadata>;
2293
+
2294
+ /**
2295
+ * Generic pallet storage query
2296
+ **/
2297
+ [storage: string]: GenericStorageQuery;
2298
+ };
2299
+ /**
2300
+ * Pallet `EthereumXcm`'s storage queries
2301
+ **/
2302
+ ethereumXcm: {
2303
+ /**
2304
+ * Global nonce used for building Ethereum transaction payload.
2305
+ *
2306
+ * @param {Callback<U256> =} callback
2307
+ **/
2308
+ nonce: GenericStorageQuery<() => U256>;
2309
+
2310
+ /**
2311
+ * Whether or not Ethereum-XCM is suspended from executing
2312
+ *
2313
+ * @param {Callback<boolean> =} callback
2314
+ **/
2315
+ ethereumXcmSuspended: GenericStorageQuery<() => boolean>;
2316
+
2317
+ /**
2318
+ * Generic pallet storage query
2319
+ **/
2320
+ [storage: string]: GenericStorageQuery;
2321
+ };
2322
+ /**
2323
+ * Pallet `Randomness`'s storage queries
2324
+ **/
2325
+ randomness: {
2326
+ /**
2327
+ * Randomness requests not yet fulfilled or purged
2328
+ *
2329
+ * @param {bigint} arg
2330
+ * @param {Callback<PalletRandomnessRequestState | undefined> =} callback
2331
+ **/
2332
+ requests: GenericStorageQuery<(arg: bigint) => PalletRandomnessRequestState | undefined>;
2333
+
2334
+ /**
2335
+ * Number of randomness requests made so far, used to generate the next request's uid
2336
+ *
2337
+ * @param {Callback<bigint> =} callback
2338
+ **/
2339
+ requestCount: GenericStorageQuery<() => bigint>;
2340
+
2341
+ /**
2342
+ * Current local per-block VRF randomness
2343
+ * Set in `on_initialize`
2344
+ *
2345
+ * @param {Callback<H256 | undefined> =} callback
2346
+ **/
2347
+ localVrfOutput: GenericStorageQuery<() => H256 | undefined>;
2348
+
2349
+ /**
2350
+ * Relay epoch
2351
+ *
2352
+ * @param {Callback<bigint> =} callback
2353
+ **/
2354
+ relayEpoch: GenericStorageQuery<() => bigint>;
2355
+
2356
+ /**
2357
+ * Ensures the mandatory inherent was included in the block
2358
+ *
2359
+ * @param {Callback<[] | undefined> =} callback
2360
+ **/
2361
+ inherentIncluded: GenericStorageQuery<() => [] | undefined>;
2362
+
2363
+ /**
2364
+ * Records whether this is the first block (genesis or runtime upgrade)
2365
+ *
2366
+ * @param {Callback<[] | undefined> =} callback
2367
+ **/
2368
+ notFirstBlock: GenericStorageQuery<() => [] | undefined>;
2369
+
2370
+ /**
2371
+ * Snapshot of randomness to fulfill all requests that are for the same raw randomness
2372
+ * Removed once $value.request_count == 0
2373
+ *
2374
+ * @param {PalletRandomnessRequestType} arg
2375
+ * @param {Callback<PalletRandomnessRandomnessResult | undefined> =} callback
2376
+ **/
2377
+ randomnessResults: GenericStorageQuery<
2378
+ (arg: PalletRandomnessRequestType) => PalletRandomnessRandomnessResult | undefined
2379
+ >;
2380
+
2381
+ /**
2382
+ * Previous local per-block VRF randomness
2383
+ * Set in `on_finalize` of last block
2384
+ *
2385
+ * @param {Callback<H256> =} callback
2386
+ **/
2387
+ previousLocalVrfOutput: GenericStorageQuery<() => H256>;
2388
+
2389
+ /**
2390
+ * Generic pallet storage query
2391
+ **/
2392
+ [storage: string]: GenericStorageQuery;
2393
+ };
2027
2394
  }