@dedot/chaintypes 0.96.0 → 0.98.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.
@@ -60,6 +60,7 @@ export type WestendRuntimeRuntimeEvent =
60
60
  | { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
61
61
  | { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
62
62
  | { pallet: 'Offences'; palletEvent: PalletOffencesEvent }
63
+ | { pallet: 'Historical'; palletEvent: PalletSessionHistoricalPalletEvent }
63
64
  | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
64
65
  | { pallet: 'Session'; palletEvent: PalletSessionEvent }
65
66
  | { pallet: 'Grandpa'; palletEvent: PalletGrandpaEvent }
@@ -92,13 +93,15 @@ export type WestendRuntimeRuntimeEvent =
92
93
  | { pallet: 'Crowdloan'; palletEvent: PolkadotRuntimeCommonCrowdloanPalletEvent }
93
94
  | { pallet: 'AssignedSlots'; palletEvent: PolkadotRuntimeCommonAssignedSlotsPalletEvent }
94
95
  | { pallet: 'Coretime'; palletEvent: PolkadotRuntimeParachainsCoretimePalletEvent }
96
+ | { pallet: 'AssetHubStakingClient'; palletEvent: PalletStakingAsyncAhClientEvent }
95
97
  | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
96
98
  | { pallet: 'XcmPallet'; palletEvent: PalletXcmEvent }
97
99
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
98
100
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
99
101
  | { pallet: 'RootTesting'; palletEvent: PalletRootTestingEvent }
100
102
  | { pallet: 'MetaTx'; palletEvent: PalletMetaTxEvent }
101
- | { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent };
103
+ | { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent }
104
+ | { pallet: 'RcMigrator'; palletEvent: PalletRcMigratorEvent };
102
105
 
103
106
  /**
104
107
  * Event for the System pallet.
@@ -413,6 +416,19 @@ export type PalletOffencesEvent =
413
416
  **/
414
417
  { name: 'Offence'; data: { kind: FixedBytes<16>; timeslot: Bytes } };
415
418
 
419
+ /**
420
+ * The `Event` enum of this pallet
421
+ **/
422
+ export type PalletSessionHistoricalPalletEvent =
423
+ /**
424
+ * The merkle root of the validators of the said session were stored
425
+ **/
426
+ | { name: 'RootStored'; data: { index: number } }
427
+ /**
428
+ * The merkle roots of up to this session index were pruned
429
+ **/
430
+ | { name: 'RootsPruned'; data: { upTo: number } };
431
+
416
432
  /**
417
433
  * The `Event` enum of this pallet
418
434
  **/
@@ -485,6 +501,11 @@ export type PalletSessionEvent =
485
501
  * block number as the type might suggest.
486
502
  **/
487
503
  | { name: 'NewSession'; data: { sessionIndex: number } }
504
+ /**
505
+ * The `NewSession` event in the current block also implies a new validator set to be
506
+ * queued.
507
+ **/
508
+ | { name: 'NewQueued' }
488
509
  /**
489
510
  * Validator has been disabled.
490
511
  **/
@@ -673,12 +694,27 @@ export type PalletRecoveryEvent =
673
694
  /**
674
695
  * A recovery process has been removed for an account.
675
696
  **/
676
- | { name: 'RecoveryRemoved'; data: { lostAccount: AccountId32 } };
697
+ | { name: 'RecoveryRemoved'; data: { lostAccount: AccountId32 } }
698
+ /**
699
+ * A deposit has been updated.
700
+ **/
701
+ | {
702
+ name: 'DepositPoked';
703
+ data: { who: AccountId32; kind: PalletRecoveryDepositKind; oldDeposit: bigint; newDeposit: bigint };
704
+ };
705
+
706
+ export type PalletRecoveryDepositKind = { type: 'RecoveryConfig' } | { type: 'ActiveRecoveryFor'; value: AccountId32 };
707
+
708
+ export type WestendRuntimeRuntime = {};
677
709
 
678
710
  /**
679
711
  * The `Event` enum of this pallet
680
712
  **/
681
713
  export type PalletVestingEvent =
714
+ /**
715
+ * A vesting schedule has been created.
716
+ **/
717
+ | { name: 'VestingCreated'; data: { account: AccountId32; scheduleIndex: number } }
682
718
  /**
683
719
  * The amount vested has been updated. This could indicate a change in funds available.
684
720
  * The balance given is the amount which is left unvested (and thus locked).
@@ -824,6 +860,18 @@ export type PalletProxyEvent =
824
860
  name: 'PureCreated';
825
861
  data: { pure: AccountId32; who: AccountId32; proxyType: WestendRuntimeProxyType; disambiguationIndex: number };
826
862
  }
863
+ /**
864
+ * A pure proxy was killed by its spawner.
865
+ **/
866
+ | {
867
+ name: 'PureKilled';
868
+ data: {
869
+ pure: AccountId32;
870
+ spawner: AccountId32;
871
+ proxyType: WestendRuntimeProxyType;
872
+ disambiguationIndex: number;
873
+ };
874
+ }
827
875
  /**
828
876
  * An announcement was placed to make a call in the future.
829
877
  **/
@@ -1546,6 +1594,7 @@ export type WestendRuntimeRuntimeCall =
1546
1594
  | { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCall }
1547
1595
  | { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCall }
1548
1596
  | { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCall }
1597
+ | { pallet: 'AssetHubStakingClient'; palletCall: PalletStakingAsyncAhClientCall }
1549
1598
  | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1550
1599
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCall }
1551
1600
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
@@ -1553,7 +1602,8 @@ export type WestendRuntimeRuntimeCall =
1553
1602
  | { pallet: 'RootTesting'; palletCall: PalletRootTestingCall }
1554
1603
  | { pallet: 'MetaTx'; palletCall: PalletMetaTxCall }
1555
1604
  | { pallet: 'Beefy'; palletCall: PalletBeefyCall }
1556
- | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall };
1605
+ | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall }
1606
+ | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCall };
1557
1607
 
