@dedot/chaintypes 0.56.0 → 0.58.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/kusama/types.d.ts CHANGED
@@ -17,6 +17,7 @@ import type {
17
17
  AccountId32Like,
18
18
  Percent,
19
19
  Perquintill,
20
+ Permill,
20
21
  EthereumAddress,
21
22
  EthereumAddressLike,
22
23
  PerU16,
@@ -88,11 +89,12 @@ export type StagingKusamaRuntimeRuntimeEvent =
88
89
  | { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
89
90
  | { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
90
91
  | { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
92
+ | { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
91
93
  | { pallet: 'ParaInclusion'; palletEvent: PolkadotRuntimeParachainsInclusionPalletEvent }
92
94
  | { pallet: 'Paras'; palletEvent: PolkadotRuntimeParachainsParasPalletEvent }
93
95
  | { pallet: 'Hrmp'; palletEvent: PolkadotRuntimeParachainsHrmpPalletEvent }
94
96
  | { pallet: 'ParasDisputes'; palletEvent: PolkadotRuntimeParachainsDisputesPalletEvent }
95
- | { pallet: 'OnDemandAssignmentProvider'; palletEvent: PolkadotRuntimeParachainsAssignerOnDemandPalletEvent }
97
+ | { pallet: 'OnDemandAssignmentProvider'; palletEvent: PolkadotRuntimeParachainsOnDemandPalletEvent }
96
98
  | { pallet: 'Registrar'; palletEvent: PolkadotRuntimeCommonParasRegistrarPalletEvent }
97
99
  | { pallet: 'Slots'; palletEvent: PolkadotRuntimeCommonSlotsPalletEvent }
98
100
  | { pallet: 'Auctions'; palletEvent: PolkadotRuntimeCommonAuctionsPalletEvent }
@@ -670,7 +672,22 @@ export type PalletConvictionVotingEvent =
670
672
  /**
671
673
  * An \[account\] has cancelled a previous delegation operation.
672
674
  **/
673
- | { name: 'Undelegated'; data: AccountId32 };
675
+ | { name: 'Undelegated'; data: AccountId32 }
676
+ /**
677
+ * An account that has voted
678
+ **/
679
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
680
+ /**
681
+ * A vote that been removed
682
+ **/
683
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
684
+
685
+ export type PalletConvictionVotingVoteAccountVote =
686
+ | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
687
+ | { type: 'Split'; value: { aye: bigint; nay: bigint } }
688
+ | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
689
+
690
+ export type PalletConvictionVotingVote = number;
674
691
 
675
692
  /**
676
693
  * The `Event` enum of this pallet
@@ -1005,7 +1022,7 @@ export type StagingKusamaRuntimeRuntimeCall =
1005
1022
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCall }
1006
1023
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCall }
1007
1024
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCall }
1008
- | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCall }
1025
+ | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCall }
1009
1026
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCall }
1010
1027
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCall }
1011
1028
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCall }
@@ -1058,7 +1075,7 @@ export type StagingKusamaRuntimeRuntimeCallLike =
1058
1075
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCallLike }
1059
1076
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCallLike }
1060
1077
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCallLike }
1061
- | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike }
1078
+ | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCallLike }
1062
1079
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCallLike }
1063
1080
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCallLike }
1064
1081
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCallLike }
@@ -2668,15 +2685,15 @@ export type PalletSessionCallLike =
2668
2685
  export type StagingKusamaRuntimeSessionKeys = {
2669
2686
  grandpa: SpConsensusGrandpaAppPublic;
2670
2687
  babe: SpConsensusBabeAppPublic;
2671
- paraValidator: PolkadotPrimitivesV7ValidatorAppPublic;
2672
- paraAssignment: PolkadotPrimitivesV7AssignmentAppPublic;
2688
+ paraValidator: PolkadotPrimitivesV8ValidatorAppPublic;
2689
+ paraAssignment: PolkadotPrimitivesV8AssignmentAppPublic;
2673
2690
  authorityDiscovery: SpAuthorityDiscoveryAppPublic;
2674
2691
  beefy: SpConsensusBeefyEcdsaCryptoPublic;
2675
2692
  };
2676
2693
 
2677
- export type PolkadotPrimitivesV7ValidatorAppPublic = FixedBytes<32>;
2694
+ export type PolkadotPrimitivesV8ValidatorAppPublic = FixedBytes<32>;
2678
2695
 
2679
- export type PolkadotPrimitivesV7AssignmentAppPublic = FixedBytes<32>;
2696
+ export type PolkadotPrimitivesV8AssignmentAppPublic = FixedBytes<32>;
2680
2697
 
2681
2698
  export type SpAuthorityDiscoveryAppPublic = FixedBytes<32>;
2682
2699
 
@@ -3339,13 +3356,6 @@ export type PalletConvictionVotingCallLike =
3339
3356
  **/
3340
3357
  | { name: 'RemoveOtherVote'; params: { target: MultiAddressLike; class: number; index: number } };
3341
3358
 
3342
- export type PalletConvictionVotingVoteAccountVote =
3343
- | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
3344
- | { type: 'Split'; value: { aye: bigint; nay: bigint } }
3345
- | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
3346
-
3347
- export type PalletConvictionVotingVote = number;
3348
-
3349
3359
  export type PalletConvictionVotingConviction =
3350
3360
  | 'None'
3351
3361
  | 'Locked1x'
@@ -3808,10 +3818,9 @@ export type PalletParametersCallLike =
3808
3818
  **/
3809
3819
  { name: 'SetParameter'; params: { keyValue: StagingKusamaRuntimeRuntimeParameters } };
3810
3820
 
3811
- export type StagingKusamaRuntimeRuntimeParameters = {
3812
- type: 'Inflation';
3813
- value: StagingKusamaRuntimeDynamicParamsInflationParameters;
3814
- };
3821
+ export type StagingKusamaRuntimeRuntimeParameters =
3822
+ | { type: 'Inflation'; value: StagingKusamaRuntimeDynamicParamsInflationParameters }
3823
+ | { type: 'Treasury'; value: StagingKusamaRuntimeDynamicParamsTreasuryParameters };
3815
3824
 
3816
3825
  export type StagingKusamaRuntimeDynamicParamsInflationParameters =
3817
3826
  | { type: 'MinInflation'; value: [StagingKusamaRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
@@ -3833,6 +3842,22 @@ export type StagingKusamaRuntimeDynamicParamsInflationFalloff = {};
3833
3842
 
3834
3843
  export type StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots = {};
3835
3844
 
3845
+ export type StagingKusamaRuntimeDynamicParamsTreasuryParameters =
3846
+ | { type: 'BurnPortion'; value: [StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, Permill | undefined] }
3847
+ | {
3848
+ type: 'BurnDestination';
3849
+ value: [
3850
+ StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination,
3851
+ StagingKusamaRuntimeBurnDestinationAccount | undefined,
3852
+ ];
3853
+ };
3854
+
3855
+ export type StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion = {};
3856
+
3857
+ export type StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination = {};
3858
+
3859
+ export type StagingKusamaRuntimeBurnDestinationAccount = AccountId32 | undefined;
3860
+
3836
3861
  /**
3837
3862
  * Contains a variant per dispatchable extrinsic that this pallet has.
3838
3863
  **/
@@ -5691,7 +5716,8 @@ export type StagingKusamaRuntimeProxyType =
5691
5716
  | 'Auction'
5692
5717
  | 'Society'
5693
5718
  | 'NominationPools'
5694
- | 'Spokesperson';
5719
+ | 'Spokesperson'
5720
+ | 'ParaRegistration';
5695
5721
 
5696
5722
  /**
5697
5723
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7011,8 +7037,13 @@ export type PalletBagsListCallLike =
7011
7037
  **/
7012
7038
  export type PalletNominationPoolsCall =
7013
7039
  /**
7014
- * Stake funds with a pool. The amount to bond is transferred from the member to the
7015
- * pools account and immediately increases the pools bond.
7040
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7041
+ * account and immediately increases the pools bond.
7042
+ *
7043
+ * The method of transferring the amount to the pool account is determined by
7044
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
7045
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
7046
+ * the `origin`, while the pool gains the right to use these funds for staking.
7016
7047
  *
7017
7048
  * # Note
7018
7049
  *
@@ -7329,8 +7360,10 @@ export type PalletNominationPoolsCall =
7329
7360
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
7330
7361
  * [`adapter::StakeStrategyType::Delegate`].
7331
7362
  *
7332
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
7333
- * slash to be applied, caller may be rewarded with the part of the slash.
7363
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
7364
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
7365
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
7366
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
7334
7367
  **/
7335
7368
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddress } }
7336
7369
  /**
@@ -7360,8 +7393,13 @@ export type PalletNominationPoolsCall =
7360
7393
 
7361
7394
  export type PalletNominationPoolsCallLike =
7362
7395
  /**
7363
- * Stake funds with a pool. The amount to bond is transferred from the member to the
7364
- * pools account and immediately increases the pools bond.
7396
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7397
+ * account and immediately increases the pools bond.
7398
+ *
7399
+ * The method of transferring the amount to the pool account is determined by
7400
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
7401
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
7402
+ * the `origin`, while the pool gains the right to use these funds for staking.
7365
7403
  *
7366
7404
  * # Note
7367
7405
  *
@@ -7687,8 +7725,10 @@ export type PalletNominationPoolsCallLike =
7687
7725
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
7688
7726
  * [`adapter::StakeStrategyType::Delegate`].
7689
7727
  *
7690
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
7691
- * slash to be applied, caller may be rewarded with the part of the slash.
7728
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
7729
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
7730
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
7731
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
7692
7732
  **/
7693
7733
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddressLike } }
7694
7734
  /**
@@ -8050,11 +8090,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
8050
8090
  /**
8051
8091
  * Set the asynchronous backing parameters.
8052
8092
  **/
8053
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
8093
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
8054
8094
  /**
8055
8095
  * Set PVF executor parameters.
8056
8096
  **/
8057
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
8097
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
8058
8098
  /**
8059
8099
  * Set the on demand (parathreads) base fee.
8060
8100
  **/
@@ -8086,11 +8126,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
8086
8126
  /**
8087
8127
  * Set approval-voting-params.
8088
8128
  **/
8089
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
8129
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
8090
8130
  /**
8091
8131
  * Set scheduler-params.
8092
8132
  **/
8093
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
8133
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
8094
8134
 
8095
8135
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
8096
8136
  /**
@@ -8254,11 +8294,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
8254
8294
  /**
8255
8295
  * Set the asynchronous backing parameters.
8256
8296
  **/
8257
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
8297
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
8258
8298
  /**
8259
8299
  * Set PVF executor parameters.
8260
8300
  **/
8261
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
8301
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
8262
8302
  /**
8263
8303
  * Set the on demand (parathreads) base fee.
8264
8304
  **/
@@ -8290,35 +8330,35 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
8290
8330
  /**
8291
8331
  * Set approval-voting-params.
8292
8332
  **/
8293
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
8333
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
8294
8334
  /**
8295
8335
  * Set scheduler-params.
8296
8336
  **/
8297
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
8337
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
8298
8338
 
8299
- export type PolkadotPrimitivesV7AsyncBackingAsyncBackingParams = {
8339
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
8300
8340
  maxCandidateDepth: number;
8301
8341
  allowedAncestryLen: number;
8302
8342
  };
8303
8343
 
8304
- export type PolkadotPrimitivesV7ExecutorParams = Array<PolkadotPrimitivesV7ExecutorParamsExecutorParam>;
8344
+ export type PolkadotPrimitivesV8ExecutorParams = Array<PolkadotPrimitivesV8ExecutorParamsExecutorParam>;
8305
8345
 
8306
- export type PolkadotPrimitivesV7ExecutorParamsExecutorParam =
8346
+ export type PolkadotPrimitivesV8ExecutorParamsExecutorParam =
8307
8347
  | { type: 'MaxMemoryPages'; value: number }
8308
8348
  | { type: 'StackLogicalMax'; value: number }
8309
8349
  | { type: 'StackNativeMax'; value: number }
8310
8350
  | { type: 'PrecheckingMaxMemory'; value: bigint }
8311
- | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV7PvfPrepKind, bigint] }
8312
- | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV7PvfExecKind, bigint] }
8351
+ | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV8PvfPrepKind, bigint] }
8352
+ | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV8PvfExecKind, bigint] }
8313
8353
  | { type: 'WasmExtBulkMemory' };
