@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
@@ -100,8 +100,7 @@ export type WestendRuntimeRuntimeEvent =
100
100
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
101
101
  | { pallet: 'RootTesting'; palletEvent: PalletRootTestingEvent }
102
102
  | { pallet: 'MetaTx'; palletEvent: PalletMetaTxEvent }
103
- | { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent }
104
- | { pallet: 'RcMigrator'; palletEvent: PalletRcMigratorEvent };
103
+ | { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent };
105
104
 
106
105
  /**
107
106
  * Event for the System pallet.
@@ -1602,8 +1601,7 @@ export type WestendRuntimeRuntimeCall =
1602
1601
  | { pallet: 'RootTesting'; palletCall: PalletRootTestingCall }
1603
1602
  | { pallet: 'MetaTx'; palletCall: PalletMetaTxCall }
1604
1603
  | { pallet: 'Beefy'; palletCall: PalletBeefyCall }
1605
- | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall }
1606
- | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCall };
1604
+ | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall };
1607
1605
 
1608
1606
  export type WestendRuntimeRuntimeCallLike =
1609
1607
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -1657,8 +1655,7 @@ export type WestendRuntimeRuntimeCallLike =
1657
1655
  | { pallet: 'RootTesting'; palletCall: PalletRootTestingCallLike }
1658
1656
  | { pallet: 'MetaTx'; palletCall: PalletMetaTxCallLike }
1659
1657
  | { pallet: 'Beefy'; palletCall: PalletBeefyCallLike }
1660
- | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike }
1661
- | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCallLike };
1658
+ | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike };
1662
1659
 
1663
1660
  /**
1664
1661
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5303,7 +5300,7 @@ export type PalletProxyCall =
5303
5300
  *
5304
5301
  * The dispatch origin for this call must be _Signed_.
5305
5302
  *
5306
- * WARNING: This may be called on accounts created by `pure`, however if done, then
5303
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
5307
5304
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
5308
5305
  **/
5309
5306
  | { name: 'RemoveProxies' }
@@ -5335,16 +5332,16 @@ export type PalletProxyCall =
5335
5332
  * inaccessible.
5336
5333
  *
5337
5334
  * Requires a `Signed` origin, and the sender account must have been created by a call to
5338
- * `pure` with corresponding parameters.
5335
+ * `create_pure` with corresponding parameters.
5339
5336
  *
5340
- * - `spawner`: The account that originally called `pure` to create this account.
5337
+ * - `spawner`: The account that originally called `create_pure` to create this account.
5341
5338
  * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5342
- * - `proxy_type`: The proxy type originally passed to `pure`.
5343
- * - `height`: The height of the chain when the call to `pure` was processed.
5344
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
5339
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
5340
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
5341
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
5345
5342
  *
5346
5343
  * Fails with `NoPermission` in case the caller is not a previously created pure
5347
- * account whose `pure` call has corresponding parameters.
5344
+ * account whose `create_pure` call has corresponding parameters.
5348
5345
  **/
5349
5346
  | {
5350
5347
  name: 'KillPure';
@@ -5481,7 +5478,7 @@ export type PalletProxyCallLike =
5481
5478
  *
5482
5479
  * The dispatch origin for this call must be _Signed_.
5483
5480
  *
5484
- * WARNING: This may be called on accounts created by `pure`, however if done, then
5481
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
5485
5482
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
5486
5483
  **/
5487
5484
  | { name: 'RemoveProxies' }
@@ -5513,16 +5510,16 @@ export type PalletProxyCallLike =
5513
5510
  * inaccessible.
5514
5511
  *
5515
5512
  * Requires a `Signed` origin, and the sender account must have been created by a call to
5516
- * `pure` with corresponding parameters.
5513
+ * `create_pure` with corresponding parameters.
5517
5514
  *
5518
- * - `spawner`: The account that originally called `pure` to create this account.
5515
+ * - `spawner`: The account that originally called `create_pure` to create this account.
5519
5516
  * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5520
- * - `proxy_type`: The proxy type originally passed to `pure`.
5521
- * - `height`: The height of the chain when the call to `pure` was processed.
5522
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
5517
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
5518
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
5519
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
5523
5520
  *
5524
5521
  * Fails with `NoPermission` in case the caller is not a previously created pure
5525
- * account whose `pure` call has corresponding parameters.
5522
+ * account whose `create_pure` call has corresponding parameters.
5526
5523
  **/
5527
5524
  | {
5528
5525
  name: 'KillPure';
@@ -8614,7 +8611,39 @@ export type PolkadotRuntimeParachainsParasPalletCall =
8614
8611
  * The cost for removing the cooldown earlier depends on the time left for the cooldown
8615
8612
  * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
8616
8613
  **/
8617
- | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } };
8614
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
8615
+ /**
8616
+ * Sets the storage for the authorized current code hash of the parachain.
8617
+ * If not applied, it will be removed at the `System::block_number() + valid_period` block.
8618
+ *
8619
+ * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
8620
+ * from a different chain than the one where the `Paras` pallet is deployed.
8621
+ *
8622
+ * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
8623
+ * Instead, we authorize `code_hash` with `root`, which can later be applied by
8624
+ * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
8625
+ *
8626
+ * Authorizations are stored in an **overwriting manner**.
8627
+ **/
8628
+ | {
8629
+ name: 'AuthorizeForceSetCurrentCodeHash';
8630
+ params: {
8631
+ para: PolkadotParachainPrimitivesPrimitivesId;
8632
+ newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8633
+ validPeriod: number;
8634
+ };
8635
+ }
8636
+ /**
8637
+ * Applies the already authorized current code for the parachain,
8638
+ * triggering the same functionality as `force_set_current_code`.
8639
+ **/
8640
+ | {
8641
+ name: 'ApplyAuthorizedForceSetCurrentCode';
8642
+ params: {
8643
+ para: PolkadotParachainPrimitivesPrimitivesId;
8644
+ newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
8645
+ };
8646
+ };
8618
8647
 
