@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
package/vara/types.d.ts CHANGED
@@ -85,7 +85,8 @@ export type VaraRuntimeRuntimeEvent =
85
85
  | { pallet: 'Gear'; palletEvent: PalletGearEvent }
86
86
  | { pallet: 'StakingRewards'; palletEvent: PalletGearStakingRewardsEvent }
87
87
  | { pallet: 'GearVoucher'; palletEvent: PalletGearVoucherEvent }
88
- | { pallet: 'GearEthBridge'; palletEvent: PalletGearEthBridgeEvent };
88
+ | { pallet: 'GearEthBridge'; palletEvent: PalletGearEthBridgeEvent }
89
+ | { pallet: 'GrandpaSigner'; palletEvent: PalletGrandpaSignerEvent };
89
90
 
90
91
  /**
91
92
  * Event for the System pallet.
@@ -856,7 +857,8 @@ export type VaraRuntimeRuntimeCall =
856
857
  | { pallet: 'Gear'; palletCall: PalletGearCall }
857
858
  | { pallet: 'StakingRewards'; palletCall: PalletGearStakingRewardsCall }
858
859
  | { pallet: 'GearVoucher'; palletCall: PalletGearVoucherCall }
859
- | { pallet: 'GearEthBridge'; palletCall: PalletGearEthBridgeCall };
860
+ | { pallet: 'GearEthBridge'; palletCall: PalletGearEthBridgeCall }
861
+ | { pallet: 'GrandpaSigner'; palletCall: PalletGrandpaSignerCall };
860
862
 
861
863
  export type VaraRuntimeRuntimeCallLike =
862
864
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -888,7 +890,8 @@ export type VaraRuntimeRuntimeCallLike =
888
890
  | { pallet: 'Gear'; palletCall: PalletGearCallLike }
889
891
  | { pallet: 'StakingRewards'; palletCall: PalletGearStakingRewardsCallLike }
890
892
  | { pallet: 'GearVoucher'; palletCall: PalletGearVoucherCallLike }
891
- | { pallet: 'GearEthBridge'; palletCall: PalletGearEthBridgeCallLike };
893
+ | { pallet: 'GearEthBridge'; palletCall: PalletGearEthBridgeCallLike }
894
+ | { pallet: 'GrandpaSigner'; palletCall: PalletGrandpaSignerCallLike };
892
895
 
893
896
  /**
894
897
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7505,6 +7508,32 @@ export type PalletGearEthBridgeCallLike =
7505
7508
  **/
7506
7509
  | { name: 'ResetOverflowedQueue'; params: { encodedFinalityProof: BytesLike } };
7507
7510
 
7511
+ /**
7512
+ * Contains a variant per dispatchable extrinsic that this pallet has.
7513
+ **/
7514
+ export type PalletGrandpaSignerCall =
7515
+ /**
7516
+ * Schedule a signing request for the current GRANDPA set.
7517
+ **/
7518
+ | { name: 'ScheduleRequest'; params: { payload: Bytes; setId?: bigint | undefined; expiresAt?: number | undefined } }
7519
+ /**
7520
+ * Submit a GRANDPA signature for a scheduled request (unsigned).
7521
+ **/
7522
+ | { name: 'SubmitSignature'; params: { requestId: number; authority: FixedBytes<32>; signature: FixedBytes<64> } };
7523
+
7524
+ export type PalletGrandpaSignerCallLike =
7525
+ /**
7526
+ * Schedule a signing request for the current GRANDPA set.
7527
+ **/
7528
+ | {
7529
+ name: 'ScheduleRequest';
7530
+ params: { payload: BytesLike; setId?: bigint | undefined; expiresAt?: number | undefined };
7531
+ }
7532
+ /**
7533
+ * Submit a GRANDPA signature for a scheduled request (unsigned).
7534
+ **/
7535
+ | { name: 'SubmitSignature'; params: { requestId: number; authority: FixedBytes<32>; signature: FixedBytes<64> } };
7536
+
7508
7537
  export type SpRuntimeBlakeTwo256 = {};