8314
8354
 
8315
- export type PolkadotPrimitivesV7PvfPrepKind = 'Precheck' | 'Prepare';
8355
+ export type PolkadotPrimitivesV8PvfPrepKind = 'Precheck' | 'Prepare';
8316
8356
 
8317
- export type PolkadotPrimitivesV7PvfExecKind = 'Backing' | 'Approval';
8357
+ export type PolkadotPrimitivesV8PvfExecKind = 'Backing' | 'Approval';
8318
8358
 
8319
- export type PolkadotPrimitivesV7ApprovalVotingParams = { maxApprovalCoalesceCount: number };
8359
+ export type PolkadotPrimitivesV8ApprovalVotingParams = { maxApprovalCoalesceCount: number };
8320
8360
 
8321
- export type PolkadotPrimitivesVstagingSchedulerParams = {
8361
+ export type PolkadotPrimitivesV8SchedulerParams = {
8322
8362
  groupRotationFrequency: number;
8323
8363
  parasAvailabilityPeriod: number;
8324
8364
  maxValidatorsPerCore?: number | undefined;
@@ -8353,65 +8393,65 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
8353
8393
  /**
8354
8394
  * Enter the paras inherent. This will process bitfields and backed candidates.
8355
8395
  **/
8356
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
8396
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
8357
8397
 
8358
8398
  export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
8359
8399
  /**
8360
8400
  * Enter the paras inherent. This will process bitfields and backed candidates.
8361
8401
  **/
8362
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
8402
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
8363
8403
 
8364
- export type PolkadotPrimitivesV7InherentData = {
8365
- bitfields: Array<PolkadotPrimitivesV7SignedUncheckedSigned>;
8366
- backedCandidates: Array<PolkadotPrimitivesV7BackedCandidate>;
8367
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
8404
+ export type PolkadotPrimitivesV8InherentData = {
8405
+ bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
8406
+ backedCandidates: Array<PolkadotPrimitivesV8BackedCandidate>;
8407
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
8368
8408
  parentHeader: Header;
8369
8409
  };
8370
8410
 
8371
- export type PolkadotPrimitivesV7SignedUncheckedSigned = {
8372
- payload: PolkadotPrimitivesV7AvailabilityBitfield;
8373
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8374
- signature: PolkadotPrimitivesV7ValidatorAppSignature;
8411
+ export type PolkadotPrimitivesV8SignedUncheckedSigned = {
8412
+ payload: PolkadotPrimitivesV8AvailabilityBitfield;
8413
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8414
+ signature: PolkadotPrimitivesV8ValidatorAppSignature;
8375
8415
  };
8376
8416
 
8377
- export type PolkadotPrimitivesV7AvailabilityBitfield = BitSequence;
8417
+ export type PolkadotPrimitivesV8AvailabilityBitfield = BitSequence;
8378
8418
 
8379
8419
  export type BitvecOrderLsb0 = {};
8380
8420
 
8381
- export type PolkadotPrimitivesV7ValidatorIndex = number;
8421
+ export type PolkadotPrimitivesV8ValidatorIndex = number;
8382
8422
 
8383
- export type PolkadotPrimitivesV7ValidatorAppSignature = FixedBytes<64>;
8423
+ export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
8384
8424
 
8385
- export type PolkadotPrimitivesV7BackedCandidate = {
8386
- candidate: PolkadotPrimitivesV7CommittedCandidateReceipt;
8387
- validityVotes: Array<PolkadotPrimitivesV7ValidityAttestation>;
8425
+ export type PolkadotPrimitivesV8BackedCandidate = {
8426
+ candidate: PolkadotPrimitivesV8CommittedCandidateReceipt;
8427
+ validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
8388
8428
  validatorIndices: BitSequence;
8389
8429
  };
8390
8430
 
8391
- export type PolkadotPrimitivesV7CommittedCandidateReceipt = {
8392
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
8393
- commitments: PolkadotPrimitivesV7CandidateCommitments;
8431
+ export type PolkadotPrimitivesV8CommittedCandidateReceipt = {
8432
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
8433
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
8394
8434
  };
8395
8435
 
8396
- export type PolkadotPrimitivesV7CandidateDescriptor = {
8436
+ export type PolkadotPrimitivesV8CandidateDescriptor = {
8397
8437
  paraId: PolkadotParachainPrimitivesPrimitivesId;
8398
8438
  relayParent: H256;
8399
- collator: PolkadotPrimitivesV7CollatorAppPublic;
8439
+ collator: PolkadotPrimitivesV8CollatorAppPublic;
8400
8440
  persistedValidationDataHash: H256;
8401
8441
  povHash: H256;
8402
8442
  erasureRoot: H256;
8403
- signature: PolkadotPrimitivesV7CollatorAppSignature;
8443
+ signature: PolkadotPrimitivesV8CollatorAppSignature;
8404
8444
  paraHead: H256;
8405
8445
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8406
8446
  };
8407
8447
 
8408
- export type PolkadotPrimitivesV7CollatorAppPublic = FixedBytes<32>;
8448
+ export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
8409
8449
 
8410
- export type PolkadotPrimitivesV7CollatorAppSignature = FixedBytes<64>;
8450
+ export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
8411
8451
 
8412
8452
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
8413
8453
 
8414
- export type PolkadotPrimitivesV7CandidateCommitments = {
8454
+ export type PolkadotPrimitivesV8CandidateCommitments = {
8415
8455
  upwardMessages: Array<Bytes>;
8416
8456
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;
8417
8457
  newValidationCode?: PolkadotParachainPrimitivesPrimitivesValidationCode | undefined;
@@ -8429,36 +8469,36 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
8429
8469
 
8430
8470
  export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
8431
8471
 
8432
- export type PolkadotPrimitivesV7ValidityAttestation =
8433
- | { type: 'Implicit'; value: PolkadotPrimitivesV7ValidatorAppSignature }
8434
- | { type: 'Explicit'; value: PolkadotPrimitivesV7ValidatorAppSignature };
8472
+ export type PolkadotPrimitivesV8ValidityAttestation =
8473
+ | { type: 'Implicit'; value: PolkadotPrimitivesV8ValidatorAppSignature }
8474
+ | { type: 'Explicit'; value: PolkadotPrimitivesV8ValidatorAppSignature };
8435
8475
 
8436
- export type PolkadotPrimitivesV7DisputeStatementSet = {
8476
+ export type PolkadotPrimitivesV8DisputeStatementSet = {
8437
8477
  candidateHash: PolkadotCorePrimitivesCandidateHash;
8438
8478
  session: number;
8439
8479
  statements: Array<
8440
8480
  [
8441
- PolkadotPrimitivesV7DisputeStatement,
8442
- PolkadotPrimitivesV7ValidatorIndex,
8443
- PolkadotPrimitivesV7ValidatorAppSignature,
8481
+ PolkadotPrimitivesV8DisputeStatement,
8482
+ PolkadotPrimitivesV8ValidatorIndex,
8483
+ PolkadotPrimitivesV8ValidatorAppSignature,
8444
8484
  ]
8445
8485
  >;
8446
8486
  };
8447
8487
 
8448
8488
  export type PolkadotCorePrimitivesCandidateHash = H256;
8449
8489
 
8450
- export type PolkadotPrimitivesV7DisputeStatement =
8451
- | { type: 'Valid'; value: PolkadotPrimitivesV7ValidDisputeStatementKind }
8452
- | { type: 'Invalid'; value: PolkadotPrimitivesV7InvalidDisputeStatementKind };
8490
+ export type PolkadotPrimitivesV8DisputeStatement =
8491
+ | { type: 'Valid'; value: PolkadotPrimitivesV8ValidDisputeStatementKind }
8492
+ | { type: 'Invalid'; value: PolkadotPrimitivesV8InvalidDisputeStatementKind };
8453
8493
 
8454
- export type PolkadotPrimitivesV7ValidDisputeStatementKind =
8494
+ export type PolkadotPrimitivesV8ValidDisputeStatementKind =
8455
8495
  | { type: 'Explicit' }
8456
8496
  | { type: 'BackingSeconded'; value: H256 }
8457
8497
  | { type: 'BackingValid'; value: H256 }
8458
8498
  | { type: 'ApprovalChecking' }
8459
8499
  | { type: 'ApprovalCheckingMultipleCandidates'; value: Array<PolkadotCorePrimitivesCandidateHash> };
8460
8500
 
8461
- export type PolkadotPrimitivesV7InvalidDisputeStatementKind = 'Explicit';
8501
+ export type PolkadotPrimitivesV8InvalidDisputeStatementKind = 'Explicit';
8462
8502
 
8463
8503
  /**
8464
8504
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -8542,7 +8582,7 @@ export type PolkadotRuntimeParachainsParasPalletCall =
8542
8582
  **/
8543
8583
  | {
8544
8584
  name: 'IncludePvfCheckStatement';
8545
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
8585
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
8546
8586
  }
8547
8587
  /**
8548
8588
  * Set the storage for the current parachain head data immediately.
@@ -8628,18 +8668,18 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
8628
8668
  **/
8629
8669
  | {
8630
8670
  name: 'IncludePvfCheckStatement';
8631
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
8671
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
8632
8672
  }
8633
8673
  /**
8634
8674
  * Set the storage for the current parachain head data immediately.
8635
8675
  **/
8636
8676
  | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
8637
8677
 
8638
- export type PolkadotPrimitivesV7PvfCheckStatement = {
8678
+ export type PolkadotPrimitivesV8PvfCheckStatement = {
8639
8679
  accept: boolean;
8640
8680
  subject: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8641
8681
  sessionIndex: number;
8642
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8682
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8643
8683
  };
8644
8684
 
8645
8685
  /**
@@ -8973,32 +9013,32 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
8973
9013
  **/
8974
9014
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
8975
9015
  name: 'ReportDisputeLostUnsigned';
8976
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9016
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8977
9017
  };
8978
9018
 
8979
9019
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
8980
9020
  name: 'ReportDisputeLostUnsigned';
8981
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9021
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8982
9022
  };
8983
9023
 
8984
- export type PolkadotPrimitivesV7SlashingDisputeProof = {
8985
- timeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
8986
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
8987
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8988
- validatorId: PolkadotPrimitivesV7ValidatorAppPublic;
9024
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
9025
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
9026
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
9027
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
9028
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
8989
9029
  };
8990
9030
 
8991
- export type PolkadotPrimitivesV7SlashingDisputesTimeSlot = {
9031
+ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
8992
9032
  sessionIndex: number;
8993
9033
  candidateHash: PolkadotCorePrimitivesCandidateHash;
8994
9034
  };
8995
9035
 
8996
- export type PolkadotPrimitivesV7SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
9036
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8997
9037
 
8998
9038
  /**
8999
9039
  * Contains a variant per dispatchable extrinsic that this pallet has.
9000
9040
  **/
9001
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
9041
+ export type PolkadotRuntimeParachainsOnDemandPalletCall =
9002
9042
  /**
9003
9043
  * Create a single on demand core order.
9004
9044
  * Will use the spot price for the current block and will reap the account if needed.
@@ -9036,7 +9076,7 @@ export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
9036
9076
  **/
9037
9077
  | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
9038
9078
 
9039
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike =
9079
+ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
9040
9080
  /**
9041
9081
  * Create a single on demand core order.
9042
9082
  * Will use the spot price for the current block and will reap the account if needed.
@@ -11100,7 +11140,7 @@ export type PalletBeefyCall =
11100
11140
  * will be reported.
11101
11141
  **/
11102
11142
  | {
11103
- name: 'ReportEquivocation';
11143
+ name: 'ReportDoubleVoting';
11104
11144
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
11105
11145
  }
11106
11146
  /**
@@ -11115,7 +11155,7 @@ export type PalletBeefyCall =
11115
11155
  * reporter.
11116
11156
  **/
11117
11157
  | {
11118
- name: 'ReportEquivocationUnsigned';
11158
+ name: 'ReportDoubleVotingUnsigned';
11119
11159
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
11120
11160
  }
11121
11161
  /**
@@ -11124,7 +11164,53 @@ export type PalletBeefyCall =
11124
11164
  *
11125
11165
  * Note: `delay_in_blocks` has to be at least 1.
11126
11166
  **/
11127
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
11167
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
11168
+ /**
11169
+ * Report fork voting equivocation. This method will verify the equivocation proof
11170
+ * and validate the given key ownership proof against the extracted offender.
11171
+ * If both are valid, the offence will be reported.
11172
+ **/
11173
+ | {
11174
+ name: 'ReportForkVoting';
11175
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
11176
+ }
11177
+ /**
11178
+ * Report fork voting equivocation. This method will verify the equivocation proof
11179
+ * and validate the given key ownership proof against the extracted offender.
11180
+ * If both are valid, the offence will be reported.
11181
+ *
11182
+ * This extrinsic must be called unsigned and it is expected that only
11183
+ * block authors will call it (validated in `ValidateUnsigned`), as such
11184
+ * if the block author is defined it will be defined as the equivocation
11185
+ * reporter.
11186
+ **/
11187
+ | {
11188
+ name: 'ReportForkVotingUnsigned';
11189
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
11190
+ }
11191
+ /**
11192
+ * Report future block voting equivocation. This method will verify the equivocation proof
11193
+ * and validate the given key ownership proof against the extracted offender.
11194
+ * If both are valid, the offence will be reported.
11195
+ **/
11196
+ | {
11197
+ name: 'ReportFutureBlockVoting';
11198
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
11199
+ }
11200
+ /**
11201
+ * Report future block voting equivocation. This method will verify the equivocation proof
11202
+ * and validate the given key ownership proof against the extracted offender.
11203
+ * If both are valid, the offence will be reported.
11204
+ *
11205
+ * This extrinsic must be called unsigned and it is expected that only
11206
+ * block authors will call it (validated in `ValidateUnsigned`), as such
11207
+ * if the block author is defined it will be defined as the equivocation
11208
+ * reporter.
11209
+ **/
11210
+ | {
11211
+ name: 'ReportFutureBlockVotingUnsigned';
11212
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
11213
+ };
11128
11214
 
11129
11215
  export type PalletBeefyCallLike =
11130
11216
  /**
@@ -11134,7 +11220,7 @@ export type PalletBeefyCallLike =
11134
11220
  * will be reported.
11135
11221
  **/
11136
11222
  | {
11137
- name: 'ReportEquivocation';
11223
+ name: 'ReportDoubleVoting';
11138
11224
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
11139
11225
  }
11140
11226
  /**
@@ -11149,7 +11235,7 @@ export type PalletBeefyCallLike =
11149
11235
  * reporter.
11150
11236
  **/
11151
11237
  | {
11152
- name: 'ReportEquivocationUnsigned';
11238
+ name: 'ReportDoubleVotingUnsigned';
11153
11239
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
11154
11240
  }
11155
11241
  /**
@@ -11158,7 +11244,53 @@ export type PalletBeefyCallLike =
11158
11244
  *
11159
11245
  * Note: `delay_in_blocks` has to be at least 1.
11160
11246
  **/
11161
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
11247
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
11248
+ /**
11249
+ * Report fork voting equivocation. This method will verify the equivocation proof
11250
+ * and validate the given key ownership proof against the extracted offender.
11251
+ * If both are valid, the offence will be reported.
11252
+ **/
11253
+ | {
11254
+ name: 'ReportForkVoting';
11255
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
11256
+ }
11257
+ /**
11258
+ * Report fork voting equivocation. This method will verify the equivocation proof
11259
+ * and validate the given key ownership proof against the extracted offender.
11260
+ * If both are valid, the offence will be reported.
11261
+ *
11262
+ * This extrinsic must be called unsigned and it is expected that only
11263
+ * block authors will call it (validated in `ValidateUnsigned`), as such
11264
+ * if the block author is defined it will be defined as the equivocation
11265
+ * reporter.
11266
+ **/
11267
+ | {
11268
+ name: 'ReportForkVotingUnsigned';
11269
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
11270
+ }
11271
+ /**
11272
+ * Report future block voting equivocation. This method will verify the equivocation proof
11273
+ * and validate the given key ownership proof against the extracted offender.
11274
+ * If both are valid, the offence will be reported.
11275
+ **/
11276
+ | {
11277
+ name: 'ReportFutureBlockVoting';
11278
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
11279
+ }
11280
+ /**
11281
+ * Report future block voting equivocation. This method will verify the equivocation proof
11282
+ * and validate the given key ownership proof against the extracted offender.
11283
+ * If both are valid, the offence will be reported.
11284
+ *
11285
+ * This extrinsic must be called unsigned and it is expected that only
11286
+ * block authors will call it (validated in `ValidateUnsigned`), as such
11287
+ * if the block author is defined it will be defined as the equivocation
11288
+ * reporter.
11289
+ **/
11290
+ | {
11291
+ name: 'ReportFutureBlockVotingUnsigned';
11292
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
11293
+ };
11162
11294
 
11163
11295
  export type SpConsensusBeefyDoubleVotingProof = {
11164
11296
  first: SpConsensusBeefyVoteMessage;
@@ -11181,6 +11313,21 @@ export type SpConsensusBeefyCommitment = {
11181
11313
 
11182
11314
  export type SpConsensusBeefyPayload = Array<[FixedBytes<2>, Bytes]>;
11183
11315
 
11316
+ export type SpConsensusBeefyForkVotingProof = {
11317
+ vote: SpConsensusBeefyVoteMessage;
11318
+ ancestryProof: SpMmrPrimitivesAncestryProof;
11319
+ header: Header;
11320
+ };
11321
+
11322
+ export type SpMmrPrimitivesAncestryProof = {
11323
+ prevPeaks: Array<H256>;
11324
+ prevLeafCount: bigint;
11325
+ leafCount: bigint;
11326
+ items: Array<[bigint, H256]>;
11327
+ };
11328
+
11329
+ export type SpConsensusBeefyFutureBlockVotingProof = { vote: SpConsensusBeefyVoteMessage };
11330
+
11184
11331
  export type SpRuntimeBlakeTwo256 = {};
11185
11332
 
11186
11333
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -11562,10 +11709,9 @@ export type PalletParametersEvent =
11562
11709
  };
11563
11710
  };
11564
11711
 
11565
- export type StagingKusamaRuntimeRuntimeParametersKey = {
11566
- type: 'Inflation';
11567
- value: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
11568
- };
11712
+ export type StagingKusamaRuntimeRuntimeParametersKey =
11713
+ | { type: 'Inflation'; value: StagingKusamaRuntimeDynamicParamsInflationParametersKey }
11714
+ | { type: 'Treasury'; value: StagingKusamaRuntimeDynamicParamsTreasuryParametersKey };
11569
11715
 
11570
11716
  export type StagingKusamaRuntimeDynamicParamsInflationParametersKey =
11571
11717
  | { type: 'MinInflation'; value: StagingKusamaRuntimeDynamicParamsInflationMinInflation }
@@ -11574,10 +11720,13 @@ export type StagingKusamaRuntimeDynamicParamsInflationParametersKey =
11574
11720
  | { type: 'Falloff'; value: StagingKusamaRuntimeDynamicParamsInflationFalloff }
11575
11721
  | { type: 'UseAuctionSlots'; value: StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots };
11576
11722
 
11577
- export type StagingKusamaRuntimeRuntimeParametersValue = {
11578
- type: 'Inflation';
11579
- value: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
11580
- };
11723
+ export type StagingKusamaRuntimeDynamicParamsTreasuryParametersKey =
11724
+ | { type: 'BurnPortion'; value: StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion }
11725
+ | { type: 'BurnDestination'; value: StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination };
11726
+
11727
+ export type StagingKusamaRuntimeRuntimeParametersValue =
11728
+ | { type: 'Inflation'; value: StagingKusamaRuntimeDynamicParamsInflationParametersValue }
11729
+ | { type: 'Treasury'; value: StagingKusamaRuntimeDynamicParamsTreasuryParametersValue };
11581
11730
 
11582
11731
  export type StagingKusamaRuntimeDynamicParamsInflationParametersValue =
11583
11732
  | { type: 'MinInflation'; value: Perquintill }
@@ -11586,6 +11735,10 @@ export type StagingKusamaRuntimeDynamicParamsInflationParametersValue =
11586
11735
  | { type: 'Falloff'; value: Perquintill }
11587
11736
  | { type: 'UseAuctionSlots'; value: boolean };
11588
11737
 
11738
+ export type StagingKusamaRuntimeDynamicParamsTreasuryParametersValue =
11739
+ | { type: 'BurnPortion'; value: Permill }
11740
+ | { type: 'BurnDestination'; value: StagingKusamaRuntimeBurnDestinationAccount };
11741
+
11589
11742
  /**
11590
11743
  * The `Event` enum of this pallet
11591
11744
  **/
@@ -12188,8 +12341,10 @@ export type PalletNominationPoolsEvent =
12188
12341
  * A member has been removed from a pool.
12189
12342
  *
12190
12343
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
12344
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
12345
+ * represented by `released_balance`.
12191
12346
  **/
12192
- | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
12347
+ | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32; releasedBalance: bigint } }
12193
12348
  /**
12194
12349
  * The roles of a pool have been updated to the given new roles. Note that the depositor
12195
12350
  * can never change.
@@ -12269,6 +12424,27 @@ export type PalletFastUnstakeEvent =
12269
12424
  **/
12270
12425
  | { name: 'InternalError' };
12271
12426
 
12427
+ /**
12428
+ * The `Event` enum of this pallet
12429
+ **/
12430
+ export type PalletDelegatedStakingEvent =
12431
+ /**
12432
+ * Funds delegated by a delegator.
12433
+ **/
12434
+ | { name: 'Delegated'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
12435
+ /**
12436
+ * Funds released to a delegator.
12437
+ **/
12438
+ | { name: 'Released'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
12439
+ /**
12440
+ * Funds slashed from a delegator.
12441
+ **/
12442
+ | { name: 'Slashed'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
12443
+ /**
12444
+ * Unclaimed delegation funds migrated to delegator.
12445
+ **/
12446
+ | { name: 'MigratedDelegation'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } };
12447
+
12272
12448
  /**
12273
12449
  * The `Event` enum of this pallet
12274
12450
  **/
@@ -12279,10 +12455,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
12279
12455
  | {
12280
12456
  name: 'CandidateBacked';
12281
12457
  data: [
12282
- PolkadotPrimitivesV7CandidateReceipt,
12458
+ PolkadotPrimitivesV8CandidateReceipt,
12283
12459
  PolkadotParachainPrimitivesPrimitivesHeadData,
12284
- PolkadotPrimitivesV7CoreIndex,
12285
- PolkadotPrimitivesV7GroupIndex,
12460
+ PolkadotPrimitivesV8CoreIndex,
12461
+ PolkadotPrimitivesV8GroupIndex,
12286
12462
  ];
12287
12463
  }
12288
12464
  /**
@@ -12291,10 +12467,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
12291
12467
  | {
12292
12468
  name: 'CandidateIncluded';
12293
12469
  data: [
12294
- PolkadotPrimitivesV7CandidateReceipt,
12470
+ PolkadotPrimitivesV8CandidateReceipt,
12295
12471
  PolkadotParachainPrimitivesPrimitivesHeadData,
12296
- PolkadotPrimitivesV7CoreIndex,
12297
- PolkadotPrimitivesV7GroupIndex,
12472
+ PolkadotPrimitivesV8CoreIndex,
12473
+ PolkadotPrimitivesV8GroupIndex,
12298
12474
  ];
12299
12475
  }
12300
12476
  /**
@@ -12303,9 +12479,9 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
12303
12479
  | {
12304
12480
  name: 'CandidateTimedOut';
12305
12481
  data: [
12306
- PolkadotPrimitivesV7CandidateReceipt,
12482
+ PolkadotPrimitivesV8CandidateReceipt,
12307
12483
  PolkadotParachainPrimitivesPrimitivesHeadData,
12308
- PolkadotPrimitivesV7CoreIndex,
12484
+ PolkadotPrimitivesV8CoreIndex,
12309
12485
  ];
12310
12486
  }
12311
12487
  /**
@@ -12313,14 +12489,14 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
12313
12489
  **/
12314
12490
  | { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
12315
12491
 
12316
- export type PolkadotPrimitivesV7CandidateReceipt = {
12317
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
12492
+ export type PolkadotPrimitivesV8CandidateReceipt = {
12493
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
12318
12494
  commitmentsHash: H256;
12319
12495
  };
12320
12496
 
12321
- export type PolkadotPrimitivesV7CoreIndex = number;
12497
+ export type PolkadotPrimitivesV8CoreIndex = number;
12322
12498
 
12323
- export type PolkadotPrimitivesV7GroupIndex = number;
12499
+ export type PolkadotPrimitivesV8GroupIndex = number;
12324
12500
 
12325
12501
  /**
12326
12502
  * The `Event` enum of this pallet
@@ -12480,7 +12656,7 @@ export type PolkadotRuntimeParachainsDisputesDisputeResult = 'Valid' | 'Invalid'
12480
12656
  /**
12481
12657
  * The `Event` enum of this pallet
12482
12658
  **/
12483
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletEvent =
12659
+ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
12484
12660
  /**
12485
12661
  * An order was placed at some spot price amount by orderer ordered_by
12486
12662
  **/
@@ -12642,7 +12818,7 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
12642
12818
  /**
12643
12819
  * A core has received a new assignment from the broker chain.
12644
12820
  **/
12645
- | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV7CoreIndex } };
12821
+ | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
12646
12822
 
12647
12823
  /**
12648
12824
  * The `Event` enum of this pallet
@@ -13108,12 +13284,15 @@ export type FrameSupportTokensMiscIdAmount = { id: StagingKusamaRuntimeRuntimeHo
13108
13284
 
13109
13285
  export type StagingKusamaRuntimeRuntimeHoldReason =
13110
13286
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
13111
- | { type: 'Nis'; value: PalletNisHoldReason };
13287
+ | { type: 'Nis'; value: PalletNisHoldReason }
13288
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason };
13112
13289
 
13113
13290
  export type PalletPreimageHoldReason = 'Preimage';
13114
13291
 
13115
13292
  export type PalletNisHoldReason = 'NftReceipt';
13116
13293
 
13294
+ export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
13295
+
13117
13296
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
13118
13297
  id: StagingKusamaRuntimeRuntimeFreezeReason;
13119
13298
  amount: bigint;
@@ -14289,11 +14468,7 @@ export type PalletPreimageError =
14289
14468
  /**
14290
14469
  * Too few hashes were requested to be upgraded (i.e. zero).
14291
14470
  **/
14292
- | 'TooFew'
14293
- /**
14294
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
14295
- **/
14296
- | 'NoCost';
14471
+ | 'TooFew';
14297
14472
 
14298
14473
  export type PalletBountiesBounty = {
14299
14474
  proposer: AccountId32;
@@ -14770,6 +14945,10 @@ export type PalletNominationPoolsError =
14770
14945
  * No slash pending that can be applied to the member.
14771
14946
  **/
14772
14947
  | { name: 'NothingToSlash' }
14948
+ /**
14949
+ * The slash amount is too low to be applied.
14950
+ **/
14951
+ | { name: 'SlashTooLow' }
14773
14952
  /**
14774
14953
  * The pool or member delegation has already migrated to delegate stake.
14775
14954
  **/
@@ -14825,6 +15004,72 @@ export type PalletFastUnstakeError =
14825
15004
  **/
14826
15005
  | 'CallNotAllowed';
14827
15006
 
15007
+ export type PalletDelegatedStakingDelegation = { agent: AccountId32; amount: bigint };
15008
+
15009
+ export type PalletDelegatedStakingAgentLedger = {
15010
+ payee: AccountId32;
15011
+ totalDelegated: bigint;
15012
+ unclaimedWithdrawals: bigint;
15013
+ pendingSlash: bigint;
15014
+ };
15015
+
15016
+ /**
15017
+ * The `Error` enum of this pallet.
15018
+ **/
15019
+ export type PalletDelegatedStakingError =
15020
+ /**
15021
+ * The account cannot perform this operation.
15022
+ **/
15023
+ | 'NotAllowed'
15024
+ /**
15025
+ * An existing staker cannot perform this action.
15026
+ **/
15027
+ | 'AlreadyStaking'
15028
+ /**
15029
+ * Reward Destination cannot be same as `Agent` account.
15030
+ **/
15031
+ | 'InvalidRewardDestination'
15032
+ /**
15033
+ * Delegation conditions are not met.
15034
+ *
15035
+ * Possible issues are
15036
+ * 1) Cannot delegate to self,
15037
+ * 2) Cannot delegate to multiple delegates.
15038
+ **/
15039
+ | 'InvalidDelegation'
15040
+ /**
15041
+ * The account does not have enough funds to perform the operation.
15042
+ **/
15043
+ | 'NotEnoughFunds'
15044
+ /**
15045
+ * Not an existing `Agent` account.
15046
+ **/
15047
+ | 'NotAgent'
15048
+ /**
15049
+ * Not a Delegator account.
15050
+ **/
15051
+ | 'NotDelegator'
15052
+ /**
15053
+ * Some corruption in internal state.
15054
+ **/
15055
+ | 'BadState'
15056
+ /**
15057
+ * Unapplied pending slash restricts operation on `Agent`.
15058
+ **/
15059
+ | 'UnappliedSlash'
15060
+ /**
15061
+ * `Agent` has no pending slash to be applied.
15062
+ **/
15063
+ | 'NothingToSlash'
15064
+ /**
15065
+ * Failed to withdraw amount from Core Staking.
15066
+ **/
15067
+ | 'WithdrawFailed'
15068
+ /**
15069
+ * Operation not supported by this pallet.
15070
+ **/
15071
+ | 'NotSupported';
15072
+
14828
15073
  export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
14829
15074
  maxCodeSize: number;
14830
15075
  maxHeadDataSize: number;
@@ -14835,7 +15080,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
14835
15080
  hrmpMaxMessageNumPerCandidate: number;
14836
15081
  validationUpgradeCooldown: number;
14837
15082
  validationUpgradeDelay: number;
14838
- asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
15083
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
14839
15084
  maxPovSize: number;
14840
15085
  maxDownwardMessageSize: number;
14841
15086
  hrmpMaxParachainOutboundChannels: number;
@@ -14845,7 +15090,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
14845
15090
  hrmpChannelMaxTotalSize: number;
14846
15091
  hrmpMaxParachainInboundChannels: number;
14847
15092
  hrmpChannelMaxMessageSize: number;
14848
- executorParams: PolkadotPrimitivesV7ExecutorParams;
15093
+ executorParams: PolkadotPrimitivesV8ExecutorParams;
14849
15094
  codeRetentionPeriod: number;
14850
15095
  maxValidators?: number | undefined;
14851
15096
  disputePeriod: number;
@@ -14859,8 +15104,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
14859
15104
  minimumValidationUpgradeDelay: number;
14860
15105
  minimumBackingVotes: number;
14861
15106
  nodeFeatures: BitSequence;
14862
- approvalVotingParams: PolkadotPrimitivesV7ApprovalVotingParams;
14863
- schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
15107
+ approvalVotingParams: PolkadotPrimitivesV8ApprovalVotingParams;
15108
+ schedulerParams: PolkadotPrimitivesV8SchedulerParams;
14864
15109
  };
14865
15110
 
14866
15111
  /**
@@ -14878,15 +15123,15 @@ export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
14878
15123
  };
14879
15124
 
14880
15125
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
14881
- core: PolkadotPrimitivesV7CoreIndex;
15126
+ core: PolkadotPrimitivesV8CoreIndex;
14882
15127
  hash: PolkadotCorePrimitivesCandidateHash;
14883
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
14884
- commitments: PolkadotPrimitivesV7CandidateCommitments;
15128
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
15129
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
14885
15130
  availabilityVotes: BitSequence;
14886
15131
  backers: BitSequence;
14887
15132
  relayParentNumber: number;
14888
15133
  backedInNumber: number;
14889
- backingGroup: PolkadotPrimitivesV7GroupIndex;
15134
+ backingGroup: PolkadotPrimitivesV8GroupIndex;
14890
15135
  };
14891
15136
 
14892
15137
  /**
@@ -14935,10 +15180,6 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
14935
15180
  * Invalid (bad signature, unknown validator, etc.) backing.
14936
15181
  **/
14937
15182
  | 'InvalidBacking'
14938
- /**
14939
- * Collator did not sign PoV.
14940
- **/
14941
- | 'NotCollatorSigned'
14942
15183
  /**
14943
15184
  * The validation data hash does not match expected.
14944
15185
  **/
@@ -14969,15 +15210,15 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
14969
15210
  **/
14970
15211
  | 'ParaHeadMismatch';
14971
15212
 
14972
- export type PolkadotPrimitivesV7ScrapedOnChainVotes = {
15213
+ export type PolkadotPrimitivesV8ScrapedOnChainVotes = {
14973
15214
  session: number;
14974
15215
  backingValidatorsPerCandidate: Array<
14975
15216
  [
14976
- PolkadotPrimitivesV7CandidateReceipt,
14977
- Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidityAttestation]>,
15217
+ PolkadotPrimitivesV8CandidateReceipt,
15218
+ Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
14978
15219
  ]
14979
15220
  >;
14980
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
15221
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
14981
15222
  };
14982
15223
 
14983
15224
  /**
@@ -15020,7 +15261,7 @@ export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
15020
15261
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
15021
15262
  | {
15022
15263
  type: 'Pool';
15023
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV7CoreIndex };
15264
+ value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV8CoreIndex };
15024
15265
  }
15025
15266
  | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
15026
15267
 
@@ -15061,9 +15302,9 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
15061
15302
 
15062
15303
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
15063
15304
 
15064
- export type PolkadotPrimitivesV7UpgradeGoAhead = 'Abort' | 'GoAhead';
15305
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
15065
15306
 
15066
- export type PolkadotPrimitivesV7UpgradeRestriction = 'Present';
15307
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
15067
15308
 
15068
15309
  export type PolkadotRuntimeParachainsParasParaGenesisArgs = {
15069
15310
  genesisHead: PolkadotParachainPrimitivesPrimitivesHeadData;
@@ -15129,8 +15370,8 @@ export type PolkadotRuntimeParachainsParasPalletError =
15129
15370
  | 'InvalidCode';
15130
15371
 
15131
15372
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
15132
- validators: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
15133
- queued: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
15373
+ validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
15374
+ queued: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
15134
15375
  sessionIndex: number;
15135
15376
  };
15136
15377
 
@@ -15243,14 +15484,14 @@ export type PolkadotRuntimeParachainsHrmpPalletError =
15243
15484
  **/
15244
15485
  | 'ChannelCreationNotAuthorized';
15245
15486
 
15246
- export type PolkadotPrimitivesV7SessionInfo = {
15247
- activeValidatorIndices: Array<PolkadotPrimitivesV7ValidatorIndex>;
15487
+ export type PolkadotPrimitivesV8SessionInfo = {
15488
+ activeValidatorIndices: Array<PolkadotPrimitivesV8ValidatorIndex>;
15248
15489
  randomSeed: FixedBytes<32>;
15249
15490
  disputePeriod: number;
15250
- validators: PolkadotPrimitivesV7IndexedVec;
15491
+ validators: PolkadotPrimitivesV8IndexedVec;
15251
15492
  discoveryKeys: Array<SpAuthorityDiscoveryAppPublic>;
15252
- assignmentKeys: Array<PolkadotPrimitivesV7AssignmentAppPublic>;
15253
- validatorGroups: PolkadotPrimitivesV7IndexedVecGroupIndex;
15493
+ assignmentKeys: Array<PolkadotPrimitivesV8AssignmentAppPublic>;
15494
+ validatorGroups: PolkadotPrimitivesV8IndexedVecGroupIndex;
15254
15495
  nCores: number;
15255
15496
  zerothDelayTrancheWidth: number;
15256
15497
  relayVrfModuloSamples: number;
@@ -15259,11 +15500,11 @@ export type PolkadotPrimitivesV7SessionInfo = {
15259
15500
  neededApprovals: number;
15260
15501
  };
15261
15502
 
15262
- export type PolkadotPrimitivesV7IndexedVec = Array<PolkadotPrimitivesV7ValidatorAppPublic>;
15503
+ export type PolkadotPrimitivesV8IndexedVec = Array<PolkadotPrimitivesV8ValidatorAppPublic>;
15263
15504
 
15264
- export type PolkadotPrimitivesV7IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV7ValidatorIndex>>;
15505
+ export type PolkadotPrimitivesV8IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV8ValidatorIndex>>;
15265
15506
 
15266
- export type PolkadotPrimitivesV7DisputeState = {
15507
+ export type PolkadotPrimitivesV8DisputeState = {
15267
15508
  validatorsFor: BitSequence;
15268
15509
  validatorsAgainst: BitSequence;
15269
15510
  start: number;
@@ -15311,9 +15552,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
15311
15552
  **/
15312
15553
  | 'UnconfirmedDispute';
15313
15554
 
15314
- export type PolkadotPrimitivesV7SlashingPendingSlashes = {
15315
- keys: Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidatorAppPublic]>;
15316
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
15555
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
15556
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
15557
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
15317
15558
  };
15318
15559
 
15319
15560
  /**
@@ -15346,35 +15587,35 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
15346
15587
  **/
15347
15588
  | 'DuplicateSlashingReport';
15348
15589
 
15349
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount = {
15350
- coreIndex: PolkadotPrimitivesV7CoreIndex;
15590
+ export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
15591
+ coreIndex: PolkadotPrimitivesV8CoreIndex;
15351
15592
  count: number;
15352
15593
  };
15353
15594
 
15354
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType = {
15595
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
15355
15596
  traffic: FixedU128;
15356
- nextIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
15357
- smallestIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
15597
+ nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15598
+ smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15358
15599
  freedIndices: BinaryHeap;
15359
15600
  };
15360
15601
 
15361
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex = number;
15602
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
15362
15603
 
15363
- export type BinaryHeap = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex>;
15604
+ export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
15364
15605
 
15365
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex = number;
15606
+ export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
15366
15607
 
15367
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>;
15608
+ export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
15368
15609
 
15369
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder = {
15610
+ export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
15370
15611
  paraId: PolkadotParachainPrimitivesPrimitivesId;
15371
- idx: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
15612
+ idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15372
15613
  };
15373
15614
 
15374
15615
  /**
15375
15616
  * The `Error` enum of this pallet.
15376
15617
  **/
15377
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletError =
15618
+ export type PolkadotRuntimeParachainsOnDemandPalletError =
15378
15619
  /**
15379
15620
  * The order queue is full, `place_order` will not continue.
15380
15621
  **/
@@ -15921,9 +16162,21 @@ export type PalletBeefyError =
15921
16162
  **/
15922
16163
  | 'InvalidKeyOwnershipProof'
15923
16164
  /**
15924
- * An equivocation proof provided as part of an equivocation report is invalid.
16165
+ * A double voting proof provided as part of an equivocation report is invalid.
15925
16166
  **/
15926
- | 'InvalidEquivocationProof'
16167
+ | 'InvalidDoubleVotingProof'
16168
+ /**
16169
+ * A fork voting proof provided as part of an equivocation report is invalid.
16170
+ **/
16171
+ | 'InvalidForkVotingProof'
16172
+ /**
16173
+ * A future block voting proof provided as part of an equivocation report is invalid.
16174
+ **/
16175
+ | 'InvalidFutureBlockVotingProof'
16176
+ /**
16177
+ * The session of the equivocation proof is invalid
16178
+ **/
16179
+ | 'InvalidEquivocationProofSession'
15927
16180
  /**
15928
16181
  * A given equivocation report is valid but already previously reported.
15929
16182
  **/
@@ -16001,78 +16254,78 @@ export type SpRuntimeTransactionValidityValidTransaction = {
16001
16254
  propagate: boolean;
16002
16255
  };
16003
16256
 
16004
- export type PolkadotPrimitivesV7GroupRotationInfo = {
16257
+ export type PolkadotPrimitivesV8GroupRotationInfo = {
16005
16258
  sessionStartBlock: number;
16006
16259
  groupRotationFrequency: number;
16007
16260
  now: number;
16008
16261
  };
16009
16262
 
16010
- export type PolkadotPrimitivesV7CoreState =
16011
- | { type: 'Occupied'; value: PolkadotPrimitivesV7OccupiedCore }
16012
- | { type: 'Scheduled'; value: PolkadotPrimitivesV7ScheduledCore }
16263
+ export type PolkadotPrimitivesV8CoreState =
16264
+ | { type: 'Occupied'; value: PolkadotPrimitivesV8OccupiedCore }
16265
+ | { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
16013
16266
  | { type: 'Free' };
16014
16267
 
16015
- export type PolkadotPrimitivesV7OccupiedCore = {
16016
- nextUpOnAvailable?: PolkadotPrimitivesV7ScheduledCore | undefined;
16268
+ export type PolkadotPrimitivesV8OccupiedCore = {
16269
+ nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
16017
16270
  occupiedSince: number;
16018
16271
  timeOutAt: number;
16019
- nextUpOnTimeOut?: PolkadotPrimitivesV7ScheduledCore | undefined;
16272
+ nextUpOnTimeOut?: PolkadotPrimitivesV8ScheduledCore | undefined;
16020
16273
  availability: BitSequence;
16021
- groupResponsible: PolkadotPrimitivesV7GroupIndex;
16274
+ groupResponsible: PolkadotPrimitivesV8GroupIndex;
16022
16275
  candidateHash: PolkadotCorePrimitivesCandidateHash;
16023
- candidateDescriptor: PolkadotPrimitivesV7CandidateDescriptor;
16276
+ candidateDescriptor: PolkadotPrimitivesV8CandidateDescriptor;
16024
16277
  };
16025
16278
 
16026
- export type PolkadotPrimitivesV7ScheduledCore = {
16279
+ export type PolkadotPrimitivesV8ScheduledCore = {
16027
16280
  paraId: PolkadotParachainPrimitivesPrimitivesId;
16028
- collator?: PolkadotPrimitivesV7CollatorAppPublic | undefined;
16281
+ collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
16029
16282
  };
16030
16283
 
16031
- export type PolkadotPrimitivesV7OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
16284
+ export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
16032
16285
 
16033
- export type PolkadotPrimitivesV7PersistedValidationData = {
16286
+ export type PolkadotPrimitivesV8PersistedValidationData = {
16034
16287
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
16035
16288
  relayParentNumber: number;
16036
16289
  relayParentStorageRoot: H256;
16037
16290
  maxPovSize: number;
16038
16291
  };
16039
16292
 
16040
- export type PolkadotPrimitivesV7CandidateEvent =
16293
+ export type PolkadotPrimitivesV8CandidateEvent =
16041
16294
  | {
16042
16295
  type: 'CandidateBacked';
16043
16296
  value: [
16044
- PolkadotPrimitivesV7CandidateReceipt,
16297
+ PolkadotPrimitivesV8CandidateReceipt,
16045
16298
  PolkadotParachainPrimitivesPrimitivesHeadData,
16046
- PolkadotPrimitivesV7CoreIndex,
16047
- PolkadotPrimitivesV7GroupIndex,
16299
+ PolkadotPrimitivesV8CoreIndex,
16300
+ PolkadotPrimitivesV8GroupIndex,
16048
16301
  ];
16049
16302
  }
16050
16303
  | {
16051
16304
  type: 'CandidateIncluded';
16052
16305
  value: [
16053
- PolkadotPrimitivesV7CandidateReceipt,
16306
+ PolkadotPrimitivesV8CandidateReceipt,
16054
16307
  PolkadotParachainPrimitivesPrimitivesHeadData,
16055
- PolkadotPrimitivesV7CoreIndex,
16056
- PolkadotPrimitivesV7GroupIndex,
16308
+ PolkadotPrimitivesV8CoreIndex,
16309
+ PolkadotPrimitivesV8GroupIndex,
16057
16310
  ];
16058
16311
  }
16059
16312
  | {
16060
16313
  type: 'CandidateTimedOut';
16061
16314
  value: [
16062
- PolkadotPrimitivesV7CandidateReceipt,
16315
+ PolkadotPrimitivesV8CandidateReceipt,
16063
16316
  PolkadotParachainPrimitivesPrimitivesHeadData,
16064
- PolkadotPrimitivesV7CoreIndex,
16317
+ PolkadotPrimitivesV8CoreIndex,
16065
16318
  ];
16066
16319
  };
16067
16320
 
16068
- export type PolkadotPrimitivesV7SlashingOpaqueKeyOwnershipProof = Bytes;
16321
+ export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
16069
16322
 
16070
- export type PolkadotPrimitivesV7AsyncBackingBackingState = {
16071
- constraints: PolkadotPrimitivesV7AsyncBackingConstraints;
16072
- pendingAvailability: Array<PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability>;
16323
+ export type PolkadotPrimitivesV8AsyncBackingBackingState = {
16324
+ constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
16325
+ pendingAvailability: Array<PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability>;
16073
16326
  };
16074
16327
 
16075
- export type PolkadotPrimitivesV7AsyncBackingConstraints = {
16328
+ export type PolkadotPrimitivesV8AsyncBackingConstraints = {
16076
16329
  minRelayParentNumber: number;
16077
16330
  maxPovSize: number;
16078
16331
  maxCodeSize: number;
@@ -16080,28 +16333,28 @@ export type PolkadotPrimitivesV7AsyncBackingConstraints = {
16080
16333
  umpRemainingBytes: number;
16081
16334
  maxUmpNumPerCandidate: number;
16082
16335
  dmpRemainingMessages: Array<number>;
16083
- hrmpInbound: PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations;
16336
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
16084
16337
  hrmpChannelsOut: Array<
16085
- [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations]
16338
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
16086
16339
  >;
16087
16340
  maxHrmpNumPerCandidate: number;
16088
16341
  requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
16089
16342
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
16090
- upgradeRestriction?: PolkadotPrimitivesV7UpgradeRestriction | undefined;
16343
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
16091
16344
  futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
16092
16345
  };
16093
16346
 
16094
- export type PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
16347
+ export type PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
16095
16348
 
16096
- export type PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations = {
16349
+ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
16097
16350
  bytesRemaining: number;
16098
16351
  messagesRemaining: number;
16099
16352
  };
16100
16353
 
16101
- export type PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability = {
16354
+ export type PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability = {
16102
16355
  candidateHash: PolkadotCorePrimitivesCandidateHash;
16103
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
16104
- commitments: PolkadotPrimitivesV7CandidateCommitments;
16356
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
16357
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
16105
16358
  relayParentNumber: number;
16106
16359
  maxPovSize: number;
16107
16360
  };
@@ -16110,6 +16363,12 @@ export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyE
16110
16363
 
16111
16364
  export type SpRuntimeOpaqueValue = Bytes;
16112
16365
 
16366
+ export type SpConsensusBeefyForkVotingProofOpaqueValue = {
16367
+ vote: SpConsensusBeefyVoteMessage;
16368
+ ancestryProof: SpRuntimeOpaqueValue;
16369
+ header: Header;
16370
+ };
16371
+
16113
16372
  export type SpMmrPrimitivesError =
16114
16373
  | 'InvalidNumericOp'
16115
16374
  | 'Push'
@@ -16215,6 +16474,7 @@ export type StagingKusamaRuntimeRuntimeError =
16215
16474
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
16216
16475
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
16217
16476
  | { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
16477
+ | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
16218
16478
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
16219
16479
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
16220
16480
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
@@ -16222,7 +16482,7 @@ export type StagingKusamaRuntimeRuntimeError =
16222
16482
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
16223
16483
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
16224
16484
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
16225
- | { pallet: 'OnDemandAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerOnDemandPalletError }
16485
+ | { pallet: 'OnDemandAssignmentProvider'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
16226
16486
  | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
16227
16487
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
16228
16488
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }