@dedot/chaintypes 0.122.0 → 0.131.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 (53) hide show
  1. package/astar/consts.d.ts +0 -9
  2. package/astar/index.d.ts +1 -1
  3. package/astar/query.d.ts +0 -15
  4. package/hydration/consts.d.ts +29 -0
  5. package/hydration/errors.d.ts +172 -10
  6. package/hydration/events.d.ts +105 -0
  7. package/hydration/index.d.ts +1 -1
  8. package/hydration/json-rpc.d.ts +1 -0
  9. package/hydration/query.d.ts +50 -0
  10. package/hydration/tx.d.ts +408 -0
  11. package/hydration/types.d.ts +695 -12
  12. package/kusama/consts.d.ts +27 -7
  13. package/kusama/errors.d.ts +51 -4
  14. package/kusama/events.d.ts +212 -4
  15. package/kusama/index.d.ts +1 -1
  16. package/kusama/query.d.ts +44 -19
  17. package/kusama/runtime.d.ts +22 -0
  18. package/kusama/tx.d.ts +377 -25
  19. package/kusama/types.d.ts +638 -80
  20. package/kusama-asset-hub/consts.d.ts +98 -2
  21. package/kusama-asset-hub/errors.d.ts +314 -12
  22. package/kusama-asset-hub/events.d.ts +157 -3
  23. package/kusama-asset-hub/index.d.ts +1 -1
  24. package/kusama-asset-hub/query.d.ts +113 -6
  25. package/kusama-asset-hub/runtime.d.ts +217 -1
  26. package/kusama-asset-hub/tx.d.ts +581 -1
  27. package/kusama-asset-hub/types.d.ts +1086 -26
  28. package/moonbeam/index.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/polkadot/consts.d.ts +23 -5
  31. package/polkadot/errors.d.ts +51 -4
  32. package/polkadot/events.d.ts +207 -4
  33. package/polkadot/index.d.ts +1 -1
  34. package/polkadot/query.d.ts +44 -19
  35. package/polkadot/runtime.d.ts +22 -0
  36. package/polkadot/tx.d.ts +376 -24
  37. package/polkadot/types.d.ts +630 -78
  38. package/westend/consts.d.ts +28 -9
  39. package/westend/errors.d.ts +21 -37
  40. package/westend/events.d.ts +25 -49
  41. package/westend/index.d.ts +1 -1
  42. package/westend/query.d.ts +40 -70
  43. package/westend/runtime.d.ts +7 -0
  44. package/westend/tx.d.ts +77 -124
  45. package/westend/types.d.ts +228 -328
  46. package/westend-asset-hub/consts.d.ts +41 -14
  47. package/westend-asset-hub/errors.d.ts +12 -96
  48. package/westend-asset-hub/events.d.ts +29 -81
  49. package/westend-asset-hub/index.d.ts +1 -1
  50. package/westend-asset-hub/query.d.ts +61 -125
  51. package/westend-asset-hub/runtime.d.ts +47 -1
  52. package/westend-asset-hub/tx.d.ts +97 -549
  53. package/westend-asset-hub/types.d.ts +489 -958
@@ -1,13 +1,13 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, Permill, Bytes, Perbill, Perquintill, FixedU128 } from 'dedot/codecs';
4
+ import type { RuntimeVersion, Permill, AccountId32, Bytes, Perbill, Perquintill, FixedU128 } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
8
8
  SpWeightsRuntimeDbWeight,
9
9
  FrameSupportPalletId,
10
- PalletReferendaTrackInfo,
10
+ PalletReferendaTrackDetails,
11
11
  SpWeightsWeightV2Weight,
12
12
  StagingXcmV5Junctions,
13
13
  } from './types.js';
@@ -387,6 +387,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
387
387
  **/
388
388
  payoutPeriod: number;
389
389
 
390
+ /**
391
+ * Gets this pallet's derived pot account.
392
+ **/
393
+ potAccount: AccountId32;
394
+
390
395
  /**
391
396
  * Generic pallet constant
392
397
  **/
@@ -445,9 +450,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
445
450
  alarmInterval: number;
