@polkadot/api-augment 15.6.1 → 15.7.1

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.
@@ -141,9 +141,21 @@ declare module '@polkadot/api-base/types/errors' {
141
141
  **/
142
142
  InvalidConfiguration: AugmentedError<ApiType>;
143
143
  /**
144
- * An equivocation proof provided as part of an equivocation report is invalid.
144
+ * A double voting proof provided as part of an equivocation report is invalid.
145
145
  **/
146
- InvalidEquivocationProof: AugmentedError<ApiType>;
146
+ InvalidDoubleVotingProof: AugmentedError<ApiType>;
147
+ /**
148
+ * The session of the equivocation proof is invalid
149
+ **/
150
+ InvalidEquivocationProofSession: AugmentedError<ApiType>;
151
+ /**
152
+ * A fork voting proof provided as part of an equivocation report is invalid.
153
+ **/
154
+ InvalidForkVotingProof: AugmentedError<ApiType>;
155
+ /**
156
+ * A future block voting proof provided as part of an equivocation report is invalid.
157
+ **/
158
+ InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
147
159
  /**
148
160
  * A key ownership proof provided as part of an equivocation report is invalid.
149
161
  **/
@@ -464,6 +476,64 @@ declare module '@polkadot/api-base/types/errors' {
464
476
  **/
465
477
  [key: string]: AugmentedError<ApiType>;
466
478
  };
479
+ delegatedStaking: {
480
+ /**
481
+ * An existing staker cannot perform this action.
482
+ **/
483
+ AlreadyStaking: AugmentedError<ApiType>;
484
+ /**
485
+ * Some corruption in internal state.
486
+ **/
487
+ BadState: AugmentedError<ApiType>;
488
+ /**
489
+ * Delegation conditions are not met.
490
+ *
491
+ * Possible issues are
492
+ * 1) Cannot delegate to self,
493
+ * 2) Cannot delegate to multiple delegates.
494
+ **/
495
+ InvalidDelegation: AugmentedError<ApiType>;
496
+ /**
497
+ * Reward Destination cannot be same as `Agent` account.
498
+ **/
499
+ InvalidRewardDestination: AugmentedError<ApiType>;
500
+ /**
501
+ * Not an existing `Agent` account.
502
+ **/
503
+ NotAgent: AugmentedError<ApiType>;
504
+ /**
505
+ * The account cannot perform this operation.
506
+ **/
507
+ NotAllowed: AugmentedError<ApiType>;
508
+ /**
509
+ * Not a Delegator account.
510
+ **/
511
+ NotDelegator: AugmentedError<ApiType>;
512
+ /**
513
+ * The account does not have enough funds to perform the operation.
514
+ **/
515
+ NotEnoughFunds: AugmentedError<ApiType>;
516
+ /**
517
+ * `Agent` has no pending slash to be applied.
518
+ **/
519
+ NothingToSlash: AugmentedError<ApiType>;
520
+ /**
521
+ * Operation not supported by this pallet.
522
+ **/
523
+ NotSupported: AugmentedError<ApiType>;
524
+ /**
525
+ * Unapplied pending slash restricts operation on `Agent`.
526
+ **/
527
+ UnappliedSlash: AugmentedError<ApiType>;
528
+ /**
529
+ * Failed to withdraw amount from Core Staking.
530
+ **/
531
+ WithdrawFailed: AugmentedError<ApiType>;
532
+ /**
533
+ * Generic error
534
+ **/
535
+ [key: string]: AugmentedError<ApiType>;
536
+ };
467
537
  electionProviderMultiPhase: {
468
538
  /**
469
539
  * Some bound not met
@@ -969,6 +1039,10 @@ declare module '@polkadot/api-base/types/errors' {
969
1039
  * A reward pool does not exist. In all cases this is a system logic error.
970
1040
  **/
971
1041
  RewardPoolNotFound: AugmentedError<ApiType>;
1042
+ /**
1043
+ * The slash amount is too low to be applied.
1044
+ **/
1045
+ SlashTooLow: AugmentedError<ApiType>;
972
1046
  /**
973
1047
  * A sub pool does not exist.
974
1048
  **/
@@ -1044,10 +1118,6 @@ declare module '@polkadot/api-base/types/errors' {
1044
1118
  * Output code is too large
1045
1119
  **/
1046
1120
  NewCodeTooLarge: AugmentedError<ApiType>;
1047
- /**
1048
- * Collator did not sign PoV.
1049
- **/
1050
- NotCollatorSigned: AugmentedError<ApiType>;
1051
1121
  /**
1052
1122
  * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
1053
1123
  * para head in the commitments.
@@ -1238,10 +1308,6 @@ declare module '@polkadot/api-base/types/errors' {
1238
1308
  * Preimage has already been noted on-chain.
1239
1309
  **/
1240
1310
  AlreadyNoted: AugmentedError<ApiType>;
1241
- /**
1242
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
1243
- **/
1244
- NoCost: AugmentedError<ApiType>;
1245
1311
  /**
1246
1312
  * The user is not authorized to perform this action.
1247
1313
  **/
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -390,6 +390,20 @@ declare module '@polkadot/api-base/types/events' {
390
390
  * An \[account\] has cancelled a previous delegation operation.
391
391
  **/
392
392
  Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
393
+ /**
394
+ * An account that has voted
395
+ **/
396
+ Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
397
+ who: AccountId32;
398
+ vote: PalletConvictionVotingVoteAccountVote;
399
+ }>;
400
+ /**
401
+ * A vote that been removed
402
+ **/
403
+ VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
404
+ who: AccountId32;
405
+ vote: PalletConvictionVotingVoteAccountVote;
406
+ }>;
393
407
  /**
394
408
  * Generic event
395
409
  **/
@@ -487,6 +501,44 @@ declare module '@polkadot/api-base/types/events' {
487
501
  **/
488
502
  [key: string]: AugmentedEvent<ApiType>;
489
503
  };
504
+ delegatedStaking: {
505
+ /**
506
+ * Funds delegated by a delegator.
507
+ **/
508
+ Delegated: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
509
+ agent: AccountId32;
510
+ delegator: AccountId32;
511
+ amount: u128;
512
+ }>;
513
+ /**
514
+ * Unclaimed delegation funds migrated to delegator.
515
+ **/
516
+ MigratedDelegation: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
517
+ agent: AccountId32;
518
+ delegator: AccountId32;
519
+ amount: u128;
520
+ }>;
521
+ /**
522
+ * Funds released to a delegator.
523
+ **/
524
+ Released: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
525
+ agent: AccountId32;
526
+ delegator: AccountId32;
527
+ amount: u128;
528
+ }>;
529
+ /**
530
+ * Funds slashed from a delegator.
531
+ **/
532
+ Slashed: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
533
+ agent: AccountId32;
534
+ delegator: AccountId32;
535
+ amount: u128;
536
+ }>;
537
+ /**
538
+ * Generic event
539
+ **/
540
+ [key: string]: AugmentedEvent<ApiType>;
541
+ };
490
542
  electionProviderMultiPhase: {
491
543
  /**
492
544
  * An election failed.
@@ -796,10 +848,13 @@ declare module '@polkadot/api-base/types/events' {
796
848
  * A member has been removed from a pool.
797
849
  *
798
850
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
851
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
852
+ * represented by `released_balance`.
799
853
  **/
800
- MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], {
854
+ MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], {
801
855
  poolId: u32;
802
856
  member: AccountId32;
857
+ releasedBalance: u128;
803
858
  }>;