7509
7538
 
7510
7539
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -8540,14 +8569,12 @@ export type GearCoreMessageUserUserMessage = {
8540
8569
  id: GprimitivesMessageId;
8541
8570
  source: GprimitivesActorId;
8542
8571
  destination: GprimitivesActorId;
8543
- payload: GearCoreBufferLimitedVec;
8572
+ payload: GearCoreLimitedVecLimitedVec;
8544
8573
  value: bigint;
8545
8574
  details?: GearCoreMessageCommonReplyDetails | undefined;
8546
8575
  };
8547
8576
 
8548
- export type GearCoreBufferLimitedVec = Bytes;
8549
-
8550
- export type GearCoreBufferPayloadSizeError = {};
8577
+ export type GearCoreLimitedVecLimitedVec = Bytes;
8551
8578
 
8552
8579
  export type GearCoreMessageCommonReplyDetails = { to: GprimitivesMessageId; code: GearCoreErrorsSimpleReplyCode };
8553
8580
 
@@ -8753,12 +8780,6 @@ export type PalletGearEthBridgeEvent =
8753
8780
  * first block of the last session in the era.
8754
8781
  **/
8755
8782
  | { name: 'AuthoritySetHashChanged'; data: H256 }
8756
- /**
8757
- * Authority set hash was reset.
8758
- *
8759
- * Related to bridge clearing on initialization of the second block in a new era.
8760
- **/
8761
- | { name: 'AuthoritySetReset' }
8762
8783
  /**
8763
8784
  * Optimistically, single-time called event defining that pallet
8764
8785
  * got initialized and started processing session changes,
@@ -8820,6 +8841,13 @@ export type PalletGearEthBridgeEvent =
8820
8841
 
8821
8842
  export type PalletGearEthBridgePrimitivesEthMessage = { nonce: U256; source: H256; destination: H160; payload: Bytes };
8822
8843
 
8844
+ /**
8845
+ * The `Event` enum of this pallet
8846
+ **/
8847
+ export type PalletGrandpaSignerEvent =
8848
+ | { name: 'RequestScheduled'; data: { requestId: number; setId: bigint } }
8849
+ | { name: 'SignatureAdded'; data: { requestId: number; authority: FixedBytes<32>; count: number } };
8850
+
8823
8851
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
8824
8852
 
8825
8853
  export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
@@ -10445,11 +10473,7 @@ export type GearCoreProgramProgramState =
10445
10473
  | { type: 'Uninitialized'; value: { messageId: GprimitivesMessageId } }
10446
10474
  | { type: 'Initialized' };
10447
10475
 
10448
- export type GearCoreMemoryPageBuf = GearCoreBufferLimitedVecIntoPageBufError;
10449
-
10450
- export type GearCoreBufferLimitedVecIntoPageBufError = Bytes;
10451
-
10452
- export type GearCoreMemoryIntoPageBufError = {};
10476
+ export type GearCoreMemoryPageBuf = FixedArray<bigint, 2048>;
10453
10477
 
10454
10478
  /**
10455
10479
  * The `Error` enum of this pallet.
@@ -10476,7 +10500,7 @@ export type GearCoreMessageStoredStoredMessage = {
10476
10500
  id: GprimitivesMessageId;
10477
10501
  source: GprimitivesActorId;
10478
10502
  destination: GprimitivesActorId;
10479
- payload: GearCoreBufferLimitedVec;
10503
+ payload: GearCoreLimitedVecLimitedVec;
10480
10504
  value: bigint;
10481
10505
  details?: GearCoreMessageCommonMessageDetails | undefined;
10482
10506
  };
@@ -10504,7 +10528,7 @@ export type GearCoreMessageUserUserStoredMessage = {
10504
10528
  id: GprimitivesMessageId;
10505
10529
  source: GprimitivesActorId;
10506
10530
  destination: GprimitivesActorId;
10507
- payload: GearCoreBufferLimitedVec;
10531
+ payload: GearCoreLimitedVecLimitedVec;
10508
10532
  value: bigint;
10509
10533
  };
10510
10534
 
@@ -10575,16 +10599,12 @@ export type PalletGearMessengerError =
10575
10599
  | 'WaitlistElementNotFound';
10576
10600
 
10577
10601
  export type GearCoreTasksScheduledTask =
10578
- | { type: 'PauseProgram'; value: GprimitivesActorId }
10579
- | { type: 'RemoveCode'; value: GprimitivesCodeId }
10580
10602
  | { type: 'RemoveFromMailbox'; value: [AccountId32, GprimitivesMessageId] }
10581
10603
  | { type: 'RemoveFromWaitlist'; value: [GprimitivesActorId, GprimitivesMessageId] }
10582
- | { type: 'RemovePausedProgram'; value: GprimitivesActorId }
10583
10604
  | { type: 'WakeMessage'; value: [GprimitivesActorId, GprimitivesMessageId] }
10584
10605
  | { type: 'SendDispatch'; value: GprimitivesMessageId }
10585
10606
  | { type: 'SendUserMessage'; value: { messageId: GprimitivesMessageId; toMailbox: boolean } }
10586
- | { type: 'RemoveGasReservation'; value: [GprimitivesActorId, GprimitivesReservationId] }
10587
- | { type: 'RemoveResumeSession'; value: number };
10607
+ | { type: 'RemoveGasReservation'; value: [GprimitivesActorId, GprimitivesReservationId] };
10588
10608
 
10589
10609
  /**
10590
10610
  * The `Error` enum of this pallet.
@@ -10744,6 +10764,7 @@ export type PalletGearScheduleLimits = {
10744
10764
  payloadLen: number;
10745
10765
  codeLen: number;
10746
10766
  dataSegmentsAmount: number;
10767
+ typeSectionLen: number;
10747
10768
  };
10748
10769
 
10749
10770
  export type PalletGearScheduleInstructionWeights = {
@@ -11190,6 +11211,29 @@ export type PalletGearEthBridgeError =
11190
11211
  **/
11191
11212
  | 'InvalidQueueReset';
11192
11213
 
11214
+ export type PalletGrandpaSignerSigningRequest = {
11215
+ id: number;
11216
+ payload: Bytes;
11217
+ setId: bigint;
11218
+ createdAt: number;
11219
+ expiresAt?: number | undefined;
11220
+ };
11221
+
11222
+ /**
11223
+ * The `Error` enum of this pallet.
11224
+ **/
11225
+ export type PalletGrandpaSignerError =
11226
+ | 'TooManyRequests'
11227
+ | 'RequestIdExhausted'
11228
+ | 'UnknownRequest'
11229
+ | 'RequestExpired'
11230
+ | 'AuthorityNotInSet'
11231
+ | 'AlreadySigned'
11232
+ | 'BadSignature'
11233
+ | 'UnsupportedSet'
11234
+ | 'PayloadTooLong'
11235
+ | 'MaxSignaturesReached';
11236
+
11193
11237
  export type PalletGearStakingRewardsExtensionStakingBlackList = {};
11194
11238
 
11195
11239
  export type FrameSystemExtensionsCheckNonZeroSender = {};
@@ -11354,4 +11398,5 @@ export type VaraRuntimeRuntimeError =
11354
11398
  | { pallet: 'StakingRewards'; palletError: PalletGearStakingRewardsError }
11355
11399
  | { pallet: 'GearVoucher'; palletError: PalletGearVoucherError }
11356
11400
  | { pallet: 'GearBank'; palletError: PalletGearBankError }
11357
- | { pallet: 'GearEthBridge'; palletError: PalletGearEthBridgeError };
11401
+ | { pallet: 'GearEthBridge'; palletError: PalletGearEthBridgeError }
11402
+ | { pallet: 'GrandpaSigner'; palletError: PalletGrandpaSignerError };
@@ -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, Perbill, Permill, AccountId32, FixedU128 } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
@@ -12,7 +12,7 @@ import type {
12
12
  StagingXcmV5Junctions,
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
  **/