@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
@@ -1202,6 +1272,10 @@ declare module '@polkadot/api-base/types/errors' {
1202
1272
  * A reward pool does not exist. In all cases this is a system logic error.
1203
1273
  **/
1204
1274
  RewardPoolNotFound: AugmentedError<ApiType>;
1275
+ /**
1276
+ * The slash amount is too low to be applied.
1277
+ **/
1278
+ SlashTooLow: AugmentedError<ApiType>;
1205
1279
  /**
1206
1280
  * A sub pool does not exist.
1207
1281
  **/
@@ -1277,10 +1351,6 @@ declare module '@polkadot/api-base/types/errors' {
1277
1351
  * Output code is too large
1278
1352
  **/
1279
1353
  NewCodeTooLarge: AugmentedError<ApiType>;
1280
- /**
1281
- * Collator did not sign PoV.
1282
- **/
1283
- NotCollatorSigned: AugmentedError<ApiType>;
1284
1354
  /**
1285
1355
  * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
1286
1356
  * para head in the commitments.
@@ -1471,10 +1541,6 @@ declare module '@polkadot/api-base/types/errors' {
1471
1541
  * Preimage has already been noted on-chain.
1472
1542
  **/
1473
1543
  AlreadyNoted: AugmentedError<ApiType>;
1474
- /**
1475
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
1476
- **/
1477
- NoCost: AugmentedError<ApiType>;
1478
1544
  /**
1479
1545
  * The user is not authorized to perform this action.
1480
1546
  **/
@@ -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, Perquintill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, 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, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, 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.
@@ -1180,10 +1232,13 @@ declare module '@polkadot/api-base/types/events' {
1180
1232
  * A member has been removed from a pool.
1181
1233
  *
1182
1234
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1235
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
1236
+ * represented by `released_balance`.
1183
1237
  **/
1184
- MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], {
1238
+ MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], {
1185
1239
  poolId: u32;
1186
1240
  member: AccountId32;
1241
+ releasedBalance: u128;
1187
1242
  }>;
1188
1243
  /**
1189
1244
  * Topped up deficit in frozen ED of the reward pool.
@@ -1351,15 +1406,15 @@ declare module '@polkadot/api-base/types/events' {
1351
1406
  /**
1352
1407
  * A candidate was backed. `[candidate, head_data]`
1353
1408
  **/
1354
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1409
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1355
1410
  /**
1356
1411
  * A candidate was included. `[candidate, head_data]`
1357
1412
  **/
1358
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32, u32]>;
1413
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1359
1414
  /**
1360
1415
  * A candidate timed out. `[candidate, head_data]`
1361
1416
  **/
1362
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV7CandidateReceipt, Bytes, u32]>;
1417
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32]>;
1363
1418
  /**
1364
1419
  * Some upward messages have been received and will be processed.
1365
1420
  **/
package/kusama/query.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
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, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, 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, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, 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, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, 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, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, 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>;
@@ -470,6 +470,31 @@ declare module '@polkadot/api-base/types/storage' {
470
470
  **/
471
471
  [key: string]: QueryableStorageEntry<ApiType>;
472
472
  };
