@dedot/chaintypes 0.230.0 → 0.232.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.
package/paseo/types.d.ts CHANGED
@@ -17,6 +17,7 @@ import type {
17
17
  MultiAddressLike,
18
18
  AccountId32Like,
19
19
  Percent,
20
+ Perquintill,
20
21
  EthereumAddress,
21
22
  EthereumAddressLike,
22
23
  PerU16,
@@ -69,6 +70,7 @@ export type PaseoRuntimeRuntimeEvent =
69
70
  | { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
70
71
  | { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
71
72
  | { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
73
+ | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
72
74
  | { pallet: 'Claims'; palletEvent: PolkadotRuntimeCommonClaimsPalletEvent }
73
75
  | { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
74
76
  | { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
@@ -80,11 +82,12 @@ export type PaseoRuntimeRuntimeEvent =
80
82
  | { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
81
83
  | { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
82
84
  | { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
85
+ | { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
83
86
  | { pallet: 'ParaInclusion'; palletEvent: PolkadotRuntimeParachainsInclusionPalletEvent }
84
87
  | { pallet: 'Paras'; palletEvent: PolkadotRuntimeParachainsParasPalletEvent }
85
88
  | { pallet: 'Hrmp'; palletEvent: PolkadotRuntimeParachainsHrmpPalletEvent }
86
89
  | { pallet: 'ParasDisputes'; palletEvent: PolkadotRuntimeParachainsDisputesPalletEvent }
87
- | { pallet: 'OnDemand'; palletEvent: PolkadotRuntimeParachainsAssignerOnDemandPalletEvent }
90
+ | { pallet: 'OnDemand'; palletEvent: PolkadotRuntimeParachainsOnDemandPalletEvent }
88
91
  | { pallet: 'Registrar'; palletEvent: PolkadotRuntimeCommonParasRegistrarPalletEvent }
89
92
  | { pallet: 'Slots'; palletEvent: PolkadotRuntimeCommonSlotsPalletEvent }
90
93
  | { pallet: 'Auctions'; palletEvent: PolkadotRuntimeCommonAuctionsPalletEvent }
@@ -729,7 +732,22 @@ export type PalletConvictionVotingEvent =
729
732
  /**
730
733
  * An \[account\] has cancelled a previous delegation operation.
731
734
  **/
732
- | { name: 'Undelegated'; data: AccountId32 };
735
+ | { name: 'Undelegated'; data: AccountId32 }
736
+ /**
737
+ * An account that has voted
738
+ **/
739
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
740
+ /**
741
+ * A vote that been removed
742
+ **/
743
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
744
+
745
+ export type PalletConvictionVotingVoteAccountVote =
746
+ | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
747
+ | { type: 'Split'; value: { aye: bigint; nay: bigint } }
748
+ | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
749
+
750
+ export type PalletConvictionVotingVote = number;
733
751
 
734
752
  /**
735
753
  * The `Event` enum of this pallet
@@ -1037,6 +1055,7 @@ export type PaseoRuntimeRuntimeCall =
1037
1055
  | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
1038
1056
  | { pallet: 'Referenda'; palletCall: PalletReferendaCall }
1039
1057
  | { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
1058
+ | { pallet: 'Parameters'; palletCall: PalletParametersCall }
1040
1059
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCall }
1041
1060
  | { pallet: 'Vesting'; palletCall: PalletVestingCall }
1042
1061
  | { pallet: 'Utility'; palletCall: PalletUtilityCall }
@@ -1057,7 +1076,7 @@ export type PaseoRuntimeRuntimeCall =
1057
1076
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCall }
1058
1077
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCall }
1059
1078
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCall }
1060
- | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCall }
1079
+ | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCall }
1061
1080
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCall }
1062
1081
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCall }
1063
1082
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCall }
@@ -1086,6 +1105,7 @@ export type PaseoRuntimeRuntimeCallLike =
1086
1105
  | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
1087
1106
  | { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
1088
1107
  | { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
1108
+ | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
1089
1109
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCallLike }
1090
1110
  | { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
1091
1111
  | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
@@ -1106,7 +1126,7 @@ export type PaseoRuntimeRuntimeCallLike =
1106
1126
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCallLike }
1107
1127
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCallLike }
1108
1128
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCallLike }
1109
- | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike }
1129
+ | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCallLike }
1110
1130
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCallLike }
1111
1131
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCallLike }
1112
1132
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCallLike }
@@ -2467,7 +2487,16 @@ export type PalletStakingPalletCall =
2467
2487
  maybeTotal?: bigint | undefined;
2468
2488
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
2469
2489
  };
2470
- };
2490
+ }
2491
+ /**
2492
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
2493
+ *
2494
+ * This function corrects cases where a user's recorded stake in the ledger
2495
+ * exceeds their actual staked funds. This situation can arise due to cases such as
2496
+ * external slashing by another pallet, leading to an inconsistency between the ledger
2497
+ * and the actual stake.
2498
+ **/
2499
+ | { name: 'WithdrawOverstake'; params: { stash: AccountId32 } };
2471
2500
 
2472
2501
  export type PalletStakingPalletCallLike =
2473
2502
  /**
@@ -2913,7 +2942,16 @@ export type PalletStakingPalletCallLike =
2913
2942
  maybeTotal?: bigint | undefined;
2914
2943
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
2915
2944
  };
2916
- };
2945
+ }
2946
+ /**
2947
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
2948
+ *
2949
+ * This function corrects cases where a user's recorded stake in the ledger
2950
+ * exceeds their actual staked funds. This situation can arise due to cases such as
2951
+ * external slashing by another pallet, leading to an inconsistency between the ledger
2952
+ * and the actual stake.
2953
+ **/
2954
+ | { name: 'WithdrawOverstake'; params: { stash: AccountId32Like } };
2917
2955
 
2918
2956
  export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
2919
2957
 
@@ -2995,15 +3033,15 @@ export type PalletSessionCallLike =
2995
3033
  export type PaseoRuntimeSessionKeys = {
2996
3034
  grandpa: SpConsensusGrandpaAppPublic;
2997
3035
  babe: SpConsensusBabeAppPublic;
2998
- paraValidator: PolkadotPrimitivesV7ValidatorAppPublic;
2999
- paraAssignment: PolkadotPrimitivesV7AssignmentAppPublic;
3036
+ paraValidator: PolkadotPrimitivesV8ValidatorAppPublic;
3037
+ paraAssignment: PolkadotPrimitivesV8AssignmentAppPublic;
3000
3038
  authorityDiscovery: SpAuthorityDiscoveryAppPublic;
3001
3039
  beefy: SpConsensusBeefyEcdsaCryptoPublic;
3002
3040
  };
3003
3041
 
3004
- export type PolkadotPrimitivesV7ValidatorAppPublic = FixedBytes<32>;
3042
+ export type PolkadotPrimitivesV8ValidatorAppPublic = FixedBytes<32>;
3005
3043
 
3006
- export type PolkadotPrimitivesV7AssignmentAppPublic = FixedBytes<32>;
3044
+ export type PolkadotPrimitivesV8AssignmentAppPublic = FixedBytes<32>;
3007
3045
 
3008
3046
  export type SpAuthorityDiscoveryAppPublic = FixedBytes<32>;
3009
3047
 
@@ -3666,13 +3704,6 @@ export type PalletConvictionVotingCallLike =
3666
3704
  **/
3667
3705
  | { name: 'RemoveOtherVote'; params: { target: MultiAddressLike; class: number; index: number } };
3668
3706
 
3669
- export type PalletConvictionVotingVoteAccountVote =
3670
- | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
3671
- | { type: 'Split'; value: { aye: bigint; nay: bigint } }
3672
- | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
3673
-
3674
- export type PalletConvictionVotingVote = number;
3675
-
3676
3707
  export type PalletConvictionVotingConviction =
3677
3708
  | 'None'
3678
3709
  | 'Locked1x'
@@ -3948,6 +3979,46 @@ export type PalletWhitelistCallLike =
3948
3979
  }
3949
3980
  | { name: 'DispatchWhitelistedCallWithPreimage'; params: { call: PaseoRuntimeRuntimeCallLike } };
3950
3981
 
3982
+ /**
3983
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3984
+ **/
3985
+ export type PalletParametersCall =
3986
+ /**
3987
+ * Set the value of a parameter.
3988
+ *
3989
+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3990
+ * deleted by setting them to `None`.
3991
+ **/
3992
+ { name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
3993
+
3994
+ export type PalletParametersCallLike =
3995
+ /**
3996
+ * Set the value of a parameter.
3997
+ *
3998
+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3999
+ * deleted by setting them to `None`.
4000
+ **/
4001
+ { name: 'SetParameter'; params: { keyValue: PaseoRuntimeRuntimeParameters } };
4002
+
4003
+ export type PaseoRuntimeRuntimeParameters = { type: 'Inflation'; value: PaseoRuntimeDynamicParamsInflationParameters };
4004
+
4005
+ export type PaseoRuntimeDynamicParamsInflationParameters =
4006
+ | { type: 'MinInflation'; value: [PaseoRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
4007
+ | { type: 'MaxInflation'; value: [PaseoRuntimeDynamicParamsInflationMaxInflation, Perquintill | undefined] }
4008
+ | { type: 'IdealStake'; value: [PaseoRuntimeDynamicParamsInflationIdealStake, Perquintill | undefined] }
4009
+ | { type: 'Falloff'; value: [PaseoRuntimeDynamicParamsInflationFalloff, Perquintill | undefined] }
4010
+ | { type: 'UseAuctionSlots'; value: [PaseoRuntimeDynamicParamsInflationUseAuctionSlots, boolean | undefined] };
4011
+
4012
+ export type PaseoRuntimeDynamicParamsInflationMinInflation = {};
4013
+
4014
+ export type PaseoRuntimeDynamicParamsInflationMaxInflation = {};
4015
+
4016
+ export type PaseoRuntimeDynamicParamsInflationIdealStake = {};
4017
+
4018
+ export type PaseoRuntimeDynamicParamsInflationFalloff = {};
4019
+
4020
+ export type PaseoRuntimeDynamicParamsInflationUseAuctionSlots = {};
4021
+
3951
4022
  /**
3952
4023
  * Contains a variant per dispatchable extrinsic that this pallet has.
3953
4024
  **/
@@ -4907,7 +4978,8 @@ export type PaseoRuntimeProxyType =
4907
4978
  | 'Staking'
4908
4979
  | 'CancelProxy'
4909
4980
  | 'Auction'
4910
- | 'NominationPools';
4981
+ | 'NominationPools'
4982
+ | 'ParaRegistration';
4911
4983
 
4912
4984
  /**
4913
4985
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6016,8 +6088,14 @@ export type PalletBagsListCallLike =
6016
6088
  **/
6017
6089
  export type PalletNominationPoolsCall =
6018
6090
  /**
6019
- * Stake funds with a pool. The amount to bond is transferred from the member to the
6020
- * pools account and immediately increases the pools bond.
6091
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
6092
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
6093
+ * increases the pool's bond.
6094
+ *
6095
+ * The method of transferring the amount to the pool account is determined by
6096
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
6097
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
6098
+ * the `origin`, while the pool gains the right to use these funds for staking.
6021
6099
  *
6022
6100
  * # Note
6023
6101
  *
@@ -6334,8 +6412,10 @@ export type PalletNominationPoolsCall =
6334
6412
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
6335
6413
  * [`adapter::StakeStrategyType::Delegate`].
6336
6414
  *
6337
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
6338
- * slash to be applied, caller may be rewarded with the part of the slash.
6415
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
6416
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
6417
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
6418
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
6339
6419
  **/
6340
6420
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddress } }
6341
6421
  /**
@@ -6365,8 +6445,14 @@ export type PalletNominationPoolsCall =
6365
6445
 
6366
6446
  export type PalletNominationPoolsCallLike =
6367
6447
  /**
6368
- * Stake funds with a pool. The amount to bond is transferred from the member to the
6369
- * pools account and immediately increases the pools bond.
6448
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
6449
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
6450
+ * increases the pool's bond.
6451
+ *
6452
+ * The method of transferring the amount to the pool account is determined by
6453
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
6454
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
6455
+ * the `origin`, while the pool gains the right to use these funds for staking.
6370
6456
  *
6371
6457
  * # Note
6372
6458
  *
@@ -6692,8 +6778,10 @@ export type PalletNominationPoolsCallLike =
6692
6778
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
6693
6779
  * [`adapter::StakeStrategyType::Delegate`].
6694
6780
  *
6695
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
6696
- * slash to be applied, caller may be rewarded with the part of the slash.
6781
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
6782
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
6783
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
6784
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
6697
6785
  **/
6698
6786
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddressLike } }
6699
6787
  /**
@@ -7055,11 +7143,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7055
7143
  /**
7056
7144
  * Set the asynchronous backing parameters.
7057
7145
  **/
7058
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7146
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7059
7147
  /**
7060
7148
  * Set PVF executor parameters.
7061
7149
  **/
7062
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7150
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7063
7151
  /**
7064
7152
  * Set the on demand (parathreads) base fee.
7065
7153
  **/
@@ -7091,11 +7179,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7091
7179
  /**
7092
7180
  * Set approval-voting-params.
7093
7181
  **/
7094
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7182
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7095
7183
  /**
7096
7184
  * Set scheduler-params.
7097
7185
  **/
7098
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7186
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7099
7187
 
7100
7188
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7101
7189
  /**
@@ -7259,11 +7347,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7259
7347
  /**
7260
7348
  * Set the asynchronous backing parameters.
7261
7349
  **/
7262
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7350
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7263
7351
  /**
7264
7352
  * Set PVF executor parameters.
7265
7353
  **/
7266
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7354
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7267
7355
  /**
7268
7356
  * Set the on demand (parathreads) base fee.
7269
7357
  **/
@@ -7295,35 +7383,35 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7295
7383
  /**
7296
7384
  * Set approval-voting-params.
7297
7385
  **/
7298
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7386
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7299
7387
  /**
7300
7388
  * Set scheduler-params.
7301
7389
  **/
7302
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7390
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7303
7391
 
7304
- export type PolkadotPrimitivesV7AsyncBackingAsyncBackingParams = {
7392
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
7305
7393
  maxCandidateDepth: number;
7306
7394
  allowedAncestryLen: number;
7307
7395
  };
7308
7396
 
7309
- export type PolkadotPrimitivesV7ExecutorParams = Array<PolkadotPrimitivesV7ExecutorParamsExecutorParam>;
7397
+ export type PolkadotPrimitivesV8ExecutorParams = Array<PolkadotPrimitivesV8ExecutorParamsExecutorParam>;
7310
7398
 
7311
- export type PolkadotPrimitivesV7ExecutorParamsExecutorParam =
7399
+ export type PolkadotPrimitivesV8ExecutorParamsExecutorParam =
7312
7400
  | { type: 'MaxMemoryPages'; value: number }
7313
7401
  | { type: 'StackLogicalMax'; value: number }
7314
7402
  | { type: 'StackNativeMax'; value: number }
7315
7403
  | { type: 'PrecheckingMaxMemory'; value: bigint }
7316
- | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV7PvfPrepKind, bigint] }
7317
- | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV7PvfExecKind, bigint] }
7404
+ | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV8PvfPrepKind, bigint] }
7405
+ | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV8PvfExecKind, bigint] }
7318
7406
  | { type: 'WasmExtBulkMemory' };
