@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
package/kusama/types.d.ts CHANGED
@@ -134,7 +134,11 @@ export type FrameSystemEvent =
134
134
  /**
135
135
  * An upgrade was authorized.
136
136
  **/
137
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
137
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
138
+ /**
139
+ * An invalid authorized upgrade was rejected while trying to apply it.
140
+ **/
141
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
138
142
 
139
143
  export type FrameSystemDispatchEventInfo = {
140
144
  weight: SpWeightsWeightV2Weight;
@@ -177,7 +181,11 @@ export type PalletIndicesEvent =
177
181
  /**
178
182
  * A account index has been frozen to its current account ID.
179
183
  **/
180
- | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } };
184
+ | { name: 'IndexFrozen'; data: { index: number; who: AccountId32 } }
185
+ /**
186
+ * A deposit to reserve an index has been poked/reconsidered.
187
+ **/
188
+ | { name: 'DepositPoked'; data: { who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint } };
181
189
 
182
190
  /**
183
191
  * The `Event` enum of this pallet
@@ -379,7 +387,12 @@ export type PalletStakingPalletEvent =
379
387
  /**
380
388
  * Report of a controller batch deprecation.
381
389
  **/
382
- | { name: 'ControllerBatchDeprecated'; data: { failures: number } };
390
+ | { name: 'ControllerBatchDeprecated'; data: { failures: number } }
391
+ /**
392
+ * Staking balance migrated from locks to holds, with any balance that could not be held
393
+ * is force withdrawn.
394
+ **/
395
+ | { name: 'CurrencyMigrated'; data: { stash: AccountId32; forceWithdraw: bigint } };
383
396
 
384
397
  export type PalletStakingRewardDestination =
385
398
  | { type: 'Staked' }
@@ -411,7 +424,15 @@ export type PalletSessionEvent =
411
424
  * New session has happened. Note that the argument is the session index, not the
412
425
  * block number as the type might suggest.
413
426
  **/
414
- { name: 'NewSession'; data: { sessionIndex: number } };
427
+ | { name: 'NewSession'; data: { sessionIndex: number } }
428
+ /**
429
+ * Validator has been disabled.
430
+ **/
431
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
432
+ /**
433
+ * Validator has been re-enabled.
434
+ **/
435
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
415
436
 
416
437
  /**
417
438
  * The `Event` enum of this pallet
@@ -672,13 +693,17 @@ export type PalletConvictionVotingEvent =
672
693
  **/
673
694
  | { name: 'Undelegated'; data: AccountId32 }
674
695
  /**
675
- * An account that has voted
696
+ * An account has voted
676
697
  **/
677
698
  | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
678
699
  /**
679
- * A vote that been removed
700
+ * A vote has been removed
680
701
  **/
681
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
702
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
703
+ /**
704
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
705
+ **/
706
+ | { name: 'VoteUnlocked'; data: { who: AccountId32; class: number } };
682
707
 
683
708
  export type PalletConvictionVotingVoteAccountVote =
684
709
  | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
@@ -1453,7 +1478,20 @@ export type PalletIndicesCall =
1453
1478
  * ## Complexity
1454
1479
  * - `O(1)`.
1455
1480
  **/
1456
- | { name: 'Freeze'; params: { index: number } };
1481
+ | { name: 'Freeze'; params: { index: number } }
1482
+ /**
1483
+ * Poke the deposit reserved for an index.
1484
+ *
1485
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1486
+ * non-frozen account `index`.
1487
+ *
1488
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1489
+ *
1490
+ * - `index`: the index whose deposit is to be poked/reconsidered.
1491
+ *
1492
+ * Emits `DepositPoked` if successful.
1493
+ **/
1494
+ | { name: 'PokeDeposit'; params: { index: number } };
1457
1495
 
1458
1496
  export type PalletIndicesCallLike =
1459
1497
  /**
@@ -1531,7 +1569,20 @@ export type PalletIndicesCallLike =
1531
1569
  * ## Complexity
1532
1570
  * - `O(1)`.
1533
1571
  **/
1534
- | { name: 'Freeze'; params: { index: number } };
1572
+ | { name: 'Freeze'; params: { index: number } }
1573
+ /**
1574
+ * Poke the deposit reserved for an index.
1575
+ *
1576
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1577
+ * non-frozen account `index`.
1578
+ *
1579
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1580
+ *
1581
+ * - `index`: the index whose deposit is to be poked/reconsidered.
1582
+ *
1583
+ * Emits `DepositPoked` if successful.
1584
+ **/
1585
+ | { name: 'PokeDeposit'; params: { index: number } };
1535
1586
 
1536
1587
  /**
1537
1588
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2157,14 +2208,39 @@ export type PalletStakingPalletCall =
2157
2208
  };
2158
2209
  }
2159
2210
  /**
2160
- * Adjusts the staking ledger by withdrawing any excess staked amount.
2211
+ * Removes the legacy Staking locks if they exist.
2212
+ *
2213
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
2214
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
2215
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
2216
+ *
2217
+ * The fee is waived if the migration is successful.
2218
+ **/
2219
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32 } }
2220
+ /**
2221
+ * This function allows governance to manually slash a validator and is a
2222
+ * **fallback mechanism**.
2223
+ *
2224
+ * The dispatch origin must be `T::AdminOrigin`.
2225
+ *
2226
+ * ## Parameters
2227
+ * - `validator_stash` - The stash account of the validator to slash.
2228
+ * - `era` - The era in which the validator was in the active set.
2229
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
2230
+ *
2231
+ * ## Behavior
2232
+ *
2233
+ * The slash will be applied using the standard slashing mechanics, respecting the
2234
+ * configured `SlashDeferDuration`.
2161
2235
  *
2162
- * This function corrects cases where a user's recorded stake in the ledger
2163
- * exceeds their actual staked funds. This situation can arise due to cases such as
2164
- * external slashing by another pallet, leading to an inconsistency between the ledger
2165
- * and the actual stake.
2236
+ * This means:
2237
+ * - If the validator was already slashed by a higher percentage for the same era, this
2238
+ * slash will have no additional effect.
2239
+ * - If the validator was previously slashed by a lower percentage, only the difference
2240
+ * will be applied.
2241
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
2166
2242
  **/
