@dedot/chaintypes 0.121.0 → 0.122.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/moonbeam/tx.d.ts CHANGED
@@ -43,11 +43,12 @@ import type {
43
43
  PalletConvictionVotingConviction,
44
44
  FrameSupportPreimagesBounded,
45
45
  FrameSupportScheduleDispatchTime,
46
+ FrameSupportTokensFungibleUnionOfNativeOrWithId,
46
47
  SpRuntimeMultiSignature,
47
48
  XcmVersionedLocation,
48
49
  XcmVersionedXcm,
49
50
  XcmVersionedAssets,
50
- StagingXcmV4Location,
51
+ StagingXcmV5Location,
51
52
  XcmV3WeightLimit,
52
53
  StagingXcmExecutorAssetTransferTransferType,
53
54
  XcmVersionedAssetId,
@@ -60,6 +61,8 @@ import type {
60
61
  PalletXcmTransactorHrmpOperation,
61
62
  XcmPrimitivesEthereumXcmEthereumXcmTransaction,
62
63
  CumulusPrimitivesCoreAggregateMessageOrigin,
64
+ PalletMigrationsMigrationCursor,
65
+ PalletMigrationsHistoricCleanupSelector,
63
66
  } from './types.js';
64
67
 
65
68
  export type ChainSubmittableExtrinsic<
@@ -2730,8 +2733,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2730
2733
  /**
2731
2734
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
2732
2735
  *
2733
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
2734
- * should just issue (or request via governance) a new `add_username_authority` call.
2736
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
2737
+ * change the account used to grant usernames, this call can be used with the updated
2738
+ * parameters to overwrite the existing configuration.
2735
2739
  *
2736
2740
  * @param {AccountId20Like} authority
2737
2741
  * @param {BytesLike} suffix
@@ -2758,17 +2762,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2758
2762
  /**
2759
2763
  * Remove `authority` from the username authorities.
2760
2764
  *
2765
+ * @param {BytesLike} suffix
2761
2766
  * @param {AccountId20Like} authority
2762
2767
  **/
2763
2768
  removeUsernameAuthority: GenericTxCall<
2764
2769
  Rv,
2765
- (authority: AccountId20Like) => ChainSubmittableExtrinsic<
2770
+ (
2771
+ suffix: BytesLike,
2772
+ authority: AccountId20Like,
2773
+ ) => ChainSubmittableExtrinsic<
2766
2774
  Rv,
2767
2775
  {
2768
2776
  pallet: 'Identity';
2769
2777
  palletCall: {
2770
2778
  name: 'RemoveUsernameAuthority';
2771
- params: { authority: AccountId20Like };
2779
+ params: { suffix: BytesLike; authority: AccountId20Like };
2772
2780
  };
2773
2781
  }
2774
2782
  >
@@ -2777,7 +2785,11 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2777
2785
  /**
2778
2786
  * Set the username for `who`. Must be called by a username authority.
2779
2787
  *
2780
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
2788
+ * If `use_allocation` is set, the authority must have a username allocation available to
2789
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
2790
+ * username.
2791
+ *
2792
+ * Users can either pre-sign their usernames or
2781
2793
  * accept them later.
2782
2794
  *
2783
2795
  * Usernames must:
@@ -2788,6 +2800,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2788
2800
  * @param {AccountId20Like} who
2789
2801
  * @param {BytesLike} username
2790
2802
  * @param {AccountEthereumSignature | undefined} signature
2803
+ * @param {boolean} useAllocation
2791
2804
  **/
2792
2805
  setUsernameFor: GenericTxCall<
2793
2806
  Rv,
@@ -2795,13 +2808,19 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2795
2808
  who: AccountId20Like,
2796
2809
  username: BytesLike,
2797
2810
  signature: AccountEthereumSignature | undefined,
2811
+ useAllocation: boolean,
2798
2812
  ) => ChainSubmittableExtrinsic<
2799
2813
  Rv,
