@dedot/chaintypes 0.248.0 → 0.250.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.
Files changed (45) hide show
  1. package/package.json +2 -2
  2. package/paseo/errors.d.ts +5 -0
  3. package/paseo/events.d.ts +94 -16
  4. package/paseo/index.d.ts +1 -1
  5. package/paseo/json-rpc.d.ts +1 -0
  6. package/paseo/query.d.ts +85 -46
  7. package/paseo/runtime.d.ts +90 -79
  8. package/paseo/tx.d.ts +81 -32
  9. package/paseo/types.d.ts +278 -209
  10. package/paseo-asset-hub/consts.d.ts +87 -0
  11. package/paseo-asset-hub/errors.d.ts +170 -0
  12. package/paseo-asset-hub/events.d.ts +359 -6
  13. package/paseo-asset-hub/index.d.ts +3 -1
  14. package/paseo-asset-hub/json-rpc.d.ts +1 -0
  15. package/paseo-asset-hub/query.d.ts +261 -17
  16. package/paseo-asset-hub/runtime.d.ts +11 -6
  17. package/paseo-asset-hub/tx.d.ts +729 -1
  18. package/paseo-asset-hub/types.d.ts +1426 -155
  19. package/paseo-asset-hub/view-functions.d.ts +195 -2
  20. package/paseo-people/errors.d.ts +5 -0
  21. package/paseo-people/events.d.ts +78 -2
  22. package/paseo-people/index.d.ts +1 -1
  23. package/paseo-people/query.d.ts +44 -16
  24. package/paseo-people/runtime.d.ts +9 -5
  25. package/paseo-people/tx.d.ts +30 -0
  26. package/paseo-people/types.d.ts +107 -25
  27. package/paseo-people/view-functions.d.ts +46 -1
  28. package/polkadot-asset-hub/consts.d.ts +87 -0
  29. package/polkadot-asset-hub/errors.d.ts +170 -0
  30. package/polkadot-asset-hub/events.d.ts +359 -6
  31. package/polkadot-asset-hub/index.d.ts +3 -1
  32. package/polkadot-asset-hub/query.d.ts +261 -17
  33. package/polkadot-asset-hub/runtime.d.ts +11 -6
  34. package/polkadot-asset-hub/tx.d.ts +729 -1
  35. package/polkadot-asset-hub/types.d.ts +1426 -155
  36. package/polkadot-asset-hub/view-functions.d.ts +195 -2
  37. package/polkadot-people/consts.d.ts +75 -0
  38. package/polkadot-people/errors.d.ts +170 -0
  39. package/polkadot-people/events.d.ts +377 -3
  40. package/polkadot-people/index.d.ts +5 -4
  41. package/polkadot-people/query.d.ts +169 -16
  42. package/polkadot-people/runtime.d.ts +9 -5
  43. package/polkadot-people/tx.d.ts +1316 -2
  44. package/polkadot-people/types.d.ts +1857 -182
  45. package/polkadot-people/view-functions.d.ts +46 -1
@@ -37,6 +37,7 @@ export type AssetHubPolkadotRuntimeRuntimeCall =
37
37
  | { pallet: 'Preimage'; palletCall: PalletPreimageCall }
38
38
  | { pallet: 'Scheduler'; palletCall: PalletSchedulerCall }
39
39
  | { pallet: 'Parameters'; palletCall: PalletParametersCall }
40
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
40
41
  | { pallet: 'Balances'; palletCall: PalletBalancesCall }
41
42
  | { pallet: 'Vesting'; palletCall: PalletVestingCall }
42
43
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCall }
@@ -65,6 +66,7 @@ export type AssetHubPolkadotRuntimeRuntimeCall =
65
66
  | { pallet: 'Bounties'; palletCall: PalletBountiesCall }
66
67
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCall }
67
68
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
69
+ | { pallet: 'MultiAssetBounties'; palletCall: PalletMultiAssetBountiesCall }
68
70
  | { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall }
69
71
  | { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCall }
70
72
  | { pallet: 'VoterList'; palletCall: PalletBagsListCall }
@@ -86,6 +88,7 @@ export type AssetHubPolkadotRuntimeRuntimeCallLike =
86
88
  | { pallet: 'Preimage'; palletCall: PalletPreimageCallLike }
87
89
  | { pallet: 'Scheduler'; palletCall: PalletSchedulerCallLike }
88
90
  | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
91
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
89
92
  | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
90
93
  | { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
91
94
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCallLike }
@@ -114,6 +117,7 @@ export type AssetHubPolkadotRuntimeRuntimeCallLike =
114
117
  | { pallet: 'Bounties'; palletCall: PalletBountiesCallLike }
115
118
  | { pallet: 'ChildBounties'; palletCall: PalletChildBountiesCallLike }
116
119
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
120
+ | { pallet: 'MultiAssetBounties'; palletCall: PalletMultiAssetBountiesCallLike }
117
121
  | { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike }
118
122
  | { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCallLike }
119
123
  | { pallet: 'VoterList'; palletCall: PalletBagsListCallLike }
@@ -324,13 +328,13 @@ export type CumulusPalletParachainSystemCallLike =
324
328
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
325
329
 
326
330
  export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
327
- validationData: PolkadotPrimitivesV8PersistedValidationData;
331
+ validationData: PolkadotPrimitivesV9PersistedValidationData;
328
332
  relayChainState: SpTrieStorageProof;
329
333
  relayParentDescendants: Array<Header>;
330
334
  collatorPeerId?: Bytes | undefined;
331
335
  };
332
336
 
333
- export type PolkadotPrimitivesV8PersistedValidationData = {
337
+ export type PolkadotPrimitivesV9PersistedValidationData = {
334
338
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
335
339
  relayParentNumber: number;
336
340
  relayParentStorageRoot: H256;
@@ -798,6 +802,93 @@ export type AssetHubPolkadotRuntimeDynamicParamsMessageQueueMaxOnInitWeight = {}
798
802
 
799
803
  export type AssetHubPolkadotRuntimeDynamicParamsMessageQueueMaxOnIdleWeight = {};
800
804
 
805
+ /**
806
+ * Contains a variant per dispatchable extrinsic that this pallet has.
807
+ **/
808
+ export type PalletMigrationsCall =
809
+ /**
810
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
811
+ *
812
+ * Should normally not be needed and is only in place as emergency measure. Note that
813
+ * restarting the migration process in this manner will not call the
814
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
815
+ **/
816
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
817
+ /**
818
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
819
+ *
820
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
821
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
822
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
823
+ * indicates that the current block number plus one should be used.
824
+ **/
825
+ | {
826
+ name: 'ForceSetActiveCursor';
827
+ params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
828
+ }
829
+ /**
830
+ * Forces the onboarding of the migrations.
831
+ *
832
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
833
+ * measurement. The cursor needs to be `None` for this to succeed.
834
+ **/
835
+ | { name: 'ForceOnboardMbms' }
836
+ /**
837
+ * Clears the `Historic` set.
838
+ *
839
+ * `map_cursor` must be set to the last value that was returned by the
840
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
841
+ * way that will result in a sensible weight.
842
+ **/
843
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
844
+
845
+ export type PalletMigrationsCallLike =
846
+ /**
847
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
848
+ *
849
+ * Should normally not be needed and is only in place as emergency measure. Note that
850
+ * restarting the migration process in this manner will not call the
851
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
852
+ **/
853
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
854
+ /**
855
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
856
+ *
857
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
858
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
859
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
860
+ * indicates that the current block number plus one should be used.
861
+ **/
862
+ | {
863
+ name: 'ForceSetActiveCursor';
864
+ params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
865
+ }
866
+ /**
867
+ * Forces the onboarding of the migrations.
868
+ *
869
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
870
+ * measurement. The cursor needs to be `None` for this to succeed.
871
+ **/
872
+ | { name: 'ForceOnboardMbms' }
873
+ /**
874
+ * Clears the `Historic` set.
875
+ *
876
+ * `map_cursor` must be set to the last value that was returned by the
877
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
878
+ * way that will result in a sensible weight.
879
+ **/
880
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
881
+
882
+ export type PalletMigrationsMigrationCursor =
883
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
884
+ | { type: 'Stuck' };
885
+
886
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
887
+
888
+ export type PalletMigrationsHistoricCleanupSelector =
889
+ | { type: 'Specific'; value: Array<Bytes> }
890
+ | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
891
+
801
892
  /**
802
893
  * Contains a variant per dispatchable extrinsic that this pallet has.
803
894
  **/
@@ -4317,7 +4408,8 @@ export type AssetHubPolkadotRuntimeProxyType =
4317
4408
  | 'Staking'
4318
4409
  | 'NominationPools'
4319
4410
  | 'Auction'
4320
- | 'ParaRegistration';
4411
+ | 'ParaRegistration'
4412
+ | 'StakingOperator';
4321
4413
 
4322
4414
  /**
4323
4415
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5071,7 +5163,19 @@ export type PalletAssetsCall =
5071
5163
  * (false), or transfer everything except at least the minimum balance, which will
5072
5164
  * guarantee to keep the sender asset account alive (true).
5073
5165
  **/
5074
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
5166
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
5167
+ /**
5168
+ * Sets the trusted reserve information of an asset.
5169
+ *
5170
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5171
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5172
+ *
5173
+ * - `id`: The identifier of the asset.
5174
+ * - `reserves`: The full list of trusted reserves information.
5175
+ *
5176
+ * Emits `AssetMinBalanceChanged` event when successful.
5177
+ **/
5178
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
5075
5179
 
5076
5180
  export type PalletAssetsCallLike =
5077
5181
  /**
@@ -5643,7 +5747,19 @@ export type PalletAssetsCallLike =
5643
5747
  * (false), or transfer everything except at least the minimum balance, which will
5644
5748
  * guarantee to keep the sender asset account alive (true).
5645
5749
  **/
5646
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
5750
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
5751
+ /**
5752
+ * Sets the trusted reserve information of an asset.
5753
+ *
5754
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5755
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5756
+ *
5757
+ * - `id`: The identifier of the asset.
5758
+ * - `reserves`: The full list of trusted reserves information.
5759
+ *
5760
+ * Emits `AssetMinBalanceChanged` event when successful.
5761
+ **/
5762
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
5647
5763
 
5648
5764
  /**
5649
5765
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8046,7 +8162,8 @@ export type PalletNftsPreSignedMint = {
8046
8162
  export type SpRuntimeMultiSignature =
8047
8163
  | { type: 'Ed25519'; value: FixedBytes<64> }
8048
8164
  | { type: 'Sr25519'; value: FixedBytes<64> }
8049
- | { type: 'Ecdsa'; value: FixedBytes<65> };
8165
+ | { type: 'Ecdsa'; value: FixedBytes<65> }
8166
+ | { type: 'Eth'; value: FixedBytes<65> };
8050
8167
 
8051
8168
  export type PalletNftsPreSignedAttributes = {
8052
8169
  collection: number;
@@ -8635,7 +8752,22 @@ export type PalletAssetsCall002 =
8635
8752
  * (false), or transfer everything except at least the minimum balance, which will
8636
8753
  * guarantee to keep the sender asset account alive (true).
8637
8754
  **/
8638
- | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } };
8755
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
8756
+ /**
8757
+ * Sets the trusted reserve information of an asset.
8758
+ *
8759
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
8760
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
8761
+ *
8762
+ * - `id`: The identifier of the asset.
8763
+ * - `reserves`: The full list of trusted reserves information.
8764
+ *
8765
+ * Emits `AssetMinBalanceChanged` event when successful.
8766
+ **/
8767
+ | {
8768
+ name: 'SetReserves';
8769
+ params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
8770
+ };
8639
8771
 