2167
- | { name: 'WithdrawOverstake'; params: { stash: AccountId32 } };
2243
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32; era: number; slashFraction: Perbill } };
2168
2244
 
2169
2245
  export type PalletStakingPalletCallLike =
2170
2246
  /**
@@ -2612,14 +2688,39 @@ export type PalletStakingPalletCallLike =
2612
2688
  };
2613
2689
  }
2614
2690
  /**
2615
- * Adjusts the staking ledger by withdrawing any excess staked amount.
2691
+ * Removes the legacy Staking locks if they exist.
2616
2692
  *
2617
- * This function corrects cases where a user's recorded stake in the ledger
2618
- * exceeds their actual staked funds. This situation can arise due to cases such as
2619
- * external slashing by another pallet, leading to an inconsistency between the ledger
2620
- * and the actual stake.
2693
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
2694
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
2695
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
2696
+ *
2697
+ * The fee is waived if the migration is successful.
2698
+ **/
2699
+ | { name: 'MigrateCurrency'; params: { stash: AccountId32Like } }
2700
+ /**
2701
+ * This function allows governance to manually slash a validator and is a
2702
+ * **fallback mechanism**.
2703
+ *
2704
+ * The dispatch origin must be `T::AdminOrigin`.
2705
+ *
2706
+ * ## Parameters
2707
+ * - `validator_stash` - The stash account of the validator to slash.
2708
+ * - `era` - The era in which the validator was in the active set.
2709
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
2710
+ *
2711
+ * ## Behavior
2712
+ *
2713
+ * The slash will be applied using the standard slashing mechanics, respecting the
2714
+ * configured `SlashDeferDuration`.
2715
+ *
2716
+ * This means:
2717
+ * - If the validator was already slashed by a higher percentage for the same era, this
2718
+ * slash will have no additional effect.
2719
+ * - If the validator was previously slashed by a lower percentage, only the difference
2720
+ * will be applied.
2721
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
2621
2722
  **/
2622
- | { name: 'WithdrawOverstake'; params: { stash: AccountId32Like } };
2723
+ | { name: 'ManualSlash'; params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill } };
2623
2724
 
2624
2725
  export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
2625
2726
 
@@ -4203,7 +4304,44 @@ export type PalletUtilityCall =
4203
4304
  *
4204
4305
  * The dispatch origin for this call must be _Root_.
4205
4306
  **/