2800
2814
  {
2801
2815
  pallet: 'Identity';
2802
2816
  palletCall: {
2803
2817
  name: 'SetUsernameFor';
2804
- params: { who: AccountId20Like; username: BytesLike; signature: AccountEthereumSignature | undefined };
2818
+ params: {
2819
+ who: AccountId20Like;
2820
+ username: BytesLike;
2821
+ signature: AccountEthereumSignature | undefined;
2822
+ useAllocation: boolean;
2823
+ };
2805
2824
  };
2806
2825
  }
2807
2826
  >
@@ -2868,19 +2887,60 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2868
2887
  >;
2869
2888
 
2870
2889
  /**
2871
- * Remove a username that corresponds to an account with no identity. Exists when a user
2872
- * gets a username but then calls `clear_identity`.
2890
+ * Start the process of removing a username by placing it in the unbinding usernames map.
2891
+ * Once the grace period has passed, the username can be deleted by calling
2892
+ * [remove_username](crate::Call::remove_username).
2873
2893
  *
2874
2894
  * @param {BytesLike} username
2875
2895
  **/
2876
- removeDanglingUsername: GenericTxCall<
2896
+ unbindUsername: GenericTxCall<
2877
2897
  Rv,
2878
2898
  (username: BytesLike) => ChainSubmittableExtrinsic<
2879
2899
  Rv,
2880
2900
  {
2881
2901
  pallet: 'Identity';
2882
2902
  palletCall: {
2883
- name: 'RemoveDanglingUsername';
2903
+ name: 'UnbindUsername';
2904
+ params: { username: BytesLike };
2905
+ };
2906
+ }
2907
+ >
2908
+ >;
2909
+
2910
+ /**
2911
+ * Permanently delete a username which has been unbinding for longer than the grace period.
2912
+ * Caller is refunded the fee if the username expired and the removal was successful.
2913
+ *
2914
+ * @param {BytesLike} username
2915
+ **/
2916
+ removeUsername: GenericTxCall<
2917
+ Rv,
2918
+ (username: BytesLike) => ChainSubmittableExtrinsic<
2919
+ Rv,
2920
+ {
2921
+ pallet: 'Identity';
2922
+ palletCall: {
2923
+ name: 'RemoveUsername';
2924
+ params: { username: BytesLike };
2925
+ };
2926
+ }
2927
+ >
2928
+ >;
2929
+
2930
+ /**
2931
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
2932
+ * and slashes any deposit associated with it.
2933
+ *
2934
+ * @param {BytesLike} username
2935
+ **/
2936
+ killUsername: GenericTxCall<
2937
+ Rv,
2938
+ (username: BytesLike) => ChainSubmittableExtrinsic<
2939
+ Rv,
2940
+ {
2941
+ pallet: 'Identity';
2942
+ palletCall: {
2943
+ name: 'KillUsername';
2884
2944
  params: { username: BytesLike };
2885
2945
  };
2886
2946
  }
@@ -4703,6 +4763,58 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
4703
4763
  >
4704
4764
  >;
4705
4765
 
4766
+ /**
4767
+ * Disapprove the proposal and burn the cost held for storing this proposal.
4768
+ *
4769
+ * Parameters:
4770
+ * - `origin`: must be the `KillOrigin`.
4771
+ * - `proposal_hash`: The hash of the proposal that should be killed.
4772
+ *
4773
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
4774
+ *
4775
+ * @param {H256} proposalHash
4776
+ **/
4777
+ kill: GenericTxCall<
4778
+ Rv,
4779
+ (proposalHash: H256) => ChainSubmittableExtrinsic<
4780
+ Rv,
4781
+ {
4782
+ pallet: 'TreasuryCouncilCollective';
4783
+ palletCall: {
4784
+ name: 'Kill';
4785
+ params: { proposalHash: H256 };
4786
+ };
4787
+ }
4788
+ >
4789
+ >;
4790
+
4791
+ /**
4792
+ * Release the cost held for storing a proposal once the given proposal is completed.
4793
+ *
4794
+ * If there is no associated cost for the given proposal, this call will have no effect.
4795
+ *
4796
+ * Parameters:
4797
+ * - `origin`: must be `Signed` or `Root`.
4798
+ * - `proposal_hash`: The hash of the proposal.
4799
+ *
4800
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
4801
+ *
4802
+ * @param {H256} proposalHash
4803
+ **/
4804
+ releaseProposalCost: GenericTxCall<
4805
+ Rv,
4806
+ (proposalHash: H256) => ChainSubmittableExtrinsic<
4807
+ Rv,
4808
+ {
4809
+ pallet: 'TreasuryCouncilCollective';
4810
+ palletCall: {
4811
+ name: 'ReleaseProposalCost';
4812
+ params: { proposalHash: H256 };
4813
+ };
4814
+ }
4815
+ >
4816
+ >;
4817
+
4706
4818
  /**
4707
4819
  * Generic pallet tx call
4708
4820
  **/