446
451
 
447
452
  /**
448
- * Information concerning the different referendum tracks.
453
+ * A list of tracks.
454
+ *
455
+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
449
456
  **/
450
- tracks: Array<[number, PalletReferendaTrackInfo]>;
457
+ tracks: Array<[number, PalletReferendaTrackDetails]>;
451
458
 
452
459
  /**
453
460
  * Generic pallet constant
@@ -491,9 +498,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
491
498
  alarmInterval: number;
492
499
 
493
500
  /**
494
- * Information concerning the different referendum tracks.
501
+ * A list of tracks.
502
+ *
503
+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
495
504
  **/
496
- tracks: Array<[number, PalletReferendaTrackInfo]>;
505
+ tracks: Array<[number, PalletReferendaTrackDetails]>;
497
506
 
498
507
  /**
499
508
  * Generic pallet constant
@@ -800,7 +809,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
800
809
  bountyDepositPayoutDelay: number;
801
810
 
802
811
  /**
803
- * Bounty duration in blocks.
812
+ * The time limit for a curator to act before a bounty expires.
813
+ *
814
+ * The period that starts when a curator is approved, during which they must execute or
815
+ * update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
816
+ * curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
817
+ * removing the need for `extend_bounty_expiry`.
804
818
  **/
805
819
  bountyUpdatePeriod: number;
806
820
 
@@ -1449,6 +1463,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
1449
1463
  * Pallet `XcmPallet`'s constants
1450
1464
  **/