4206
- | { name: 'WithWeight'; params: { call: StagingKusamaRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
4307
+ | { name: 'WithWeight'; params: { call: StagingKusamaRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
4308
+ /**
4309
+ * Dispatch a fallback call in the event the main call fails to execute.
4310
+ * May be called from any origin except `None`.
4311
+ *
4312
+ * This function first attempts to dispatch the `main` call.
4313
+ * If the `main` call fails, the `fallback` is attemted.
4314
+ * if the fallback is successfully dispatched, the weights of both calls
4315
+ * are accumulated and an event containing the main call error is deposited.
4316
+ *
4317
+ * In the event of a fallback failure the whole call fails
4318
+ * with the weights returned.
4319
+ *
4320
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4321
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4322
+ *
4323
+ * ## Dispatch Logic
4324
+ * - If the origin is `root`, both the main and fallback calls are executed without
4325
+ * applying any origin filters.
4326
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4327
+ * `fallback` calls.
4328
+ *
4329
+ * ## Use Case
4330
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4331
+ * or both.
4332
+ **/
4333
+ | { name: 'IfElse'; params: { main: StagingKusamaRuntimeRuntimeCall; fallback: StagingKusamaRuntimeRuntimeCall } }
4334
+ /**
4335
+ * Dispatches a function call with a provided origin.
4336
+ *
4337
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4338
+ *
4339
+ * The dispatch origin for this call must be _Root_.
4340
+ **/
4341
+ | {
4342
+ name: 'DispatchAsFallible';
4343
+ params: { asOrigin: StagingKusamaRuntimeOriginCaller; call: StagingKusamaRuntimeRuntimeCall };
4344
+ };
4207
4345
 
4208
4346
  export type PalletUtilityCallLike =
4209
4347
  /**
@@ -4295,7 +4433,47 @@ export type PalletUtilityCallLike =
4295
4433
  *
4296
4434
  * The dispatch origin for this call must be _Root_.
4297
4435
  **/
4298
- | { name: 'WithWeight'; params: { call: StagingKusamaRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
4436
+ | { name: 'WithWeight'; params: { call: StagingKusamaRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
4437
+ /**
4438
+ * Dispatch a fallback call in the event the main call fails to execute.
4439
+ * May be called from any origin except `None`.
4440
+ *
4441
+ * This function first attempts to dispatch the `main` call.
4442
+ * If the `main` call fails, the `fallback` is attemted.
4443
+ * if the fallback is successfully dispatched, the weights of both calls
4444
+ * are accumulated and an event containing the main call error is deposited.
4445
+ *
4446
+ * In the event of a fallback failure the whole call fails
4447
+ * with the weights returned.
4448
+ *
4449
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
4450
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
4451
+ *
4452
+ * ## Dispatch Logic
4453
+ * - If the origin is `root`, both the main and fallback calls are executed without
4454
+ * applying any origin filters.
4455
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
4456
+ * `fallback` calls.
4457
+ *
4458
+ * ## Use Case
4459
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
4460
+ * or both.
4461
+ **/
4462
+ | {
4463
+ name: 'IfElse';
4464
+ params: { main: StagingKusamaRuntimeRuntimeCallLike; fallback: StagingKusamaRuntimeRuntimeCallLike };
4465
+ }
4466
+ /**
4467
+ * Dispatches a function call with a provided origin.
4468
+ *
4469
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
4470
+ *
4471
+ * The dispatch origin for this call must be _Root_.
4472
+ **/
4473
+ | {
4474
+ name: 'DispatchAsFallible';
4475
+ params: { asOrigin: StagingKusamaRuntimeOriginCaller; call: StagingKusamaRuntimeRuntimeCallLike };
4476
+ };
4299
4477
 
4300
4478
  /**
4301
4479
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4748,7 +4926,7 @@ export type PalletRecoveryCall =
4748
4926
  **/
4749
4927
  | { name: 'AsRecovered'; params: { account: MultiAddress; call: StagingKusamaRuntimeRuntimeCall } }
4750
4928
  /**
4751
- * Allow ROOT to bypass the recovery process and set an a rescuer account
4929
+ * Allow ROOT to bypass the recovery process and set a rescuer account
4752
4930
  * for a lost account directly.
4753
4931
  *
4754
4932
  * The dispatch origin for this call must be _ROOT_.
@@ -4870,7 +5048,7 @@ export type PalletRecoveryCallLike =
4870
5048
  **/
4871
5049
  | { name: 'AsRecovered'; params: { account: MultiAddressLike; call: StagingKusamaRuntimeRuntimeCallLike } }
4872
5050
  /**
4873
- * Allow ROOT to bypass the recovery process and set an a rescuer account
5051
+ * Allow ROOT to bypass the recovery process and set a rescuer account
4874
5052
  * for a lost account directly.
4875
5053
  *
4876
5054
  * The dispatch origin for this call must be _ROOT_.
@@ -5551,7 +5729,18 @@ export type PalletProxyCall =
5551
5729
  forceProxyType?: KusamaRuntimeConstantsProxyProxyType | undefined;
5552
5730
  call: StagingKusamaRuntimeRuntimeCall;
5553
5731
  };
5554
- };
5732
+ }
5733
+ /**
5734
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5735
+ * This can be used by accounts to possibly lower their locked amount.
5736
+ *
5737
+ * The dispatch origin for this call must be _Signed_.
5738
+ *
5739
+ * The transaction fee is waived if the deposit amount has changed.
5740
+ *
5741
+ * Emits `DepositPoked` if successful.
5742
+ **/
5743
+ | { name: 'PokeDeposit' };
5555
5744
 
5556
5745
  export type PalletProxyCallLike =
5557
5746
  /**
@@ -5724,7 +5913,18 @@ export type PalletProxyCallLike =
5724
5913
  forceProxyType?: KusamaRuntimeConstantsProxyProxyType | undefined;
5725
5914
  call: StagingKusamaRuntimeRuntimeCallLike;
5726
5915
  };
5727
- };
5916
+ }
5917
+ /**
5918
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5919
+ * This can be used by accounts to possibly lower their locked amount.
5920
+ *
5921
+ * The dispatch origin for this call must be _Signed_.
5922
+ *
5923
+ * The transaction fee is waived if the deposit amount has changed.
5924
+ *
5925
+ * Emits `DepositPoked` if successful.
5926
+ **/
5927
+ | { name: 'PokeDeposit' };
5728
5928
 
5729
5929
  export type KusamaRuntimeConstantsProxyProxyType =
5730
5930
  | 'Any'
@@ -5884,6 +6084,25 @@ export type PalletMultisigCall =
5884
6084
  timepoint: PalletMultisigTimepoint;
5885
6085
  callHash: FixedBytes<32>;
5886
6086
  };
6087
+ }
6088
+ /**
6089
+ * Poke the deposit reserved for an existing multisig operation.
6090
+ *
6091
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
6092
+ * the multisig operation.
6093
+ *
6094
+ * The transaction fee is waived if the deposit amount has changed.
6095
+ *
6096
+ * - `threshold`: The total number of approvals needed for this multisig.
6097
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
6098
+ * multisig.
6099
+ * - `call_hash`: The hash of the call this deposit is reserved for.
6100
+ *
6101
+ * Emits `DepositPoked` if successful.
6102
+ **/
6103
+ | {
6104
+ name: 'PokeDeposit';
6105
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
5887
6106
  };
5888
6107
 
5889
6108
  export type PalletMultisigCallLike =
@@ -6029,6 +6248,25 @@ export type PalletMultisigCallLike =
6029
6248
  timepoint: PalletMultisigTimepoint;
6030
6249
  callHash: FixedBytes<32>;
6031
6250
  };
6251
+ }
6252
+ /**
6253
+ * Poke the deposit reserved for an existing multisig operation.
6254
+ *
6255
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
6256
+ * the multisig operation.
6257
+ *
6258
+ * The transaction fee is waived if the deposit amount has changed.
6259
+ *
6260
+ * - `threshold`: The total number of approvals needed for this multisig.
6261
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
6262
+ * multisig.
6263
+ * - `call_hash`: The hash of the call this deposit is reserved for.
6264
+ *
6265
+ * Emits `DepositPoked` if successful.
6266
+ **/
6267
+ | {
6268
+ name: 'PokeDeposit';
6269
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
6032
6270
  };
6033
6271
 
6034
6272
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -6067,7 +6305,7 @@ export type PalletPreimageCall =
6067
6305
  **/
6068
6306
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
6069
6307
  /**
6070
- * Ensure that the a bulk of pre-images is upgraded.
6308
+ * Ensure that the bulk of pre-images is upgraded.
6071
6309
  *
6072
6310
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
6073
6311
  **/
@@ -6104,7 +6342,7 @@ export type PalletPreimageCallLike =
6104
6342
  **/
6105
6343
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
6106
6344
  /**
6107
- * Ensure that the a bulk of pre-images is upgraded.
6345
+ * Ensure that the bulk of pre-images is upgraded.
6108
6346
  *
6109
6347
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
6110
6348
  **/
@@ -7084,8 +7322,9 @@ export type PalletBagsListCallLike =
7084
7322
  **/
7085
7323
  export type PalletNominationPoolsCall =
7086
7324
  /**
7087
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7088
- * account and immediately increases the pools bond.
7325
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
7326
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
7327
+ * increases the pool's bond.
7089
7328
  *
7090
7329
  * The method of transferring the amount to the pool account is determined by
7091
7330
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -7228,13 +7467,13 @@ export type PalletNominationPoolsCall =
7228
7467
  * The dispatch origin of this call must be signed by the pool nominator or the pool
7229
7468
  * root role.
7230
7469
  *
7231
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
7232
- * account.
7470
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
7471
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
7233
7472
  *
7234
7473
  * # Note
7235
7474
  *
7236
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
7237
- * at least `depositor_min_bond` in the pool to start nominating.
7475
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
7476
+ * have at least `depositor_min_bond` in the pool to start nominating.
7238
7477
  **/
7239
7478
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32> } }
7240
7479
  /**
@@ -7305,6 +7544,9 @@ export type PalletNominationPoolsCall =
7305
7544
  * The dispatch origin of this call can be signed by the pool nominator or the pool
7306
7545
  * root role, same as [`Pallet::nominate`].
7307
7546
  *
7547
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
7548
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
7549
+ *
7308
7550
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
7309
7551
  * account).
7310
7552
  *
@@ -7313,9 +7555,7 @@ export type PalletNominationPoolsCall =
7313
7555
  * are unable to unbond.
7314
7556
  *
7315
7557
  * # Conditions for permissioned dispatch:
7316
- * * The caller has a nominator or root role of the pool.
7317
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
7318
- * account.
7558
+ * * The caller is the pool's nominator or root.
7319
7559
  **/
7320
7560
  | { name: 'Chill'; params: { poolId: number } }
7321
7561
  /**
@@ -7376,9 +7616,20 @@ export type PalletNominationPoolsCall =
7376
7616
  /**
7377
7617
  * Claim pending commission.
7378
7618
  *
7379
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
7380
- * commission is paid out and added to total claimed commission`. Total pending commission
7381
- * is reset to zero. the current.
7619
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
7620
+ *
7621
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
7622
+ * trigger the process of claiming the pool's commission.
7623
+ *
7624
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
7625
+ * accounts
7626
+ * * `acc`, and
7627
+ * * the pool's root account
7628
+ *
7629
+ * may call this extrinsic on behalf of the pool.
7630
+ *
7631
+ * Pending commissions are paid out and added to the total claimed commission.
7632
+ * The total pending commission is reset to zero.
7382
7633
  **/
7383
7634
  | { name: 'ClaimCommission'; params: { poolId: number } }
7384
7635
  /**
@@ -7440,8 +7691,9 @@ export type PalletNominationPoolsCall =
7440
7691
 
7441
7692
  export type PalletNominationPoolsCallLike =
7442
7693
  /**
7443
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7444
- * account and immediately increases the pools bond.
7694
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
7695
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
7696
+ * increases the pool's bond.
7445
7697
  *
7446
7698
  * The method of transferring the amount to the pool account is determined by
7447
7699
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -7593,13 +7845,13 @@ export type PalletNominationPoolsCallLike =
7593
7845
  * The dispatch origin of this call must be signed by the pool nominator or the pool
7594
7846
  * root role.
7595
7847
  *
7596
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
7597
- * account.
7848
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
7849
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
7598
7850
  *
7599
7851
  * # Note
7600
7852
  *
7601
- * In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
7602
- * at least `depositor_min_bond` in the pool to start nominating.
7853
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
7854
+ * have at least `depositor_min_bond` in the pool to start nominating.
7603
7855
  **/
7604
7856
  | { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32Like> } }
7605
7857
  /**
@@ -7670,6 +7922,9 @@ export type PalletNominationPoolsCallLike =
7670
7922
  * The dispatch origin of this call can be signed by the pool nominator or the pool
7671
7923
  * root role, same as [`Pallet::nominate`].
7672
7924
  *
7925
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
7926
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
7927
+ *
7673
7928
  * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
7674
7929
  * account).
7675
7930
  *
@@ -7678,9 +7933,7 @@ export type PalletNominationPoolsCallLike =
7678
7933
  * are unable to unbond.
7679
7934
  *
7680
7935
  * # Conditions for permissioned dispatch:
7681
- * * The caller has a nominator or root role of the pool.
7682
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
7683
- * account.
7936
+ * * The caller is the pool's nominator or root.
7684
7937
  **/
7685
7938
  | { name: 'Chill'; params: { poolId: number } }
7686
7939
  /**
@@ -7741,9 +7994,20 @@ export type PalletNominationPoolsCallLike =
7741
7994
  /**
7742
7995
  * Claim pending commission.
7743
7996
  *
7744
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
7745
- * commission is paid out and added to total claimed commission`. Total pending commission
7746
- * is reset to zero. the current.
7997
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
7998
+ *
7999
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
8000
+ * trigger the process of claiming the pool's commission.
8001
+ *
8002
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
8003
+ * accounts
8004
+ * * `acc`, and
8005
+ * * the pool's root account
8006
+ *
8007
+ * may call this extrinsic on behalf of the pool.
8008
+ *
8009
+ * Pending commissions are paid out and added to the total claimed commission.
8010
+ * The total pending commission is reset to zero.
7747
8011
  **/
7748
8012
  | { name: 'ClaimCommission'; params: { poolId: number } }
7749
8013
  /**
@@ -9045,17 +9309,17 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
9045
9309
  **/
9046
9310
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
9047
9311
  name: 'ReportDisputeLostUnsigned';
9048
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9312
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9049
9313
  };
