@dedot/chaintypes 0.0.1-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,2027 @@
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';
4
+ export interface ChainStorage extends GenericChainStorage {
5
+ /**
6
+ * Pallet `System`'s storage queries
7
+ **/
8
+ system: {
9
+ /**
10
+ * The full account information for a particular account ID.
11
+ *
12
+ * @param {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
+ };
2027
+ }