@dedot/chaintypes 0.157.0 → 0.158.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.
@@ -21,10 +21,10 @@ import type {
21
21
  PerU16,
22
22
  BitSequence,
23
23
  FixedU128,
24
- FixedI64,
24
+ UncheckedExtrinsic,
25
25
  Era,
26
+ FixedI64,
26
27
  Perquintill,
27
- UncheckedExtrinsic,
28
28
  } from 'dedot/codecs';
29
29
 
30
30
  export type FrameSystemAccountInfo = {
@@ -63,6 +63,7 @@ export type PolkadotRuntimeRuntimeEvent =
63
63
  | { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
64
64
  | { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
65
65
  | { pallet: 'Offences'; palletEvent: PalletOffencesEvent }
66
+ | { pallet: 'Historical'; palletEvent: PalletSessionHistoricalPalletEvent }
66
67
  | { pallet: 'Session'; palletEvent: PalletSessionEvent }
67
68
  | { pallet: 'Grandpa'; palletEvent: PalletGrandpaEvent }
68
69
  | { pallet: 'Treasury'; palletEvent: PalletTreasuryEvent }
@@ -350,10 +351,16 @@ export type PalletBalancesEvent =
350
351
  /**
351
352
  * The `TotalIssuance` was forcefully changed.
352
353
  **/
353
- | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } };
354
+ | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
355
+ /**
356
+ * An unexpected/defensive event was triggered.
357
+ **/
358
+ | { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
354
359
 
355
360
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
356
361
 
362
+ export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
363
+
357
364
  /**
358
365
  * The `Event` enum of this pallet
359
366
  **/
@@ -478,6 +485,19 @@ export type PalletOffencesEvent =
478
485
  **/
479
486
  { name: 'Offence'; data: { kind: FixedBytes<16>; timeslot: Bytes } };
480
487
 
488
+ /**
489
+ * The `Event` enum of this pallet
490
+ **/
491
+ export type PalletSessionHistoricalPalletEvent =
492
+ /**
493
+ * The merkle root of the validators of the said session were stored
494
+ **/
495
+ | { name: 'RootStored'; data: { index: number } }
496
+ /**
497
+ * The merkle roots of up to this session index were pruned
498
+ **/
499
+ | { name: 'RootsPruned'; data: { upTo: number } };
500
+
481
501
  /**
482
502
  * The `Event` enum of this pallet
483
503
  **/
@@ -487,6 +507,11 @@ export type PalletSessionEvent =
487
507
  * block number as the type might suggest.
488
508
  **/
489
509
  | { name: 'NewSession'; data: { sessionIndex: number } }
510
+ /**
511
+ * The `NewSession` event in the current block also implies a new validator set to be
512
+ * queued.
513
+ **/
514
+ | { name: 'NewQueued' }
490
515
  /**
491
516
  * Validator has been disabled.
492
517
  **/
@@ -2130,6 +2155,8 @@ export type PalletStakingPalletCall =
2130
2155
  * period ends. If this leaves an amount actively bonded less than
2131
2156
  * [`asset::existential_deposit`], then it is increased to the full amount.
2132
2157
  *
2158
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
2159
+ *
2133
2160
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2134
2161
  *
2135
2162
  * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -2336,6 +2363,7 @@ export type PalletStakingPalletCall =
2336
2363
  * Can be called by the `T::AdminOrigin`.
2337
2364
  *
2338
2365
  * Parameters: era and indices of the slashes for that era to kill.
2366
+ * They **must** be sorted in ascending order, *and* unique.
2339
2367
  **/
2340
2368
  | { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
2341
2369
  /**
@@ -2610,6 +2638,8 @@ export type PalletStakingPalletCallLike =
2610
2638
  * period ends. If this leaves an amount actively bonded less than
2611
2639
  * [`asset::existential_deposit`], then it is increased to the full amount.
2612
2640
  *
2641
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
2642
+ *
2613
2643
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2614
2644
  *
2615
2645
  * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -2816,6 +2846,7 @@ export type PalletStakingPalletCallLike =
2816
2846
  * Can be called by the `T::AdminOrigin`.
2817
2847
  *
2818
2848
  * Parameters: era and indices of the slashes for that era to kill.
2849
+ * They **must** be sorted in ascending order, *and* unique.
2819
2850
  **/
2820
2851
  | { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
2821
2852
  /**
@@ -4018,7 +4049,8 @@ export type PolkadotRuntimeOriginCaller =
4018
4049
  export type FrameSupportDispatchRawOrigin =
4019
4050
  | { type: 'Root' }
4020
4051
  | { type: 'Signed'; value: AccountId32 }
4021
- | { type: 'None' };
4052
+ | { type: 'None' }
4053
+ | { type: 'Authorized' };
4022
4054
 
4023
4055
  export type PolkadotRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
4024
4056
  | 'StakingAdmin'
@@ -4817,7 +4849,7 @@ export type PalletProxyCall =
4817
4849
  *
4818
4850
  * The dispatch origin for this call must be _Signed_.
4819
4851
  *
4820
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4852
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4821
4853
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4822
4854
  **/
4823
4855
  | { name: 'RemoveProxies' }
@@ -4849,16 +4881,16 @@ export type PalletProxyCall =
4849
4881
  * inaccessible.
4850
4882
  *
4851
4883
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4852
- * `pure` with corresponding parameters.
4884
+ * `create_pure` with corresponding parameters.
4853
4885
  *
4854
- * - `spawner`: The account that originally called `pure` to create this account.
4855
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4856
- * - `proxy_type`: The proxy type originally passed to `pure`.
4857
- * - `height`: The height of the chain when the call to `pure` was processed.
4858
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4886
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4887
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4888
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4889
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4890
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4859
4891
  *
4860
4892
  * Fails with `NoPermission` in case the caller is not a previously created pure
4861
- * account whose `pure` call has corresponding parameters.
4893
+ * account whose `create_pure` call has corresponding parameters.
4862
4894
  **/
4863
4895
  | {
4864
4896
  name: 'KillPure';
@@ -5001,7 +5033,7 @@ export type PalletProxyCallLike =
5001
5033
  *
5002
5034
  * The dispatch origin for this call must be _Signed_.
5003
5035
  *
5004
- * WARNING: This may be called on accounts created by `pure`, however if done, then
5036
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
5005
5037
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
5006
5038
  **/
5007
5039
  | { name: 'RemoveProxies' }
@@ -5033,16 +5065,16 @@ export type PalletProxyCallLike =
5033
5065
  * inaccessible.
5034
5066
  *
5035
5067
  * Requires a `Signed` origin, and the sender account must have been created by a call to
5036
- * `pure` with corresponding parameters.
5068
+ * `create_pure` with corresponding parameters.
5037
5069
  *
5038
- * - `spawner`: The account that originally called `pure` to create this account.
5039
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
5040
- * - `proxy_type`: The proxy type originally passed to `pure`.
5041
- * - `height`: The height of the chain when the call to `pure` was processed.
5042
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
5070
+ * - `spawner`: The account that originally called `create_pure` to create this account.
5071
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5072
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
5073
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
5074
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
5043
5075
  *
5044
5076
  * Fails with `NoPermission` in case the caller is not a previously created pure
5045
- * account whose `pure` call has corresponding parameters.
5077
+ * account whose `create_pure` call has corresponding parameters.
5046
5078
  **/
5047
5079
  | {
5048
5080
  name: 'KillPure';
@@ -5601,7 +5633,25 @@ export type PalletBountiesCall =
5601
5633
  * ## Complexity
5602
5634
  * - O(1).
5603
5635
  **/
5604
- | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } };
5636
+ | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } }
5637
+ /**
5638
+ * Poke the deposit reserved for creating a bounty proposal.
5639
+ *
5640
+ * This can be used by accounts to update their reserved amount.
5641
+ *
5642
+ * The dispatch origin for this call must be _Signed_.
5643
+ *
5644
+ * Parameters:
5645
+ * - `bounty_id`: The bounty id for which to adjust the deposit.
5646
+ *
5647
+ * If the deposit is updated, the difference will be reserved/unreserved from the
5648
+ * proposer's account.
5649
+ *
5650
+ * The transaction is made free if the deposit is updated and paid otherwise.
5651
+ *
5652
+ * Emits `DepositPoked` if the deposit is updated.
5653
+ **/
5654
+ | { name: 'PokeDeposit'; params: { bountyId: number } };
5605
5655
 
5606
5656
  export type PalletBountiesCallLike =
5607
5657
  /**
@@ -5729,7 +5779,25 @@ export type PalletBountiesCallLike =
5729
5779
  * ## Complexity
5730
5780
  * - O(1).
5731
5781
  **/
5732
- | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } };
5782
+ | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } }
5783
+ /**
5784
+ * Poke the deposit reserved for creating a bounty proposal.
5785
+ *
5786
+ * This can be used by accounts to update their reserved amount.
5787
+ *
5788
+ * The dispatch origin for this call must be _Signed_.
5789
+ *
5790
+ * Parameters:
5791
+ * - `bounty_id`: The bounty id for which to adjust the deposit.
5792
+ *
5793
+ * If the deposit is updated, the difference will be reserved/unreserved from the
5794
+ * proposer's account.
5795
+ *
5796
+ * The transaction is made free if the deposit is updated and paid otherwise.
5797
+ *
5798
+ * Emits `DepositPoked` if the deposit is updated.
5799
+ **/
5800
+ | { name: 'PokeDeposit'; params: { bountyId: number } };
5733
5801
 