8640
8772
  export type PalletAssetsCallLike002 =
8641
8773
  /**
@@ -9221,7 +9353,27 @@ export type PalletAssetsCallLike002 =
9221
9353
  * (false), or transfer everything except at least the minimum balance, which will
9222
9354
  * guarantee to keep the sender asset account alive (true).
9223
9355
  **/
9224
- | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } };
9356
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
9357
+ /**
9358
+ * Sets the trusted reserve information of an asset.
9359
+ *
9360
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
9361
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
9362
+ *
9363
+ * - `id`: The identifier of the asset.
9364
+ * - `reserves`: The full list of trusted reserves information.
9365
+ *
9366
+ * Emits `AssetMinBalanceChanged` event when successful.
9367
+ **/
9368
+ | {
9369
+ name: 'SetReserves';
9370
+ params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
9371
+ };
9372
+
9373
+ export type AssetsCommonLocalAndForeignAssetsForeignAssetReserveData = {
9374
+ reserve: StagingXcmV5Location;
9375
+ teleportable: boolean;
9376
+ };
9225
9377
 
9226
9378
  /**
9227
9379
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9790,7 +9942,19 @@ export type PalletAssetsCall003 =
9790
9942
  * (false), or transfer everything except at least the minimum balance, which will
9791
9943
  * guarantee to keep the sender asset account alive (true).
9792
9944
  **/
9793
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
9945
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
9946
+ /**
9947
+ * Sets the trusted reserve information of an asset.
9948
+ *
9949
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
9950
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
9951
+ *
9952
+ * - `id`: The identifier of the asset.
9953
+ * - `reserves`: The full list of trusted reserves information.
9954
+ *
9955
+ * Emits `AssetMinBalanceChanged` event when successful.
9956
+ **/
9957
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
9794
9958
 
9795
9959
  export type PalletAssetsCallLike003 =
9796
9960
  /**
@@ -10362,7 +10526,19 @@ export type PalletAssetsCallLike003 =
10362
10526
  * (false), or transfer everything except at least the minimum balance, which will
10363
10527
  * guarantee to keep the sender asset account alive (true).
10364
10528
  **/
