@dedot/chaintypes 0.122.0 → 0.131.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 (53) hide show
  1. package/astar/consts.d.ts +0 -9
  2. package/astar/index.d.ts +1 -1
  3. package/astar/query.d.ts +0 -15
  4. package/hydration/consts.d.ts +29 -0
  5. package/hydration/errors.d.ts +172 -10
  6. package/hydration/events.d.ts +105 -0
  7. package/hydration/index.d.ts +1 -1
  8. package/hydration/json-rpc.d.ts +1 -0
  9. package/hydration/query.d.ts +50 -0
  10. package/hydration/tx.d.ts +408 -0
  11. package/hydration/types.d.ts +695 -12
  12. package/kusama/consts.d.ts +27 -7
  13. package/kusama/errors.d.ts +51 -4
  14. package/kusama/events.d.ts +212 -4
  15. package/kusama/index.d.ts +1 -1
  16. package/kusama/query.d.ts +44 -19
  17. package/kusama/runtime.d.ts +22 -0
  18. package/kusama/tx.d.ts +377 -25
  19. package/kusama/types.d.ts +638 -80
  20. package/kusama-asset-hub/consts.d.ts +98 -2
  21. package/kusama-asset-hub/errors.d.ts +314 -12
  22. package/kusama-asset-hub/events.d.ts +157 -3
  23. package/kusama-asset-hub/index.d.ts +1 -1
  24. package/kusama-asset-hub/query.d.ts +113 -6
  25. package/kusama-asset-hub/runtime.d.ts +217 -1
  26. package/kusama-asset-hub/tx.d.ts +581 -1
  27. package/kusama-asset-hub/types.d.ts +1086 -26
  28. package/moonbeam/index.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/polkadot/consts.d.ts +23 -5
  31. package/polkadot/errors.d.ts +51 -4
  32. package/polkadot/events.d.ts +207 -4
  33. package/polkadot/index.d.ts +1 -1
  34. package/polkadot/query.d.ts +44 -19
  35. package/polkadot/runtime.d.ts +22 -0
  36. package/polkadot/tx.d.ts +376 -24
  37. package/polkadot/types.d.ts +630 -78
  38. package/westend/consts.d.ts +28 -9
  39. package/westend/errors.d.ts +21 -37
  40. package/westend/events.d.ts +25 -49
  41. package/westend/index.d.ts +1 -1
  42. package/westend/query.d.ts +40 -70
  43. package/westend/runtime.d.ts +7 -0
  44. package/westend/tx.d.ts +77 -124
  45. package/westend/types.d.ts +228 -328
  46. package/westend-asset-hub/consts.d.ts +41 -14
  47. package/westend-asset-hub/errors.d.ts +12 -96
  48. package/westend-asset-hub/events.d.ts +29 -81
  49. package/westend-asset-hub/index.d.ts +1 -1
  50. package/westend-asset-hub/query.d.ts +61 -125
  51. package/westend-asset-hub/runtime.d.ts +47 -1
  52. package/westend-asset-hub/tx.d.ts +97 -549
  53. package/westend-asset-hub/types.d.ts +489 -958
@@ -127,7 +127,11 @@ export type FrameSystemEvent =
127
127
  /**
128
128
  * An upgrade was authorized.
129
129
  **/
130
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
130
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
131
+ /**
132
+ * An invalid authorized upgrade was rejected while trying to apply it.
133
+ **/
134
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
131
135
 
132
136
  export type FrameSystemDispatchEventInfo = {
133
137
  weight: SpWeightsWeightV2Weight;
@@ -201,7 +205,11 @@ export type PalletSchedulerEvent =
201
205
  /**
202
206
  * The given task can never be executed since it is overweight.
203
207
  **/
204
- | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
208
+ | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
209
+ /**
210
+ * Agenda is incomplete from `when`.
211
+ **/
212
+ | { name: 'AgendaIncomplete'; data: { when: number } };
205
213
 
206
214
  /**
207
215
  * The `Event` enum of this pallet
@@ -235,7 +243,11 @@ export type PalletIndicesEvent =
235
243
  /**
236
244
  * A account index has been frozen to its current account ID.
237
245
  **/
238
- | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } };
246
+ | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } }
247
+ /**
248
+ * A deposit to reserve an index has been poked/reconsidered.
249
+ **/
250
+ | { name: 'DepositPoked'; data: { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint } };
239
251
 
240
252
  /**
241
253
  * The `Event` enum of this pallet
@@ -437,7 +449,12 @@ export type PalletStakingPalletEvent =
437
449
  /**
438
450
  * Report of a controller batch deprecation.
439
451
  **/
440
- | { name: 'ControllerBatchDeprecated'; data: { failures: number } };
452
+ | { name: 'ControllerBatchDeprecated'; data: { failures: number } }
453
+ /**
454
+ * Staking balance migrated from locks to holds, with any balance that could not be held
455
+ * is force withdrawn.
456
+ **/
457
+ | { name: 'CurrencyMigrated'; data: { stash: AccountId32; forceWithdraw: bigint } };
441
458
 
442
459
  export type PalletStakingRewardDestination =
443
460
  | { type: 'Staked' }
@@ -469,7 +486,15 @@ export type PalletSessionEvent =
469
486
  * New session has happened. Note that the argument is the session index, not the
470
487
  * block number as the type might suggest.
471
488
  **/
472
- { name: 'NewSession'; data: { sessionIndex: number } };
489
+ | { name: 'NewSession'; data: { sessionIndex: number } }
490
+ /**
491
+ * Validator has been disabled.
492
+ **/
493
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
494
+ /**
495
+ * Validator has been re-enabled.
496
+ **/
497
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
473
498
 
474
499
  /**
475
500
  * The `Event` enum of this pallet
@@ -730,13 +755,17 @@ export type PalletConvictionVotingEvent =
730
755
  **/
731
756
  | { name: 'Undelegated'; data: AccountId32 }
732
757
  /**
733
- * An account that has voted
758
+ * An account has voted
734
759
  **/
735
760
  | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
736
761
  /**
737
- * A vote that been removed
762
+ * A vote has been removed
738
763
  **/
739
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
764
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
765
+ /**
766
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
767
+ **/
768
+ | { name: 'VoteUnlocked'; data: { who: AccountId32; class: number } };
740
769
 
741
770
  export type PalletConvictionVotingVoteAccountVote =
742
771
  | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
@@ -1510,7 +1539,7 @@ export type PalletPreimageCall =
1510
1539
  **/
1511
1540
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
1512
1541
  /**
1513
- * Ensure that the a bulk of pre-images is upgraded.
1542
+ * Ensure that the bulk of pre-images is upgraded.
1514
1543
  *
1515
1544
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
1516
1545
  **/
@@ -1547,7 +1576,7 @@ export type PalletPreimageCallLike =
1547
1576
  **/
1548
1577
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
1549
1578
  /**
1550
- * Ensure that the a bulk of pre-images is upgraded.
1579
+ * Ensure that the bulk of pre-images is upgraded.
1551
1580
  *
1552
1581
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
1553
1582
  **/
@@ -1775,7 +1804,20 @@ export type PalletIndicesCall =
1775
1804
  * ## Complexity
1776
1805
  * - `O(1)`.
1777
1806
  **/
1778
- | { name: 'Freeze'; params: { index: number } };
1807
+ | { name: 'Freeze'; params: { index: number } }
1808
+ /**
1809
+ * Poke the deposit reserved for an index.
1810
+ *
1811
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1812
+ * non-frozen account `index`.
1813
+ *
1814
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1815
+ *
1816
+ * - `index`: the index whose deposit is to be poked/reconsidered.
1817
+ *
1818
+ * Emits `DepositPoked` if successful.
1819
+ **/
1820
+ | { name: 'PokeDeposit'; params: { index: number } };
1779
1821
 
1780
1822
  export type PalletIndicesCallLike =
1781
1823
  /**
@@ -1853,7 +1895,20 @@ export type PalletIndicesCallLike =
1853
1895
  * ## Complexity
1854
1896
  * - `O(1)`.
1855
1897
  **/
1856
- | { name: 'Freeze'; params: { index: number } };
1898
+ | { name: 'Freeze'; params: { index: number } }
1899
+ /**
1900
+ * Poke the deposit reserved for an index.
1901
+ *
1902
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1903
+ * non-frozen account `index`.
1904
+ *
1905
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1906
+ *
1907
+ * - `index`: the index whose deposit is to be poked/reconsidered.
1908
+ *
1909
+ * Emits `DepositPoked` if successful.
1910
+ **/
1911
+ | { name: 'PokeDeposit'; params: { index: number } };
1857
1912
 
1858
1913
  /**
1859
1914
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2479,14 +2534,39 @@ export type PalletStakingPalletCall =
2479
2534
  };
2480
2535
  }
2481
2536
  /**
2482
- * Adjusts the staking ledger by withdrawing any excess staked amount.
2537
+ * Removes the legacy Staking locks if they exist.
2538
+ *
2539
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
2540
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
2541
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
2483
2542
  *
2484
- * This function corrects cases where a user's recorded stake in the ledger
2485
- * exceeds their actual staked funds. This situation can arise due to cases such as
2486
- * external slashing by another pallet, leading to an inconsistency between the ledger
2487
- * and the actual stake.
2543
+ * The fee is waived if the migration is successful.
2488
2544
  **/
2489
- | { name: 'WithdrawOverstake'; params: { stash: AccountId32 } };
2545
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32 } }
2546
+ /**
2547
+ * This function allows governance to manually slash a validator and is a
2548
+ * **fallback mechanism**.
2549
+ *
2550
+ * The dispatch origin must be `T::AdminOrigin`.
2551
+ *
2552
+ * ## Parameters
2553
+ * - `validator_stash` - The stash account of the validator to slash.
2554
+ * - `era` - The era in which the validator was in the active set.
2555
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
2556
+ *
2557
+ * ## Behavior
2558
+ *
2559
+ * The slash will be applied using the standard slashing mechanics, respecting the
2560
+ * configured `SlashDeferDuration`.
2561
+ *
2562
+ * This means:
2563
+ * - If the validator was already slashed by a higher percentage for the same era, this
2564
+ * slash will have no additional effect.
2565
+ * - If the validator was previously slashed by a lower percentage, only the difference
2566
+ * will be applied.
2567
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
2568
+ **/
2569
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32; era: number; slashFraction: Perbill } };
2490
2570
 
2491
2571
  export type PalletStakingPalletCallLike =
2492
2572
  /**
@@ -2934,14 +3014,39 @@ export type PalletStakingPalletCallLike =
2934
3014
  };
2935
3015
  }
2936
3016
  /**
2937
- * Adjusts the staking ledger by withdrawing any excess staked amount.
3017
+ * Removes the legacy Staking locks if they exist.
3018
+ *
3019
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
3020
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
3021
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
3022
+ *
3023
+ * The fee is waived if the migration is successful.
3024
+ **/
3025
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32Like } }
3026
+ /**
3027
+ * This function allows governance to manually slash a validator and is a
3028
+ * **fallback mechanism**.
3029
+ *
3030
+ * The dispatch origin must be `T::AdminOrigin`.
2938
3031
  *
2939
- * This function corrects cases where a user's recorded stake in the ledger
2940
- * exceeds their actual staked funds. This situation can arise due to cases such as
2941
- * external slashing by another pallet, leading to an inconsistency between the ledger
2942
- * and the actual stake.
3032
+ * ## Parameters
3033
+ * - `validator_stash` - The stash account of the validator to slash.
3034
+ * - `era` - The era in which the validator was in the active set.
3035
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
3036
+ *
3037
+ * ## Behavior
3038
+ *
3039
+ * The slash will be applied using the standard slashing mechanics, respecting the
3040
+ * configured `SlashDeferDuration`.
3041
+ *
3042
+ * This means:
3043
+ * - If the validator was already slashed by a higher percentage for the same era, this
3044
+ * slash will have no additional effect.
3045
+ * - If the validator was previously slashed by a lower percentage, only the difference
3046
+ * will be applied.
3047
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
2943
3048
  **/