@@ -4945,6 +5057,58 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
4945
5057
  >
4946
5058
  >;
4947
5059
 
5060
+ /**
5061
+ * Disapprove the proposal and burn the cost held for storing this proposal.
5062
+ *
5063
+ * Parameters:
5064
+ * - `origin`: must be the `KillOrigin`.
5065
+ * - `proposal_hash`: The hash of the proposal that should be killed.
5066
+ *
5067
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
5068
+ *
5069
+ * @param {H256} proposalHash
5070
+ **/
5071
+ kill: GenericTxCall<
5072
+ Rv,
5073
+ (proposalHash: H256) => ChainSubmittableExtrinsic<
5074
+ Rv,
5075
+ {
5076
+ pallet: 'OpenTechCommitteeCollective';
5077
+ palletCall: {
5078
+ name: 'Kill';
5079
+ params: { proposalHash: H256 };
5080
+ };
5081
+ }
5082
+ >
5083
+ >;
5084
+
5085
+ /**
5086
+ * Release the cost held for storing a proposal once the given proposal is completed.
5087
+ *
5088
+ * If there is no associated cost for the given proposal, this call will have no effect.
5089
+ *
5090
+ * Parameters:
5091
+ * - `origin`: must be `Signed` or `Root`.
5092
+ * - `proposal_hash`: The hash of the proposal.
5093
+ *
5094
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
5095
+ *
5096
+ * @param {H256} proposalHash
5097
+ **/
5098
+ releaseProposalCost: GenericTxCall<
5099
+ Rv,
5100
+ (proposalHash: H256) => ChainSubmittableExtrinsic<
5101
+ Rv,
5102
+ {
5103
+ pallet: 'OpenTechCommitteeCollective';
5104
+ palletCall: {
5105
+ name: 'ReleaseProposalCost';
5106
+ params: { proposalHash: H256 };
5107
+ };
5108
+ }
5109
+ >
5110
+ >;
5111
+
4948
5112
  /**
4949
5113
  * Generic pallet tx call
4950
5114
  **/
@@ -5060,7 +5224,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
5060
5224
  *
5061
5225
  * Emits [`Event::AssetSpendApproved`] if successful.
5062
5226
  *
5063
- * @param {[]} assetKind
5227
+ * @param {FrameSupportTokensFungibleUnionOfNativeOrWithId} assetKind
5064
5228
  * @param {bigint} amount
5065
5229
  * @param {AccountId20Like} beneficiary
5066
5230
  * @param {number | undefined} validFrom
@@ -5068,7 +5232,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
5068
5232
  spend: GenericTxCall<
5069
5233
  Rv,
5070
5234
  (
5071
- assetKind: [],
5235
+ assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId,
5072
5236
  amount: bigint,
5073
5237
  beneficiary: AccountId20Like,
5074
5238
  validFrom: number | undefined,
@@ -5078,7 +5242,12 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
5078
5242
  pallet: 'Treasury';
5079
5243
  palletCall: {
5080
5244
  name: 'Spend';
5081
- params: { assetKind: []; amount: bigint; beneficiary: AccountId20Like; validFrom: number | undefined };
5245
+ params: {
5246
+ assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
5247
+ amount: bigint;
5248
+ beneficiary: AccountId20Like;
5249
+ validFrom: number | undefined;
5250
+ };
5082
5251
  };
5083
5252
  }
