@dedot/chaintypes 0.244.0 → 0.246.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.
@@ -79,6 +79,7 @@ export type AssetHubKusamaRuntimeRuntimeCall =
79
79
  | { pallet: 'Bounties'; palletCall: PalletBountiesCall }
80
80
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCall }
81
81
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
82
+ | { pallet: 'MultiAssetBounties'; palletCall: PalletMultiAssetBountiesCall }
82
83
  | { pallet: 'AhOps'; palletCall: PalletAhOpsCall }
83
84
  | { pallet: 'AhMigrator'; palletCall: PalletAhMigratorCall };
84
85
 
@@ -132,6 +133,7 @@ export type AssetHubKusamaRuntimeRuntimeCallLike =
132
133
  | { pallet: 'Bounties'; palletCall: PalletBountiesCallLike }
133
134
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCallLike }
134
135
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
136
+ | { pallet: 'MultiAssetBounties'; palletCall: PalletMultiAssetBountiesCallLike }
135
137
  | { pallet: 'AhOps'; palletCall: PalletAhOpsCallLike }
136
138
  | { pallet: 'AhMigrator'; palletCall: PalletAhMigratorCallLike };
137
139
 
@@ -332,13 +334,13 @@ export type CumulusPalletParachainSystemCallLike =
332
334
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
333
335
 
334
336
  export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
335
- validationData: PolkadotPrimitivesV8PersistedValidationData;
337
+ validationData: PolkadotPrimitivesV9PersistedValidationData;
336
338
  relayChainState: SpTrieStorageProof;
337
339
  relayParentDescendants: Array<Header>;
338
340
  collatorPeerId?: Bytes | undefined;
339
341
  };
340
342
 
341
- export type PolkadotPrimitivesV8PersistedValidationData = {
343
+ export type PolkadotPrimitivesV9PersistedValidationData = {
342
344
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
343
345
  relayParentNumber: number;
344
346
  relayParentStorageRoot: H256;
@@ -4399,7 +4401,8 @@ export type AssetHubKusamaRuntimeProxyType =
4399
4401
  | 'Auction'
4400
4402
  | 'ParaRegistration'
4401
4403
  | 'Society'
4402
- | 'Spokesperson';
4404
+ | 'Spokesperson'
4405
+ | 'StakingOperator';
4403
4406
 
4404
4407
  /**
4405
4408
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5312,7 +5315,19 @@ export type PalletAssetsCall =
5312
5315
  * (false), or transfer everything except at least the minimum balance, which will
5313
5316
  * guarantee to keep the sender asset account alive (true).
5314
5317
  **/
5315
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
5318
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
5319
+ /**
5320
+ * Sets the trusted reserve information of an asset.
5321
+ *
5322
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5323
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5324
+ *
5325
+ * - `id`: The identifier of the asset.
5326
+ * - `reserves`: The full list of trusted reserves information.
5327
+ *
5328
+ * Emits `AssetMinBalanceChanged` event when successful.
5329
+ **/
5330
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
5316
5331
 
5317
5332
  export type PalletAssetsCallLike =
5318
5333
  /**
@@ -5884,7 +5899,19 @@ export type PalletAssetsCallLike =
5884
5899
  * (false), or transfer everything except at least the minimum balance, which will
5885
5900
  * guarantee to keep the sender asset account alive (true).
5886
5901
  **/
5887
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
5902
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
5903
+ /**
5904
+ * Sets the trusted reserve information of an asset.
5905
+ *
5906
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5907
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5908
+ *
5909
+ * - `id`: The identifier of the asset.
5910
+ * - `reserves`: The full list of trusted reserves information.
5911
+ *
5912
+ * Emits `AssetMinBalanceChanged` event when successful.
5913
+ **/
5914
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
5888
5915
 
5889
5916
  /**
5890
5917
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8287,7 +8314,8 @@ export type PalletNftsPreSignedMint = {
8287
8314
  export type SpRuntimeMultiSignature =
8288
8315
  | { type: 'Ed25519'; value: FixedBytes<64> }
8289
8316
  | { type: 'Sr25519'; value: FixedBytes<64> }
8290
- | { type: 'Ecdsa'; value: FixedBytes<65> };
8317
+ | { type: 'Ecdsa'; value: FixedBytes<65> }
8318
+ | { type: 'Eth'; value: FixedBytes<65> };
8291
8319
 
8292
8320
  export type PalletNftsPreSignedAttributes = {
8293
8321
  collection: number;
@@ -8876,7 +8904,22 @@ export type PalletAssetsCall002 =
8876
8904
  * (false), or transfer everything except at least the minimum balance, which will
8877
8905
  * guarantee to keep the sender asset account alive (true).
8878
8906
  **/
8879
- | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } };
8907
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
8908
+ /**
8909
+ * Sets the trusted reserve information of an asset.
8910
+ *
8911
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
8912
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
8913
+ *
8914
+ * - `id`: The identifier of the asset.
8915
+ * - `reserves`: The full list of trusted reserves information.
8916
+ *
8917
+ * Emits `AssetMinBalanceChanged` event when successful.
8918
+ **/
8919
+ | {
8920
+ name: 'SetReserves';
8921
+ params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
8922
+ };
8880
8923
 
8881
8924
  export type PalletAssetsCallLike002 =
8882
8925
  /**
@@ -9462,7 +9505,27 @@ export type PalletAssetsCallLike002 =
9462
9505
  * (false), or transfer everything except at least the minimum balance, which will
9463
9506
  * guarantee to keep the sender asset account alive (true).
9464
9507
  **/
9465
- | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } };
9508
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
9509
+ /**
9510
+ * Sets the trusted reserve information of an asset.
9511
+ *
9512
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
9513
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
9514
+ *
9515
+ * - `id`: The identifier of the asset.
9516
+ * - `reserves`: The full list of trusted reserves information.
9517
+ *
9518
+ * Emits `AssetMinBalanceChanged` event when successful.
9519
+ **/
9520
+ | {
9521
+ name: 'SetReserves';
9522
+ params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
9523
+ };
9524
+
9525
+ export type AssetsCommonLocalAndForeignAssetsForeignAssetReserveData = {
9526
+ reserve: StagingXcmV5Location;
9527
+ teleportable: boolean;
9528
+ };
9466
9529
 
9467
9530
  /**
9468
9531
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -10131,7 +10194,19 @@ export type PalletAssetsCall003 =
10131
10194
  * (false), or transfer everything except at least the minimum balance, which will
10132
10195
  * guarantee to keep the sender asset account alive (true).
10133
10196
  **/
10134
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
10197
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
10198
+ /**
10199
+ * Sets the trusted reserve information of an asset.
10200
+ *
10201
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
10202
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
10203
+ *
10204
+ * - `id`: The identifier of the asset.
10205
+ * - `reserves`: The full list of trusted reserves information.
10206
+ *
10207
+ * Emits `AssetMinBalanceChanged` event when successful.
10208
+ **/
10209
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
10135
10210
 
10136
10211
  export type PalletAssetsCallLike003 =
10137
10212
  /**
@@ -10703,7 +10778,19 @@ export type PalletAssetsCallLike003 =
10703
10778
  * (false), or transfer everything except at least the minimum balance, which will
10704
10779
  * guarantee to keep the sender asset account alive (true).
10705
10780
  **/
10706
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
10781
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
10782
+ /**
10783
+ * Sets the trusted reserve information of an asset.
10784
+ *
10785
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
10786
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
10787
+ *
10788
+ * - `id`: The identifier of the asset.
10789
+ * - `reserves`: The full list of trusted reserves information.
10790
+ *
10791
+ * Emits `AssetMinBalanceChanged` event when successful.
10792
+ **/
10793
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
10707
10794
 
10708
10795
  /**
10709
10796
  * Pallet's callable functions.
@@ -11440,7 +11527,17 @@ export type PalletSocietyCall =
11440
11527
  *
11441
11528
  * Emits `DepositPoked` if successful.
11442
11529
  **/
11443
- | { name: 'PokeDeposit' };
11530
+ | { name: 'PokeDeposit' }
11531
+ /**
11532
+ * Kick a member from the society. Callable only by the Signed origin of the Founder.
11533
+ *
11534
+ * The member is fully removed (not suspended). All unclaimed payouts are slashed and
11535
+ * returned to the society pot.
11536
+ *
11537
+ * Parameters:
11538
+ * - `who`: The member to be removed.
11539
+ **/
11540
+ | { name: 'KickMember'; params: { who: MultiAddress } };
11444
11541
 
11445
11542
  export type PalletSocietyCallLike =
11446
11543
  /**
@@ -11666,7 +11763,17 @@ export type PalletSocietyCallLike =
11666
11763
  *
11667
11764
  * Emits `DepositPoked` if successful.
11668
11765
  **/