5734
5802
  /**
5735
5803
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6137,10 +6205,7 @@ export type PalletElectionProviderMultiPhaseCall =
6137
6205
  * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
6138
6206
  * calling [`Call::set_emergency_election_result`].
6139
6207
  **/
6140
- | {
6141
- name: 'GovernanceFallback';
6142
- params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
6143
- };
6208
+ | { name: 'GovernanceFallback' };
6144
6209
 
6145
6210
  export type PalletElectionProviderMultiPhaseCallLike =
6146
6211
  /**
@@ -6203,10 +6268,7 @@ export type PalletElectionProviderMultiPhaseCallLike =
6203
6268
  * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
6204
6269
  * calling [`Call::set_emergency_election_result`].
6205
6270
  **/
6206
- | {
6207
- name: 'GovernanceFallback';
6208
- params: { maybeMaxVoters?: number | undefined; maybeMaxTargets?: number | undefined };
6209
- };
6271
+ | { name: 'GovernanceFallback' };
6210
6272
 
6211
6273
  export type PalletElectionProviderMultiPhaseRawSolution = {
6212
6274
  solution: PolkadotRuntimeNposCompactSolution16;
@@ -7876,7 +7938,46 @@ export type PolkadotRuntimeParachainsParasPalletCall =
7876
7938
  /**
7877
7939
  * Set the storage for the current parachain head data immediately.
7878
7940
  **/
7879
- | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
7941
+ | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
7942
+ /**
7943
+ * Remove an upgrade cooldown for a parachain.
7944
+ *
7945
+ * The cost for removing the cooldown earlier depends on the time left for the cooldown
7946
+ * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
7947
+ **/
7948
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
7949
+ /**
7950
+ * Sets the storage for the authorized current code hash of the parachain.
7951
+ * If not applied, it will be removed at the `System::block_number() + valid_period` block.
7952
+ *
7953
+ * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
7954
+ * from a different chain than the one where the `Paras` pallet is deployed.
7955
+ *
7956
+ * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
7957
+ * Instead, we authorize `code_hash` with `root`, which can later be applied by
7958
+ * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
7959
+ *
7960
+ * Authorizations are stored in an **overwriting manner**.
7961
+ **/
7962
+ | {
7963
+ name: 'AuthorizeForceSetCurrentCodeHash';
7964
+ params: {
7965
+ para: PolkadotParachainPrimitivesPrimitivesId;
7966
+ newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7967
+ validPeriod: number;
7968
+ };
7969
+ }
7970
+ /**
7971
+ * Applies the already authorized current code for the parachain,
7972
+ * triggering the same functionality as `force_set_current_code`.
7973
+ **/
7974
+ | {
7975
+ name: 'ApplyAuthorizedForceSetCurrentCode';
7976
+ params: {
7977
+ para: PolkadotParachainPrimitivesPrimitivesId;
7978
+ newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
7979
+ };
7980
+ };
7880
7981
 
7881
7982
  export type PolkadotRuntimeParachainsParasPalletCallLike =
7882
7983
  /**
@@ -7962,7 +8063,46 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
7962
8063
  /**
7963
8064
  * Set the storage for the current parachain head data immediately.
7964
8065
  **/
7965
- | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
8066
+ | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } }
8067
+ /**
8068
+ * Remove an upgrade cooldown for a parachain.
8069
+ *
8070
+ * The cost for removing the cooldown earlier depends on the time left for the cooldown
8071
+ * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
8072
+ **/
8073
+ | { name: 'RemoveUpgradeCooldown'; params: { para: PolkadotParachainPrimitivesPrimitivesId } }
8074
+ /**
8075
+ * Sets the storage for the authorized current code hash of the parachain.
8076
+ * If not applied, it will be removed at the `System::block_number() + valid_period` block.
8077
+ *
8078
+ * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
8079
+ * from a different chain than the one where the `Paras` pallet is deployed.
8080
+ *
8081
+ * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
8082
+ * Instead, we authorize `code_hash` with `root`, which can later be applied by
8083
+ * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
8084
+ *
8085
+ * Authorizations are stored in an **overwriting manner**.
8086
+ **/
8087
+ | {
8088
+ name: 'AuthorizeForceSetCurrentCodeHash';
8089
+ params: {
8090
+ para: PolkadotParachainPrimitivesPrimitivesId;
8091
+ newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8092
+ validPeriod: number;
8093
+ };
8094
+ }
8095
+ /**
8096
+ * Applies the already authorized current code for the parachain,
8097
+ * triggering the same functionality as `force_set_current_code`.
8098
+ **/
8099
+ | {
8100
+ name: 'ApplyAuthorizedForceSetCurrentCode';
8101
+ params: {
8102
+ para: PolkadotParachainPrimitivesPrimitivesId;
8103
+ newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
8104
+ };
8105
+ };
7966
8106
 