1558
1608
  export type WestendRuntimeRuntimeCallLike =
1559
1609
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -1599,6 +1649,7 @@ export type WestendRuntimeRuntimeCallLike =
1599
1649
  | { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCallLike }
1600
1650
  | { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCallLike }
1601
1651
  | { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCallLike }
1652
+ | { pallet: 'AssetHubStakingClient'; palletCall: PalletStakingAsyncAhClientCallLike }
1602
1653
  | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1603
1654
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCallLike }
1604
1655
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
@@ -1606,7 +1657,8 @@ export type WestendRuntimeRuntimeCallLike =
1606
1657
  | { pallet: 'RootTesting'; palletCall: PalletRootTestingCallLike }
1607
1658
  | { pallet: 'MetaTx'; palletCall: PalletMetaTxCallLike }
1608
1659
  | { pallet: 'Beefy'; palletCall: PalletBeefyCallLike }
1609
- | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike };
1660
+ | { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike }
1661
+ | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCallLike };
1610
1662
 
1611
1663
  /**
1612
1664
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2303,6 +2355,8 @@ export type PalletStakingPalletCall =
2303
2355
  * period ends. If this leaves an amount actively bonded less than
2304
2356
  * [`asset::existential_deposit`], then it is increased to the full amount.
2305
2357
  *
2358
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
2359
+ *
2306
2360
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2307
2361
  *
2308
2362
  * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -2509,6 +2563,7 @@ export type PalletStakingPalletCall =
2509
2563
  * Can be called by the `T::AdminOrigin`.
2510
2564
  *
2511
2565
  * Parameters: era and indices of the slashes for that era to kill.
2566
+ * They **must** be sorted in ascending order, *and* unique.
2512
2567
  **/