5084
5253
  >
@@ -5521,13 +5690,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
5521
5690
  * - `location`: The destination that is being described.
5522
5691
  * - `xcm_version`: The latest version of XCM that `location` supports.
5523
5692
  *
5524
- * @param {StagingXcmV4Location} location
5693
+ * @param {StagingXcmV5Location} location
5525
5694
  * @param {number} version
5526
5695
  **/
5527
5696
  forceXcmVersion: GenericTxCall<
5528
5697
  Rv,
5529
5698
  (
5530
- location: StagingXcmV4Location,
5699
+ location: StagingXcmV5Location,
5531
5700
  version: number,
5532
5701
  ) => ChainSubmittableExtrinsic<
5533
5702
  Rv,
@@ -5535,7 +5704,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
5535
5704
  pallet: 'PolkadotXcm';
5536
5705
  palletCall: {
5537
5706
  name: 'ForceXcmVersion';
5538
- params: { location: StagingXcmV4Location; version: number };
5707
+ params: { location: StagingXcmV5Location; version: number };
5539
5708
  };
5540
5709
  }
5541
5710
  >
@@ -7767,7 +7936,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7767
7936
  * Create new asset with the ForeignAssetCreator
7768
7937
  *
7769
7938
  * @param {bigint} assetId
7770
- * @param {StagingXcmV4Location} assetXcmLocation
7939
+ * @param {StagingXcmV5Location} assetXcmLocation
7771
7940
  * @param {number} decimals
7772
7941
  * @param {BytesLike} symbol
7773
7942
  * @param {BytesLike} name
@@ -7776,7 +7945,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7776
7945
  Rv,