10365
- | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
10529
+ | { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
10530
+ /**
10531
+ * Sets the trusted reserve information of an asset.
10532
+ *
10533
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
10534
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
10535
+ *
10536
+ * - `id`: The identifier of the asset.
10537
+ * - `reserves`: The full list of trusted reserves information.
10538
+ *
10539
+ * Emits `AssetMinBalanceChanged` event when successful.
10540
+ **/
10541
+ | { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
10366
10542
 
10367
10543
  /**
10368
10544
  * Pallet's callable functions.
@@ -12062,149 +12238,670 @@ export type PalletAssetRateCallLike =
12062
12238
  /**
12063
12239
  * Contains a variant per dispatchable extrinsic that this pallet has.
12064
12240
  **/
12065
- export type PalletStateTrieMigrationCall =
12241
+ export type PalletMultiAssetBountiesCall =
12066
12242
  /**
12067
- * Control the automatic migration.
12243
+ * Fund a new bounty with a proposed curator, initiating the payment from the
12244
+ * funding source to the bounty account/location.
12068
12245
  *
12069
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
12070
- **/
12071
- | { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
12072
- /**
12073
- * Continue the migration for the given `limits`.
12246
+ * ## Dispatch Origin
12074
12247
  *
12075
- * The dispatch origin of this call can be any signed account.
12248
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
12249
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
12250
+ * The converted native amount is validated against the maximum spendable amount
12251
+ * returned by [`Config::SpendOrigin`].
12076
12252
  *
12077
- * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
12078
- * Upon successful execution, the transaction fee is returned.
12253
+ * ## Details
12079
12254
  *
12080
- * The (potentially over-estimated) of the byte length of all the data read must be
12081
- * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
12082
- * that executing the current `MigrationTask` with the given `limits` will not exceed
12083
- * `real_size_upper` bytes of read data.
12255
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
12256
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
12257
+ * - In case of a funding failure, the bounty status must be updated with the
12258
+ * `check_status` call before retrying with `retry_payment` call.
12084
12259
  *
12085
- * The `witness_task` is merely a helper to prevent the caller from being slashed or
12086
- * generally trigger a migration that they do not intend. This parameter is just a message
12087
- * from caller, saying that they believed `witness_task` was the last state of the
12088
- * migration, and they only wish for their transaction to do anything, if this assumption
12089
- * holds. In case `witness_task` does not match, the transaction fails.
12260
+ * ### Parameters
12261
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
12262
+ * - `value`: The total payment amount of this bounty.
12263
+ * - `curator`: Address of bounty curator.
12264
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
12090
12265
  *
12091
- * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
12092
- * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
12093
- * `size` limit can always be overwritten.
12266
+ * ## Events
12267
+ *
12268
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
12094
12269
  **/
12095
12270
  | {
12096
- name: 'ContinueMigrate';
12271
+ name: 'FundBounty';
12097
12272
  params: {
12098
- limits: PalletStateTrieMigrationMigrationLimits;
12099
- realSizeUpper: number;
12100
- witnessTask: PalletStateTrieMigrationMigrationTask;
12273
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
12274
+ value: bigint;
12275
+ curator: MultiAddress;
12276
+ metadata: H256;
12101
12277
  };
12102
12278
  }
12103
12279
  /**
12104
- * Migrate the list of top keys by iterating each of them one by one.
12280
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
12281
+ * bounty to the child-bounty account/location.
12105
12282
  *
12106
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12107
- * should only be used in case any keys are leftover due to a bug.
12108
- **/
12109
- | { name: 'MigrateCustomTop'; params: { keys: Array<Bytes>; witnessSize: number } }
12110
- /**
12111
- * Migrate the list of child keys by iterating each of them one by one.
12283
+ * ## Dispatch Origin
12112
12284
  *
12113
- * All of the given child keys must be present under one `child_root`.
12285
+ * Must be signed by the parent curator.
12114
12286
  *
12115
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12116
- * should only be used in case any keys are leftover due to a bug.
12287
+ * ## Details
12288
+ *
12289
+ * - If `curator` is not provided, the child-bounty will default to using the parent
12290
+ * curator, allowing the parent curator to immediately call `check_status` and
12291
+ * `award_bounty` to payout the child-bounty.
12292
+ * - In case of a funding failure, the child-/bounty status must be updated with the
12293
+ * `check_status` call before retrying with `retry_payment` call.
12294
+ *
12295
+ * ### Parameters
12296
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
12297
+ * - `value`: The payment amount of this child-bounty.
12298
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
12299
+ * - `curator`: Address of child-bounty curator.
12300
+ *
12301
+ * ## Events
12302
+ *
12303
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
12117
12304
  **/
12118
- | { name: 'MigrateCustomChild'; params: { root: Bytes; childKeys: Array<Bytes>; totalSize: number } }
12305
+ | {
12306
+ name: 'FundChildBounty';
12307
+ params: { parentBountyId: number; value: bigint; metadata: H256; curator?: MultiAddress | undefined };
12308
+ }
12119
12309
  /**
12120
- * Set the maximum limit of the signed migration.
12310
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
12311
+ *
12312
+ * ## Dispatch Origin
12313
+ *
12314
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
12315
+ * for a child-bounty.
12316
+ *
12317
+ * ## Details
12318
+ *
12319
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
12320
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
12321
+ * curator.
12322
+ *
12323
+ * ### Parameters
12324
+ * - `parent_bounty_id`: Index of bounty.
12325
+ * - `child_bounty_id`: Index of child-bounty.
12326
+ * - `curator`: Account to be proposed as the curator.
12327
+ *
12328
+ * ## Events
12329
+ *
12330
+ * Emits [`Event::CuratorProposed`] if successful.
12121
12331
  **/
12122
- | { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
12332
+ | {
12333
+ name: 'ProposeCurator';
12334
+ params: { parentBountyId: number; childBountyId?: number | undefined; curator: MultiAddress };
12335
+ }
12123
12336
  /**
12124
- * Forcefully set the progress the running migration.
12337
+ * Accept the curator role for a child-/bounty.
12125
12338
  *
12126
- * This is only useful in one case: the next key to migrate is too big to be migrated with
12127
- * a signed account, in a parachain context, and we simply want to skip it. A reasonable
12128
- * example of this would be `:code:`, which is both very expensive to migrate, and commonly
12129
- * used, so probably it is already migrated.
12339
+ * ## Dispatch Origin
12130
12340
  *
12131
- * In case you mess things up, you can also, in principle, use this to reset the migration
12132
- * process.
12341
+ * Must be signed by the proposed curator.
12342
+ *
12343
+ * ## Details
12344
+ *
12345
+ * - The child-/bounty must be in the `Funded` state.
12346
+ * - The curator must accept the role by calling this function.
12347
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
12348
+ *
12349
+ * ### Parameters
12350
+ * - `parent_bounty_id`: Index of parent bounty.
12351
+ * - `child_bounty_id`: Index of child-bounty.
12352
+ *
12353
+ * ## Events
12354
+ *
12355
+ * Emits [`Event::BountyBecameActive`] if successful.
12133
12356
  **/
12134
- | {
12135
- name: 'ForceSetProgress';
12136
- params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
12137
- };
12138
-
12139
- export type PalletStateTrieMigrationCallLike =
12357
+ | { name: 'AcceptCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12140
12358
  /**
12141
- * Control the automatic migration.
12359
+ * Unassign curator from a child-/bounty.
12142
12360
  *
12143
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
12361
+ * ## Dispatch Origin
12362
+ *
12363
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12364
+ *
12365
+ * ## Details
12366
+ *
12367
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
12368
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
12369
+ * we will slash the curator when possible.
12370
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
12371
+ * do their job and they willingly give up. We could slash them, but for now we allow
12372
+ * them to recover their deposit and exit without issue. (We may want to change this if
12373
+ * it is abused).
12374
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
12375
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
12376
+ *
12377
+ * ### Parameters
12378
+ * - `parent_bounty_id`: Index of parent bounty.
12379
+ * - `child_bounty_id`: Index of child-bounty.
12380
+ *
12381
+ * ## Events
12382
+ *
12383
+ * Emits [`Event::CuratorUnassigned`] if successful.
12144
12384
  **/
12145
- | { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
12385
+ | { name: 'UnassignCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12146
12386
  /**
12147
- * Continue the migration for the given `limits`.
12387
+ * Awards the child-/bounty to a beneficiary account/location,
12388
+ * initiating the payout payments to both the beneficiary and the curator.
12148
12389
  *
12149
- * The dispatch origin of this call can be any signed account.
12390
+ * ## Dispatch Origin
12150
12391
  *
12151
- * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
12152
- * Upon successful execution, the transaction fee is returned.
12392
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12153
12393
  *
12154
- * The (potentially over-estimated) of the byte length of all the data read must be
12155
- * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
12156
- * that executing the current `MigrationTask` with the given `limits` will not exceed
12157
- * `real_size_upper` bytes of read data.
12394
+ * ## Details
12158
12395
  *
12159
- * The `witness_task` is merely a helper to prevent the caller from being slashed or
12160
- * generally trigger a migration that they do not intend. This parameter is just a message
12161
- * from caller, saying that they believed `witness_task` was the last state of the
12162
- * migration, and they only wish for their transaction to do anything, if this assumption
12163
- * holds. In case `witness_task` does not match, the transaction fails.
12396
+ * - The child-/bounty must be in the `Active` state.
12397
+ * - if awarding a parent bounty it must not have active or funded child bounties.
12398
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
12399
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
12400
+ * - In case of a payout failure, the child-/bounty status must be updated with
12401
+ * `check_status` call before retrying with `retry_payment` call.
12164
12402
  *
12165
- * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
12166
- * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
12167
- * `size` limit can always be overwritten.
12403
+ * ### Parameters
12404
+ * - `parent_bounty_id`: Index of parent bounty.
12405
+ * - `child_bounty_id`: Index of child-bounty.
12406
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
12407
+ *
12408
+ * ## Events
12409
+ *
12410
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
12168
12411
  **/
12169
12412
  | {
12170
- name: 'ContinueMigrate';
12413
+ name: 'AwardBounty';
12171
12414
  params: {
12172
- limits: PalletStateTrieMigrationMigrationLimits;
12173
- realSizeUpper: number;
12174
- witnessTask: PalletStateTrieMigrationMigrationTask;
12415
+ parentBountyId: number;
12416
+ childBountyId?: number | undefined;
12417
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
12175
12418
  };
12176
12419
  }
12177
12420
  /**
12178
- * Migrate the list of top keys by iterating each of them one by one.
12421
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
12422
+ * initialized.
12179
12423
  *
12180
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12181
- * should only be used in case any keys are leftover due to a bug.
12182
- **/
12183
- | { name: 'MigrateCustomTop'; params: { keys: Array<BytesLike>; witnessSize: number } }
12184
- /**
12185
- * Migrate the list of child keys by iterating each of them one by one.
12424
+ * ## Dispatch Origin
12186
12425
  *
12187
- * All of the given child keys must be present under one `child_root`.
12426
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
12188
12427
  *
12189
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12190
- * should only be used in case any keys are leftover due to a bug.
12191
- **/
12192
- | { name: 'MigrateCustomChild'; params: { root: BytesLike; childKeys: Array<BytesLike>; totalSize: number } }
12193
- /**
12194
- * Set the maximum limit of the signed migration.
12428
+ * ## Details
12429
+ *
12430
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
12431
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
12432
+ * child-/bounty status is updated with the curator account/location.
12433
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
12434
+ * - In case of a refund failure, the child-/bounty status must be updated with the
12435
+ * `check_status` call before retrying with `retry_payment` call.
12436
+ *
12437
+ * ### Parameters
12438
+ * - `parent_bounty_id`: Index of parent bounty.
12439
+ * - `child_bounty_id`: Index of child-bounty.
12440
+ *
12441
+ * ## Events
12442
+ *
12443
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
12195
12444
  **/
12196
- | { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
12445
+ | { name: 'CloseBounty'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12197
12446
  /**
12198
- * Forcefully set the progress the running migration.
12447
+ * Check and update the payment status of a child-/bounty.
12199
12448
  *
12200
- * This is only useful in one case: the next key to migrate is too big to be migrated with
12201
- * a signed account, in a parachain context, and we simply want to skip it. A reasonable
12202
- * example of this would be `:code:`, which is both very expensive to migrate, and commonly
12203
- * used, so probably it is already migrated.
12449
+ * ## Dispatch Origin
12204
12450
  *
12205
- * In case you mess things up, you can also, in principle, use this to reset the migration
12206
- * process.
12207
- **/
12451
+ * Must be signed.
12452
+ *
12453
+ * ## Details
12454
+ *
12455
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
12456
+ * has succeeded. If successful, the bounty status becomes `Funded`.
12457
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
12458
+ * succeeded. If successful, the child-/bounty is removed from storage.
12459
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
12460
+ * succeeded. If successful, the child-/bounty is removed from storage.
12461
+ *
12462
+ * ### Parameters
12463
+ * - `parent_bounty_id`: Index of parent bounty.
12464
+ * - `child_bounty_id`: Index of child-bounty.
12465
+ *
12466
+ * ## Events
12467
+ *
12468
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
12469
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
12470
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
12471
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
12472
+ **/
12473
+ | { name: 'CheckStatus'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12474
+ /**
12475
+ * Retry the funding, refund or payout payments.
12476
+ *
12477
+ * ## Dispatch Origin
12478
+ *
12479
+ * Must be signed.
12480
+ *
12481
+ * ## Details
12482
+ *
12483
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
12484
+ * funding source the child-/bounty account/location.
12485
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
12486
+ * the child-/bounty account/location to the funding source.
12487
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
12488
+ * the child-/bounty account/location to the beneficiary account/location.
12489
+ *
12490
+ * ### Parameters
12491
+ * - `parent_bounty_id`: Index of parent bounty.
12492
+ * - `child_bounty_id`: Index of child-bounty.
12493
+ *
12494
+ * ## Events
12495
+ *
12496
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
12497
+ **/
12498
+ | { name: 'RetryPayment'; params: { parentBountyId: number; childBountyId?: number | undefined } };
12499
+
12500
+ export type PalletMultiAssetBountiesCallLike =
12501
+ /**
12502
+ * Fund a new bounty with a proposed curator, initiating the payment from the
12503
+ * funding source to the bounty account/location.
12504
+ *
12505
+ * ## Dispatch Origin
12506
+ *
12507
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
12508
+ * the bounty value converted to native balance using [`Config::BalanceConverter`].
12509
+ * The converted native amount is validated against the maximum spendable amount
12510
+ * returned by [`Config::SpendOrigin`].
12511
+ *
12512
+ * ## Details
12513
+ *
12514
+ * - The `SpendOrigin` must have sufficient permissions to fund the bounty.
12515
+ * - The bounty `value` (in asset balance) is converted to native balance for validation.
12516
+ * - In case of a funding failure, the bounty status must be updated with the
12517
+ * `check_status` call before retrying with `retry_payment` call.
12518
+ *
12519
+ * ### Parameters
12520
+ * - `asset_kind`: An indicator of the specific asset class to be funded.
12521
+ * - `value`: The total payment amount of this bounty.
12522
+ * - `curator`: Address of bounty curator.
12523
+ * - `metadata`: The hash of an on-chain stored preimage with bounty metadata.
12524
+ *
12525
+ * ## Events
12526
+ *
12527
+ * Emits [`Event::BountyCreated`] and [`Event::Paid`] if successful.
12528
+ **/
12529
+ | {
12530
+ name: 'FundBounty';
12531
+ params: {
12532
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
12533
+ value: bigint;
12534
+ curator: MultiAddressLike;
12535
+ metadata: H256;
12536
+ };
12537
+ }
12538
+ /**
12539
+ * Fund a new child-bounty with a proposed curator, initiating the payment from the parent
12540
+ * bounty to the child-bounty account/location.
12541
+ *
12542
+ * ## Dispatch Origin
12543
+ *
12544
+ * Must be signed by the parent curator.
12545
+ *
12546
+ * ## Details
12547
+ *
12548
+ * - If `curator` is not provided, the child-bounty will default to using the parent
12549
+ * curator, allowing the parent curator to immediately call `check_status` and
12550
+ * `award_bounty` to payout the child-bounty.
12551
+ * - In case of a funding failure, the child-/bounty status must be updated with the
12552
+ * `check_status` call before retrying with `retry_payment` call.
12553
+ *
12554
+ * ### Parameters
12555
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
12556
+ * - `value`: The payment amount of this child-bounty.
12557
+ * - `metadata`: The hash of an on-chain stored preimage with child-bounty metadata.
12558
+ * - `curator`: Address of child-bounty curator.
12559
+ *
12560
+ * ## Events
12561
+ *
12562
+ * Emits [`Event::ChildBountyCreated`] and [`Event::Paid`] if successful.
12563
+ **/
12564
+ | {
12565
+ name: 'FundChildBounty';
12566
+ params: { parentBountyId: number; value: bigint; metadata: H256; curator?: MultiAddressLike | undefined };
12567
+ }
12568
+ /**
12569
+ * Propose a new curator for a child-/bounty after the previous was unassigned.
12570
+ *
12571
+ * ## Dispatch Origin
12572
+ *
12573
+ * Must be signed by `T::SpendOrigin` for a bounty, or by the parent bounty curator
12574
+ * for a child-bounty.
12575
+ *
12576
+ * ## Details
12577
+ *
12578
+ * - The child-/bounty must be in the `CuratorUnassigned` state.
12579
+ * - For a bounty, the `SpendOrigin` must have sufficient permissions to propose the
12580
+ * curator.
12581
+ *
12582
+ * ### Parameters
12583
+ * - `parent_bounty_id`: Index of bounty.
12584
+ * - `child_bounty_id`: Index of child-bounty.
12585
+ * - `curator`: Account to be proposed as the curator.
12586
+ *
12587
+ * ## Events
12588
+ *
12589
+ * Emits [`Event::CuratorProposed`] if successful.
12590
+ **/
12591
+ | {
12592
+ name: 'ProposeCurator';
12593
+ params: { parentBountyId: number; childBountyId?: number | undefined; curator: MultiAddressLike };
12594
+ }
12595
+ /**
12596
+ * Accept the curator role for a child-/bounty.
12597
+ *
12598
+ * ## Dispatch Origin
12599
+ *
12600
+ * Must be signed by the proposed curator.
12601
+ *
12602
+ * ## Details
12603
+ *
12604
+ * - The child-/bounty must be in the `Funded` state.
12605
+ * - The curator must accept the role by calling this function.
12606
+ * - A deposit will be reserved from the curator and refunded upon successful payout.
12607
+ *
12608
+ * ### Parameters
12609
+ * - `parent_bounty_id`: Index of parent bounty.
12610
+ * - `child_bounty_id`: Index of child-bounty.
12611
+ *
12612
+ * ## Events
12613
+ *
12614
+ * Emits [`Event::BountyBecameActive`] if successful.
12615
+ **/
12616
+ | { name: 'AcceptCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12617
+ /**
12618
+ * Unassign curator from a child-/bounty.
12619
+ *
12620
+ * ## Dispatch Origin
12621
+ *
12622
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12623
+ *
12624
+ * ## Details
12625
+ *
12626
+ * - If this function is called by the `RejectOrigin`, or by the parent curator in the case
12627
+ * of a child bounty, we assume that the curator is malicious or inactive. As a result,
12628
+ * we will slash the curator when possible.
12629
+ * - If the origin is the child-/bounty curator, we take this as a sign they are unable to
12630
+ * do their job and they willingly give up. We could slash them, but for now we allow
12631
+ * them to recover their deposit and exit without issue. (We may want to change this if
12632
+ * it is abused).
12633
+ * - If successful, the child-/bounty status is updated to `CuratorUnassigned`. To
12634
+ * reactivate the bounty, a new curator must be proposed and must accept the role.
12635
+ *
12636
+ * ### Parameters
12637
+ * - `parent_bounty_id`: Index of parent bounty.
12638
+ * - `child_bounty_id`: Index of child-bounty.
12639
+ *
12640
+ * ## Events
12641
+ *
12642
+ * Emits [`Event::CuratorUnassigned`] if successful.
12643
+ **/
12644
+ | { name: 'UnassignCurator'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12645
+ /**
12646
+ * Awards the child-/bounty to a beneficiary account/location,
12647
+ * initiating the payout payments to both the beneficiary and the curator.
12648
+ *
12649
+ * ## Dispatch Origin
12650
+ *
12651
+ * This function can only be called by the `RejectOrigin` or the child-/bounty curator.
12652
+ *
12653
+ * ## Details
12654
+ *
12655
+ * - The child-/bounty must be in the `Active` state.
12656
+ * - if awarding a parent bounty it must not have active or funded child bounties.
12657
+ * - Initiates payout payment from the child-/bounty to the beneficiary account/location.
12658
+ * - If successful the child-/bounty status is updated to `PayoutAttempted`.
12659
+ * - In case of a payout failure, the child-/bounty status must be updated with
12660
+ * `check_status` call before retrying with `retry_payment` call.
12661
+ *
12662
+ * ### Parameters
12663
+ * - `parent_bounty_id`: Index of parent bounty.
12664
+ * - `child_bounty_id`: Index of child-bounty.
12665
+ * - `beneficiary`: Account/location to be awarded the child-/bounty.
12666
+ *
12667
+ * ## Events
12668
+ *
12669
+ * Emits [`Event::BountyAwarded`] and [`Event::Paid`] if successful.
12670
+ **/
12671
+ | {
12672
+ name: 'AwardBounty';
12673
+ params: {
12674
+ parentBountyId: number;
12675
+ childBountyId?: number | undefined;
12676
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
12677
+ };
12678
+ }
12679
+ /**
12680
+ * Cancel an active child-/bounty. A payment to send all the funds to the funding source is
12681
+ * initialized.
12682
+ *
12683
+ * ## Dispatch Origin
12684
+ *
12685
+ * This function can only be called by the `RejectOrigin` or the parent bounty curator.
12686
+ *
12687
+ * ## Details
12688
+ *
12689
+ * - If the child-/bounty is in the `Funded` state, a refund payment is initiated.
12690
+ * - If the child-/bounty is in the `Active` state, a refund payment is initiated and the
12691
+ * child-/bounty status is updated with the curator account/location.
12692
+ * - If the child-/bounty is in the funding or payout phase, it cannot be canceled.
12693
+ * - In case of a refund failure, the child-/bounty status must be updated with the
12694
+ * `check_status` call before retrying with `retry_payment` call.
12695
+ *
12696
+ * ### Parameters
12697
+ * - `parent_bounty_id`: Index of parent bounty.
12698
+ * - `child_bounty_id`: Index of child-bounty.
12699
+ *
12700
+ * ## Events
12701
+ *
12702
+ * Emits [`Event::BountyCanceled`] and [`Event::Paid`] if successful.
12703
+ **/
12704
+ | { name: 'CloseBounty'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12705
+ /**
12706
+ * Check and update the payment status of a child-/bounty.
12707
+ *
12708
+ * ## Dispatch Origin
12709
+ *
12710
+ * Must be signed.
12711
+ *
12712
+ * ## Details
12713
+ *
12714
+ * - If the child-/bounty status is `FundingAttempted`, it checks if the funding payment
12715
+ * has succeeded. If successful, the bounty status becomes `Funded`.
12716
+ * - If the child-/bounty status is `RefundAttempted`, it checks if the refund payment has
12717
+ * succeeded. If successful, the child-/bounty is removed from storage.
12718
+ * - If the child-/bounty status is `PayoutAttempted`, it checks if the payout payment has
12719
+ * succeeded. If successful, the child-/bounty is removed from storage.
12720
+ *
12721
+ * ### Parameters
12722
+ * - `parent_bounty_id`: Index of parent bounty.
12723
+ * - `child_bounty_id`: Index of child-bounty.
12724
+ *
12725
+ * ## Events
12726
+ *
12727
+ * Emits [`Event::BountyBecameActive`] if the child/bounty status transitions to `Active`.
12728
+ * Emits [`Event::BountyRefundProcessed`] if the refund payment has succeed.
12729
+ * Emits [`Event::BountyPayoutProcessed`] if the payout payment has succeed.
12730
+ * Emits [`Event::PaymentFailed`] if the funding, refund our payment payment has failed.
12731
+ **/
12732
+ | { name: 'CheckStatus'; params: { parentBountyId: number; childBountyId?: number | undefined } }
12733
+ /**
12734
+ * Retry the funding, refund or payout payments.
12735
+ *
12736
+ * ## Dispatch Origin
12737
+ *
12738
+ * Must be signed.
12739
+ *
12740
+ * ## Details
12741
+ *
12742
+ * - If the child-/bounty status is `FundingAttempted`, it retries the funding payment from
12743
+ * funding source the child-/bounty account/location.
12744
+ * - If the child-/bounty status is `RefundAttempted`, it retries the refund payment from
12745
+ * the child-/bounty account/location to the funding source.
12746
+ * - If the child-/bounty status is `PayoutAttempted`, it retries the payout payment from
12747
+ * the child-/bounty account/location to the beneficiary account/location.
12748
+ *
12749
+ * ### Parameters
12750
+ * - `parent_bounty_id`: Index of parent bounty.
12751
+ * - `child_bounty_id`: Index of child-bounty.
12752
+ *
12753
+ * ## Events
12754
+ *
12755
+ * Emits [`Event::Paid`] if the funding, refund or payout payment has initiated.
12756
+ **/
12757
+ | { name: 'RetryPayment'; params: { parentBountyId: number; childBountyId?: number | undefined } };
12758
+
12759
+ /**
12760
+ * Contains a variant per dispatchable extrinsic that this pallet has.
12761
+ **/
12762
+ export type PalletStateTrieMigrationCall =
12763
+ /**
12764
+ * Control the automatic migration.
12765
+ *
12766
+ * The dispatch origin of this call must be [`Config::ControlOrigin`].
12767
+ **/
12768
+ | { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
12769
+ /**
12770
+ * Continue the migration for the given `limits`.
12771
+ *
12772
+ * The dispatch origin of this call can be any signed account.
12773
+ *
12774
+ * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
12775
+ * Upon successful execution, the transaction fee is returned.
12776
+ *
12777
+ * The (potentially over-estimated) of the byte length of all the data read must be
12778
+ * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
12779
+ * that executing the current `MigrationTask` with the given `limits` will not exceed
12780
+ * `real_size_upper` bytes of read data.
12781
+ *
12782
+ * The `witness_task` is merely a helper to prevent the caller from being slashed or
12783
+ * generally trigger a migration that they do not intend. This parameter is just a message
12784
+ * from caller, saying that they believed `witness_task` was the last state of the
12785
+ * migration, and they only wish for their transaction to do anything, if this assumption
12786
+ * holds. In case `witness_task` does not match, the transaction fails.
12787
+ *
12788
+ * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
12789
+ * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
12790
+ * `size` limit can always be overwritten.
12791
+ **/
12792
+ | {
12793
+ name: 'ContinueMigrate';
12794
+ params: {
12795
+ limits: PalletStateTrieMigrationMigrationLimits;
12796
+ realSizeUpper: number;
12797
+ witnessTask: PalletStateTrieMigrationMigrationTask;
12798
+ };
12799
+ }
12800
+ /**
12801
+ * Migrate the list of top keys by iterating each of them one by one.
12802
+ *
12803
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12804
+ * should only be used in case any keys are leftover due to a bug.
12805
+ **/
12806
+ | { name: 'MigrateCustomTop'; params: { keys: Array<Bytes>; witnessSize: number } }
12807
+ /**
12808
+ * Migrate the list of child keys by iterating each of them one by one.
12809
+ *
12810
+ * All of the given child keys must be present under one `child_root`.
12811
+ *
12812
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12813
+ * should only be used in case any keys are leftover due to a bug.
12814
+ **/
12815
+ | { name: 'MigrateCustomChild'; params: { root: Bytes; childKeys: Array<Bytes>; totalSize: number } }
12816
+ /**
12817
+ * Set the maximum limit of the signed migration.
12818
+ **/
12819
+ | { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
12820
+ /**
12821
+ * Forcefully set the progress the running migration.
12822
+ *
12823
+ * This is only useful in one case: the next key to migrate is too big to be migrated with
12824
+ * a signed account, in a parachain context, and we simply want to skip it. A reasonable
12825
+ * example of this would be `:code:`, which is both very expensive to migrate, and commonly
12826
+ * used, so probably it is already migrated.
12827
+ *
12828
+ * In case you mess things up, you can also, in principle, use this to reset the migration
12829
+ * process.
12830
+ **/
12831
+ | {
12832
+ name: 'ForceSetProgress';
12833
+ params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
12834
+ };
12835
+
12836
+ export type PalletStateTrieMigrationCallLike =
12837
+ /**
12838
+ * Control the automatic migration.
12839
+ *
12840
+ * The dispatch origin of this call must be [`Config::ControlOrigin`].
12841
+ **/
12842
+ | { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
12843
+ /**
12844
+ * Continue the migration for the given `limits`.
12845
+ *
12846
+ * The dispatch origin of this call can be any signed account.
12847
+ *
12848
+ * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
12849
+ * Upon successful execution, the transaction fee is returned.
12850
+ *
12851
+ * The (potentially over-estimated) of the byte length of all the data read must be
12852
+ * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
12853
+ * that executing the current `MigrationTask` with the given `limits` will not exceed
12854
+ * `real_size_upper` bytes of read data.
12855
+ *
12856
+ * The `witness_task` is merely a helper to prevent the caller from being slashed or
12857
+ * generally trigger a migration that they do not intend. This parameter is just a message
12858
+ * from caller, saying that they believed `witness_task` was the last state of the
12859
+ * migration, and they only wish for their transaction to do anything, if this assumption
12860
+ * holds. In case `witness_task` does not match, the transaction fails.
12861
+ *
12862
+ * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
12863
+ * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
12864
+ * `size` limit can always be overwritten.
12865
+ **/
12866
+ | {
12867
+ name: 'ContinueMigrate';
12868
+ params: {
12869
+ limits: PalletStateTrieMigrationMigrationLimits;
12870
+ realSizeUpper: number;
12871
+ witnessTask: PalletStateTrieMigrationMigrationTask;
12872
+ };
12873
+ }
12874
+ /**
12875
+ * Migrate the list of top keys by iterating each of them one by one.
12876
+ *
12877
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12878
+ * should only be used in case any keys are leftover due to a bug.
12879
+ **/
12880
+ | { name: 'MigrateCustomTop'; params: { keys: Array<BytesLike>; witnessSize: number } }
12881
+ /**
12882
+ * Migrate the list of child keys by iterating each of them one by one.
12883
+ *
12884
+ * All of the given child keys must be present under one `child_root`.
12885
+ *
12886
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
12887
+ * should only be used in case any keys are leftover due to a bug.
12888
+ **/
12889
+ | { name: 'MigrateCustomChild'; params: { root: BytesLike; childKeys: Array<BytesLike>; totalSize: number } }
12890
+ /**
12891
+ * Set the maximum limit of the signed migration.
12892
+ **/
12893
+ | { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
12894
+ /**
12895
+ * Forcefully set the progress the running migration.
12896
+ *
12897
+ * This is only useful in one case: the next key to migrate is too big to be migrated with
12898
+ * a signed account, in a parachain context, and we simply want to skip it. A reasonable
12899
+ * example of this would be `:code:`, which is both very expensive to migrate, and commonly
12900
+ * used, so probably it is already migrated.
12901
+ *
12902
+ * In case you mess things up, you can also, in principle, use this to reset the migration
12903
+ * process.
12904
+ **/
12208
12905
  | {
12209
12906
  name: 'ForceSetProgress';
12210
12907
  params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
@@ -13084,14 +13781,147 @@ export type PalletStakingAsyncRcClientCall =
13084
13781
  * Called to indicate the start of a new session on the relay chain.
13085
13782
  **/
13086
13783
  | { name: 'RelaySessionReport'; params: { report: PalletStakingAsyncRcClientSessionReport } }
13087
- | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } };
13784
+ | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } }
13785
+ /**
13786
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
13787
+ *
13788
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
13789
+ * do not charge again. The deposit is released on `purge_keys`.
13790
+ *
13791
+ * **Validation on AssetHub:**
13792
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13793
+ * format.
13794
+ *
13795
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
13796
+ * since RC trusts AH's validation.
13797
+ *
13798
+ * Note: Ownership proof validation requires PR #1739 which is not backported to
13799
+ * stable2512. The proof parameter will be added when that PR is backported.
13800
+ *
13801
+ * **Fees:**
13802
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13803
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
13804
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
13805
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13806
+ *
13807
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13808
+ * while the stash (delegating account) pays the XCM fee.
13809
+ *
13810
+ * **Max Fee Limit:**
13811
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13812
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13813
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13814
+ * unlimited (no cap).
13815
+ *
13816
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
13817
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
13818
+ * set keys before declaring intent to validate will fail with NotValidator.
13819
+ **/
13820
+ | { name: 'SetKeys'; params: { keys: Bytes; proof: Bytes; maxDeliveryAndRemoteExecutionFee?: bigint | undefined } }
13821
+ /**
13822
+ * Remove session keys for a validator and release the key deposit.
13823
+ *
13824
+ * This purges the keys from the Relay Chain.
13825
+ *
13826
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
13827
+ * This is intentional: a validator who has chilled (stopped validating) should still
13828
+ * be able to purge their session keys. This matches the behavior of the original
13829
+ * `pallet-session::purge_keys` which allows anyone to call it.
13830
+ *
13831
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
13832
+ * keys set.
13833
+ *
13834
+ * **Fees:**
13835
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13836
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
13837
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
13838
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13839
+ *
13840
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13841
+ * while the delegating account pays the XCM fee.
13842
+ *
13843
+ * **Max Fee Limit:**
13844
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13845
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13846
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13847
+ * unlimited (no cap).
13848
+ **/
13849
+ | { name: 'PurgeKeys'; params: { maxDeliveryAndRemoteExecutionFee?: bigint | undefined } };
13088
13850
 
13089
13851
  export type PalletStakingAsyncRcClientCallLike =
13090
13852
  /**
13091
13853
  * Called to indicate the start of a new session on the relay chain.
13092
13854
  **/
13093
13855
  | { name: 'RelaySessionReport'; params: { report: PalletStakingAsyncRcClientSessionReport } }
13094
- | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } };
13856
+ | { name: 'RelayNewOffencePaged'; params: { offences: Array<[number, PalletStakingAsyncRcClientOffence]> } }
13857
+ /**
13858
+ * Set session keys for a validator. Keys are validated on AssetHub and forwarded to RC.
13859
+ *
13860
+ * On the first call, a deposit of `KeyDeposit` is held from the stash. Subsequent calls
13861
+ * do not charge again. The deposit is released on `purge_keys`.
13862
+ *
13863
+ * **Validation on AssetHub:**
13864
+ * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13865
+ * format.
13866
+ *
13867
+ * If validation passes, only the validated keys are sent to RC (with empty proof),
13868
+ * since RC trusts AH's validation.
13869
+ *
13870
+ * Note: Ownership proof validation requires PR #1739 which is not backported to
13871
+ * stable2512. The proof parameter will be added when that PR is backported.
13872
+ *
13873
+ * **Fees:**
13874
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13875
+ * In addition to the local transaction weight fee, the stash account is charged an XCM
13876
+ * fee (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain
13877
+ * uses `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13878
+ *
13879
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13880
+ * while the stash (delegating account) pays the XCM fee.
13881
+ *
13882
+ * **Max Fee Limit:**
13883
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13884
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13885
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13886
+ * unlimited (no cap).
13887
+ *
13888
+ * NOTE: unlike the current flow for new validators on RC (bond -> set_keys -> validate),
13889
+ * users on Asset Hub MUST call bond and validate BEFORE calling set_keys. Attempting to
13890
+ * set keys before declaring intent to validate will fail with NotValidator.
13891
+ **/
13892
+ | {
13893
+ name: 'SetKeys';
13894
+ params: { keys: BytesLike; proof: BytesLike; maxDeliveryAndRemoteExecutionFee?: bigint | undefined };
13895
+ }
13896
+ /**
13897
+ * Remove session keys for a validator and release the key deposit.
13898
+ *
13899
+ * This purges the keys from the Relay Chain.
13900
+ *
13901
+ * Unlike `set_keys`, this does not require the caller to be a registered validator.
13902
+ * This is intentional: a validator who has chilled (stopped validating) should still
13903
+ * be able to purge their session keys. This matches the behavior of the original
13904
+ * `pallet-session::purge_keys` which allows anyone to call it.
13905
+ *
13906
+ * The Relay Chain will reject the call with `NoKeys` error if the account has no
13907
+ * keys set.
13908
+ *
13909
+ * **Fees:**
13910
+ * The actual cost of this call is higher than what the weight-based fee estimate shows.
13911
+ * In addition to the local transaction weight fee, the caller is charged an XCM fee
13912
+ * (delivery + RC execution cost) via `XcmExecutor::charge_fees`. The relay chain uses
13913
+ * `UnpaidExecution`, so the full remote cost is charged upfront on AssetHub.
13914
+ *
13915
+ * When called via a staking proxy, the proxy pays the transaction weight fee,
13916
+ * while the delegating account pays the XCM fee.
13917
+ *
13918
+ * **Max Fee Limit:**
13919
+ * Users can optionally specify `max_delivery_and_remote_execution_fee` to limit the
13920
+ * delivery + RC execution fee. This does not include the local transaction weight fee. If
13921
+ * the fee exceeds this limit, the operation fails with `FeesExceededMax`. Pass `None` for
13922
+ * unlimited (no cap).
13923
+ **/
13924
+ | { name: 'PurgeKeys'; params: { maxDeliveryAndRemoteExecutionFee?: bigint | undefined } };
13095
13925
 
13096
13926
  export type PalletStakingAsyncRcClientSessionReport = {
13097
13927
  endIndex: number;
@@ -13258,7 +14088,7 @@ export type PalletElectionProviderMultiBlockSignedPalletCall =
13258
14088
  /**
13259
14089
  * Retract a submission.
13260
14090
  *
13261
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
14091
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
13262
14092
  *
13263
14093
  * This will fully remove the solution from storage.
13264
14094
  **/
@@ -13301,7 +14131,7 @@ export type PalletElectionProviderMultiBlockSignedPalletCallLike =
13301
14131
  /**
13302
14132
  * Retract a submission.
13303
14133
  *
13304
- * A portion of the deposit may be returned, based on the [`Config::BailoutGraceRatio`].
14134
+ * A portion of the deposit may be returned, based on the [`Config::EjectGraceRatio`].
13305
14135
  *
13306
14136
  * This will fully remove the solution from storage.
13307
14137
  **/
@@ -13620,6 +14450,7 @@ export type PalletStakingAsyncPalletCall =
13620
14450
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent;
13621
14451
  minCommission: PalletStakingAsyncPalletConfigOpPerbill;
13622
14452
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent;
14453
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool;
13623
14454
  };
13624
14455
  }
13625
14456
  /**
@@ -14081,6 +14912,7 @@ export type PalletStakingAsyncPalletCallLike =
14081
14912
  chillThreshold: PalletStakingAsyncPalletConfigOpPercent;
14082
14913
  minCommission: PalletStakingAsyncPalletConfigOpPerbill;
14083
14914
  maxStakedRewards: PalletStakingAsyncPalletConfigOpPercent;
14915
+ areNominatorsSlashable: PalletStakingAsyncPalletConfigOpBool;
14084
14916
  };
14085
14917
  }
14086
14918
  /**
@@ -14273,6 +15105,11 @@ export type PalletStakingAsyncPalletConfigOpPerbill =
14273
15105
  | { type: 'Set'; value: Perbill }
14274
15106
  | { type: 'Remove' };
14275
15107
 
15108
+ export type PalletStakingAsyncPalletConfigOpBool =
15109
+ | { type: 'Noop' }
15110
+ | { type: 'Set'; value: boolean }
15111
+ | { type: 'Remove' };
15112
+
14276
15113
  export type PalletStakingAsyncLedgerUnlockChunk = { value: bigint; era: number };
14277
15114
 
14278
15115
  /**
@@ -15705,6 +16542,8 @@ export type PalletRcMigratorQueuePriority =
15705
16542
 
15706
16543
  export type PalletRcMigratorMigrationFinishedData = { rcBalanceKept: bigint };
15707
16544
 
16545
+ export type FrameSystemExtensionsAuthorizeCall = {};
16546
+
15708
16547
  export type FrameSystemExtensionsCheckNonZeroSender = {};
15709
16548
 
15710
16549
  export type FrameSystemExtensionsCheckSpecVersion = {};
@@ -15761,6 +16600,7 @@ export type AssetHubPolkadotRuntimeRuntimeEvent =
15761
16600
  | { pallet: 'Preimage'; palletEvent: PalletPreimageEvent }
15762
16601
  | { pallet: 'Scheduler'; palletEvent: PalletSchedulerEvent }
15763
16602
  | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
16603
+ | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
15764
16604
  | { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
15765
16605
  | { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
15766
16606
  | { pallet: 'AssetTxPayment'; palletEvent: PalletAssetConversionTxPaymentEvent }
@@ -15791,6 +16631,7 @@ export type AssetHubPolkadotRuntimeRuntimeEvent =
15791
16631
  | { pallet: 'Bounties'; palletEvent: PalletBountiesEvent }
15792
16632
  | { pallet: 'ChildBounties'; palletEvent: PalletChildBountiesEvent }
15793
16633
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
16634
+ | { pallet: 'MultiAssetBounties'; palletEvent: PalletMultiAssetBountiesEvent }
15794
16635
  | { pallet: 'StateTrieMigration'; palletEvent: PalletStateTrieMigrationEvent }
15795
16636
  | { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
15796
16637
  | { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
@@ -16042,13 +16883,124 @@ export type AssetHubPolkadotRuntimeDynamicParamsStakingElectionParametersValue =
16042
16883
  | { type: 'TargetSnapshotPerBlock'; value: number }
16043
16884
  | { type: 'MaxEraDuration'; value: bigint };
16044
16885
 
16045
- export type AssetHubPolkadotRuntimeDynamicParamsSchedulerParametersValue =
16046
- | { type: 'MaxScheduledPerBlock'; value: number }
16047
- | { type: 'MaximumWeight'; value: SpWeightsWeightV2Weight };
16886
+ export type AssetHubPolkadotRuntimeDynamicParamsSchedulerParametersValue =
16887
+ | { type: 'MaxScheduledPerBlock'; value: number }
16888
+ | { type: 'MaximumWeight'; value: SpWeightsWeightV2Weight };
16889
+
16890
+ export type AssetHubPolkadotRuntimeDynamicParamsMessageQueueParametersValue =
16891
+ | { type: 'MaxOnInitWeight'; value?: SpWeightsWeightV2Weight | undefined }
16892
+ | { type: 'MaxOnIdleWeight'; value?: SpWeightsWeightV2Weight | undefined };
16893
+
16894
+ /**
16895
+ * The `Event` enum of this pallet
16896
+ **/
16897
+ export type PalletMigrationsEvent =
16898
+ /**
16899
+ * A Runtime upgrade started.
16900
+ *
16901
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
16902
+ **/
16903
+ | {
16904
+ name: 'UpgradeStarted';
16905
+ data: {
16906
+ /**
16907
+ * The number of migrations that this upgrade contains.
16908
+ *
16909
+ * This can be used to design a progress indicator in combination with counting the
16910
+ * `MigrationCompleted` and `MigrationSkipped` events.
16911
+ **/
16912
+ migrations: number;
16913
+ };
16914
+ }
16915
+ /**
16916
+ * The current runtime upgrade completed.
16917
+ *
16918
+ * This implies that all of its migrations completed successfully as well.
16919
+ **/
16920
+ | { name: 'UpgradeCompleted' }
16921
+ /**
16922
+ * Runtime upgrade failed.
16923
+ *
16924
+ * This is very bad and will require governance intervention.
16925
+ **/
16926
+ | { name: 'UpgradeFailed' }
16927
+ /**
16928
+ * A migration was skipped since it was already executed in the past.
16929
+ **/
16930
+ | {
16931
+ name: 'MigrationSkipped';
16932
+ data: {
16933
+ /**
16934
+ * The index of the skipped migration within the [`Config::Migrations`] list.
16935
+ **/
16936
+ index: number;
16937
+ };
16938
+ }
16939
+ /**
16940
+ * A migration progressed.
16941
+ **/
16942
+ | {
16943
+ name: 'MigrationAdvanced';
16944
+ data: {
16945
+ /**
16946
+ * The index of the migration within the [`Config::Migrations`] list.
16947
+ **/
16948
+ index: number;
16949
+
16950
+ /**
16951
+ * The number of blocks that this migration took so far.
16952
+ **/
16953
+ took: number;
16954
+ };
16955
+ }
16956
+ /**
16957
+ * A Migration completed.
16958
+ **/
16959
+ | {
16960
+ name: 'MigrationCompleted';
16961
+ data: {
16962
+ /**
16963
+ * The index of the migration within the [`Config::Migrations`] list.
16964
+ **/
16965
+ index: number;
16966
+
16967
+ /**
16968
+ * The number of blocks that this migration took so far.
16969
+ **/
16970
+ took: number;
16971
+ };
16972
+ }
16973
+ /**
16974
+ * A Migration failed.
16975
+ *
16976
+ * This implies that the whole upgrade failed and governance intervention is required.
16977
+ **/
16978
+ | {
16979
+ name: 'MigrationFailed';
16980
+ data: {
16981
+ /**
16982
+ * The index of the migration within the [`Config::Migrations`] list.
16983
+ **/
16984
+ index: number;
16048
16985
 
16049
- export type AssetHubPolkadotRuntimeDynamicParamsMessageQueueParametersValue =
16050
- | { type: 'MaxOnInitWeight'; value?: SpWeightsWeightV2Weight | undefined }
16051
- | { type: 'MaxOnIdleWeight'; value?: SpWeightsWeightV2Weight | undefined };
16986
+ /**
16987
+ * The number of blocks that this migration took so far.
16988
+ **/
16989
+ took: number;
16990
+ };
16991
+ }
16992
+ /**
16993
+ * The set of historical migrations has been cleared.
16994
+ **/
16995
+ | {
16996
+ name: 'HistoricCleared';
16997
+ data: {
16998
+ /**
16999
+ * Should be passed to `clear_historic` in a successive call.
17000
+ **/
17001
+ nextCursor?: Bytes | undefined;
17002
+ };
17003
+ };
16052
17004
 
16053
17005
  /**
16054
17006
  * The `Event` enum of this pallet
@@ -16108,10 +17060,18 @@ export type PalletBalancesEvent =
16108
17060
  * Some amount was minted into an account.
16109
17061
  **/
16110
17062
  | { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
17063
+ /**
17064
+ * Some credit was balanced and added to the TotalIssuance.
17065
+ **/
17066
+ | { name: 'MintedCredit'; data: { amount: bigint } }
16111
17067
  /**
16112
17068
  * Some amount was burned from an account.
16113
17069
  **/
16114
17070
  | { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
17071
+ /**
17072
+ * Some debt has been dropped from the Total Issuance.
17073
+ **/
17074
+ | { name: 'BurnedDebt'; data: { amount: bigint } }
16115
17075
  /**
16116
17076
  * Some amount was suspended from an account (it can be restored later).
16117
17077
  **/
@@ -16152,6 +17112,42 @@ export type PalletBalancesEvent =
16152
17112
  * The `TotalIssuance` was forcefully changed.
16153
17113
  **/
16154
17114
  | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
17115
+ /**
17116
+ * Some balance was placed on hold.
17117
+ **/
17118
+ | { name: 'Held'; data: { reason: AssetHubPolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
17119
+ /**
17120
+ * Held balance was burned from an account.
17121
+ **/
17122
+ | { name: 'BurnedHeld'; data: { reason: AssetHubPolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
17123
+ /**
17124
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
17125
+ **/
17126
+ | {
17127
+ name: 'TransferOnHold';
17128
+ data: {
17129
+ reason: AssetHubPolkadotRuntimeRuntimeHoldReason;
17130
+ source: AccountId32;
17131
+ dest: AccountId32;
17132
+ amount: bigint;
17133
+ };
17134
+ }
17135
+ /**
17136
+ * The `transferred` balance is placed on hold at the `dest` account.
17137
+ **/
17138
+ | {
17139
+ name: 'TransferAndHold';
17140
+ data: {
17141
+ reason: AssetHubPolkadotRuntimeRuntimeHoldReason;
17142
+ source: AccountId32;
17143
+ dest: AccountId32;
17144
+ transferred: bigint;
17145
+ };
17146
+ }
17147
+ /**
17148
+ * Some balance was released from hold.
17149
+ **/
17150
+ | { name: 'Released'; data: { reason: AssetHubPolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
16155
17151
  /**
16156
17152
  * An unexpected/defensive event was triggered.
16157
17153
  **/
@@ -16159,6 +17155,28 @@ export type PalletBalancesEvent =
16159
17155
 
16160
17156
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
16161
17157
 
17158
+ export type AssetHubPolkadotRuntimeRuntimeHoldReason =
17159
+ | { type: 'Preimage'; value: PalletPreimageHoldReason }
17160
+ | { type: 'Session'; value: PalletSessionHoldReason }
17161
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
17162
+ | { type: 'MultiAssetBounties'; value: PalletMultiAssetBountiesHoldReason }
17163
+ | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
17164
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
17165
+ | { type: 'StakingRcClient'; value: PalletStakingAsyncRcClientHoldReason }
17166
+ | { type: 'MultiBlockElectionSigned'; value: PalletElectionProviderMultiBlockSignedPalletHoldReason }
17167
+ | { type: 'Staking'; value: PalletStakingAsyncPalletHoldReason }
17168
+ | { type: 'Revive'; value: PalletReviveHoldReason };
17169
+
17170
+ export type PalletMultiAssetBountiesHoldReason = 'CuratorDeposit';
17171
+
17172
+ export type PalletStakingAsyncRcClientHoldReason = 'Keys';
17173
+
17174
+ export type PalletElectionProviderMultiBlockSignedPalletHoldReason = 'SignedSubmission';
17175
+
17176
+ export type PalletStakingAsyncPalletHoldReason = 'Staking';
17177
+
17178
+ export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
17179
+
16162
17180
  export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
16163
17181
 
16164
17182
  /**
@@ -16816,6 +17834,8 @@ export type PalletProxyEvent =
16816
17834
  who: AccountId32;
16817
17835
  proxyType: AssetHubPolkadotRuntimeProxyType;
16818
17836
  disambiguationIndex: number;
17837
+ at: number;
17838
+ extrinsicIndex: number;
16819
17839
  };
16820
17840
  }
16821
17841
  /**
@@ -17000,7 +18020,15 @@ export type PalletAssetsEvent =
17000
18020
  /**
17001
18021
  * Some assets were withdrawn from the account (e.g. for transaction fees).
17002
18022
  **/
17003
- | { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } };
18023
+ | { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } }
18024
+ /**
18025
+ * Reserve information was set or updated for `asset_id`.
18026
+ **/
18027
+ | { name: 'ReservesUpdated'; data: { assetId: number; reserves: Array<[]> } }
18028
+ /**
18029
+ * Reserve information was removed for `asset_id`.
18030
+ **/
18031
+ | { name: 'ReservesRemoved'; data: { assetId: number } };
17004
18032
 
17005
18033
  /**
17006
18034
  * The `Event` enum of this pallet
@@ -17496,7 +18524,21 @@ export type PalletAssetsEvent002 =
17496
18524
  /**
17497
18525
  * Some assets were withdrawn from the account (e.g. for transaction fees).
17498
18526
  **/
17499
- | { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } };
18527
+ | { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
18528
+ /**
18529
+ * Reserve information was set or updated for `asset_id`.
18530
+ **/
18531
+ | {
18532
+ name: 'ReservesUpdated';
18533
+ data: {
18534
+ assetId: StagingXcmV5Location;
18535
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
18536
+ };
18537
+ }
18538
+ /**
18539
+ * Reserve information was removed for `asset_id`.
18540
+ **/
18541
+ | { name: 'ReservesRemoved'; data: { assetId: StagingXcmV5Location } };
17500
18542
 
17501
18543
  /**
17502
18544
  * The `Event` enum of this pallet
@@ -17766,19 +18808,19 @@ export type PalletConvictionVotingEvent =
17766
18808
  /**
17767
18809
  * An account has delegated their vote to another account. \[who, target\]
17768
18810
  **/
17769
- | { name: 'Delegated'; data: [AccountId32, AccountId32] }
18811
+ | { name: 'Delegated'; data: [AccountId32, AccountId32, number] }
17770
18812
  /**
17771
18813
  * An \[account\] has cancelled a previous delegation operation.
17772
18814
  **/
17773
- | { name: 'Undelegated'; data: AccountId32 }
18815
+ | { name: 'Undelegated'; data: [AccountId32, number] }
17774
18816
  /**
17775
18817
  * An account has voted
17776
18818
  **/
17777
- | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
18819
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number } }
17778
18820
  /**
17779
18821
  * A vote has been removed
17780
18822
  **/
17781
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
18823
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number } }
17782
18824
  /**
17783
18825
  * The lockup period of a conviction vote expired, and the funds have been unlocked.
17784
18826
  **/
@@ -18182,6 +19224,75 @@ export type PalletAssetRateEvent =
18182
19224
  data: { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 };
18183
19225
  };
18184
19226
 
19227
+ /**
19228
+ * The `Event` enum of this pallet
19229
+ **/
19230
+ export type PalletMultiAssetBountiesEvent =
19231
+ /**
19232
+ * A new bounty was created and funding has been initiated.
19233
+ **/
19234
+ | { name: 'BountyCreated'; data: { index: number } }
19235
+ /**
19236
+ * A new child-bounty was created and funding has been initiated.
19237
+ **/
19238
+ | { name: 'ChildBountyCreated'; data: { index: number; childIndex: number } }
19239
+ /**
19240
+ * The curator accepted role and child-/bounty became active.
19241
+ **/
19242
+ | { name: 'BountyBecameActive'; data: { index: number; childIndex?: number | undefined; curator: AccountId32 } }
19243
+ /**
19244
+ * A child-/bounty was awarded to a beneficiary.
19245
+ **/
19246
+ | {
19247
+ name: 'BountyAwarded';
19248
+ data: {
19249
+ index: number;
19250
+ childIndex?: number | undefined;
19251
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
19252
+ };
19253
+ }
19254
+ /**
19255
+ * Payout payment to the beneficiary has concluded successfully.
19256
+ **/
19257
+ | {
19258
+ name: 'BountyPayoutProcessed';
19259
+ data: {
19260
+ index: number;
19261
+ childIndex?: number | undefined;
19262
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
19263
+ value: bigint;
19264
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
19265
+ };
19266
+ }
19267
+ /**
19268
+ * Funding payment has concluded successfully.
19269
+ **/
19270
+ | { name: 'BountyFundingProcessed'; data: { index: number; childIndex?: number | undefined } }
19271
+ /**
19272
+ * Refund payment has concluded successfully.
19273
+ **/
19274
+ | { name: 'BountyRefundProcessed'; data: { index: number; childIndex?: number | undefined } }
19275
+ /**
19276
+ * A child-/bounty was cancelled.
19277
+ **/
19278
+ | { name: 'BountyCanceled'; data: { index: number; childIndex?: number | undefined } }
19279
+ /**
19280
+ * A child-/bounty curator was unassigned.
19281
+ **/
19282
+ | { name: 'CuratorUnassigned'; data: { index: number; childIndex?: number | undefined } }
19283
+ /**
19284
+ * A child-/bounty curator was proposed.
19285
+ **/
19286
+ | { name: 'CuratorProposed'; data: { index: number; childIndex?: number | undefined; curator: AccountId32 } }
19287
+ /**
19288
+ * A payment failed and can be retried.
19289
+ **/
19290
+ | { name: 'PaymentFailed'; data: { index: number; childIndex?: number | undefined; paymentId: bigint } }
19291
+ /**
19292
+ * A payment happened and can be checked.
19293
+ **/
19294
+ | { name: 'Paid'; data: { index: number; childIndex?: number | undefined; paymentId: bigint } };
19295
+
18185
19296
  /**
18186
19297
  * Inner events of this pallet.
18187
19298
  **/
@@ -18435,6 +19546,12 @@ export type PalletStakingAsyncRcClientEvent =
18435
19546
  * A new offence was reported.
18436
19547
  **/
18437
19548
  | { name: 'OffenceReceived'; data: { slashSession: number; offencesCount: number } }
19549
+ /**
19550
+ * Fees were charged for a user operation (set_keys or purge_keys).
19551
+ *
19552
+ * The fee includes both XCM delivery fee and relay chain execution cost.
19553
+ **/
19554
+ | { name: 'FeesPaid'; data: { who: AccountId32; fees: bigint } }
18438
19555
  /**
18439
19556
  * Something occurred that should never happen under normal operation.
18440
19557
  * Logged as an event for fail-safe observability.
@@ -19074,6 +20191,7 @@ export type FrameSystemError =
19074
20191
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
19075
20192
 
19076
20193
  export type CumulusPalletWeightReclaimStorageWeightReclaim = [
20194
+ FrameSystemExtensionsAuthorizeCall,
19077
20195
  FrameSystemExtensionsCheckNonZeroSender,
19078
20196
  FrameSystemExtensionsCheckSpecVersion,
19079
20197
  FrameSystemExtensionsCheckTxVersion,
@@ -19089,7 +20207,7 @@ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
19089
20207
  export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
19090
20208
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
19091
20209
  paraHeadHash?: H256 | undefined;
19092
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
20210
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
19093
20211
  };
19094
20212
 
19095
20213
  export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
@@ -19102,21 +20220,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
19102
20220
 
19103
20221
  export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
19104
20222
 
19105
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
20223
+ export type PolkadotPrimitivesV9UpgradeGoAhead = 'Abort' | 'GoAhead';
19106
20224
 
19107
20225
  export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
19108
20226
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
19109
20227
  hrmpWatermark?: number | undefined;
19110
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
20228
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
19111
20229
  };
19112
20230
 
19113
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
20231
+ export type PolkadotPrimitivesV9UpgradeRestriction = 'Present';
19114
20232
 
19115
20233
  export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
19116
20234
  dmqMqcHead: H256;
19117
20235
  relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
19118
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
19119
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
20236
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
20237
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
19120
20238
  };
19121
20239
 
19122
20240
  export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
@@ -19124,7 +20242,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
19124
20242
  remainingSize: number;
19125
20243
  };
19126
20244
 
19127
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
20245
+ export type PolkadotPrimitivesV9AbridgedHrmpChannel = {
19128
20246
  maxCapacity: number;
19129
20247
  maxTotalSize: number;
19130
20248
  maxMessageSize: number;
@@ -19133,7 +20251,7 @@ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
19133
20251
  mqcHead?: H256 | undefined;
19134
20252
  };
19135
20253
 
19136
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
20254
+ export type PolkadotPrimitivesV9AbridgedHostConfiguration = {
19137
20255
  maxCodeSize: number;
19138
20256
  maxHeadDataSize: number;
19139
20257
  maxUpwardQueueCount: number;
@@ -19143,10 +20261,10 @@ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
19143
20261
  hrmpMaxMessageNumPerCandidate: number;
19144
20262
  validationUpgradeCooldown: number;
19145
20263
  validationUpgradeDelay: number;
19146
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
20264
+ asyncBackingParams: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams;
19147
20265
  };
19148
20266
 
19149
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
20267
+ export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
19150
20268
  maxCandidateDepth: number;
19151
20269
  allowedAncestryLen: number;
19152
20270
  };
@@ -19280,6 +20398,15 @@ export type PalletSchedulerError =
19280
20398
  **/
19281
20399
  | 'Named';
19282
20400
 
20401
+ /**
20402
+ * The `Error` enum of this pallet.
20403
+ **/
20404
+ export type PalletMigrationsError =
20405
+ /**
20406
+ * The operation cannot complete since some MBMs are ongoing.
20407
+ **/
20408
+ 'Ongoing';
20409
+
19283
20410
  export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
19284
20411
 
19285
20412
  export type FrameSupportTokensMiscIdAmountRuntimeHoldReason = {
@@ -19287,22 +20414,6 @@ export type FrameSupportTokensMiscIdAmountRuntimeHoldReason = {
19287
20414
  amount: bigint;
19288
20415
  };
19289
20416
 
19290
- export type AssetHubPolkadotRuntimeRuntimeHoldReason =
19291
- | { type: 'Preimage'; value: PalletPreimageHoldReason }
19292
- | { type: 'Session'; value: PalletSessionHoldReason }
19293
- | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
19294
- | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
19295
- | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
19296
- | { type: 'MultiBlockElectionSigned'; value: PalletElectionProviderMultiBlockSignedPalletHoldReason }
19297
- | { type: 'Staking'; value: PalletStakingAsyncPalletHoldReason }
19298
- | { type: 'Revive'; value: PalletReviveHoldReason };
19299
-
19300
- export type PalletElectionProviderMultiBlockSignedPalletHoldReason = 'SignedSubmission';
19301
-
19302
- export type PalletStakingAsyncPalletHoldReason = 'Staking';
19303
-
19304
- export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
19305
-
19306
20417
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
19307
20418
  id: AssetHubPolkadotRuntimeRuntimeFreezeReason;
19308
20419
  amount: bigint;
@@ -19430,10 +20541,10 @@ export type PolkadotRuntimeCommonClaimsPalletError =
19430
20541
  **/
19431
20542
  | 'VestedBalanceExists';
19432
20543
 
19433
- export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
19434
-
19435
20544
  export type FrameSupportPalletId = FixedBytes<8>;
19436
20545
 
20546
+ export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
20547
+
19437
20548
  /**
19438
20549
  * The `Error` enum of this pallet.
19439
20550
  **/
@@ -20205,7 +21316,11 @@ export type PalletAssetsError =
20205
21316
  /**
20206
21317
  * The asset cannot be destroyed because some accounts for this asset contain holds.
20207
21318
  **/
20208
- | 'ContainsHolds';
21319
+ | 'ContainsHolds'
21320
+ /**
21321
+ * Tried setting too many reserves.
21322
+ **/
21323
+ | 'TooManyReserves';
20209
21324
 
20210
21325
  export type PalletUniquesCollectionDetails = {
20211
21326
  owner: AccountId32;
@@ -21005,6 +22120,121 @@ export type PalletAssetRateError =
21005
22120
  **/
21006
22121
  | 'Overflow';
21007
22122
 
22123
+ export type PalletMultiAssetBountiesBounty = {
22124
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
22125
+ value: bigint;
22126
+ metadata: H256;
22127
+ status: PalletMultiAssetBountiesBountyStatus;
22128
+ };
22129
+
22130
+ export type PalletMultiAssetBountiesBountyStatus =
22131
+ | { type: 'FundingAttempted'; value: { curator: AccountId32; paymentStatus: PalletMultiAssetBountiesPaymentState } }
22132
+ | { type: 'Funded'; value: { curator: AccountId32 } }
22133
+ | { type: 'CuratorUnassigned' }
22134
+ | { type: 'Active'; value: { curator: AccountId32 } }
22135
+ | {
22136
+ type: 'RefundAttempted';
22137
+ value: { curator?: AccountId32 | undefined; paymentStatus: PalletMultiAssetBountiesPaymentState };
22138
+ }
22139
+ | {
22140
+ type: 'PayoutAttempted';
22141
+ value: {
22142
+ curator: AccountId32;
22143
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
22144
+ paymentStatus: PalletMultiAssetBountiesPaymentState;
22145
+ };
22146
+ };
22147
+
22148
+ export type PalletMultiAssetBountiesPaymentState =
22149
+ | { type: 'Pending' }
22150
+ | { type: 'Attempted'; value: { id: bigint } }
22151
+ | { type: 'Failed' }
22152
+ | { type: 'Succeeded' };
22153
+
22154
+ export type PalletMultiAssetBountiesChildBounty = {
22155
+ parentBounty: number;
22156
+ value: bigint;
22157
+ metadata: H256;
22158
+ status: PalletMultiAssetBountiesBountyStatus;
22159
+ };
22160
+
22161
+ /**
22162
+ * The `Error` enum of this pallet.
22163
+ **/
22164
+ export type PalletMultiAssetBountiesError =
22165
+ /**
22166
+ * No child-/bounty at that index.
22167
+ **/
22168
+ | 'InvalidIndex'
22169
+ /**
22170
+ * The reason given is just too big.
22171
+ **/
22172
+ | 'ReasonTooBig'
22173
+ /**
22174
+ * Invalid child-/bounty value.
22175
+ **/
22176
+ | 'InvalidValue'
22177
+ /**
22178
+ * The balance of the asset kind is not convertible to the balance of the native asset for
22179
+ * asserting the origin permissions.
22180
+ **/
22181
+ | 'FailedToConvertBalance'
22182
+ /**
22183
+ * The child-/bounty status is unexpected.
22184
+ **/
22185
+ | 'UnexpectedStatus'
22186
+ /**
22187
+ * Require child-/bounty curator.
22188
+ **/
22189
+ | 'RequireCurator'
22190
+ /**
22191
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
22192
+ * requested amount.
22193
+ **/
22194
+ | 'InsufficientPermission'
22195
+ /**
22196
+ * There was issue with funding the child-/bounty.
22197
+ **/
22198
+ | 'FundingError'
22199
+ /**
22200
+ * There was issue with refunding the child-/bounty.
22201
+ **/
22202
+ | 'RefundError'
22203
+ | 'PayoutError'
22204
+ /**
22205
+ * Child-/bounty funding has not concluded yet.
22206
+ **/
22207
+ | 'FundingInconclusive'
22208
+ /**
22209
+ * Child-/bounty refund has not concluded yet.
22210
+ **/
22211
+ | 'RefundInconclusive'
22212
+ /**
22213
+ * Child-/bounty payout has not concluded yet.
22214
+ **/
22215
+ | 'PayoutInconclusive'
22216
+ /**
22217
+ * The child-/bounty or funding source account could not be derived from the indexes and
22218
+ * asset kind.
22219
+ **/
22220
+ | 'FailedToConvertSource'
22221
+ /**
22222
+ * The parent bounty cannot be closed because it has active child bounties.
22223
+ **/
22224
+ | 'HasActiveChildBounty'
22225
+ /**
22226
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
22227
+ **/
22228
+ | 'TooManyChildBounties'
22229
+ /**
22230
+ * The parent bounty value is not enough to add new child-bounty.
22231
+ **/
22232
+ | 'InsufficientBountyValue'
22233
+ /**
22234
+ * The preimage does not exist.
22235
+ **/
22236
+ | 'PreimageNotExist';
22237
+
21008
22238
  export type PalletNominationPoolsRewardPool = {
21009
22239
  lastRecordedRewardCounter: FixedU128;
21010
22240
  lastRecordedTotalPayouts: bigint;
@@ -21293,6 +22523,35 @@ export type PalletStakingAsyncRcClientValidatorSetReport = {
21293
22523
  leftover: boolean;
21294
22524
  };
21295
22525
 
22526
+ /**
22527
+ * The `Error` enum of this pallet.
22528
+ **/
22529
+ export type PalletStakingAsyncRcClientError =
22530
+ /**
22531
+ * Failed to send XCM message to the Relay Chain.
22532
+ **/
22533
+ | 'XcmSendFailed'
22534
+ /**
22535
+ * The origin account is not a registered validator.
22536
+ *
22537
+ * Only accounts that have called `validate()` can set or purge session keys. When called
22538
+ * via a staking proxy, the origin is the delegating account (stash), which must be a
22539
+ * registered validator.
22540
+ **/
22541
+ | 'NotValidator'
22542
+ /**
22543
+ * The session keys could not be decoded as the expected RelayChainSessionKeys type.
22544
+ **/
22545
+ | 'InvalidKeys'
22546
+ /**
22547
+ * The ownership proof for the session keys is invalid.
22548
+ **/
22549
+ | 'InvalidProof'
22550
+ /**
22551
+ * Delivery fees exceeded the specified maximum.
22552
+ **/
22553
+ | 'FeesExceededMax';
22554
+
21296
22555
  /**
21297
22556
  * Error of the pallet that can be returned in response to dispatches.
21298
22557
  **/
@@ -21416,7 +22675,8 @@ export type PalletStakingAsyncPalletPruningStep =
21416
22675
  | 'ClaimedRewards'
21417
22676
  | 'ErasValidatorReward'
21418
22677
  | 'ErasRewardPoints'
21419
- | 'ErasTotalStake';
22678
+ | 'SingleEntryCleanups'
22679
+ | 'ValidatorSlashInEra';
21420
22680
 
21421
22681
  /**
21422
22682
  * The `Error` enum of this pallet.
@@ -22066,7 +23326,11 @@ export type PalletReviveError =
22066
23326
  * Some pre-compile functions will trap the caller context if being delegate
22067
23327
  * called or if their caller was being delegate called.
22068
23328
  **/
22069
- | 'PrecompileDelegateDenied';
23329
+ | 'PrecompileDelegateDenied'
23330
+ /**
23331
+ * ECDSA public key recovery failed. Most probably wrong recovery id or signature.
23332
+ **/
23333
+ | 'EcdsaRecoveryFailed';
22070
23334
 
22071
23335
  /**
22072
23336
  * The `Error` enum of this pallet.
@@ -22218,6 +23482,10 @@ export type PalletAhMigratorError =
22218
23482
 
22219
23483
  export type SpConsensusSlotsSlotDuration = bigint;
22220
23484
 
23485
+ export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
23486
+
23487
+ export type SpRuntimeOpaqueExtrinsic = Bytes;
23488
+
22221
23489
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
22222
23490
 
22223
23491
  export type SpCoreOpaqueMetadata = Bytes;
@@ -22483,6 +23751,7 @@ export type AssetHubPolkadotRuntimeRuntimeError =
22483
23751
  | { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
22484
23752
  | { pallet: 'Preimage'; palletError: PalletPreimageError }
22485
23753
  | { pallet: 'Scheduler'; palletError: PalletSchedulerError }
23754
+ | { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
22486
23755
  | { pallet: 'Balances'; palletError: PalletBalancesError }
22487
23756
  | { pallet: 'Vesting'; palletError: PalletVestingError }
22488
23757
  | { pallet: 'Claims'; palletError: PolkadotRuntimeCommonClaimsPalletError }
@@ -22509,10 +23778,12 @@ export type AssetHubPolkadotRuntimeRuntimeError =
22509
23778
  | { pallet: 'Bounties'; palletError: PalletBountiesError }
22510
23779
  | { pallet: 'ChildBounties'; palletError: PalletChildBountiesError }
22511
23780
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }
23781
+ | { pallet: 'MultiAssetBounties'; palletError: PalletMultiAssetBountiesError }
22512
23782
  | { pallet: 'StateTrieMigration'; palletError: PalletStateTrieMigrationError }
22513
23783
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
22514
23784
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
22515
23785
  | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
23786
+ | { pallet: 'StakingRcClient'; palletError: PalletStakingAsyncRcClientError }
22516
23787
  | { pallet: 'MultiBlockElection'; palletError: PalletElectionProviderMultiBlockError }
22517
23788
  | { pallet: 'MultiBlockElectionSigned'; palletError: PalletElectionProviderMultiBlockSignedPalletError }
22518
23789
  | { pallet: 'Staking'; palletError: PalletStakingAsyncPalletError }