7319
7407
 
7320
- export type PolkadotPrimitivesV7PvfPrepKind = 'Precheck' | 'Prepare';
7408
+ export type PolkadotPrimitivesV8PvfPrepKind = 'Precheck' | 'Prepare';
7321
7409
 
7322
- export type PolkadotPrimitivesV7PvfExecKind = 'Backing' | 'Approval';
7410
+ export type PolkadotPrimitivesV8PvfExecKind = 'Backing' | 'Approval';
7323
7411
 
7324
- export type PolkadotPrimitivesV7ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7412
+ export type PolkadotPrimitivesV8ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7325
7413
 
7326
- export type PolkadotPrimitivesVstagingSchedulerParams = {
7414
+ export type PolkadotPrimitivesV8SchedulerParams = {
7327
7415
  groupRotationFrequency: number;
7328
7416
  parasAvailabilityPeriod: number;
7329
7417
  maxValidatorsPerCore?: number | undefined;
@@ -7358,65 +7446,65 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
7358
7446
  /**
7359
7447
  * Enter the paras inherent. This will process bitfields and backed candidates.
7360
7448
  **/
7361
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7449
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7362
7450
 
7363
7451
  export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
7364
7452
  /**
7365
7453
  * Enter the paras inherent. This will process bitfields and backed candidates.
7366
7454
  **/
7367
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7455
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7368
7456
 
7369
- export type PolkadotPrimitivesV7InherentData = {
7370
- bitfields: Array<PolkadotPrimitivesV7SignedUncheckedSigned>;
7371
- backedCandidates: Array<PolkadotPrimitivesV7BackedCandidate>;
7372
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
7457
+ export type PolkadotPrimitivesV8InherentData = {
7458
+ bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
7459
+ backedCandidates: Array<PolkadotPrimitivesV8BackedCandidate>;
7460
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
7373
7461
  parentHeader: Header;
7374
7462
  };
7375
7463
 
7376
- export type PolkadotPrimitivesV7SignedUncheckedSigned = {
7377
- payload: PolkadotPrimitivesV7AvailabilityBitfield;
7378
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7379
- signature: PolkadotPrimitivesV7ValidatorAppSignature;
7464
+ export type PolkadotPrimitivesV8SignedUncheckedSigned = {
7465
+ payload: PolkadotPrimitivesV8AvailabilityBitfield;
7466
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
7467
+ signature: PolkadotPrimitivesV8ValidatorAppSignature;
7380
7468
  };
7381
7469
 
7382
- export type PolkadotPrimitivesV7AvailabilityBitfield = BitSequence;
7470
+ export type PolkadotPrimitivesV8AvailabilityBitfield = BitSequence;
7383
7471
 
7384
7472
  export type BitvecOrderLsb0 = {};
7385
7473
 
7386
- export type PolkadotPrimitivesV7ValidatorIndex = number;
7474
+ export type PolkadotPrimitivesV8ValidatorIndex = number;
7387
7475
 
7388
- export type PolkadotPrimitivesV7ValidatorAppSignature = FixedBytes<64>;
7476
+ export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
7389
7477
 
7390
- export type PolkadotPrimitivesV7BackedCandidate = {
7391
- candidate: PolkadotPrimitivesV7CommittedCandidateReceipt;
7392
- validityVotes: Array<PolkadotPrimitivesV7ValidityAttestation>;
7478
+ export type PolkadotPrimitivesV8BackedCandidate = {
7479
+ candidate: PolkadotPrimitivesV8CommittedCandidateReceipt;
7480
+ validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
7393
7481
  validatorIndices: BitSequence;
7394
7482
  };
7395
7483
 
7396
- export type PolkadotPrimitivesV7CommittedCandidateReceipt = {
7397
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
7398
- commitments: PolkadotPrimitivesV7CandidateCommitments;
7484
+ export type PolkadotPrimitivesV8CommittedCandidateReceipt = {
7485
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
7486
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
7399
7487
  };
7400
7488
 
7401
- export type PolkadotPrimitivesV7CandidateDescriptor = {
7489
+ export type PolkadotPrimitivesV8CandidateDescriptor = {
7402
7490
  paraId: PolkadotParachainPrimitivesPrimitivesId;
7403
7491
  relayParent: H256;
7404
- collator: PolkadotPrimitivesV7CollatorAppPublic;
7492
+ collator: PolkadotPrimitivesV8CollatorAppPublic;
7405
7493
  persistedValidationDataHash: H256;
7406
7494
  povHash: H256;
7407
7495
  erasureRoot: H256;
7408
- signature: PolkadotPrimitivesV7CollatorAppSignature;
7496
+ signature: PolkadotPrimitivesV8CollatorAppSignature;
7409
7497
  paraHead: H256;
7410
7498
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7411
7499
  };
7412
7500
 
7413
- export type PolkadotPrimitivesV7CollatorAppPublic = FixedBytes<32>;
7501
+ export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
7414
7502
 
7415
- export type PolkadotPrimitivesV7CollatorAppSignature = FixedBytes<64>;
7503
+ export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
7416
7504
 
7417
7505
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7418
7506
 
7419
- export type PolkadotPrimitivesV7CandidateCommitments = {
7507
+ export type PolkadotPrimitivesV8CandidateCommitments = {
7420
7508
  upwardMessages: Array<Bytes>;
7421
7509
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;
7422
7510
  newValidationCode?: PolkadotParachainPrimitivesPrimitivesValidationCode | undefined;
@@ -7434,36 +7522,36 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
7434
7522
 
7435
7523
  export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
7436
7524
 
7437
- export type PolkadotPrimitivesV7ValidityAttestation =
7438
- | { type: 'Implicit'; value: PolkadotPrimitivesV7ValidatorAppSignature }
7439
- | { type: 'Explicit'; value: PolkadotPrimitivesV7ValidatorAppSignature };
7525
+ export type PolkadotPrimitivesV8ValidityAttestation =
7526
+ | { type: 'Implicit'; value: PolkadotPrimitivesV8ValidatorAppSignature }
7527
+ | { type: 'Explicit'; value: PolkadotPrimitivesV8ValidatorAppSignature };
7440
7528
 
7441
- export type PolkadotPrimitivesV7DisputeStatementSet = {
7529
+ export type PolkadotPrimitivesV8DisputeStatementSet = {
7442
7530
  candidateHash: PolkadotCorePrimitivesCandidateHash;
7443
7531
  session: number;
7444
7532
  statements: Array<
7445
7533
  [
7446
- PolkadotPrimitivesV7DisputeStatement,
7447
- PolkadotPrimitivesV7ValidatorIndex,
7448
- PolkadotPrimitivesV7ValidatorAppSignature,
7534
+ PolkadotPrimitivesV8DisputeStatement,
7535
+ PolkadotPrimitivesV8ValidatorIndex,
7536
+ PolkadotPrimitivesV8ValidatorAppSignature,
7449
7537
  ]
7450
7538
  >;
7451
7539
  };
7452
7540
 
7453
7541
  export type PolkadotCorePrimitivesCandidateHash = H256;
7454
7542
 
7455
- export type PolkadotPrimitivesV7DisputeStatement =
7456
- | { type: 'Valid'; value: PolkadotPrimitivesV7ValidDisputeStatementKind }
7457
- | { type: 'Invalid'; value: PolkadotPrimitivesV7InvalidDisputeStatementKind };
7543
+ export type PolkadotPrimitivesV8DisputeStatement =
7544
+ | { type: 'Valid'; value: PolkadotPrimitivesV8ValidDisputeStatementKind }
7545
+ | { type: 'Invalid'; value: PolkadotPrimitivesV8InvalidDisputeStatementKind };
7458
7546
 
7459
- export type PolkadotPrimitivesV7ValidDisputeStatementKind =
7547
+ export type PolkadotPrimitivesV8ValidDisputeStatementKind =
7460
7548
  | { type: 'Explicit' }
7461
7549
  | { type: 'BackingSeconded'; value: H256 }
7462
7550
  | { type: 'BackingValid'; value: H256 }
7463
7551
  | { type: 'ApprovalChecking' }
7464
7552
  | { type: 'ApprovalCheckingMultipleCandidates'; value: Array<PolkadotCorePrimitivesCandidateHash> };
7465
7553
 
7466
- export type PolkadotPrimitivesV7InvalidDisputeStatementKind = 'Explicit';
7554
+ export type PolkadotPrimitivesV8InvalidDisputeStatementKind = 'Explicit';
7467
7555
 
7468
7556
  /**
7469
7557
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7547,7 +7635,7 @@ export type PolkadotRuntimeParachainsParasPalletCall =
7547
7635
  **/
7548
7636
  | {
7549
7637
  name: 'IncludePvfCheckStatement';
7550
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
7638
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
7551
7639
  }
7552
7640
  /**
7553
7641
  * Set the storage for the current parachain head data immediately.
@@ -7633,18 +7721,18 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
7633
7721
  **/
7634
7722
  | {
7635
7723
  name: 'IncludePvfCheckStatement';
7636
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
7724
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
7637
7725
  }
7638
7726
  /**
7639
7727
  * Set the storage for the current parachain head data immediately.
7640
7728
  **/
7641
7729
  | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
7642
7730
 
7643
- export type PolkadotPrimitivesV7PvfCheckStatement = {
7731
+ export type PolkadotPrimitivesV8PvfCheckStatement = {
7644
7732
  accept: boolean;
7645
7733
  subject: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7646
7734
  sessionIndex: number;
7647
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7735
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
7648
7736
  };
7649
7737
 
7650
7738
  /**
@@ -7978,32 +8066,32 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
7978
8066
  **/
7979
8067
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
7980
8068
  name: 'ReportDisputeLostUnsigned';
7981
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8069
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
7982
8070
  };
7983
8071
 
7984
8072
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
7985
8073
  name: 'ReportDisputeLostUnsigned';
7986
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8074
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
7987
8075
  };
7988
8076
 
7989
- export type PolkadotPrimitivesV7SlashingDisputeProof = {
7990
- timeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
7991
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
7992
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7993
- validatorId: PolkadotPrimitivesV7ValidatorAppPublic;
8077
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
8078
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
8079
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
8080
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8081
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
7994
8082
  };
7995
8083
 
7996
- export type PolkadotPrimitivesV7SlashingDisputesTimeSlot = {
8084
+ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
7997
8085
  sessionIndex: number;
7998
8086
  candidateHash: PolkadotCorePrimitivesCandidateHash;
7999
8087
  };
8000
8088
 
8001
- export type PolkadotPrimitivesV7SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8089
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8002
8090
 
8003
8091
  /**
8004
8092
  * Contains a variant per dispatchable extrinsic that this pallet has.
8005
8093
  **/
8006
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8094
+ export type PolkadotRuntimeParachainsOnDemandPalletCall =
8007
8095
  /**
8008
8096
  * Create a single on demand core order.
8009
8097
  * Will use the spot price for the current block and will reap the account if needed.
@@ -8041,7 +8129,7 @@ export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8041
8129
  **/
8042
8130
  | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8043
8131
 
8044
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike =
8132
+ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
8045
8133
  /**
8046
8134
  * Create a single on demand core order.
8047
8135
  * Will use the spot price for the current block and will reap the account if needed.
@@ -10271,7 +10359,7 @@ export type PalletBeefyCall =
10271
10359
  * will be reported.
10272
10360
  **/
10273
10361
  | {
10274
- name: 'ReportEquivocation';
10362
+ name: 'ReportDoubleVoting';
10275
10363
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10276
10364
  }
10277
10365
  /**
@@ -10286,7 +10374,7 @@ export type PalletBeefyCall =
10286
10374
  * reporter.
10287
10375
  **/
10288
10376
  | {
10289
- name: 'ReportEquivocationUnsigned';
10377
+ name: 'ReportDoubleVotingUnsigned';
10290
10378
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10291
10379
  }
10292
10380
  /**
@@ -10295,7 +10383,53 @@ export type PalletBeefyCall =
10295
10383
  *
10296
10384
  * Note: `delay_in_blocks` has to be at least 1.
10297
10385
  **/
10298
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
10386
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
10387
+ /**
10388
+ * Report fork voting equivocation. This method will verify the equivocation proof
10389
+ * and validate the given key ownership proof against the extracted offender.
10390
+ * If both are valid, the offence will be reported.
10391
+ **/
10392
+ | {
10393
+ name: 'ReportForkVoting';
10394
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10395
+ }
10396
+ /**
10397
+ * Report fork voting equivocation. This method will verify the equivocation proof
10398
+ * and validate the given key ownership proof against the extracted offender.
10399
+ * If both are valid, the offence will be reported.
10400
+ *
10401
+ * This extrinsic must be called unsigned and it is expected that only
10402
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10403
+ * if the block author is defined it will be defined as the equivocation
10404
+ * reporter.
10405
+ **/
10406
+ | {
10407
+ name: 'ReportForkVotingUnsigned';
10408
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10409
+ }
10410
+ /**
10411
+ * Report future block voting equivocation. This method will verify the equivocation proof
10412
+ * and validate the given key ownership proof against the extracted offender.
10413
+ * If both are valid, the offence will be reported.
10414
+ **/
10415
+ | {
10416
+ name: 'ReportFutureBlockVoting';
10417
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10418
+ }
10419
+ /**
10420
+ * Report future block voting equivocation. This method will verify the equivocation proof
10421
+ * and validate the given key ownership proof against the extracted offender.
10422
+ * If both are valid, the offence will be reported.
10423
+ *
10424
+ * This extrinsic must be called unsigned and it is expected that only
10425
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10426
+ * if the block author is defined it will be defined as the equivocation
10427
+ * reporter.
10428
+ **/
10429
+ | {
10430
+ name: 'ReportFutureBlockVotingUnsigned';
10431
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10432
+ };
10299
10433
 
10300
10434
  export type PalletBeefyCallLike =
10301
10435
  /**
@@ -10305,7 +10439,7 @@ export type PalletBeefyCallLike =
10305
10439
  * will be reported.
10306
10440
  **/
10307
10441
  | {
10308
- name: 'ReportEquivocation';
10442
+ name: 'ReportDoubleVoting';
10309
10443
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10310
10444
  }
10311
10445
  /**
@@ -10320,7 +10454,7 @@ export type PalletBeefyCallLike =
10320
10454
  * reporter.
10321
10455
  **/
10322
10456
  | {
10323
- name: 'ReportEquivocationUnsigned';
10457
+ name: 'ReportDoubleVotingUnsigned';
10324
10458
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10325
10459
  }
10326
10460
  /**
@@ -10329,7 +10463,53 @@ export type PalletBeefyCallLike =
10329
10463
  *
10330
10464
  * Note: `delay_in_blocks` has to be at least 1.
10331
10465
  **/
10332
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
10466
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
10467
+ /**
10468
+ * Report fork voting equivocation. This method will verify the equivocation proof
10469
+ * and validate the given key ownership proof against the extracted offender.
10470
+ * If both are valid, the offence will be reported.
10471
+ **/
10472
+ | {
10473
+ name: 'ReportForkVoting';
10474
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10475
+ }
10476
+ /**
10477
+ * Report fork voting equivocation. This method will verify the equivocation proof
10478
+ * and validate the given key ownership proof against the extracted offender.
10479
+ * If both are valid, the offence will be reported.
10480
+ *
10481
+ * This extrinsic must be called unsigned and it is expected that only
10482
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10483
+ * if the block author is defined it will be defined as the equivocation
10484
+ * reporter.
10485
+ **/
10486
+ | {
10487
+ name: 'ReportForkVotingUnsigned';
10488
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10489
+ }
10490
+ /**
10491
+ * Report future block voting equivocation. This method will verify the equivocation proof
10492
+ * and validate the given key ownership proof against the extracted offender.
10493
+ * If both are valid, the offence will be reported.
10494
+ **/
10495
+ | {
10496
+ name: 'ReportFutureBlockVoting';
10497
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10498
+ }
10499
+ /**
10500
+ * Report future block voting equivocation. This method will verify the equivocation proof
10501
+ * and validate the given key ownership proof against the extracted offender.
10502
+ * If both are valid, the offence will be reported.
10503
+ *
10504
+ * This extrinsic must be called unsigned and it is expected that only
10505
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10506
+ * if the block author is defined it will be defined as the equivocation
10507
+ * reporter.
10508
+ **/
10509
+ | {
10510
+ name: 'ReportFutureBlockVotingUnsigned';
10511
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10512
+ };
10333
10513
 
10334
10514
  export type SpConsensusBeefyDoubleVotingProof = {
10335
10515
  first: SpConsensusBeefyVoteMessage;
@@ -10352,6 +10532,21 @@ export type SpConsensusBeefyCommitment = {
10352
10532
 
10353
10533
  export type SpConsensusBeefyPayload = Array<[FixedBytes<2>, Bytes]>;
10354
10534
 
10535
+ export type SpConsensusBeefyForkVotingProof = {
10536
+ vote: SpConsensusBeefyVoteMessage;
10537
+ ancestryProof: SpMmrPrimitivesAncestryProof;
10538
+ header: Header;
10539
+ };
10540
+
10541
+ export type SpMmrPrimitivesAncestryProof = {
10542
+ prevPeaks: Array<H256>;
10543
+ prevLeafCount: bigint;
10544
+ leafCount: bigint;
10545
+ items: Array<[bigint, H256]>;
10546
+ };
10547
+
10548
+ export type SpConsensusBeefyFutureBlockVotingProof = { vote: SpConsensusBeefyVoteMessage };
10549
+
10355
10550
  /**
10356
10551
  * Contains a variant per dispatchable extrinsic that this pallet has.
10357
10552
  **/
@@ -10550,6 +10745,59 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
10550
10745
  error: DispatchError;
10551
10746
  };
10552
10747
 
10748
+ /**
10749
+ * The `Event` enum of this pallet
10750
+ **/
10751
+ export type PalletParametersEvent =
10752
+ /**
10753
+ * A Parameter was set.
10754
+ *
10755
+ * Is also emitted when the value was not changed.
10756
+ **/
10757
+ {
10758
+ name: 'Updated';
10759
+ data: {
10760
+ /**
10761
+ * The key that was updated.
10762
+ **/
10763
+ key: PaseoRuntimeRuntimeParametersKey;
10764
+
10765
+ /**
10766
+ * The old value before this call.
10767
+ **/
10768
+ oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
10769
+
10770
+ /**
10771
+ * The new value after this call.
10772
+ **/
10773
+ newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
10774
+ };
10775
+ };
10776
+
10777
+ export type PaseoRuntimeRuntimeParametersKey = {
10778
+ type: 'Inflation';
10779
+ value: PaseoRuntimeDynamicParamsInflationParametersKey;
10780
+ };
10781
+
10782
+ export type PaseoRuntimeDynamicParamsInflationParametersKey =
10783
+ | { type: 'MinInflation'; value: PaseoRuntimeDynamicParamsInflationMinInflation }
10784
+ | { type: 'MaxInflation'; value: PaseoRuntimeDynamicParamsInflationMaxInflation }
10785
+ | { type: 'IdealStake'; value: PaseoRuntimeDynamicParamsInflationIdealStake }
10786
+ | { type: 'Falloff'; value: PaseoRuntimeDynamicParamsInflationFalloff }
10787
+ | { type: 'UseAuctionSlots'; value: PaseoRuntimeDynamicParamsInflationUseAuctionSlots };
10788
+
10789
+ export type PaseoRuntimeRuntimeParametersValue = {
10790
+ type: 'Inflation';
10791
+ value: PaseoRuntimeDynamicParamsInflationParametersValue;
10792
+ };
10793
+
10794
+ export type PaseoRuntimeDynamicParamsInflationParametersValue =
10795
+ | { type: 'MinInflation'; value: Perquintill }
10796
+ | { type: 'MaxInflation'; value: Perquintill }
10797
+ | { type: 'IdealStake'; value: Perquintill }
10798
+ | { type: 'Falloff'; value: Perquintill }
10799
+ | { type: 'UseAuctionSlots'; value: boolean };
10800
+
10553
10801
  /**
10554
10802
  * The `Event` enum of this pallet
10555
10803
  **/
@@ -10881,8 +11129,10 @@ export type PalletNominationPoolsEvent =
10881
11129
  * A member has been removed from a pool.
10882
11130
  *
10883
11131
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
11132
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
11133
+ * represented by `released_balance`.
10884
11134
  **/
10885
- | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
11135
+ | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32; releasedBalance: bigint } }
10886
11136
  /**
10887
11137
  * The roles of a pool have been updated to the given new roles. Note that the depositor
10888
11138
  * can never change.
@@ -10962,6 +11212,27 @@ export type PalletFastUnstakeEvent =
10962
11212
  **/
10963
11213
  | { name: 'InternalError' };
10964
11214
 
11215
+ /**
11216
+ * The `Event` enum of this pallet
11217
+ **/
11218
+ export type PalletDelegatedStakingEvent =
11219
+ /**
11220
+ * Funds delegated by a delegator.
11221
+ **/
11222
+ | { name: 'Delegated'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
11223
+ /**
11224
+ * Funds released to a delegator.
11225
+ **/
11226
+ | { name: 'Released'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
11227
+ /**
11228
+ * Funds slashed from a delegator.
11229
+ **/
11230
+ | { name: 'Slashed'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
11231
+ /**
11232
+ * Unclaimed delegation funds migrated to delegator.
11233
+ **/
11234
+ | { name: 'MigratedDelegation'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } };
11235
+
10965
11236
  /**
10966
11237
  * The `Event` enum of this pallet
10967
11238
  **/
@@ -10972,10 +11243,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10972
11243
  | {
10973
11244
  name: 'CandidateBacked';
10974
11245
  data: [
10975
- PolkadotPrimitivesV7CandidateReceipt,
11246
+ PolkadotPrimitivesV8CandidateReceipt,
10976
11247
  PolkadotParachainPrimitivesPrimitivesHeadData,
10977
- PolkadotPrimitivesV7CoreIndex,
10978
- PolkadotPrimitivesV7GroupIndex,
11248
+ PolkadotPrimitivesV8CoreIndex,
11249
+ PolkadotPrimitivesV8GroupIndex,
10979
11250
  ];
10980
11251
  }
10981
11252
  /**
@@ -10984,10 +11255,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10984
11255
  | {
10985
11256
  name: 'CandidateIncluded';
10986
11257
  data: [
10987
- PolkadotPrimitivesV7CandidateReceipt,
11258
+ PolkadotPrimitivesV8CandidateReceipt,
10988
11259
  PolkadotParachainPrimitivesPrimitivesHeadData,
10989
- PolkadotPrimitivesV7CoreIndex,
10990
- PolkadotPrimitivesV7GroupIndex,
11260
+ PolkadotPrimitivesV8CoreIndex,
11261
+ PolkadotPrimitivesV8GroupIndex,
10991
11262
  ];
10992
11263
  }
10993
11264
  /**
@@ -10996,9 +11267,9 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10996
11267
  | {
10997
11268
  name: 'CandidateTimedOut';
10998
11269
  data: [
10999
- PolkadotPrimitivesV7CandidateReceipt,
11270
+ PolkadotPrimitivesV8CandidateReceipt,
11000
11271
  PolkadotParachainPrimitivesPrimitivesHeadData,
11001
- PolkadotPrimitivesV7CoreIndex,
11272
+ PolkadotPrimitivesV8CoreIndex,
11002
11273
  ];
11003
11274
  }
11004
11275
  /**
@@ -11006,14 +11277,14 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11006
11277
  **/
11007
11278
  | { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
11008
11279
 
11009
- export type PolkadotPrimitivesV7CandidateReceipt = {
11010
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
11280
+ export type PolkadotPrimitivesV8CandidateReceipt = {
11281
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
11011
11282
  commitmentsHash: H256;
11012
11283
  };
11013
11284
 
11014
- export type PolkadotPrimitivesV7CoreIndex = number;
11285
+ export type PolkadotPrimitivesV8CoreIndex = number;
11015
11286
 
11016
- export type PolkadotPrimitivesV7GroupIndex = number;
11287
+ export type PolkadotPrimitivesV8GroupIndex = number;
11017
11288
 
11018
11289
  /**
11019
11290
  * The `Event` enum of this pallet
@@ -11173,7 +11444,7 @@ export type PolkadotRuntimeParachainsDisputesDisputeResult = 'Valid' | 'Invalid'
11173
11444
  /**
11174
11445
  * The `Event` enum of this pallet
11175
11446
  **/
11176
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletEvent =
11447
+ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
11177
11448
  /**
11178
11449
  * An order was placed at some spot price amount by orderer ordered_by
11179
11450
  **/
@@ -11335,7 +11606,7 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
11335
11606
  /**
11336
11607
  * A core has received a new assignment from the broker chain.
11337
11608
  **/
11338
- | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV7CoreIndex } };
11609
+ | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
11339
11610
 
11340
11611
  /**
11341
11612
  * Inner events of this pallet.
@@ -11921,11 +12192,7 @@ export type PalletPreimageError =
11921
12192
  /**
11922
12193
  * Too few hashes were requested to be upgraded (i.e. zero).
11923
12194
  **/
11924
- | 'TooFew'
11925
- /**
11926
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
11927
- **/
11928
- | 'NoCost';
12195
+ | 'TooFew';
11929
12196
 
11930
12197
  export type SpConsensusBabeDigestsPreDigest =
11931
12198
  | { type: 'Primary'; value: SpConsensusBabeDigestsPrimaryPreDigest }
@@ -12006,10 +12273,13 @@ export type FrameSupportTokensMiscIdAmount = { id: PaseoRuntimeRuntimeHoldReason
12006
12273
 
12007
12274
  export type PaseoRuntimeRuntimeHoldReason =
12008
12275
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
12276
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
12009
12277
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
12010
12278
 
12011
12279
  export type PalletPreimageHoldReason = 'Preimage';
12012
12280
 
12281
+ export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
12282
+
12013
12283
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
12014
12284
 
12015
12285
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = { id: PaseoRuntimeRuntimeFreezeReason; amount: bigint };
@@ -12243,7 +12513,12 @@ export type PalletStakingPalletError =
12243
12513
  /**
12244
12514
  * Operation not allowed for virtual stakers.
12245
12515
  **/
12246
- | 'VirtualStakerNotAllowed';
12516
+ | 'VirtualStakerNotAllowed'
12517
+ /**
12518
+ * Account is restricted from participation in staking. This may happen if the account is
12519
+ * staking in another way already, such as via pool.
12520
+ **/
12521
+ | 'Restricted';
12247
12522
 
12248
12523
  export type SpStakingOffenceOffenceDetails = {
12249
12524
  offender: [AccountId32, SpStakingExposure];
@@ -13165,6 +13440,10 @@ export type PalletNominationPoolsError =
13165
13440
  * No slash pending that can be applied to the member.
13166
13441
  **/
13167
13442
  | { name: 'NothingToSlash' }
13443
+ /**
13444
+ * The slash amount is too low to be applied.
13445
+ **/
13446
+ | { name: 'SlashTooLow' }
13168
13447
  /**
13169
13448
  * The pool or member delegation has already migrated to delegate stake.
13170
13449
  **/
@@ -13176,7 +13455,12 @@ export type PalletNominationPoolsError =
13176
13455
  /**
13177
13456
  * This call is not allowed in the current state of the pallet.
13178
13457
  **/
13179
- | { name: 'NotSupported' };
13458
+ | { name: 'NotSupported' }
13459
+ /**
13460
+ * Account is restricted from participation in pools. This may happen if the account is
13461
+ * staking in another way already.
13462
+ **/
13463
+ | { name: 'Restricted' };
13180
13464
 
13181
13465
  export type PalletNominationPoolsDefensiveError =
13182
13466
  | 'NotEnoughSpaceInUnbondPool'
@@ -13220,6 +13504,72 @@ export type PalletFastUnstakeError =
13220
13504
  **/
13221
13505
  | 'CallNotAllowed';
13222
13506
 
13507
+ export type PalletDelegatedStakingDelegation = { agent: AccountId32; amount: bigint };
13508
+
13509
+ export type PalletDelegatedStakingAgentLedger = {
13510
+ payee: AccountId32;
13511
+ totalDelegated: bigint;
13512
+ unclaimedWithdrawals: bigint;
13513
+ pendingSlash: bigint;
13514
+ };
13515
+
13516
+ /**
13517
+ * The `Error` enum of this pallet.
13518
+ **/
13519
+ export type PalletDelegatedStakingError =
13520
+ /**
13521
+ * The account cannot perform this operation.
13522
+ **/
13523
+ | 'NotAllowed'
13524
+ /**
13525
+ * An existing staker cannot perform this action.
13526
+ **/
13527
+ | 'AlreadyStaking'
13528
+ /**
13529
+ * Reward Destination cannot be same as `Agent` account.
13530
+ **/
13531
+ | 'InvalidRewardDestination'
13532
+ /**
13533
+ * Delegation conditions are not met.
13534
+ *
13535
+ * Possible issues are
13536
+ * 1) Cannot delegate to self,
13537
+ * 2) Cannot delegate to multiple delegates.
13538
+ **/
13539
+ | 'InvalidDelegation'
13540
+ /**
13541
+ * The account does not have enough funds to perform the operation.
13542
+ **/
13543
+ | 'NotEnoughFunds'
13544
+ /**
13545
+ * Not an existing `Agent` account.
13546
+ **/
13547
+ | 'NotAgent'
13548
+ /**
13549
+ * Not a Delegator account.
13550
+ **/
13551
+ | 'NotDelegator'
13552
+ /**
13553
+ * Some corruption in internal state.
13554
+ **/
13555
+ | 'BadState'
13556
+ /**
13557
+ * Unapplied pending slash restricts operation on `Agent`.
13558
+ **/
13559
+ | 'UnappliedSlash'
13560
+ /**
13561
+ * `Agent` has no pending slash to be applied.
13562
+ **/
13563
+ | 'NothingToSlash'
13564
+ /**
13565
+ * Failed to withdraw amount from Core Staking.
13566
+ **/
13567
+ | 'WithdrawFailed'
13568
+ /**
13569
+ * Operation not supported by this pallet.
13570
+ **/
13571
+ | 'NotSupported';
13572
+
13223
13573
  export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13224
13574
  maxCodeSize: number;
13225
13575
  maxHeadDataSize: number;
@@ -13230,7 +13580,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13230
13580
  hrmpMaxMessageNumPerCandidate: number;
13231
13581
  validationUpgradeCooldown: number;
13232
13582
  validationUpgradeDelay: number;
13233
- asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
13583
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
13234
13584
  maxPovSize: number;
13235
13585
  maxDownwardMessageSize: number;
13236
13586
  hrmpMaxParachainOutboundChannels: number;
@@ -13240,7 +13590,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13240
13590
  hrmpChannelMaxTotalSize: number;
13241
13591
  hrmpMaxParachainInboundChannels: number;
13242
13592
  hrmpChannelMaxMessageSize: number;
13243
- executorParams: PolkadotPrimitivesV7ExecutorParams;
13593
+ executorParams: PolkadotPrimitivesV8ExecutorParams;
13244
13594
  codeRetentionPeriod: number;
13245
13595
  maxValidators?: number | undefined;
13246
13596
  disputePeriod: number;
@@ -13254,8 +13604,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13254
13604
  minimumValidationUpgradeDelay: number;
13255
13605
  minimumBackingVotes: number;
13256
13606
  nodeFeatures: BitSequence;
13257
- approvalVotingParams: PolkadotPrimitivesV7ApprovalVotingParams;
13258
- schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
13607
+ approvalVotingParams: PolkadotPrimitivesV8ApprovalVotingParams;
13608
+ schedulerParams: PolkadotPrimitivesV8SchedulerParams;
13259
13609
  };
13260
13610
 
13261
13611
  /**
@@ -13273,15 +13623,15 @@ export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
13273
13623
  };
13274
13624
 
13275
13625
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
13276
- core: PolkadotPrimitivesV7CoreIndex;
13626
+ core: PolkadotPrimitivesV8CoreIndex;
13277
13627
  hash: PolkadotCorePrimitivesCandidateHash;
13278
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
13279
- commitments: PolkadotPrimitivesV7CandidateCommitments;
13628
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
13629
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
13280
13630
  availabilityVotes: BitSequence;
13281
13631
  backers: BitSequence;
13282
13632
  relayParentNumber: number;
13283
13633
  backedInNumber: number;
13284
- backingGroup: PolkadotPrimitivesV7GroupIndex;
13634
+ backingGroup: PolkadotPrimitivesV8GroupIndex;
13285
13635
  };
13286
13636
 
13287
13637
  /**
@@ -13330,10 +13680,6 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13330
13680
  * Invalid (bad signature, unknown validator, etc.) backing.
13331
13681
  **/
13332
13682
  | 'InvalidBacking'
13333
- /**
13334
- * Collator did not sign PoV.
13335
- **/
13336
- | 'NotCollatorSigned'
13337
13683
  /**
13338
13684
  * The validation data hash does not match expected.
13339
13685
  **/
@@ -13364,15 +13710,15 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13364
13710
  **/
13365
13711
  | 'ParaHeadMismatch';
13366
13712
 
13367
- export type PolkadotPrimitivesV7ScrapedOnChainVotes = {
13713
+ export type PolkadotPrimitivesV8ScrapedOnChainVotes = {
13368
13714
  session: number;
13369
13715
  backingValidatorsPerCandidate: Array<
13370
13716
  [
13371
- PolkadotPrimitivesV7CandidateReceipt,
13372
- Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidityAttestation]>,
13717
+ PolkadotPrimitivesV8CandidateReceipt,
13718
+ Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
13373
13719
  ]
13374
13720
  >;
13375
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
13721
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
13376
13722
  };
13377
13723
 
13378
13724
  /**
@@ -13415,7 +13761,7 @@ export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
13415
13761
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
13416
13762
  | {
13417
13763
  type: 'Pool';
13418
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV7CoreIndex };
13764
+ value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV8CoreIndex };
13419
13765
  }
13420
13766
  | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
13421
13767
 
@@ -13456,9 +13802,9 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
13456
13802
 
13457
13803
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
13458
13804
 
13459
- export type PolkadotPrimitivesV7UpgradeGoAhead = 'Abort' | 'GoAhead';
13805
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
13460
13806
 
13461
- export type PolkadotPrimitivesV7UpgradeRestriction = 'Present';
13807
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
13462
13808
 
13463
13809
  /**
13464
13810
  * The `Error` enum of this pallet.
@@ -13518,8 +13864,8 @@ export type PolkadotRuntimeParachainsParasPalletError =
13518
13864
  | 'InvalidCode';
13519
13865
 
13520
13866
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
13521
- validators: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13522
- queued: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13867
+ validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13868
+ queued: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13523
13869
  sessionIndex: number;
13524
13870
  };
13525
13871
 
@@ -13632,14 +13978,14 @@ export type PolkadotRuntimeParachainsHrmpPalletError =
13632
13978
  **/
13633
13979
  | 'ChannelCreationNotAuthorized';
13634
13980
 
13635
- export type PolkadotPrimitivesV7SessionInfo = {
13636
- activeValidatorIndices: Array<PolkadotPrimitivesV7ValidatorIndex>;
13981
+ export type PolkadotPrimitivesV8SessionInfo = {
13982
+ activeValidatorIndices: Array<PolkadotPrimitivesV8ValidatorIndex>;
13637
13983
  randomSeed: FixedBytes<32>;
13638
13984
  disputePeriod: number;
13639
- validators: PolkadotPrimitivesV7IndexedVec;
13985
+ validators: PolkadotPrimitivesV8IndexedVec;
13640
13986
  discoveryKeys: Array<SpAuthorityDiscoveryAppPublic>;
13641
- assignmentKeys: Array<PolkadotPrimitivesV7AssignmentAppPublic>;
13642
- validatorGroups: PolkadotPrimitivesV7IndexedVecGroupIndex;
13987
+ assignmentKeys: Array<PolkadotPrimitivesV8AssignmentAppPublic>;
13988
+ validatorGroups: PolkadotPrimitivesV8IndexedVecGroupIndex;
13643
13989
  nCores: number;
13644
13990
  zerothDelayTrancheWidth: number;
13645
13991
  relayVrfModuloSamples: number;
@@ -13648,11 +13994,11 @@ export type PolkadotPrimitivesV7SessionInfo = {
13648
13994
  neededApprovals: number;
13649
13995
  };
13650
13996
 
13651
- export type PolkadotPrimitivesV7IndexedVec = Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13997
+ export type PolkadotPrimitivesV8IndexedVec = Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13652
13998
 
13653
- export type PolkadotPrimitivesV7IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV7ValidatorIndex>>;
13999
+ export type PolkadotPrimitivesV8IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV8ValidatorIndex>>;
13654
14000
 
13655
- export type PolkadotPrimitivesV7DisputeState = {
14001
+ export type PolkadotPrimitivesV8DisputeState = {
13656
14002
  validatorsFor: BitSequence;
13657
14003
  validatorsAgainst: BitSequence;
13658
14004
  start: number;
@@ -13700,9 +14046,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
13700
14046
  **/
13701
14047
  | 'UnconfirmedDispute';
13702
14048
 
13703
- export type PolkadotPrimitivesV7SlashingPendingSlashes = {
13704
- keys: Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidatorAppPublic]>;
13705
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
14049
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
14050
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
14051
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
13706
14052
  };
13707
14053
 
13708
14054
  /**
@@ -13735,35 +14081,35 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
13735
14081
  **/
13736
14082
  | 'DuplicateSlashingReport';
13737
14083
 
13738
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount = {
13739
- coreIndex: PolkadotPrimitivesV7CoreIndex;
14084
+ export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
14085
+ coreIndex: PolkadotPrimitivesV8CoreIndex;
13740
14086
  count: number;
13741
14087
  };
13742
14088
 
13743
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType = {
14089
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
13744
14090
  traffic: FixedU128;
13745
- nextIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
13746
- smallestIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
14091
+ nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
14092
+ smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13747
14093
  freedIndices: BinaryHeap;
13748
14094
  };
13749
14095
 
13750
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex = number;
14096
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
13751
14097
 
13752
- export type BinaryHeap = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex>;
14098
+ export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
13753
14099
 
13754
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex = number;
14100
+ export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
13755
14101
 
13756
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>;
14102
+ export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
13757
14103
 
13758
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder = {
14104
+ export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
13759
14105
  paraId: PolkadotParachainPrimitivesPrimitivesId;
13760
- idx: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
14106
+ idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13761
14107
  };
13762
14108
 
13763
14109
  /**
13764
14110
  * The `Error` enum of this pallet.
13765
14111
  **/
13766
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletError =
14112
+ export type PolkadotRuntimeParachainsOnDemandPalletError =
13767
14113
  /**
13768
14114
  * The order queue is full, `place_order` will not continue.
13769
14115
  **/
@@ -14310,9 +14656,21 @@ export type PalletBeefyError =
14310
14656
  **/
14311
14657
  | 'InvalidKeyOwnershipProof'
14312
14658
  /**
14313
- * An equivocation proof provided as part of an equivocation report is invalid.
14659
+ * A double voting proof provided as part of an equivocation report is invalid.
14314
14660
  **/
14315
- | 'InvalidEquivocationProof'
14661
+ | 'InvalidDoubleVotingProof'
14662
+ /**
14663
+ * A fork voting proof provided as part of an equivocation report is invalid.
14664
+ **/
14665
+ | 'InvalidForkVotingProof'
14666
+ /**
14667
+ * A future block voting proof provided as part of an equivocation report is invalid.
14668
+ **/
14669
+ | 'InvalidFutureBlockVotingProof'
14670
+ /**
14671
+ * The session of the equivocation proof is invalid
14672
+ **/
14673
+ | 'InvalidEquivocationProofSession'
14316
14674
  /**
14317
14675
  * A given equivocation report is valid but already previously reported.
14318
14676
  **/
@@ -14399,6 +14757,8 @@ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
14399
14757
 
14400
14758
  export type PaseoRuntimeRuntime = {};
14401
14759
 
14760
+ export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
14761
+
14402
14762
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
14403
14763
 
14404
14764
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
@@ -14441,78 +14801,78 @@ export type SpRuntimeTransactionValidityValidTransaction = {
14441
14801
  propagate: boolean;
14442
14802
  };
14443
14803
 
14444
- export type PolkadotPrimitivesV7GroupRotationInfo = {
14804
+ export type PolkadotPrimitivesV8GroupRotationInfo = {
14445
14805
  sessionStartBlock: number;
14446
14806
  groupRotationFrequency: number;
14447
14807
  now: number;
14448
14808
  };
14449
14809
 
14450
- export type PolkadotPrimitivesV7CoreState =
14451
- | { type: 'Occupied'; value: PolkadotPrimitivesV7OccupiedCore }
14452
- | { type: 'Scheduled'; value: PolkadotPrimitivesV7ScheduledCore }
14810
+ export type PolkadotPrimitivesV8CoreState =
14811
+ | { type: 'Occupied'; value: PolkadotPrimitivesV8OccupiedCore }
14812
+ | { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
14453
14813
  | { type: 'Free' };
14454
14814
 
14455
- export type PolkadotPrimitivesV7OccupiedCore = {
14456
- nextUpOnAvailable?: PolkadotPrimitivesV7ScheduledCore | undefined;
14815
+ export type PolkadotPrimitivesV8OccupiedCore = {
14816
+ nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
14457
14817
  occupiedSince: number;
14458
14818
  timeOutAt: number;
14459
- nextUpOnTimeOut?: PolkadotPrimitivesV7ScheduledCore | undefined;
14819
+ nextUpOnTimeOut?: PolkadotPrimitivesV8ScheduledCore | undefined;
14460
14820
  availability: BitSequence;
14461
- groupResponsible: PolkadotPrimitivesV7GroupIndex;
14821
+ groupResponsible: PolkadotPrimitivesV8GroupIndex;
14462
14822
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14463
- candidateDescriptor: PolkadotPrimitivesV7CandidateDescriptor;
14823
+ candidateDescriptor: PolkadotPrimitivesV8CandidateDescriptor;
14464
14824
  };
14465
14825
 
14466
- export type PolkadotPrimitivesV7ScheduledCore = {
14826
+ export type PolkadotPrimitivesV8ScheduledCore = {
14467
14827
  paraId: PolkadotParachainPrimitivesPrimitivesId;
14468
- collator?: PolkadotPrimitivesV7CollatorAppPublic | undefined;
14828
+ collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
14469
14829
  };
14470
14830
 
14471
- export type PolkadotPrimitivesV7OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14831
+ export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14472
14832
 
14473
- export type PolkadotPrimitivesV7PersistedValidationData = {
14833
+ export type PolkadotPrimitivesV8PersistedValidationData = {
14474
14834
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
14475
14835
  relayParentNumber: number;
14476
14836
  relayParentStorageRoot: H256;
14477
14837
  maxPovSize: number;
14478
14838
  };
14479
14839
 
14480
- export type PolkadotPrimitivesV7CandidateEvent =
14840
+ export type PolkadotPrimitivesV8CandidateEvent =
14481
14841
  | {
14482
14842
  type: 'CandidateBacked';
14483
14843
  value: [
14484
- PolkadotPrimitivesV7CandidateReceipt,
14844
+ PolkadotPrimitivesV8CandidateReceipt,
14485
14845
  PolkadotParachainPrimitivesPrimitivesHeadData,
14486
- PolkadotPrimitivesV7CoreIndex,
14487
- PolkadotPrimitivesV7GroupIndex,
14846
+ PolkadotPrimitivesV8CoreIndex,
14847
+ PolkadotPrimitivesV8GroupIndex,
14488
14848
  ];
14489
14849
  }
14490
14850
  | {
14491
14851
  type: 'CandidateIncluded';
14492
14852
  value: [
14493
- PolkadotPrimitivesV7CandidateReceipt,
14853
+ PolkadotPrimitivesV8CandidateReceipt,
14494
14854
  PolkadotParachainPrimitivesPrimitivesHeadData,
14495
- PolkadotPrimitivesV7CoreIndex,
14496
- PolkadotPrimitivesV7GroupIndex,
14855
+ PolkadotPrimitivesV8CoreIndex,
14856
+ PolkadotPrimitivesV8GroupIndex,
14497
14857
  ];
14498
14858
  }
14499
14859
  | {
14500
14860
  type: 'CandidateTimedOut';
14501
14861
  value: [
14502
- PolkadotPrimitivesV7CandidateReceipt,
14862
+ PolkadotPrimitivesV8CandidateReceipt,
14503
14863
  PolkadotParachainPrimitivesPrimitivesHeadData,
14504
- PolkadotPrimitivesV7CoreIndex,
14864
+ PolkadotPrimitivesV8CoreIndex,
14505
14865
  ];
14506
14866
  };
14507
14867
 
14508
- export type PolkadotPrimitivesV7SlashingOpaqueKeyOwnershipProof = Bytes;
14868
+ export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
14509
14869
 
14510
- export type PolkadotPrimitivesV7AsyncBackingBackingState = {
14511
- constraints: PolkadotPrimitivesV7AsyncBackingConstraints;
14512
- pendingAvailability: Array<PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability>;
14870
+ export type PolkadotPrimitivesV8AsyncBackingBackingState = {
14871
+ constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
14872
+ pendingAvailability: Array<PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability>;
14513
14873
  };
14514
14874
 
14515
- export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14875
+ export type PolkadotPrimitivesV8AsyncBackingConstraints = {
14516
14876
  minRelayParentNumber: number;
14517
14877
  maxPovSize: number;
14518
14878
  maxCodeSize: number;
@@ -14520,28 +14880,28 @@ export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14520
14880
  umpRemainingBytes: number;
14521
14881
  maxUmpNumPerCandidate: number;
14522
14882
  dmpRemainingMessages: Array<number>;
14523
- hrmpInbound: PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations;
14883
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
14524
14884
  hrmpChannelsOut: Array<
14525
- [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations]
14885
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
14526
14886
  >;
14527
14887
  maxHrmpNumPerCandidate: number;
14528
14888
  requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
14529
14889
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
14530
- upgradeRestriction?: PolkadotPrimitivesV7UpgradeRestriction | undefined;
14890
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
14531
14891
  futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
14532
14892
  };
14533
14893
 
14534
- export type PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14894
+ export type PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14535
14895
 
14536
- export type PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations = {
14896
+ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
14537
14897
  bytesRemaining: number;
14538
14898
  messagesRemaining: number;
14539
14899
  };
14540
14900
 
14541
- export type PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability = {
14901
+ export type PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability = {
14542
14902
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14543
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
14544
- commitments: PolkadotPrimitivesV7CandidateCommitments;
14903
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
14904
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
14545
14905
  relayParentNumber: number;
14546
14906
  maxPovSize: number;
14547
14907
  };
@@ -14550,6 +14910,12 @@ export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyE
14550
14910
 
14551
14911
  export type SpRuntimeOpaqueValue = Bytes;
14552
14912
 
14913
+ export type SpConsensusBeefyForkVotingProofOpaqueValue = {
14914
+ vote: SpConsensusBeefyVoteMessage;
14915
+ ancestryProof: SpRuntimeOpaqueValue;
14916
+ header: Header;
14917
+ };
14918
+
14553
14919
  export type SpMmrPrimitivesError =
14554
14920
  | 'InvalidNumericOp'
14555
14921
  | 'Push'
@@ -14649,6 +15015,7 @@ export type PaseoRuntimeRuntimeError =
14649
15015
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
14650
15016
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
14651
15017
  | { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
15018
+ | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
14652
15019
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
14653
15020
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
14654
15021
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
@@ -14656,7 +15023,7 @@ export type PaseoRuntimeRuntimeError =
14656
15023
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
14657
15024
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
14658
15025
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
14659
- | { pallet: 'OnDemand'; palletError: PolkadotRuntimeParachainsAssignerOnDemandPalletError }
15026
+ | { pallet: 'OnDemand'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
14660
15027
  | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
14661
15028
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
14662
15029
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }