@pezkuwi/types 16.5.5

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 (917) hide show
  1. package/README.md +3 -0
  2. package/build/bundle.d.ts +11 -0
  3. package/build/codec/index.d.ts +1 -0
  4. package/build/codec/types.d.ts +1 -0
  5. package/build/create/createClass.d.ts +3 -0
  6. package/build/create/createType.d.ts +9 -0
  7. package/build/create/index.d.ts +5 -0
  8. package/build/create/lazy.d.ts +7 -0
  9. package/build/create/registry.d.ts +74 -0
  10. package/build/create/types.d.ts +3 -0
  11. package/build/ethereum/AccountId.d.ts +36 -0
  12. package/build/ethereum/LookupSource.d.ts +41 -0
  13. package/build/ethereum/index.d.ts +2 -0
  14. package/build/extrinsic/Extrinsic.d.ts +166 -0
  15. package/build/extrinsic/ExtrinsicEra.d.ts +97 -0
  16. package/build/extrinsic/ExtrinsicPayload.d.ts +117 -0
  17. package/build/extrinsic/ExtrinsicPayloadUnknown.d.ts +11 -0
  18. package/build/extrinsic/ExtrinsicUnknown.d.ts +11 -0
  19. package/build/extrinsic/SignerPayload.d.ts +54 -0
  20. package/build/extrinsic/constants.d.ts +12 -0
  21. package/build/extrinsic/index.d.ts +8 -0
  22. package/build/extrinsic/signedExtensions/emptyCheck.d.ts +2 -0
  23. package/build/extrinsic/signedExtensions/index.d.ts +5 -0
  24. package/build/extrinsic/signedExtensions/polkadot.d.ts +2 -0
  25. package/build/extrinsic/signedExtensions/shell.d.ts +2 -0
  26. package/build/extrinsic/signedExtensions/statemint.d.ts +2 -0
  27. package/build/extrinsic/signedExtensions/substrate.d.ts +2 -0
  28. package/build/extrinsic/signedExtensions/types.d.ts +6 -0
  29. package/build/extrinsic/types.d.ts +17 -0
  30. package/build/extrinsic/util.d.ts +5 -0
  31. package/build/extrinsic/v4/Extrinsic.d.ts +49 -0
  32. package/build/extrinsic/v4/ExtrinsicPayload.d.ts +66 -0
  33. package/build/extrinsic/v4/ExtrinsicSignature.d.ts +85 -0
  34. package/build/extrinsic/v4/index.d.ts +3 -0
  35. package/build/extrinsic/v5/Extrinsic.d.ts +59 -0
  36. package/build/extrinsic/v5/ExtrinsicPayload.d.ts +67 -0
  37. package/build/extrinsic/v5/ExtrinsicSignature.d.ts +98 -0
  38. package/build/extrinsic/v5/GeneralExtrinsic.d.ts +85 -0
  39. package/build/extrinsic/v5/index.d.ts +4 -0
  40. package/build/generic/AccountId.d.ts +45 -0
  41. package/build/generic/AccountIndex.d.ts +39 -0
  42. package/build/generic/Block.d.ts +42 -0
  43. package/build/generic/Call.d.ts +69 -0
  44. package/build/generic/ChainProperties.d.ts +22 -0
  45. package/build/generic/ConsensusEngineId.d.ts +53 -0
  46. package/build/generic/Event.d.ts +76 -0
  47. package/build/generic/LookupSource.d.ts +45 -0
  48. package/build/generic/MultiAddress.d.ts +13 -0
  49. package/build/generic/Vote.d.ts +44 -0
  50. package/build/generic/index.d.ts +11 -0
  51. package/build/index.d.ts +2 -0
  52. package/build/index.types.d.ts +3 -0
  53. package/build/interfaces/alias.d.ts +5 -0
  54. package/build/interfaces/assetConversion/definitions.d.ts +3 -0
  55. package/build/interfaces/assetConversion/index.d.ts +1 -0
  56. package/build/interfaces/assetConversion/runtime.d.ts +2 -0
  57. package/build/interfaces/assetConversion/types.d.ts +6 -0
  58. package/build/interfaces/assets/definitions.d.ts +3 -0
  59. package/build/interfaces/assets/index.d.ts +1 -0
  60. package/build/interfaces/assets/runtime.d.ts +2 -0
  61. package/build/interfaces/assets/types.d.ts +54 -0
  62. package/build/interfaces/attestations/definitions.d.ts +3 -0
  63. package/build/interfaces/attestations/index.d.ts +1 -0
  64. package/build/interfaces/attestations/types.d.ts +22 -0
  65. package/build/interfaces/aura/definitions.d.ts +3 -0
  66. package/build/interfaces/aura/index.d.ts +1 -0
  67. package/build/interfaces/aura/runtime.d.ts +2 -0
  68. package/build/interfaces/aura/types.d.ts +6 -0
  69. package/build/interfaces/author/definitions.d.ts +3 -0
  70. package/build/interfaces/author/index.d.ts +1 -0
  71. package/build/interfaces/author/rpc.d.ts +2 -0
  72. package/build/interfaces/author/types.d.ts +31 -0
  73. package/build/interfaces/authorship/definitions.d.ts +3 -0
  74. package/build/interfaces/authorship/index.d.ts +1 -0
  75. package/build/interfaces/authorship/types.d.ts +12 -0
  76. package/build/interfaces/babe/definitions.d.ts +3 -0
  77. package/build/interfaces/babe/index.d.ts +1 -0
  78. package/build/interfaces/babe/rpc.d.ts +2 -0
  79. package/build/interfaces/babe/runtime.d.ts +2 -0
  80. package/build/interfaces/babe/types.d.ts +166 -0
  81. package/build/interfaces/balances/definitions.d.ts +3 -0
  82. package/build/interfaces/balances/index.d.ts +1 -0
  83. package/build/interfaces/balances/types.d.ts +58 -0
  84. package/build/interfaces/beefy/definitions.d.ts +3 -0
  85. package/build/interfaces/beefy/index.d.ts +1 -0
  86. package/build/interfaces/beefy/rpc.d.ts +2 -0
  87. package/build/interfaces/beefy/runtime.d.ts +2 -0
  88. package/build/interfaces/beefy/types.d.ts +74 -0
  89. package/build/interfaces/benchmark/definitions.d.ts +3 -0
  90. package/build/interfaces/benchmark/index.d.ts +1 -0
  91. package/build/interfaces/benchmark/runtime.d.ts +2 -0
  92. package/build/interfaces/benchmark/types.d.ts +71 -0
  93. package/build/interfaces/blockbuilder/definitions.d.ts +3 -0
  94. package/build/interfaces/blockbuilder/index.d.ts +1 -0
  95. package/build/interfaces/blockbuilder/runtime.d.ts +2 -0
  96. package/build/interfaces/blockbuilder/types.d.ts +15 -0
  97. package/build/interfaces/bridges/definitions.d.ts +3 -0
  98. package/build/interfaces/bridges/index.d.ts +1 -0
  99. package/build/interfaces/bridges/types.d.ts +129 -0
  100. package/build/interfaces/chain/definitions.d.ts +3 -0
  101. package/build/interfaces/chain/index.d.ts +1 -0
  102. package/build/interfaces/chain/rpc.d.ts +2 -0
  103. package/build/interfaces/chain/types.d.ts +5 -0
  104. package/build/interfaces/childstate/definitions.d.ts +3 -0
  105. package/build/interfaces/childstate/index.d.ts +1 -0
  106. package/build/interfaces/childstate/rpc.d.ts +2 -0
  107. package/build/interfaces/childstate/types.d.ts +5 -0
  108. package/build/interfaces/claims/definitions.d.ts +3 -0
  109. package/build/interfaces/claims/index.d.ts +1 -0
  110. package/build/interfaces/claims/types.d.ts +8 -0
  111. package/build/interfaces/collective/definitions.d.ts +3 -0
  112. package/build/interfaces/collective/index.d.ts +1 -0
  113. package/build/interfaces/collective/types.d.ts +33 -0
  114. package/build/interfaces/consensus/definitions.d.ts +3 -0
  115. package/build/interfaces/consensus/index.d.ts +1 -0
  116. package/build/interfaces/consensus/types.d.ts +9 -0
  117. package/build/interfaces/contracts/definitions.d.ts +3 -0
  118. package/build/interfaces/contracts/index.d.ts +1 -0
  119. package/build/interfaces/contracts/rpc.d.ts +2 -0
  120. package/build/interfaces/contracts/runtime.d.ts +2 -0
  121. package/build/interfaces/contracts/types.d.ts +490 -0
  122. package/build/interfaces/contractsAbi/definitions.d.ts +3 -0
  123. package/build/interfaces/contractsAbi/index.d.ts +1 -0
  124. package/build/interfaces/contractsAbi/types.d.ts +393 -0
  125. package/build/interfaces/crowdloan/definitions.d.ts +3 -0
  126. package/build/interfaces/crowdloan/index.d.ts +1 -0
  127. package/build/interfaces/crowdloan/types.d.ts +32 -0
  128. package/build/interfaces/cumulus/definitions.d.ts +3 -0
  129. package/build/interfaces/cumulus/index.d.ts +1 -0
  130. package/build/interfaces/cumulus/runtime.d.ts +2 -0
  131. package/build/interfaces/cumulus/types.d.ts +40 -0
  132. package/build/interfaces/definitions.d.ts +75 -0
  133. package/build/interfaces/democracy/definitions.d.ts +4 -0
  134. package/build/interfaces/democracy/index.d.ts +1 -0
  135. package/build/interfaces/democracy/types.d.ts +134 -0
  136. package/build/interfaces/dev/definitions.d.ts +3 -0
  137. package/build/interfaces/dev/index.d.ts +1 -0
  138. package/build/interfaces/dev/rpc.d.ts +2 -0
  139. package/build/interfaces/dev/types.d.ts +9 -0
  140. package/build/interfaces/discovery/definitions.d.ts +3 -0
  141. package/build/interfaces/discovery/index.d.ts +1 -0
  142. package/build/interfaces/discovery/runtime.d.ts +2 -0
  143. package/build/interfaces/discovery/types.d.ts +1 -0
  144. package/build/interfaces/dryRunApi/definitions.d.ts +3 -0
  145. package/build/interfaces/dryRunApi/index.d.ts +1 -0
  146. package/build/interfaces/dryRunApi/runtime.d.ts +2 -0
  147. package/build/interfaces/dryRunApi/types.d.ts +37 -0
  148. package/build/interfaces/elections/definitions.d.ts +3 -0
  149. package/build/interfaces/elections/index.d.ts +1 -0
  150. package/build/interfaces/elections/types.d.ts +44 -0
  151. package/build/interfaces/engine/definitions.d.ts +3 -0
  152. package/build/interfaces/engine/index.d.ts +1 -0
  153. package/build/interfaces/engine/rpc.d.ts +2 -0
  154. package/build/interfaces/engine/types.d.ts +17 -0
  155. package/build/interfaces/essentials.d.ts +3 -0
  156. package/build/interfaces/eth/definitions.d.ts +7 -0
  157. package/build/interfaces/eth/index.d.ts +1 -0
  158. package/build/interfaces/eth/rpc.d.ts +2 -0
  159. package/build/interfaces/eth/runtime.d.ts +2 -0
  160. package/build/interfaces/eth/types.d.ts +459 -0
  161. package/build/interfaces/evm/definitions.d.ts +3 -0
  162. package/build/interfaces/evm/index.d.ts +1 -0
  163. package/build/interfaces/evm/types.d.ts +109 -0
  164. package/build/interfaces/extrinsics/definitions.d.ts +3 -0
  165. package/build/interfaces/extrinsics/index.d.ts +1 -0
  166. package/build/interfaces/extrinsics/types.d.ts +77 -0
  167. package/build/interfaces/finality/definitions.d.ts +3 -0
  168. package/build/interfaces/finality/index.d.ts +1 -0
  169. package/build/interfaces/finality/runtime.d.ts +2 -0
  170. package/build/interfaces/finality/types.d.ts +1 -0
  171. package/build/interfaces/fungibles/definitions.d.ts +3 -0
  172. package/build/interfaces/fungibles/index.d.ts +1 -0
  173. package/build/interfaces/fungibles/runtime.d.ts +2 -0
  174. package/build/interfaces/fungibles/types.d.ts +8 -0
  175. package/build/interfaces/genericAsset/definitions.d.ts +3 -0
  176. package/build/interfaces/genericAsset/index.d.ts +1 -0
  177. package/build/interfaces/genericAsset/types.d.ts +30 -0
  178. package/build/interfaces/genesisBuilder/definitions.d.ts +3 -0
  179. package/build/interfaces/genesisBuilder/index.d.ts +1 -0
  180. package/build/interfaces/genesisBuilder/runtime.d.ts +2 -0
  181. package/build/interfaces/genesisBuilder/types.d.ts +5 -0
  182. package/build/interfaces/gilt/definitions.d.ts +3 -0
  183. package/build/interfaces/gilt/index.d.ts +1 -0
  184. package/build/interfaces/gilt/types.d.ts +25 -0
  185. package/build/interfaces/grandpa/definitions.d.ts +3 -0
  186. package/build/interfaces/grandpa/index.d.ts +1 -0
  187. package/build/interfaces/grandpa/rpc.d.ts +2 -0
  188. package/build/interfaces/grandpa/runtime.d.ts +2 -0
  189. package/build/interfaces/grandpa/types.d.ts +175 -0
  190. package/build/interfaces/identity/definitions.d.ts +3 -0
  191. package/build/interfaces/identity/index.d.ts +1 -0
  192. package/build/interfaces/identity/types.d.ts +78 -0
  193. package/build/interfaces/imOnline/definitions.d.ts +3 -0
  194. package/build/interfaces/imOnline/index.d.ts +1 -0
  195. package/build/interfaces/imOnline/types.d.ts +37 -0
  196. package/build/interfaces/index.d.ts +1 -0
  197. package/build/interfaces/jsonrpc.d.ts +3 -0
  198. package/build/interfaces/lottery/definitions.d.ts +3 -0
  199. package/build/interfaces/lottery/index.d.ts +1 -0
  200. package/build/interfaces/lottery/types.d.ts +15 -0
  201. package/build/interfaces/metadata/definitions.d.ts +5 -0
  202. package/build/interfaces/metadata/hashers.d.ts +9 -0
  203. package/build/interfaces/metadata/index.d.ts +1 -0
  204. package/build/interfaces/metadata/runtime.d.ts +2 -0
  205. package/build/interfaces/metadata/types.d.ts +771 -0
  206. package/build/interfaces/metadata/v10.d.ts +2 -0
  207. package/build/interfaces/metadata/v11.d.ts +2 -0
  208. package/build/interfaces/metadata/v12.d.ts +2 -0
  209. package/build/interfaces/metadata/v13.d.ts +2 -0
  210. package/build/interfaces/metadata/v14.d.ts +2 -0
  211. package/build/interfaces/metadata/v15.d.ts +2 -0
  212. package/build/interfaces/metadata/v16.d.ts +2 -0
  213. package/build/interfaces/metadata/v9.d.ts +2 -0
  214. package/build/interfaces/mixnet/definitions.d.ts +3 -0
  215. package/build/interfaces/mixnet/index.d.ts +1 -0
  216. package/build/interfaces/mixnet/runtime.d.ts +2 -0
  217. package/build/interfaces/mixnet/types.d.ts +30 -0
  218. package/build/interfaces/mmr/definitions.d.ts +3 -0
  219. package/build/interfaces/mmr/index.d.ts +1 -0
  220. package/build/interfaces/mmr/rpc.d.ts +2 -0
  221. package/build/interfaces/mmr/runtime.d.ts +2 -0
  222. package/build/interfaces/mmr/types.d.ts +54 -0
  223. package/build/interfaces/nfts/definitions.d.ts +3 -0
  224. package/build/interfaces/nfts/index.d.ts +1 -0
  225. package/build/interfaces/nfts/runtime.d.ts +2 -0
  226. package/build/interfaces/nfts/types.d.ts +8 -0
  227. package/build/interfaces/nimbus/definitions.d.ts +3 -0
  228. package/build/interfaces/nimbus/index.d.ts +1 -0
  229. package/build/interfaces/nimbus/runtime.d.ts +2 -0
  230. package/build/interfaces/nimbus/types.d.ts +1 -0
  231. package/build/interfaces/nompools/definitions.d.ts +3 -0
  232. package/build/interfaces/nompools/index.d.ts +1 -0
  233. package/build/interfaces/nompools/runtime.d.ts +2 -0
  234. package/build/interfaces/nompools/types.d.ts +11 -0
  235. package/build/interfaces/offchain/definitions.d.ts +3 -0
  236. package/build/interfaces/offchain/index.d.ts +1 -0
  237. package/build/interfaces/offchain/rpc.d.ts +2 -0
  238. package/build/interfaces/offchain/runtime.d.ts +2 -0
  239. package/build/interfaces/offchain/types.d.ts +8 -0
  240. package/build/interfaces/offences/definitions.d.ts +3 -0
  241. package/build/interfaces/offences/index.d.ts +1 -0
  242. package/build/interfaces/offences/types.d.ts +28 -0
  243. package/build/interfaces/ormlOracle/definitions.d.ts +3 -0
  244. package/build/interfaces/ormlOracle/index.d.ts +1 -0
  245. package/build/interfaces/ormlOracle/runtime.d.ts +2 -0
  246. package/build/interfaces/ormlOracle/types.d.ts +1 -0
  247. package/build/interfaces/ormlTokens/definitions.d.ts +3 -0
  248. package/build/interfaces/ormlTokens/index.d.ts +1 -0
  249. package/build/interfaces/ormlTokens/runtime.d.ts +2 -0
  250. package/build/interfaces/ormlTokens/types.d.ts +1 -0
  251. package/build/interfaces/parachains/definitions.d.ts +3 -0
  252. package/build/interfaces/parachains/hrmp.d.ts +25 -0
  253. package/build/interfaces/parachains/index.d.ts +1 -0
  254. package/build/interfaces/parachains/runtime.d.ts +2 -0
  255. package/build/interfaces/parachains/slots.d.ts +46 -0
  256. package/build/interfaces/parachains/types.d.ts +885 -0
  257. package/build/interfaces/payment/definitions.d.ts +3 -0
  258. package/build/interfaces/payment/index.d.ts +1 -0
  259. package/build/interfaces/payment/rpc.d.ts +2 -0
  260. package/build/interfaces/payment/runtime.d.ts +2 -0
  261. package/build/interfaces/payment/types.d.ts +32 -0
  262. package/build/interfaces/poll/definitions.d.ts +3 -0
  263. package/build/interfaces/poll/index.d.ts +1 -0
  264. package/build/interfaces/poll/types.d.ts +5 -0
  265. package/build/interfaces/pow/definitions.d.ts +3 -0
  266. package/build/interfaces/pow/index.d.ts +1 -0
  267. package/build/interfaces/pow/runtime.d.ts +2 -0
  268. package/build/interfaces/pow/types.d.ts +1 -0
  269. package/build/interfaces/proxy/definitions.d.ts +3 -0
  270. package/build/interfaces/proxy/index.d.ts +1 -0
  271. package/build/interfaces/proxy/types.d.ts +23 -0
  272. package/build/interfaces/purchase/definitions.d.ts +3 -0
  273. package/build/interfaces/purchase/index.d.ts +1 -0
  274. package/build/interfaces/purchase/types.d.ts +21 -0
  275. package/build/interfaces/recovery/definitions.d.ts +3 -0
  276. package/build/interfaces/recovery/index.d.ts +1 -0
  277. package/build/interfaces/recovery/types.d.ts +16 -0
  278. package/build/interfaces/rpc/definitions.d.ts +3 -0
  279. package/build/interfaces/rpc/index.d.ts +1 -0
  280. package/build/interfaces/rpc/rpc.d.ts +2 -0
  281. package/build/interfaces/rpc/types.d.ts +7 -0
  282. package/build/interfaces/runtime/definitions.d.ts +4 -0
  283. package/build/interfaces/runtime/index.d.ts +1 -0
  284. package/build/interfaces/runtime/runtime.d.ts +2 -0
  285. package/build/interfaces/runtime/types.d.ts +396 -0
  286. package/build/interfaces/scaleInfo/definitions.d.ts +3 -0
  287. package/build/interfaces/scaleInfo/index.d.ts +1 -0
  288. package/build/interfaces/scaleInfo/types.d.ts +238 -0
  289. package/build/interfaces/scaleInfo/v0.d.ts +2 -0
  290. package/build/interfaces/scaleInfo/v1.d.ts +8 -0
  291. package/build/interfaces/scheduler/definitions.d.ts +3 -0
  292. package/build/interfaces/scheduler/index.d.ts +1 -0
  293. package/build/interfaces/scheduler/types.d.ts +34 -0
  294. package/build/interfaces/session/definitions.d.ts +3 -0
  295. package/build/interfaces/session/index.d.ts +1 -0
  296. package/build/interfaces/session/runtime.d.ts +2 -0
  297. package/build/interfaces/session/types.d.ts +74 -0
  298. package/build/interfaces/society/definitions.d.ts +3 -0
  299. package/build/interfaces/society/index.d.ts +1 -0
  300. package/build/interfaces/society/types.d.ts +41 -0
  301. package/build/interfaces/staking/definitions.d.ts +3 -0
  302. package/build/interfaces/staking/index.d.ts +1 -0
  303. package/build/interfaces/staking/runtime.d.ts +2 -0
  304. package/build/interfaces/staking/types.d.ts +385 -0
  305. package/build/interfaces/state/definitions.d.ts +3 -0
  306. package/build/interfaces/state/index.d.ts +1 -0
  307. package/build/interfaces/state/rpc.d.ts +2 -0
  308. package/build/interfaces/state/types.d.ts +107 -0
  309. package/build/interfaces/statement/definitions.d.ts +3 -0
  310. package/build/interfaces/statement/index.d.ts +1 -0
  311. package/build/interfaces/statement/runtime.d.ts +2 -0
  312. package/build/interfaces/statement/types.d.ts +21 -0
  313. package/build/interfaces/support/definitions.d.ts +3 -0
  314. package/build/interfaces/support/index.d.ts +1 -0
  315. package/build/interfaces/support/types.d.ts +10 -0
  316. package/build/interfaces/syncstate/definitions.d.ts +3 -0
  317. package/build/interfaces/syncstate/index.d.ts +1 -0
  318. package/build/interfaces/syncstate/rpc.d.ts +2 -0
  319. package/build/interfaces/syncstate/types.d.ts +1 -0
  320. package/build/interfaces/system/definitions.d.ts +3 -0
  321. package/build/interfaces/system/index.d.ts +1 -0
  322. package/build/interfaces/system/rpc.d.ts +2 -0
  323. package/build/interfaces/system/runtime.d.ts +2 -0
  324. package/build/interfaces/system/types.d.ts +423 -0
  325. package/build/interfaces/treasury/definitions.d.ts +3 -0
  326. package/build/interfaces/treasury/index.d.ts +1 -0
  327. package/build/interfaces/treasury/types.d.ts +75 -0
  328. package/build/interfaces/txpayment/definitions.d.ts +3 -0
  329. package/build/interfaces/txpayment/index.d.ts +1 -0
  330. package/build/interfaces/txpayment/types.d.ts +5 -0
  331. package/build/interfaces/txqueue/definitions.d.ts +3 -0
  332. package/build/interfaces/txqueue/index.d.ts +1 -0
  333. package/build/interfaces/txqueue/runtime.d.ts +2 -0
  334. package/build/interfaces/txqueue/types.d.ts +26 -0
  335. package/build/interfaces/types.d.ts +78 -0
  336. package/build/interfaces/uniques/definitions.d.ts +3 -0
  337. package/build/interfaces/uniques/index.d.ts +1 -0
  338. package/build/interfaces/uniques/types.d.ts +53 -0
  339. package/build/interfaces/utility/definitions.d.ts +3 -0
  340. package/build/interfaces/utility/index.d.ts +1 -0
  341. package/build/interfaces/utility/types.d.ts +15 -0
  342. package/build/interfaces/vesting/definitions.d.ts +3 -0
  343. package/build/interfaces/vesting/index.d.ts +1 -0
  344. package/build/interfaces/vesting/types.d.ts +9 -0
  345. package/build/interfaces/xcm/definitions.d.ts +3 -0
  346. package/build/interfaces/xcm/index.d.ts +1 -0
  347. package/build/interfaces/xcm/types.d.ts +2436 -0
  348. package/build/interfaces/xcm/v0.d.ts +2 -0
  349. package/build/interfaces/xcm/v1.d.ts +2 -0
  350. package/build/interfaces/xcm/v2.d.ts +2 -0
  351. package/build/interfaces/xcm/v3.d.ts +2 -0
  352. package/build/interfaces/xcm/v4.d.ts +2 -0
  353. package/build/interfaces/xcm/v5.d.ts +2 -0
  354. package/build/interfaces/xcmPaymentApi/definitions.d.ts +3 -0
  355. package/build/interfaces/xcmPaymentApi/index.d.ts +1 -0
  356. package/build/interfaces/xcmPaymentApi/runtime.d.ts +2 -0
  357. package/build/interfaces/xcmPaymentApi/types.d.ts +11 -0
  358. package/build/interfaces/xcmRuntimeApi/definitions.d.ts +3 -0
  359. package/build/interfaces/xcmRuntimeApi/index.d.ts +1 -0
  360. package/build/interfaces/xcmRuntimeApi/runtime.d.ts +2 -0
  361. package/build/interfaces/xcmRuntimeApi/types.d.ts +8 -0
  362. package/build/lookup.d.ts +1 -0
  363. package/build/metadata/MagicNumber.d.ts +6 -0
  364. package/build/metadata/Metadata.d.ts +11 -0
  365. package/build/metadata/MetadataVersioned.d.ts +69 -0
  366. package/build/metadata/PortableRegistry/PortableRegistry.d.ts +48 -0
  367. package/build/metadata/PortableRegistry/index.d.ts +2 -0
  368. package/build/metadata/PortableRegistry/toV1.d.ts +3 -0
  369. package/build/metadata/decorate/constants/index.d.ts +5 -0
  370. package/build/metadata/decorate/errors/index.d.ts +16 -0
  371. package/build/metadata/decorate/events/index.d.ts +6 -0
  372. package/build/metadata/decorate/extrinsics/createUnchecked.d.ts +5 -0
  373. package/build/metadata/decorate/extrinsics/index.d.ts +9 -0
  374. package/build/metadata/decorate/index.d.ts +13 -0
  375. package/build/metadata/decorate/storage/createFunction.d.ts +31 -0
  376. package/build/metadata/decorate/storage/getHasher.d.ts +5 -0
  377. package/build/metadata/decorate/storage/getStorage.d.ts +4 -0
  378. package/build/metadata/decorate/storage/index.d.ts +5 -0
  379. package/build/metadata/decorate/storage/substrate.d.ts +5 -0
  380. package/build/metadata/decorate/storage/util.d.ts +14 -0
  381. package/build/metadata/decorate/types.d.ts +33 -0
  382. package/build/metadata/decorate/util.d.ts +8 -0
  383. package/build/metadata/index.d.ts +3 -0
  384. package/build/metadata/types.d.ts +5 -0
  385. package/build/metadata/util/extractTypes.d.ts +4 -0
  386. package/build/metadata/util/flattenUniq.d.ts +4 -0
  387. package/build/metadata/util/getSiName.d.ts +3 -0
  388. package/build/metadata/util/getUniqTypes.d.ts +4 -0
  389. package/build/metadata/util/index.d.ts +5 -0
  390. package/build/metadata/util/testUtil.d.ts +10 -0
  391. package/build/metadata/util/toCallsOnly.d.ts +4 -0
  392. package/build/metadata/util/types.d.ts +5 -0
  393. package/build/metadata/util/validateTypes.d.ts +3 -0
  394. package/build/metadata/v10/toV11.d.ts +4 -0
  395. package/build/metadata/v11/toV12.d.ts +6 -0
  396. package/build/metadata/v12/toV13.d.ts +6 -0
  397. package/build/metadata/v13/toV14.d.ts +18 -0
  398. package/build/metadata/v14/toV15.d.ts +7 -0
  399. package/build/metadata/v15/toV16.d.ts +7 -0
  400. package/build/metadata/v16/toLatest.d.ts +7 -0
  401. package/build/metadata/v9/toV10.d.ts +4 -0
  402. package/build/metadata/versions.d.ts +5 -0
  403. package/build/packageDetect.d.ts +1 -0
  404. package/build/packageInfo.d.ts +6 -0
  405. package/build/primitive/Data.d.ts +31 -0
  406. package/build/primitive/StorageKey.d.ts +53 -0
  407. package/build/primitive/index.d.ts +6 -0
  408. package/build/primitive/types.d.ts +17 -0
  409. package/build/types/augmentLookup.d.ts +15 -0
  410. package/build/types/augmentRegistry.d.ts +39 -0
  411. package/build/types/calls.d.ts +10 -0
  412. package/build/types/codec.d.ts +4 -0
  413. package/build/types/definitions.d.ts +108 -0
  414. package/build/types/detect.d.ts +42 -0
  415. package/build/types/events.d.ts +28 -0
  416. package/build/types/extrinsic.d.ts +220 -0
  417. package/build/types/index.d.ts +12 -0
  418. package/build/types/interfaces.d.ts +40 -0
  419. package/build/types/registry.d.ts +128 -0
  420. package/build/util/index.d.ts +1 -0
  421. package/build/util/storage.d.ts +7 -0
  422. package/package.json +37 -0
  423. package/src/bundle.ts +22 -0
  424. package/src/checkTypes.manual.ts +101 -0
  425. package/src/codec/index.ts +9 -0
  426. package/src/codec/types.ts +4 -0
  427. package/src/create/createClass.spec.ts +47 -0
  428. package/src/create/createClass.ts +11 -0
  429. package/src/create/createType.spec.ts +252 -0
  430. package/src/create/createType.ts +17 -0
  431. package/src/create/index.ts +11 -0
  432. package/src/create/lazy.ts +22 -0
  433. package/src/create/registry.spec.ts +186 -0
  434. package/src/create/registry.ts +639 -0
  435. package/src/create/types.ts +9 -0
  436. package/src/ethereum/AccountId.spec.ts +86 -0
  437. package/src/ethereum/AccountId.ts +76 -0
  438. package/src/ethereum/LookupSource.spec.ts +107 -0
  439. package/src/ethereum/LookupSource.ts +122 -0
  440. package/src/ethereum/index.ts +5 -0
  441. package/src/extrinsic/Extrinsic.spec.ts +111 -0
  442. package/src/extrinsic/Extrinsic.ts +461 -0
  443. package/src/extrinsic/ExtrinsicEra.spec.ts +87 -0
  444. package/src/extrinsic/ExtrinsicEra.ts +299 -0
  445. package/src/extrinsic/ExtrinsicPayload.spec.ts +116 -0
  446. package/src/extrinsic/ExtrinsicPayload.ts +223 -0
  447. package/src/extrinsic/ExtrinsicPayloadUnknown.ts +20 -0
  448. package/src/extrinsic/ExtrinsicUnknown.ts +22 -0
  449. package/src/extrinsic/SignerPayload.spec.ts +189 -0
  450. package/src/extrinsic/SignerPayload.ts +198 -0
  451. package/src/extrinsic/constants.ts +28 -0
  452. package/src/extrinsic/index.ts +14 -0
  453. package/src/extrinsic/signedExtensions/emptyCheck.ts +9 -0
  454. package/src/extrinsic/signedExtensions/index.ts +46 -0
  455. package/src/extrinsic/signedExtensions/polkadot.ts +15 -0
  456. package/src/extrinsic/signedExtensions/shell.ts +10 -0
  457. package/src/extrinsic/signedExtensions/statemint.ts +15 -0
  458. package/src/extrinsic/signedExtensions/substrate.ts +75 -0
  459. package/src/extrinsic/signedExtensions/types.ts +11 -0
  460. package/src/extrinsic/types.ts +25 -0
  461. package/src/extrinsic/util.ts +23 -0
  462. package/src/extrinsic/v4/Extrinsic.spec.ts +86 -0
  463. package/src/extrinsic/v4/Extrinsic.ts +108 -0
  464. package/src/extrinsic/v4/ExtrinsicPayload.spec.ts +74 -0
  465. package/src/extrinsic/v4/ExtrinsicPayload.ts +131 -0
  466. package/src/extrinsic/v4/ExtrinsicSignature.spec.ts +160 -0
  467. package/src/extrinsic/v4/ExtrinsicSignature.ts +229 -0
  468. package/src/extrinsic/v4/index.ts +6 -0
  469. package/src/extrinsic/v5/Extrinsic.spec.ts +74 -0
  470. package/src/extrinsic/v5/Extrinsic.ts +116 -0
  471. package/src/extrinsic/v5/ExtrinsicPayload.spec.ts +39 -0
  472. package/src/extrinsic/v5/ExtrinsicPayload.ts +115 -0
  473. package/src/extrinsic/v5/ExtrinsicSignature.spec.ts +105 -0
  474. package/src/extrinsic/v5/ExtrinsicSignature.ts +200 -0
  475. package/src/extrinsic/v5/GeneralExtrinsic.spec.ts +47 -0
  476. package/src/extrinsic/v5/GeneralExtrinsic.ts +208 -0
  477. package/src/extrinsic/v5/index.ts +7 -0
  478. package/src/generic/AccountId.spec.ts +179 -0
  479. package/src/generic/AccountId.ts +100 -0
  480. package/src/generic/AccountIndex.spec.ts +75 -0
  481. package/src/generic/AccountIndex.ts +129 -0
  482. package/src/generic/Block.spec.ts +49 -0
  483. package/src/generic/Block.ts +65 -0
  484. package/src/generic/Call.spec.ts +47 -0
  485. package/src/generic/Call.ts +244 -0
  486. package/src/generic/ChainProperties.spec.ts +95 -0
  487. package/src/generic/ChainProperties.ts +93 -0
  488. package/src/generic/ConsensusEngineId.spec.ts +23 -0
  489. package/src/generic/ConsensusEngineId.ts +131 -0
  490. package/src/generic/Event.ts +200 -0
  491. package/src/generic/LookupSource.spec.ts +123 -0
  492. package/src/generic/LookupSource.ts +141 -0
  493. package/src/generic/MultiAddress.spec.ts +52 -0
  494. package/src/generic/MultiAddress.ts +73 -0
  495. package/src/generic/Vote.spec.ts +167 -0
  496. package/src/generic/Vote.ts +133 -0
  497. package/src/generic/index.ts +17 -0
  498. package/src/index.spec.ts +78 -0
  499. package/src/index.ts +6 -0
  500. package/src/index.types.ts +6 -0
  501. package/src/interfaces/alias.spec.ts +50 -0
  502. package/src/interfaces/alias.ts +116 -0
  503. package/src/interfaces/assetConversion/definitions.ts +17 -0
  504. package/src/interfaces/assetConversion/index.ts +4 -0
  505. package/src/interfaces/assetConversion/runtime.ts +72 -0
  506. package/src/interfaces/assetConversion/types.ts +10 -0
  507. package/src/interfaces/assets/definitions.ts +57 -0
  508. package/src/interfaces/assets/index.ts +4 -0
  509. package/src/interfaces/assets/runtime.ts +24 -0
  510. package/src/interfaces/assets/types.ts +64 -0
  511. package/src/interfaces/attestations/definitions.ts +26 -0
  512. package/src/interfaces/attestations/index.ts +4 -0
  513. package/src/interfaces/attestations/types.ts +28 -0
  514. package/src/interfaces/aura/definitions.ts +19 -0
  515. package/src/interfaces/aura/index.ts +4 -0
  516. package/src/interfaces/aura/runtime.ts +24 -0
  517. package/src/interfaces/aura/types.ts +11 -0
  518. package/src/interfaces/author/ExtrinsicStatus.spec.ts +33 -0
  519. package/src/interfaces/author/definitions.ts +35 -0
  520. package/src/interfaces/author/index.ts +4 -0
  521. package/src/interfaces/author/rpc.ts +101 -0
  522. package/src/interfaces/author/types.ts +37 -0
  523. package/src/interfaces/authorship/definitions.ts +19 -0
  524. package/src/interfaces/authorship/index.ts +4 -0
  525. package/src/interfaces/authorship/types.ts +17 -0
  526. package/src/interfaces/babe/definitions.ts +134 -0
  527. package/src/interfaces/babe/index.ts +4 -0
  528. package/src/interfaces/babe/rpc.ts +13 -0
  529. package/src/interfaces/babe/runtime.ts +77 -0
  530. package/src/interfaces/babe/types.ts +187 -0
  531. package/src/interfaces/balances/definitions.ts +55 -0
  532. package/src/interfaces/balances/index.ts +4 -0
  533. package/src/interfaces/balances/types.ts +70 -0
  534. package/src/interfaces/beefy/definitions.ts +66 -0
  535. package/src/interfaces/beefy/index.ts +4 -0
  536. package/src/interfaces/beefy/rpc.ts +22 -0
  537. package/src/interfaces/beefy/runtime.ts +107 -0
  538. package/src/interfaces/beefy/types.ts +87 -0
  539. package/src/interfaces/benchmark/definitions.ts +52 -0
  540. package/src/interfaces/benchmark/index.ts +4 -0
  541. package/src/interfaces/benchmark/runtime.ts +34 -0
  542. package/src/interfaces/benchmark/types.ts +81 -0
  543. package/src/interfaces/blockbuilder/definitions.ts +25 -0
  544. package/src/interfaces/blockbuilder/index.ts +4 -0
  545. package/src/interfaces/blockbuilder/runtime.ts +124 -0
  546. package/src/interfaces/blockbuilder/types.ts +21 -0
  547. package/src/interfaces/bridges/definitions.ts +94 -0
  548. package/src/interfaces/bridges/index.ts +4 -0
  549. package/src/interfaces/bridges/types.ts +147 -0
  550. package/src/interfaces/chain/definitions.ts +16 -0
  551. package/src/interfaces/chain/index.ts +4 -0
  552. package/src/interfaces/chain/rpc.ts +82 -0
  553. package/src/interfaces/chain/types.ts +9 -0
  554. package/src/interfaces/childstate/definitions.ts +17 -0
  555. package/src/interfaces/childstate/index.ts +4 -0
  556. package/src/interfaces/childstate/rpc.ts +137 -0
  557. package/src/interfaces/childstate/types.ts +9 -0
  558. package/src/interfaces/claims/definitions.ts +16 -0
  559. package/src/interfaces/claims/index.ts +4 -0
  560. package/src/interfaces/claims/types.ts +13 -0
  561. package/src/interfaces/collective/definitions.ts +34 -0
  562. package/src/interfaces/collective/index.ts +4 -0
  563. package/src/interfaces/collective/types.ts +40 -0
  564. package/src/interfaces/consensus/definitions.ts +15 -0
  565. package/src/interfaces/consensus/index.ts +4 -0
  566. package/src/interfaces/consensus/types.ts +13 -0
  567. package/src/interfaces/contracts/definitions.ts +434 -0
  568. package/src/interfaces/contracts/index.ts +4 -0
  569. package/src/interfaces/contracts/rpc.ts +99 -0
  570. package/src/interfaces/contracts/runtime.ts +184 -0
  571. package/src/interfaces/contracts/types.ts +536 -0
  572. package/src/interfaces/contractsAbi/definitions.ts +351 -0
  573. package/src/interfaces/contractsAbi/index.ts +4 -0
  574. package/src/interfaces/contractsAbi/types.ts +446 -0
  575. package/src/interfaces/crowdloan/definitions.ts +34 -0
  576. package/src/interfaces/crowdloan/index.ts +4 -0
  577. package/src/interfaces/crowdloan/types.ts +38 -0
  578. package/src/interfaces/cumulus/definitions.ts +44 -0
  579. package/src/interfaces/cumulus/index.ts +4 -0
  580. package/src/interfaces/cumulus/runtime.ts +55 -0
  581. package/src/interfaces/cumulus/types.ts +48 -0
  582. package/src/interfaces/definitions.spec.ts +159 -0
  583. package/src/interfaces/definitions.ts +92 -0
  584. package/src/interfaces/democracy/definitions.ts +121 -0
  585. package/src/interfaces/democracy/index.ts +4 -0
  586. package/src/interfaces/democracy/types.ts +154 -0
  587. package/src/interfaces/dev/definitions.ts +21 -0
  588. package/src/interfaces/dev/index.ts +4 -0
  589. package/src/interfaces/dev/rpc.ts +19 -0
  590. package/src/interfaces/dev/types.ts +14 -0
  591. package/src/interfaces/discovery/definitions.ts +15 -0
  592. package/src/interfaces/discovery/index.ts +4 -0
  593. package/src/interfaces/discovery/runtime.ts +19 -0
  594. package/src/interfaces/discovery/types.ts +4 -0
  595. package/src/interfaces/dryRunApi/definitions.ts +38 -0
  596. package/src/interfaces/dryRunApi/index.ts +4 -0
  597. package/src/interfaces/dryRunApi/runtime.ts +79 -0
  598. package/src/interfaces/dryRunApi/types.ts +46 -0
  599. package/src/interfaces/elections/definitions.ts +42 -0
  600. package/src/interfaces/elections/index.ts +4 -0
  601. package/src/interfaces/elections/types.ts +52 -0
  602. package/src/interfaces/engine/definitions.ts +30 -0
  603. package/src/interfaces/engine/index.ts +4 -0
  604. package/src/interfaces/engine/rpc.ts +41 -0
  605. package/src/interfaces/engine/types.ts +23 -0
  606. package/src/interfaces/essentials.ts +6 -0
  607. package/src/interfaces/eth/definitions.ts +411 -0
  608. package/src/interfaces/eth/index.ts +4 -0
  609. package/src/interfaces/eth/rpc.ts +508 -0
  610. package/src/interfaces/eth/runtime.ts +355 -0
  611. package/src/interfaces/eth/types.ts +505 -0
  612. package/src/interfaces/evm/definitions.ts +99 -0
  613. package/src/interfaces/evm/index.ts +4 -0
  614. package/src/interfaces/evm/types.ts +126 -0
  615. package/src/interfaces/extrinsics/EdcsaSignature.spec.ts +35 -0
  616. package/src/interfaces/extrinsics/definitions.ts +45 -0
  617. package/src/interfaces/extrinsics/index.ts +4 -0
  618. package/src/interfaces/extrinsics/types.ts +82 -0
  619. package/src/interfaces/finality/definitions.ts +15 -0
  620. package/src/interfaces/finality/index.ts +4 -0
  621. package/src/interfaces/finality/runtime.ts +23 -0
  622. package/src/interfaces/finality/types.ts +4 -0
  623. package/src/interfaces/fungibles/definitions.ts +19 -0
  624. package/src/interfaces/fungibles/index.ts +4 -0
  625. package/src/interfaces/fungibles/runtime.ts +39 -0
  626. package/src/interfaces/fungibles/types.ts +13 -0
  627. package/src/interfaces/genericAsset/definitions.ts +34 -0
  628. package/src/interfaces/genericAsset/index.ts +4 -0
  629. package/src/interfaces/genericAsset/types.ts +38 -0
  630. package/src/interfaces/genesisBuilder/definitions.ts +14 -0
  631. package/src/interfaces/genesisBuilder/index.ts +4 -0
  632. package/src/interfaces/genesisBuilder/runtime.ts +29 -0
  633. package/src/interfaces/genesisBuilder/types.ts +9 -0
  634. package/src/interfaces/gilt/definitions.ts +30 -0
  635. package/src/interfaces/gilt/index.ts +4 -0
  636. package/src/interfaces/gilt/types.ts +32 -0
  637. package/src/interfaces/grandpa/ReportedRoundStates.spec.ts +20 -0
  638. package/src/interfaces/grandpa/definitions.ts +140 -0
  639. package/src/interfaces/grandpa/index.ts +4 -0
  640. package/src/interfaces/grandpa/rpc.ts +32 -0
  641. package/src/interfaces/grandpa/runtime.ts +60 -0
  642. package/src/interfaces/grandpa/types.ts +201 -0
  643. package/src/interfaces/identity/IdentityFields.spec.ts +34 -0
  644. package/src/interfaces/identity/Registration.spec.ts +36 -0
  645. package/src/interfaces/identity/definitions.ts +79 -0
  646. package/src/interfaces/identity/index.ts +4 -0
  647. package/src/interfaces/identity/types.ts +89 -0
  648. package/src/interfaces/imOnline/definitions.ts +34 -0
  649. package/src/interfaces/imOnline/index.ts +4 -0
  650. package/src/interfaces/imOnline/types.ts +44 -0
  651. package/src/interfaces/index.ts +4 -0
  652. package/src/interfaces/jsonrpc.ts +30 -0
  653. package/src/interfaces/lottery/definitions.ts +21 -0
  654. package/src/interfaces/lottery/index.ts +4 -0
  655. package/src/interfaces/lottery/types.ts +20 -0
  656. package/src/interfaces/metadata/definitions.ts +87 -0
  657. package/src/interfaces/metadata/hashers.ts +16 -0
  658. package/src/interfaces/metadata/index.ts +4 -0
  659. package/src/interfaces/metadata/runtime.ts +44 -0
  660. package/src/interfaces/metadata/types.ts +849 -0
  661. package/src/interfaces/metadata/v10.ts +67 -0
  662. package/src/interfaces/metadata/v11.ts +67 -0
  663. package/src/interfaces/metadata/v12.ts +35 -0
  664. package/src/interfaces/metadata/v13.ts +66 -0
  665. package/src/interfaces/metadata/v14.ts +102 -0
  666. package/src/interfaces/metadata/v15.ts +67 -0
  667. package/src/interfaces/metadata/v16.ts +168 -0
  668. package/src/interfaces/metadata/v9.ts +87 -0
  669. package/src/interfaces/mixnet/definitions.ts +33 -0
  670. package/src/interfaces/mixnet/index.ts +4 -0
  671. package/src/interfaces/mixnet/runtime.ts +43 -0
  672. package/src/interfaces/mixnet/types.ts +38 -0
  673. package/src/interfaces/mmr/definitions.ts +44 -0
  674. package/src/interfaces/mmr/index.ts +4 -0
  675. package/src/interfaces/mmr/rpc.ts +67 -0
  676. package/src/interfaces/mmr/runtime.ts +168 -0
  677. package/src/interfaces/mmr/types.ts +63 -0
  678. package/src/interfaces/nfts/definitions.ts +18 -0
  679. package/src/interfaces/nfts/index.ts +4 -0
  680. package/src/interfaces/nfts/runtime.ts +110 -0
  681. package/src/interfaces/nfts/types.ts +12 -0
  682. package/src/interfaces/nimbus/definitions.ts +15 -0
  683. package/src/interfaces/nimbus/index.ts +4 -0
  684. package/src/interfaces/nimbus/runtime.ts +77 -0
  685. package/src/interfaces/nimbus/types.ts +4 -0
  686. package/src/interfaces/nompools/definitions.ts +20 -0
  687. package/src/interfaces/nompools/index.ts +4 -0
  688. package/src/interfaces/nompools/runtime.ts +52 -0
  689. package/src/interfaces/nompools/types.ts +16 -0
  690. package/src/interfaces/offchain/definitions.spec.ts +21 -0
  691. package/src/interfaces/offchain/definitions.ts +23 -0
  692. package/src/interfaces/offchain/index.ts +4 -0
  693. package/src/interfaces/offchain/rpc.ts +56 -0
  694. package/src/interfaces/offchain/runtime.ts +39 -0
  695. package/src/interfaces/offchain/types.ts +13 -0
  696. package/src/interfaces/offences/definitions.ts +23 -0
  697. package/src/interfaces/offences/index.ts +4 -0
  698. package/src/interfaces/offences/types.ts +33 -0
  699. package/src/interfaces/ormlOracle/definitions.ts +15 -0
  700. package/src/interfaces/ormlOracle/index.ts +4 -0
  701. package/src/interfaces/ormlOracle/runtime.ts +48 -0
  702. package/src/interfaces/ormlOracle/types.ts +4 -0
  703. package/src/interfaces/ormlTokens/definitions.ts +15 -0
  704. package/src/interfaces/ormlTokens/index.ts +4 -0
  705. package/src/interfaces/ormlTokens/runtime.ts +30 -0
  706. package/src/interfaces/ormlTokens/types.ts +4 -0
  707. package/src/interfaces/parachains/SystemInherentData.spec.ts +29 -0
  708. package/src/interfaces/parachains/definitions.ts +571 -0
  709. package/src/interfaces/parachains/hrmp.ts +30 -0
  710. package/src/interfaces/parachains/index.ts +4 -0
  711. package/src/interfaces/parachains/runtime.ts +426 -0
  712. package/src/interfaces/parachains/slots.ts +59 -0
  713. package/src/interfaces/parachains/types.ts +984 -0
  714. package/src/interfaces/payment/definitions.ts +42 -0
  715. package/src/interfaces/payment/index.ts +4 -0
  716. package/src/interfaces/payment/rpc.ts +44 -0
  717. package/src/interfaces/payment/runtime.ts +186 -0
  718. package/src/interfaces/payment/types.ts +41 -0
  719. package/src/interfaces/poll/definitions.ts +14 -0
  720. package/src/interfaces/poll/index.ts +4 -0
  721. package/src/interfaces/poll/types.ts +9 -0
  722. package/src/interfaces/pow/definitions.ts +15 -0
  723. package/src/interfaces/pow/index.ts +4 -0
  724. package/src/interfaces/pow/runtime.ts +32 -0
  725. package/src/interfaces/pow/types.ts +4 -0
  726. package/src/interfaces/proxy/definitions.ts +26 -0
  727. package/src/interfaces/proxy/index.ts +4 -0
  728. package/src/interfaces/proxy/types.ts +30 -0
  729. package/src/interfaces/purchase/definitions.ts +23 -0
  730. package/src/interfaces/purchase/index.ts +4 -0
  731. package/src/interfaces/purchase/types.ts +27 -0
  732. package/src/interfaces/recovery/definitions.ts +24 -0
  733. package/src/interfaces/recovery/index.ts +4 -0
  734. package/src/interfaces/recovery/types.ts +22 -0
  735. package/src/interfaces/rpc/definitions.ts +19 -0
  736. package/src/interfaces/rpc/index.ts +4 -0
  737. package/src/interfaces/rpc/rpc.ts +12 -0
  738. package/src/interfaces/rpc/types.ts +12 -0
  739. package/src/interfaces/runtime/Digest.spec.ts +34 -0
  740. package/src/interfaces/runtime/Header.spec.ts +64 -0
  741. package/src/interfaces/runtime/KeyValue.spec.ts +41 -0
  742. package/src/interfaces/runtime/definitions.ts +236 -0
  743. package/src/interfaces/runtime/index.ts +4 -0
  744. package/src/interfaces/runtime/runtime.ts +117 -0
  745. package/src/interfaces/runtime/types.ts +422 -0
  746. package/src/interfaces/scaleInfo/definitions.ts +34 -0
  747. package/src/interfaces/scaleInfo/index.ts +4 -0
  748. package/src/interfaces/scaleInfo/types.ts +265 -0
  749. package/src/interfaces/scaleInfo/v0.ts +72 -0
  750. package/src/interfaces/scaleInfo/v1.ts +73 -0
  751. package/src/interfaces/scheduler/definitions.ts +31 -0
  752. package/src/interfaces/scheduler/index.ts +4 -0
  753. package/src/interfaces/scheduler/types.ts +40 -0
  754. package/src/interfaces/session/definitions.ts +55 -0
  755. package/src/interfaces/session/index.ts +4 -0
  756. package/src/interfaces/session/runtime.ts +34 -0
  757. package/src/interfaces/session/types.ts +79 -0
  758. package/src/interfaces/society/definitions.ts +36 -0
  759. package/src/interfaces/society/index.ts +4 -0
  760. package/src/interfaces/society/types.ts +50 -0
  761. package/src/interfaces/staking/CompactAssignments.spec.ts +207 -0
  762. package/src/interfaces/staking/Exposure.spec.ts +23 -0
  763. package/src/interfaces/staking/definitions.ts +311 -0
  764. package/src/interfaces/staking/index.ts +4 -0
  765. package/src/interfaces/staking/runtime.ts +24 -0
  766. package/src/interfaces/staking/types.ts +430 -0
  767. package/src/interfaces/state/KeyValueOption.spec.ts +19 -0
  768. package/src/interfaces/state/RuntimeVersion.spec.ts +42 -0
  769. package/src/interfaces/state/StorageChangeSet.spec.ts +49 -0
  770. package/src/interfaces/state/definitions.ts +95 -0
  771. package/src/interfaces/state/index.ts +4 -0
  772. package/src/interfaces/state/rpc.ts +416 -0
  773. package/src/interfaces/state/types.ts +124 -0
  774. package/src/interfaces/statement/definitions.ts +26 -0
  775. package/src/interfaces/statement/index.ts +4 -0
  776. package/src/interfaces/statement/runtime.ts +28 -0
  777. package/src/interfaces/statement/types.ts +28 -0
  778. package/src/interfaces/support/definitions.ts +19 -0
  779. package/src/interfaces/support/index.ts +4 -0
  780. package/src/interfaces/support/types.ts +15 -0
  781. package/src/interfaces/syncstate/definitions.ts +14 -0
  782. package/src/interfaces/syncstate/index.ts +4 -0
  783. package/src/interfaces/syncstate/rpc.ts +18 -0
  784. package/src/interfaces/syncstate/types.ts +4 -0
  785. package/src/interfaces/system/EventRecord.spec.ts +42 -0
  786. package/src/interfaces/system/definitions.ts +327 -0
  787. package/src/interfaces/system/index.ts +4 -0
  788. package/src/interfaces/system/rpc.ts +144 -0
  789. package/src/interfaces/system/runtime.ts +24 -0
  790. package/src/interfaces/system/types.ts +476 -0
  791. package/src/interfaces/treasury/definitions.ts +68 -0
  792. package/src/interfaces/treasury/index.ts +4 -0
  793. package/src/interfaces/treasury/types.ts +87 -0
  794. package/src/interfaces/txpayment/definitions.ts +11 -0
  795. package/src/interfaces/txpayment/index.ts +4 -0
  796. package/src/interfaces/txpayment/types.ts +9 -0
  797. package/src/interfaces/txqueue/definitions.ts +27 -0
  798. package/src/interfaces/txqueue/index.ts +4 -0
  799. package/src/interfaces/txqueue/runtime.ts +66 -0
  800. package/src/interfaces/txqueue/types.ts +33 -0
  801. package/src/interfaces/types.ts +82 -0
  802. package/src/interfaces/uniques/definitions.ts +50 -0
  803. package/src/interfaces/uniques/index.ts +4 -0
  804. package/src/interfaces/uniques/types.ts +62 -0
  805. package/src/interfaces/utility/definitions.ts +23 -0
  806. package/src/interfaces/utility/index.ts +4 -0
  807. package/src/interfaces/utility/types.ts +21 -0
  808. package/src/interfaces/vesting/definitions.ts +18 -0
  809. package/src/interfaces/vesting/index.ts +4 -0
  810. package/src/interfaces/vesting/types.ts +14 -0
  811. package/src/interfaces/xcm/definitions.ts +189 -0
  812. package/src/interfaces/xcm/index.ts +4 -0
  813. package/src/interfaces/xcm/types.ts +2546 -0
  814. package/src/interfaces/xcm/v0.ts +225 -0
  815. package/src/interfaces/xcm/v1.ts +224 -0
  816. package/src/interfaces/xcm/v2.ts +293 -0
  817. package/src/interfaces/xcm/v3.ts +386 -0
  818. package/src/interfaces/xcm/v4.ts +281 -0
  819. package/src/interfaces/xcm/v5.ts +314 -0
  820. package/src/interfaces/xcmPaymentApi/definitions.ts +25 -0
  821. package/src/interfaces/xcmPaymentApi/index.ts +4 -0
  822. package/src/interfaces/xcmPaymentApi/runtime.ts +48 -0
  823. package/src/interfaces/xcmPaymentApi/types.ts +16 -0
  824. package/src/interfaces/xcmRuntimeApi/definitions.ts +19 -0
  825. package/src/interfaces/xcmRuntimeApi/index.ts +4 -0
  826. package/src/interfaces/xcmRuntimeApi/runtime.ts +24 -0
  827. package/src/interfaces/xcmRuntimeApi/types.ts +13 -0
  828. package/src/lookup.ts +5 -0
  829. package/src/metadata/MagicNumber.spec.ts +29 -0
  830. package/src/metadata/MagicNumber.ts +18 -0
  831. package/src/metadata/Metadata.spec.ts +57 -0
  832. package/src/metadata/Metadata.ts +53 -0
  833. package/src/metadata/MetadataVersioned.ts +183 -0
  834. package/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts +58 -0
  835. package/src/metadata/PortableRegistry/PortableRegistry.ts +1095 -0
  836. package/src/metadata/PortableRegistry/index.ts +5 -0
  837. package/src/metadata/PortableRegistry/toV1.ts +130 -0
  838. package/src/metadata/README.md +10 -0
  839. package/src/metadata/decorate/constants/index.spec.ts +44 -0
  840. package/src/metadata/decorate/constants/index.ts +39 -0
  841. package/src/metadata/decorate/errors/index.spec.ts +47 -0
  842. package/src/metadata/decorate/errors/index.ts +58 -0
  843. package/src/metadata/decorate/events/index.spec.ts +52 -0
  844. package/src/metadata/decorate/events/index.ts +42 -0
  845. package/src/metadata/decorate/extrinsics/createUnchecked.ts +38 -0
  846. package/src/metadata/decorate/extrinsics/index.spec.ts +90 -0
  847. package/src/metadata/decorate/extrinsics/index.ts +66 -0
  848. package/src/metadata/decorate/index.spec.ts +57 -0
  849. package/src/metadata/decorate/index.ts +35 -0
  850. package/src/metadata/decorate/storage/createFunction.spec.ts +179 -0
  851. package/src/metadata/decorate/storage/createFunction.ts +258 -0
  852. package/src/metadata/decorate/storage/getHasher.spec.ts +30 -0
  853. package/src/metadata/decorate/storage/getHasher.ts +36 -0
  854. package/src/metadata/decorate/storage/getStorage.spec.ts +31 -0
  855. package/src/metadata/decorate/storage/getStorage.ts +20 -0
  856. package/src/metadata/decorate/storage/index.spec.ts +67 -0
  857. package/src/metadata/decorate/storage/index.ts +50 -0
  858. package/src/metadata/decorate/storage/substrate.spec.ts +36 -0
  859. package/src/metadata/decorate/storage/substrate.ts +56 -0
  860. package/src/metadata/decorate/storage/util.ts +101 -0
  861. package/src/metadata/decorate/types.ts +52 -0
  862. package/src/metadata/decorate/util.ts +20 -0
  863. package/src/metadata/index.ts +6 -0
  864. package/src/metadata/types.ts +9 -0
  865. package/src/metadata/util/extractTypes.ts +64 -0
  866. package/src/metadata/util/flattenUniq.spec.ts +20 -0
  867. package/src/metadata/util/flattenUniq.ts +19 -0
  868. package/src/metadata/util/getSiName.ts +11 -0
  869. package/src/metadata/util/getUniqTypes.ts +67 -0
  870. package/src/metadata/util/index.ts +8 -0
  871. package/src/metadata/util/testUtil.ts +217 -0
  872. package/src/metadata/util/toCallsOnly.spec.ts +46 -0
  873. package/src/metadata/util/toCallsOnly.ts +43 -0
  874. package/src/metadata/util/types.ts +9 -0
  875. package/src/metadata/util/validateTypes.ts +33 -0
  876. package/src/metadata/v10/Metadata.spec.ts +12 -0
  877. package/src/metadata/v10/toV11.ts +18 -0
  878. package/src/metadata/v11/Metadata.spec.ts +12 -0
  879. package/src/metadata/v11/toV12.ts +19 -0
  880. package/src/metadata/v12/Metadata.spec.ts +12 -0
  881. package/src/metadata/v12/toV13.ts +12 -0
  882. package/src/metadata/v13/Metadata.spec.ts +24 -0
  883. package/src/metadata/v13/toV14.ts +352 -0
  884. package/src/metadata/v14/Metadata.spec.ts +20 -0
  885. package/src/metadata/v14/toV15.ts +45 -0
  886. package/src/metadata/v15/Metadata.spec.ts +28 -0
  887. package/src/metadata/v15/toV16.ts +147 -0
  888. package/src/metadata/v16/Metadata.spec.ts +30 -0
  889. package/src/metadata/v16/toLatest.ts +13 -0
  890. package/src/metadata/v9/Metadata.spec.ts +12 -0
  891. package/src/metadata/v9/toV10.ts +62 -0
  892. package/src/metadata/versions.ts +17 -0
  893. package/src/mod.ts +4 -0
  894. package/src/packageDetect.ts +13 -0
  895. package/src/packageInfo.ts +6 -0
  896. package/src/primitive/Data.spec.ts +45 -0
  897. package/src/primitive/Data.ts +142 -0
  898. package/src/primitive/StorageKey.spec.ts +43 -0
  899. package/src/primitive/StorageKey.ts +251 -0
  900. package/src/primitive/index.ts +13 -0
  901. package/src/primitive/types.ts +22 -0
  902. package/src/types/augmentLookup.ts +23 -0
  903. package/src/types/augmentRegistry.ts +53 -0
  904. package/src/types/calls.ts +15 -0
  905. package/src/types/codec.ts +15 -0
  906. package/src/types/definitions.ts +119 -0
  907. package/src/types/detect.ts +148 -0
  908. package/src/types/events.ts +37 -0
  909. package/src/types/extrinsic.ts +262 -0
  910. package/src/types/index.ts +22 -0
  911. package/src/types/interfaces.ts +51 -0
  912. package/src/types/registry.ts +106 -0
  913. package/src/util/index.ts +4 -0
  914. package/src/util/storage.ts +24 -0
  915. package/tsconfig.build.json +17 -0
  916. package/tsconfig.build.tsbuildinfo +1 -0
  917. package/tsconfig.spec.json +22 -0