473
+ delegatedStaking: {
474
+ /**
475
+ * Map of `Agent` to their `Ledger`.
476
+ **/
477
+ agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
478
+ /**
479
+ * Counter for the related counted storage map
480
+ **/
481
+ counterForAgents: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
482
+ /**
483
+ * Counter for the related counted storage map
484
+ **/
485
+ counterForDelegators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
486
+ /**
487
+ * Map of Delegators to their `Delegation`.
488
+ *
489
+ * Implementation note: We are not using a double map with `delegator` and `agent` account
490
+ * as keys since we want to restrict delegators to delegate only to one account at a time.
491
+ **/
492
+ delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
493
+ /**
494
+ * Generic query
495
+ **/
496
+ [key: string]: QueryableStorageEntry<ApiType>;
497
+ };
473
498
  dmp: {
474
499
  /**
475
500
  * The factor to multiply the base delivery fee by.
@@ -1142,17 +1167,17 @@ declare module '@polkadot/api-base/types/storage' {
1142
1167
  /**
1143
1168
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
1144
1169
  **/
1145
- freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1170
+ freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1146
1171
  /**
1147
1172
  * Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
1148
1173
  * it's lookahead. Keeping track of this affinity prevents parallel execution of the same
1149
1174
  * `ParaId` on two or more `CoreIndex`es.
1150
1175
  **/
1151
- paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1176
+ paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1152
1177
  /**
1153
1178
  * Overall status of queue (both free + affinity entries)
1154
1179
  **/
1155
- queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
1180
+ queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
1156
1181
  /**
1157
1182
  * Keeps track of accumulated revenue from on demand order sales.
1158
1183
  **/
@@ -1189,7 +1214,7 @@ declare module '@polkadot/api-base/types/storage' {
1189
1214
  /**
1190
1215
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1191
1216
  **/
1192
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV7ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1217
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1193
1218
  /**
1194
1219
  * Generic query
1195
1220
  **/
@@ -1201,6 +1226,8 @@ declare module '@polkadot/api-base/types/storage' {
1201
1226
  **/
1202
1227
  parameters: AugmentedQuery<ApiType, (arg: StagingKusamaRuntimeRuntimeParametersKey | {
1203
1228
  Inflation: any;
1229
+ } | {
1230
+ Treasury: any;
1204
1231
  } | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeRuntimeParametersValue>>, [StagingKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [StagingKusamaRuntimeRuntimeParametersKey]>;
1205
1232
  /**
1206
1233
  * Generic query
@@ -1339,7 +1366,7 @@ declare module '@polkadot/api-base/types/storage' {
1339
1366
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1340
1367
  * the format will require migration of parachains.
1341
1368
  **/
1342
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1369
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1343
1370
  /**
1344
1371
  * This is used by the relay-chain to communicate that there are restrictions for performing
1345
1372
  * an upgrade for this parachain.
@@ -1351,7 +1378,7 @@ declare module '@polkadot/api-base/types/storage' {
1351
1378
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1352
1379
  * the format will require migration of parachains.
1353
1380
  **/
1354
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1381
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1355
1382
  /**
1356
1383
  * Generic query
1357
1384
  **/
@@ -1407,7 +1434,7 @@ declare module '@polkadot/api-base/types/storage' {
1407
1434
  /**
1408
1435
  * All ongoing or concluded disputes for the last several sessions.
1409
1436
  **/
1410
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1437
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1411
1438
  /**
1412
1439
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1413
1440
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1440,7 +1467,7 @@ declare module '@polkadot/api-base/types/storage' {
1440
1467
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1441
1468
  * When in doubt, use `Sessions` API instead.
1442
1469
  **/
1443
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1470
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1444
1471
  /**
1445
1472
  * The earliest session for which previous session info is stored.
1446
1473
  **/
@@ -1448,13 +1475,13 @@ declare module '@polkadot/api-base/types/storage' {
1448
1475
  /**
1449
1476
  * Executor parameter set for a given session index
1450
1477
  **/
1451
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1478
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1452
1479
  /**
1453
1480
  * Session information in a rolling window.
1454
1481
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1455
1482
  * Does not have any entries before the session index in the first session change notification.
1456
1483
  **/
1457
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1484
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1458
1485
  /**
1459
1486
  * Generic query
1460
1487
  **/
@@ -1470,7 +1497,7 @@ declare module '@polkadot/api-base/types/storage' {
1470
1497
  * The parachain attestation keys of the validators actively participating in parachain
1471
1498
  * consensus. This should be the same length as `ActiveValidatorIndices`.
1472
1499
  **/
1473
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1500
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1474
1501
  /**
1475
1502
  * All allowed relay-parents.
1476
1503
  **/
@@ -1488,7 +1515,7 @@ declare module '@polkadot/api-base/types/storage' {
1488
1515
  /**
1489
1516
  * Validators pending dispute slashes.
1490
1517
  **/
1491
- unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1518
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1492
1519
  /**
1493
1520
  * `ValidatorSetCount` per session.
1494
1521
  **/