2944
- | { name: 'WithdrawOverstake'; params: { stash: AccountId32Like } };
3049
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill } };
2945
3050
 
2946
3051
  export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
2947
3052
 
@@ -4494,7 +4599,41 @@ export type PalletUtilityCall =
4494
4599
  *
4495
4600
  * The dispatch origin for this call must be _Root_.
4496
4601
  **/
4497
- | { name: 'WithWeight'; params: { call: PolkadotRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
4602
+ | { name: 'WithWeight'; params: { call: PolkadotRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
4603
+ /**
4604
+ * Dispatch a fallback call in the event the main call fails to execute.
4605
+ * May be called from any origin except `None`.
4606
+ *
4607
+ * This function first attempts to dispatch the `main` call.
4608
+ * If the `main` call fails, the `fallback` is attemted.
4609
+ * if the fallback is successfully dispatched, the weights of both calls
4610
+ * are accumulated and an event containing the main call error is deposited.
4611
+ *
4612
+ * In the event of a fallback failure the whole call fails
4613
+ * with the weights returned.
4614
+ *
4615
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4616
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4617
+ *
4618
+ * ## Dispatch Logic
4619
+ * - If the origin is `root`, both the main and fallback calls are executed without
4620
+ * applying any origin filters.
4621
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4622
+ * `fallback` calls.
4623
+ *
4624
+ * ## Use Case
4625
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4626
+ * or both.
4627
+ **/
4628
+ | { name: 'IfElse'; params: { main: PolkadotRuntimeRuntimeCall; fallback: PolkadotRuntimeRuntimeCall } }
4629
+ /**
4630
+ * Dispatches a function call with a provided origin.
4631
+ *
4632
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4633
+ *
4634
+ * The dispatch origin for this call must be _Root_.
4635
+ **/
4636
+ | { name: 'DispatchAsFallible'; params: { asOrigin: PolkadotRuntimeOriginCaller; call: PolkadotRuntimeRuntimeCall } };
4498
4637
 
4499
4638
  export type PalletUtilityCallLike =
4500
4639
  /**
@@ -4583,7 +4722,44 @@ export type PalletUtilityCallLike =
4583
4722
  *
4584
4723
  * The dispatch origin for this call must be _Root_.
4585
4724
  **/
4586
- | { name: 'WithWeight'; params: { call: PolkadotRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
4725
+ | { name: 'WithWeight'; params: { call: PolkadotRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
4726
+ /**
4727
+ * Dispatch a fallback call in the event the main call fails to execute.
4728
+ * May be called from any origin except `None`.
4729
+ *
4730
+ * This function first attempts to dispatch the `main` call.
4731
+ * If the `main` call fails, the `fallback` is attemted.
4732
+ * if the fallback is successfully dispatched, the weights of both calls
4733
+ * are accumulated and an event containing the main call error is deposited.
4734
+ *
4735
+ * In the event of a fallback failure the whole call fails
4736
+ * with the weights returned.
4737
+ *
4738
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4739
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4740
+ *
4741
+ * ## Dispatch Logic
4742
+ * - If the origin is `root`, both the main and fallback calls are executed without
4743
+ * applying any origin filters.
4744
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4745
+ * `fallback` calls.
4746
+ *
4747
+ * ## Use Case
4748
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4749
+ * or both.
4750
+ **/
4751
+ | { name: 'IfElse'; params: { main: PolkadotRuntimeRuntimeCallLike; fallback: PolkadotRuntimeRuntimeCallLike } }
4752
+ /**
4753
+ * Dispatches a function call with a provided origin.
4754
+ *
4755
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4756
+ *
4757
+ * The dispatch origin for this call must be _Root_.
4758
+ **/
4759
+ | {
4760
+ name: 'DispatchAsFallible';
4761
+ params: { asOrigin: PolkadotRuntimeOriginCaller; call: PolkadotRuntimeRuntimeCallLike };
4762
+ };
4587
4763
 
4588
4764
  /**
4589
4765
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4759,7 +4935,18 @@ export type PalletProxyCall =
4759
4935
  forceProxyType?: PolkadotRuntimeConstantsProxyProxyType | undefined;
4760
4936
  call: PolkadotRuntimeRuntimeCall;
4761
4937
  };
4762
- };
4938
+ }
4939
+ /**
4940
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
4941
+ * This can be used by accounts to possibly lower their locked amount.
4942
+ *
4943
+ * The dispatch origin for this call must be _Signed_.
4944
+ *
4945
+ * The transaction fee is waived if the deposit amount has changed.
4946
+ *
4947
+ * Emits `DepositPoked` if successful.
4948
+ **/
4949
+ | { name: 'PokeDeposit' };
4763
4950
 
4764
4951
  export type PalletProxyCallLike =
4765
4952
  /**
@@ -4932,7 +5119,18 @@ export type PalletProxyCallLike =
4932
5119
  forceProxyType?: PolkadotRuntimeConstantsProxyProxyType | undefined;
4933
5120
  call: PolkadotRuntimeRuntimeCallLike;
4934
5121
  };
4935
- };
5122
+ }
5123
+ /**
5124
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5125
+ * This can be used by accounts to possibly lower their locked amount.
5126
+ *
5127
+ * The dispatch origin for this call must be _Signed_.
5128
+ *
5129
+ * The transaction fee is waived if the deposit amount has changed.
5130
+ *
5131
+ * Emits `DepositPoked` if successful.
5132
+ **/
5133
+ | { name: 'PokeDeposit' };
4936
5134
 
4937
5135
  export type PolkadotRuntimeConstantsProxyProxyType =
4938
5136
  | 'Any'
@@ -5087,6 +5285,25 @@ export type PalletMultisigCall =
5087
5285
  timepoint: PalletMultisigTimepoint;
5088
5286
  callHash: FixedBytes<32>;
5089
5287
  };
5288
+ }
5289
+ /**
5290
+ * Poke the deposit reserved for an existing multisig operation.
5291
+ *
5292
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5293
+ * the multisig operation.
5294
+ *
5295
+ * The transaction fee is waived if the deposit amount has changed.
5296
+ *
5297
+ * - `threshold`: The total number of approvals needed for this multisig.
5298
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5299
+ * multisig.
5300
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5301
+ *
5302
+ * Emits `DepositPoked` if successful.
5303
+ **/
5304
+ | {
5305
+ name: 'PokeDeposit';
5306
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
5090
5307
  };
5091
5308
 
5092
5309
  export type PalletMultisigCallLike =
@@ -5232,6 +5449,25 @@ export type PalletMultisigCallLike =
5232
5449
  timepoint: PalletMultisigTimepoint;
5233
5450
  callHash: FixedBytes<32>;
5234
5451
  };
5452
+ }
5453
+ /**
5454
+ * Poke the deposit reserved for an existing multisig operation.
5455
+ *
5456
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5457
+ * the multisig operation.
5458
+ *
5459
+ * The transaction fee is waived if the deposit amount has changed.
5460
+ *
5461
+ * - `threshold`: The total number of approvals needed for this multisig.
5462
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5463
+ * multisig.
5464
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5465
+ *
5466
+ * Emits `DepositPoked` if successful.
5467
+ **/
5468
+ | {
5469
+ name: 'PokeDeposit';
5470
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
5235
5471
  };
5236
5472
 
5237
5473
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -6079,8 +6315,9 @@ export type PalletBagsListCallLike =
6079
6315
  **/
6080
6316
  export type PalletNominationPoolsCall =
6081
6317
  /**
6082
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
6083
- * account and immediately increases the pools bond.
6318
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
6319
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
6320
+ * increases the pool's bond.
6084
6321
  *
6085
6322
  * The method of transferring the amount to the pool account is determined by
6086
6323
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -6223,13 +6460,13 @@ export type PalletNominationPoolsCall =
6223
6460
  * The dispatch origin of this call must be signed by the pool nominator or the pool
6224
6461
  * root role.
6225
6462
  *
6226
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
6227
- * account.
6463
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
6464
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
6228
6465
  *
6229
6466
  * # Note
6230
6467
  *
6231
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
6232
- * at least `depositor_min_bond` in the pool to start nominating.
6468
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
6469
+ * have at least `depositor_min_bond` in the pool to start nominating.
6233
6470
  **/
6234
6471
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32> } }
6235
6472
  /**
@@ -6300,6 +6537,9 @@ export type PalletNominationPoolsCall =
6300
6537
  * The dispatch origin of this call can be signed by the pool nominator or the pool
6301
6538
  * root role, same as [`Pallet::nominate`].
6302
6539
  *
6540
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
6541
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
6542
+ *
6303
6543
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
6304
6544
  * account).
6305
6545
  *
@@ -6308,9 +6548,7 @@ export type PalletNominationPoolsCall =
6308
6548
  * are unable to unbond.
6309
6549
  *
6310
6550
  * # Conditions for permissioned dispatch:
6311
- * * The caller has a nominator or root role of the pool.
6312
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
6313
- * account.
6551
+ * * The caller is the pool's nominator or root.
6314
6552
  **/
6315
6553
  | { name: 'Chill'; params: { poolId: number } }
6316
6554
  /**
@@ -6371,9 +6609,20 @@ export type PalletNominationPoolsCall =
6371
6609
  /**
6372
6610
  * Claim pending commission.
6373
6611
  *
6374
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
6375
- * commission is paid out and added to total claimed commission`. Total pending commission
6376
- * is reset to zero. the current.
6612
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
6613
+ *
6614
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
6615
+ * trigger the process of claiming the pool's commission.
6616
+ *
6617
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
6618
+ * accounts
6619
+ * * `acc`, and
6620
+ * * the pool's root account
6621
+ *
6622
+ * may call this extrinsic on behalf of the pool.
6623
+ *
6624
+ * Pending commissions are paid out and added to the total claimed commission.
6625
+ * The total pending commission is reset to zero.
6377
6626
  **/
6378
6627
  | { name: 'ClaimCommission'; params: { poolId: number } }
6379
6628
  /**
@@ -6435,8 +6684,9 @@ export type PalletNominationPoolsCall =
6435
6684
 
6436
6685
  export type PalletNominationPoolsCallLike =
6437
6686
  /**
6438
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
6439
- * account and immediately increases the pools bond.
6687
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
6688
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
6689
+ * increases the pool's bond.
6440
6690
  *
6441
6691
  * The method of transferring the amount to the pool account is determined by
6442
6692
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -6588,13 +6838,13 @@ export type PalletNominationPoolsCallLike =
6588
6838
  * The dispatch origin of this call must be signed by the pool nominator or the pool
6589
6839
  * root role.
6590
6840
  *
6591
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
6592
- * account.
6841
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
6842
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
6593
6843
  *
6594
6844
  * # Note
6595
6845
  *
6596
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
6597
- * at least `depositor_min_bond` in the pool to start nominating.
6846
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
6847
+ * have at least `depositor_min_bond` in the pool to start nominating.
6598
6848
  **/
6599
6849
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32Like> } }
6600
6850
  /**
@@ -6665,6 +6915,9 @@ export type PalletNominationPoolsCallLike =
6665
6915
  * The dispatch origin of this call can be signed by the pool nominator or the pool
6666
6916
  * root role, same as [`Pallet::nominate`].
6667
6917
  *
6918
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
6919
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
6920
+ *
6668
6921
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
6669
6922
  * account).
6670
6923
  *
@@ -6673,9 +6926,7 @@ export type PalletNominationPoolsCallLike =
6673
6926
  * are unable to unbond.
6674
6927
  *
6675
6928
  * # Conditions for permissioned dispatch:
6676
- * * The caller has a nominator or root role of the pool.
6677
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
6678
- * account.
6929
+ * * The caller is the pool's nominator or root.
6679
6930
  **/
