@dedot/chaintypes 0.194.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 -3
  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
@@ -117,6 +117,7 @@ export type HydradxRuntimeRuntimeEvent =
117
117
  | { pallet: 'IsmpParachain'; palletEvent: IsmpParachainEvent }
118
118
  | { pallet: 'Hyperbridge'; palletEvent: PalletHyperbridgeEvent }
119
119
  | { pallet: 'TokenGateway'; palletEvent: PalletTokenGatewayEvent }
120
+ | { pallet: 'IsmpOracle'; palletEvent: PalletIsmpOracleTestEvent }
120
121
  | { pallet: 'EmaOracle'; palletEvent: PalletEmaOracleEvent }
121
122
  | { pallet: 'Broadcast'; palletEvent: PalletBroadcastEvent };
122
123
 
@@ -1315,6 +1316,7 @@ export type HydradxRuntimeRuntimeCall =
1315
1316
  | { pallet: 'Ismp'; palletCall: PalletIsmpCall }
1316
1317
  | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCall }
1317
1318
  | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCall }
1319
+ | { pallet: 'IsmpOracle'; palletCall: PalletIsmpOracleTestCall }
1318
1320
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCall }
1319
1321
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCall };
1320
1322
 
@@ -1381,6 +1383,7 @@ export type HydradxRuntimeRuntimeCallLike =
1381
1383
  | { pallet: 'Ismp'; palletCall: PalletIsmpCallLike }
1382
1384
  | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCallLike }
1383
1385
  | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCallLike }
1386
+ | { pallet: 'IsmpOracle'; palletCall: PalletIsmpOracleTestCallLike }
1384
1387
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCallLike }
1385
1388
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCallLike };
1386
1389
 
@@ -6462,6 +6465,29 @@ export type PalletOmnipoolCall =
6462
6465
  *
6463
6466
  **/
6464
6467
  | { name: 'RemoveLiquidityWithLimit'; params: { positionId: bigint; amount: bigint; minLimit: bigint } }
6468
+ /**
6469
+ * Remove all liquidity from position
6470
+ *
6471
+ * Limit protection is applied.
6472
+ *
6473
+ * `remove_all_liquidity` removes all shares amount from given PositionId (NFT instance).
6474
+ *
6475
+ * Asset's tradable state must contain REMOVE_LIQUIDITY flag, otherwise `NotAllowed` error is returned.
6476
+ *
6477
+ * if all shares from given position are removed, position is destroyed and NFT is burned.
6478
+ *
6479
+ * Remove all liquidity fails if price difference between spot price and oracle price is higher than allowed by `PriceBarrier`.
6480
+ *
6481
+ * Dynamic withdrawal fee is applied if withdrawal is not safe. It is calculated using spot price and external price oracle.
6482
+ * Withdrawal is considered safe when trading is disabled.
6483
+ *
6484
+ * Parameters:
6485
+ * - `position_id`: The identifier of position which liquidity is entirely removed from.
6486
+ *
6487
+ * Emits `LiquidityRemoved` event when successful.
6488
+ *
6489
+ **/
6490
+ | { name: 'RemoveAllLiquidity'; params: { positionId: bigint; minLimit: bigint } }
6465
6491
  /**
6466
6492
  * Sacrifice LP position in favor of pool.
6467
6493
  *
@@ -6697,6 +6723,29 @@ export type PalletOmnipoolCallLike =
6697
6723
  *
6698
6724
  **/
6699
6725
  | { name: 'RemoveLiquidityWithLimit'; params: { positionId: bigint; amount: bigint; minLimit: bigint } }