11669
- | { name: 'PokeDeposit' };
11766
+ | { name: 'PokeDeposit' }
11767
+ /**
11768
+ * Kick a member from the society. Callable only by the Signed origin of the Founder.
11769
+ *
11770
+ * The member is fully removed (not suspended). All unclaimed payouts are slashed and
11771
+ * returned to the society pot.
11772
+ *
11773
+ * Parameters:
11774
+ * - `who`: The member to be removed.
11775
+ **/
11776
+ | { name: 'KickMember'; params: { who: MultiAddressLike } };
11670
11777
 
11671
11778
  /**
11672
11779
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -13180,14 +13287,147 @@ export type PalletStakingAsyncRcClientCall =
13180
13287
  * Called to indicate the start of a new session on the relay chain.
13181
13288
  **/
13182
13289
  | { name: 'RelaySessionReport'; params: { report: PalletStakingAsyncRcClientSessionReport } }
13183
- | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } };
13290
+ | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } }
13291
+ /**
13292
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
13293
+ *
13294
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
13295
+ * do not charge again. The deposit is released on `purge_keys`.
13296
+ *
13297
+ * **Validation on AssetHub:**
13298
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13299
+ * format.
13300
+ *
13301
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
13302
+ * since RC trusts AH's validation.
13303
+ *
13304
+ * Note: Ownership proof validation requires PR #1739 which is not backported to
13305
+ * stable2512. The proof parameter will be added when that PR is backported.
13306
+ *
13307
+ * **Fees:**
13308
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13309
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
13310
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
13311
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13312
+ *
13313
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13314
+ * while the stash (delegating account) pays the XCM fee.
13315
+ *
13316
+ * **Max Fee Limit:**
13317
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13318
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13319
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13320
+ * unlimited (no cap).
13321
+ *
13322
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
13323
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
13324
+ * set keys before declaring intent to validate will fail with NotValidator.
13325
+ **/
13326
+ | { name: 'SetKeys'; params: { keys: Bytes; proof: Bytes; maxDeliveryAndRemoteExecutionFee?: bigint | undefined } }
13327
+ /**
13328
+ * Remove session keys for a validator and release the key deposit.
13329
+ *
13330
+ * This purges the keys from the Relay Chain.
13331
+ *
13332
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
13333
+ * This is intentional: a validator who has chilled (stopped validating) should still
13334
+ * be able to purge their session keys. This matches the behavior of the original
13335
+ * `pallet-session::purge_keys` which allows anyone to call it.
13336
+ *
13337
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
13338
+ * keys set.
13339
+ *
13340
+ * **Fees:**
13341
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13342
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
13343
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
13344
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13345
+ *
13346
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13347
+ * while the delegating account pays the XCM fee.
13348
+ *
13349
+ * **Max Fee Limit:**
13350
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13351
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13352
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13353
+ * unlimited (no cap).
13354
+ **/
13355
+ | { name: 'PurgeKeys'; params: { maxDeliveryAndRemoteExecutionFee?: bigint | undefined } };
13184
13356
 
13185
13357
  export type PalletStakingAsyncRcClientCallLike =
13186
13358
  /**
13187
13359
  * Called to indicate the start of a new session on the relay chain.
13188
13360
  **/
13189
13361
  | { name: 'RelaySessionReport'; params: { report: PalletStakingAsyncRcClientSessionReport } }
13190
- | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } };
13362
+ | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } }
13363
+ /**
13364
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
13365
+ *
13366
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
13367
+ * do not charge again. The deposit is released on `purge_keys`.
13368
+ *
13369
+ * **Validation on AssetHub:**
13370
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13371
+ * format.
13372
+ *
13373
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
13374
+ * since RC trusts AH's validation.
13375
+ *
13376
+ * Note: Ownership proof validation requires PR #1739 which is not backported to
13377
+ * stable2512. The proof parameter will be added when that PR is backported.
13378
+ *
13379
+ * **Fees:**
13380
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13381
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
13382
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
13383
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13384
+ *
13385
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13386
+ * while the stash (delegating account) pays the XCM fee.
13387
+ *
13388
+ * **Max Fee Limit:**
13389
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13390
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13391
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13392
+ * unlimited (no cap).
13393
+ *
13394
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
13395
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
13396
+ * set keys before declaring intent to validate will fail with NotValidator.
13397
+ **/
13398
+ | {
13399
+ name: 'SetKeys';
13400
+ params: { keys: BytesLike; proof: BytesLike; maxDeliveryAndRemoteExecutionFee?: bigint | undefined };
13401
+ }
13402
+ /**
13403
+ * Remove session keys for a validator and release the key deposit.
13404
+ *
13405
+ * This purges the keys from the Relay Chain.
13406
+ *
13407
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
13408
+ * This is intentional: a validator who has chilled (stopped validating) should still
13409
+ * be able to purge their session keys. This matches the behavior of the original
13410
+ * `pallet-session::purge_keys` which allows anyone to call it.
13411
+ *
13412
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
13413
+ * keys set.
13414
+ *
13415
+ * **Fees:**
13416
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13417
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
13418
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
13419
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13420
+ *
13421
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13422
+ * while the delegating account pays the XCM fee.
13423
+ *
13424
+ * **Max Fee Limit:**
13425
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13426
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13427
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13428
+ * unlimited (no cap).
13429
+ **/
13430
+ | { name: 'PurgeKeys'; params: { maxDeliveryAndRemoteExecutionFee?: bigint | undefined } };
13191
13431
 
13192
13432
  export type PalletStakingAsyncRcClientSessionReport = {
13193
13433
  endIndex: number;
@@ -13362,7 +13602,7 @@ export type PalletElectionProviderMultiBlockSignedPalletCall =
13362
13602
  /**
13363
13603
  * Retract a submission.
13364
13604
  *
13365
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
13605
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
13366
13606
  *
13367
13607
  * This will fully remove the solution from storage.
13368
13608
  **/
@@ -13405,7 +13645,7 @@ export type PalletElectionProviderMultiBlockSignedPalletCallLike =
13405
13645
  /**
13406
13646
  * Retract a submission.
13407
13647
  *
13408
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
13648
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
13409
13649
  *
13410
13650
  * This will fully remove the solution from storage.
13411
13651
  **/
@@ -13724,6 +13964,7 @@ export type PalletStakingAsyncPalletCall =
13724
13964
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent;
13725
13965
  minCommission: PalletStakingAsyncPalletConfigOpPerbill;
13726
13966
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent;
13967
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool;
13727
13968
  };
13728
13969
  }
13729
13970
  /**
@@ -14185,6 +14426,7 @@ export type PalletStakingAsyncPalletCallLike =
14185
14426
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent;
14186
14427
  minCommission: PalletStakingAsyncPalletConfigOpPerbill;
14187
14428
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent;
14429
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool;
14188
14430
  };
14189
14431
  }
14190
14432
  /**
@@ -14377,6 +14619,11 @@ export type PalletStakingAsyncPalletConfigOpPerbill =
14377
14619
  | { type: 'Set'; value: Perbill }
14378
14620
  | { type: 'Remove' };
14379
14621
 
14622
+ export type PalletStakingAsyncPalletConfigOpBool =
14623
+ | { type: 'Noop' }
14624
+ | { type: 'Set'; value: boolean }
14625
+ | { type: 'Remove' };
14626
+
14380
14627
  export type PalletStakingAsyncLedgerUnlockChunk = { value: bigint; era: number };
14381
14628
 
14382
14629
  /**
@@ -15868,138 +16115,659 @@ export type PalletAssetRateCallLike =
15868
16115
  /**
15869
16116
  * Contains a variant per dispatchable extrinsic that this pallet has.
15870
16117
  **/
15871
- export type PalletAhOpsCall =
16118
+ export type PalletMultiAssetBountiesCall =
15872
16119
  /**
15873
- * Unreserve the deposit that was taken for creating a crowdloan.
16120
+ * Fund a new bounty with a proposed curator, initiating the payment from the
16121
+ * funding source to the bounty account/location.
15874
16122
  *
15875
- * This can be called by any signed origin. It unreserves the lease deposit on the account
15876
- * that won the lease auction. It can be unreserved once all leases expired. Note that it
15877
- * will be called automatically from `withdraw_crowdloan_contribution` for the matching
15878
- * crowdloan account.
16123
+ * ## Dispatch Origin
15879
16124
  *
15880
- * Solo bidder accounts that won lease auctions can use this to unreserve their amount.
16125
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
16126
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
16127
+ * The converted native amount is validated against the maximum spendable amount
16128
+ * returned by [`Config::SpendOrigin`].
16129
+ *
16130
+ * ## Details
16131
+ *
16132
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
16133
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
16134
+ * - In case of a funding failure, the bounty status must be updated with the
16135
+ * `check_status` call before retrying with `retry_payment` call.
16136
+ *
16137
+ * ### Parameters
16138
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
16139
+ * - `value`: The total payment amount of this bounty.
16140
+ * - `curator`: Address of bounty curator.
16141
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
16142
+ *
16143
+ * ## Events
16144
+ *
16145
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
15881
16146
  **/