6680
6931
  | { name: 'Chill'; params: { poolId: number } }
6681
6932
  /**
@@ -6736,9 +6987,20 @@ export type PalletNominationPoolsCallLike =
6736
6987
  /**
6737
6988
  * Claim pending commission.
6738
6989
  *
6739
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
6740
- * commission is paid out and added to total claimed commission`. Total pending commission
6741
- * is reset to zero. the current.
6990
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
6991
+ *
6992
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
6993
+ * trigger the process of claiming the pool's commission.
6994
+ *
6995
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
6996
+ * accounts
6997
+ * * `acc`, and
6998
+ * * the pool's root account
6999
+ *
7000
+ * may call this extrinsic on behalf of the pool.
7001
+ *
7002
+ * Pending commissions are paid out and added to the total claimed commission.
7003
+ * The total pending commission is reset to zero.
6742
7004
  **/
6743
7005
  | { name: 'ClaimCommission'; params: { poolId: number } }
6744
7006
  /**
@@ -8040,17 +8302,17 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
8040
8302
  **/
8041
8303
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
8042
8304
  name: 'ReportDisputeLostUnsigned';
8043
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8305
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8044
8306
  };
8045
8307
 
8046
8308
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
8047
8309
  name: 'ReportDisputeLostUnsigned';
8048
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8310
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8049
8311
  };
8050
8312
 
8051
- export type PolkadotPrimitivesV8SlashingDisputeProof = {
8313
+ export type PolkadotPrimitivesVstagingDisputeProof = {
8052
8314
  timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
8053
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
8315
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
8054
8316
  validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8055
8317
  validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
8056
8318
  };
@@ -8060,7 +8322,7 @@ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
8060
8322
  candidateHash: PolkadotCorePrimitivesCandidateHash;
8061
8323
  };
8062
8324
 
8063
- export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8325
+ export type PolkadotPrimitivesVstagingDisputeOffenceKind = 'ForInvalidBacked' | 'AgainstValid' | 'ForInvalidApproved';
8064
8326
 
8065
8327
  /**
8066
8328
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8101,7 +8363,27 @@ export type PolkadotRuntimeParachainsOnDemandPalletCall =
8101
8363
  * Events:
8102
8364
  * - `OnDemandOrderPlaced`
8103
8365
  **/
8104
- | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8366
+ | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } }
8367
+ /**
8368
+ * Create a single on demand core order with credits.
8369
+ * Will charge the owner's on-demand credit account the spot price for the current block.
8370
+ *
8371
+ * Parameters:
8372
+ * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
8373
+ * account.
8374
+ * - `max_amount`: The maximum number of credits to spend from the origin to place an
8375
+ * order.
8376
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
8377
+ *
8378
+ * Errors:
8379
+ * - `InsufficientCredits`
8380
+ * - `QueueFull`
8381
+ * - `SpotPriceHigherThanMaxAmount`
8382
+ *
8383
+ * Events:
8384
+ * - `OnDemandOrderPlaced`
8385
+ **/
8386
+ | { name: 'PlaceOrderWithCredits'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8105
8387
 
8106
8388
  export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
8107
8389
  /**
@@ -8139,7 +8421,27 @@ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
8139
8421
  * Events:
8140
8422
  * - `OnDemandOrderPlaced`
8141
8423
  **/
8142
- | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8424
+ | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } }
8425
+ /**
8426
+ * Create a single on demand core order with credits.
8427
+ * Will charge the owner's on-demand credit account the spot price for the current block.
8428
+ *
8429
+ * Parameters:
8430
+ * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
8431
+ * account.
8432
+ * - `max_amount`: The maximum number of credits to spend from the origin to place an
8433
+ * order.
8434
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
8435
+ *
8436
+ * Errors:
8437
+ * - `InsufficientCredits`
8438
+ * - `QueueFull`
8439
+ * - `SpotPriceHigherThanMaxAmount`
8440
+ *
8441
+ * Events:
8442
+ * - `OnDemandOrderPlaced`
8443
+ **/
8444
+ | { name: 'PlaceOrderWithCredits'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8143
8445
 
8144
8446
  /**
8145
8447
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8821,6 +9123,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCall =
8821
9123
  * teleported to the Coretime chain.
8822
9124
  **/
8823
9125
  | { name: 'RequestRevenueAt'; params: { when: number } }
9126
+ | { name: 'CreditAccount'; params: { who: AccountId32; amount: bigint } }
8824
9127
  /**
8825
9128
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
8826
9129
  * to be used.
@@ -8861,6 +9164,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCallLike =
8861
9164
  * teleported to the Coretime chain.
8862
9165
  **/
8863
9166
  | { name: 'RequestRevenueAt'; params: { when: number } }
9167
+ | { name: 'CreditAccount'; params: { who: AccountId32Like; amount: bigint } }
8864
9168
  /**
8865
9169
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
8866
9170
  * to be used.
@@ -9370,7 +9674,31 @@ export type PalletXcmCall =
9370
9674
  customXcmOnDest: XcmVersionedXcm;
9371
9675
  weightLimit: XcmV3WeightLimit;
9372
9676
  };
9373
- };
9677
+ }
9678
+ /**
9679
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
9680
+ * The `aliaser` is only authorized until the provided `expiry` block number.
9681
+ * The call can also be used for a previously authorized alias in order to update its
9682
+ * `expiry` block number.
9683
+ *
9684
+ * Usually useful to allow your local account to be aliased into from a remote location
9685
+ * also under your control (like your account on another chain).
9686
+ *
9687
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
9688
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
9689
+ * `origin` in XCM programs executed on the local chain.
9690
+ **/
9691
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
9692
+ /**
9693
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
9694
+ * the local `origin` making this call.
9695
+ **/
9696
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
9697
+ /**
9698
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
9699
+ * making this call.
9700
+ **/
9701
+ | { name: 'RemoveAllAuthorizedAliases' };
9374
9702
 
9375
9703
  export type PalletXcmCallLike =
9376
9704
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -9682,7 +10010,31 @@ export type PalletXcmCallLike =
9682
10010
  customXcmOnDest: XcmVersionedXcm;
9683
10011
  weightLimit: XcmV3WeightLimit;
9684
10012
  };