9050
9314
 
9051
9315
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
9052
9316
  name: 'ReportDisputeLostUnsigned';
9053
- params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9317
+ params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9054
9318
  };
9055
9319
 
9056
- export type PolkadotPrimitivesV8SlashingDisputeProof = {
9320
+ export type PolkadotPrimitivesVstagingDisputeProof = {
9057
9321
  timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
9058
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
9322
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
9059
9323
  validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
9060
9324
  validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
9061
9325
  };
@@ -9065,7 +9329,7 @@ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
9065
9329
  candidateHash: PolkadotCorePrimitivesCandidateHash;
9066
9330
  };
9067
9331
 
9068
- export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
9332
+ export type PolkadotPrimitivesVstagingDisputeOffenceKind = 'ForInvalidBacked' | 'AgainstValid' | 'ForInvalidApproved';
9069
9333
 
9070
9334
  /**
9071
9335
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9106,7 +9370,27 @@ export type PolkadotRuntimeParachainsOnDemandPalletCall =
9106
9370
  * Events:
9107
9371
  * - `OnDemandOrderPlaced`
9108
9372
  **/
9109
- | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
9373
+ | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } }
9374
+ /**
9375
+ * Create a single on demand core order with credits.
9376
+ * Will charge the owner's on-demand credit account the spot price for the current block.
9377
+ *
9378
+ * Parameters:
9379
+ * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
9380
+ * account.
9381
+ * - `max_amount`: The maximum number of credits to spend from the origin to place an
9382
+ * order.
9383
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
9384
+ *
9385
+ * Errors:
9386
+ * - `InsufficientCredits`
9387
+ * - `QueueFull`
9388
+ * - `SpotPriceHigherThanMaxAmount`
9389
+ *
9390
+ * Events:
9391
+ * - `OnDemandOrderPlaced`
9392
+ **/
9393
+ | { name: 'PlaceOrderWithCredits'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
9110
9394
 
9111
9395
  export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
9112
9396
  /**
@@ -9144,7 +9428,27 @@ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
9144
9428
  * Events:
9145
9429
  * - `OnDemandOrderPlaced`
9146
9430
  **/
9147
- | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
9431
+ | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } }
9432
+ /**
9433
+ * Create a single on demand core order with credits.
9434
+ * Will charge the owner's on-demand credit account the spot price for the current block.
9435
+ *
9436
+ * Parameters:
9437
+ * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
9438
+ * account.
9439
+ * - `max_amount`: The maximum number of credits to spend from the origin to place an
9440
+ * order.
9441
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
9442
+ *
9443
+ * Errors:
9444
+ * - `InsufficientCredits`
9445
+ * - `QueueFull`
9446
+ * - `SpotPriceHigherThanMaxAmount`
9447
+ *
9448
+ * Events:
9449
+ * - `OnDemandOrderPlaced`
9450
+ **/
9451
+ | { name: 'PlaceOrderWithCredits'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
9148
9452
 
9149
9453
  /**
9150
9454
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9826,6 +10130,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCall =
9826
10130
  * teleported to the Coretime chain.
9827
10131
  **/
9828
10132
  | { name: 'RequestRevenueAt'; params: { when: number } }
10133
+ | { name: 'CreditAccount'; params: { who: AccountId32; amount: bigint } }
9829
10134
  /**
9830
10135
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
9831
10136
  * to be used.
@@ -9866,6 +10171,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCallLike =
9866
10171
  * teleported to the Coretime chain.
9867
10172
  **/
9868
10173
  | { name: 'RequestRevenueAt'; params: { when: number } }
10174
+ | { name: 'CreditAccount'; params: { who: AccountId32Like; amount: bigint } }
9869
10175
  /**
9870
10176
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
9871
10177
  * to be used.
@@ -10209,7 +10515,31 @@ export type PalletXcmCall =
10209
10515
  customXcmOnDest: XcmVersionedXcm;
10210
10516
  weightLimit: XcmV3WeightLimit;
10211
10517
  };
10212
- };
10518
+ }
10519
+ /**
10520
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
10521
+ * The `aliaser` is only authorized until the provided `expiry` block number.
10522
+ * The call can also be used for a previously authorized alias in order to update its
10523
+ * `expiry` block number.
10524
+ *
10525
+ * Usually useful to allow your local account to be aliased into from a remote location
10526
+ * also under your control (like your account on another chain).
10527
+ *
10528
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
10529
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
10530
+ * `origin` in XCM programs executed on the local chain.
10531
+ **/
10532
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
10533
+ /**
10534
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
10535
+ * the local `origin` making this call.
10536
+ **/
10537
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
10538
+ /**
10539
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
10540
+ * making this call.
10541
+ **/
10542
+ | { name: 'RemoveAllAuthorizedAliases' };
10213
10543
 
10214
10544
  export type PalletXcmCallLike =
10215
10545
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -10521,7 +10851,31 @@ export type PalletXcmCallLike =
10521
10851
  customXcmOnDest: XcmVersionedXcm;
10522
10852
  weightLimit: XcmV3WeightLimit;
10523
10853
  };