6726
+ /**
6727
+ * Remove all liquidity from position
6728
+ *
6729
+ * Limit protection is applied.
6730
+ *
6731
+ * `remove_all_liquidity` removes all shares amount from given PositionId (NFT instance).
6732
+ *
6733
+ * Asset's tradable state must contain REMOVE_LIQUIDITY flag, otherwise `NotAllowed` error is returned.
6734
+ *
6735
+ * if all shares from given position are removed, position is destroyed and NFT is burned.
6736
+ *
6737
+ * Remove all liquidity fails if price difference between spot price and oracle price is higher than allowed by `PriceBarrier`.
6738
+ *
6739
+ * Dynamic withdrawal fee is applied if withdrawal is not safe. It is calculated using spot price and external price oracle.
6740
+ * Withdrawal is considered safe when trading is disabled.
6741
+ *
6742
+ * Parameters:
6743
+ * - `position_id`: The identifier of position which liquidity is entirely removed from.
6744
+ *
6745
+ * Emits `LiquidityRemoved` event when successful.
6746
+ *
6747
+ **/
6748
+ | { name: 'RemoveAllLiquidity'; params: { positionId: bigint; minLimit: bigint } }
6700
6749
  /**
6701
6750
  * Sacrifice LP position in favor of pool.
6702
6751
  *
@@ -8426,29 +8475,6 @@ export type PalletStableswapCall =
8426
8475
  name: 'UpdateAmplification';
8427
8476
  params: { poolId: number; finalAmplification: number; startBlock: number; endBlock: number };
8428
8477
  }
8429
- /**
8430
- * Add liquidity to selected pool.
8431
- *
8432
- * Use `add_assets_liquidity` instead.
8433
- * This extrinsics will be removed in the future.
8434
- *
8435
- * First call of `add_liquidity` must provide "initial liquidity" of all assets.
8436
- *
8437
- * If there is liquidity already in the pool, LP can provide liquidity of any number of pool assets.
8438
- *
8439
- * LP must have sufficient amount of each asset.
8440
- *
8441
- * Origin is given corresponding amount of shares.
8442
- *
8443
- * Parameters:
8444
- * - `origin`: liquidity provider
8445
- * - `pool_id`: Pool Id
8446
- * - `assets`: asset id and liquidity amount provided
8447
- *
8448
- * Emits `LiquidityAdded` event when successful.
8449
- * Emits `pallet_broadcast::Swapped` event when successful.
8450
- **/
8451
- | { name: 'AddLiquidity'; params: { poolId: number; assets: Array<HydradxTraitsStableswapAssetAmount> } }
8452
8478
  /**
8453
8479
  * Add liquidity to selected pool given exact amount of shares to receive.
8454
8480
  *
@@ -8751,29 +8777,6 @@ export type PalletStableswapCallLike =
8751
8777
  name: 'UpdateAmplification';
8752
8778
  params: { poolId: number; finalAmplification: number; startBlock: number; endBlock: number };
8753
8779
  }
8754
- /**
8755
- * Add liquidity to selected pool.
8756
- *
8757
- * Use `add_assets_liquidity` instead.
8758
- * This extrinsics will be removed in the future.
8759
- *
8760
- * First call of `add_liquidity` must provide "initial liquidity" of all assets.
8761
- *
8762
- * If there is liquidity already in the pool, LP can provide liquidity of any number of pool assets.
8763
- *
8764
- * LP must have sufficient amount of each asset.
8765
- *
8766
- * Origin is given corresponding amount of shares.
8767
- *
8768
- * Parameters:
8769
- * - `origin`: liquidity provider
8770
- * - `pool_id`: Pool Id
8771
- * - `assets`: asset id and liquidity amount provided
8772
- *
8773
- * Emits `LiquidityAdded` event when successful.
8774
- * Emits `pallet_broadcast::Swapped` event when successful.
8775
- **/
8776
- | { name: 'AddLiquidity'; params: { poolId: number; assets: Array<HydradxTraitsStableswapAssetAmount> } }
8777
8780
  /**
8778
8781
  * Add liquidity to selected pool given exact amount of shares to receive.
8779
8782
  *
@@ -14035,6 +14038,21 @@ export type TokenGatewayPrimitivesGatewayAssetUpdate = {
14035
14038
 
14036
14039
  export type PalletTokenGatewayPrecisionUpdate = { assetId: number; precisions: Array<[IsmpHostStateMachine, number]> };
14037
14040
 
14041
+ /**
14042
+ * Contains a variant per dispatchable extrinsic that this pallet has.
14043
+ **/
14044
+ export type PalletIsmpOracleTestCall =
14045
+ | { name: 'RequestGet'; params: { params: PalletIsmpOracleTestGetParams } }
14046
+ | { name: 'RequestPost'; params: { params: PalletIsmpOracleTestPostParams } };
14047
+
14048
+ export type PalletIsmpOracleTestCallLike =
14049
+ | { name: 'RequestGet'; params: { params: PalletIsmpOracleTestGetParams } }
14050
+ | { name: 'RequestPost'; params: { params: PalletIsmpOracleTestPostParams } };
14051
+
14052
+ export type PalletIsmpOracleTestGetParams = { dest: IsmpHostStateMachine; height: bigint };
14053
+
14054
+ export type PalletIsmpOracleTestPostParams = { dest: IsmpHostStateMachine; to: Bytes; body: Bytes };
14055
+
14038
14056
  /**
14039
14057
  * Contains a variant per dispatchable extrinsic that this pallet has.
14040
14058
  **/
@@ -14044,6 +14062,10 @@ export type PalletEmaOracleCall =
14044
14062
  | {
14045
14063
  name: 'UpdateBifrostOracle';
14046
14064
  params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14065
+ }
14066
+ | {
14067
+ name: 'UpdateIsmpOracle';
14068
+ params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14047
14069
  };
14048
14070
 
14049
14071
  export type PalletEmaOracleCallLike =
@@ -14052,6 +14074,10 @@ export type PalletEmaOracleCallLike =
14052
14074
  | {
14053
14075
  name: 'UpdateBifrostOracle';
14054
14076
  params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14077
+ }
14078
+ | {
14079
+ name: 'UpdateIsmpOracle';
14080
+ params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14055
14081
  };
14056
14082
 
14057
14083
  /**
@@ -14921,10 +14947,7 @@ export type PalletLiquidationEvent =
14921
14947
  /**
14922
14948
  * Money market position has been liquidated
14923
14949
  **/
14924
- {
14925
- name: 'Liquidated';
14926
- data: { user: H160; collateralAsset: number; debtAsset: number; debtToCover: bigint; profit: bigint };
14927
- };
14950
+ { name: 'Liquidated'; data: { user: H160; collateralAsset: number; debtAsset: number; profit: bigint } };
14928
14951
 
14929
14952
  /**
14930
14953
  * The `Event` enum of this pallet
@@ -16261,6 +16284,18 @@ export type PalletTokenGatewayEvent =
16261
16284
  };
16262
16285
  };
16263
16286
 
16287
+ /**
16288
+ * The `Event` enum of this pallet
16289
+ **/
16290
+ export type PalletIsmpOracleTestEvent =
16291
+ | { name: 'GetRequestSent'; data: { commitment: H256 } }
16292
+ | { name: 'PostRequestSent'; data: { commitment: H256 } }
16293
+ | { name: 'GetRequestResponded'; data: { commitment: H256; storageValues: Array<IsmpRouterStorageValue> } }
16294
+ | { name: 'WstEthPriceReceived'; data: { commitment: H256; ethPerWsteth: U256 } }
16295
+ | { name: 'PostRequestResponded'; data: { commitment: H256 } }
16296
+ | { name: 'GetRequestTimedOut'; data: { commitment: H256 } }
16297
+ | { name: 'PostResponseTimedOut'; data: { commitment: H256 } };
16298
+
16264
16299
  /**
16265
16300
  * The `Event` enum of this pallet
16266
16301
  **/
@@ -19892,6 +19927,11 @@ export type PalletTokenGatewayError =
19892
19927
  **/
19893
19928
  | 'NotAssetOwner';
19894
19929
 
19930
+ /**
19931
+ * The `Error` enum of this pallet.
19932
+ **/
19933
+ export type PalletIsmpOracleTestError = 'GetRequestFailed';
19934
+
19895
19935
  export type PalletEmaOracleOracleEntry = {
19896
19936
  price: HydraDxMathRatio;
19897
19937
  volume: HydradxTraitsOracleVolume;
@@ -20174,5 +20214,6 @@ export type HydradxRuntimeRuntimeError =
20174
20214
  | { pallet: 'Ismp'; palletError: PalletIsmpError }
20175
20215
  | { pallet: 'Hyperbridge'; palletError: PalletHyperbridgeError }
20176
20216
  | { pallet: 'TokenGateway'; palletError: PalletTokenGatewayError }
20217
+ | { pallet: 'IsmpOracle'; palletError: PalletIsmpOracleTestError }
20177
20218
  | { pallet: 'EmaOracle'; palletError: PalletEmaOracleError }
20178
20219
  | { pallet: 'Broadcast'; palletError: PalletBroadcastError };
@@ -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,6 +1,6 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericChainConsts, RpcVersion } from 'dedot/types';
3
+ import type { GenericChainConsts } from 'dedot/types';
4
4
  import type { RuntimeVersion, AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
@@ -12,7 +12,7 @@ import type {
12
12
  SpWeightsWeightV2Weight,
13
13
  } from './types.js';
14
14
 
15
- export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
15
+ export interface ChainConsts extends GenericChainConsts {
16
16
  /**
17
17
  * Pallet `System`'s constants
18
18
  **/