9685
- };
10013
+ }
10014
+ /**
10015
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
10016
+ * The `aliaser` is only authorized until the provided `expiry` block number.
10017
+ * The call can also be used for a previously authorized alias in order to update its
10018
+ * `expiry` block number.
10019
+ *
10020
+ * Usually useful to allow your local account to be aliased into from a remote location
10021
+ * also under your control (like your account on another chain).
10022
+ *
10023
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
10024
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
10025
+ * `origin` in XCM programs executed on the local chain.
10026
+ **/
10027
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
10028
+ /**
10029
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
10030
+ * the local `origin` making this call.
10031
+ **/
10032
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
10033
+ /**
10034
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
10035
+ * making this call.
10036
+ **/
10037
+ | { name: 'RemoveAllAuthorizedAliases' };
9686
10038
 
9687
10039
  export type XcmVersionedXcm =
9688
10040
  | { type: 'V3'; value: XcmV3Xcm }
@@ -10673,7 +11025,15 @@ export type PalletUtilityEvent =
10673
11025
  /**
10674
11026
  * A call was dispatched.
10675
11027
  **/
10676
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
11028
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
11029
+ /**
11030
+ * Main call was dispatched.
11031
+ **/
11032
+ | { name: 'IfElseMainSuccess' }
11033
+ /**
11034
+ * The fallback call was dispatched.
11035
+ **/
11036
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
10677
11037
 
10678
11038
  /**
10679
11039
  * The `Event` enum of this pallet
@@ -10723,8 +11083,17 @@ export type PalletProxyEvent =
10723
11083
  proxyType: PolkadotRuntimeConstantsProxyProxyType;
10724
11084
  delay: number;
10725
11085
  };
11086
+ }
11087
+ /**
11088
+ * A deposit stored for proxies or announcements was poked / updated.
11089
+ **/
11090
+ | {
11091
+ name: 'DepositPoked';
11092
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
10726
11093
  };
10727
11094
 
11095
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
11096
+
10728
11097
  /**
10729
11098
  * The `Event` enum of this pallet
10730
11099
  **/
@@ -10769,6 +11138,13 @@ export type PalletMultisigEvent =
10769
11138
  multisig: AccountId32;
10770
11139
  callHash: FixedBytes<32>;
10771
11140
  };
11141
+ }
11142
+ /**
11143
+ * The deposit for a multisig operation has been updated/poked.
11144
+ **/
11145
+ | {
11146
+ name: 'DepositPoked';
11147
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
10772
11148
  };
10773
11149
 
10774
11150
  /**
@@ -11021,7 +11397,41 @@ export type PalletNominationPoolsEvent =
11021
11397
  /**
11022
11398
  * Claimed excess frozen ED of af the reward pool.
11023
11399
  **/
11024
- | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } };
11400
+ | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } }
11401
+ /**
11402
+ * A pool member's claim permission has been updated.
11403
+ **/
11404
+ | {
11405
+ name: 'MemberClaimPermissionUpdated';
11406
+ data: { member: AccountId32; permission: PalletNominationPoolsClaimPermission };
11407
+ }
11408
+ /**
11409
+ * A pool's metadata was updated.
11410
+ **/
11411
+ | { name: 'MetadataUpdated'; data: { poolId: number; caller: AccountId32 } }
11412
+ /**
11413
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
11414
+ * on behalf of the pool.
11415
+ **/
11416
+ | { name: 'PoolNominationMade'; data: { poolId: number; caller: AccountId32 } }
11417
+ /**
11418
+ * The pool is chilled i.e. no longer nominating.
11419
+ **/
11420
+ | { name: 'PoolNominatorChilled'; data: { poolId: number; caller: AccountId32 } }
11421
+ /**
11422
+ * Global parameters regulating nomination pools have been updated.
11423
+ **/
11424
+ | {
11425
+ name: 'GlobalParamsUpdated';
11426
+ data: {
11427
+ minJoinBond: bigint;
11428
+ minCreateBond: bigint;
11429
+ maxPools?: number | undefined;
11430
+ maxMembers?: number | undefined;
11431
+ maxMembersPerPool?: number | undefined;
11432
+ globalMaxCommission?: Perbill | undefined;
11433
+ };
11434
+ };
11025
11435
 
11026
11436
  /**
11027
11437
  * The `Event` enum of this pallet
@@ -11294,7 +11704,11 @@ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
11294
11704
  /**
11295
11705
  * The value of the spot price has likely changed
11296
11706
  **/