10524
- };
10854
+ }
10855
+ /**
10856
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
10857
+ * The `aliaser` is only authorized until the provided `expiry` block number.
10858
+ * The call can also be used for a previously authorized alias in order to update its
10859
+ * `expiry` block number.
10860
+ *
10861
+ * Usually useful to allow your local account to be aliased into from a remote location
10862
+ * also under your control (like your account on another chain).
10863
+ *
10864
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
10865
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
10866
+ * `origin` in XCM programs executed on the local chain.
10867
+ **/
10868
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
10869
+ /**
10870
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
10871
+ * the local `origin` making this call.
10872
+ **/
10873
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
10874
+ /**
10875
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
10876
+ * making this call.
10877
+ **/
10878
+ | { name: 'RemoveAllAuthorizedAliases' };
10525
10879
 
10526
10880
  export type XcmVersionedXcm =
10527
10881
  | { type: 'V3'; value: XcmV3Xcm }
@@ -11881,7 +12235,15 @@ export type PalletUtilityEvent =
11881
12235
  /**
11882
12236
  * A call was dispatched.
11883
12237
  **/
11884
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
12238
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
12239
+ /**
12240
+ * Main call was dispatched.
12241
+ **/
12242
+ | { name: 'IfElseMainSuccess' }
12243
+ /**
12244
+ * The fallback call was dispatched.
12245
+ **/
12246
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
11885
12247
 
