@dedot/chaintypes 0.160.0 → 0.161.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.
package/kusama/types.d.ts CHANGED
@@ -84,12 +84,11 @@ export type StagingKusamaRuntimeRuntimeEvent =
84
84
  | { pallet: 'Bounties'; palletEvent: PalletBountiesEvent }
85
85
  | { pallet: 'ChildBounties'; palletEvent: PalletChildBountiesEvent }
86
86
  | { pallet: 'ElectionProviderMultiPhase'; palletEvent: PalletElectionProviderMultiPhaseEvent }
87
- | { pallet: 'Nis'; palletEvent: PalletNisEvent }
88
- | { pallet: 'NisCounterpartBalances'; palletEvent: PalletBalancesEvent }
89
87
  | { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
90
88
  | { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
91
89
  | { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
92
90
  | { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
91
+ | { pallet: 'StakingAhClient'; palletEvent: PalletStakingAsyncAhClientEvent }
93
92
  | { pallet: 'ParaInclusion'; palletEvent: PolkadotRuntimeParachainsInclusionPalletEvent }
94
93
  | { pallet: 'Paras'; palletEvent: PolkadotRuntimeParachainsParasPalletEvent }
95
94
  | { pallet: 'Hrmp'; palletEvent: PolkadotRuntimeParachainsHrmpPalletEvent }
@@ -102,7 +101,8 @@ export type StagingKusamaRuntimeRuntimeEvent =
102
101
  | { pallet: 'Coretime'; palletEvent: PolkadotRuntimeParachainsCoretimePalletEvent }
103
102
  | { pallet: 'XcmPallet'; palletEvent: PalletXcmEvent }
104
103
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
105
- | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent };
104
+ | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
105
+ | { pallet: 'RcMigrator'; palletEvent: PalletRcMigratorEvent };
106
106
 
107
107
  /**
108
108
  * Event for the System pallet.
@@ -1056,11 +1056,10 @@ export type StagingKusamaRuntimeRuntimeCall =
1056
1056
  | { pallet: 'Bounties'; palletCall: PalletBountiesCall }
1057
1057
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCall }
1058
1058
  | { pallet: 'ElectionProviderMultiPhase'; palletCall: PalletElectionProviderMultiPhaseCall }
1059
- | { pallet: 'Nis'; palletCall: PalletNisCall }
1060
- | { pallet: 'NisCounterpartBalances'; palletCall: PalletBalancesCall }
1061
1059
  | { pallet: 'VoterList'; palletCall: PalletBagsListCall }
1062
1060
  | { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCall }
1063
1061
  | { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCall }
1062
+ | { pallet: 'StakingAhClient'; palletCall: PalletStakingAsyncAhClientCall }
1064
1063
  | { pallet: 'Configuration'; palletCall: PolkadotRuntimeParachainsConfigurationPalletCall }
1065
1064
  | { pallet: 'ParasShared'; palletCall: PolkadotRuntimeParachainsSharedPalletCall }
1066
1065
  | { pallet: 'ParaInclusion'; palletCall: PolkadotRuntimeParachainsInclusionPalletCall }
@@ -1079,7 +1078,8 @@ export type StagingKusamaRuntimeRuntimeCall =
1079
1078
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCall }
1080
1079
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1081
1080
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
1082
- | { pallet: 'Beefy'; palletCall: PalletBeefyCall };
1081
+ | { pallet: 'Beefy'; palletCall: PalletBeefyCall }
1082
+ | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCall };
1083
1083
 
1084
1084
  export type StagingKusamaRuntimeRuntimeCallLike =
1085
1085
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -1109,11 +1109,10 @@ export type StagingKusamaRuntimeRuntimeCallLike =
1109
1109
  | { pallet: 'Bounties'; palletCall: PalletBountiesCallLike }
1110
1110
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCallLike }
1111
1111
  | { pallet: 'ElectionProviderMultiPhase'; palletCall: PalletElectionProviderMultiPhaseCallLike }
1112
- | { pallet: 'Nis'; palletCall: PalletNisCallLike }
1113
- | { pallet: 'NisCounterpartBalances'; palletCall: PalletBalancesCallLike }
1114
1112
  | { pallet: 'VoterList'; palletCall: PalletBagsListCallLike }
1115
1113
  | { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCallLike }
1116
1114
  | { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCallLike }
1115
+ | { pallet: 'StakingAhClient'; palletCall: PalletStakingAsyncAhClientCallLike }
1117
1116
  | { pallet: 'Configuration'; palletCall: PolkadotRuntimeParachainsConfigurationPalletCallLike }
1118
1117
  | { pallet: 'ParasShared'; palletCall: PolkadotRuntimeParachainsSharedPalletCallLike }
1119
1118
  | { pallet: 'ParaInclusion'; palletCall: PolkadotRuntimeParachainsInclusionPalletCallLike }
@@ -1132,7 +1131,8 @@ export type StagingKusamaRuntimeRuntimeCallLike =
1132
1131
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCallLike }
1133
1132
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1134
1133
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
1135
- | { pallet: 'Beefy'; palletCall: PalletBeefyCallLike };
1134
+ | { pallet: 'Beefy'; palletCall: PalletBeefyCallLike }
1135
+ | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCallLike };
1136
1136
 
1137
1137
  /**
1138
1138
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7257,129 +7257,6 @@ export type PalletElectionProviderMultiPhaseSolutionOrSnapshotSize = { voters: n
7257
7257
 
7258
7258
  export type SpNposElectionsSupport = { total: bigint; voters: Array<[AccountId32, bigint]> };
7259
7259
 
7260
- /**
7261
- * Contains a variant per dispatchable extrinsic that this pallet has.
7262
- **/
7263
- export type PalletNisCall =
7264
- /**
7265
- * Place a bid.
7266
- *
7267
- * Origin must be Signed, and account must have at least `amount` in free balance.
7268
- *
7269
- * - `amount`: The amount of the bid; these funds will be reserved, and if/when
7270
- * consolidated, removed. Must be at least `MinBid`.
7271
- * - `duration`: The number of periods before which the newly consolidated bid may be
7272
- * thawed. Must be greater than 1 and no more than `QueueCount`.
7273
- *
7274
- * Complexities:
7275
- * - `Queues[duration].len()` (just take max).
7276
- **/
7277
- | { name: 'PlaceBid'; params: { amount: bigint; duration: number } }
7278
- /**
7279
- * Retract a previously placed bid.
7280
- *
7281
- * Origin must be Signed, and the account should have previously issued a still-active bid
7282
- * of `amount` for `duration`.
7283
- *
7284
- * - `amount`: The amount of the previous bid.
7285
- * - `duration`: The duration of the previous bid.
7286
- **/
7287
- | { name: 'RetractBid'; params: { amount: bigint; duration: number } }
7288
- /**
7289
- * Ensure we have sufficient funding for all potential payouts.
7290
- *
7291
- * - `origin`: Must be accepted by `FundOrigin`.
7292
- **/
7293
- | { name: 'FundDeficit' }
7294
- /**
7295
- * Reduce or remove an outstanding receipt, placing the according proportion of funds into
7296
- * the account of the owner.
7297
- *
7298
- * - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
7299
- * well as any fungible counterpart.
7300
- * - `index`: The index of the receipt.
7301
- * - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
7302
- * `None`, then all of it should be.
7303
- **/
7304
- | { name: 'ThawPrivate'; params: { index: number; maybeProportion?: Perquintill | undefined } }
7305
- /**
7306
- * Reduce or remove an outstanding receipt, placing the according proportion of funds into
7307
- * the account of the owner.
7308
- *
7309
- * - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
7310
- * for receipt `index`.
7311
- * - `index`: The index of the receipt.
7312
- **/
7313
- | { name: 'ThawCommunal'; params: { index: number } }
7314
- /**
7315
- * Make a private receipt communal and create fungible counterparts for its owner.
7316
- **/
7317
- | { name: 'Communify'; params: { index: number } }
7318
- /**
7319
- * Make a communal receipt private and burn fungible counterparts from its owner.
7320
- **/
7321
- | { name: 'Privatize'; params: { index: number } };
7322
-
7323
- export type PalletNisCallLike =
7324
- /**
7325
- * Place a bid.
7326
- *
7327
- * Origin must be Signed, and account must have at least `amount` in free balance.
7328
- *
7329
- * - `amount`: The amount of the bid; these funds will be reserved, and if/when
7330
- * consolidated, removed. Must be at least `MinBid`.
7331
- * - `duration`: The number of periods before which the newly consolidated bid may be
7332
- * thawed. Must be greater than 1 and no more than `QueueCount`.
7333
- *
7334
- * Complexities:
7335
- * - `Queues[duration].len()` (just take max).
7336
- **/
7337
- | { name: 'PlaceBid'; params: { amount: bigint; duration: number } }
7338
- /**
7339
- * Retract a previously placed bid.
7340
- *
7341
- * Origin must be Signed, and the account should have previously issued a still-active bid
7342
- * of `amount` for `duration`.
7343
- *
7344
- * - `amount`: The amount of the previous bid.
7345
- * - `duration`: The duration of the previous bid.
7346
- **/
7347
- | { name: 'RetractBid'; params: { amount: bigint; duration: number } }
7348
- /**
7349
- * Ensure we have sufficient funding for all potential payouts.
7350
- *
7351
- * - `origin`: Must be accepted by `FundOrigin`.
7352
- **/
7353
- | { name: 'FundDeficit' }
7354
- /**
7355
- * Reduce or remove an outstanding receipt, placing the according proportion of funds into
7356
- * the account of the owner.
7357
- *
7358
- * - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
7359
- * well as any fungible counterpart.
7360
- * - `index`: The index of the receipt.
7361
- * - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
7362
- * `None`, then all of it should be.
7363
- **/
7364
- | { name: 'ThawPrivate'; params: { index: number; maybeProportion?: Perquintill | undefined } }
7365
- /**
7366
- * Reduce or remove an outstanding receipt, placing the according proportion of funds into
7367
- * the account of the owner.
7368
- *
7369
- * - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
7370
- * for receipt `index`.
7371
- * - `index`: The index of the receipt.
7372
- **/
7373
- | { name: 'ThawCommunal'; params: { index: number } }
7374
- /**
7375
- * Make a private receipt communal and create fungible counterparts for its owner.
7376
- **/
7377
- | { name: 'Communify'; params: { index: number } }
7378
- /**
7379
- * Make a communal receipt private and burn fungible counterparts from its owner.
7380
- **/
7381
- | { name: 'Privatize'; params: { index: number } };
7382
-
7383
7260
  /**
7384
7261
  * Contains a variant per dispatchable extrinsic that this pallet has.
7385
7262
  **/
@@ -8370,6 +8247,40 @@ export type PalletFastUnstakeCallLike =
8370
8247
  **/
8371
8248
  | { name: 'Control'; params: { erasToCheck: number } };
8372
8249
 
8250
+ /**
8251
+ * Contains a variant per dispatchable extrinsic that this pallet has.
8252
+ **/
8253
+ export type PalletStakingAsyncAhClientCall =
8254
+ | { name: 'ValidatorSet'; params: { report: PalletStakingAsyncRcClientValidatorSetReport } }
8255
+ /**
8256
+ * Allows governance to force set the operating mode of the pallet.
8257
+ **/
8258
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
8259
+ /**
8260
+ * manually do what this pallet was meant to do at the end of the migration.
8261
+ **/
8262
+ | { name: 'ForceOnMigrationEnd' };
8263
+
8264
+ export type PalletStakingAsyncAhClientCallLike =
8265
+ | { name: 'ValidatorSet'; params: { report: PalletStakingAsyncRcClientValidatorSetReport } }
8266
+ /**
8267
+ * Allows governance to force set the operating mode of the pallet.
8268
+ **/
8269
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
8270
+ /**
8271
+ * manually do what this pallet was meant to do at the end of the migration.
8272
+ **/
8273
+ | { name: 'ForceOnMigrationEnd' };
8274
+
8275
+ export type PalletStakingAsyncRcClientValidatorSetReport = {
8276
+ newValidatorSet: Array<AccountId32>;
8277
+ id: number;
8278
+ pruneUpTo?: number | undefined;
8279
+ leftover: boolean;
8280
+ };
8281
+
8282
+ export type PalletStakingAsyncAhClientOperatingMode = 'Passive' | 'Buffered' | 'Active';
8283
+
8373
8284
  /**
8374
8285
  * Contains a variant per dispatchable extrinsic that this pallet has.
8375
8286
  **/
@@ -11999,6 +11910,472 @@ export type SpMmrPrimitivesAncestryProof = {
11999
11910
 
12000
11911
  export type SpConsensusBeefyFutureBlockVotingProof = { vote: SpConsensusBeefyVoteMessage };
12001
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::AdminOrigin`].
11922
+ **/
11923
+ | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
11924
+ /**
11925
+ * Schedule the migration to start at a given moment.
11926
+ *
11927
+ * ### Parameters:
11928
+ * - `start`: The block number at which the migration will start. `DispatchTime` calculated
11929
+ * at the moment of the extrinsic execution.
11930
+ * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
11931
+ * are filtered during this period. It is intended to give enough time for UMP and DMP
11932
+ * queues to empty. `DispatchTime` calculated at the moment of the transition to the
11933
+ * warm-up stage.
11934
+ * - `cool_off`: The block number at which the post migration cool-off period will end. The
11935
+ * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
11936
+ * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
11937
+ * scheduled time point is far enough in the future.
11938
+ *
11939
+ * Note: If the staking election for next era is already complete, and the next
11940
+ * validator set is queued in `pallet-session`, we want to avoid starting the data
11941
+ * migration at this point as it can lead to some missed validator rewards. To address
11942
+ * this, we stop staking election at the start of migration and must wait atleast 1
11943
+ * session (set via warm_up) before starting the data migration.
11944
+ *
11945
+ * Read [`MigrationStage::Scheduled`] documentation for more details.
11946
+ **/
11947
+ | {
11948
+ name: 'ScheduleMigration';
11949
+ params: {
11950
+ start: FrameSupportScheduleDispatchTime;
11951
+ warmUp: FrameSupportScheduleDispatchTime;
11952
+ coolOff: FrameSupportScheduleDispatchTime;
11953
+ unsafeIgnoreStakingLockCheck: boolean;
11954
+ };
11955
+ }
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
+ * Receive a query response from the Asset Hub for a previously sent xcm message.
11965
+ **/
11966
+ | { name: 'ReceiveQueryResponse'; params: { queryId: bigint; response: StagingXcmV5Response } }
11967
+ /**
11968
+ * Resend a previously sent and unconfirmed XCM message.
11969
+ **/
11970
+ | { name: 'ResendXcm'; params: { queryId: bigint } }
11971
+ /**
11972
+ * Set the unprocessed message buffer size.
11973
+ *
11974
+ * `None` means to use the configuration value.
11975
+ **/
11976
+ | { name: 'SetUnprocessedMsgBuffer'; params: { new?: number | undefined } }
11977
+ /**
11978
+ * Set the AH UMP queue priority configuration.
11979
+ *
11980
+ * Can only be called by the `AdminOrigin`.
11981
+ **/
11982
+ | { name: 'SetAhUmpQueuePriority'; params: { new: PalletRcMigratorQueuePriority } }
11983
+ /**
11984
+ * Set the manager account id.
11985
+ *
11986
+ * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
11987
+ * can not set the manager account id via `set_manager` call.
11988
+ **/
11989
+ | { name: 'SetManager'; params: { new?: AccountId32 | undefined } }
11990
+ /**
11991
+ * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
11992
+ * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
11993
+ * the migration.
11994
+ **/
11995
+ | { name: 'SendXcmMessage'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
11996
+ /**
11997
+ * Set the accounts to be preserved on Relay Chain during the migration.
11998
+ *
11999
+ * The accounts must have no consumers references.
12000
+ **/
12001
+ | { name: 'PreserveAccounts'; params: { accounts: Array<AccountId32> } }
12002
+ /**
12003
+ * Set the canceller account id.
12004
+ *
12005
+ * The canceller can only stop scheduled migration.
12006
+ **/
12007
+ | { name: 'SetCanceller'; params: { new?: AccountId32 | undefined } }
12008
+ /**
12009
+ * Pause the migration.
12010
+ **/
12011
+ | { name: 'PauseMigration' }
12012
+ /**
12013
+ * Cancel the migration.
12014
+ *
12015
+ * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
12016
+ **/
12017
+ | { name: 'CancelMigration' }
12018
+ /**
12019
+ * Vote on behalf of any of the members in `MultisigMembers`.
12020
+ *
12021
+ * Unsigned extrinsic, requiring the `payload` to be signed.
12022
+ *
12023
+ * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
12024
+ * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
12025
+ * move on to the next round.
12026
+ *
12027
+ * The round system ensures that signatures from older round cannot be reused.
12028
+ **/
12029
+ | {
12030
+ name: 'VoteManagerMultisig';
12031
+ params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
12032
+ };
12033
+
12034
+ export type PalletRcMigratorCallLike =
12035
+ /**
12036
+ * Set the migration stage.
12037
+ *
12038
+ * This call is intended for emergency use only and is guarded by the
12039
+ * [`Config::AdminOrigin`].
12040
+ **/
12041
+ | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
12042
+ /**
12043
+ * Schedule the migration to start at a given moment.
12044
+ *
12045
+ * ### Parameters:
12046
+ * - `start`: The block number at which the migration will start. `DispatchTime` calculated
12047
+ * at the moment of the extrinsic execution.
12048
+ * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
12049
+ * are filtered during this period. It is intended to give enough time for UMP and DMP
12050
+ * queues to empty. `DispatchTime` calculated at the moment of the transition to the
12051
+ * warm-up stage.
12052
+ * - `cool_off`: The block number at which the post migration cool-off period will end. The
12053
+ * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
12054
+ * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
12055
+ * scheduled time point is far enough in the future.
12056
+ *
12057
+ * Note: If the staking election for next era is already complete, and the next
12058
+ * validator set is queued in `pallet-session`, we want to avoid starting the data
12059
+ * migration at this point as it can lead to some missed validator rewards. To address
12060
+ * this, we stop staking election at the start of migration and must wait atleast 1
12061
+ * session (set via warm_up) before starting the data migration.
12062
+ *
12063
+ * Read [`MigrationStage::Scheduled`] documentation for more details.
12064
+ **/
12065
+ | {
12066
+ name: 'ScheduleMigration';
12067
+ params: {
12068
+ start: FrameSupportScheduleDispatchTime;
12069
+ warmUp: FrameSupportScheduleDispatchTime;
12070
+ coolOff: FrameSupportScheduleDispatchTime;
12071
+ unsafeIgnoreStakingLockCheck: boolean;
12072
+ };
12073
+ }
12074
+ /**
12075
+ * Start the data migration.
12076
+ *
12077
+ * This is typically called by the Asset Hub to indicate it's readiness to receive the
12078
+ * migration data.
12079
+ **/
12080
+ | { name: 'StartDataMigration' }
12081
+ /**
12082
+ * Receive a query response from the Asset Hub for a previously sent xcm message.
12083
+ **/
12084
+ | { name: 'ReceiveQueryResponse'; params: { queryId: bigint; response: StagingXcmV5Response } }
12085
+ /**
12086
+ * Resend a previously sent and unconfirmed XCM message.
12087
+ **/
12088
+ | { name: 'ResendXcm'; params: { queryId: bigint } }
12089
+ /**
12090
+ * Set the unprocessed message buffer size.
12091
+ *
12092
+ * `None` means to use the configuration value.
12093
+ **/
12094
+ | { name: 'SetUnprocessedMsgBuffer'; params: { new?: number | undefined } }
12095
+ /**
12096
+ * Set the AH UMP queue priority configuration.
12097
+ *
12098
+ * Can only be called by the `AdminOrigin`.
12099
+ **/
12100
+ | { name: 'SetAhUmpQueuePriority'; params: { new: PalletRcMigratorQueuePriority } }
12101
+ /**
12102
+ * Set the manager account id.
12103
+ *
12104
+ * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
12105
+ * can not set the manager account id via `set_manager` call.
12106
+ **/
12107
+ | { name: 'SetManager'; params: { new?: AccountId32Like | undefined } }
12108
+ /**
12109
+ * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
12110
+ * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
12111
+ * the migration.
12112
+ **/
12113
+ | { name: 'SendXcmMessage'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
12114
+ /**
12115
+ * Set the accounts to be preserved on Relay Chain during the migration.
12116
+ *
12117
+ * The accounts must have no consumers references.
12118
+ **/
12119
+ | { name: 'PreserveAccounts'; params: { accounts: Array<AccountId32Like> } }
12120
+ /**
12121
+ * Set the canceller account id.
12122
+ *
12123
+ * The canceller can only stop scheduled migration.
12124
+ **/
12125
+ | { name: 'SetCanceller'; params: { new?: AccountId32Like | undefined } }
12126
+ /**
12127
+ * Pause the migration.
12128
+ **/
12129
+ | { name: 'PauseMigration' }
12130
+ /**
12131
+ * Cancel the migration.
12132
+ *
12133
+ * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
12134
+ **/
12135
+ | { name: 'CancelMigration' }
12136
+ /**
12137
+ * Vote on behalf of any of the members in `MultisigMembers`.
12138
+ *
12139
+ * Unsigned extrinsic, requiring the `payload` to be signed.
12140
+ *
12141
+ * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
12142
+ * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
12143
+ * move on to the next round.
12144
+ *
12145
+ * The round system ensures that signatures from older round cannot be reused.
12146
+ **/
12147
+ | {
12148
+ name: 'VoteManagerMultisig';
12149
+ params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
12150
+ };
12151
+
12152
+ export type PalletRcMigratorMigrationStage =
12153
+ | { type: 'Pending' }
12154
+ | { type: 'MigrationPaused' }
12155
+ | { type: 'Scheduled'; value: { start: number } }
12156
+ | { type: 'WaitingForAh' }
12157
+ | { type: 'WarmUp'; value: { endAt: number } }
12158
+ | { type: 'Starting' }
12159
+ | { type: 'PureProxyCandidatesMigrationInit' }
12160
+ | { type: 'AccountsMigrationInit' }
12161
+ | { type: 'AccountsMigrationOngoing'; value: { lastKey?: AccountId32 | undefined } }
12162
+ | { type: 'AccountsMigrationDone' }
12163
+ | { type: 'MultisigMigrationInit' }
12164
+ | { type: 'MultisigMigrationOngoing'; value: { lastKey?: [AccountId32, FixedBytes<32>] | undefined } }
12165
+ | { type: 'MultisigMigrationDone' }
12166
+ | { type: 'ClaimsMigrationInit' }
12167
+ | { type: 'ClaimsMigrationOngoing'; value: { currentKey?: PalletRcMigratorClaimsClaimsStage | undefined } }
12168
+ | { type: 'ClaimsMigrationDone' }
12169
+ | { type: 'ProxyMigrationInit' }
12170
+ | { type: 'ProxyMigrationProxies'; value: { lastKey?: AccountId32 | undefined } }
12171
+ | { type: 'ProxyMigrationAnnouncements'; value: { lastKey?: AccountId32 | undefined } }
12172
+ | { type: 'ProxyMigrationDone' }
12173
+ | { type: 'PreimageMigrationInit' }
12174
+ | { type: 'PreimageMigrationChunksOngoing'; value: { lastKey?: [[H256, number], number] | undefined } }
12175
+ | { type: 'PreimageMigrationChunksDone' }
12176
+ | { type: 'PreimageMigrationRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
12177
+ | { type: 'PreimageMigrationRequestStatusDone' }
12178
+ | { type: 'PreimageMigrationLegacyRequestStatusInit' }
12179
+ | { type: 'PreimageMigrationLegacyRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
12180
+ | { type: 'PreimageMigrationLegacyRequestStatusDone' }
12181
+ | { type: 'PreimageMigrationDone' }
12182
+ | { type: 'NomPoolsMigrationInit' }
12183
+ | { type: 'NomPoolsMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingNomPoolsNomPoolsStage | undefined } }
12184
+ | { type: 'NomPoolsMigrationDone' }
12185
+ | { type: 'VestingMigrationInit' }
12186
+ | { type: 'VestingMigrationOngoing'; value: { nextKey?: AccountId32 | undefined } }
12187
+ | { type: 'VestingMigrationDone' }
12188
+ | { type: 'DelegatedStakingMigrationInit' }
12189
+ | {
12190
+ type: 'DelegatedStakingMigrationOngoing';
12191
+ value: { nextKey?: PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage | undefined };
12192
+ }
12193
+ | { type: 'DelegatedStakingMigrationDone' }
12194
+ | { type: 'IndicesMigrationInit' }
12195
+ | { type: 'IndicesMigrationOngoing'; value: { nextKey?: [] | undefined } }
12196
+ | { type: 'IndicesMigrationDone' }
12197
+ | { type: 'ReferendaMigrationInit' }
12198
+ | { type: 'ReferendaMigrationOngoing'; value: { lastKey?: PalletRcMigratorReferendaReferendaStage | undefined } }
12199
+ | { type: 'ReferendaMigrationDone' }
12200
+ | { type: 'BagsListMigrationInit' }
12201
+ | { type: 'BagsListMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingBagsListBagsListStage | undefined } }
12202
+ | { type: 'BagsListMigrationDone' }
12203
+ | { type: 'SchedulerMigrationInit' }
12204
+ | { type: 'SchedulerMigrationOngoing'; value: { lastKey?: PalletRcMigratorSchedulerSchedulerStage | undefined } }
12205
+ | { type: 'SchedulerAgendaMigrationOngoing'; value: { lastKey?: number | undefined } }
12206
+ | { type: 'SchedulerMigrationDone' }
12207
+ | { type: 'ConvictionVotingMigrationInit' }
12208
+ | {
12209
+ type: 'ConvictionVotingMigrationOngoing';
12210
+ value: { lastKey?: PalletRcMigratorConvictionVotingConvictionVotingStage | undefined };
12211
+ }
12212
+ | { type: 'ConvictionVotingMigrationDone' }
12213
+ | { type: 'BountiesMigrationInit' }
12214
+ | { type: 'BountiesMigrationOngoing'; value: { lastKey?: PalletRcMigratorBountiesBountiesStage | undefined } }
12215
+ | { type: 'BountiesMigrationDone' }
12216
+ | { type: 'ChildBountiesMigrationInit' }
12217
+ | {
12218
+ type: 'ChildBountiesMigrationOngoing';
12219
+ value: { lastKey?: PalletRcMigratorChildBountiesChildBountiesStage | undefined };
12220
+ }
12221
+ | { type: 'ChildBountiesMigrationDone' }
12222
+ | { type: 'AssetRateMigrationInit' }
12223
+ | {
12224
+ type: 'AssetRateMigrationOngoing';
12225
+ value: { lastKey?: PolkadotRuntimeCommonImplsVersionedLocatableAsset | undefined };
12226
+ }
12227
+ | { type: 'AssetRateMigrationDone' }
12228
+ | { type: 'CrowdloanMigrationInit' }
12229
+ | { type: 'CrowdloanMigrationOngoing'; value: { lastKey?: PalletRcMigratorCrowdloanCrowdloanStage | undefined } }
12230
+ | { type: 'CrowdloanMigrationDone' }
12231
+ | { type: 'TreasuryMigrationInit' }
12232
+ | { type: 'TreasuryMigrationOngoing'; value: { lastKey?: PalletRcMigratorTreasuryTreasuryStage | undefined } }
12233
+ | { type: 'TreasuryMigrationDone' }
12234
+ | { type: 'RecoveryMigrationInit' }
12235
+ | { type: 'RecoveryMigrationOngoing'; value: { lastKey?: PalletRcMigratorRecoveryRecoveryStage | undefined } }
12236
+ | { type: 'RecoveryMigrationDone' }
12237
+ | { type: 'SocietyMigrationInit' }
12238
+ | { type: 'SocietyMigrationOngoing'; value: { lastKey?: PalletRcMigratorSocietySocietyStage | undefined } }
12239
+ | { type: 'SocietyMigrationDone' }
12240
+ | { type: 'StakingMigrationInit' }
12241
+ | { type: 'StakingMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingStakingImplStakingStage | undefined } }
12242
+ | { type: 'StakingMigrationDone' }
12243
+ | { type: 'CoolOff'; value: { endAt: number } }
12244
+ | { type: 'SignalMigrationFinish' }
12245
+ | { type: 'MigrationDone' };
12246
+
12247
+ export type PalletRcMigratorClaimsClaimsStage =
12248
+ | { type: 'StorageValues' }
12249
+ | { type: 'Claims'; value?: EthereumAddress | undefined }
12250
+ | { type: 'Vesting'; value?: EthereumAddress | undefined }
12251
+ | { type: 'Signing'; value?: EthereumAddress | undefined }
12252
+ | { type: 'Preclaims'; value?: AccountId32 | undefined }
12253
+ | { type: 'Finished' };
12254
+
12255
+ export type PalletRcMigratorStakingNomPoolsNomPoolsStage =
12256
+ | { type: 'StorageValues' }
12257
+ | { type: 'PoolMembers'; value?: AccountId32 | undefined }
12258
+ | { type: 'BondedPools'; value?: number | undefined }
12259
+ | { type: 'RewardPools'; value?: number | undefined }
12260
+ | { type: 'SubPoolsStorage'; value?: number | undefined }
12261
+ | { type: 'Metadata'; value?: number | undefined }
12262
+ | { type: 'ReversePoolIdLookup'; value?: AccountId32 | undefined }
12263
+ | { type: 'ClaimPermissions'; value?: AccountId32 | undefined }
12264
+ | { type: 'Finished' };
12265
+
12266
+ export type PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage =
12267
+ | { type: 'Delegators'; value?: AccountId32 | undefined }
12268
+ | { type: 'Agents'; value?: AccountId32 | undefined }
12269
+ | { type: 'Finished' };
12270
+
12271
+ export type PalletRcMigratorReferendaReferendaStage =
12272
+ | { type: 'StorageValues' }
12273
+ | { type: 'Metadata'; value?: number | undefined }
12274
+ | { type: 'ReferendumInfo'; value?: number | undefined };
12275
+
12276
+ export type PalletRcMigratorStakingBagsListBagsListStage =
12277
+ | { type: 'ListNodes'; value?: AccountId32 | undefined }
12278
+ | { type: 'ListBags'; value?: bigint | undefined }
12279
+ | { type: 'Finished' };
12280
+
12281
+ export type PalletRcMigratorSchedulerSchedulerStage =
12282
+ | { type: 'IncompleteSince' }
12283
+ | { type: 'Retries'; value?: [number, number] | undefined }
12284
+ | { type: 'Lookup'; value?: FixedBytes<32> | undefined }
12285
+ | { type: 'Finished' };
12286
+
12287
+ export type PalletRcMigratorConvictionVotingConvictionVotingStage =
12288
+ | { type: 'VotingFor'; value?: [AccountId32, number] | undefined }
12289
+ | { type: 'ClassLocksFor'; value?: AccountId32 | undefined }
12290
+ | { type: 'Finished' };
12291
+
12292
+ export type PalletRcMigratorBountiesBountiesStage =
12293
+ | { type: 'BountyCount' }
12294
+ | { type: 'BountyApprovals' }
12295
+ | { type: 'BountyDescriptions'; value: { lastKey?: number | undefined } }
12296
+ | { type: 'Bounties'; value: { lastKey?: number | undefined } }
12297
+ | { type: 'Finished' };
12298
+
12299
+ export type PalletRcMigratorChildBountiesChildBountiesStage =
12300
+ | { type: 'ChildBountyCount' }
12301
+ | { type: 'ParentChildBounties'; value: { parentId?: number | undefined } }
12302
+ | { type: 'ParentTotalChildBounties'; value: { parentId?: number | undefined } }
12303
+ | { type: 'ChildBounties'; value: { ids?: [number, number] | undefined } }
12304
+ | { type: 'ChildBountyDescriptionsV1'; value: { ids?: [number, number] | undefined } }
12305
+ | { type: 'V0ToV1ChildBountyIds'; value: { childId?: number | undefined } }
12306
+ | { type: 'ChildrenCuratorFees'; value: { childId?: number | undefined } }
12307
+ | { type: 'Finished' };
12308
+
12309
+ export type PalletRcMigratorCrowdloanCrowdloanStage =
12310
+ | { type: 'Setup' }
12311
+ | { type: 'LeaseReserve'; value: { lastKey?: PolkadotParachainPrimitivesPrimitivesId | undefined } }
12312
+ | { type: 'CrowdloanContribution'; value: { lastKey?: PolkadotParachainPrimitivesPrimitivesId | undefined } }
12313
+ | { type: 'CrowdloanReserve' }
12314
+ | { type: 'Finished' };
12315
+
12316
+ export type PalletRcMigratorTreasuryTreasuryStage =
12317
+ | { type: 'ProposalCount' }
12318
+ | { type: 'Proposals'; value?: number | undefined }
12319
+ | { type: 'Approvals' }
12320
+ | { type: 'SpendCount' }
12321
+ | { type: 'Spends'; value?: number | undefined }
12322
+ | { type: 'LastSpendPeriod' }
12323
+ | { type: 'Funds' }
12324
+ | { type: 'Finished' };
12325
+
12326
+ export type PalletRcMigratorRecoveryRecoveryStage =
12327
+ | { type: 'Recoverable'; value?: AccountId32 | undefined }
12328
+ | { type: 'ActiveRecoveries'; value?: [AccountId32, AccountId32] | undefined }
12329
+ | { type: 'Proxy'; value?: AccountId32 | undefined }
12330
+ | { type: 'Finished' };
12331
+
12332
+ export type PalletRcMigratorSocietySocietyStage =
12333
+ | { type: 'Values' }
12334
+ | { type: 'Members'; value?: AccountId32 | undefined }
12335
+ | { type: 'Payouts'; value?: AccountId32 | undefined }
12336
+ | { type: 'MemberByIndex'; value?: number | undefined }
12337
+ | { type: 'SuspendedMembers'; value?: AccountId32 | undefined }
12338
+ | { type: 'Candidates'; value?: AccountId32 | undefined }
12339
+ | { type: 'Votes'; value?: [AccountId32, AccountId32] | undefined }
12340
+ | { type: 'VoteClearCursor'; value?: AccountId32 | undefined }
12341
+ | { type: 'DefenderVotes'; value?: [number, AccountId32] | undefined }
12342
+ | { type: 'Finished' };
12343
+
12344
+ export type PalletRcMigratorStakingStakingImplStakingStage =
12345
+ | { type: 'Values' }
12346
+ | { type: 'Invulnerables' }
12347
+ | { type: 'Bonded'; value?: AccountId32 | undefined }
12348
+ | { type: 'Ledger'; value?: AccountId32 | undefined }
12349
+ | { type: 'Payee'; value?: AccountId32 | undefined }
12350
+ | { type: 'Validators'; value?: AccountId32 | undefined }
12351
+ | { type: 'Nominators'; value?: AccountId32 | undefined }
12352
+ | { type: 'VirtualStakers'; value?: AccountId32 | undefined }
12353
+ | { type: 'ErasStakersOverview'; value?: [number, AccountId32] | undefined }
12354
+ | { type: 'ErasStakersPaged'; value?: [number, AccountId32, number] | undefined }
12355
+ | { type: 'ClaimedRewards'; value?: [number, AccountId32] | undefined }
12356
+ | { type: 'ErasValidatorPrefs'; value?: [number, AccountId32] | undefined }
12357
+ | { type: 'ErasValidatorReward'; value?: number | undefined }
12358
+ | { type: 'ErasRewardPoints'; value?: number | undefined }
12359
+ | { type: 'ErasTotalStake'; value?: number | undefined }
12360
+ | { type: 'UnappliedSlashes'; value?: number | undefined }
12361
+ | { type: 'BondedEras' }
12362
+ | { type: 'ValidatorSlashInEra'; value?: [number, AccountId32] | undefined }
12363
+ | { type: 'NominatorSlashInEra'; value?: [number, AccountId32] | undefined }
12364
+ | { type: 'SlashingSpans'; value?: AccountId32 | undefined }
12365
+ | { type: 'SpanSlash'; value?: [AccountId32, number] | undefined }
12366
+ | { type: 'Finished' };
12367
+
12368
+ export type PalletRcMigratorQueuePriority =
12369
+ | { type: 'Config' }
12370
+ | { type: 'OverrideConfig'; value: [number, number] }
12371
+ | { type: 'Disabled' };
12372
+
12373
+ export type PalletRcMigratorManagerMultisigVote = {
12374
+ who: SpRuntimeMultiSigner;
12375
+ call: StagingKusamaRuntimeRuntimeCall;
12376
+ round: number;
12377
+ };
12378
+
12002
12379
  export type SpRuntimeBlakeTwo256 = {};
12003
12380
 
12004
12381
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -12932,95 +13309,6 @@ export type PalletElectionProviderMultiPhasePhase =
12932
13309
  | { type: 'Unsigned'; value: [boolean, number] }
12933
13310
  | { type: 'Emergency' };
12934
13311
 
12935
- /**
12936
- * The `Event` enum of this pallet
12937
- **/
12938
- export type PalletNisEvent =
12939
- /**
12940
- * A bid was successfully placed.
12941
- **/
12942
- | { name: 'BidPlaced'; data: { who: AccountId32; amount: bigint; duration: number } }
12943
- /**
12944
- * A bid was successfully removed (before being accepted).
12945
- **/
12946
- | { name: 'BidRetracted'; data: { who: AccountId32; amount: bigint; duration: number } }
12947
- /**
12948
- * A bid was dropped from a queue because of another, more substantial, bid was present.
12949
- **/
12950
- | { name: 'BidDropped'; data: { who: AccountId32; amount: bigint; duration: number } }
12951
- /**
12952
- * A bid was accepted. The balance may not be released until expiry.
12953
- **/
12954
- | {
12955
- name: 'Issued';
12956
- data: {
12957
- /**
12958
- * The identity of the receipt.
12959
- **/
12960
- index: number;
12961
-
12962
- /**
12963
- * The block number at which the receipt may be thawed.
12964
- **/
12965
- expiry: number;
12966
-
12967
- /**
12968
- * The owner of the receipt.
12969
- **/
12970
- who: AccountId32;
12971
-
12972
- /**
12973
- * The proportion of the effective total issuance which the receipt represents.
12974
- **/
12975
- proportion: Perquintill;
12976
-
12977
- /**
12978
- * The amount of funds which were debited from the owner.
12979
- **/
12980
- amount: bigint;
12981
- };
12982
- }
12983
- /**
12984
- * An receipt has been (at least partially) thawed.
12985
- **/
12986
- | {
12987
- name: 'Thawed';
12988
- data: {
12989
- /**
12990
- * The identity of the receipt.
12991
- **/
12992
- index: number;
12993
-
12994
- /**
12995
- * The owner.
12996
- **/
12997
- who: AccountId32;
12998
-
12999
- /**
13000
- * The proportion of the effective total issuance by which the owner was debited.
13001
- **/
13002
- proportion: Perquintill;
13003
-
13004
- /**
13005
- * The amount by which the owner was credited.
13006
- **/
13007
- amount: bigint;
13008
-
13009
- /**
13010
- * If `true` then the receipt is done.
13011
- **/
13012
- dropped: boolean;
13013
- };
13014
- }
13015
- /**
13016
- * An automatic funding of the deficit was made.
13017
- **/
13018
- | { name: 'Funded'; data: { deficit: bigint } }
13019
- /**
13020
- * A receipt was transferred.
13021
- **/
13022
- | { name: 'Transferred'; data: { from: AccountId32; to: AccountId32; index: number } };
13023
-
13024
13312
  /**
13025
13313
  * The `Event` enum of this pallet
13026
13314
  **/
@@ -13223,6 +13511,37 @@ export type PalletDelegatedStakingEvent =
13223
13511
  **/
13224
13512
  | { name: 'MigratedDelegation'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } };
13225
13513
 
13514
+ /**
13515
+ * The `Event` enum of this pallet
13516
+ **/
13517
+ export type PalletStakingAsyncAhClientEvent =
13518
+ /**
13519
+ * A new validator set has been received.
13520
+ **/
13521
+ | {
13522
+ name: 'ValidatorSetReceived';
13523
+ data: { id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean };
13524
+ }
13525
+ /**
13526
+ * We could not merge, and therefore dropped a buffered message.
13527
+ *
13528
+ * Note that this event is more resembling an error, but we use an event because in this
13529
+ * pallet we need to mutate storage upon some failures.
13530
+ **/
13531
+ | { name: 'CouldNotMergeAndDropped' }
13532
+ /**
13533
+ * The validator set received is way too small, as per
13534
+ * [`Config::MinimumValidatorSetSize`].
13535
+ **/
13536
+ | { name: 'SetTooSmallAndDropped' }
13537
+ /**
13538
+ * Something occurred that should never happen under normal operation. Logged as an event
13539
+ * for fail-safe observability.
13540
+ **/
13541
+ | { name: 'Unexpected'; data: PalletStakingAsyncAhClientUnexpectedKind };
13542
+
13543
+ export type PalletStakingAsyncAhClientUnexpectedKind = 'ReceivedValidatorSetWhilePassive' | 'UnexpectedModeTransition';
13544
+
13226
13545
  /**
13227
13546
  * The `Event` enum of this pallet
13228
13547
  **/
@@ -13993,6 +14312,243 @@ export type PalletAssetRateEvent =
13993
14312
  data: { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 };
13994
14313
  };
13995
14314
 
14315
+ /**
14316
+ * The `Event` enum of this pallet
14317
+ **/
14318
+ export type PalletRcMigratorEvent =
14319
+ /**
14320
+ * A stage transition has occurred.
14321
+ **/
14322
+ | {
14323
+ name: 'StageTransition';
14324
+ data: {
14325
+ /**
14326
+ * The old stage before the transition.
14327
+ **/
14328
+ old: PalletRcMigratorMigrationStage;
14329
+
14330
+ /**
14331
+ * The new stage after the transition.
14332
+ **/
14333
+ new: PalletRcMigratorMigrationStage;
14334
+ };
14335
+ }
14336
+ /**
14337
+ * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
14338
+ * emitted.
14339
+ *
14340
+ * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
14341
+ * to understand. The activation is immediate and affects all events happening
14342
+ * afterwards.
14343
+ **/
14344
+ | { name: 'AssetHubMigrationStarted' }
14345
+ /**
14346
+ * The Asset Hub Migration finished.
14347
+ *
14348
+ * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
14349
+ * to understand. The finishing is immediate and affects all events happening
14350
+ * afterwards.
14351
+ **/
14352
+ | { name: 'AssetHubMigrationFinished' }
14353
+ /**
14354
+ * A query response has been received.
14355
+ **/
14356
+ | {
14357
+ name: 'QueryResponseReceived';
14358
+ data: {
14359
+ /**
14360
+ * The query ID.
14361
+ **/
14362
+ queryId: bigint;
14363
+
14364
+ /**
14365
+ * The response.
14366
+ **/
14367
+ response: XcmV3MaybeErrorCode;
14368
+ };
14369
+ }
14370
+ /**
14371
+ * A XCM message has been resent.
14372
+ **/
14373
+ | {
14374
+ name: 'XcmResendAttempt';
14375
+ data: {
14376
+ /**
14377
+ * The query ID.
14378
+ **/
14379
+ queryId: bigint;
14380
+
14381
+ /**
14382
+ * The error message.
14383
+ **/
14384
+ sendError?: XcmV3TraitsSendError | undefined;
14385
+ };
14386
+ }
14387
+ /**
14388
+ * The unprocessed message buffer size has been set.
14389
+ **/
14390
+ | {
14391
+ name: 'UnprocessedMsgBufferSet';
14392
+ data: {
14393
+ /**
14394
+ * The new size.
14395
+ **/
14396
+ new: number;
14397
+
14398
+ /**
14399
+ * The old size.
14400
+ **/
14401
+ old: number;
14402
+ };
14403
+ }
14404
+ /**
14405
+ * Whether the AH UMP queue was prioritized for the next block.
14406
+ **/
14407
+ | {
14408
+ name: 'AhUmpQueuePrioritySet';
14409
+ data: {
14410
+ /**
14411
+ * Indicates if AH UMP queue was successfully set as priority.
14412
+ * If `false`, it means we're in the round-robin phase of our priority pattern
14413
+ * (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
14414
+ **/
14415
+ prioritized: boolean;
14416
+
14417
+ /**
14418
+ * Current block number within the pattern cycle (1 to period).
14419
+ **/
14420
+ cycleBlock: number;
14421
+
14422
+ /**
14423
+ * Total number of blocks in the pattern cycle
14424
+ **/
14425
+ cyclePeriod: number;
14426
+ };
14427
+ }
14428
+ /**
14429
+ * The AH UMP queue priority config was set.
14430
+ **/
14431
+ | {
14432
+ name: 'AhUmpQueuePriorityConfigSet';
14433
+ data: {
14434
+ /**
14435
+ * The old priority pattern.
14436
+ **/
14437
+ old: PalletRcMigratorQueuePriority;
14438
+
14439
+ /**
14440
+ * The new priority pattern.
14441
+ **/
14442
+ new: PalletRcMigratorQueuePriority;
14443
+ };
14444
+ }
14445
+ /**
14446
+ * The total issuance was recorded.
14447
+ **/
14448
+ | { name: 'MigratedBalanceRecordSet'; data: { kept: bigint; migrated: bigint } }
14449
+ /**
14450
+ * The RC kept balance was consumed.
14451
+ **/
14452
+ | { name: 'MigratedBalanceConsumed'; data: { kept: bigint; migrated: bigint } }
14453
+ /**
14454
+ * The manager account id was set.
14455
+ **/
14456
+ | {
14457
+ name: 'ManagerSet';
14458
+ data: {
14459
+ /**
14460
+ * The old manager account id.
14461
+ **/
14462
+ old?: AccountId32 | undefined;
14463
+
14464
+ /**
14465
+ * The new manager account id.
14466
+ **/
14467
+ new?: AccountId32 | undefined;
14468
+ };
14469
+ }
14470
+ /**
14471
+ * An XCM message was sent.
14472
+ **/
14473
+ | {
14474
+ name: 'XcmSent';
14475
+ data: {
14476
+ origin: StagingXcmV5Location;
14477
+ destination: StagingXcmV5Location;
14478
+ message: StagingXcmV5Xcm;
14479
+ messageId: FixedBytes<32>;
14480
+ };
14481
+ }
14482
+ /**
14483
+ * The staking elections were paused.
14484
+ **/
14485
+ | { name: 'StakingElectionsPaused' }
14486
+ /**
14487
+ * The accounts to be preserved on Relay Chain were set.
14488
+ **/
14489
+ | {
14490
+ name: 'AccountsPreserved';
14491
+ data: {
14492
+ /**
14493
+ * The accounts that will be preserved.
14494
+ **/
14495
+ accounts: Array<AccountId32>;
14496
+ };
14497
+ }
14498
+ /**
14499
+ * The canceller account id was set.
14500
+ **/
14501
+ | {
14502
+ name: 'CancellerSet';
14503
+ data: {
14504
+ /**
14505
+ * The old canceller account id.
14506
+ **/
14507
+ old?: AccountId32 | undefined;
14508
+
14509
+ /**
14510
+ * The new canceller account id.
14511
+ **/
14512
+ new?: AccountId32 | undefined;
14513
+ };
14514
+ }
14515
+ /**
14516
+ * The migration was paused.
14517
+ **/
14518
+ | {
14519
+ name: 'MigrationPaused';
14520
+ data: {
14521
+ /**
14522
+ * The stage at which the migration was paused.
14523
+ **/
14524
+ pauseStage: PalletRcMigratorMigrationStage;
14525
+ };
14526
+ }
14527
+ /**
14528
+ * The migration was cancelled.
14529
+ **/
14530
+ | { name: 'MigrationCancelled' }
14531
+ /**
14532
+ * Some pure accounts were indexed for possibly receiving free `Any` proxies.
14533
+ **/
14534
+ | {
14535
+ name: 'PureAccountsIndexed';
14536
+ data: {
14537
+ /**
14538
+ * The number of indexed pure accounts.
14539
+ **/
14540
+ numPureAccounts: number;
14541
+ };
14542
+ }
14543
+ /**
14544
+ * The manager multisig dispatched something.
14545
+ **/
14546
+ | { name: 'ManagerMultisigDispatched'; data: { res: Result<[], DispatchError> } }
14547
+ /**
14548
+ * The manager multisig received a vote.
14549
+ **/
14550
+ | { name: 'ManagerMultisigVoted'; data: { votes: number } };
14551
+
13996
14552
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
13997
14553
 
13998
14554
  export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
@@ -14170,7 +14726,6 @@ export type StagingKusamaRuntimeRuntimeHoldReason =
14170
14726
  | { type: 'Staking'; value: PalletStakingPalletHoldReason }
14171
14727
  | { type: 'Session'; value: PalletSessionHoldReason }
14172
14728
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
14173
- | { type: 'Nis'; value: PalletNisHoldReason }
14174
14729
  | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
14175
14730
  | { type: 'XcmPallet'; value: PalletXcmHoldReason };
14176
14731
 
@@ -14180,8 +14735,6 @@ export type PalletSessionHoldReason = 'Keys';
14180
14735
 
14181
14736
  export type PalletPreimageHoldReason = 'Preimage';
14182
14737
 
14183
- export type PalletNisHoldReason = 'NftReceipt';
14184
-
14185
14738
  export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
14186
14739
 
14187
14740
  export type PalletXcmHoldReason = 'AuthorizeAlias';
@@ -15575,90 +16128,6 @@ export type PalletElectionProviderMultiPhaseError =
15575
16128
  **/
15576
16129
  | 'PreDispatchDifferentRound';
15577
16130
 
15578
- export type PalletNisBid = { amount: bigint; who: AccountId32 };
15579
-
15580
- export type PalletNisSummaryRecord = {
15581
- proportionOwed: Perquintill;
15582
- index: number;
15583
- thawed: Perquintill;
15584
- lastPeriod: number;
15585
- receiptsOnHold: bigint;
15586
- };
15587
-
15588
- export type PalletNisReceiptRecord = {
15589
- proportion: Perquintill;
15590
- owner?: [AccountId32, bigint] | undefined;
15591
- expiry: number;
15592
- };
15593
-
15594
- /**
15595
- * The `Error` enum of this pallet.
15596
- **/
15597
- export type PalletNisError =
15598
- /**
15599
- * The duration of the bid is less than one.
15600
- **/
15601
- | 'DurationTooSmall'
15602
- /**
15603
- * The duration is the bid is greater than the number of queues.
15604
- **/
15605
- | 'DurationTooBig'
15606
- /**
15607
- * The amount of the bid is less than the minimum allowed.
15608
- **/
15609
- | 'AmountTooSmall'
15610
- /**
15611
- * The queue for the bid's duration is full and the amount bid is too low to get in
15612
- * through replacing an existing bid.
15613
- **/
15614
- | 'BidTooLow'
15615
- /**
15616
- * Receipt index is unknown.
15617
- **/
15618
- | 'UnknownReceipt'
15619
- /**
15620
- * Not the owner of the receipt.
15621
- **/
15622
- | 'NotOwner'
15623
- /**
15624
- * Bond not yet at expiry date.
15625
- **/
15626
- | 'NotExpired'
15627
- /**
15628
- * The given bid for retraction is not found.
15629
- **/
15630
- | 'UnknownBid'
15631
- /**
15632
- * The portion supplied is beyond the value of the receipt.
15633
- **/
15634
- | 'PortionTooBig'
15635
- /**
15636
- * Not enough funds are held to pay out.
15637
- **/
15638
- | 'Unfunded'
15639
- /**
15640
- * There are enough funds for what is required.
15641
- **/
15642
- | 'AlreadyFunded'
15643
- /**
15644
- * The thaw throttle has been reached for this period.
15645
- **/
15646
- | 'Throttled'
15647
- /**
15648
- * The operation would result in a receipt worth an insignificant value.
15649
- **/
15650
- | 'MakesDust'
15651
- /**
15652
- * The receipt is already communal.
15653
- **/
15654
- | 'AlreadyCommunal'
15655
- /**
15656
- * The receipt is already private.
15657
- **/
15658
- | 'AlreadyPrivate';
15659
-
15660
- export type FrameSupportTokensMiscIdAmount003 = { id: []; amount: bigint };
15661
-
15662
16131
  export type PalletBagsListListNode = {
15663
16132
  id: AccountId32;
15664
16133
  prev?: AccountId32 | undefined;
@@ -16003,6 +16472,17 @@ export type PalletDelegatedStakingError =
16003
16472
  **/
16004
16473
  | 'NotSupported';
16005
16474
 
16475
+ export type PalletStakingAsyncAhClientBufferedOffence = { reporter?: AccountId32 | undefined; slashFraction: Perbill };
16476
+
16477
+ /**
16478
+ * The `Error` enum of this pallet.
16479
+ **/
16480
+ export type PalletStakingAsyncAhClientError =
16481
+ /**
16482
+ * Could not process incoming message because incoming messages are blocked.
16483
+ **/
16484
+ 'Blocked';
16485
+
16006
16486
  export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
16007
16487
  maxCodeSize: number;
16008
16488
  maxHeadDataSize: number;
@@ -17192,6 +17672,86 @@ export type PalletBeefyError =
17192
17672
 
17193
17673
  export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
17194
17674
 
17675
+ export type PalletRcMigratorAccountsAccountState =
17676
+ | { type: 'Migrate' }
17677
+ | { type: 'Preserve' }
17678
+ | { type: 'Part'; value: { free: bigint; reserved: bigint; consumers: number } };
17679
+
17680
+ export type PalletRcMigratorAccountsMigratedBalances = { kept: bigint; migrated: bigint };
17681
+
17682
+ /**
17683
+ * The `Error` enum of this pallet.
17684
+ **/
17685
+ export type PalletRcMigratorError =
17686
+ | 'Unreachable'
17687
+ | 'OutOfWeight'
17688
+ /**
17689
+ * Failed to send XCM message to AH.
17690
+ **/
17691
+ | 'XcmError'
17692
+ /**
17693
+ * Failed to withdraw account from RC for migration to AH.
17694
+ **/
17695
+ | 'FailedToWithdrawAccount'
17696
+ /**
17697
+ * Indicates that the specified block number is in the past.
17698
+ **/
17699
+ | 'PastBlockNumber'
17700
+ /**
17701
+ * Indicates that there is not enough time for staking to lock.
17702
+ *
17703
+ * Schedule the migration at least two sessions before the current era ends.
17704
+ **/
17705
+ | 'EraEndsTooSoon'
17706
+ /**
17707
+ * Balance accounting overflow.
17708
+ **/
17709
+ | 'BalanceOverflow'
17710
+ /**
17711
+ * Balance accounting underflow.
17712
+ **/
17713
+ | 'BalanceUnderflow'
17714
+ /**
17715
+ * The query response is invalid.
17716
+ **/
17717
+ | 'InvalidQueryResponse'
17718
+ /**
17719
+ * The xcm query was not found.
17720
+ **/
17721
+ | 'QueryNotFound'
17722
+ /**
17723
+ * Failed to send XCM message.
17724
+ **/
17725
+ | 'XcmSendError'
17726
+ /**
17727
+ * The migration stage is not reachable from the current stage.
17728
+ **/
17729
+ | 'UnreachableStage'
17730
+ /**
17731
+ * Invalid parameter.
17732
+ **/
17733
+ | 'InvalidParameter'
17734
+ /**
17735
+ * The AH UMP queue priority configuration is already set.
17736
+ **/
17737
+ | 'AhUmpQueuePriorityAlreadySet'
17738
+ /**
17739
+ * The account is referenced by some other pallet. It might have freezes or holds.
17740
+ **/
17741
+ | 'AccountReferenced'
17742
+ /**
17743
+ * The XCM version is invalid.
17744
+ **/
17745
+ | 'BadXcmVersion'
17746
+ /**
17747
+ * The origin is invalid.
17748
+ **/
17749
+ | 'InvalidOrigin'
17750
+ /**
17751
+ * The stage transition is invalid.
17752
+ **/
17753
+ | 'InvalidStageTransition';
17754
+
17195
17755
  export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
17196
17756
 
17197
17757
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
@@ -17487,12 +18047,11 @@ export type StagingKusamaRuntimeRuntimeError =
17487
18047
  | { pallet: 'Bounties'; palletError: PalletBountiesError }
17488
18048
  | { pallet: 'ChildBounties'; palletError: PalletChildBountiesError }
17489
18049
  | { pallet: 'ElectionProviderMultiPhase'; palletError: PalletElectionProviderMultiPhaseError }
17490
- | { pallet: 'Nis'; palletError: PalletNisError }
17491
- | { pallet: 'NisCounterpartBalances'; palletError: PalletBalancesError }
17492
18050
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
17493
18051
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
17494
18052
  | { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
17495
18053
  | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
18054
+ | { pallet: 'StakingAhClient'; palletError: PalletStakingAsyncAhClientError }
17496
18055
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
17497
18056
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
17498
18057
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
@@ -17510,4 +18069,5 @@ export type StagingKusamaRuntimeRuntimeError =
17510
18069
  | { pallet: 'XcmPallet'; palletError: PalletXcmError }
17511
18070
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
17512
18071
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }
17513
- | { pallet: 'Beefy'; palletError: PalletBeefyError };
18072
+ | { pallet: 'Beefy'; palletError: PalletBeefyError }
18073
+ | { pallet: 'RcMigrator'; palletError: PalletRcMigratorError };