11297
- | { name: 'SpotPriceSet'; data: { spotPrice: bigint } };
11707
+ | { name: 'SpotPriceSet'; data: { spotPrice: bigint } }
11708
+ /**
11709
+ * An account was given credits.
11710
+ **/
11711
+ | { name: 'AccountCredited'; data: { who: AccountId32; amount: bigint } };
11298
11712
 
11299
11713
  /**
11300
11714
  * The `Event` enum of this pallet
@@ -11515,7 +11929,7 @@ export type PalletXcmEvent =
11515
11929
  **/
11516
11930
  | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
11517
11931
  /**
11518
- * A XCM message was sent.
11932
+ * An XCM message was sent.
11519
11933
  **/
11520
11934
  | {
11521
11935
  name: 'Sent';
@@ -11526,6 +11940,25 @@ export type PalletXcmEvent =
11526
11940
  messageId: FixedBytes<32>;
11527
11941
  };
11528
11942
  }
11943
+ /**
11944
+ * An XCM message failed to send.
11945
+ **/
11946
+ | {
11947
+ name: 'SendFailed';
11948
+ data: {
11949
+ origin: StagingXcmV5Location;
11950
+ destination: StagingXcmV5Location;
11951
+ error: XcmV3TraitsSendError;
11952
+ messageId: FixedBytes<32>;
11953
+ };
11954
+ }
11955
+ /**
11956
+ * An XCM message failed to process.
11957
+ **/
11958
+ | {
11959
+ name: 'ProcessXcmError';
11960
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
11961
+ }
11529
11962
  /**
11530
11963
  * Query response received which does not match a registered query. This may be because a
11531
11964
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -11682,13 +12115,38 @@ export type PalletXcmEvent =
11682
12115
  /**
11683
12116
  * A XCM version migration finished.
11684
12117
  **/
11685
- | { name: 'VersionMigrationFinished'; data: { version: number } };
12118
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
12119
+ /**
12120
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
12121
+ * `expiry` block number.
12122
+ **/
12123
+ | {
12124
+ name: 'AliasAuthorized';
12125
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
12126
+ }
12127
+ /**
12128
+ * `target` removed alias authorization for `aliaser`.
12129
+ **/
12130
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
12131
+ /**
12132
+ * `target` removed all alias authorizations.
12133
+ **/
12134
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
11686
12135
 
11687
12136
  export type StagingXcmV5TraitsOutcome =
11688
12137
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
11689
12138
  | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
11690
12139
  | { type: 'Error'; value: { error: XcmV5TraitsError } };
11691
12140
 
12141
+ export type XcmV3TraitsSendError =
12142
+ | 'NotApplicable'
12143
+ | 'Transport'
12144
+ | 'Unroutable'
12145
+ | 'DestinationUnsupported'
12146
+ | 'ExceedsMaxMessageSize'
12147
+ | 'MissingArgument'
12148
+ | 'Fees';
12149
+
11692
12150
  /**
11693
12151
  * The `Event` enum of this pallet
11694
12152
  **/