8619
8648
  export type PolkadotRuntimeParachainsParasPalletCallLike =
8620
8649
  /**
@@ -8707,7 +8736,39 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
8707
8736
  * The cost for removing the cooldown earlier depends on the time left for the cooldown
8708
8737
  * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
8709
8738
  **/
8710
- | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } };
8739
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
8740
+ /**
8741
+ * Sets the storage for the authorized current code hash of the parachain.
8742
+ * If not applied, it will be removed at the `System::block_number() + valid_period` block.
8743
+ *
8744
+ * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
8745
+ * from a different chain than the one where the `Paras` pallet is deployed.
8746
+ *
8747
+ * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
8748
+ * Instead, we authorize `code_hash` with `root`, which can later be applied by
8749
+ * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
8750
+ *
8751
+ * Authorizations are stored in an **overwriting manner**.
8752
+ **/
8753
+ | {
8754
+ name: 'AuthorizeForceSetCurrentCodeHash';
8755
+ params: {
8756
+ para: PolkadotParachainPrimitivesPrimitivesId;
8757
+ newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8758
+ validPeriod: number;
8759
+ };
8760
+ }
8761
+ /**
8762
+ * Applies the already authorized current code for the parachain,
8763
+ * triggering the same functionality as `force_set_current_code`.
8764
+ **/
8765
+ | {
8766
+ name: 'ApplyAuthorizedForceSetCurrentCode';
8767
+ params: {
8768
+ para: PolkadotParachainPrimitivesPrimitivesId;
8769
+ newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
8770
+ };
8771
+ };
8711
8772
 
8712
8773
  export type PolkadotPrimitivesV8PvfCheckStatement = {
8713
8774
  accept: boolean;
@@ -9047,17 +9108,17 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
9047
9108
  **/
9048
9109
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
9049
9110
  name: 'ReportDisputeLostUnsigned';
9050
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9111
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9051
9112
  };
9052
9113
 
9053
9114
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
9054
9115
  name: 'ReportDisputeLostUnsigned';
9055
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9116
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9056
9117
  };
9057
9118
 
9058
- export type PolkadotPrimitivesV8SlashingDisputeProof = {
9119
+ export type PolkadotPrimitivesVstagingDisputeProof = {
9059
9120
  timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
9060
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
9121
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
9061
9122
  validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
9062
9123
  validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
9063
9124
  };
@@ -9067,7 +9128,7 @@ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
9067
9128
  candidateHash: PolkadotCorePrimitivesCandidateHash;
9068
9129
  };
9069
9130
 
9070
- export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
9131
+ export type PolkadotPrimitivesVstagingDisputeOffenceKind = 'ForInvalidBacked' | 'AgainstValid' | 'ForInvalidApproved';
9071
9132
 
9072
9133
  /**
9073
9134
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -11910,195 +11971,6 @@ export type PolkadotRuntimeCommonIdentityMigratorPalletCallLike =
11910
11971
  **/
11911
11972
  | { name: 'PokeDeposit'; params: { who: AccountId32Like } };
11912
11973
 