7777
7946
  (
7778
7947
  assetId: bigint,
7779
- assetXcmLocation: StagingXcmV4Location,
7948
+ assetXcmLocation: StagingXcmV5Location,
7780
7949
  decimals: number,
7781
7950
  symbol: BytesLike,
7782
7951
  name: BytesLike,
@@ -7788,7 +7957,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7788
7957
  name: 'CreateForeignAsset';
7789
7958
  params: {
7790
7959
  assetId: bigint;
7791
- assetXcmLocation: StagingXcmV4Location;
7960
+ assetXcmLocation: StagingXcmV5Location;
7792
7961
  decimals: number;
7793
7962
  symbol: BytesLike;
7794
7963
  name: BytesLike;
@@ -7804,20 +7973,20 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7804
7973
  * assetType
7805
7974
  *
7806
7975
  * @param {bigint} assetId
7807
- * @param {StagingXcmV4Location} newXcmLocation
7976
+ * @param {StagingXcmV5Location} newXcmLocation
7808
7977
  **/
7809
7978
  changeXcmLocation: GenericTxCall<
7810
7979
  Rv,
7811
7980
  (
7812
7981
  assetId: bigint,
7813
- newXcmLocation: StagingXcmV4Location,
7982
+ newXcmLocation: StagingXcmV5Location,
7814
7983
  ) => ChainSubmittableExtrinsic<
7815
7984
  Rv,
7816
7985
  {
7817
7986
  pallet: 'EvmForeignAssets';
7818
7987
  palletCall: {
7819
7988
  name: 'ChangeXcmLocation';
7820
- params: { assetId: bigint; newXcmLocation: StagingXcmV4Location };
7989
+ params: { assetId: bigint; newXcmLocation: StagingXcmV5Location };
7821
7990
  };
7822
7991
  }
7823
7992
  >
@@ -7876,13 +8045,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7876
8045
  xcmWeightTrader: {
7877
8046
  /**
7878
8047
  *
7879
- * @param {StagingXcmV4Location} location
8048
+ * @param {StagingXcmV5Location} location
7880
8049
  * @param {bigint} relativePrice
7881
8050
  **/
7882
8051
  addAsset: GenericTxCall<
7883
8052
  Rv,
7884
8053
  (
7885
- location: StagingXcmV4Location,
8054
+ location: StagingXcmV5Location,
7886
8055
  relativePrice: bigint,
7887
8056
  ) => ChainSubmittableExtrinsic<
7888
8057
  Rv,
@@ -7890,7 +8059,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7890
8059
  pallet: 'XcmWeightTrader';
7891
8060
  palletCall: {
7892
8061
  name: 'AddAsset';
7893
- params: { location: StagingXcmV4Location; relativePrice: bigint };
8062
+ params: { location: StagingXcmV5Location; relativePrice: bigint };
7894
8063
  };
7895
8064
  }
7896
8065
  >
@@ -7898,13 +8067,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7898
8067
 
7899
8068
  /**
7900
8069
  *
7901
- * @param {StagingXcmV4Location} location
8070
+ * @param {StagingXcmV5Location} location
7902
8071
  * @param {bigint} relativePrice
7903
8072
  **/
7904
8073
  editAsset: GenericTxCall<
7905
8074
  Rv,
7906
8075
  (
7907
- location: StagingXcmV4Location,
8076
+ location: StagingXcmV5Location,
7908
8077
  relativePrice: bigint,
7909
8078
  ) => ChainSubmittableExtrinsic<
7910
8079
  Rv,
@@ -7912,7 +8081,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7912
8081
  pallet: 'XcmWeightTrader';
7913
8082
  palletCall: {
7914
8083
  name: 'EditAsset';
7915
- params: { location: StagingXcmV4Location; relativePrice: bigint };
8084
+ params: { location: StagingXcmV5Location; relativePrice: bigint };
7916
8085
  };
7917
8086
  }
7918
8087
  >
@@ -7920,17 +8089,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7920
8089
 
7921
8090
  /**
7922
8091
  *
7923
- * @param {StagingXcmV4Location} location
8092
+ * @param {StagingXcmV5Location} location
7924
8093
  **/
7925
8094
  pauseAssetSupport: GenericTxCall<
7926
8095
  Rv,
7927
- (location: StagingXcmV4Location) => ChainSubmittableExtrinsic<
8096
+ (location: StagingXcmV5Location) => ChainSubmittableExtrinsic<
7928
8097
  Rv,
7929
8098
  {
7930
8099
  pallet: 'XcmWeightTrader';
7931
8100
  palletCall: {
7932
8101
  name: 'PauseAssetSupport';
7933
- params: { location: StagingXcmV4Location };
8102
+ params: { location: StagingXcmV5Location };
7934
8103
  };
7935
8104
  }
7936
8105
  >
@@ -7938,17 +8107,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7938
8107
 
7939
8108
  /**
7940
8109
  *
7941
- * @param {StagingXcmV4Location} location
8110
+ * @param {StagingXcmV5Location} location
7942
8111
  **/
7943
8112
  resumeAssetSupport: GenericTxCall<
7944
8113
  Rv,
7945
- (location: StagingXcmV4Location) => ChainSubmittableExtrinsic<
8114
+ (location: StagingXcmV5Location) => ChainSubmittableExtrinsic<
7946
8115
  Rv,
7947
8116
  {
7948
8117
  pallet: 'XcmWeightTrader';
7949
8118
  palletCall: {
7950
8119
  name: 'ResumeAssetSupport';
7951
- params: { location: StagingXcmV4Location };
8120
+ params: { location: StagingXcmV5Location };
7952
8121
  };
7953
8122
  }
7954
8123
  >
@@ -7956,17 +8125,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7956
8125
 
7957
8126
  /**
7958
8127
  *
7959
- * @param {StagingXcmV4Location} location
8128
+ * @param {StagingXcmV5Location} location
7960
8129
  **/
7961
8130
  removeAsset: GenericTxCall<
7962
8131
  Rv,
7963
- (location: StagingXcmV4Location) => ChainSubmittableExtrinsic<
8132
+ (location: StagingXcmV5Location) => ChainSubmittableExtrinsic<
7964
8133
  Rv,
7965
8134
  {
7966
8135
  pallet: 'XcmWeightTrader';
7967
8136
  palletCall: {
7968
8137
  name: 'RemoveAsset';
7969
- params: { location: StagingXcmV4Location };
8138
+ params: { location: StagingXcmV5Location };
7970
8139
  };
7971
8140
  }
7972
8141
  >
@@ -8022,6 +8191,111 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8022
8191
  **/
8023
8192
  [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
8024
8193
  };
8194
+ /**
8195
+ * Pallet `MultiBlockMigrations`'s transaction calls
8196
+ **/
8197
+ multiBlockMigrations: {
8198
+ /**
8199
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
8200
+ *
8201
+ * Should normally not be needed and is only in place as emergency measure. Note that
8202
+ * restarting the migration process in this manner will not call the
8203
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
8204
+ *
8205
+ * @param {PalletMigrationsMigrationCursor | undefined} cursor
8206
+ **/
8207
+ forceSetCursor: GenericTxCall<
8208
+ Rv,
8209
+ (cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
8210
+ Rv,
8211
+ {
8212
+ pallet: 'MultiBlockMigrations';
8213
+ palletCall: {
8214
+ name: 'ForceSetCursor';
8215
+ params: { cursor: PalletMigrationsMigrationCursor | undefined };
8216
+ };
8217
+ }
8218
+ >
8219
+ >;
8220
+
8221
+ /**
8222
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
8223
+ *
8224
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
8225
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
8226
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
8227
+ * indicates that the current block number plus one should be used.
8228
+ *
8229
+ * @param {number} index
8230
+ * @param {BytesLike | undefined} innerCursor
8231
+ * @param {number | undefined} startedAt
8232
+ **/
8233
+ forceSetActiveCursor: GenericTxCall<
8234
+ Rv,
8235
+ (
8236
+ index: number,
8237
+ innerCursor: BytesLike | undefined,
8238
+ startedAt: number | undefined,
8239
+ ) => ChainSubmittableExtrinsic<
8240
+ Rv,
8241
+ {
8242
+ pallet: 'MultiBlockMigrations';
8243
+ palletCall: {
8244
+ name: 'ForceSetActiveCursor';
8245
+ params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
8246
+ };
8247
+ }
8248
+ >
8249
+ >;
8250
+
8251
+ /**
8252
+ * Forces the onboarding of the migrations.
8253
+ *
8254
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
8255
+ * measurement. The cursor needs to be `None` for this to succeed.
8256
+ *
8257
+ **/
8258
+ forceOnboardMbms: GenericTxCall<
8259
+ Rv,
8260
+ () => ChainSubmittableExtrinsic<
8261
+ Rv,
8262
+ {
8263
+ pallet: 'MultiBlockMigrations';
8264
+ palletCall: {
8265
+ name: 'ForceOnboardMbms';
8266
+ };
8267
+ }
8268
+ >
8269
+ >;
8270
+
8271
+ /**
8272
+ * Clears the `Historic` set.
8273
+ *
8274
+ * `map_cursor` must be set to the last value that was returned by the
8275
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
8276
+ * way that will result in a sensible weight.
8277
+ *
8278
+ * @param {PalletMigrationsHistoricCleanupSelector} selector
8279
+ **/
8280
+ clearHistoric: GenericTxCall<
8281
+ Rv,
8282
+ (selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
8283
+ Rv,
8284
+ {
8285
+ pallet: 'MultiBlockMigrations';
8286
+ palletCall: {
8287
+ name: 'ClearHistoric';
8288
+ params: { selector: PalletMigrationsHistoricCleanupSelector };
8289
+ };
8290
+ }
8291
+ >
8292
+ >;
8293
+
8294
+ /**
8295
+ * Generic pallet tx call
8296
+ **/
8297
+ [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
8298
+ };
8025
8299
  /**
8026
8300
  * Pallet `Randomness`'s transaction calls
8027
8301
  **/