11886
12248
  /**
11887
12249
  * The `Event` enum of this pallet
@@ -12055,7 +12417,11 @@ export type PalletSchedulerEvent =
12055
12417
  /**
12056
12418
  * The given task can never be executed since it is overweight.
12057
12419
  **/
12058
- | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
12420
+ | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
12421
+ /**
12422
+ * Agenda is incomplete from `when`.
12423
+ **/
12424
+ | { name: 'AgendaIncomplete'; data: { when: number } };
12059
12425
 
12060
12426
  /**
12061
12427
  * The `Event` enum of this pallet
@@ -12105,8 +12471,17 @@ export type PalletProxyEvent =
12105
12471
  proxyType: KusamaRuntimeConstantsProxyProxyType;
12106
12472
  delay: number;
12107
12473
  };
12474
+ }
12475
+ /**
12476
+ * A deposit stored for proxies or announcements was poked / updated.
12477
+ **/
12478
+ | {
12479
+ name: 'DepositPoked';
12480
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
12108
12481
  };
12109
12482
 
12483
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
12484
+
12110
12485
  /**
12111
12486
  * The `Event` enum of this pallet
12112
12487
  **/
@@ -12151,6 +12526,13 @@ export type PalletMultisigEvent =
12151
12526
  multisig: AccountId32;
12152
12527
  callHash: FixedBytes<32>;
12153
12528
  };
12529
+ }
12530
+ /**
12531
+ * The deposit for a multisig operation has been updated/poked.
12532
+ **/
12533
+ | {
12534
+ name: 'DepositPoked';
12535
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
12154
12536
  };
12155
12537
 
12156
12538
  /**
@@ -12509,7 +12891,41 @@ export type PalletNominationPoolsEvent =
12509
12891
  /**
12510
12892
  * Claimed excess frozen ED of af the reward pool.
12511
12893
  **/
12512
- | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } };
12894
+ | { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } }
12895
+ /**
12896
+ * A pool member's claim permission has been updated.
12897
+ **/
12898
+ | {
12899
+ name: 'MemberClaimPermissionUpdated';
12900
+ data: { member: AccountId32; permission: PalletNominationPoolsClaimPermission };
12901
+ }
12902
+ /**
12903
+ * A pool's metadata was updated.
12904
+ **/
12905
+ | { name: 'MetadataUpdated'; data: { poolId: number; caller: AccountId32 } }
12906
+ /**
12907
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
12908
+ * on behalf of the pool.
12909
+ **/
12910
+ | { name: 'PoolNominationMade'; data: { poolId: number; caller: AccountId32 } }
12911
+ /**
12912
+ * The pool is chilled i.e. no longer nominating.
12913
+ **/
12914
+ | { name: 'PoolNominatorChilled'; data: { poolId: number; caller: AccountId32 } }
12915
+ /**
12916
+ * Global parameters regulating nomination pools have been updated.
12917
+ **/
12918
+ | {
12919
+ name: 'GlobalParamsUpdated';
12920
+ data: {
12921
+ minJoinBond: bigint;
12922
+ minCreateBond: bigint;
12923
+ maxPools?: number | undefined;
12924
+ maxMembers?: number | undefined;
12925
+ maxMembersPerPool?: number | undefined;
12926
+ globalMaxCommission?: Perbill | undefined;
12927
+ };
12928
+ };
12513
12929
 
12514
12930
  /**
12515
12931
  * The `Event` enum of this pallet
@@ -12782,7 +13198,11 @@ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
12782
13198
  /**
12783
13199
  * The value of the spot price has likely changed
12784
13200
  **/
12785
- | { name: 'SpotPriceSet'; data: { spotPrice: bigint } };
13201
+ | { name: 'SpotPriceSet'; data: { spotPrice: bigint } }
13202
+ /**
13203
+ * An account was given credits.
13204
+ **/
13205
+ | { name: 'AccountCredited'; data: { who: AccountId32; amount: bigint } };
12786
13206
 
12787
13207
  /**
12788
13208
  * The `Event` enum of this pallet
@@ -12944,7 +13364,7 @@ export type PalletXcmEvent =
12944
13364
  **/
12945
13365
  | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
