@dedot/chaintypes 0.248.0 → 0.249.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.
@@ -30,6 +30,8 @@ import type {
30
30
  CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
31
31
  CumulusPalletParachainSystemParachainInherentInboundMessagesData,
32
32
  AssetHubPolkadotRuntimeRuntimeParameters,
33
+ PalletMigrationsMigrationCursor,
34
+ PalletMigrationsHistoricCleanupSelector,
33
35
  PalletBalancesAdjustmentDirection,
34
36
  PalletVestingVestingInfo,
35
37
  PolkadotRuntimeCommonClaimsEcdsaSignature,
@@ -64,6 +66,7 @@ import type {
64
66
  PalletNftsPriceWithDirection,
65
67
  PalletNftsPreSignedMint,
66
68
  PalletNftsPreSignedAttributes,
69
+ AssetsCommonLocalAndForeignAssetsForeignAssetReserveData,
67
70
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
68
71
  ParachainsCommonPayVersionedLocatableAccount,
69
72
  PalletConvictionVotingVoteAccountVote,
@@ -95,6 +98,7 @@ import type {
95
98
  PalletStakingAsyncPalletConfigOpU32,
96
99
  PalletStakingAsyncPalletConfigOpPercent,
97
100
  PalletStakingAsyncPalletConfigOpPerbill,
101
+ PalletStakingAsyncPalletConfigOpBool,
98
102
  PalletStakingAsyncLedgerUnlockChunk,
99
103
  PolkadotParachainPrimitivesPrimitivesId,
100
104
  PalletRcMigratorAccountsAccount,
@@ -934,6 +938,107 @@ export interface ChainTx<
934
938
  **/
935
939
  [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
936
940
  };
941
+ /**
942
+ * Pallet `MultiBlockMigrations`'s transaction calls
943
+ **/
944
+ multiBlockMigrations: {
945
+ /**
946
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
947
+ *
948
+ * Should normally not be needed and is only in place as emergency measure. Note that
949
+ * restarting the migration process in this manner will not call the
950
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
951
+ *
952
+ * @param {PalletMigrationsMigrationCursor | undefined} cursor
953
+ **/
954
+ forceSetCursor: GenericTxCall<
955
+ (cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
956
+ {
957
+ pallet: 'MultiBlockMigrations';
958
+ palletCall: {
959
+ name: 'ForceSetCursor';
960
+ params: { cursor: PalletMigrationsMigrationCursor | undefined };
961
+ };
962
+ },
963
+ ChainKnownTypes
964
+ >
965
+ >;
966
+
967
+ /**
968
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
969
+ *
970
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
971
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
972
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
973
+ * indicates that the current block number plus one should be used.
974
+ *
975
+ * @param {number} index
976
+ * @param {BytesLike | undefined} innerCursor
977
+ * @param {number | undefined} startedAt
978
+ **/
979
+ forceSetActiveCursor: GenericTxCall<
980
+ (
981
+ index: number,
982
+ innerCursor: BytesLike | undefined,
983
+ startedAt: number | undefined,
984
+ ) => ChainSubmittableExtrinsic<
985
+ {
986
+ pallet: 'MultiBlockMigrations';
987
+ palletCall: {
988
+ name: 'ForceSetActiveCursor';
989
+ params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
990
+ };
991
+ },
992
+ ChainKnownTypes
993
+ >
994
+ >;
995
+
996
+ /**
997
+ * Forces the onboarding of the migrations.
998
+ *
999
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
1000
+ * measurement. The cursor needs to be `None` for this to succeed.
1001
+ *
1002
+ **/
1003
+ forceOnboardMbms: GenericTxCall<
1004
+ () => ChainSubmittableExtrinsic<
1005
+ {
1006
+ pallet: 'MultiBlockMigrations';
1007
+ palletCall: {
1008
+ name: 'ForceOnboardMbms';
1009
+ };
1010
+ },
1011
+ ChainKnownTypes
1012
+ >
1013
+ >;
1014
+
1015
+ /**
1016
+ * Clears the `Historic` set.
1017
+ *
1018
+ * `map_cursor` must be set to the last value that was returned by the
1019
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
1020
+ * way that will result in a sensible weight.
1021
+ *
1022
+ * @param {PalletMigrationsHistoricCleanupSelector} selector
1023
+ **/
1024
+ clearHistoric: GenericTxCall<
1025
+ (selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
1026
+ {
1027
+ pallet: 'MultiBlockMigrations';
1028
+ palletCall: {
1029
+ name: 'ClearHistoric';
1030
+ params: { selector: PalletMigrationsHistoricCleanupSelector };
1031
+ };
1032
+ },
1033
+ ChainKnownTypes
1034
+ >
1035
+ >;
1036
+
1037
+ /**
1038
+ * Generic pallet tx call
1039
+ **/
1040
+ [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
1041
+ };
937
1042
  /**
938
1043
  * Pallet `Balances`'s transaction calls
939
1044
  **/
@@ -5113,6 +5218,36 @@ export interface ChainTx<
5113
5218
  >
5114
5219
  >;
5115
5220
 
5221
+ /**
5222
+ * Sets the trusted reserve information of an asset.
5223
+ *
5224
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5225
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5226
+ *
5227
+ * - `id`: The identifier of the asset.
5228
+ * - `reserves`: The full list of trusted reserves information.
5229
+ *
5230
+ * Emits `AssetMinBalanceChanged` event when successful.
5231
+ *
5232
+ * @param {number} id
5233
+ * @param {Array<[]>} reserves
5234
+ **/
5235
+ setReserves: GenericTxCall<
5236
+ (
5237
+ id: number,
5238
+ reserves: Array<[]>,
5239
+ ) => ChainSubmittableExtrinsic<
5240
+ {
5241
+ pallet: 'Assets';
5242
+ palletCall: {
5243
+ name: 'SetReserves';
5244
+ params: { id: number; reserves: Array<[]> };
5245
+ };
5246
+ },
5247
+ ChainKnownTypes
5248
+ >
5249
+ >;
5250
+
5116
5251
  /**
5117
5252
  * Generic pallet tx call
5118
5253
  **/
@@ -8701,6 +8836,39 @@ export interface ChainTx<
8701
8836
  >
8702
8837
  >;
8703
8838
 
8839
+ /**
8840
+ * Sets the trusted reserve information of an asset.
8841
+ *
8842
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
8843
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
8844
+ *
8845
+ * - `id`: The identifier of the asset.
8846
+ * - `reserves`: The full list of trusted reserves information.
8847
+ *
8848
+ * Emits `AssetMinBalanceChanged` event when successful.
8849
+ *
8850
+ * @param {StagingXcmV5Location} id
8851
+ * @param {Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>} reserves
8852
+ **/
8853
+ setReserves: GenericTxCall<
8854
+ (
8855
+ id: StagingXcmV5Location,
8856
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>,
8857
+ ) => ChainSubmittableExtrinsic<
8858
+ {
8859
+ pallet: 'ForeignAssets';
8860
+ palletCall: {
8861
+ name: 'SetReserves';
8862
+ params: {
8863
+ id: StagingXcmV5Location;
8864
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
8865
+ };
8866
+ };
8867
+ },
8868
+ ChainKnownTypes
8869
+ >
8870
+ >;
8871
+
8704
8872
  /**
8705
8873
  * Generic pallet tx call
8706
8874
  **/
@@ -9880,6 +10048,36 @@ export interface ChainTx<
9880
10048
  >
9881
10049
  >;
9882
10050
 
10051
+ /**
10052
+ * Sets the trusted reserve information of an asset.
10053
+ *
10054
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
10055
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
10056
+ *
10057
+ * - `id`: The identifier of the asset.
10058
+ * - `reserves`: The full list of trusted reserves information.
10059
+ *
10060
+ * Emits `AssetMinBalanceChanged` event when successful.
10061
+ *
10062
+ * @param {number} id
10063
+ * @param {Array<[]>} reserves
10064
+ **/
10065
+ setReserves: GenericTxCall<
10066
+ (
10067
+ id: number,
10068
+ reserves: Array<[]>,
10069
+ ) => ChainSubmittableExtrinsic<
10070
+ {
10071
+ pallet: 'PoolAssets';
10072
+ palletCall: {
10073
+ name: 'SetReserves';
10074
+ params: { id: number; reserves: Array<[]> };
10075
+ };
10076
+ },
10077
+ ChainKnownTypes
10078
+ >
10079
+ >;
10080
+
9883
10081
  /**
9884
10082
  * Generic pallet tx call
9885
10083
  **/
@@ -11652,6 +11850,434 @@ export interface ChainTx<
11652
11850
  **/
11653
11851
  [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
11654
11852
  };
11853
+ /**
11854
+ * Pallet `MultiAssetBounties`'s transaction calls
11855
+ **/
11856
+ multiAssetBounties: {
11857
+ /**
11858
+ * Fund a new bounty with a proposed curator, initiating the payment from the
11859
+ * funding source to the bounty account/location.
11860
+ *
11861
+ * ## Dispatch Origin
11862
+ *
11863
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
11864
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
11865
+ * The converted native amount is validated against the maximum spendable amount
11866
+ * returned by [`Config::SpendOrigin`].
11867
+ *
11868
+ * ## Details
11869
+ *
11870
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
11871
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
11872
+ * - In case of a funding failure, the bounty status must be updated with the
11873
+ * `check_status` call before retrying with `retry_payment` call.
11874
+ *
11875
+ * ### Parameters
11876
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
11877
+ * - `value`: The total payment amount of this bounty.
11878
+ * - `curator`: Address of bounty curator.
11879
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
11880
+ *
11881
+ * ## Events
11882
+ *
11883
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
11884
+ *
11885
+ * @param {PolkadotRuntimeCommonImplsVersionedLocatableAsset} assetKind
11886
+ * @param {bigint} value
11887
+ * @param {MultiAddressLike} curator
11888
+ * @param {H256} metadata
11889
+ **/
11890
+ fundBounty: GenericTxCall<
11891
+ (
11892
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset,
11893
+ value: bigint,
11894
+ curator: MultiAddressLike,
11895
+ metadata: H256,
11896
+ ) => ChainSubmittableExtrinsic<
11897
+ {
11898
+ pallet: 'MultiAssetBounties';
11899
+ palletCall: {
11900
+ name: 'FundBounty';
11901
+ params: {
11902
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
11903
+ value: bigint;
11904
+ curator: MultiAddressLike;
11905
+ metadata: H256;
11906
+ };
11907
+ };
11908
+ },
11909
+ ChainKnownTypes
11910
+ >
11911
+ >;
11912
+
11913
+ /**
11914
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
11915
+ * bounty to the child-bounty account/location.
11916
+ *
11917
+ * ## Dispatch Origin
11918
+ *
11919
+ * Must be signed by the parent curator.
11920
+ *
11921
+ * ## Details
11922
+ *
11923
+ * - If `curator` is not provided, the child-bounty will default to using the parent
11924
+ * curator, allowing the parent curator to immediately call `check_status` and
11925
+ * `award_bounty` to payout the child-bounty.
11926
+ * - In case of a funding failure, the child-/bounty status must be updated with the
11927
+ * `check_status` call before retrying with `retry_payment` call.
11928
+ *
11929
+ * ### Parameters
11930
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
11931
+ * - `value`: The payment amount of this child-bounty.
11932
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
11933
+ * - `curator`: Address of child-bounty curator.
11934
+ *
11935
+ * ## Events
11936
+ *
11937
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
11938
+ *
11939
+ * @param {number} parentBountyId
11940
+ * @param {bigint} value
11941
+ * @param {H256} metadata
11942
+ * @param {MultiAddressLike | undefined} curator
11943
+ **/
11944
+ fundChildBounty: GenericTxCall<
11945
+ (
11946
+ parentBountyId: number,
11947
+ value: bigint,
11948
+ metadata: H256,
11949
+ curator: MultiAddressLike | undefined,
11950
+ ) => ChainSubmittableExtrinsic<
11951
+ {
11952
+ pallet: 'MultiAssetBounties';
11953
+ palletCall: {
11954
+ name: 'FundChildBounty';
11955
+ params: { parentBountyId: number; value: bigint; metadata: H256; curator: MultiAddressLike | undefined };
11956
+ };
11957
+ },
11958
+ ChainKnownTypes
11959
+ >
11960
+ >;
11961
+
11962
+ /**
11963
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
11964
+ *
11965
+ * ## Dispatch Origin
11966
+ *
11967
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
11968
+ * for a child-bounty.
11969
+ *
11970
+ * ## Details
11971
+ *
11972
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
11973
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
11974
+ * curator.
11975
+ *
11976
+ * ### Parameters
11977
+ * - `parent_bounty_id`: Index of bounty.
11978
+ * - `child_bounty_id`: Index of child-bounty.
11979
+ * - `curator`: Account to be proposed as the curator.
11980
+ *
11981
+ * ## Events
11982
+ *
11983
+ * Emits [`Event::CuratorProposed`] if successful.
11984
+ *
11985
+ * @param {number} parentBountyId
11986
+ * @param {number | undefined} childBountyId
11987
+ * @param {MultiAddressLike} curator
11988
+ **/
11989
+ proposeCurator: GenericTxCall<
11990
+ (
11991
+ parentBountyId: number,
11992
+ childBountyId: number | undefined,
11993
+ curator: MultiAddressLike,
11994
+ ) => ChainSubmittableExtrinsic<
11995
+ {
11996
+ pallet: 'MultiAssetBounties';
11997
+ palletCall: {
11998
+ name: 'ProposeCurator';
11999
+ params: { parentBountyId: number; childBountyId: number | undefined; curator: MultiAddressLike };
12000
+ };
12001
+ },
12002
+ ChainKnownTypes
12003
+ >
12004
+ >;
12005
+
12006
+ /**
12007
+ * Accept the curator role for a child-/bounty.
12008
+ *
12009
+ * ## Dispatch Origin
12010
+ *
12011
+ * Must be signed by the proposed curator.
12012
+ *
12013
+ * ## Details
12014
+ *
12015
+ * - The child-/bounty must be in the `Funded` state.
12016
+ * - The curator must accept the role by calling this function.
12017
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
12018
+ *
12019
+ * ### Parameters
12020
+ * - `parent_bounty_id`: Index of parent bounty.
12021
+ * - `child_bounty_id`: Index of child-bounty.
12022
+ *
12023
+ * ## Events
12024
+ *
12025
+ * Emits [`Event::BountyBecameActive`] if successful.
12026
+ *
12027
+ * @param {number} parentBountyId
12028
+ * @param {number | undefined} childBountyId
12029
+ **/
12030
+ acceptCurator: GenericTxCall<
12031
+ (
12032
+ parentBountyId: number,
12033
+ childBountyId: number | undefined,
12034
+ ) => ChainSubmittableExtrinsic<
12035
+ {
12036
+ pallet: 'MultiAssetBounties';
12037
+ palletCall: {
12038
+ name: 'AcceptCurator';
12039
+ params: { parentBountyId: number; childBountyId: number | undefined };
12040
+ };
12041
+ },
12042
+ ChainKnownTypes
12043
+ >
12044
+ >;
12045
+
12046
+ /**
12047
+ * Unassign curator from a child-/bounty.
12048
+ *
12049
+ * ## Dispatch Origin
12050
+ *
12051
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12052
+ *
12053
+ * ## Details
12054
+ *
12055
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
12056
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
12057
+ * we will slash the curator when possible.
12058
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
12059
+ * do their job and they willingly give up. We could slash them, but for now we allow
12060
+ * them to recover their deposit and exit without issue. (We may want to change this if
12061
+ * it is abused).
12062
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
12063
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
12064
+ *
12065
+ * ### Parameters
12066
+ * - `parent_bounty_id`: Index of parent bounty.
12067
+ * - `child_bounty_id`: Index of child-bounty.
12068
+ *
12069
+ * ## Events
12070
+ *
12071
+ * Emits [`Event::CuratorUnassigned`] if successful.
12072
+ *
12073
+ * @param {number} parentBountyId
12074
+ * @param {number | undefined} childBountyId
12075
+ **/
12076
+ unassignCurator: GenericTxCall<
12077
+ (
12078
+ parentBountyId: number,
12079
+ childBountyId: number | undefined,
12080
+ ) => ChainSubmittableExtrinsic<
12081
+ {
12082
+ pallet: 'MultiAssetBounties';
12083
+ palletCall: {
12084
+ name: 'UnassignCurator';
12085
+ params: { parentBountyId: number; childBountyId: number | undefined };
12086
+ };
12087
+ },
12088
+ ChainKnownTypes
12089
+ >
12090
+ >;
12091
+
12092
+ /**
12093
+ * Awards the child-/bounty to a beneficiary account/location,
12094
+ * initiating the payout payments to both the beneficiary and the curator.
12095
+ *
12096
+ * ## Dispatch Origin
12097
+ *
12098
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12099
+ *
12100
+ * ## Details
12101
+ *
12102
+ * - The child-/bounty must be in the `Active` state.
12103
+ * - if awarding a parent bounty it must not have active or funded child bounties.
12104
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
12105
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
12106
+ * - In case of a payout failure, the child-/bounty status must be updated with
12107
+ * `check_status` call before retrying with `retry_payment` call.
12108
+ *
12109
+ * ### Parameters
12110
+ * - `parent_bounty_id`: Index of parent bounty.
12111
+ * - `child_bounty_id`: Index of child-bounty.
12112
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
12113
+ *
12114
+ * ## Events
12115
+ *
12116
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
12117
+ *
12118
+ * @param {number} parentBountyId
12119
+ * @param {number | undefined} childBountyId
12120
+ * @param {ParachainsCommonPayVersionedLocatableAccount} beneficiary
12121
+ **/
12122
+ awardBounty: GenericTxCall<
12123
+ (
12124
+ parentBountyId: number,
12125
+ childBountyId: number | undefined,
12126
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount,
12127
+ ) => ChainSubmittableExtrinsic<
12128
+ {
12129
+ pallet: 'MultiAssetBounties';
12130
+ palletCall: {
12131
+ name: 'AwardBounty';
12132
+ params: {
12133
+ parentBountyId: number;
12134
+ childBountyId: number | undefined;
12135
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
12136
+ };
12137
+ };
12138
+ },
12139
+ ChainKnownTypes
12140
+ >
12141
+ >;
12142
+
12143
+ /**
12144
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
12145
+ * initialized.
12146
+ *
12147
+ * ## Dispatch Origin
12148
+ *
12149
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
12150
+ *
12151
+ * ## Details
12152
+ *
12153
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
12154
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
12155
+ * child-/bounty status is updated with the curator account/location.
12156
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
12157
+ * - In case of a refund failure, the child-/bounty status must be updated with the
12158
+ * `check_status` call before retrying with `retry_payment` call.
12159
+ *
12160
+ * ### Parameters
12161
+ * - `parent_bounty_id`: Index of parent bounty.
12162
+ * - `child_bounty_id`: Index of child-bounty.
12163
+ *
12164
+ * ## Events
12165
+ *
12166
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
12167
+ *
12168
+ * @param {number} parentBountyId
12169
+ * @param {number | undefined} childBountyId
12170
+ **/
12171
+ closeBounty: GenericTxCall<
12172
+ (
12173
+ parentBountyId: number,
12174
+ childBountyId: number | undefined,
12175
+ ) => ChainSubmittableExtrinsic<
12176
+ {
12177
+ pallet: 'MultiAssetBounties';
12178
+ palletCall: {
12179
+ name: 'CloseBounty';
12180
+ params: { parentBountyId: number; childBountyId: number | undefined };
12181
+ };
12182
+ },
12183
+ ChainKnownTypes
12184
+ >
12185
+ >;
12186
+
12187
+ /**
12188
+ * Check and update the payment status of a child-/bounty.
12189
+ *
12190
+ * ## Dispatch Origin
12191
+ *
12192
+ * Must be signed.
12193
+ *
12194
+ * ## Details
12195
+ *
12196
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
12197
+ * has succeeded. If successful, the bounty status becomes `Funded`.
12198
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
12199
+ * succeeded. If successful, the child-/bounty is removed from storage.
12200
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
12201
+ * succeeded. If successful, the child-/bounty is removed from storage.
12202
+ *
12203
+ * ### Parameters
12204
+ * - `parent_bounty_id`: Index of parent bounty.
12205
+ * - `child_bounty_id`: Index of child-bounty.
12206
+ *
12207
+ * ## Events
12208
+ *
12209
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
12210
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
12211
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
12212
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
12213
+ *
12214
+ * @param {number} parentBountyId
12215
+ * @param {number | undefined} childBountyId
12216
+ **/
12217
+ checkStatus: GenericTxCall<
12218
+ (
12219
+ parentBountyId: number,
12220
+ childBountyId: number | undefined,
12221
+ ) => ChainSubmittableExtrinsic<
12222
+ {
12223
+ pallet: 'MultiAssetBounties';
12224
+ palletCall: {
12225
+ name: 'CheckStatus';
12226
+ params: { parentBountyId: number; childBountyId: number | undefined };
12227
+ };
12228
+ },
12229
+ ChainKnownTypes
12230
+ >
12231
+ >;
12232
+
12233
+ /**
12234
+ * Retry the funding, refund or payout payments.
12235
+ *
12236
+ * ## Dispatch Origin
12237
+ *
12238
+ * Must be signed.
12239
+ *
12240
+ * ## Details
12241
+ *
12242
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
12243
+ * funding source the child-/bounty account/location.
12244
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
12245
+ * the child-/bounty account/location to the funding source.
12246
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
12247
+ * the child-/bounty account/location to the beneficiary account/location.
12248
+ *
12249
+ * ### Parameters
12250
+ * - `parent_bounty_id`: Index of parent bounty.
12251
+ * - `child_bounty_id`: Index of child-bounty.
12252
+ *
12253
+ * ## Events
12254
+ *
12255
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
12256
+ *
12257
+ * @param {number} parentBountyId
12258
+ * @param {number | undefined} childBountyId
12259
+ **/
12260
+ retryPayment: GenericTxCall<
12261
+ (
12262
+ parentBountyId: number,
12263
+ childBountyId: number | undefined,
12264
+ ) => ChainSubmittableExtrinsic<
12265
+ {
12266
+ pallet: 'MultiAssetBounties';
12267
+ palletCall: {
12268
+ name: 'RetryPayment';
12269
+ params: { parentBountyId: number; childBountyId: number | undefined };
12270
+ };
12271
+ },
12272
+ ChainKnownTypes
12273
+ >
12274
+ >;
12275
+
12276
+ /**
12277
+ * Generic pallet tx call
12278
+ **/
12279
+ [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
12280
+ };
11655
12281
  /**
11656
12282
  * Pallet `StateTrieMigration`'s transaction calls
11657
12283
  **/
@@ -12772,6 +13398,105 @@ export interface ChainTx<
12772
13398
  >
12773
13399
  >;
12774
13400
 
13401
+ /**
13402
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
13403
+ *
13404
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
13405
+ * do not charge again. The deposit is released on `purge_keys`.
13406
+ *
13407
+ * **Validation on AssetHub:**
13408
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13409
+ * format.
13410
+ *
13411
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
13412
+ * since RC trusts AH's validation.
13413
+ *
13414
+ * Note: Ownership proof validation requires PR #1739 which is not backported to
13415
+ * stable2512. The proof parameter will be added when that PR is backported.
13416
+ *
13417
+ * **Fees:**
13418
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13419
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
13420
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
13421
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13422
+ *
13423
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13424
+ * while the stash (delegating account) pays the XCM fee.
13425
+ *
13426
+ * **Max Fee Limit:**
13427
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13428
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13429
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13430
+ * unlimited (no cap).
13431
+ *
13432
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
13433
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
13434
+ * set keys before declaring intent to validate will fail with NotValidator.
13435
+ *
13436
+ * @param {BytesLike} keys
13437
+ * @param {BytesLike} proof
13438
+ * @param {bigint | undefined} maxDeliveryAndRemoteExecutionFee
13439
+ **/
13440
+ setKeys: GenericTxCall<
13441
+ (
13442
+ keys: BytesLike,
13443
+ proof: BytesLike,
13444
+ maxDeliveryAndRemoteExecutionFee: bigint | undefined,
13445
+ ) => ChainSubmittableExtrinsic<
13446
+ {
13447
+ pallet: 'StakingRcClient';
13448
+ palletCall: {
13449
+ name: 'SetKeys';
13450
+ params: { keys: BytesLike; proof: BytesLike; maxDeliveryAndRemoteExecutionFee: bigint | undefined };
13451
+ };
13452
+ },
13453
+ ChainKnownTypes
13454
+ >
13455
+ >;
13456
+
13457
+ /**
13458
+ * Remove session keys for a validator and release the key deposit.
13459
+ *
13460
+ * This purges the keys from the Relay Chain.
13461
+ *
13462
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
13463
+ * This is intentional: a validator who has chilled (stopped validating) should still
13464
+ * be able to purge their session keys. This matches the behavior of the original
13465
+ * `pallet-session::purge_keys` which allows anyone to call it.
13466
+ *
13467
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
13468
+ * keys set.
13469
+ *
13470
+ * **Fees:**
13471
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13472
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
13473
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
13474
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13475
+ *
13476
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13477
+ * while the delegating account pays the XCM fee.
13478
+ *
13479
+ * **Max Fee Limit:**
13480
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13481
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13482
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13483
+ * unlimited (no cap).
13484
+ *
13485
+ * @param {bigint | undefined} maxDeliveryAndRemoteExecutionFee
13486
+ **/
13487
+ purgeKeys: GenericTxCall<
13488
+ (maxDeliveryAndRemoteExecutionFee: bigint | undefined) => ChainSubmittableExtrinsic<
13489
+ {
13490
+ pallet: 'StakingRcClient';
13491
+ palletCall: {
13492
+ name: 'PurgeKeys';
13493
+ params: { maxDeliveryAndRemoteExecutionFee: bigint | undefined };
13494
+ };
13495
+ },
13496
+ ChainKnownTypes
13497
+ >
13498
+ >;
13499
+
12775
13500
  /**
12776
13501
  * Generic pallet tx call
12777
13502
  **/
@@ -12929,7 +13654,7 @@ export interface ChainTx<
12929
13654
  /**
12930
13655
  * Retract a submission.
12931
13656
  *
12932
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
13657
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
12933
13658
  *
12934
13659
  * This will fully remove the solution from storage.
12935
13660
  *
@@ -13611,6 +14336,7 @@ export interface ChainTx<
13611
14336
  * @param {PalletStakingAsyncPalletConfigOpPercent} chillThreshold
13612
14337
  * @param {PalletStakingAsyncPalletConfigOpPerbill} minCommission
13613
14338
  * @param {PalletStakingAsyncPalletConfigOpPercent} maxStakedRewards
14339
+ * @param {PalletStakingAsyncPalletConfigOpBool} areNominatorsSlashable
13614
14340
  **/
13615
14341
  setStakingConfigs: GenericTxCall<
13616
14342
  (
@@ -13621,6 +14347,7 @@ export interface ChainTx<
13621
14347
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent,
13622
14348
  minCommission: PalletStakingAsyncPalletConfigOpPerbill,
13623
14349
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent,
14350
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool,
13624
14351
  ) => ChainSubmittableExtrinsic<
13625
14352
  {
13626
14353
  pallet: 'Staking';
@@ -13634,6 +14361,7 @@ export interface ChainTx<
13634
14361
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent;
13635
14362
  minCommission: PalletStakingAsyncPalletConfigOpPerbill;
13636
14363
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent;
14364
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool;
13637
14365
  };
13638
14366
  };
13639
14367
  },