2513
2568
  | { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
2514
2569
  /**
@@ -2783,6 +2838,8 @@ export type PalletStakingPalletCallLike =
2783
2838
  * period ends. If this leaves an amount actively bonded less than
2784
2839
  * [`asset::existential_deposit`], then it is increased to the full amount.
2785
2840
  *
2841
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
2842
+ *
2786
2843
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2787
2844
  *
2788
2845
  * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -2989,6 +3046,7 @@ export type PalletStakingPalletCallLike =
2989
3046
  * Can be called by the `T::AdminOrigin`.
2990
3047
  *
2991
3048
  * Parameters: era and indices of the slashes for that era to kill.
3049
+ * They **must** be sorted in ascending order, *and* unique.
2992
3050
  **/
2993
3051
  | { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
2994
3052
  /**
@@ -3722,7 +3780,8 @@ export type WestendRuntimeOriginCaller =
3722
3780
  export type FrameSupportDispatchRawOrigin =
3723
3781
  | { type: 'Root' }
3724
3782
  | { type: 'Signed'; value: AccountId32 }
3725
- | { type: 'None' };
3783
+ | { type: 'None' }
3784
+ | { type: 'Authorized' };
3726
3785
 
3727
3786
  export type WestendRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
3728
3787
  | 'StakingAdmin'
@@ -4476,7 +4535,33 @@ export type PalletRecoveryCall =
4476
4535
  * Parameters:
4477
4536
  * - `account`: The recovered account you are able to call on-behalf-of.
4478
4537
  **/
4479
- | { name: 'CancelRecovered'; params: { account: MultiAddress } };
4538
+ | { name: 'CancelRecovered'; params: { account: MultiAddress } }
4539
+ /**
4540
+ * Poke deposits for recovery configurations and / or active recoveries.
4541
+ *
4542
+ * This can be used by accounts to possibly lower their locked amount.
4543
+ *
4544
+ * The dispatch origin for this call must be _Signed_.
4545
+ *
4546
+ * Parameters:
4547
+ * - `maybe_account`: Optional recoverable account for which you have an active recovery
4548
+ * and want to adjust the deposit for the active recovery.
4549
+ *
4550
+ * This function checks both recovery configuration deposit and active recovery deposits
4551
+ * of the caller:
4552
+ * - If the caller has created a recovery configuration, checks and adjusts its deposit
4553
+ * - If the caller has initiated any active recoveries, and provides the account in
4554
+ * `maybe_account`, checks and adjusts those deposits
4555
+ *
4556
+ * If any deposit is updated, the difference will be reserved/unreserved from the caller's
4557
+ * account.
4558
+ *
4559
+ * The transaction is made free if any deposit is updated and paid otherwise.
4560
+ *
4561
+ * Emits `DepositPoked` if any deposit is updated.
4562
+ * Multiple events may be emitted in case both types of deposits are updated.
4563
+ **/
4564
+ | { name: 'PokeDeposit'; params: { maybeAccount?: MultiAddress | undefined } };
4480
4565
 
4481
4566
  export type PalletRecoveryCallLike =
4482
4567
  /**
@@ -4598,7 +4683,33 @@ export type PalletRecoveryCallLike =
4598
4683
  * Parameters:
4599
4684
  * - `account`: The recovered account you are able to call on-behalf-of.
4600
4685
  **/
4601
- | { name: 'CancelRecovered'; params: { account: MultiAddressLike } };
4686
+ | { name: 'CancelRecovered'; params: { account: MultiAddressLike } }
4687
+ /**
4688
+ * Poke deposits for recovery configurations and / or active recoveries.
4689
+ *
4690
+ * This can be used by accounts to possibly lower their locked amount.
4691
+ *
4692
+ * The dispatch origin for this call must be _Signed_.
4693
+ *
4694
+ * Parameters:
4695
+ * - `maybe_account`: Optional recoverable account for which you have an active recovery
4696
+ * and want to adjust the deposit for the active recovery.
4697
+ *
4698
+ * This function checks both recovery configuration deposit and active recovery deposits
4699
+ * of the caller:
4700
+ * - If the caller has created a recovery configuration, checks and adjusts its deposit
4701
+ * - If the caller has initiated any active recoveries, and provides the account in
4702
+ * `maybe_account`, checks and adjusts those deposits
4703
+ *
4704
+ * If any deposit is updated, the difference will be reserved/unreserved from the caller's
4705
+ * account.
4706
+ *
4707
+ * The transaction is made free if any deposit is updated and paid otherwise.
4708
+ *
4709
+ * Emits `DepositPoked` if any deposit is updated.
4710
+ * Multiple events may be emitted in case both types of deposits are updated.
4711
+ **/
4712
+ | { name: 'PokeDeposit'; params: { maybeAccount?: MultiAddressLike | undefined } };
4602
4713
 
4603
4714
  /**
4604
4715
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5227,7 +5338,7 @@ export type PalletProxyCall =
5227
5338
  * `pure` with corresponding parameters.
5228
5339
  *
5229
5340
  * - `spawner`: The account that originally called `pure` to create this account.
5230
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
5341
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5231
5342
  * - `proxy_type`: The proxy type originally passed to `pure`.
5232
5343
  * - `height`: The height of the chain when the call to `pure` was processed.
5233
5344
  * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -5405,7 +5516,7 @@ export type PalletProxyCallLike =
5405
5516
  * `pure` with corresponding parameters.
5406
5517
  *
5407
5518
  * - `spawner`: The account that originally called `pure` to create this account.
5408
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
5519
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5409
5520
  * - `proxy_type`: The proxy type originally passed to `pure`.
5410
5521
  * - `height`: The height of the chain when the call to `pure` was processed.
5411
5522
  * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -5893,10 +6004,7 @@ export type PalletElectionProviderMultiPhaseCall =
5893
6004
  * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
5894
6005
  * calling [`Call::set_emergency_election_result`].
5895
6006
  **/
5896
- | {
5897
- name: 'GovernanceFallback';
5898
- params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
5899
- };
6007
+ | { name: 'GovernanceFallback' };
5900
6008
 
5901
6009
  export type PalletElectionProviderMultiPhaseCallLike =
5902
6010
  /**
@@ -5959,10 +6067,7 @@ export type PalletElectionProviderMultiPhaseCallLike =
5959
6067
  * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
5960
6068
  * calling [`Call::set_emergency_election_result`].
5961
6069
  **/
5962
- | {
5963
- name: 'GovernanceFallback';
5964
- params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
5965
- };
6070
+ | { name: 'GovernanceFallback' };
5966
6071
 
5967
6072
  export type PalletElectionProviderMultiPhaseRawSolution = {
5968
6073
  solution: WestendRuntimeNposCompactSolution16;
@@ -8502,7 +8607,14 @@ export type PolkadotRuntimeParachainsParasPalletCall =
8502
8607
  /**
8503
8608
  * Set the storage for the current parachain head data immediately.
8504
8609
  **/
8505
- | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
8610
+ | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
8611
+ /**
8612
+ * Remove an upgrade cooldown for a parachain.
8613
+ *
8614
+ * The cost for removing the cooldown earlier depends on the time left for the cooldown
8615
+ * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
8616
+ **/
8617
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } };
8506
8618
 
8507
8619
  export type PolkadotRuntimeParachainsParasPalletCallLike =
8508
8620
  /**
@@ -8588,7 +8700,14 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
8588
8700
  /**
8589
8701
  * Set the storage for the current parachain head data immediately.
8590
8702
  **/
8591
- | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
8703
+ | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
8704
+ /**
8705
+ * Remove an upgrade cooldown for a parachain.
8706
+ *
8707
+ * The cost for removing the cooldown earlier depends on the time left for the cooldown
8708
+ * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
8709
+ **/
8710
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } };
8592
8711
 