12946
13366
  /**
12947
- * A XCM message was sent.
13367
+ * An XCM message was sent.
12948
13368
  **/
12949
13369
  | {
12950
13370
  name: 'Sent';
@@ -12955,6 +13375,25 @@ export type PalletXcmEvent =
12955
13375
  messageId: FixedBytes<32>;
12956
13376
  };
12957
13377
  }
13378
+ /**
13379
+ * An XCM message failed to send.
13380
+ **/
13381
+ | {
13382
+ name: 'SendFailed';
13383
+ data: {
13384
+ origin: StagingXcmV5Location;
13385
+ destination: StagingXcmV5Location;
13386
+ error: XcmV3TraitsSendError;
13387
+ messageId: FixedBytes<32>;
13388
+ };
13389
+ }
13390
+ /**
13391
+ * An XCM message failed to process.
13392
+ **/
13393
+ | {
13394
+ name: 'ProcessXcmError';
13395
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
13396
+ }
12958
13397
  /**
12959
13398
  * Query response received which does not match a registered query. This may be because a
12960
13399
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -13111,13 +13550,38 @@ export type PalletXcmEvent =
13111
13550
  /**
13112
13551
  * A XCM version migration finished.
13113
13552
  **/
13114
- | { name: 'VersionMigrationFinished'; data: { version: number } };
13553
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
13554
+ /**
13555
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
13556
+ * `expiry` block number.
13557
+ **/
13558
+ | {
13559
+ name: 'AliasAuthorized';
13560
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
13561
+ }
13562
+ /**
13563
+ * `target` removed alias authorization for `aliaser`.
13564
+ **/
13565
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
13566
+ /**
13567
+ * `target` removed all alias authorizations.
13568
+ **/
13569
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
13115
13570
 
13116
13571
  export type StagingXcmV5TraitsOutcome =
13117
13572
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
13118
13573
  | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
13119
13574
  | { type: 'Error'; value: { error: XcmV5TraitsError } };
13120
13575
 
13576
+ export type XcmV3TraitsSendError =
13577
+ | 'NotApplicable'
13578
+ | 'Transport'
13579
+ | 'Unroutable'
13580
+ | 'DestinationUnsupported'
13581
+ | 'ExceedsMaxMessageSize'
13582
+ | 'MissingArgument'
13583
+ | 'Fees';
13584
+
13121
13585
  /**
13122
13586
  * The `Event` enum of this pallet
13123
13587
  **/
@@ -13398,9 +13862,13 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
13398
13862
  export type FrameSupportTokensMiscIdAmount = { id: StagingKusamaRuntimeRuntimeHoldReason; amount: bigint };
13399
13863
 
13400
13864
  export type StagingKusamaRuntimeRuntimeHoldReason =
13865
+ | { type: 'Staking'; value: PalletStakingPalletHoldReason }
13401
13866
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
13402
13867
  | { type: 'Nis'; value: PalletNisHoldReason }
13403
- | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason };
13868
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
13869
+ | { type: 'XcmPallet'; value: PalletXcmHoldReason };
13870
+
13871
+ export type PalletStakingPalletHoldReason = 'Staking';
13404
13872
 
13405
13873
  export type PalletPreimageHoldReason = 'Preimage';
13406
13874
 
@@ -13408,6 +13876,8 @@ export type PalletNisHoldReason = 'NftReceipt';
13408
13876
 
13409
13877
  export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
13410
13878
 
13879
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
13880
+
13411
13881
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
13412
13882
  id: StagingKusamaRuntimeRuntimeFreezeReason;
13413
13883
  amount: bigint;
@@ -13645,13 +14115,28 @@ export type PalletStakingPalletError =
13645
14115
  /**
13646
14116
  * Operation not allowed for virtual stakers.
13647
14117
  **/
13648
- | 'VirtualStakerNotAllowed';
14118
+ | 'VirtualStakerNotAllowed'
14119
+ /**
14120
+ * Stash could not be reaped as other pallet might depend on it.
14121
+ **/
14122
+ | 'CannotReapStash'
14123
+ /**
14124
+ * The stake of this account is already migrated to `Fungible` holds.
14125
+ **/
14126
+ | 'AlreadyMigrated'
14127
+ /**
14128
+ * Account is restricted from participation in staking. This may happen if the account is
14129
+ * staking in another way already, such as via pool.
14130
+ **/
14131
+ | 'Restricted';
13649
14132
 
13650
14133
  export type SpStakingOffenceOffenceDetails = {
13651
14134
  offender: [AccountId32, SpStakingExposure];
13652
14135
  reporters: Array<AccountId32>;
13653
14136
  };
13654
14137
 
14138
+ export type SpStakingOffenceOffenceSeverity = Perbill;
14139
+
13655
14140
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
13656
14141
 
13657
14142
  /**
@@ -13897,7 +14382,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
13897
14382
 
13898
14383
  export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
13899
14384
 
13900
- export type PalletReferendaTrackInfo = {
14385
+ export type PalletReferendaTrackDetails = {
13901
14386
  name: string;
13902
14387
  maxDeciding: number;
13903
14388
  decisionDeposit: bigint;
@@ -14500,11 +14985,12 @@ export type PalletMultisigError =
14500
14985
  **/
14501
14986
  | 'SenderInSignatories'
14502
14987
  /**
14503
- * Multisig operation not found when attempting to cancel.
14988
+ * Multisig operation not found in storage.
14504
14989
  **/
14505
14990
  | 'NotFound'
14506
14991
  /**
14507
- * Only the account that originally created the multisig is able to cancel it.
14992
+ * Only the account that originally created the multisig is able to cancel it or update
14993
+ * its deposits.
14508
14994
  **/
14509
14995
  | 'NotOwner'