1451
1465
  xcmPallet: {
1466
+ /**
1467
+ * The latest supported version that we advertise. Generally just set it to
1468
+ * `pallet_xcm::CurrentXcmVersion`.
1469
+ **/
1470
+ advertisedXcmVersion: number;
1471
+
1452
1472
  /**
1453
1473
  * Generic pallet constant
1454
1474
  **/
@@ -356,6 +356,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
356
356
  **/
357
357
  VirtualStakerNotAllowed: GenericPalletError<Rv>;
358
358
 
359
+ /**
360
+ * Stash could not be reaped as other pallet might depend on it.
361
+ **/
362
+ CannotReapStash: GenericPalletError<Rv>;
363
+
364
+ /**
365
+ * The stake of this account is already migrated to `Fungible` holds.
366
+ **/
367
+ AlreadyMigrated: GenericPalletError<Rv>;
368
+
369
+ /**
370
+ * Account is restricted from participation in staking. This may happen if the account is
371
+ * staking in another way already, such as via pool.
372
+ **/
373
+ Restricted: GenericPalletError<Rv>;
374
+
359
375
  /**
360
376
  * Generic pallet error
361
377
  **/
@@ -1302,12 +1318,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1302
1318
  SenderInSignatories: GenericPalletError<Rv>;
1303
1319
 
1304
1320
  /**
1305
- * Multisig operation not found when attempting to cancel.
1321
+ * Multisig operation not found in storage.
1306
1322
  **/
1307
1323
  NotFound: GenericPalletError<Rv>;
1308
1324
 
1309
1325
  /**
1310
- * Only the account that originally created the multisig is able to cancel it.
1326
+ * Only the account that originally created the multisig is able to cancel it or update
1327
+ * its deposits.
1311
1328
  **/
1312
1329
  NotOwner: GenericPalletError<Rv>;
1313
1330
 
@@ -1908,6 +1925,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1908
1925
  **/
1909
1926
  NothingToSlash: GenericPalletError<Rv>;
1910
1927
 
1928
+ /**
1929
+ * The slash amount is too low to be applied.
1930
+ **/
1931
+ SlashTooLow: GenericPalletError<Rv>;
1932
+
1911
1933
  /**
1912
1934
  * The pool or member delegation has already migrated to delegate stake.
1913
1935
  **/
@@ -1919,11 +1941,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1919
1941
  NotMigrated: GenericPalletError<Rv>;
1920
1942
 
1921
1943
  /**
1922
- * This call is not allowed in the current state of the pallet or an unspecific error
1923
- * occurred.
1944
+ * This call is not allowed in the current state of the pallet.
1924
1945
  **/
1925
1946
  NotSupported: GenericPalletError<Rv>;
1926
1947
 
1948
+ /**
1949
+ * Account is restricted from participation in pools. This may happen if the account is
1950
+ * staking in another way already.
1951
+ **/
1952
+ Restricted: GenericPalletError<Rv>;
1953
+
1927
1954
  /**
1928
1955
  * Generic pallet error
1929
1956
  **/
@@ -2477,6 +2504,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2477
2504
  **/
2478
2505
  SpotPriceHigherThanMaxAmount: GenericPalletError<Rv>;
2479
2506
 
2507
+ /**
2508
+ * The account doesn't have enough credits to purchase on-demand coretime.
2509
+ **/
2510
+ InsufficientCredits: GenericPalletError<Rv>;
2511
+
2480
2512
  /**
2481
2513
  * Generic pallet error
2482
2514
  **/
@@ -2920,6 +2952,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2920
2952
  **/
2921
2953
  LocalExecutionIncomplete: GenericPalletError<Rv>;
2922
2954
 
2955
+ /**
2956
+ * Too many locations authorized to alias origin.
2957
+ **/
2958
+ TooManyAuthorizedAliases: GenericPalletError<Rv>;
2959
+
2960
+ /**
2961
+ * Expiry block number is in the past.
2962
+ **/
2963
+ ExpiresInPast: GenericPalletError<Rv>;
2964
+
2965
+ /**
2966
+ * The alias to remove authorization for was not found.
2967
+ **/
2968
+ AliasNotFound: GenericPalletError<Rv>;
2969
+
2923
2970
  /**
2924
2971
  * Generic pallet error
2925
2972
  **/
@@ -33,6 +33,7 @@ import type {
33
33
  StagingKusamaRuntimeRuntimeParametersValue,
34
34
  PalletSocietyGroupParams,
35
35
  KusamaRuntimeConstantsProxyProxyType,
36
+ PalletProxyDepositKind,
36
37
  PalletMultisigTimepoint,
37
38
  PalletElectionProviderMultiPhaseElectionCompute,
38
39
  SpNposElectionsElectionScore,
@@ -40,6 +41,7 @@ import type {
40
41
  PalletNominationPoolsPoolState,
41
42
  PalletNominationPoolsCommissionChangeRate,
42
43
  PalletNominationPoolsCommissionClaimPermission,
44
+ PalletNominationPoolsClaimPermission,
43
45
  PolkadotPrimitivesVstagingCandidateReceiptV2,
44
46
  PolkadotParachainPrimitivesPrimitivesHeadData,
45
47
  PolkadotPrimitivesV8CoreIndex,
@@ -53,11 +55,12 @@ import type {
53
55
  StagingXcmV5TraitsOutcome,
54
56
  StagingXcmV5Location,
55
57
  StagingXcmV5Xcm,
58
+ XcmV3TraitsSendError,
59
+ XcmV5TraitsError,
56
60
  StagingXcmV5Response,
57
61
  SpWeightsWeightV2Weight,
58
62
  XcmVersionedAssets,
59
63
  StagingXcmV5AssetAssets,
60
- XcmV5TraitsError,
61
64
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
62
65
  FrameSupportMessagesProcessMessageError,
63
66
  } from './types.js';
@@ -112,6 +115,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
112
115
  **/
113
116
  UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
114
117
 
118
+ /**
119
+ * An invalid authorized upgrade was rejected while trying to apply it.
120
+ **/
121
+ RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
122
+ Rv,
123
+ 'System',
124
+ 'RejectedInvalidAuthorizedUpgrade',
125
+ { codeHash: H256; error: DispatchError }
126
+ >;
127
+
115
128
  /**
116
129
  * Generic pallet event
117
130
  **/
@@ -136,6 +149,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
136
149
  **/
137
150
  IndexFrozen: GenericPalletEvent<Rv, 'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
138
151
 
152
+ /**
153
+ * A deposit to reserve an index has been poked/reconsidered.
154
+ **/
155
+ DepositPoked: GenericPalletEvent<
156
+ Rv,
157
+ 'Indices',
158
+ 'DepositPoked',
159
+ { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
160
+ >;
161
+
139
162
  /**
140
163
  * Generic pallet event
141
164
  **/
@@ -418,6 +441,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
418
441
  **/
419
442
  ControllerBatchDeprecated: GenericPalletEvent<Rv, 'Staking', 'ControllerBatchDeprecated', { failures: number }>;
420
443
 
444
+ /**
445
+ * Staking balance migrated from locks to holds, with any balance that could not be held
446
+ * is force withdrawn.
447
+ **/
448
+ CurrencyMigrated: GenericPalletEvent<
449
+ Rv,
450
+ 'Staking',
451
+ 'CurrencyMigrated',
452
+ { stash: AccountId32; forceWithdraw: bigint }
453
+ >;
454
+
421
455
  /**
422
456
  * Generic pallet event
423
457
  **/
@@ -449,6 +483,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
449
483
  **/
450
484
  NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
451
485
 
486
+ /**
487
+ * Validator has been disabled.
488
+ **/
489
+ ValidatorDisabled: GenericPalletEvent<Rv, 'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
490
+
491
+ /**
492
+ * Validator has been re-enabled.
493
+ **/
494
+ ValidatorReenabled: GenericPalletEvent<Rv, 'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
495
+
452
496
  /**
453
497
  * Generic pallet event
454
498
  **/
@@ -595,7 +639,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
595
639
  Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
596
640
 
597
641
  /**
598
- * An account that has voted
642
+ * An account has voted
599
643
  **/
600
644
  Voted: GenericPalletEvent<
601
645
  Rv,
@@ -605,7 +649,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
605
649
  >;
606
650
 
607
651
  /**
608
- * A vote that been removed
652
+ * A vote has been removed
609
653
  **/
610
654
  VoteRemoved: GenericPalletEvent<
611
655
  Rv,
@@ -614,6 +658,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
614
658
  { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
615
659
  >;
616
660
 
661
+ /**
662
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
663
+ **/
664
+ VoteUnlocked: GenericPalletEvent<Rv, 'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
665
+
617
666
  /**
618
667
  * Generic pallet event
619
668
  **/
@@ -1444,6 +1493,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1444
1493
  **/
1445
1494
  DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1446
1495
 
1496
+ /**
1497
+ * Main call was dispatched.
1498
+ **/
1499
+ IfElseMainSuccess: GenericPalletEvent<Rv, 'Utility', 'IfElseMainSuccess', null>;
1500
+
1501
+ /**
1502
+ * The fallback call was dispatched.
1503
+ **/
1504
+ IfElseFallbackCalled: GenericPalletEvent<Rv, 'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
1505
+
1447
1506
  /**
1448
1507
  * Generic pallet event
1449
1508
  **/
@@ -1720,6 +1779,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1720
1779
  { task: [number, number]; id?: FixedBytes<32> | undefined }
1721
1780
  >;
1722
1781
 
1782
+ /**
1783
+ * Agenda is incomplete from `when`.
1784
+ **/
1785
+ AgendaIncomplete: GenericPalletEvent<Rv, 'Scheduler', 'AgendaIncomplete', { when: number }>;
1786
+
1723
1787
  /**
1724
1788
  * Generic pallet event
1725
1789
  **/
@@ -1775,6 +1839,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1775
1839
  { delegator: AccountId32; delegatee: AccountId32; proxyType: KusamaRuntimeConstantsProxyProxyType; delay: number }
1776
1840
  >;
1777
1841
 
1842
+ /**
1843
+ * A deposit stored for proxies or announcements was poked / updated.
1844
+ **/
1845
+ DepositPoked: GenericPalletEvent<
1846
+ Rv,
1847
+ 'Proxy',
1848
+ 'DepositPoked',
1849
+ { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
1850
+ >;
1851
+
1778
1852
  /**
1779
1853
  * Generic pallet event
1780
1854
  **/
@@ -1830,6 +1904,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1830
1904
  { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1831
1905
  >;
1832
1906
 
1907
+ /**
1908
+ * The deposit for a multisig operation has been updated/poked.
1909
+ **/
1910
+ DepositPoked: GenericPalletEvent<
1911
+ Rv,
1912
+ 'Multisig',
1913
+ 'DepositPoked',
1914
+ { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
1915
+ >;
1916
+
1833
1917
  /**
1834
1918
  * Generic pallet event
1835
1919
  **/
@@ -2481,6 +2565,64 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2481
2565
  { poolId: number; amount: bigint }
2482
2566
  >;
2483
2567
 
2568
+ /**
2569
+ * A pool member's claim permission has been updated.
2570
+ **/
2571
+ MemberClaimPermissionUpdated: GenericPalletEvent<
2572
+ Rv,
2573
+ 'NominationPools',
2574
+ 'MemberClaimPermissionUpdated',
2575
+ { member: AccountId32; permission: PalletNominationPoolsClaimPermission }
2576
+ >;
2577
+
2578
+ /**
2579
+ * A pool's metadata was updated.
2580
+ **/
2581
+ MetadataUpdated: GenericPalletEvent<
2582
+ Rv,
2583
+ 'NominationPools',
2584
+ 'MetadataUpdated',
2585
+ { poolId: number; caller: AccountId32 }
2586
+ >;
2587
+
2588
+ /**
2589
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
2590
+ * on behalf of the pool.
2591
+ **/
2592
+ PoolNominationMade: GenericPalletEvent<
2593
+ Rv,
2594
+ 'NominationPools',
2595
+ 'PoolNominationMade',
2596
+ { poolId: number; caller: AccountId32 }
2597
+ >;
2598
+
2599
+ /**
2600
+ * The pool is chilled i.e. no longer nominating.
2601
+ **/
2602
+ PoolNominatorChilled: GenericPalletEvent<
2603
+ Rv,
2604
+ 'NominationPools',
2605
+ 'PoolNominatorChilled',
2606
+ { poolId: number; caller: AccountId32 }
2607
+ >;
2608
+
2609
+ /**
2610
+ * Global parameters regulating nomination pools have been updated.
2611
+ **/
2612
+ GlobalParamsUpdated: GenericPalletEvent<
2613
+ Rv,
2614
+ 'NominationPools',
2615
+ 'GlobalParamsUpdated',
2616
+ {
2617
+ minJoinBond: bigint;
2618
+ minCreateBond: bigint;
2619
+ maxPools?: number | undefined;
2620
+ maxMembers?: number | undefined;
2621
+ maxMembersPerPool?: number | undefined;
2622
+ globalMaxCommission?: Perbill | undefined;
2623
+ }
2624
+ >;
2625
+
2484
2626
  /**
2485
2627
  * Generic pallet event
2486
2628
  **/
@@ -2869,6 +3011,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2869
3011
  **/
2870
3012
  SpotPriceSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotPriceSet', { spotPrice: bigint }>;
2871
3013
 
3014
+ /**
3015
+ * An account was given credits.
3016
+ **/
3017
+ AccountCredited: GenericPalletEvent<
3018
+ Rv,
3019
+ 'OnDemandAssignmentProvider',
3020
+ 'AccountCredited',
3021
+ { who: AccountId32; amount: bigint }
3022
+ >;
3023
+
2872
3024
  /**
2873
3025
  * Generic pallet event
2874
3026
  **/
@@ -3139,7 +3291,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3139
3291
  Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
3140
3292
 
3141
3293
  /**
3142
- * A XCM message was sent.
3294
+ * An XCM message was sent.
3143
3295
  **/
3144
3296
  Sent: GenericPalletEvent<
3145
3297
  Rv,
@@ -3153,6 +3305,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3153
3305
  }
3154
3306
  >;
3155
3307
 
3308
+ /**
3309
+ * An XCM message failed to send.
3310
+ **/
3311
+ SendFailed: GenericPalletEvent<
3312
+ Rv,
3313
+ 'XcmPallet',
3314
+ 'SendFailed',
3315
+ {
3316
+ origin: StagingXcmV5Location;
3317
+ destination: StagingXcmV5Location;
3318
+ error: XcmV3TraitsSendError;
3319
+ messageId: FixedBytes<32>;
3320
+ }
3321
+ >;
3322
+
3323
+ /**
3324
+ * An XCM message failed to process.
3325
+ **/
3326
+ ProcessXcmError: GenericPalletEvent<
3327
+ Rv,
3328
+ 'XcmPallet',
3329
+ 'ProcessXcmError',
3330
+ { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
3331
+ >;
3332
+
3156
3333
  /**
3157
3334
  * Query response received which does not match a registered query. This may be because a
3158
3335
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -3406,6 +3583,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
3406
3583
  **/
3407
3584
  VersionMigrationFinished: GenericPalletEvent<Rv, 'XcmPallet', 'VersionMigrationFinished', { version: number }>;
3408
3585
 
3586
+ /**
3587
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
3588
+ * `expiry` block number.
3589
+ **/
3590
+ AliasAuthorized: GenericPalletEvent<
3591
+ Rv,
3592
+ 'XcmPallet',
3593
+ 'AliasAuthorized',
3594
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
3595
+ >;
3596
+
3597
+ /**
3598
+ * `target` removed alias authorization for `aliaser`.
3599
+ **/
3600
+ AliasAuthorizationRemoved: GenericPalletEvent<
3601
+ Rv,
3602
+ 'XcmPallet',
3603
+ 'AliasAuthorizationRemoved',
3604
+ { aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
3605
+ >;
3606
+
3607
+ /**
3608
+ * `target` removed all alias authorizations.
3609
+ **/
3610
+ AliasesAuthorizationsRemoved: GenericPalletEvent<
3611
+ Rv,
3612
+ 'XcmPallet',
3613
+ 'AliasesAuthorizationsRemoved',
3614
+ { target: StagingXcmV5Location }
3615
+ >;
3616
+
3409
3617
  /**
3410
3618
  * Generic pallet event
3411
3619
  **/
package/kusama/index.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
23
23
 
24
24
  /**
25
25
  * @name: KusamaApi
26
- * @specVersion: 1005001
26
+ * @specVersion: 1006001
27
27
  **/
28
28
  export interface KusamaApi {
29
29
  legacy: VersionedKusamaApi<RpcLegacy>;
package/kusama/query.d.ts CHANGED
@@ -23,6 +23,7 @@ import type {
23
23
  FrameSystemEventRecord,
24
24
  FrameSystemLastRuntimeUpgradeInfo,
25
25
  FrameSystemCodeUpgradeAuthorization,
26
+ SpWeightsWeightV2Weight,
26
27
  SpConsensusBabeAppPublic,
27
28
  SpConsensusSlotsSlot,
28
29
  SpConsensusBabeDigestsNextConfigDescriptor,
@@ -49,6 +50,7 @@ import type {
49
50
  PalletStakingSlashingSpanRecord,
50
51
  SpStakingOffenceOffenceDetails,
51
52
  StagingKusamaRuntimeSessionKeys,
53
+ SpStakingOffenceOffenceSeverity,
52
54
  SpCoreCryptoKeyTypeId,
53
55
  PalletGrandpaStoredState,
54
56
  PalletGrandpaStoredPendingChange,
@@ -134,7 +136,7 @@ import type {
134
136
  PolkadotPrimitivesV8ExecutorParams,
135
137
  PolkadotPrimitivesV8DisputeState,
136
138
  PolkadotCorePrimitivesCandidateHash,
137
- PolkadotPrimitivesV8SlashingPendingSlashes,
139
+ PolkadotPrimitivesVstagingPendingSlashes,
138
140
  PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
139
141
  PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
140
142
  BinaryHeapEnqueuedOrder,
@@ -144,11 +146,11 @@ import type {
144
146
  PolkadotRuntimeCommonCrowdloanFundInfo,
145
147
  PalletXcmQueryStatus,
146
148
  XcmVersionedLocation,
147
- SpWeightsWeightV2Weight,
148
149
  PalletXcmVersionMigrationStage,
149
150
  PalletXcmRemoteLockedFungibleRecord,
150
151
  XcmVersionedAssetId,
151
152
  StagingXcmV5Xcm,
153
+ PalletXcmAuthorizedAliasesEntry,
152
154
  PalletMessageQueueBookState,
153
155
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
154
156
  PalletMessageQueuePage,
@@ -308,6 +310,19 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
308
310
  **/
309
311
  authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
310
312
 
313
+ /**
314
+ * The weight reclaimed for the extrinsic.
315
+ *
316
+ * This information is available until the end of the extrinsic execution.
317
+ * More precisely this information is removed in `note_applied_extrinsic`.
318
+ *
319
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
320
+ * reduction.
321
+ *
322
+ * @param {Callback<SpWeightsWeightV2Weight> =} callback
323
+ **/
324
+ extrinsicWeightReclaimed: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight>;
325
+
311
326
  /**
312
327
  * Generic pallet storage query
313
328
  **/
@@ -1112,19 +1127,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1112
1127
  **/
1113
1128
  currentPlannedSession: GenericStorageQuery<Rv, () => number>;
1114
1129
 
1115
- /**
1116
- * Indices of validators that have offended in the active era. The offenders are disabled for a
1117
- * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1118
- * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1119
- * implicitly means that the implementor also controls the max number of disabled validators.
1120
- *
1121
- * The vec is always kept sorted so that we can find whether a given validator has previously
1122
- * offended using binary search.
1123
- *
1124
- * @param {Callback<Array<number>> =} callback
1125
- **/
1126
- disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
1127
-
1128
1130
  /**
1129
1131
  * The threshold for when users can start calling `chill_other` for other validators /
1130
1132
  * nominators. The threshold is compared to the actual number of validators / nominators
@@ -1233,9 +1235,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1233
1235
  * disabled using binary search. It gets cleared when `on_session_ending` returns
1234
1236
  * a new set of identities.
1235
1237
  *
1236
- * @param {Callback<Array<number>> =} callback
1238
+ * @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
1237
1239
  **/
1238
- disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
1240
+ disabledValidators: GenericStorageQuery<Rv, () => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1239
1241
 
1240
1242
  /**
1241
1243
  * The next session keys for a validator.
@@ -1984,6 +1986,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1984
1986
  **/
1985
1987
  scheduler: {
1986
1988
  /**
1989
+ * Block number at which the agenda began incomplete execution.
1987
1990
  *
1988
1991
  * @param {Callback<number | undefined> =} callback
1989
1992
  **/
@@ -3692,11 +3695,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3692
3695
  * Validators pending dispute slashes.
3693
3696
  *
3694
3697
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3695
- * @param {Callback<PolkadotPrimitivesV8SlashingPendingSlashes | undefined> =} callback
3698
+ * @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
3696
3699
  **/
3697
3700
  unappliedSlashes: GenericStorageQuery<
3698
3701
  Rv,
3699
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8SlashingPendingSlashes | undefined,
3702
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
3700
3703
  [number, PolkadotCorePrimitivesCandidateHash]
3701
3704
  >;
3702
3705
 
@@ -3766,6 +3769,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3766
3769
  **/
3767
3770
  revenue: GenericStorageQuery<Rv, () => Array<bigint>>;
3768
3771
 
3772
+ /**
3773
+ * Keeps track of credits owned by each account.
3774
+ *
3775
+ * @param {AccountId32Like} arg
3776
+ * @param {Callback<bigint> =} callback
3777
+ **/
3778
+ credits: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint, AccountId32>;
3779
+
3769
3780
  /**
3770
3781
  * Generic pallet storage query
3771
3782
  **/
@@ -4135,6 +4146,20 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4135
4146
  **/
4136
4147
  recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
4137
4148
 
4149
+ /**
4150
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
4151
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
4152
+ * block number.
4153
+ *
4154
+ * @param {XcmVersionedLocation} arg
4155
+ * @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
4156
+ **/
4157
+ authorizedAliases: GenericStorageQuery<
4158
+ Rv,
4159
+ (arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
4160
+ XcmVersionedLocation
4161
+ >;
4162
+
4138
4163
  /**
4139
4164
  * Generic pallet storage query
4140
4165
  **/