11913
- /**
11914
- * Contains a variant per dispatchable extrinsic that this pallet has.
11915
- **/
11916
- export type PalletRcMigratorCall =
11917
- /**
11918
- * Set the migration stage.
11919
- *
11920
- * This call is intended for emergency use only and is guarded by the
11921
- * [`Config::ManagerOrigin`].
11922
- **/
11923
- | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
11924
- /**
11925
- * Schedule the migration to start at a given moment.
11926
- **/
11927
- | { name: 'ScheduleMigration'; params: { startMoment: FrameSupportScheduleDispatchTime } }
11928
- /**
11929
- * Start the data migration.
11930
- *
11931
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
11932
- * migration data.
11933
- **/
11934
- | { name: 'StartDataMigration' }
11935
- /**
11936
- * Update the total number of XCM messages processed by the Asset Hub.
11937
- **/
11938
- | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } }
11939
- /**
11940
- * Update the total number of XCM messages sent and processed by the Asset Hub.
11941
- **/
11942
- | { name: 'UpdateAhMsgCounts'; params: { sent: number; processed: number } };
11943
-
11944
- export type PalletRcMigratorCallLike =
11945
- /**
11946
- * Set the migration stage.
11947
- *
11948
- * This call is intended for emergency use only and is guarded by the
11949
- * [`Config::ManagerOrigin`].
11950
- **/
11951
- | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
11952
- /**
11953
- * Schedule the migration to start at a given moment.
11954
- **/
11955
- | { name: 'ScheduleMigration'; params: { startMoment: FrameSupportScheduleDispatchTime } }
11956
- /**
11957
- * Start the data migration.
11958
- *
11959
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
11960
- * migration data.
11961
- **/
11962
- | { name: 'StartDataMigration' }
11963
- /**
11964
- * Update the total number of XCM messages processed by the Asset Hub.
11965
- **/
11966
- | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } }
11967
- /**
11968
- * Update the total number of XCM messages sent and processed by the Asset Hub.
11969
- **/
11970
- | { name: 'UpdateAhMsgCounts'; params: { sent: number; processed: number } };
11971
-
11972
- export type PalletRcMigratorMigrationStage =
11973
- | { type: 'Pending' }
11974
- | { type: 'Scheduled'; value: { blockNumber: number } }
11975
- | { type: 'WaitingForAh' }
11976
- | { type: 'Starting' }
11977
- | { type: 'AccountsMigrationInit' }
11978
- | { type: 'AccountsMigrationOngoing'; value: { lastKey?: AccountId32 | undefined } }
11979
- | { type: 'AccountsMigrationDone' }
11980
- | { type: 'MultisigMigrationInit' }
11981
- | { type: 'MultisigMigrationOngoing'; value: { lastKey?: [AccountId32, FixedBytes<32>] | undefined } }
11982
- | { type: 'MultisigMigrationDone' }
11983
- | { type: 'ClaimsMigrationDone' }
11984
- | { type: 'ProxyMigrationInit' }
11985
- | { type: 'ProxyMigrationProxies'; value: { lastKey?: AccountId32 | undefined } }
11986
- | { type: 'ProxyMigrationAnnouncements'; value: { lastKey?: AccountId32 | undefined } }
11987
- | { type: 'ProxyMigrationDone' }
11988
- | { type: 'PreimageMigrationInit' }
11989
- | { type: 'PreimageMigrationChunksOngoing'; value: { lastKey?: [[H256, number], number] | undefined } }
11990
- | { type: 'PreimageMigrationChunksDone' }
11991
- | { type: 'PreimageMigrationRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
11992
- | { type: 'PreimageMigrationRequestStatusDone' }
11993
- | { type: 'PreimageMigrationLegacyRequestStatusInit' }
11994
- | { type: 'PreimageMigrationLegacyRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
11995
- | { type: 'PreimageMigrationLegacyRequestStatusDone' }
11996
- | { type: 'PreimageMigrationDone' }
11997
- | { type: 'NomPoolsMigrationInit' }
11998
- | { type: 'NomPoolsMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingNomPoolsNomPoolsStage | undefined } }
11999
- | { type: 'NomPoolsMigrationDone' }
12000
- | { type: 'VestingMigrationInit' }
12001
- | { type: 'VestingMigrationOngoing'; value: { nextKey?: AccountId32 | undefined } }
12002
- | { type: 'VestingMigrationDone' }
12003
- | { type: 'FastUnstakeMigrationInit' }
12004
- | {
12005
- type: 'FastUnstakeMigrationOngoing';
12006
- value: { nextKey?: PalletRcMigratorStakingFastUnstakeFastUnstakeStage | undefined };
12007
- }
12008
- | { type: 'FastUnstakeMigrationDone' }
12009
- | { type: 'IndicesMigrationInit' }
12010
- | { type: 'IndicesMigrationOngoing'; value: { nextKey?: [] | undefined } }
12011
- | { type: 'IndicesMigrationDone' }
12012
- | { type: 'ReferendaMigrationInit' }
12013
- | { type: 'ReferendaMigrationOngoing'; value: { lastKey?: PalletRcMigratorReferendaReferendaStage | undefined } }
12014
- | { type: 'ReferendaMigrationDone' }
12015
- | { type: 'BagsListMigrationInit' }
12016
- | { type: 'BagsListMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingBagsListBagsListStage | undefined } }
12017
- | { type: 'BagsListMigrationDone' }
12018
- | { type: 'SchedulerMigrationInit' }
12019
- | { type: 'SchedulerMigrationOngoing'; value: { lastKey?: PalletRcMigratorSchedulerSchedulerStage | undefined } }
12020
- | { type: 'SchedulerAgendaMigrationOngoing'; value: { lastKey?: number | undefined } }
12021
- | { type: 'SchedulerMigrationDone' }
12022
- | { type: 'ConvictionVotingMigrationInit' }
12023
- | {
12024
- type: 'ConvictionVotingMigrationOngoing';
12025
- value: { lastKey?: PalletRcMigratorConvictionVotingConvictionVotingStage | undefined };
12026
- }
12027
- | { type: 'ConvictionVotingMigrationDone' }
12028
- | { type: 'BountiesMigrationDone' }
12029
- | { type: 'AssetRateMigrationInit' }
12030
- | {
12031
- type: 'AssetRateMigrationOngoing';
12032
- value: { lastKey?: PolkadotRuntimeCommonImplsVersionedLocatableAsset | undefined };
12033
- }
12034
- | { type: 'AssetRateMigrationDone' }
12035
- | { type: 'CrowdloanMigrationDone' }
12036
- | { type: 'TreasuryMigrationDone' }
12037
- | { type: 'StakingMigrationInit' }
12038
- | { type: 'StakingMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingStakingStage | undefined } }
12039
- | { type: 'StakingMigrationDone' }
12040
- | { type: 'SignalMigrationFinish' }
12041
- | { type: 'MigrationDone' };
12042
-
12043
- export type PalletRcMigratorStakingNomPoolsNomPoolsStage =
12044
- | { type: 'StorageValues' }
12045
- | { type: 'PoolMembers'; value?: AccountId32 | undefined }
12046
- | { type: 'BondedPools'; value?: number | undefined }
12047
- | { type: 'RewardPools'; value?: number | undefined }
12048
- | { type: 'SubPoolsStorage'; value?: number | undefined }
12049
- | { type: 'Metadata'; value?: number | undefined }
12050
- | { type: 'ReversePoolIdLookup'; value?: AccountId32 | undefined }
12051
- | { type: 'ClaimPermissions'; value?: AccountId32 | undefined }
12052
- | { type: 'Finished' };
12053
-
12054
- export type PalletRcMigratorStakingFastUnstakeFastUnstakeStage =
12055
- | { type: 'StorageValues' }
12056
- | { type: 'Queue'; value?: AccountId32 | undefined }
12057
- | { type: 'Finished' };
12058
-
12059
- export type PalletRcMigratorReferendaReferendaStage =
12060
- | { type: 'StorageValues' }
12061
- | { type: 'Metadata'; value?: number | undefined }
12062
- | { type: 'ReferendumInfo'; value?: number | undefined };
12063
-
12064
- export type PalletRcMigratorStakingBagsListBagsListStage =
12065
- | { type: 'ListNodes'; value?: AccountId32 | undefined }
12066
- | { type: 'ListBags'; value?: bigint | undefined }
12067
- | { type: 'Finished' };
12068
-
12069
- export type PalletRcMigratorSchedulerSchedulerStage =
12070
- | { type: 'IncompleteSince' }
12071
- | { type: 'Retries'; value?: [number, number] | undefined }
12072
- | { type: 'Lookup'; value?: FixedBytes<32> | undefined }
12073
- | { type: 'Finished' };
12074
-
12075
- export type PalletRcMigratorConvictionVotingConvictionVotingStage =
12076
- | { type: 'VotingFor'; value?: [AccountId32, number] | undefined }
12077
- | { type: 'ClassLocksFor'; value?: AccountId32 | undefined }
12078
- | { type: 'Finished' };
12079
-
12080
- export type PalletRcMigratorStakingStakingStage =
12081
- | { type: 'Values' }
12082
- | { type: 'Invulnerables' }
12083
- | { type: 'Bonded'; value?: AccountId32 | undefined }
12084
- | { type: 'Ledger'; value?: AccountId32 | undefined }
12085
- | { type: 'Payee'; value?: AccountId32 | undefined }
12086
- | { type: 'Validators'; value?: AccountId32 | undefined }
12087
- | { type: 'Nominators'; value?: AccountId32 | undefined }
12088
- | { type: 'VirtualStakers'; value?: AccountId32 | undefined }
12089
- | { type: 'ErasStakersOverview'; value?: [number, AccountId32] | undefined }
12090
- | { type: 'ErasStakersPaged'; value?: [number, AccountId32, number] | undefined }
12091
- | { type: 'ClaimedRewards'; value?: [number, AccountId32] | undefined }
12092
- | { type: 'ErasValidatorPrefs'; value?: [number, AccountId32] | undefined }
12093
- | { type: 'ErasValidatorReward'; value?: number | undefined }
12094
- | { type: 'ErasRewardPoints'; value?: number | undefined }
12095
- | { type: 'ErasTotalStake'; value?: number | undefined }
12096
- | { type: 'UnappliedSlashes'; value?: number | undefined }
12097
- | { type: 'BondedEras' }
12098
- | { type: 'ValidatorSlashInEra'; value?: [number, AccountId32] | undefined }
12099
- | { type: 'NominatorSlashInEra'; value?: [number, AccountId32] | undefined }
12100
- | { type: 'Finished' };
12101
-
12102
11974
  export type SpRuntimeBlakeTwo256 = {};
12103
11975
 
12104
11976
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -12324,6 +12196,28 @@ export type PolkadotRuntimeParachainsParasPalletEvent =
12324
12196
  **/
12325
12197
  paraId: PolkadotParachainPrimitivesPrimitivesId;
12326
12198
  };
12199
+ }
12200
+ /**
12201
+ * A new code hash has been authorized for a Para.
12202
+ **/
12203
+ | {
12204
+ name: 'CodeAuthorized';
12205
+ data: {
12206
+ /**
12207
+ * Para
12208
+ **/
12209
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
12210
+
12211
+ /**
12212
+ * Authorized code hash.
12213
+ **/
12214
+ codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
12215
+
12216
+ /**
12217
+ * Block at which authorization expires and will be removed.
12218
+ **/
12219
+ expireAt: number;
12220
+ };
12327
12221
  };
12328
12222
 
12329
12223
  /**
@@ -12981,8 +12875,10 @@ export type PalletXcmEvent =
12981
12875
 
12982
12876
  export type StagingXcmV5TraitsOutcome =
12983
12877
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
12984
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
12985
- | { type: 'Error'; value: { error: XcmV5TraitsError } };
12878
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
12879
+ | { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
12880
+
12881
+ export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
12986
12882
 
12987
12883
  export type XcmV3TraitsSendError =
12988
12884
  | 'NotApplicable'
@@ -13159,45 +13055,6 @@ export type PolkadotRuntimeCommonIdentityMigratorPalletEvent =
13159
13055
  **/
13160
13056
  | { name: 'DepositUpdated'; data: { who: AccountId32; identity: bigint; subs: bigint } };
13161
13057
 
13162
- /**
13163
- * The `Event` enum of this pallet
13164
- **/
13165
- export type PalletRcMigratorEvent =
13166
- /**
13167
- * A stage transition has occurred.
13168
- **/
13169
- | {
13170
- name: 'StageTransition';
13171
- data: {
13172
- /**
13173
- * The old stage before the transition.
13174
- **/
13175
- old: PalletRcMigratorMigrationStage;
13176
-
13177
- /**
13178
- * The new stage after the transition.
13179
- **/
13180
- new: PalletRcMigratorMigrationStage;
13181
- };
13182
- }
13183
- /**
13184
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
13185
- * emitted.
13186
- *
13187
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
13188
- * to understand. The activation is immediate and affects all events happening
13189
- * afterwards.
13190
- **/
13191
- | { name: 'AssetHubMigrationStarted' }
13192
- /**
13193
- * The Asset Hub Migration finished.
13194
- *
13195
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
13196
- * to understand. The finishing is immediate and affects all events happening
13197
- * afterwards.
13198
- **/
13199
- | { name: 'AssetHubMigrationFinished' };
13200
-
13201
13058
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
13202
13059
 
13203
13060
  export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
@@ -13351,12 +13208,15 @@ export type FrameSupportTokensMiscIdAmount = { id: WestendRuntimeRuntimeHoldReas
13351
13208
 
13352
13209
  export type WestendRuntimeRuntimeHoldReason =
13353
13210
  | { type: 'Staking'; value: PalletStakingPalletHoldReason }
13211
+ | { type: 'Session'; value: PalletSessionHoldReason }
13354
13212
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
13355
13213
  | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
13356
13214
  | { type: 'XcmPallet'; value: PalletXcmHoldReason };
13357
13215
 
13358
13216
  export type PalletStakingPalletHoldReason = 'Staking';
13359
13217
 
13218
+ export type PalletSessionHoldReason = 'Keys';
13219
+
13360
13220
  export type PalletPreimageHoldReason = 'Preimage';
13361
13221
 
13362
13222
  export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
@@ -15093,6 +14953,11 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
15093
14953
 
15094
14954
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
15095
14955
 
14956
+ export type PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry = {
14957
+ codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
14958
+ expireAt: number;
14959
+ };
14960
+
15096
14961
  export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
15097
14962
 
15098
14963
  export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
@@ -15152,7 +15017,19 @@ export type PolkadotRuntimeParachainsParasPalletError =
15152
15017
  /**
15153
15018
  * Invalid validation code size.
15154
15019
  **/
15155
- | 'InvalidCode';
15020
+ | 'InvalidCode'
15021
+ /**
15022
+ * No upgrade authorized.
15023
+ **/
15024
+ | 'NothingAuthorized'
15025
+ /**
15026
+ * The submitted code is not authorized.
15027
+ **/
15028
+ | 'Unauthorized'
15029
+ /**
15030
+ * Invalid block number.
15031
+ **/
15032
+ | 'InvalidBlockNumber';
15156
15033
 
15157
15034
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
15158
15035
  validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
@@ -15337,9 +15214,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
15337
15214
  **/
15338
15215
  | 'UnconfirmedDispute';
15339
15216
 
15340
- export type PolkadotPrimitivesV8SlashingPendingSlashes = {
15217
+ export type PolkadotPrimitivesVstagingPendingSlashes = {
15341
15218
  keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
15342
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
15219
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
15343
15220
  };
15344
15221
 
15345
15222
  /**
@@ -15795,11 +15672,7 @@ export type PolkadotRuntimeParachainsCoretimePalletError =
15795
15672
  **/
15796
15673
  | 'AssetTransferFailed';
15797
15674
 
15798
- export type PalletStakingAsyncRcClientOffence = {
15799
- offender: AccountId32;
15800
- reporters: Array<AccountId32>;
15801
- slashFraction: Perbill;
15802
- };
15675
+ export type PalletStakingAsyncAhClientBufferedOffence = { reporter?: AccountId32 | undefined; slashFraction: Perbill };
15803
15676
 
15804
15677
  /**
15805
15678
  * The `Error` enum of this pallet.
@@ -15872,113 +15745,161 @@ export type PalletXcmError =
15872
15745
  * The desired destination was unreachable, generally because there is a no way of routing
15873
15746
  * to it.
15874
15747
  **/
15875
- | 'Unreachable'
15748
+ | { name: 'Unreachable' }
15876
15749
  /**
15877
15750
  * There was some other issue (i.e. not to do with routing) in sending the message.
15878
15751
  * Perhaps a lack of space for buffering the message.
15879
15752
  **/
15880
- | 'SendFailure'
15753
+ | { name: 'SendFailure' }
15881
15754
  /**
15882
15755
  * The message execution fails the filter.
15883
15756
  **/
15884
- | 'Filtered'
15757
+ | { name: 'Filtered' }
15885
15758
  /**
15886
15759
  * The message's weight could not be determined.
15887
15760
  **/
15888
- | 'UnweighableMessage'
15761
+ | { name: 'UnweighableMessage' }
15889
15762
  /**
15890
15763
  * The destination `Location` provided cannot be inverted.
15891
15764
  **/
15892
- | 'DestinationNotInvertible'
15765
+ | { name: 'DestinationNotInvertible' }
15893
15766
  /**
15894
15767
  * The assets to be sent are empty.
15895
15768
  **/
15896
- | 'Empty'
15769
+ | { name: 'Empty' }
15897
15770
  /**
15898
15771
  * Could not re-anchor the assets to declare the fees for the destination chain.
15899
15772
  **/
15900
- | 'CannotReanchor'
15773
+ | { name: 'CannotReanchor' }
15901
15774
  /**
15902
15775
  * Too many assets have been attempted for transfer.
15903
15776
  **/
15904
- | 'TooManyAssets'
15777
+ | { name: 'TooManyAssets' }
15905
15778
  /**
15906
15779
  * Origin is invalid for sending.
15907
15780
  **/
15908
- | 'InvalidOrigin'
15781
+ | { name: 'InvalidOrigin' }
15909
15782
  /**
15910
15783
  * The version of the `Versioned` value used is not able to be interpreted.
15911
15784
  **/
15912
- | 'BadVersion'
15785
+ | { name: 'BadVersion' }
15913
15786
  /**
15914
15787
  * The given location could not be used (e.g. because it cannot be expressed in the
15915
15788
  * desired version of XCM).
15916
15789
  **/
15917
- | 'BadLocation'
15790
+ | { name: 'BadLocation' }
15918
15791
  /**
15919
15792
  * The referenced subscription could not be found.
15920
15793
  **/
15921
- | 'NoSubscription'
15794
+ | { name: 'NoSubscription' }
15922
15795
  /**
15923
15796
  * The location is invalid since it already has a subscription from us.
15924
15797
  **/
15925
- | 'AlreadySubscribed'
15798
+ | { name: 'AlreadySubscribed' }
15926
15799
  /**
15927
15800
  * Could not check-out the assets for teleportation to the destination chain.
15928
15801
  **/
15929
- | 'CannotCheckOutTeleport'
15802
+ | { name: 'CannotCheckOutTeleport' }
15930
15803
  /**
15931
15804
  * The owner does not own (all) of the asset that they wish to do the operation on.
15932
15805
  **/
15933
- | 'LowBalance'
15806
+ | { name: 'LowBalance' }
15934
15807
  /**
15935
15808
  * The asset owner has too many locks on the asset.
15936
15809
  **/
15937
- | 'TooManyLocks'
15810
+ | { name: 'TooManyLocks' }
15938
15811
  /**
15939
15812
  * The given account is not an identifiable sovereign account for any location.
15940
15813
  **/
15941
- | 'AccountNotSovereign'
15814
+ | { name: 'AccountNotSovereign' }
15942
15815
  /**
15943
15816
  * The operation required fees to be paid which the initiator could not meet.
15944
15817
  **/
15945
- | 'FeesNotMet'
15818
+ | { name: 'FeesNotMet' }
15946
15819
  /**
15947
15820
  * A remote lock with the corresponding data could not be found.
15948
15821
  **/
15949
- | 'LockNotFound'
15822
+ | { name: 'LockNotFound' }
15950
15823
  /**
15951
15824
  * The unlock operation cannot succeed because there are still consumers of the lock.
15952
15825
  **/
15953
- | 'InUse'
15826
+ | { name: 'InUse' }
15954
15827
  /**
15955
15828
  * Invalid asset, reserve chain could not be determined for it.
15956
15829
  **/
15957
- | 'InvalidAssetUnknownReserve'
15830
+ | { name: 'InvalidAssetUnknownReserve' }
15958
15831
  /**
15959
15832
  * Invalid asset, do not support remote asset reserves with different fees reserves.
15960
15833
  **/
15961
- | 'InvalidAssetUnsupportedReserve'
15834
+ | { name: 'InvalidAssetUnsupportedReserve' }
15962
15835
  /**
15963
15836
  * Too many assets with different reserve locations have been attempted for transfer.
15964
15837
  **/
15965
- | 'TooManyReserves'
15838
+ | { name: 'TooManyReserves' }
15966
15839
  /**
15967
15840
  * Local XCM execution incomplete.
15968
15841
  **/
15969
- | 'LocalExecutionIncomplete'
15842
+ | { name: 'LocalExecutionIncomplete' }
15970
15843
  /**
15971
15844
  * Too many locations authorized to alias origin.
15972
15845
  **/
15973
- | 'TooManyAuthorizedAliases'
15846
+ | { name: 'TooManyAuthorizedAliases' }
15974
15847
  /**
15975
15848
  * Expiry block number is in the past.
15976
15849
  **/
15977
- | 'ExpiresInPast'
15850
+ | { name: 'ExpiresInPast' }
15978
15851
  /**
15979
15852
  * The alias to remove authorization for was not found.
15980
15853
  **/
15981
- | 'AliasNotFound';
15854
+ | { name: 'AliasNotFound' }
15855
+ /**
15856
+ * Local XCM execution incomplete with the actual XCM error and the index of the
15857
+ * instruction that caused the error.
15858
+ **/
15859
+ | { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
15860
+
15861
+ export type PalletXcmErrorsExecutionError =
15862
+ | 'Overflow'
15863
+ | 'Unimplemented'
15864
+ | 'UntrustedReserveLocation'
15865
+ | 'UntrustedTeleportLocation'
15866
+ | 'LocationFull'
15867
+ | 'LocationNotInvertible'
15868
+ | 'BadOrigin'
15869
+ | 'InvalidLocation'
15870
+ | 'AssetNotFound'
15871
+ | 'FailedToTransactAsset'
15872
+ | 'NotWithdrawable'
15873
+ | 'LocationCannotHold'
15874
+ | 'ExceedsMaxMessageSize'
15875
+ | 'DestinationUnsupported'
15876
+ | 'Transport'
15877
+ | 'Unroutable'
15878
+ | 'UnknownClaim'
15879
+ | 'FailedToDecode'
15880
+ | 'MaxWeightInvalid'
15881
+ | 'NotHoldingFees'
15882
+ | 'TooExpensive'
15883
+ | 'Trap'
15884
+ | 'ExpectationFalse'
15885
+ | 'PalletNotFound'
15886
+ | 'NameMismatch'
15887
+ | 'VersionIncompatible'
15888
+ | 'HoldingWouldOverflow'
15889
+ | 'ExportError'
15890
+ | 'ReanchorFailed'
15891
+ | 'NoDeal'
15892
+ | 'FeesNotMet'
15893
+ | 'LockError'
15894
+ | 'NoPermission'
15895
+ | 'Unanchored'
15896
+ | 'NotDepositable'
15897
+ | 'TooManyAssets'
15898
+ | 'UnhandledXcmVersion'
15899
+ | 'WeightLimitReached'
15900
+ | 'Barrier'
15901
+ | 'WeightNotComputable'
15902
+ | 'ExceedsStackLimit';
15982
15903
 
15983
15904
  export type PalletMessageQueueBookState = {
15984
15905
  begin: number;
@@ -16131,40 +16052,6 @@ export type PalletBeefyError =
16131
16052
 
16132
16053
  export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
16133
16054
 
16134
- export type PalletRcMigratorAccountsAccountState =
16135
- | { type: 'Migrate' }
16136
- | { type: 'Preserve' }
16137
- | { type: 'Part'; value: { reserved: bigint } };
16138
-
16139
- export type PalletRcMigratorAccountsMigratedBalances = { kept: bigint; migrated: bigint };
16140
-
16141
- /**
16142
- * The `Error` enum of this pallet.
16143
- **/
16144
- export type PalletRcMigratorError =
16145
- | 'Unreachable'
16146
- | 'OutOfWeight'
16147
- /**
16148
- * Failed to send XCM message to AH.
16149
- **/
16150
- | 'XcmError'
16151
- /**
16152
- * Failed to withdraw account from RC for migration to AH.
16153
- **/
16154
- | 'FailedToWithdrawAccount'
16155
- /**
16156
- * Indicates that the specified block number is in the past.
16157
- **/
16158
- | 'PastBlockNumber'
16159
- /**
16160
- * Balance accounting overflow.
16161
- **/
16162
- | 'BalanceOverflow'
16163
- /**
16164
- * Balance accounting underflow.
16165
- **/
16166
- | 'BalanceUnderflow';
16167
-
16168
16055
  export type FrameSystemExtensionsAuthorizeCall = {};
16169
16056
 
16170
16057
  export type FrameSystemExtensionsCheckWeight = {};
@@ -16290,8 +16177,22 @@ export type PolkadotPrimitivesVstagingCandidateEvent =
16290
16177
  ];
16291
16178
  };
16292
16179
 
16180
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
16181
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
16182
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
16183
+ };
16184
+
16185
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
16186
+
16293
16187
  export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
16294
16188
 
16189
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
16190
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
16191
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
16192
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
16193
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
16194
+ };
16195
+
16295
16196
  export type PolkadotPrimitivesVstagingAsyncBackingBackingState = {
16296
16197
  constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
16297
16198
  pendingAvailability: Array<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
@@ -16490,5 +16391,4 @@ export type WestendRuntimeRuntimeError =
16490
16391
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
16491
16392
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }
16492
16393
  | { pallet: 'MetaTx'; palletError: PalletMetaTxError }
16493
- | { pallet: 'Beefy'; palletError: PalletBeefyError }
16494
- | { pallet: 'RcMigrator'; palletError: PalletRcMigratorError };
16394
+ | { pallet: 'Beefy'; palletError: PalletBeefyError };