7967
8107
  export type PolkadotPrimitivesV8PvfCheckStatement = {
7968
8108
  accept: boolean;
@@ -10987,6 +11127,10 @@ export type PolkadotRuntimeCommonClaimsPalletEvent =
10987
11127
  * The `Event` enum of this pallet
10988
11128
  **/
10989
11129
  export type PalletVestingEvent =
11130
+ /**
11131
+ * A vesting schedule has been created.
11132
+ **/
11133
+ | { name: 'VestingCreated'; data: { account: AccountId32; scheduleIndex: number } }
10990
11134
  /**
10991
11135
  * The amount vested has been updated. This could indicate a change in funds available.
10992
11136
  * The balance given is the amount which is left unvested (and thus locked).
@@ -11056,6 +11200,18 @@ export type PalletProxyEvent =
11056
11200
  disambiguationIndex: number;
11057
11201
  };
11058
11202
  }
11203
+ /**
11204
+ * A pure proxy was killed by its spawner.
11205
+ **/
11206
+ | {
11207
+ name: 'PureKilled';
11208
+ data: {
11209
+ pure: AccountId32;
11210
+ spawner: AccountId32;
11211
+ proxyType: PolkadotRuntimeConstantsProxyProxyType;
11212
+ disambiguationIndex: number;
11213
+ };
11214
+ }
11059
11215
  /**
11060
11216
  * An announcement was placed to make a call in the future.
11061
11217
  **/
@@ -11194,7 +11350,11 @@ export type PalletBountiesEvent =
11194
11350
  /**
11195
11351
  * A bounty curator is accepted.
11196
11352
  **/
11197
- | { name: 'CuratorAccepted'; data: { bountyId: number; curator: AccountId32 } };
11353
+ | { name: 'CuratorAccepted'; data: { bountyId: number; curator: AccountId32 } }
11354
+ /**
11355
+ * A bounty deposit has been poked.
11356
+ **/
11357
+ | { name: 'DepositPoked'; data: { bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint } };
11198
11358
 
11199
11359
  /**
11200
11360
  * The `Event` enum of this pallet
@@ -11582,6 +11742,40 @@ export type PolkadotRuntimeParachainsParasPalletEvent =
11582
11742
  | {
11583
11743
  name: 'PvfCheckRejected';
11584
11744
  data: [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId];
11745
+ }
11746
+ /**
11747
+ * The upgrade cooldown was removed.
11748
+ **/
11749
+ | {
11750
+ name: 'UpgradeCooldownRemoved';
11751
+ data: {
11752
+ /**
11753
+ * The parachain for which the cooldown got removed.
11754
+ **/
11755
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
11756
+ };
11757
+ }
11758
+ /**
11759
+ * A new code hash has been authorized for a Para.
11760
+ **/
11761
+ | {
11762
+ name: 'CodeAuthorized';
11763
+ data: {
11764
+ /**
11765
+ * Para
11766
+ **/
11767
+ paraId: PolkadotParachainPrimitivesPrimitivesId;
11768
+
11769
+ /**
11770
+ * Authorized code hash.
11771
+ **/
11772
+ codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
11773
+
11774
+ /**
11775
+ * Block at which authorization expires and will be removed.
11776
+ **/
11777
+ expireAt: number;
11778
+ };
11585
11779
  };
11586
11780
 
11587
11781
  /**
@@ -12135,8 +12329,10 @@ export type PalletXcmEvent =
12135
12329
 
12136
12330
  export type StagingXcmV5TraitsOutcome =
12137
12331
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
12138
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
12139
- | { type: 'Error'; value: { error: XcmV5TraitsError } };
12332
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
12333
+ | { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
12334
+
12335
+ export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
12140
12336
 
12141
12337
  export type XcmV3TraitsSendError =
12142
12338
  | 'NotApplicable'
@@ -12349,6 +12545,30 @@ export type FrameSystemError =
12349
12545
  **/
12350
12546
  | 'Unauthorized';
12351
12547
 
12548
+ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
12549
+
12550
+ export type FrameSystemExtensionsCheckNonZeroSender = {};
12551
+
12552
+ export type FrameSystemExtensionsCheckSpecVersion = {};
12553
+
12554
+ export type FrameSystemExtensionsCheckTxVersion = {};
12555
+
12556
+ export type FrameSystemExtensionsCheckGenesis = {};
12557
+
12558
+ export type FrameSystemExtensionsCheckMortality = Era;
12559
+
12560
+ export type FrameSystemExtensionsCheckNonce = number;
12561
+
12562
+ export type FrameSystemExtensionsCheckWeight = {};
12563
+
12564
+ export type PalletTransactionPaymentChargeTransactionPayment = bigint;
12565
+
12566
+ export type PolkadotRuntimeCommonClaimsPrevalidateAttests = {};
12567
+
12568
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
12569
+
12570
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
12571
+
12352
12572
  export type PalletSchedulerScheduled = {
12353
12573
  maybeId?: FixedBytes<32> | undefined;
12354
12574
  priority: number;
@@ -12521,6 +12741,7 @@ export type FrameSupportTokensMiscIdAmount = { id: PolkadotRuntimeRuntimeHoldRea
12521
12741
  export type PolkadotRuntimeRuntimeHoldReason =
12522
12742
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
12523
12743
  | { type: 'Staking'; value: PalletStakingPalletHoldReason }
12744
+ | { type: 'Session'; value: PalletSessionHoldReason }
12524
12745
  | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
12525
12746
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
12526
12747
  | { type: 'XcmPallet'; value: PalletXcmHoldReason };
@@ -12529,6 +12750,8 @@ export type PalletPreimageHoldReason = 'Preimage';
12529
12750
 
12530
12751
  export type PalletStakingPalletHoldReason = 'Staking';
12531
12752
 
12753
+ export type PalletSessionHoldReason = 'Keys';
12754
+
12532
12755
  export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
12533
12756
 
12534
12757
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
@@ -13386,7 +13609,11 @@ export type PalletBountiesError =
13386
13609
  /**
13387
13610
  * Too many approvals are already queued.
13388
13611
  **/
13389
- | 'TooManyQueued';
13612
+ | 'TooManyQueued'
13613
+ /**
13614
+ * User is not the proposer of the bounty.
13615
+ **/
13616
+ | 'NotProposer';
13390
13617
 
13391
13618
  export type PalletChildBountiesChildBounty = {
13392
13619
  parentBounty: number;
@@ -13420,11 +13647,17 @@ export type PalletChildBountiesError =
13420
13647
  | 'TooManyChildBounties';
13421
13648
 
13422
13649
  export type PalletElectionProviderMultiPhaseReadySolution = {
13423
- supports: Array<[AccountId32, SpNposElectionsSupport]>;
13650
+ supports: FrameElectionProviderSupportBoundedSupports;
13424
13651
  score: SpNposElectionsElectionScore;
13425
13652
  compute: PalletElectionProviderMultiPhaseElectionCompute;
13426
13653
  };
13427
13654
 
13655
+ export type FrameElectionProviderSupportBoundedSupports = Array<
13656
+ [AccountId32, FrameElectionProviderSupportBoundedSupport]
13657
+ >;
13658
+
13659
+ export type FrameElectionProviderSupportBoundedSupport = { total: bigint; voters: Array<[AccountId32, bigint]> };
13660
+
13428
13661
  export type PalletElectionProviderMultiPhaseRoundSnapshot = {
13429
13662
  voters: Array<[AccountId32, bigint, Array<AccountId32>]>;
13430
13663
  targets: Array<AccountId32>;
@@ -13519,9 +13752,13 @@ export type PalletBagsListError =
13519
13752
  /**
13520
13753
  * A error in the list interface implementation.
13521
13754
  **/
13522
- { name: 'List'; data: PalletBagsListListListError };
13755
+ | { name: 'List'; data: PalletBagsListListListError }
13756
+ /**
13757
+ * Could not update a node, because the pallet is locked.
13758
+ **/
13759
+ | { name: 'Locked' };
13523
13760
 
13524
- export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound';
13761
+ export type PalletBagsListListListError = 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound' | 'Locked';
13525
13762
 
13526
13763
  export type PalletNominationPoolsPoolMember = {
13527
13764
  poolId: number;
@@ -14066,6 +14303,11 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
14066
14303
 
14067
14304
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
14068
14305
 
14306
+ export type PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry = {
14307
+ codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
14308
+ expireAt: number;
14309
+ };
14310
+
14069
14311
  export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
14070
14312
 
14071
14313
  export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
@@ -14131,7 +14373,19 @@ export type PolkadotRuntimeParachainsParasPalletError =
14131
14373
  /**
14132
14374
  * Invalid validation code size.
14133
14375
  **/
14134
- | 'InvalidCode';
14376
+ | 'InvalidCode'
14377
+ /**
14378
+ * No upgrade authorized.
14379
+ **/
14380
+ | 'NothingAuthorized'
14381
+ /**
14382
+ * The submitted code is not authorized.
14383
+ **/
14384
+ | 'Unauthorized'
14385
+ /**
14386
+ * Invalid block number.
14387
+ **/
14388
+ | 'InvalidBlockNumber';
14135
14389
 
14136
14390
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
14137
14391
  validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
@@ -14736,113 +14990,161 @@ export type PalletXcmError =
14736
14990
  * The desired destination was unreachable, generally because there is a no way of routing
14737
14991
  * to it.
14738
14992
  **/
14739
- | 'Unreachable'
14993
+ | { name: 'Unreachable' }
14740
14994
  /**
14741
14995
  * There was some other issue (i.e. not to do with routing) in sending the message.
14742
14996
  * Perhaps a lack of space for buffering the message.
14743
14997
  **/
14744
- | 'SendFailure'
14998
+ | { name: 'SendFailure' }
14745
14999
  /**
14746
15000
  * The message execution fails the filter.
14747
15001
  **/
14748
- | 'Filtered'
15002
+ | { name: 'Filtered' }
14749
15003
  /**
14750
15004
  * The message's weight could not be determined.
14751
15005
  **/
14752
- | 'UnweighableMessage'
15006
+ | { name: 'UnweighableMessage' }
14753
15007
  /**
14754
15008
  * The destination `Location` provided cannot be inverted.
14755
15009
  **/
14756
- | 'DestinationNotInvertible'
15010
+ | { name: 'DestinationNotInvertible' }
14757
15011
  /**
14758
15012
  * The assets to be sent are empty.
14759
15013
  **/
14760
- | 'Empty'
15014
+ | { name: 'Empty' }
14761
15015
  /**
14762
15016
  * Could not re-anchor the assets to declare the fees for the destination chain.
14763
15017
  **/
14764
- | 'CannotReanchor'
15018
+ | { name: 'CannotReanchor' }
14765
15019
  /**
14766
15020
  * Too many assets have been attempted for transfer.
14767
15021
  **/
14768
- | 'TooManyAssets'
15022
+ | { name: 'TooManyAssets' }
14769
15023
  /**
14770
15024
  * Origin is invalid for sending.
14771
15025
  **/
14772
- | 'InvalidOrigin'
15026
+ | { name: 'InvalidOrigin' }
14773
15027
  /**
14774
15028
  * The version of the `Versioned` value used is not able to be interpreted.
14775
15029
  **/
14776
- | 'BadVersion'
15030
+ | { name: 'BadVersion' }
14777
15031
  /**
14778
15032
  * The given location could not be used (e.g. because it cannot be expressed in the
14779
15033
  * desired version of XCM).
14780
15034
  **/
14781
- | 'BadLocation'
15035
+ | { name: 'BadLocation' }
14782
15036
  /**
14783
15037
  * The referenced subscription could not be found.
14784
15038
  **/
14785
- | 'NoSubscription'
15039
+ | { name: 'NoSubscription' }
14786
15040
  /**
14787
15041
  * The location is invalid since it already has a subscription from us.
14788
15042
  **/
14789
- | 'AlreadySubscribed'
15043
+ | { name: 'AlreadySubscribed' }
14790
15044
  /**
14791
15045
  * Could not check-out the assets for teleportation to the destination chain.
14792
15046
  **/
14793
- | 'CannotCheckOutTeleport'
15047
+ | { name: 'CannotCheckOutTeleport' }
14794
15048
  /**
14795
15049
  * The owner does not own (all) of the asset that they wish to do the operation on.
14796
15050
  **/
14797
- | 'LowBalance'
15051
+ | { name: 'LowBalance' }
14798
15052
  /**
14799
15053
  * The asset owner has too many locks on the asset.
14800
15054
  **/
14801
- | 'TooManyLocks'
15055
+ | { name: 'TooManyLocks' }
14802
15056
  /**
14803
15057
  * The given account is not an identifiable sovereign account for any location.
14804
15058
  **/
14805
- | 'AccountNotSovereign'
15059
+ | { name: 'AccountNotSovereign' }
14806
15060
  /**
14807
15061
  * The operation required fees to be paid which the initiator could not meet.
14808
15062
  **/
14809
- | 'FeesNotMet'
15063
+ | { name: 'FeesNotMet' }
14810
15064
  /**
14811
15065
  * A remote lock with the corresponding data could not be found.
14812
15066
  **/
14813
- | 'LockNotFound'
15067
+ | { name: 'LockNotFound' }
14814
15068
  /**
14815
15069
  * The unlock operation cannot succeed because there are still consumers of the lock.
14816
15070
  **/
14817
- | 'InUse'
15071
+ | { name: 'InUse' }
14818
15072
  /**
14819
15073
  * Invalid asset, reserve chain could not be determined for it.
14820
15074
  **/
14821
- | 'InvalidAssetUnknownReserve'
15075
+ | { name: 'InvalidAssetUnknownReserve' }
14822
15076
  /**
14823
15077
  * Invalid asset, do not support remote asset reserves with different fees reserves.
14824
15078
  **/
14825
- | 'InvalidAssetUnsupportedReserve'
15079
+ | { name: 'InvalidAssetUnsupportedReserve' }
14826
15080
  /**
14827
15081
  * Too many assets with different reserve locations have been attempted for transfer.
14828
15082
  **/
14829
- | 'TooManyReserves'
15083
+ | { name: 'TooManyReserves' }
14830
15084
  /**
14831
15085
  * Local XCM execution incomplete.
14832
15086
  **/
14833
- | 'LocalExecutionIncomplete'
15087
+ | { name: 'LocalExecutionIncomplete' }
14834
15088
  /**
14835
15089
  * Too many locations authorized to alias origin.
14836
15090
  **/
14837
- | 'TooManyAuthorizedAliases'
15091
+ | { name: 'TooManyAuthorizedAliases' }
14838
15092
  /**
14839
15093
  * Expiry block number is in the past.
14840
15094
  **/
14841
- | 'ExpiresInPast'
15095
+ | { name: 'ExpiresInPast' }
14842
15096
  /**
14843
15097
  * The alias to remove authorization for was not found.
14844
15098
  **/
14845
- | 'AliasNotFound';
15099
+ | { name: 'AliasNotFound' }
15100
+ /**
15101
+ * Local XCM execution incomplete with the actual XCM error and the index of the
15102
+ * instruction that caused the error.
15103
+ **/
15104
+ | { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
15105
+
15106
+ export type PalletXcmErrorsExecutionError =
15107
+ | 'Overflow'
15108
+ | 'Unimplemented'
15109
+ | 'UntrustedReserveLocation'
15110
+ | 'UntrustedTeleportLocation'
15111
+ | 'LocationFull'
15112
+ | 'LocationNotInvertible'
15113
+ | 'BadOrigin'
15114
+ | 'InvalidLocation'
15115
+ | 'AssetNotFound'
15116
+ | 'FailedToTransactAsset'
15117
+ | 'NotWithdrawable'
15118
+ | 'LocationCannotHold'
15119
+ | 'ExceedsMaxMessageSize'
15120
+ | 'DestinationUnsupported'
15121
+ | 'Transport'
15122
+ | 'Unroutable'
15123
+ | 'UnknownClaim'
15124
+ | 'FailedToDecode'
15125
+ | 'MaxWeightInvalid'
15126
+ | 'NotHoldingFees'
15127
+ | 'TooExpensive'
15128
+ | 'Trap'
15129
+ | 'ExpectationFalse'
15130
+ | 'PalletNotFound'
15131
+ | 'NameMismatch'
15132
+ | 'VersionIncompatible'
15133
+ | 'HoldingWouldOverflow'
15134
+ | 'ExportError'
15135
+ | 'ReanchorFailed'
15136
+ | 'NoDeal'
15137
+ | 'FeesNotMet'
15138
+ | 'LockError'
15139
+ | 'NoPermission'
15140
+ | 'Unanchored'
15141
+ | 'NotDepositable'
15142
+ | 'TooManyAssets'
15143
+ | 'UnhandledXcmVersion'
15144
+ | 'WeightLimitReached'
15145
+ | 'Barrier'
15146
+ | 'WeightNotComputable'
15147
+ | 'ExceedsStackLimit';
14846
15148
 
14847
15149
  export type PalletMessageQueueBookState = {
14848
15150
  begin: number;
@@ -14966,34 +15268,8 @@ export type PalletBeefyError =
14966
15268
 
14967
15269
  export type SpConsensusBeefyMmrBeefyAuthoritySet = { id: bigint; len: number; keysetCommitment: H256 };
14968
15270
 
14969
- export type FrameSystemExtensionsCheckNonZeroSender = {};
14970
-
14971
- export type FrameSystemExtensionsCheckSpecVersion = {};
14972
-
14973
- export type FrameSystemExtensionsCheckTxVersion = {};
14974
-
14975
- export type FrameSystemExtensionsCheckGenesis = {};
14976
-
14977
- export type FrameSystemExtensionsCheckMortality = Era;
14978
-
14979
- export type FrameSystemExtensionsCheckNonce = number;
14980
-
14981
- export type FrameSystemExtensionsCheckWeight = {};
14982
-
14983
- export type PalletTransactionPaymentChargeTransactionPayment = bigint;
14984
-
14985
- export type PolkadotRuntimeCommonClaimsPrevalidateAttests = {};
14986
-
14987
- export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
14988
-
14989
- export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
14990
-
14991
- export type PolkadotRuntimeRuntime = {};
14992
-
14993
15271
  export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
14994
15272
 
14995
- export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
14996
-
14997
15273
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
14998
15274
 
14999
15275
  export type SpCoreOpaqueMetadata = Bytes;