8593
8712
  export type PolkadotPrimitivesV8PvfCheckStatement = {
8594
8713
  accept: boolean;
@@ -10551,6 +10670,40 @@ export type PalletBrokerCoretimeInterfaceCoreAssignment =
10551
10670
 
10552
10671
  export type PolkadotRuntimeParachainsAssignerCoretimePartsOf57600 = number;
10553
10672
 
10673
+ /**
10674
+ * Contains a variant per dispatchable extrinsic that this pallet has.
10675
+ **/
10676
+ export type PalletStakingAsyncAhClientCall =
10677
+ | { name: 'ValidatorSet'; params: { report: PalletStakingAsyncRcClientValidatorSetReport } }
10678
+ /**
10679
+ * Allows governance to force set the operating mode of the pallet.
10680
+ **/
10681
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
10682
+ /**
10683
+ * manually do what this pallet was meant to do at the end of the migration.
10684
+ **/
10685
+ | { name: 'ForceOnMigrationEnd' };
10686
+
10687
+ export type PalletStakingAsyncAhClientCallLike =
10688
+ | { name: 'ValidatorSet'; params: { report: PalletStakingAsyncRcClientValidatorSetReport } }
10689
+ /**
10690
+ * Allows governance to force set the operating mode of the pallet.
10691
+ **/
10692
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
10693
+ /**
10694
+ * manually do what this pallet was meant to do at the end of the migration.
10695
+ **/
10696
+ | { name: 'ForceOnMigrationEnd' };
10697
+
10698
+ export type PalletStakingAsyncRcClientValidatorSetReport = {
10699
+ newValidatorSet: Array<AccountId32>;
10700
+ id: number;
10701
+ pruneUpTo?: number | undefined;
10702
+ leftover: boolean;
10703
+ };
10704
+
10705
+ export type PalletStakingAsyncAhClientOperatingMode = 'Passive' | 'Buffered' | 'Active';
10706
+
10554
10707
  /**
10555
10708
  * Contains a variant per dispatchable extrinsic that this pallet has.
10556
10709
  **/
@@ -11757,6 +11910,195 @@ export type PolkadotRuntimeCommonIdentityMigratorPalletCallLike =
11757
11910
  **/
11758
11911
  | { name: 'PokeDeposit'; params: { who: AccountId32Like } };
11759
11912
 
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
+
11760
12102
  export type SpRuntimeBlakeTwo256 = {};
11761
12103
 
11762
12104
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -11970,6 +12312,18 @@ export type PolkadotRuntimeParachainsParasPalletEvent =
11970
12312
  | {
11971
12313
  name: 'PvfCheckRejected';
11972
12314
  data: [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId];
12315
+ }
12316
+ /**
12317
+ * The upgrade cooldown was removed.
12318
+ **/
12319
+ | {
12320
+ name: 'UpgradeCooldownRemoved';
12321
+ data: {
12322
+ /**
12323
+ * The parachain for which the cooldown got removed.
12324
+ **/
12325
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
12326
+ };
11973
12327
  };
11974
12328
 
11975
12329
  /**
@@ -12270,6 +12624,37 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
12270
12624
  **/
12271
12625
  | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
12272
12626
 
12627
+ /**
12628
+ * The `Event` enum of this pallet
12629
+ **/
12630
+ export type PalletStakingAsyncAhClientEvent =
12631
+ /**
12632
+ * A new validator set has been received.
12633
+ **/
12634
+ | {
12635
+ name: 'ValidatorSetReceived';
12636
+ data: { id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean };
12637
+ }
12638
+ /**
12639
+ * We could not merge, and therefore dropped a buffered message.
12640
+ *
12641
+ * Note that this event is more resembling an error, but we use an event because in this
12642
+ * pallet we need to mutate storage upon some failures.
12643
+ **/
12644
+ | { name: 'CouldNotMergeAndDropped' }
12645
+ /**
12646
+ * The validator set received is way too small, as per
12647
+ * [`Config::MinimumValidatorSetSize`].
12648
+ **/
12649
+ | { name: 'SetTooSmallAndDropped' }
12650
+ /**
12651
+ * Something occurred that should never happen under normal operation. Logged as an event
12652
+ * for fail-safe observability.
12653
+ **/
12654
+ | { name: 'Unexpected'; data: PalletStakingAsyncAhClientUnexpectedKind };
12655
+
12656
+ export type PalletStakingAsyncAhClientUnexpectedKind = 'ReceivedValidatorSetWhilePassive' | 'UnexpectedModeTransition';
12657
+
12273
12658
  /**
12274
12659
  * The `Event` enum of this pallet
12275
12660
  **/
@@ -12774,6 +13159,45 @@ export type PolkadotRuntimeCommonIdentityMigratorPalletEvent =
12774
13159
  **/
12775
13160
  | { name: 'DepositUpdated'; data: { who: AccountId32; identity: bigint; subs: bigint } };
12776
13161
 
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
+
12777
13201
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
12778
13202
 
12779
13203
  export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
@@ -13740,11 +14164,17 @@ export type PalletMultisigError =
13740
14164
  | 'AlreadyStored';
13741
14165
 
13742
14166
  export type PalletElectionProviderMultiPhaseReadySolution = {
13743
- supports: Array<[AccountId32, SpNposElectionsSupport]>;
14167
+ supports: FrameElectionProviderSupportBoundedSupports;
13744
14168
  score: SpNposElectionsElectionScore;
13745
14169
  compute: PalletElectionProviderMultiPhaseElectionCompute;
13746
14170
  };
13747
14171
 
14172
+ export type FrameElectionProviderSupportBoundedSupports = Array<
14173
+ [AccountId32, FrameElectionProviderSupportBoundedSupport]
14174
+ >;
14175
+
14176
+ export type FrameElectionProviderSupportBoundedSupport = { total: bigint; voters: Array<[AccountId32, bigint]> };
14177
+
13748
14178
  export type PalletElectionProviderMultiPhaseRoundSnapshot = {
13749
14179
  voters: Array<[AccountId32, bigint, Array<AccountId32>]>;
13750
14180
  targets: Array<AccountId32>;
@@ -13839,9 +14269,13 @@ export type PalletBagsListError =
13839
14269
  /**
13840
14270
  * A error in the list interface implementation.
13841
14271
  **/
13842
- { name: 'List'; data: PalletBagsListListListError };
14272
+ | { name: 'List'; data: PalletBagsListListListError }
14273
+ /**
14274
+ * Could not update a node, because the pallet is locked.
14275
+ **/
14276
+ | { name: 'Locked' };
13843
14277
 
13844
- export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound';
14278
+ export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound' | 'Locked';
13845
14279
 
13846
14280
  export type PalletNominationPoolsPoolMember = {
13847
14281
  poolId: number;
@@ -15361,6 +15795,21 @@ export type PolkadotRuntimeParachainsCoretimePalletError =
15361
15795
  **/
15362
15796
  | 'AssetTransferFailed';
15363
15797
 
15798
+ export type PalletStakingAsyncRcClientOffence = {
15799
+ offender: AccountId32;
15800
+ reporters: Array<AccountId32>;
15801
+ slashFraction: Perbill;
15802
+ };
15803
+
15804
+ /**
15805
+ * The `Error` enum of this pallet.
15806
+ **/
15807
+ export type PalletStakingAsyncAhClientError =
15808
+ /**
15809
+ * Could not process incoming message because incoming messages are blocked.
15810
+ **/
15811
+ 'Blocked';
15812
+
15364
15813
  /**
15365
15814
  * The `Error` enum of this pallet.
15366
15815
  **/
@@ -15682,14 +16131,48 @@ export type PalletBeefyError =
15682
16131
 
15683
16132
  export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
15684
16133
 
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
+ export type FrameSystemExtensionsAuthorizeCall = {};
16169
+
15685
16170
  export type FrameSystemExtensionsCheckWeight = {};
15686
16171
 
15687
16172
  export type PalletTransactionPaymentChargeTransactionPayment = bigint;
15688
16173
 
15689
16174
  export type FrameSystemExtensionsWeightReclaim = {};
15690
16175
 
15691
- export type WestendRuntimeRuntime = {};
15692
-
15693
16176
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
15694
16177
 
15695
16178
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
@@ -16001,9 +16484,11 @@ export type WestendRuntimeRuntimeError =
16001
16484
  | { pallet: 'Crowdloan'; palletError: PolkadotRuntimeCommonCrowdloanPalletError }
16002
16485
  | { pallet: 'AssignedSlots'; palletError: PolkadotRuntimeCommonAssignedSlotsPalletError }
16003
16486
  | { pallet: 'Coretime'; palletError: PolkadotRuntimeParachainsCoretimePalletError }
16487
+ | { pallet: 'AssetHubStakingClient'; palletError: PalletStakingAsyncAhClientError }
16004
16488
  | { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
16005
16489
  | { pallet: 'XcmPallet'; palletError: PalletXcmError }
16006
16490
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
16007
16491
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }
16008
16492
  | { pallet: 'MetaTx'; palletError: PalletMetaTxError }
16009
- | { pallet: 'Beefy'; palletError: PalletBeefyError };
16493
+ | { pallet: 'Beefy'; palletError: PalletBeefyError }
16494
+ | { pallet: 'RcMigrator'; palletError: PalletRcMigratorError };