804
859
  /**
805
860
  * Topped up deficit in frozen ED of the reward pool.
@@ -967,15 +1022,15 @@ declare module '@polkadot/api-base/types/events' {
967
1022
  /**
968
1023
  * A candidate was backed. `[candidate, head_data]`
969
1024
  **/
970
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1025
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
971
1026
  /**
972
1027
  * A candidate was included. `[candidate, head_data]`
973
1028
  **/
974
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1029
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
975
1030
  /**
976
1031
  * A candidate timed out. `[candidate, head_data]`
977
1032
  **/
978
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32]>;
1033
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32]>;
979
1034
  /**
980
1035
  * Some upward messages have been received and will be processed.
981
1036
  **/
@@ -988,22 +1043,6 @@ declare module '@polkadot/api-base/types/events' {
988
1043
  **/
989
1044
  [key: string]: AugmentedEvent<ApiType>;
990
1045
  };
991
- parameters: {
992
- /**
993
- * A Parameter was set.
994
- *
995
- * Is also emitted when the value was not changed.
996
- **/
997
- Updated: AugmentedEvent<ApiType, [key: PolkadotRuntimeRuntimeParametersKey, oldValue: Option<PolkadotRuntimeRuntimeParametersValue>, newValue: Option<PolkadotRuntimeRuntimeParametersValue>], {
998
- key: PolkadotRuntimeRuntimeParametersKey;
999
- oldValue: Option<PolkadotRuntimeRuntimeParametersValue>;
1000
- newValue: Option<PolkadotRuntimeRuntimeParametersValue>;
1001
- }>;
1002
- /**
1003
- * Generic event
1004
- **/
1005
- [key: string]: AugmentedEvent<ApiType>;
1006
- };
1007
1046
  paras: {
1008
1047
  /**
1009
1048
  * A para has been queued to execute pending actions. `para_id`
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -464,6 +464,31 @@ declare module '@polkadot/api-base/types/storage' {
464
464
  **/
465
465
  [key: string]: QueryableStorageEntry<ApiType>;
466
466
  };