15882
16147
  | {
15883
- name: 'UnreserveLeaseDeposit';
15884
- params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16148
+ name: 'FundBounty';
16149
+ params: {
16150
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
16151
+ value: bigint;
16152
+ curator: MultiAddress;
16153
+ metadata: H256;
16154
+ };
15885
16155
  }
15886
16156
  /**
15887
- * Withdraw the contribution of a finished crowdloan.
16157
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
16158
+ * bounty to the child-bounty account/location.
15888
16159
  *
15889
- * A crowdloan contribution can be withdrawn if either:
15890
- * - The crowdloan failed to in an auction and timed out
15891
- * - Won an auction and all leases expired
16160
+ * ## Dispatch Origin
15892
16161
  *
15893
- * Can be called by any signed origin.
16162
+ * Must be signed by the parent curator.
16163
+ *
16164
+ * ## Details
16165
+ *
16166
+ * - If `curator` is not provided, the child-bounty will default to using the parent
16167
+ * curator, allowing the parent curator to immediately call `check_status` and
16168
+ * `award_bounty` to payout the child-bounty.
16169
+ * - In case of a funding failure, the child-/bounty status must be updated with the
16170
+ * `check_status` call before retrying with `retry_payment` call.
16171
+ *
16172
+ * ### Parameters
16173
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
16174
+ * - `value`: The payment amount of this child-bounty.
16175
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
16176
+ * - `curator`: Address of child-bounty curator.
16177
+ *
16178
+ * ## Events
16179
+ *
16180
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
15894
16181
  **/
15895
16182
  | {
15896
- name: 'WithdrawCrowdloanContribution';
15897
- params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16183
+ name: 'FundChildBounty';
16184
+ params: { parentBountyId: number; value: bigint; metadata: H256; curator?: MultiAddress | undefined };
15898
16185
  }
15899
16186
  /**
15900
- * Unreserve the deposit that was taken for creating a crowdloan.
16187
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
15901
16188
  *
15902
- * This can be called once either:
15903
- * - The crowdloan failed to win an auction and timed out
15904
- * - Won an auction, all leases expired and all contributions are withdrawn
16189
+ * ## Dispatch Origin
15905
16190
  *
15906
- * Can be called by any signed origin. The condition that all contributions are withdrawn
15907
- * is in place since the reserve acts as a storage deposit.
16191
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
16192
+ * for a child-bounty.
16193
+ *
16194
+ * ## Details
16195
+ *
16196
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
16197
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
16198
+ * curator.
16199
+ *
16200
+ * ### Parameters
16201
+ * - `parent_bounty_id`: Index of bounty.
16202
+ * - `child_bounty_id`: Index of child-bounty.
16203
+ * - `curator`: Account to be proposed as the curator.
16204
+ *
16205
+ * ## Events
16206
+ *
16207
+ * Emits [`Event::CuratorProposed`] if successful.
15908
16208
  **/
15909
16209
  | {
15910
- name: 'UnreserveCrowdloanReserve';
15911
- params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16210
+ name: 'ProposeCurator';
16211
+ params: { parentBountyId: number; childBountyId?: number | undefined; curator: MultiAddress };
15912
16212
  }