@@ -0,0 +1,293 @@
1
+ // Copyright 2017-2025 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ // order important in structs... :)
5
+ /* eslint-disable sort-keys */
6
+
7
+ import type { DefinitionsTypes } from '../../types/index.js';
8
+
9
+ export const v2: DefinitionsTypes = {
10
+ AssetIdV2: {
11
+ _enum: {
12
+ Concrete: 'MultiLocationV2',
13
+ Abstract: 'Bytes'
14
+ }
15
+ },
16
+ AssetInstanceV2: {
17
+ _enum: {
18
+ Undefined: 'Null',
19
+ Index: 'Compact<u128>',
20
+ Array4: '[u8;4]',
21
+ Array8: '[u8;8]',
22
+ Array16: '[u8;16]',
23
+ Array32: '[u8;32]',
24
+ Blob: 'Bytes'
25
+ }
26
+ },
27
+ BodyIdV2: {
28
+ _enum: {
29
+ Unit: 'Null',
30
+ Named: 'Bytes',
31
+ Index: 'Compact<u32>',
32
+ Executive: 'Null',
33
+ Technical: 'Null',
34
+ Legislative: 'Null',
35
+ Judicial: 'Null',
36
+ Defense: 'Null',
37
+ Administration: 'Null',
38
+ Treasury: 'Null'
39
+ }
40
+ },
41
+ BodyPartV2: {
42
+ _enum: {
43
+ Voice: 'Null',
44
+ Members: {
45
+ count: 'Compact<u32>'
46
+ },
47
+ Fraction: {
48
+ nom: 'Compact<u32>',
49
+ denom: 'Compact<u32>'
50
+ },
51
+ AtLeastProportion: {
52
+ nom: 'Compact<u32>',
53
+ denom: 'Compact<u32>'
54
+ },
55
+ MoreThanProportion: {
56
+ nom: 'Compact<u32>',
57
+ denom: 'Compact<u32>'
58
+ }
59
+ }
60
+ },
61
+ NetworkIdV2: {
62
+ _enum: {
63
+ Any: 'Null',
64
+ Named: 'Bytes',
65
+ Polkadot: 'Null',
66
+ Kusama: 'Null'
67
+ }
68
+ },
69
+ JunctionV2: {
70
+ _enum: {
71
+ Parachain: 'Compact<u32>',
72
+ AccountId32: {
73
+ network: 'NetworkIdV2',
74
+ id: '[u8; 32]'
75
+ },
76
+ AccountIndex64: {
77
+ network: 'NetworkIdV2',
78
+ index: 'Compact<u64>'
79
+ },
80
+ AccountKey20: {
81
+ network: 'NetworkIdV2',
82
+ key: '[u8; 20]'
83
+ },
84
+ PalletInstance: 'u8',
85
+ GeneralIndex: 'Compact<u128>',
86
+ GeneralKey: 'Bytes',
87
+ OnlyChild: 'Null',
88
+ Plurality: {
89
+ id: 'BodyIdV2',
90
+ part: 'BodyPartV2'
91
+ }
92
+ }
93
+ },
94
+ JunctionsV2: {
95
+ _enum: {
96
+ Here: 'Null',
97
+ X1: 'JunctionV2',
98
+ X2: '(JunctionV2, JunctionV2)',
99
+ X3: '(JunctionV2, JunctionV2, JunctionV2)',
100
+ X4: '(JunctionV2, JunctionV2, JunctionV2, JunctionV2)',
101
+ X5: '(JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2)',
102
+ X6: '(JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2)',
103
+ X7: '(JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2)',
104
+ X8: '(JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2, JunctionV2)'
105
+ }
106
+ },
107
+ FungibilityV2: {
108
+ _enum: {
109
+ Fungible: 'Compact<u128>',
110
+ NonFungible: 'AssetInstanceV2'
111
+ }
112
+ },
113
+ InteriorMultiLocationV2: 'JunctionsV2',
114
+ MultiAssetV2: {
115
+ id: 'AssetIdV2',
116
+ fun: 'FungibilityV2'
117
+ },
118
+ MultiAssetsV2: 'Vec<MultiAssetV2>',
119
+ MultiAssetFilterV2: {
120
+ _enum: {
121
+ Definite: 'MultiAssetsV2',
122
+ Wild: 'WildMultiAssetV2'
123
+ }
124
+ },
125
+ MultiLocationV2: {
126
+ parents: 'u8',
127
+ interior: 'JunctionsV2'
128
+ },
129
+ OriginKindV2: {
130
+ _enum: {
131
+ Native: 'Null',
132
+ SovereignAccount: 'Null',
133
+ Superuser: 'Null',
134
+ Xcm: 'Null'
135
+ }
136
+ },
137
+ WildFungibilityV2: {
138
+ _enum: {
139
+ Fungible: 'Null',
140
+ NonFungible: 'Null'
141
+ }
142
+ },
143
+ ResponseV2: {
144
+ _enum: {
145
+ Null: 'Null',
146
+ Assets: 'MultiAssetsV2',
147
+ ExecutionResult: 'Option<(u32, XcmErrorV2)>',
148
+ Version: 'u32'
149
+ }
150
+ },
151
+ ResponseV2Error: '(u32, XcmErrorV2)',
152
+ WeightLimitV2: {
153
+ _enum: {
154
+ Unlimited: 'Null',
155
+ Limited: 'Compact<u64>'
156
+ }
157
+ },
158
+ InstructionV2: {
159
+ _enum: {
160
+ WithdrawAsset: 'MultiAssetsV2',
161
+ ReserveAssetDeposited: 'MultiAssetsV2',
162
+ ReceiveTeleportedAsset: 'MultiAssetsV2',
163
+ QueryResponse: {
164
+ queryId: 'Compact<u64>',
165
+ response: 'ResponseV2',
166
+ maxWeight: 'Compact<u64>'
167
+ },
168
+ TransferAsset: {
169
+ assets: 'MultiAssetsV2',
170
+ beneficiary: 'MultiLocationV2'
171
+ },
172
+ TransferReserveAsset: {
173
+ assets: 'MultiAssetsV2',
174
+ dest: 'MultiLocationV2',
175
+ xcm: 'XcmV2'
176
+ },
177
+ Transact: {
178
+ originType: 'XcmOriginKind',
179
+ requireWeightAtMost: 'Compact<u64>',
180
+ call: 'DoubleEncodedCall'
181
+ },
182
+ HrmpNewChannelOpenRequest: {
183
+ sender: 'Compact<u32>',
184
+ maxMessageSize: 'Compact<u32>',
185
+ maxCapacity: 'Compact<u32>'
186
+ },
187
+ HrmpChannelAccepted: {
188
+ recipient: 'Compact<u32>'
189
+ },
190
+ HrmpChannelClosing: {
191
+ initiator: 'Compact<u32>',
192
+ sender: 'Compact<u32>',
193
+ recipient: 'Compact<u32>'
194
+ },
195
+ ClearOrigin: 'Null',
196
+ DescendOrigin: 'InteriorMultiLocationV2',
197
+ ReportError: {
198
+ queryId: 'Compact<u64>',
199
+ dest: 'MultiLocationV2',
200
+ maxResponseWeight: 'Compact<u64>'
201
+ },
202
+ DepositAsset: {
203
+ assets: 'MultiAssetFilterV2',
204
+ maxAssets: 'Compact<u32>',
205
+ beneficiary: 'MultiLocationV2'
206
+ },
207
+ DepositReserveAsset: {
208
+ assets: 'MultiAssetFilterV2',
209
+ maxAssets: 'Compact<u32>',
210
+ dest: 'MultiLocationV2',
211
+ xcm: 'XcmV2'
212
+ },
213
+ ExchangeAsset: {
214
+ give: 'MultiAssetFilterV2',
215
+ receive: 'MultiAssetsV2'
216
+ },
217
+ InitiateReserveWithdraw: {
218
+ assets: 'MultiAssetFilterV2',
219
+ reserve: 'MultiLocationV2',
220
+ xcm: 'XcmV2'
221
+ },
222
+ InitiateTeleport: {
223
+ assets: 'MultiAssetFilterV2',
224
+ dest: 'MultiLocationV2',
225
+ xcm: 'XcmV2'
226
+ },
227
+ QueryHolding: {
228
+ queryId: 'Compact<u64>',
229
+ dest: 'MultiLocationV2',
230
+ assets: 'MultiAssetFilterV2',
231
+ maxResponseWeight: 'Compact<u64>'
232
+ },
233
+ BuyExecution: {
234
+ fees: 'MultiAssetV2',
235
+ weightLimit: 'WeightLimitV2'
236
+ },
237
+ RefundSurplus: 'Null',
238
+ SetErrorHandler: 'XcmV2<RuntimeCall>',
239
+ SetAppendix: 'XcmV2<RuntimeCall>',
240
+ ClearError: 'Null',
241
+ ClaimAsset: {
242
+ assets: 'MultiAssetsV2',
243
+ ticket: 'MultiLocationV2'
244
+ },
245
+ Trap: 'Compact<u64>',
246
+ SubscribeVersion: {
247
+ queryId: 'Compact<u64>',
248
+ maxResponseWeight: 'Compact<u64>'
249
+ },
250
+ UnsubscribeVersion: 'Null'
251
+ }
252
+ },
253
+ WildMultiAssetV2: {
254
+ _enum: {
255
+ All: 'Null',
256
+ AllOf: {
257
+ id: 'AssetIdV2',
258
+ fun: 'WildFungibilityV2'
259
+ }
260
+ }
261
+ },
262
+ XcmV2: 'Vec<InstructionV2>',
263
+ XcmErrorV2: {
264
+ _enum: {
265
+ Overflow: 'Null',
266
+ Unimplemented: 'Null',
267
+ UntrustedReserveLocation: 'Null',
268
+ UntrustedTeleportLocation: 'Null',
269
+ MultiLocationFull: 'Null',
270
+ MultiLocationNotInvertible: 'Null',
271
+ BadOrigin: 'Null',
272
+ InvalidLocation: 'Null',
273
+ AssetNotFound: 'Null',
274
+ FailedToTransactAsset: 'Null',
275
+ NotWithdrawable: 'Null',
276
+ LocationCannotHold: 'Null',
277
+ ExceedsMaxMessageSize: 'Null',
278
+ DestinationUnsupported: 'Null',
279
+ Transport: 'Null',
280
+ Unroutable: 'Null',
281
+ UnknownClaim: 'Null',
282
+ FailedToDecode: 'Null',
283
+ MaxWeightInvalid: 'Null',
284
+ NotHoldingFees: 'Null',
285
+ TooExpensive: 'Null',
286
+ Trap: 'u64',
287
+ UnhandledXcmVersion: 'Null',
288
+ WeightLimitReached: 'Weight',
289
+ Barrier: 'Null',
290
+ WeightNotComputable: 'Null'
291
+ }
292
+ }
293
+ };
@@ -0,0 +1,386 @@
1
+ // Copyright 2017-2025 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ // order important in structs... :)
5
+ /* eslint-disable sort-keys */
6
+
7
+ import type { DefinitionsTypes } from '../../types/index.js';
8
+
9
+ export const v3: DefinitionsTypes = {
10
+ AssetIdV3: {
11
+ _enum: {
12
+ Concrete: 'MultiLocationV3',
13
+ Abstract: 'Bytes'
14
+ }
15
+ },
16
+ BodyIdV3: {
17
+ _enum: {
18
+ Unit: 'Null',
19
+ Moniker: '[u8;4]',
20
+ Index: 'Compact<u32>',
21
+ Executive: 'Null',
22
+ Technical: 'Null',
23
+ Legislative: 'Null',
24
+ Judicial: 'Null',
25
+ Defense: 'Null',
26
+ Administration: 'Null',
27
+ Treasury: 'Null'
28
+ }
29
+ },
30
+ BodyPartV3: {
31
+ _enum: {
32
+ Voice: 'Null',
33
+ Members: {
34
+ count: 'Compact<u32>'
35
+ },
36
+ Fraction: {
37
+ nom: 'Compact<u32>',
38
+ denom: 'Compact<u32>'
39
+ },
40
+ AtLeastProportion: {
41
+ nom: 'Compact<u32>',
42
+ denom: 'Compact<u32>'
43
+ },
44
+ MoreThanProportion: {
45
+ nom: 'Compact<u32>',
46
+ denom: 'Compact<u32>'
47
+ }
48
+ }
49
+ },
50
+ AssetInstanceV3: {
51
+ _enum: {
52
+ Undefined: 'Null',
53
+ Index: 'Compact<u128>',
54
+ Array4: '[u8;4]',
55
+ Array8: '[u8;8]',
56
+ Array16: '[u8;16]',
57
+ Array32: '[u8;32]'
58
+ }
59
+ },
60
+ FungibilityV3: {
61
+ _enum: {
62
+ Fungible: 'Compact<u128>',
63
+ NonFungible: 'AssetInstanceV3'
64
+ }
65
+ },
66
+ InteriorMultiLocationV3: 'JunctionsV3',
67
+ JunctionV3: {
68
+ _enum: {
69
+ Parachain: 'Compact<u32>',
70
+ AccountId32: {
71
+ network: 'Option<NetworkIdV3>',
72
+ id: '[u8;32]'
73
+ },
74
+ AccountIndex64: {
75
+ network: 'Option<NetworkIdV3>',
76
+ index: 'Compact<u64>'
77
+ },
78
+ AccountKey20: {
79
+ network: 'Option<NetworkIdV3>',
80
+ key: '[u8;20]'
81
+ },
82
+ PalletInstance: 'u8',
83
+ GeneralIndex: 'Compact<u128>',
84
+ GeneralKey: {
85
+ length: 'u8',
86
+ data: '[u8;32]'
87
+ },
88
+ OnlyChild: 'Null',
89
+ Plurality: {
90
+ id: 'BodyIdV3',
91
+ part: 'BodyPartV3'
92
+ },
93
+ GlobalConsensus: 'NetworkIdV3'
94
+ }
95
+ },
96
+ JunctionsV3: {
97
+ _enum: {
98
+ Here: 'Null',
99
+ X1: 'JunctionV3',
100
+ X2: '(JunctionV3, JunctionV3)',
101
+ X3: '(JunctionV3, JunctionV3, JunctionV3)',
102
+ X4: '(JunctionV3, JunctionV3, JunctionV3, JunctionV3)',
103
+ X5: '(JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3)',
104
+ X6: '(JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3)',
105
+ X7: '(JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3)',
106
+ X8: '(JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3, JunctionV3)'
107
+ }
108
+ },
109
+ MaybeErrorCodeV3: {
110
+ _enum: {
111
+ Success: 'Null',
112
+ Error: 'Bytes',
113
+ TruncatedError: 'Bytes'
114
+ }
115
+ },
116
+ MaxPalletsInfo: 'u32',
117
+ MultiAssetV3: {
118
+ id: 'AssetIdV3',
119
+ fun: 'FungibilityV3'
120
+ },
121
+ MultiAssetsV3: 'Vec<MultiAssetV3>',
122
+ MultiAssetFilterV3: {
123
+ _enum: {
124
+ Definite: 'MultiAssetsV3',
125
+ Wild: 'WildMultiAssetV3'
126
+ }
127
+ },
128
+ MultiLocationV3: {
129
+ parents: 'u8',
130
+ interior: 'JunctionsV3'
131
+ },
132
+ MaxPalletNameLen: 'u32',
133
+ NetworkIdV3: {
134
+ _enum: {
135
+ ByGenesis: '[u8;32]',
136
+ ByFork: {
137
+ blockNumber: 'u64',
138
+ blockHash: '[u8;32]'
139
+ },
140
+ Polkadot: 'Null',
141
+ Kusama: 'Null',
142
+ Westend: 'Null',
143
+ Rococo: 'Null',
144
+ Wococo: 'Null',
145
+ Ethereum: {
146
+ chainId: 'Compact<u64>'
147
+ },
148
+ BitcoinCore: 'Null',
149
+ BitcoinCash: 'Null',
150
+ PolkadotBulletin: 'Null'
151
+ }
152
+
153
+ },
154
+ OriginKindV3: 'OriginKindV2',
155
+ PalletInfoV3: {
156
+ index: 'Compact<u32>',
157
+ name: 'Bytes',
158
+ moduleName: 'Bytes',
159
+ major: 'Compact<u32>',
160
+ minor: 'Compact<u32>',
161
+ patch: 'Compact<u32>'
162
+ },
163
+ WildFungibilityV3: 'WildFungibilityV2',
164
+ QueryResponseInfoV3: {
165
+ destination: 'MultiLocationV3',
166
+ queryId: 'Compact<u64>',
167
+ maxWeight: 'WeightV2'
168
+ },
169
+ ResponseV3: {
170
+ _enum: {
171
+ Null: 'Null',
172
+ Assets: 'MultiAssetsV3',
173
+ ExecutionResult: 'Option<(u32,XcmErrorV3)>',
174
+ Version: 'u32',
175
+ PalletsInfo: 'Vec<PalletInfoV3>',
176
+ DispatchResult: 'MaybeErrorCodeV3'
177
+ }
178
+ },
179
+ XcmErrorV3: {
180
+ _enum: {
181
+ Overflow: 'Null',
182
+ Unimplemented: 'Null',
183
+ UntrustedReserveLocation: 'Null',
184
+ UntrustedTeleportLocation: 'Null',
185
+ LocationFull: 'Null',
186
+ LocationNotInvertible: 'Null',
187
+ BadOrigin: 'Null',
188
+ InvalidLocation: 'Null',
189
+ AssetNotFound: 'Null',
190
+ FailedToTransactAsset: 'Null',
191
+ NotWithdrawable: 'Null',
192
+ LocationCannotHold: 'Null',
193
+ ExceedsMaxMessageSize: 'Null',
194
+ DestinationUnsupported: 'Null',
195
+ Transport: 'Null',
196
+ Unroutable: 'Null',
197
+ UnknownClaim: 'Null',
198
+ FailedToDecode: 'Null',
199
+ MaxWeightInvalid: 'Null',
200
+ NotHoldingFees: 'Null',
201
+ TooExpensive: 'Null',
202
+ Trap: 'u64',
203
+ ExpectationFalse: 'Null',
204
+ PalletNotFound: 'Null',
205
+ NameMismatch: 'Null',
206
+ VersionIncompatible: 'Null',
207
+ HoldingWouldOverflow: 'Null',
208
+ ExportError: 'Null',
209
+ ReanchorFailed: 'Null',
210
+ NoDeal: 'Null',
211
+ FeesNotMet: 'Null',
212
+ LockError: 'Null',
213
+ NoPermission: 'Null',
214
+ Unanchored: 'Null',
215
+ NotDepositable: 'Null',
216
+ UnhandledXcmVersion: 'Null',
217
+ WeightLimitReached: 'WeightV2',
218
+ Barrier: 'Null',
219
+ ExceedsStackLimit: 'Null'
220
+ }
221
+ },
222
+ ResponseV3Error: '(u32, XcmErrorV3)',
223
+ ResponseV3Result: 'Option<(u32, ResponseV3Error)>',
224
+ WeightLimitV3: {
225
+ _enum: {
226
+ Unlimited: 'Null',
227
+ Limited: 'WeightV2'
228
+ }
229
+ },
230
+ InstructionV3: {
231
+ _enum: {
232
+ WithdrawAsset: 'MultiAssetsV3',
233
+ ReserveAssetDeposited: 'MultiAssetsV3',
234
+ ReceiveTeleportedAsset: 'MultiAssetsV3',
235
+ QueryResponse: {
236
+ queryId: 'Compact<u64>',
237
+ response: 'ResponseV3',
238
+ maxWeight: 'WeightV2',
239
+ querier: 'Option<MultiLocationV3>'
240
+ },
241
+ TransferAsset: {
242
+ assets: 'MultiAssetsV3',
243
+ beneficiary: 'MultiLocationV3'
244
+ },
245
+ TransferReserveAsset: {
246
+ assets: 'MultiAssetsV3',
247
+ dest: 'MultiLocationV3',
248
+ xcm: 'XcmV3'
249
+ },
250
+ Transact: {
251
+ originKind: 'XcmOriginKind',
252
+ requireWeightAtMost: 'WeightV2',
253
+ call: 'DoubleEncodedCall'
254
+ },
255
+ HrmpNewChannelOpenRequest: {
256
+ sender: 'Compact<u32>',
257
+ maxMessageSize: 'Compact<u32>',
258
+ maxCapacity: 'Compact<u32>'
259
+ },
260
+ HrmpChannelAccepted: {
261
+ recipient: 'Compact<u32>'
262
+ },
263
+ HrmpChannelClosing: {
264
+ initiator: 'Compact<u32>',
265
+ sender: 'Compact<u32>',
266
+ recipient: 'Compact<u32>'
267
+ },
268
+ ClearOrigin: 'Null',
269
+ DescendOrigin: 'JunctionsV3',
270
+ ReportError: 'QueryResponseInfoV3',
271
+ DepositAsset: {
272
+ assets: 'MultiAssetFilterV3',
273
+ beneficiary: 'MultiLocationV3'
274
+ },
275
+ DepositReserveAsset: {
276
+ assets: 'MultiAssetFilterV3',
277
+ dest: 'MultiLocationV3',
278
+ xcm: 'XcmV3'
279
+ },
280
+ ExchangeAsset: {
281
+ give: 'MultiAssetFilterV3',
282
+ want: 'MultiAssetsV3',
283
+ maximal: 'bool'
284
+ },
285
+ InitiateReserveWithdraw: {
286
+ assets: 'MultiAssetFilterV3',
287
+ reserve: 'MultiLocationV3',
288
+ xcm: 'XcmV3'
289
+ },
290
+ InitiateTeleport: {
291
+ assets: 'MultiAssetFilterV3',
292
+ dest: 'MultiLocationV3',
293
+ xcm: 'XcmV3'
294
+ },
295
+ ReportHolding: {
296
+ responseInfo: 'QueryResponseInfoV3',
297
+ assets: 'MultiAssetFilterV3'
298
+ },
299
+ BuyExecution: {
300
+ fees: 'MultiAssetV3',
301
+ weightLimit: 'WeightLimitV3'
302
+ },
303
+ RefundSurplus: 'Null',
304
+ SetErrorHandler: 'XcmV3<RuntimeCall>',
305
+ SetAppendix: 'XcmV3<RuntimeCall>',
306
+ ClearError: 'Null',
307
+ ClaimAsset: {
308
+ assets: 'MultiAssetsV3',
309
+ ticket: 'MultiLocationV3'
310
+ },
311
+ Trap: 'Compact<u64>',
312
+ SubscribeVersion: {
313
+ queryId: 'Compact<u64>',
314
+ maxResponseWeight: 'WeightV2'
315
+ },
316
+ UnsubscribeVersion: 'Null',
317
+ BurnAsset: 'MultiAssetsV3',
318
+ ExpectAsset: 'MultiAssetsV3',
319
+ ExpectOrigin: 'Option<MultiLocationV3>',
320
+ ExpectError: 'Option<(u32, XcmErrorV3)>',
321
+ ExpectTransactStatus: 'MaybeErrorCodeV3',
322
+ QueryPallet: {
323
+ moduleName: 'Vec<u8>',
324
+ responseInfo: 'QueryResponseInfoV3'
325
+ },
326
+ ExpectPallet: {
327
+ index: 'Compact<u32>',
328
+ name: 'Vec<u8>',
329
+ moduleName: 'Vec<u8>',
330
+ crateMajor: 'Compact<u32>',
331
+ minCrateMinor: 'Compact<u32>'
332
+ },
333
+ ReportTransactStatus: 'QueryResponseInfoV3',
334
+ ClearTransactStatus: 'Null',
335
+ UniversalOrigin: 'JunctionV3',
336
+ ExportMessage: {
337
+ network: 'NetworkIdV3',
338
+ destination: 'JunctionsV3',
339
+ xcm: 'XcmV3'
340
+ },
341
+ LockAsset: {
342
+ asset: 'MultiAssetV3',
343
+ unlocker: 'MultiLocationV3'
344
+ },
345
+ UnlockAsset: {
346
+ asset: 'MultiAssetV3',
347
+ target: 'MultiLocationV3'
348
+ },
349
+ NoteUnlockable: {
350
+ asset: 'MultiAssetV3',
351
+ owner: 'MultiLocationV3'
352
+ },
353
+ RequestUnlock: {
354
+ asset: 'MultiAssetV3',
355
+ locker: 'MultiLocationV3'
356
+ },
357
+ SetFeesMode: {
358
+ jitWithdraw: 'bool'
359
+ },
360
+ SetTopic: '[u8; 32]',
361
+ ClearTopic: 'Null',
362
+ AliasOrigin: 'MultiLocationV3',
363
+ UnpaidExecution: {
364
+ weightLimit: 'WeightLimitV3',
365
+ checkOrigin: 'Option<MultiLocationV3>'
366
+ }
367
+ }
368
+ },
369
+ WildMultiAssetV3: {
370
+ _enum: {
371
+ All: 'Null',
372
+ AllOf: {
373
+ id: 'AssetIdV3',
374
+ fun: 'WildFungibilityV2'
375
+ },
376
+ AllCounted: 'Compact<u32>',
377
+ AllOfCounted: {
378
+ id: 'AssetIdV3',
379
+ fun: 'WildFungibilityV2',
380
+ count: 'Compact<u32>'
381
+ }
382
+ }
383
+ },
384
+ VersionV3: 'u32',
385
+ XcmV3: 'Vec<InstructionV3>'
386
+ };