14510
14996
  /**
@@ -15061,6 +15547,10 @@ export type PalletNominationPoolsError =
15061
15547
  * No slash pending that can be applied to the member.
15062
15548
  **/
15063
15549
  | { name: 'NothingToSlash' }
15550
+ /**
15551
+ * The slash amount is too low to be applied.
15552
+ **/
15553
+ | { name: 'SlashTooLow' }
15064
15554
  /**
15065
15555
  * The pool or member delegation has already migrated to delegate stake.
15066
15556
  **/
@@ -15070,10 +15560,14 @@ export type PalletNominationPoolsError =
15070
15560
  **/
15071
15561
  | { name: 'NotMigrated' }
15072
15562
  /**
15073
- * This call is not allowed in the current state of the pallet or an unspecific error
15074
- * occurred.
15563
+ * This call is not allowed in the current state of the pallet.
15075
15564
  **/
15076
- | { name: 'NotSupported' };
15565
+ | { name: 'NotSupported' }
15566
+ /**
15567
+ * Account is restricted from participation in pools. This may happen if the account is
15568
+ * staking in another way already.
15569
+ **/
15570
+ | { name: 'Restricted' };
15077
15571
 
15078
15572
  export type PalletNominationPoolsDefensiveError =
15079
15573
  | 'NotEnoughSpaceInUnbondPool'
@@ -15657,9 +16151,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
15657
16151
  **/
15658
16152
  | 'UnconfirmedDispute';
15659
16153
 
15660
- export type PolkadotPrimitivesV8SlashingPendingSlashes = {
16154
+ export type PolkadotPrimitivesVstagingPendingSlashes = {
15661
16155
  keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
15662
- kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
16156
+ kind: PolkadotPrimitivesVstagingDisputeOffenceKind;
15663
16157
  };
15664
16158
 
15665
16159
  /**
@@ -15729,7 +16223,11 @@ export type PolkadotRuntimeParachainsOnDemandPalletError =
15729
16223
  * The current spot price is higher than the max amount specified in the `place_order`
15730
16224
  * call, making it invalid.
15731
16225
  **/
15732
- | 'SpotPriceHigherThanMaxAmount';
16226
+ | 'SpotPriceHigherThanMaxAmount'
16227
+ /**
16228
+ * The account doesn't have enough credits to purchase on-demand coretime.
16229
+ **/
16230
+ | 'InsufficientCredits';
15733
16231
 
15734
16232
  export type PolkadotRuntimeParachainsAssignerCoretimeSchedule = {
15735
16233
  assignments: Array<
@@ -16051,6 +16549,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
16051
16549
  consumers: Array<[[], bigint]>;
16052
16550
  };
16053
16551
 
16552
+ export type PalletXcmAuthorizedAliasesEntry = {
16553
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
16554
+ ticket: FrameSupportStorageDisabled;
16555
+ };
16556
+
16557
+ export type FrameSupportStorageDisabled = {};
16558
+
16559
+ export type PalletXcmMaxAuthorizedAliases = {};
16560
+
16561
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
16562
+ location: XcmVersionedLocation;
16563
+ expiry?: bigint | undefined;
16564
+ };
16565
+
16054
16566
  /**
16055
16567
  * The `Error` enum of this pallet.
16056
16568
  **/
@@ -16153,7 +16665,19 @@ export type PalletXcmError =
16153
16665
  /**
16154
16666
  * Local XCM execution incomplete.
16155
16667
  **/
16156
- | 'LocalExecutionIncomplete';
16668
+ | 'LocalExecutionIncomplete'
16669
+ /**
16670
+ * Too many locations authorized to alias origin.
16671
+ **/
16672
+ | 'TooManyAuthorizedAliases'
16673
+ /**
16674
+ * Expiry block number is in the past.
16675
+ **/
16676
+ | 'ExpiresInPast'
16677
+ /**
16678
+ * The alias to remove authorization for was not found.
16679
+ **/
16680
+ | 'AliasNotFound';
16157
16681
 
16158
16682
  export type PalletMessageQueueBookState = {
16159
16683
  begin: number;
@@ -16411,8 +16935,22 @@ export type PolkadotPrimitivesVstagingCandidateEvent =
16411
16935
  ];
16412
16936
  };
16413
16937
 
16938
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
16939
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
16940
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
16941
+ };
16942
+
16943
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
16944
+
16414
16945
  export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
16415
16946
 
16947
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
16948
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
16949
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
16950
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
16951
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
16952
+ };
16953
+
16416
16954
  export type PolkadotPrimitivesVstagingAsyncBackingBackingState = {
16417
16955
  constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
16418
16956
  pendingAvailability: Array<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
@@ -16452,6 +16990,26 @@ export type PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability =
16452
16990
  maxPovSize: number;
16453
16991
  };
16454
16992
 
16993
+ export type PolkadotPrimitivesVstagingAsyncBackingConstraints = {
16994
+ minRelayParentNumber: number;
16995
+ maxPovSize: number;
16996
+ maxCodeSize: number;
16997
+ maxHeadDataSize: number;
16998
+ umpRemaining: number;
16999
+ umpRemainingBytes: number;
17000
+ maxUmpNumPerCandidate: number;
17001
+ dmpRemainingMessages: Array<number>;
17002
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
17003
+ hrmpChannelsOut: Array<
17004
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
17005
+ >;
17006
+ maxHrmpNumPerCandidate: number;
17007
+ requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
17008
+ validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
17009
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
17010
+ futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
17011
+ };
17012
+
16455
17013
  export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyEcdsaCryptoPublic>; id: bigint };
16456
17014
 
16457
17015
  export type SpRuntimeOpaqueValue = Bytes;