15913
16213
  /**
15914
- * Transfer the balance from the pre-migration treasury account to the post-migration
15915
- * treasury account.
16214
+ * Accept the curator role for a child-/bounty.
15916
16215
  *
15917
- * This call can only be called after the migration is completed.
15918
- **/
15919
- | { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
15920
- /**
15921
- * Translate recursively derived parachain sovereign child account to its sibling.
16216
+ * ## Dispatch Origin
15922
16217
  *
15923
- * Uses the same derivation path on the sibling. The old and new account arguments are only
15924
- * witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
16218
+ * Must be signed by the proposed curator.
15925
16219
  *
15926
- * This migrates:
15927
- * - Native DOT balance
15928
- * - All assets listed in `T::RelevantAssets`
15929
- * - Staked balances
16220
+ * ## Details
15930
16221
  *
15931
- * Things like non-relevant assets or vested transfers may remain on the old account.
15932
- **/
15933
- | {
15934
- name: 'TranslateParaSovereignChildToSiblingDerived';
15935
- params: { paraId: number; derivationPath: Array<number>; oldAccount: AccountId32; newAccount: AccountId32 };
15936
- };
15937
-
15938
- export type PalletAhOpsCallLike =
15939
- /**
15940
- * Unreserve the deposit that was taken for creating a crowdloan.
16222
+ * - The child-/bounty must be in the `Funded` state.
16223
+ * - The curator must accept the role by calling this function.
16224
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
15941
16225
  *
15942
- * This can be called by any signed origin. It unreserves the lease deposit on the account
15943
- * that won the lease auction. It can be unreserved once all leases expired. Note that it
15944
- * will be called automatically from `withdraw_crowdloan_contribution` for the matching
15945
- * crowdloan account.
16226
+ * ### Parameters
16227
+ * - `parent_bounty_id`: Index of parent bounty.
16228
+ * - `child_bounty_id`: Index of child-bounty.
15946
16229
  *
15947
- * Solo bidder accounts that won lease auctions can use this to unreserve their amount.
16230
+ * ## Events
16231
+ *
16232
+ * Emits [`Event::BountyBecameActive`] if successful.
15948
16233
  **/
15949
- | {
15950
- name: 'UnreserveLeaseDeposit';
15951
- params: {
15952
- block: number;
15953
- depositor?: AccountId32Like | undefined;
15954
- paraId: PolkadotParachainPrimitivesPrimitivesId;
15955
- };
15956
- }
16234
+ | { name: 'AcceptCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
15957
16235
  /**
15958
- * Withdraw the contribution of a finished crowdloan.
16236
+ * Unassign curator from a child-/bounty.
15959
16237
  *
15960
- * A crowdloan contribution can be withdrawn if either:
15961
- * - The crowdloan failed to in an auction and timed out
15962
- * - Won an auction and all leases expired
16238
+ * ## Dispatch Origin
15963
16239
  *
15964
- * Can be called by any signed origin.
16240
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
16241
+ *
16242
+ * ## Details
16243
+ *
16244
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
16245
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
16246
+ * we will slash the curator when possible.
16247
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
16248
+ * do their job and they willingly give up. We could slash them, but for now we allow
16249
+ * them to recover their deposit and exit without issue. (We may want to change this if
16250
+ * it is abused).
16251
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
16252
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
16253
+ *
16254
+ * ### Parameters
16255
+ * - `parent_bounty_id`: Index of parent bounty.
16256
+ * - `child_bounty_id`: Index of child-bounty.
16257
+ *
16258
+ * ## Events
16259
+ *
16260
+ * Emits [`Event::CuratorUnassigned`] if successful.
15965
16261
  **/
15966
- | {
15967
- name: 'WithdrawCrowdloanContribution';
15968
- params: {
15969
- block: number;
15970
- depositor?: AccountId32Like | undefined;
15971
- paraId: PolkadotParachainPrimitivesPrimitivesId;
15972
- };
15973
- }
16262
+ | { name: 'UnassignCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
15974
16263
  /**
15975
- * Unreserve the deposit that was taken for creating a crowdloan.
16264
+ * Awards the child-/bounty to a beneficiary account/location,
16265
+ * initiating the payout payments to both the beneficiary and the curator.
15976
16266
  *
15977
- * This can be called once either:
15978
- * - The crowdloan failed to win an auction and timed out
15979
- * - Won an auction, all leases expired and all contributions are withdrawn
16267
+ * ## Dispatch Origin
15980
16268
  *
15981
- * Can be called by any signed origin. The condition that all contributions are withdrawn
15982
- * is in place since the reserve acts as a storage deposit.
16269
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
16270
+ *
16271
+ * ## Details
16272
+ *
16273
+ * - The child-/bounty must be in the `Active` state.
16274
+ * - if awarding a parent bounty it must not have active or funded child bounties.
16275
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
16276
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
16277
+ * - In case of a payout failure, the child-/bounty status must be updated with
16278
+ * `check_status` call before retrying with `retry_payment` call.
16279
+ *
16280
+ * ### Parameters
16281
+ * - `parent_bounty_id`: Index of parent bounty.
16282
+ * - `child_bounty_id`: Index of child-bounty.
16283
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
16284
+ *
16285
+ * ## Events
16286
+ *
16287
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
15983
16288
  **/
15984
16289
  | {
15985
- name: 'UnreserveCrowdloanReserve';
16290
+ name: 'AwardBounty';
15986
16291
  params: {
15987
- block: number;
15988
- depositor?: AccountId32Like | undefined;
15989
- paraId: PolkadotParachainPrimitivesPrimitivesId;
16292
+ parentBountyId: number;
16293
+ childBountyId?: number | undefined;
16294
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
15990
16295
  };
15991
16296
  }
15992
16297
  /**
15993
- * Transfer the balance from the pre-migration treasury account to the post-migration
15994
- * treasury account.
16298
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
16299
+ * initialized.
15995
16300
  *
15996
- * This call can only be called after the migration is completed.
15997
- **/
15998
- | { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
15999
- /**
16000
- * Translate recursively derived parachain sovereign child account to its sibling.
16301
+ * ## Dispatch Origin
16001
16302
  *
16002
- * Uses the same derivation path on the sibling. The old and new account arguments are only
16303
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
16304
+ *
16305
+ * ## Details
16306
+ *
16307
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
16308
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
16309
+ * child-/bounty status is updated with the curator account/location.
16310
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
16311
+ * - In case of a refund failure, the child-/bounty status must be updated with the
16312
+ * `check_status` call before retrying with `retry_payment` call.
16313
+ *
16314
+ * ### Parameters
16315
+ * - `parent_bounty_id`: Index of parent bounty.
16316
+ * - `child_bounty_id`: Index of child-bounty.
16317
+ *
16318
+ * ## Events
16319
+ *
16320
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
16321
+ **/
16322
+ | { name: 'CloseBounty'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16323
+ /**
16324
+ * Check and update the payment status of a child-/bounty.
16325
+ *
16326
+ * ## Dispatch Origin
16327
+ *
16328
+ * Must be signed.
16329
+ *
16330
+ * ## Details
16331
+ *
16332
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
16333
+ * has succeeded. If successful, the bounty status becomes `Funded`.
16334
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
16335
+ * succeeded. If successful, the child-/bounty is removed from storage.
16336
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
16337
+ * succeeded. If successful, the child-/bounty is removed from storage.
16338
+ *
16339
+ * ### Parameters
16340
+ * - `parent_bounty_id`: Index of parent bounty.
16341
+ * - `child_bounty_id`: Index of child-bounty.
16342
+ *
16343
+ * ## Events
16344
+ *
16345
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
16346
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
16347
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
16348
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
16349
+ **/
16350
+ | { name: 'CheckStatus'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16351
+ /**
16352
+ * Retry the funding, refund or payout payments.
16353
+ *
16354
+ * ## Dispatch Origin
16355
+ *
16356
+ * Must be signed.
16357
+ *
16358
+ * ## Details
16359
+ *
16360
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
16361
+ * funding source the child-/bounty account/location.
16362
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
16363
+ * the child-/bounty account/location to the funding source.
16364
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
16365
+ * the child-/bounty account/location to the beneficiary account/location.
16366
+ *
16367
+ * ### Parameters
16368
+ * - `parent_bounty_id`: Index of parent bounty.
16369
+ * - `child_bounty_id`: Index of child-bounty.
16370
+ *
16371
+ * ## Events
16372
+ *
16373
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
16374
+ **/
16375
+ | { name: 'RetryPayment'; params: { parentBountyId: number; childBountyId?: number | undefined } };
16376
+
16377
+ export type PalletMultiAssetBountiesCallLike =
16378
+ /**
16379
+ * Fund a new bounty with a proposed curator, initiating the payment from the
16380
+ * funding source to the bounty account/location.
16381
+ *
16382
+ * ## Dispatch Origin
16383
+ *
16384
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
16385
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
16386
+ * The converted native amount is validated against the maximum spendable amount
16387
+ * returned by [`Config::SpendOrigin`].
16388
+ *
16389
+ * ## Details
16390
+ *
16391
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
16392
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
16393
+ * - In case of a funding failure, the bounty status must be updated with the
16394
+ * `check_status` call before retrying with `retry_payment` call.
16395
+ *
16396
+ * ### Parameters
16397
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
16398
+ * - `value`: The total payment amount of this bounty.
16399
+ * - `curator`: Address of bounty curator.
16400
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
16401
+ *
16402
+ * ## Events
16403
+ *
16404
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
16405
+ **/
16406
+ | {
16407
+ name: 'FundBounty';
16408
+ params: {
16409
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
16410
+ value: bigint;
16411
+ curator: MultiAddressLike;
16412
+ metadata: H256;
16413
+ };
16414
+ }
16415
+ /**
16416
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
16417
+ * bounty to the child-bounty account/location.
16418
+ *
16419
+ * ## Dispatch Origin
16420
+ *
16421
+ * Must be signed by the parent curator.
16422
+ *
16423
+ * ## Details
16424
+ *
16425
+ * - If `curator` is not provided, the child-bounty will default to using the parent
16426
+ * curator, allowing the parent curator to immediately call `check_status` and
16427
+ * `award_bounty` to payout the child-bounty.
16428
+ * - In case of a funding failure, the child-/bounty status must be updated with the
16429
+ * `check_status` call before retrying with `retry_payment` call.
16430
+ *
16431
+ * ### Parameters
16432
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
16433
+ * - `value`: The payment amount of this child-bounty.
16434
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
16435
+ * - `curator`: Address of child-bounty curator.
16436
+ *
16437
+ * ## Events
16438
+ *
16439
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
16440
+ **/
16441
+ | {
16442
+ name: 'FundChildBounty';
16443
+ params: { parentBountyId: number; value: bigint; metadata: H256; curator?: MultiAddressLike | undefined };
16444
+ }
16445
+ /**
16446
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
16447
+ *
16448
+ * ## Dispatch Origin
16449
+ *
16450
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
16451
+ * for a child-bounty.
16452
+ *
16453
+ * ## Details
16454
+ *
16455
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
16456
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
16457
+ * curator.
16458
+ *
16459
+ * ### Parameters
16460
+ * - `parent_bounty_id`: Index of bounty.
16461
+ * - `child_bounty_id`: Index of child-bounty.
16462
+ * - `curator`: Account to be proposed as the curator.
16463
+ *
16464
+ * ## Events
16465
+ *
16466
+ * Emits [`Event::CuratorProposed`] if successful.
16467
+ **/
16468
+ | {
16469
+ name: 'ProposeCurator';
16470
+ params: { parentBountyId: number; childBountyId?: number | undefined; curator: MultiAddressLike };
16471
+ }
16472
+ /**
16473
+ * Accept the curator role for a child-/bounty.
16474
+ *
16475
+ * ## Dispatch Origin
16476
+ *
16477
+ * Must be signed by the proposed curator.
16478
+ *
16479
+ * ## Details
16480
+ *
16481
+ * - The child-/bounty must be in the `Funded` state.
16482
+ * - The curator must accept the role by calling this function.
16483
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
16484
+ *
16485
+ * ### Parameters
16486
+ * - `parent_bounty_id`: Index of parent bounty.
16487
+ * - `child_bounty_id`: Index of child-bounty.
16488
+ *
16489
+ * ## Events
16490
+ *
16491
+ * Emits [`Event::BountyBecameActive`] if successful.
16492
+ **/
16493
+ | { name: 'AcceptCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16494
+ /**
16495
+ * Unassign curator from a child-/bounty.
16496
+ *
16497
+ * ## Dispatch Origin
16498
+ *
16499
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
16500
+ *
16501
+ * ## Details
16502
+ *
16503
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
16504
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
16505
+ * we will slash the curator when possible.
16506
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
16507
+ * do their job and they willingly give up. We could slash them, but for now we allow
16508
+ * them to recover their deposit and exit without issue. (We may want to change this if
16509
+ * it is abused).
16510
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
16511
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
16512
+ *
16513
+ * ### Parameters
16514
+ * - `parent_bounty_id`: Index of parent bounty.
16515
+ * - `child_bounty_id`: Index of child-bounty.
16516
+ *
16517
+ * ## Events
16518
+ *
16519
+ * Emits [`Event::CuratorUnassigned`] if successful.
16520
+ **/
16521
+ | { name: 'UnassignCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16522
+ /**
16523
+ * Awards the child-/bounty to a beneficiary account/location,
16524
+ * initiating the payout payments to both the beneficiary and the curator.
16525
+ *
16526
+ * ## Dispatch Origin
16527
+ *
16528
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
16529
+ *
16530
+ * ## Details
16531
+ *
16532
+ * - The child-/bounty must be in the `Active` state.
16533
+ * - if awarding a parent bounty it must not have active or funded child bounties.
16534
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
16535
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
16536
+ * - In case of a payout failure, the child-/bounty status must be updated with
16537
+ * `check_status` call before retrying with `retry_payment` call.
16538
+ *
16539
+ * ### Parameters
16540
+ * - `parent_bounty_id`: Index of parent bounty.
16541
+ * - `child_bounty_id`: Index of child-bounty.
16542
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
16543
+ *
16544
+ * ## Events
16545
+ *
16546
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
16547
+ **/
16548
+ | {
16549
+ name: 'AwardBounty';
16550
+ params: {
16551
+ parentBountyId: number;
16552
+ childBountyId?: number | undefined;
16553
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
16554
+ };
16555
+ }
16556
+ /**
16557
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
16558
+ * initialized.
16559
+ *
16560
+ * ## Dispatch Origin
16561
+ *
16562
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
16563
+ *
16564
+ * ## Details
16565
+ *
16566
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
16567
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
16568
+ * child-/bounty status is updated with the curator account/location.
16569
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
16570
+ * - In case of a refund failure, the child-/bounty status must be updated with the
16571
+ * `check_status` call before retrying with `retry_payment` call.
16572
+ *
16573
+ * ### Parameters
16574
+ * - `parent_bounty_id`: Index of parent bounty.
16575
+ * - `child_bounty_id`: Index of child-bounty.
16576
+ *
16577
+ * ## Events
16578
+ *
16579
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
16580
+ **/
16581
+ | { name: 'CloseBounty'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16582
+ /**
16583
+ * Check and update the payment status of a child-/bounty.
16584
+ *
16585
+ * ## Dispatch Origin
16586
+ *
16587
+ * Must be signed.
16588
+ *
16589
+ * ## Details
16590
+ *
16591
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
16592
+ * has succeeded. If successful, the bounty status becomes `Funded`.
16593
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
16594
+ * succeeded. If successful, the child-/bounty is removed from storage.
16595
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
16596
+ * succeeded. If successful, the child-/bounty is removed from storage.
16597
+ *
16598
+ * ### Parameters
16599
+ * - `parent_bounty_id`: Index of parent bounty.
16600
+ * - `child_bounty_id`: Index of child-bounty.
16601
+ *
16602
+ * ## Events
16603
+ *
16604
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
16605
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
16606
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
16607
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
16608
+ **/
16609
+ | { name: 'CheckStatus'; params: { parentBountyId: number; childBountyId?: number | undefined } }
16610
+ /**
16611
+ * Retry the funding, refund or payout payments.
16612
+ *
16613
+ * ## Dispatch Origin
16614
+ *
16615
+ * Must be signed.
16616
+ *
16617
+ * ## Details
16618
+ *
16619
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
16620
+ * funding source the child-/bounty account/location.
16621
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
16622
+ * the child-/bounty account/location to the funding source.
16623
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
16624
+ * the child-/bounty account/location to the beneficiary account/location.
16625
+ *
16626
+ * ### Parameters
16627
+ * - `parent_bounty_id`: Index of parent bounty.
16628
+ * - `child_bounty_id`: Index of child-bounty.
16629
+ *
16630
+ * ## Events
16631
+ *
16632
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
16633
+ **/
16634
+ | { name: 'RetryPayment'; params: { parentBountyId: number; childBountyId?: number | undefined } };
16635
+
16636
+ /**
16637
+ * Contains a variant per dispatchable extrinsic that this pallet has.
16638
+ **/
16639
+ export type PalletAhOpsCall =
16640
+ /**
16641
+ * Unreserve the deposit that was taken for creating a crowdloan.
16642
+ *
16643
+ * This can be called by any signed origin. It unreserves the lease deposit on the account
16644
+ * that won the lease auction. It can be unreserved once all leases expired. Note that it
16645
+ * will be called automatically from `withdraw_crowdloan_contribution` for the matching
16646
+ * crowdloan account.
16647
+ *
16648
+ * Solo bidder accounts that won lease auctions can use this to unreserve their amount.
16649
+ **/
16650
+ | {
16651
+ name: 'UnreserveLeaseDeposit';
16652
+ params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16653
+ }
16654
+ /**
16655
+ * Withdraw the contribution of a finished crowdloan.
16656
+ *
16657
+ * A crowdloan contribution can be withdrawn if either:
16658
+ * - The crowdloan failed to in an auction and timed out
16659
+ * - Won an auction and all leases expired
16660
+ *
16661
+ * Can be called by any signed origin.
16662
+ **/
16663
+ | {
16664
+ name: 'WithdrawCrowdloanContribution';
16665
+ params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16666
+ }
16667
+ /**
16668
+ * Unreserve the deposit that was taken for creating a crowdloan.
16669
+ *
16670
+ * This can be called once either:
16671
+ * - The crowdloan failed to win an auction and timed out
16672
+ * - Won an auction, all leases expired and all contributions are withdrawn
16673
+ *
16674
+ * Can be called by any signed origin. The condition that all contributions are withdrawn
16675
+ * is in place since the reserve acts as a storage deposit.
16676
+ **/
16677
+ | {
16678
+ name: 'UnreserveCrowdloanReserve';
16679
+ params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
16680
+ }
16681
+ /**
16682
+ * Transfer the balance from the pre-migration treasury account to the post-migration
16683
+ * treasury account.
16684
+ *
16685
+ * This call can only be called after the migration is completed.
16686
+ **/
16687
+ | { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
16688
+ /**
16689
+ * Translate recursively derived parachain sovereign child account to its sibling.
16690
+ *
16691
+ * Uses the same derivation path on the sibling. The old and new account arguments are only
16692
+ * witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
16693
+ *
16694
+ * This migrates:
16695
+ * - Native DOT balance
16696
+ * - All assets listed in `T::RelevantAssets`
16697
+ * - Staked balances
16698
+ *
16699
+ * Things like non-relevant assets or vested transfers may remain on the old account.
16700
+ **/
16701
+ | {
16702
+ name: 'TranslateParaSovereignChildToSiblingDerived';
16703
+ params: { paraId: number; derivationPath: Array<number>; oldAccount: AccountId32; newAccount: AccountId32 };
16704
+ };
16705
+
16706
+ export type PalletAhOpsCallLike =
16707
+ /**
16708
+ * Unreserve the deposit that was taken for creating a crowdloan.
16709
+ *
16710
+ * This can be called by any signed origin. It unreserves the lease deposit on the account
16711
+ * that won the lease auction. It can be unreserved once all leases expired. Note that it
16712
+ * will be called automatically from `withdraw_crowdloan_contribution` for the matching
16713
+ * crowdloan account.
16714
+ *
16715
+ * Solo bidder accounts that won lease auctions can use this to unreserve their amount.
16716
+ **/
16717
+ | {
16718
+ name: 'UnreserveLeaseDeposit';
16719
+ params: {
16720
+ block: number;
16721
+ depositor?: AccountId32Like | undefined;
16722
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
16723
+ };
16724
+ }
16725
+ /**
16726
+ * Withdraw the contribution of a finished crowdloan.
16727
+ *
16728
+ * A crowdloan contribution can be withdrawn if either:
16729
+ * - The crowdloan failed to in an auction and timed out
16730
+ * - Won an auction and all leases expired
16731
+ *
16732
+ * Can be called by any signed origin.
16733
+ **/
16734
+ | {
16735
+ name: 'WithdrawCrowdloanContribution';
16736
+ params: {
16737
+ block: number;
16738
+ depositor?: AccountId32Like | undefined;
16739
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
16740
+ };
16741
+ }
16742
+ /**
16743
+ * Unreserve the deposit that was taken for creating a crowdloan.
16744
+ *
16745
+ * This can be called once either:
16746
+ * - The crowdloan failed to win an auction and timed out
16747
+ * - Won an auction, all leases expired and all contributions are withdrawn
16748
+ *
16749
+ * Can be called by any signed origin. The condition that all contributions are withdrawn
16750
+ * is in place since the reserve acts as a storage deposit.
16751
+ **/
16752
+ | {
16753
+ name: 'UnreserveCrowdloanReserve';
16754
+ params: {
16755
+ block: number;
16756
+ depositor?: AccountId32Like | undefined;
16757
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
16758
+ };
16759
+ }
16760
+ /**
16761
+ * Transfer the balance from the pre-migration treasury account to the post-migration
16762
+ * treasury account.
16763
+ *
16764
+ * This call can only be called after the migration is completed.
16765
+ **/
16766
+ | { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
16767
+ /**
16768
+ * Translate recursively derived parachain sovereign child account to its sibling.
16769
+ *
16770
+ * Uses the same derivation path on the sibling. The old and new account arguments are only
16003
16771
  * witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
16004
16772
  *
16005
16773
  * This migrates:
@@ -16901,6 +17669,8 @@ export type PalletRcMigratorQueuePriority =
16901
17669
 
16902
17670
  export type PalletRcMigratorMigrationFinishedData = { rcBalanceKept: bigint };
16903
17671
 
17672
+ export type FrameSystemExtensionsAuthorizeCall = {};
17673
+
16904
17674
  export type FrameSystemExtensionsCheckNonZeroSender = {};
16905
17675
 
16906
17676
  export type FrameSystemExtensionsCheckSpecVersion = {};
@@ -17000,6 +17770,7 @@ export type AssetHubKusamaRuntimeRuntimeEvent =
17000
17770
  | { pallet: 'Bounties'; palletEvent: PalletBountiesEvent }
17001
17771
  | { pallet: 'ChildBounties'; palletEvent: PalletChildBountiesEvent }
17002
17772
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
17773
+ | { pallet: 'MultiAssetBounties'; palletEvent: PalletMultiAssetBountiesEvent }
17003
17774
  | { pallet: 'AhOps'; palletEvent: PalletAhOpsEvent }
17004
17775
  | { pallet: 'AhMigrator'; palletEvent: PalletAhMigratorEvent };
17005
17776
 
@@ -17442,10 +18213,18 @@ export type PalletBalancesEvent =
17442
18213
  * Some amount was minted into an account.
17443
18214
  **/
17444
18215
  | { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
18216
+ /**
18217
+ * Some credit was balanced and added to the TotalIssuance.
18218
+ **/
18219
+ | { name: 'MintedCredit'; data: { amount: bigint } }
17445
18220
  /**
17446
18221
  * Some amount was burned from an account.
17447
18222
  **/
17448
18223
  | { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
18224
+ /**
18225
+ * Some debt has been dropped from the Total Issuance.
18226
+ **/
18227
+ | { name: 'BurnedDebt'; data: { amount: bigint } }
17449
18228
  /**
17450
18229
  * Some amount was suspended from an account (it can be restored later).
17451
18230
  **/
@@ -17486,6 +18265,37 @@ export type PalletBalancesEvent =
17486
18265
  * The `TotalIssuance` was forcefully changed.
17487
18266
  **/
17488
18267
  | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
18268
+ /**
18269
+ * Some balance was placed on hold.
18270
+ **/
18271
+ | { name: 'Held'; data: { reason: AssetHubKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
18272
+ /**
18273
+ * Held balance was burned from an account.
18274
+ **/
18275
+ | { name: 'BurnedHeld'; data: { reason: AssetHubKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
18276
+ /**
18277
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
18278
+ **/
18279
+ | {
18280
+ name: 'TransferOnHold';
18281
+ data: { reason: AssetHubKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint };
18282
+ }
18283
+ /**
18284
+ * The `transferred` balance is placed on hold at the `dest` account.
18285
+ **/
18286
+ | {
18287
+ name: 'TransferAndHold';
18288
+ data: {
18289
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
18290
+ source: AccountId32;
18291
+ dest: AccountId32;
18292
+ transferred: bigint;
18293
+ };
18294
+ }
18295
+ /**
18296
+ * Some balance was released from hold.
18297
+ **/
18298
+ | { name: 'Released'; data: { reason: AssetHubKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
17489
18299
  /**
17490
18300
  * An unexpected/defensive event was triggered.
17491
18301
  **/
@@ -17493,6 +18303,31 @@ export type PalletBalancesEvent =
17493
18303
 
17494
18304
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
17495
18305
 
18306
+ export type AssetHubKusamaRuntimeRuntimeHoldReason =
18307
+ | { type: 'Preimage'; value: PalletPreimageHoldReason }
18308
+ | { type: 'Session'; value: PalletSessionHoldReason }
18309
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
18310
+ | { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
18311
+ | { type: 'Revive'; value: PalletReviveHoldReason }
18312
+ | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
18313
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
18314
+ | { type: 'StakingRcClient'; value: PalletStakingAsyncRcClientHoldReason }
18315
+ | { type: 'MultiBlockElectionSigned'; value: PalletElectionProviderMultiBlockSignedPalletHoldReason }
18316
+ | { type: 'Staking'; value: PalletStakingAsyncPalletHoldReason }
18317
+ | { type: 'MultiAssetBounties'; value: PalletMultiAssetBountiesHoldReason };
18318
+
18319
+ export type PalletNftFractionalizationHoldReason = 'Fractionalized';
18320
+
18321
+ export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
18322
+
18323
+ export type PalletStakingAsyncRcClientHoldReason = 'Keys';
18324
+
18325
+ export type PalletElectionProviderMultiBlockSignedPalletHoldReason = 'SignedSubmission';
18326
+
18327
+ export type PalletStakingAsyncPalletHoldReason = 'Staking';
18328
+
18329
+ export type PalletMultiAssetBountiesHoldReason = 'CuratorDeposit';
18330
+
17496
18331
  export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
17497
18332
 
17498
18333
  /**
@@ -18129,6 +18964,8 @@ export type PalletProxyEvent =
18129
18964
  who: AccountId32;
18130
18965
  proxyType: AssetHubKusamaRuntimeProxyType;
18131
18966
  disambiguationIndex: number;
18967
+ at: number;
18968
+ extrinsicIndex: number;
18132
18969
  };
18133
18970
  }
18134
18971
  /**
@@ -18313,7 +19150,15 @@ export type PalletAssetsEvent =
18313
19150
  /**
18314
19151
  * Some assets were withdrawn from the account (e.g. for transaction fees).
18315
19152
  **/
18316
- | { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } };
19153
+ | { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } }
19154
+ /**
19155
+ * Reserve information was set or updated for `asset_id`.
19156
+ **/
19157
+ | { name: 'ReservesUpdated'; data: { assetId: number; reserves: Array<[]> } }
19158
+ /**
19159
+ * Reserve information was removed for `asset_id`.
19160
+ **/
19161
+ | { name: 'ReservesRemoved'; data: { assetId: number } };
18317
19162
 
18318
19163
  /**
18319
19164
  * The `Event` enum of this pallet
@@ -18809,7 +19654,21 @@ export type PalletAssetsEvent002 =
18809
19654
  /**
18810
19655
  * Some assets were withdrawn from the account (e.g. for transaction fees).
18811
19656
  **/
18812
- | { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } };
19657
+ | { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
19658
+ /**
19659
+ * Reserve information was set or updated for `asset_id`.
19660
+ **/
19661
+ | {
19662
+ name: 'ReservesUpdated';
19663
+ data: {
19664
+ assetId: StagingXcmV5Location;
19665
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
19666
+ };
19667
+ }
19668
+ /**
19669
+ * Reserve information was removed for `asset_id`.
19670
+ **/
19671
+ | { name: 'ReservesRemoved'; data: { assetId: StagingXcmV5Location } };
18813
19672
 
18814
19673
  /**
18815
19674
  * The `Event` enum of this pallet
@@ -19140,7 +19999,11 @@ export type PalletSocietyEvent =
19140
19999
  /**
19141
20000
  * A deposit was poked / adjusted.
19142
20001
  **/
19143
- | { name: 'DepositPoked'; data: { who: AccountId32; oldDeposit: bigint; newDeposit: bigint } };
20002
+ | { name: 'DepositPoked'; data: { who: AccountId32; oldDeposit: bigint; newDeposit: bigint } }
20003
+ /**
20004
+ * A member was kicked by the founder.
20005
+ **/
20006
+ | { name: 'MemberKicked'; data: { member: AccountId32 } };
19144
20007
 
19145
20008
  export type PalletSocietyGroupParams = {
19146
20009
  maxMembers: number;
@@ -19444,6 +20307,12 @@ export type PalletStakingAsyncRcClientEvent =
19444
20307
  * A new offence was reported.
19445
20308
  **/
19446
20309
  | { name: 'OffenceReceived'; data: { slashSession: number; offencesCount: number } }
20310
+ /**
20311
+ * Fees were charged for a user operation (set_keys or purge_keys).
20312
+ *
20313
+ * The fee includes both XCM delivery fee and relay chain execution cost.
20314
+ **/
20315
+ | { name: 'FeesPaid'; data: { who: AccountId32; fees: bigint } }
19447
20316
  /**
19448
20317
  * Something occurred that should never happen under normal operation.
19449
20318
  * Logged as an event for fail-safe observability.
@@ -19769,19 +20638,19 @@ export type PalletConvictionVotingEvent =
19769
20638
  /**
19770
20639
  * An account has delegated their vote to another account. \[who, target\]
19771
20640
  **/
19772
- | { name: 'Delegated'; data: [AccountId32, AccountId32] }
20641
+ | { name: 'Delegated'; data: [AccountId32, AccountId32, number] }
19773
20642
  /**
19774
20643
  * An \[account\] has cancelled a previous delegation operation.
19775
20644
  **/
19776
- | { name: 'Undelegated'; data: AccountId32 }
20645
+ | { name: 'Undelegated'; data: [AccountId32, number] }
19777
20646
  /**
19778
20647
  * An account has voted
19779
20648
  **/
19780
- | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
20649
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number } }
19781
20650
  /**
19782
20651
  * A vote has been removed
19783
20652
  **/
19784
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
20653
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number } }
19785
20654
  /**
19786
20655
  * The lockup period of a conviction vote expired, and the funds have been unlocked.
19787
20656
  **/
@@ -20185,6 +21054,75 @@ export type PalletAssetRateEvent =
20185
21054
  data: { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 };
20186
21055
  };
20187
21056
 
21057
+ /**
21058
+ * The `Event` enum of this pallet
21059
+ **/
21060
+ export type PalletMultiAssetBountiesEvent =
21061
+ /**
21062
+ * A new bounty was created and funding has been initiated.
21063
+ **/
21064
+ | { name: 'BountyCreated'; data: { index: number } }
21065
+ /**
21066
+ * A new child-bounty was created and funding has been initiated.
21067
+ **/
21068
+ | { name: 'ChildBountyCreated'; data: { index: number; childIndex: number } }
21069
+ /**
21070
+ * The curator accepted role and child-/bounty became active.
21071
+ **/
21072
+ | { name: 'BountyBecameActive'; data: { index: number; childIndex?: number | undefined; curator: AccountId32 } }
21073
+ /**
21074
+ * A child-/bounty was awarded to a beneficiary.
21075
+ **/
21076
+ | {
21077
+ name: 'BountyAwarded';
21078
+ data: {
21079
+ index: number;
21080
+ childIndex?: number | undefined;
21081
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
21082
+ };
21083
+ }
21084
+ /**
21085
+ * Payout payment to the beneficiary has concluded successfully.
21086
+ **/
21087
+ | {
21088
+ name: 'BountyPayoutProcessed';
21089
+ data: {
21090
+ index: number;
21091
+ childIndex?: number | undefined;
21092
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
21093
+ value: bigint;
21094
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
21095
+ };
21096
+ }
21097
+ /**
21098
+ * Funding payment has concluded successfully.
21099
+ **/
21100
+ | { name: 'BountyFundingProcessed'; data: { index: number; childIndex?: number | undefined } }
21101
+ /**
21102
+ * Refund payment has concluded successfully.
21103
+ **/
21104
+ | { name: 'BountyRefundProcessed'; data: { index: number; childIndex?: number | undefined } }
21105
+ /**
21106
+ * A child-/bounty was cancelled.
21107
+ **/
21108
+ | { name: 'BountyCanceled'; data: { index: number; childIndex?: number | undefined } }
21109
+ /**
21110
+ * A child-/bounty curator was unassigned.
21111
+ **/
21112
+ | { name: 'CuratorUnassigned'; data: { index: number; childIndex?: number | undefined } }
21113
+ /**
21114
+ * A child-/bounty curator was proposed.
21115
+ **/
21116
+ | { name: 'CuratorProposed'; data: { index: number; childIndex?: number | undefined; curator: AccountId32 } }
21117
+ /**
21118
+ * A payment failed and can be retried.
21119
+ **/
21120
+ | { name: 'PaymentFailed'; data: { index: number; childIndex?: number | undefined; paymentId: bigint } }
21121
+ /**
21122
+ * A payment happened and can be checked.
21123
+ **/
21124
+ | { name: 'Paid'; data: { index: number; childIndex?: number | undefined; paymentId: bigint } };
21125
+
20188
21126
  /**
20189
21127
  * The `Event` enum of this pallet
20190
21128
  **/
@@ -20528,6 +21466,7 @@ export type FrameSystemError =
20528
21466
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
20529
21467
 
20530
21468
  export type CumulusPalletWeightReclaimStorageWeightReclaim = [
21469
+ FrameSystemExtensionsAuthorizeCall,
20531
21470
  FrameSystemExtensionsCheckNonZeroSender,
20532
21471
  FrameSystemExtensionsCheckSpecVersion,
20533
21472
  FrameSystemExtensionsCheckTxVersion,
@@ -20543,7 +21482,7 @@ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
20543
21482
  export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
20544
21483
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
20545
21484
  paraHeadHash?: H256 | undefined;
20546
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
21485
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
20547
21486
  };
20548
21487
 
20549
21488
  export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
@@ -20556,21 +21495,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
20556
21495
 
20557
21496
  export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
20558
21497
 
20559
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
21498
+ export type PolkadotPrimitivesV9UpgradeGoAhead = 'Abort' | 'GoAhead';
20560
21499
 
20561
21500
  export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
20562
21501
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
20563
21502
  hrmpWatermark?: number | undefined;
20564
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
21503
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
20565
21504
  };
20566
21505
 
20567
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
21506
+ export type PolkadotPrimitivesV9UpgradeRestriction = 'Present';
20568
21507
 
20569
21508
  export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
20570
21509
  dmqMqcHead: H256;
20571
21510
  relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
20572
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
20573
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
21511
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
21512
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
20574
21513
  };
20575
21514
 
20576
21515
  export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
@@ -20578,7 +21517,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
20578
21517
  remainingSize: number;
20579
21518
  };
20580
21519
 
20581
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
21520
+ export type PolkadotPrimitivesV9AbridgedHrmpChannel = {
20582
21521
  maxCapacity: number;
20583
21522
  maxTotalSize: number;
20584
21523
  maxMessageSize: number;
@@ -20587,7 +21526,7 @@ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
20587
21526
  mqcHead?: H256 | undefined;
20588
21527
  };
20589
21528
 
20590
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
21529
+ export type PolkadotPrimitivesV9AbridgedHostConfiguration = {
20591
21530
  maxCodeSize: number;
20592
21531
  maxHeadDataSize: number;
20593
21532
  maxUpwardQueueCount: number;
@@ -20597,10 +21536,10 @@ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
20597
21536
  hrmpMaxMessageNumPerCandidate: number;
20598
21537
  validationUpgradeCooldown: number;
20599
21538
  validationUpgradeDelay: number;
20600
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
21539
+ asyncBackingParams: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams;
20601
21540
  };
20602
21541
 
20603
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
21542
+ export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
20604
21543
  maxCandidateDepth: number;
20605
21544
  allowedAncestryLen: number;
20606
21545
  };
@@ -20750,25 +21689,6 @@ export type FrameSupportTokensMiscIdAmountRuntimeHoldReason = {
20750
21689
  amount: bigint;
20751
21690
  };
20752
21691
 
20753
- export type AssetHubKusamaRuntimeRuntimeHoldReason =
20754
- | { type: 'Preimage'; value: PalletPreimageHoldReason }
20755
- | { type: 'Session'; value: PalletSessionHoldReason }
20756
- | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
20757
- | { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
20758
- | { type: 'Revive'; value: PalletReviveHoldReason }
20759
- | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
20760
- | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
20761
- | { type: 'MultiBlockElectionSigned'; value: PalletElectionProviderMultiBlockSignedPalletHoldReason }
20762
- | { type: 'Staking'; value: PalletStakingAsyncPalletHoldReason };
20763
-
20764
- export type PalletNftFractionalizationHoldReason = 'Fractionalized';
20765
-
20766
- export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
20767
-
20768
- export type PalletElectionProviderMultiBlockSignedPalletHoldReason = 'SignedSubmission';
20769
-
20770
- export type PalletStakingAsyncPalletHoldReason = 'Staking';
20771
-
20772
21692
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
20773
21693
  id: AssetHubKusamaRuntimeRuntimeFreezeReason;
20774
21694
  amount: bigint;
@@ -21646,7 +22566,11 @@ export type PalletAssetsError =
21646
22566
  /**
21647
22567
  * The asset cannot be destroyed because some accounts for this asset contain holds.
21648
22568
  **/
21649
- | 'ContainsHolds';
22569
+ | 'ContainsHolds'
22570
+ /**
22571
+ * Tried setting too many reserves.
22572
+ **/
22573
+ | 'TooManyReserves';
21650
22574
 
21651
22575
  export type PalletUniquesCollectionDetails = {
21652
22576
  owner: AccountId32;
@@ -22857,7 +23781,11 @@ export type PalletReviveError =
22857
23781
  * Some pre-compile functions will trap the caller context if being delegate
22858
23782
  * called or if their caller was being delegate called.
22859
23783
  **/
22860
- | 'PrecompileDelegateDenied';
23784
+ | 'PrecompileDelegateDenied'
23785
+ /**
23786
+ * ECDSA public key recovery failed. Most probably wrong recovery id or signature.
23787
+ **/
23788
+ | 'EcdsaRecoveryFailed';
22861
23789
 
22862
23790
  export type PalletNominationPoolsRewardPool = {
22863
23791
  lastRecordedRewardCounter: FixedU128;
@@ -23147,6 +24075,35 @@ export type PalletStakingAsyncRcClientValidatorSetReport = {
23147
24075
  leftover: boolean;
23148
24076
  };
23149
24077
 
24078
+ /**
24079
+ * The `Error` enum of this pallet.
24080
+ **/
24081
+ export type PalletStakingAsyncRcClientError =
24082
+ /**
24083
+ * Failed to send XCM message to the Relay Chain.
24084
+ **/
24085
+ | 'XcmSendFailed'
24086
+ /**
24087
+ * The origin account is not a registered validator.
24088
+ *
24089
+ * Only accounts that have called `validate()` can set or purge session keys. When called
24090
+ * via a staking proxy, the origin is the delegating account (stash), which must be a
24091
+ * registered validator.
24092
+ **/
24093
+ | 'NotValidator'
24094
+ /**
24095
+ * The session keys could not be decoded as the expected RelayChainSessionKeys type.
24096
+ **/
24097
+ | 'InvalidKeys'
24098
+ /**
24099
+ * The ownership proof for the session keys is invalid.
24100
+ **/
24101
+ | 'InvalidProof'
24102
+ /**
24103
+ * Delivery fees exceeded the specified maximum.
24104
+ **/
24105
+ | 'FeesExceededMax';
24106
+
23150
24107
  /**
23151
24108
  * Error of the pallet that can be returned in response to dispatches.
23152
24109
  **/
@@ -23270,7 +24227,8 @@ export type PalletStakingAsyncPalletPruningStep =
23270
24227
  | 'ClaimedRewards'
23271
24228
  | 'ErasValidatorReward'
23272
24229
  | 'ErasRewardPoints'
23273
- | 'ErasTotalStake';
24230
+ | 'SingleEntryCleanups'
24231
+ | 'ValidatorSlashInEra';
23274
24232
 
23275
24233
  /**
23276
24234
  * The `Error` enum of this pallet.
@@ -23781,6 +24739,121 @@ export type PalletAssetRateError =
23781
24739
  **/
23782
24740
  | 'Overflow';
23783
24741
 
24742
+ export type PalletMultiAssetBountiesBounty = {
24743
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
24744
+ value: bigint;
24745
+ metadata: H256;
24746
+ status: PalletMultiAssetBountiesBountyStatus;
24747
+ };
24748
+
24749
+ export type PalletMultiAssetBountiesBountyStatus =
24750
+ | { type: 'FundingAttempted'; value: { curator: AccountId32; paymentStatus: PalletMultiAssetBountiesPaymentState } }
24751
+ | { type: 'Funded'; value: { curator: AccountId32 } }
24752
+ | { type: 'CuratorUnassigned' }
24753
+ | { type: 'Active'; value: { curator: AccountId32 } }
24754
+ | {
24755
+ type: 'RefundAttempted';
24756
+ value: { curator?: AccountId32 | undefined; paymentStatus: PalletMultiAssetBountiesPaymentState };
24757
+ }
24758
+ | {
24759
+ type: 'PayoutAttempted';
24760
+ value: {
24761
+ curator: AccountId32;
24762
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
24763
+ paymentStatus: PalletMultiAssetBountiesPaymentState;
24764
+ };
24765
+ };
24766
+
24767
+ export type PalletMultiAssetBountiesPaymentState =
24768
+ | { type: 'Pending' }
24769
+ | { type: 'Attempted'; value: { id: bigint } }
24770
+ | { type: 'Failed' }
24771
+ | { type: 'Succeeded' };
24772
+
24773
+ export type PalletMultiAssetBountiesChildBounty = {
24774
+ parentBounty: number;
24775
+ value: bigint;
24776
+ metadata: H256;
24777
+ status: PalletMultiAssetBountiesBountyStatus;
24778
+ };
24779
+
24780
+ /**
24781
+ * The `Error` enum of this pallet.
24782
+ **/
24783
+ export type PalletMultiAssetBountiesError =
24784
+ /**
24785
+ * No child-/bounty at that index.
24786
+ **/
24787
+ | 'InvalidIndex'
24788
+ /**
24789
+ * The reason given is just too big.
24790
+ **/
24791
+ | 'ReasonTooBig'
24792
+ /**
24793
+ * Invalid child-/bounty value.
24794
+ **/
24795
+ | 'InvalidValue'
24796
+ /**
24797
+ * The balance of the asset kind is not convertible to the balance of the native asset for
24798
+ * asserting the origin permissions.
24799
+ **/
24800
+ | 'FailedToConvertBalance'
24801
+ /**
24802
+ * The child-/bounty status is unexpected.
24803
+ **/
24804
+ | 'UnexpectedStatus'
24805
+ /**
24806
+ * Require child-/bounty curator.
24807
+ **/
24808
+ | 'RequireCurator'
24809
+ /**
24810
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
24811
+ * requested amount.
24812
+ **/
24813
+ | 'InsufficientPermission'
24814
+ /**
24815
+ * There was issue with funding the child-/bounty.
24816
+ **/
24817
+ | 'FundingError'
24818
+ /**
24819
+ * There was issue with refunding the child-/bounty.
24820
+ **/
24821
+ | 'RefundError'
24822
+ | 'PayoutError'
24823
+ /**
24824
+ * Child-/bounty funding has not concluded yet.
24825
+ **/
24826
+ | 'FundingInconclusive'
24827
+ /**
24828
+ * Child-/bounty refund has not concluded yet.
24829
+ **/
24830
+ | 'RefundInconclusive'
24831
+ /**
24832
+ * Child-/bounty payout has not concluded yet.
24833
+ **/
24834
+ | 'PayoutInconclusive'
24835
+ /**
24836
+ * The child-/bounty or funding source account could not be derived from the indexes and
24837
+ * asset kind.
24838
+ **/
24839
+ | 'FailedToConvertSource'
24840
+ /**
24841
+ * The parent bounty cannot be closed because it has active child bounties.
24842
+ **/
24843
+ | 'HasActiveChildBounty'
24844
+ /**
24845
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
24846
+ **/
24847
+ | 'TooManyChildBounties'
24848
+ /**
24849
+ * The parent bounty value is not enough to add new child-bounty.
24850
+ **/
24851
+ | 'InsufficientBountyValue'
24852
+ /**
24853
+ * The preimage does not exist.
24854
+ **/
24855
+ | 'PreimageNotExist';
24856
+
23784
24857
  /**
23785
24858
  * The `Error` enum of this pallet.
23786
24859
  **/
@@ -23931,6 +25004,10 @@ export type PalletAhMigratorError =
23931
25004
 
23932
25005
  export type SpConsensusSlotsSlotDuration = bigint;
23933
25006
 
25007
+ export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
25008
+
25009
+ export type SpRuntimeOpaqueExtrinsic = Bytes;
25010
+
23934
25011
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
23935
25012
 
23936
25013
  export type SpCoreOpaqueMetadata = Bytes;
@@ -24224,6 +25301,7 @@ export type AssetHubKusamaRuntimeRuntimeError =
24224
25301
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
24225
25302
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
24226
25303
  | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
25304
+ | { pallet: 'StakingRcClient'; palletError: PalletStakingAsyncRcClientError }
24227
25305
  | { pallet: 'MultiBlockElection'; palletError: PalletElectionProviderMultiBlockError }
24228
25306
  | { pallet: 'MultiBlockElectionSigned'; palletError: PalletElectionProviderMultiBlockSignedPalletError }
24229
25307
  | { pallet: 'Staking'; palletError: PalletStakingAsyncPalletError }
@@ -24234,5 +25312,6 @@ export type AssetHubKusamaRuntimeRuntimeError =
24234
25312
  | { pallet: 'Bounties'; palletError: PalletBountiesError }
24235
25313
  | { pallet: 'ChildBounties'; palletError: PalletChildBountiesError }
24236
25314
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }
25315
+ | { pallet: 'MultiAssetBounties'; palletError: PalletMultiAssetBountiesError }
24237
25316
  | { pallet: 'AhOps'; palletError: PalletAhOpsError }
24238
25317
  | { pallet: 'AhMigrator'; palletError: PalletAhMigratorError };