467
+ delegatedStaking: {
468
+ /**
469
+ * Map of `Agent` to their `Ledger`.
470
+ **/
471
+ agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
472
+ /**
473
+ * Counter for the related counted storage map
474
+ **/
475
+ counterForAgents: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
476
+ /**
477
+ * Counter for the related counted storage map
478
+ **/
479
+ counterForDelegators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
480
+ /**
481
+ * Map of Delegators to their `Delegation`.
482
+ *
483
+ * Implementation note: We are not using a double map with `delegator` and `agent` account
484
+ * as keys since we want to restrict delegators to delegate only to one account at a time.
485
+ **/
486
+ delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
487
+ /**
488
+ * Generic query
489
+ **/
490
+ [key: string]: QueryableStorageEntry<ApiType>;
491
+ };
467
492
  dmp: {
468
493
  /**
469
494
  * The factor to multiply the base delivery fee by.
@@ -982,17 +1007,17 @@ declare module '@polkadot/api-base/types/storage' {
982
1007
  /**
983
1008
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
984
1009
  **/
985
- freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1010
+ freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
986
1011
  /**
987
1012
  * Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
988
1013
  * it's lookahead. Keeping track of this affinity prevents parallel execution of the same
989
1014
  * `ParaId` on two or more `CoreIndex`es.
990
1015
  **/
991
- paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1016
+ paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
992
1017
  /**
993
1018
  * Overall status of queue (both free + affinity entries)
994
1019
  **/
995
- queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
1020
+ queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
996
1021
  /**
997
1022
  * Keeps track of accumulated revenue from on demand order sales.
998
1023
  **/
@@ -1029,19 +1054,7 @@ declare module '@polkadot/api-base/types/storage' {
1029
1054
  /**
1030
1055
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1031
1056
  **/
1032
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV7ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1033
- /**
1034
- * Generic query
1035
- **/
1036
- [key: string]: QueryableStorageEntry<ApiType>;
1037
- };
1038
- parameters: {
1039
- /**
1040
- * Stored parameters.
1041
- **/
1042
- parameters: AugmentedQuery<ApiType, (arg: PolkadotRuntimeRuntimeParametersKey | {
1043
- Inflation: any;
1044
- } | string | Uint8Array) => Observable<Option<PolkadotRuntimeRuntimeParametersValue>>, [PolkadotRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeRuntimeParametersKey]>;
1057
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1045
1058
  /**
1046
1059
  * Generic query
1047
1060
  **/
@@ -1179,7 +1192,7 @@ declare module '@polkadot/api-base/types/storage' {
1179
1192
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1180
1193
  * the format will require migration of parachains.
1181
1194
  **/
1182
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1195
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1183
1196
  /**
1184
1197
  * This is used by the relay-chain to communicate that there are restrictions for performing
1185
1198
  * an upgrade for this parachain.
@@ -1191,7 +1204,7 @@ declare module '@polkadot/api-base/types/storage' {
1191
1204
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1192
1205
  * the format will require migration of parachains.
1193
1206
  **/
1194
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1207
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1195
1208
  /**
1196
1209
  * Generic query
1197
1210
  **/
@@ -1247,7 +1260,7 @@ declare module '@polkadot/api-base/types/storage' {
1247
1260
  /**
1248
1261
  * All ongoing or concluded disputes for the last several sessions.
1249
1262
  **/
1250
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1263
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1251
1264
  /**
1252
1265
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1253
1266
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1280,7 +1293,7 @@ declare module '@polkadot/api-base/types/storage' {
1280
1293
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1281
1294
  * When in doubt, use `Sessions` API instead.
1282
1295
  **/
1283
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1296
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1284
1297
  /**
1285
1298
  * The earliest session for which previous session info is stored.
1286
1299
  **/
@@ -1288,13 +1301,13 @@ declare module '@polkadot/api-base/types/storage' {
1288
1301
  /**
1289
1302
  * Executor parameter set for a given session index
1290
1303
  **/
1291
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1304
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1292
1305
  /**
1293
1306
  * Session information in a rolling window.
1294
1307
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1295
1308
  * Does not have any entries before the session index in the first session change notification.
1296
1309
  **/
1297
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1310
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1298
1311
  /**
1299
1312
  * Generic query
1300
1313
  **/
@@ -1310,7 +1323,7 @@ declare module '@polkadot/api-base/types/storage' {
1310
1323
  * The parachain attestation keys of the validators actively participating in parachain
1311
1324
  * consensus. This should be the same length as `ActiveValidatorIndices`.
1312
1325
  **/
1313
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1326
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1314
1327
  /**
1315
1328
  * All allowed relay-parents.
1316
1329
  **/
@@ -1328,7 +1341,7 @@ declare module '@polkadot/api-base/types/storage' {
1328
1341
  /**
1329
1342
  * Validators pending dispute slashes.
1330
1343
  **/
1331
- unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1344
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1332
1345
  /**
1333
1346
  * `ValidatorSetCount` per session.
1334
1347
  **/