@dedot/chaintypes 0.193.0 → 0.195.0

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 (187) hide show
  1. package/aleph/consts.d.ts +2 -2
  2. package/aleph/errors.d.ts +228 -228
  3. package/aleph/events.d.ts +122 -226
  4. package/aleph/index.d.ts +13 -17
  5. package/aleph/json-rpc.d.ts +3 -3
  6. package/aleph/query.d.ts +171 -207
  7. package/aleph/runtime.d.ts +47 -63
  8. package/aleph/tx.d.ts +377 -550
  9. package/aleph/view-functions.d.ts +2 -2
  10. package/astar/consts.d.ts +2 -2
  11. package/astar/errors.d.ts +431 -431
  12. package/astar/events.d.ts +232 -401
  13. package/astar/index.d.ts +13 -17
  14. package/astar/json-rpc.d.ts +3 -3
  15. package/astar/query.d.ts +243 -289
  16. package/astar/runtime.d.ts +59 -87
  17. package/astar/tx.d.ts +671 -980
  18. package/astar/view-functions.d.ts +2 -2
  19. package/basilisk/consts.d.ts +2 -2
  20. package/basilisk/errors.d.ts +489 -489
  21. package/basilisk/events.d.ts +187 -408
  22. package/basilisk/index.d.ts +13 -17
  23. package/basilisk/json-rpc.d.ts +3 -3
  24. package/basilisk/query.d.ts +213 -272
  25. package/basilisk/runtime.d.ts +27 -28
  26. package/basilisk/tx.d.ts +579 -842
  27. package/basilisk/view-functions.d.ts +2 -2
  28. package/hydration/consts.d.ts +47 -14
  29. package/hydration/errors.d.ts +827 -737
  30. package/hydration/events.d.ts +639 -527
  31. package/hydration/index.d.ts +14 -18
  32. package/hydration/json-rpc.d.ts +3 -3
  33. package/hydration/query.d.ts +530 -396
  34. package/hydration/runtime.d.ts +181 -89
  35. package/hydration/tx.d.ts +1130 -1167
  36. package/hydration/types.d.ts +889 -42
  37. package/hydration/view-functions.d.ts +2 -2
  38. package/kusama/consts.d.ts +2 -2
  39. package/kusama/errors.d.ts +571 -571
  40. package/kusama/events.d.ts +216 -477
  41. package/kusama/index.d.ts +13 -17
  42. package/kusama/json-rpc.d.ts +3 -3
  43. package/kusama/query.d.ts +360 -502
  44. package/kusama/runtime.d.ts +82 -131
  45. package/kusama/tx.d.ts +851 -1246
  46. package/kusama/view-functions.d.ts +7 -12
  47. package/kusama-asset-hub/consts.d.ts +2 -2
  48. package/kusama-asset-hub/errors.d.ts +653 -653
  49. package/kusama-asset-hub/events.d.ts +286 -629
  50. package/kusama-asset-hub/index.d.ts +14 -17
  51. package/kusama-asset-hub/json-rpc.d.ts +3 -3
  52. package/kusama-asset-hub/query.d.ts +316 -448
  53. package/kusama-asset-hub/runtime.d.ts +74 -111
  54. package/kusama-asset-hub/tx.d.ts +1059 -1558
  55. package/kusama-asset-hub/view-functions.d.ts +7 -9
  56. package/kusama-people/consts.d.ts +2 -2
  57. package/kusama-people/errors.d.ts +160 -160
  58. package/kusama-people/events.d.ts +89 -176
  59. package/kusama-people/index.d.ts +13 -17
  60. package/kusama-people/json-rpc.d.ts +3 -3
  61. package/kusama-people/query.d.ts +114 -145
  62. package/kusama-people/runtime.d.ts +45 -65
  63. package/kusama-people/tx.d.ts +246 -356
  64. package/kusama-people/view-functions.d.ts +3 -5
  65. package/moonbeam/consts.d.ts +2 -2
  66. package/moonbeam/errors.d.ts +478 -478
  67. package/moonbeam/events.d.ts +182 -426
  68. package/moonbeam/index.d.ts +13 -17
  69. package/moonbeam/json-rpc.d.ts +11 -3
  70. package/moonbeam/query.d.ts +234 -294
  71. package/moonbeam/runtime.d.ts +61 -89
  72. package/moonbeam/tx.d.ts +618 -901
  73. package/moonbeam/view-functions.d.ts +2 -2
  74. package/package.json +6 -3
  75. package/paseo/consts.d.ts +2 -2
  76. package/paseo/errors.d.ts +513 -513
  77. package/paseo/events.d.ts +197 -430
  78. package/paseo/index.d.ts +14 -18
  79. package/paseo/json-rpc.d.ts +3 -3
  80. package/paseo/query.d.ts +329 -450
  81. package/paseo/runtime.d.ts +107 -131
  82. package/paseo/tx.d.ts +787 -1151
  83. package/paseo/types.d.ts +7 -0
  84. package/paseo/view-functions.d.ts +7 -12
  85. package/paseo-asset-hub/consts.d.ts +2 -2
  86. package/paseo-asset-hub/errors.d.ts +605 -605
  87. package/paseo-asset-hub/events.d.ts +268 -600
  88. package/paseo-asset-hub/index.d.ts +15 -18
  89. package/paseo-asset-hub/json-rpc.d.ts +3 -3
  90. package/paseo-asset-hub/query.d.ts +293 -413
  91. package/paseo-asset-hub/runtime.d.ts +96 -104
  92. package/paseo-asset-hub/tx.d.ts +997 -1466
  93. package/paseo-asset-hub/types.d.ts +7 -0
  94. package/paseo-asset-hub/view-functions.d.ts +7 -9
  95. package/paseo-hydration/consts.d.ts +13 -3
  96. package/paseo-hydration/errors.d.ts +756 -745
  97. package/paseo-hydration/events.d.ts +277 -554
  98. package/paseo-hydration/index.d.ts +14 -18
  99. package/paseo-hydration/json-rpc.d.ts +3 -3
  100. package/paseo-hydration/query.d.ts +321 -411
  101. package/paseo-hydration/runtime.d.ts +95 -106
  102. package/paseo-hydration/tx.d.ts +923 -1226
  103. package/paseo-hydration/types.d.ts +91 -50
  104. package/paseo-hydration/view-functions.d.ts +2 -2
  105. package/paseo-people/consts.d.ts +2 -2
  106. package/paseo-people/errors.d.ts +162 -162
  107. package/paseo-people/events.d.ts +91 -181
  108. package/paseo-people/index.d.ts +14 -18
  109. package/paseo-people/json-rpc.d.ts +3 -3
  110. package/paseo-people/query.d.ts +116 -143
  111. package/paseo-people/runtime.d.ts +70 -65
  112. package/paseo-people/tx.d.ts +257 -372
  113. package/paseo-people/types.d.ts +7 -0
  114. package/paseo-people/view-functions.d.ts +3 -5
  115. package/polkadot/consts.d.ts +2 -2
  116. package/polkadot/errors.d.ts +501 -501
  117. package/polkadot/events.d.ts +195 -426
  118. package/polkadot/index.d.ts +13 -17
  119. package/polkadot/json-rpc.d.ts +3 -3
  120. package/polkadot/query.d.ts +329 -450
  121. package/polkadot/runtime.d.ts +83 -133
  122. package/polkadot/tx.d.ts +765 -1119
  123. package/polkadot/view-functions.d.ts +7 -12
  124. package/polkadot-asset-hub/consts.d.ts +2 -2
  125. package/polkadot-asset-hub/errors.d.ts +554 -554
  126. package/polkadot-asset-hub/events.d.ts +261 -585
  127. package/polkadot-asset-hub/index.d.ts +14 -17
  128. package/polkadot-asset-hub/json-rpc.d.ts +3 -3
  129. package/polkadot-asset-hub/query.d.ts +279 -396
  130. package/polkadot-asset-hub/runtime.d.ts +65 -93
  131. package/polkadot-asset-hub/tx.d.ts +952 -1400
  132. package/polkadot-asset-hub/view-functions.d.ts +7 -9
  133. package/polkadot-people/consts.d.ts +2 -2
  134. package/polkadot-people/errors.d.ts +160 -160
  135. package/polkadot-people/events.d.ts +89 -176
  136. package/polkadot-people/index.d.ts +13 -17
  137. package/polkadot-people/json-rpc.d.ts +3 -3
  138. package/polkadot-people/query.d.ts +114 -145
  139. package/polkadot-people/runtime.d.ts +46 -67
  140. package/polkadot-people/tx.d.ts +246 -356
  141. package/polkadot-people/view-functions.d.ts +3 -5
  142. package/substrate/consts.d.ts +2 -2
  143. package/substrate/errors.d.ts +909 -909
  144. package/substrate/events.d.ts +389 -794
  145. package/substrate/index.d.ts +14 -17
  146. package/substrate/json-rpc.d.ts +3 -3
  147. package/substrate/query.d.ts +458 -572
  148. package/substrate/runtime.d.ts +82 -126
  149. package/substrate/tx.d.ts +1317 -1936
  150. package/substrate/view-functions.d.ts +2 -2
  151. package/vara/consts.d.ts +9 -37
  152. package/vara/errors.d.ts +402 -382
  153. package/vara/events.d.ts +172 -310
  154. package/vara/index.d.ts +14 -18
  155. package/vara/json-rpc.d.ts +7 -3
  156. package/vara/query.d.ts +299 -331
  157. package/vara/runtime.d.ts +61 -79
  158. package/vara/tx.d.ts +573 -754
  159. package/vara/types.d.ts +71 -26
  160. package/vara/view-functions.d.ts +2 -2
  161. package/westend/consts.d.ts +2 -2
  162. package/westend/errors.d.ts +532 -532
  163. package/westend/events.d.ts +205 -462
  164. package/westend/index.d.ts +13 -17
  165. package/westend/json-rpc.d.ts +3 -4
  166. package/westend/query.d.ts +312 -434
  167. package/westend/runtime.d.ts +83 -135
  168. package/westend/tx.d.ts +807 -1179
  169. package/westend/view-functions.d.ts +7 -12
  170. package/westend-asset-hub/consts.d.ts +2 -2
  171. package/westend-asset-hub/errors.d.ts +605 -605
  172. package/westend-asset-hub/events.d.ts +265 -614
  173. package/westend-asset-hub/index.d.ts +14 -17
  174. package/westend-asset-hub/json-rpc.d.ts +3 -3
  175. package/westend-asset-hub/query.d.ts +293 -418
  176. package/westend-asset-hub/runtime.d.ts +83 -123
  177. package/westend-asset-hub/tx.d.ts +918 -1348
  178. package/westend-asset-hub/view-functions.d.ts +8 -13
  179. package/westend-people/consts.d.ts +2 -2
  180. package/westend-people/errors.d.ts +160 -160
  181. package/westend-people/events.d.ts +93 -186
  182. package/westend-people/index.d.ts +13 -17
  183. package/westend-people/json-rpc.d.ts +3 -3
  184. package/westend-people/query.d.ts +114 -145
  185. package/westend-people/runtime.d.ts +46 -67
  186. package/westend-people/tx.d.ts +251 -363
  187. package/westend-people/view-functions.d.ts +3 -5
@@ -1,5 +1,5 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericChainViewFunctions, GenericViewFunction, RpcVersion } from 'dedot/types';
3
+ import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
4
4
 
5
- export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainViewFunctions<Rv> {}
5
+ export interface ChainViewFunctions extends GenericChainViewFunctions {}
@@ -1,7 +1,7 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, Permill, AccountId32, FixedBytes, Perbill, FixedU128, Percent } from 'dedot/codecs';
3
+ import type { GenericChainConsts } from 'dedot/types';
4
+ import type { RuntimeVersion, Permill, AccountId32, FixedBytes, Perbill, FixedU128, H160, Percent } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
@@ -16,7 +16,7 @@ import type {
16
16
  StagingXcmV4Location,
17
17
  } from './types.js';
18
18
 
19
- export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
19
+ export interface ChainConsts extends GenericChainConsts {
20
20
  /**
21
21
  * Pallet `System`'s constants
22
22
  **/
@@ -768,17 +768,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
768
768
  **/
769
769
  duster: {
770
770
  /**
771
- * Reward amount
772
- **/
773
- reward: bigint;
774
-
775
- /**
776
- * Native Asset Id
777
- **/
778
- nativeCurrencyId: number;
779
-
780
- /**
781
- * Default account for `reward_account` and `dust_account` in genesis config.
771
+ * Treasury account, which receives the dust.
782
772
  **/
783
773
  treasuryAccountId: AccountId32;
784
774
 
@@ -1234,6 +1224,8 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
1234
1224
  * Pallet ID to determine HSM account
1235
1225
  **/
1236
1226
  palletId: FrameSupportPalletId;
1227
+ minArbitrageAmount: bigint;
1228
+ flashLoanReceiver: H160;
1237
1229
 
1238
1230
  /**
1239
1231
  * The gas limit for the execution of EVM calls
@@ -1739,6 +1731,47 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
1739
1731
  **/
1740
1732
  [name: string]: any;
1741
1733
  };
1734
+ /**
1735
+ * Pallet `Ismp`'s constants
1736
+ **/
1737
+ ismp: {
1738
+ /**
1739
+ * Generic pallet constant
1740
+ **/
1741
+ [name: string]: any;
1742
+ };
1743
+ /**
1744
+ * Pallet `IsmpParachain`'s constants
1745
+ **/
1746
+ ismpParachain: {
1747
+ /**
1748
+ * Generic pallet constant
1749
+ **/
1750
+ [name: string]: any;
1751
+ };
1752
+ /**
1753
+ * Pallet `Hyperbridge`'s constants
1754
+ **/
1755
+ hyperbridge: {
1756
+ /**
1757
+ * Generic pallet constant
1758
+ **/
1759
+ [name: string]: any;
1760
+ };
1761
+ /**
1762
+ * Pallet `TokenGateway`'s constants
1763
+ **/
1764
+ tokenGateway: {
1765
+ /**
1766
+ * The decimals of the native currency
1767
+ **/
1768
+ decimals: number;
1769
+
1770
+ /**
1771
+ * Generic pallet constant
1772
+ **/
1773
+ [name: string]: any;
1774
+ };
1742
1775
  /**
1743
1776
  * Pallet `EmaOracle`'s constants
1744
1777
  **/