@@ -12062,15 +12520,21 @@ export type FrameSupportTokensMiscIdAmount = { id: PolkadotRuntimeRuntimeHoldRea
12062
12520
 
12063
12521
  export type PolkadotRuntimeRuntimeHoldReason =
12064
12522
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
12523
+ | { type: 'Staking'; value: PalletStakingPalletHoldReason }
12065
12524
  | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
12066
- | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
12525
+ | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
12526
+ | { type: 'XcmPallet'; value: PalletXcmHoldReason };
12067
12527
 
12068
12528
  export type PalletPreimageHoldReason = 'Preimage';
12069
12529
 
12530
+ export type PalletStakingPalletHoldReason = 'Staking';
12531
+
12070
12532
  export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
12071
12533
 
12072
12534
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
12073
12535
 
12536
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
12537
+
12074
12538
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
12075
12539
  id: PolkadotRuntimeRuntimeFreezeReason;
12076
12540
  amount: bigint;
@@ -12305,13 +12769,28 @@ export type PalletStakingPalletError =
12305
12769
  /**
12306
12770
  * Operation not allowed for virtual stakers.
12307
12771
  **/
12308
- | 'VirtualStakerNotAllowed';
12772
+ | 'VirtualStakerNotAllowed'
12773
+ /**
12774
+ * Stash could not be reaped as other pallet might depend on it.
12775
+ **/
12776
+ | 'CannotReapStash'
12777
+ /**
12778
+ * The stake of this account is already migrated to `Fungible` holds.
12779
+ **/
12780
+ | 'AlreadyMigrated'
12781
+ /**
12782
+ * Account is restricted from participation in staking. This may happen if the account is
12783
+ * staking in another way already, such as via pool.
12784
+ **/
12785
+ | 'Restricted';
12309
12786
 
12310
12787
  export type SpStakingOffenceOffenceDetails = {
12311
12788
  offender: [AccountId32, SpStakingExposure];
12312
12789
  reporters: Array<AccountId32>;
12313
12790
  };
12314
12791
 
12792
+ export type SpStakingOffenceOffenceSeverity = Perbill;
12793
+
12315
12794
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
12316
12795
 
12317
12796
  /**
@@ -12557,7 +13036,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
12557
13036
 
12558
13037
  export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
12559
13038
 
12560
- export type PalletReferendaTrackInfo = {
13039
+ export type PalletReferendaTrackDetails = {
12561
13040
  name: string;
12562
13041
  maxDeciding: number;
12563
13042
  decisionDeposit: bigint;
@@ -12812,11 +13291,12 @@ export type PalletMultisigError =
12812
13291
  **/
12813
13292
  | 'SenderInSignatories'
12814
13293
  /**
12815
- * Multisig operation not found when attempting to cancel.
13294
+ * Multisig operation not found in storage.
12816
13295
  **/
12817
13296
  | 'NotFound'
12818
13297
  /**
12819
- * Only the account that originally created the multisig is able to cancel it.
13298
+ * Only the account that originally created the multisig is able to cancel it or update
13299
+ * its deposits.
12820
13300
  **/
12821
13301
  | 'NotOwner'
12822
13302
  /**
@@ -13232,6 +13712,10 @@ export type PalletNominationPoolsError =
13232
13712
  * No slash pending that can be applied to the member.
13233
13713
  **/
13234
13714
  | { name: 'NothingToSlash' }
13715
+ /**
13716
+ * The slash amount is too low to be applied.
13717
+ **/
13718
+ | { name: 'SlashTooLow' }
13235
13719
  /**
13236
13720
  * The pool or member delegation has already migrated to delegate stake.
13237
13721
  **/
@@ -13241,10 +13725,14 @@ export type PalletNominationPoolsError =
13241
13725
  **/
13242
13726
  | { name: 'NotMigrated' }
13243
13727
  /**
13244
- * This call is not allowed in the current state of the pallet or an unspecific error
13245
- * occurred.
13728
+ * This call is not allowed in the current state of the pallet.
13729
+ **/
13730
+ | { name: 'NotSupported' }
13731
+ /**
13732
+ * Account is restricted from participation in pools. This may happen if the account is
13733
+ * staking in another way already.
13246
13734
  **/
13247
- | { name: 'NotSupported' };
13735
+ | { name: 'Restricted' };
13248
13736
 
13249
13737
  export type PalletNominationPoolsDefensiveError =
13250
13738
  | 'NotEnoughSpaceInUnbondPool'
@@ -13828,9 +14316,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
13828
14316
  **/
13829
14317
  | 'UnconfirmedDispute';
13830
14318
 
13831
- export type PolkadotPrimitivesV8SlashingPendingSlashes = {
14319
+ export type PolkadotPrimitivesVstagingPendingSlashes = {
13832
14320
  keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
13833
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
14321
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
13834
14322
  };
13835
14323
 
13836
14324
  /**
@@ -13900,7 +14388,11 @@ export type PolkadotRuntimeParachainsOnDemandPalletError =
13900
14388
  * The current spot price is higher than the max amount specified in the `place_order`
13901
14389
  * call, making it invalid.
13902
14390
  **/
13903
- | 'SpotPriceHigherThanMaxAmount';
14391
+ | 'SpotPriceHigherThanMaxAmount'
14392
+ /**
14393
+ * The account doesn't have enough credits to purchase on-demand coretime.
14394
+ **/
14395
+ | 'InsufficientCredits';
13904
14396
 
13905
14397
  export type PolkadotRuntimeParachainsAssignerCoretimeSchedule = {
13906
14398
  assignments: Array<
@@ -14222,6 +14714,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
14222
14714
  consumers: Array<[[], bigint]>;
14223
14715
  };
14224
14716
 
14717
+ export type PalletXcmAuthorizedAliasesEntry = {
14718
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
14719
+ ticket: FrameSupportStorageDisabled;
14720
+ };
14721
+
14722
+ export type FrameSupportStorageDisabled = {};
14723
+
14724
+ export type PalletXcmMaxAuthorizedAliases = {};
14725
+
14726
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
14727
+ location: XcmVersionedLocation;
14728
+ expiry?: bigint | undefined;
14729
+ };
14730
+
14225
14731
  /**
14226
14732
  * The `Error` enum of this pallet.
14227
14733
  **/
@@ -14324,7 +14830,19 @@ export type PalletXcmError =
14324
14830
  /**
14325
14831
  * Local XCM execution incomplete.
14326
14832
  **/
14327
- | 'LocalExecutionIncomplete';
14833
+ | 'LocalExecutionIncomplete'
14834
+ /**
14835
+ * Too many locations authorized to alias origin.
14836
+ **/
14837
+ | 'TooManyAuthorizedAliases'
14838
+ /**
14839
+ * Expiry block number is in the past.
14840
+ **/
14841
+ | 'ExpiresInPast'
14842
+ /**
14843
+ * The alias to remove authorization for was not found.
14844
+ **/
14845
+ | 'AliasNotFound';
14328
14846
 
14329
14847
  export type PalletMessageQueueBookState = {
14330
14848
  begin: number;
@@ -14584,8 +15102,22 @@ export type PolkadotPrimitivesVstagingCandidateEvent =
14584
15102
  ];
14585
15103
  };
14586
15104
 
15105
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
15106
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
15107
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
15108
+ };
15109
+
15110
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
15111
+
14587
15112
  export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
14588
15113
 
15114
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
15115
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
15116
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
15117
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
15118
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
15119
+ };
15120
+
14589
15121
  export type PolkadotPrimitivesVstagingAsyncBackingBackingState = {
14590
15122
  constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
14591
15123
  pendingAvailability: Array<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
@@ -14625,6 +15157,26 @@ export type PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability =
14625
15157
  maxPovSize: number;
14626
15158
  };
14627
15159
 
15160
+ export type PolkadotPrimitivesVstagingAsyncBackingConstraints = {
15161
+ minRelayParentNumber: number;
15162
+ maxPovSize: number;
15163
+ maxCodeSize: number;
15164
+ maxHeadDataSize: number;
15165
+ umpRemaining: number;
15166
+ umpRemainingBytes: number;
15167
+ maxUmpNumPerCandidate: number;
15168
+ dmpRemainingMessages: Array<number>;
15169
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
15170
+ hrmpChannelsOut: Array<
15171
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
15172
+ >;
15173
+ maxHrmpNumPerCandidate: number;
15174
+ requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
15175
+ validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
15176
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
15177
+ futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
15178
+ };
15179
+
14628
15180
  export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyEcdsaCryptoPublic>; id: bigint };
14629
15181
 
14630
15182
  export type SpRuntimeOpaqueValue = Bytes;