@polkadot/api-augment 10.8.1 → 10.10.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.
@@ -1,11 +1,11 @@
1
1
  import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { Data } from '@polkadot/types';
4
- import type { BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
- import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotPrimitivesVstagingSlashingPendingSlashes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeRuntimeHoldReason, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5AssignmentAppPublic, PolkadotPrimitivesV5CandidateCommitments, PolkadotPrimitivesV5CoreOccupied, PolkadotPrimitivesV5DisputeState, PolkadotPrimitivesV5ExecutorParams, PolkadotPrimitivesV5ParasEntry, PolkadotPrimitivesV5ScrapedOnChainVotes, PolkadotPrimitivesV5SessionInfo, PolkadotPrimitivesV5SlashingPendingSlashes, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, PolkadotPrimitivesV5ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeRuntimeHoldReason, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -338,36 +338,6 @@ declare module '@polkadot/api-base/types/storage' {
338
338
  **/
339
339
  [key: string]: QueryableStorageEntry<ApiType>;
340
340
  };
341
- council: {
342
- /**
343
- * The current members of the collective. This is stored sorted (just by value).
344
- **/
345
- members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
346
- /**
347
- * The prime member that helps determine the default vote behavior in case of absentations.
348
- **/
349
- prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
350
- /**
351
- * Proposals so far.
352
- **/
353
- proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
354
- /**
355
- * Actual proposal for a given hash, if it's current.
356
- **/
357
- proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
358
- /**
359
- * The hashes of the active proposals.
360
- **/
361
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
362
- /**
363
- * Votes on a given proposal, if it is ongoing.
364
- **/
365
- voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
366
- /**
367
- * Generic query
368
- **/
369
- [key: string]: QueryableStorageEntry<ApiType>;
370
- };
371
341
  crowdloan: {
372
342
  /**
373
343
  * The number of auctions that have entered into their ending period so far.
@@ -391,84 +361,6 @@ declare module '@polkadot/api-base/types/storage' {
391
361
  **/
392
362
  [key: string]: QueryableStorageEntry<ApiType>;
393
363
  };
394
- democracy: {
395
- /**
396
- * A record of who vetoed what. Maps proposal hash to a possible existent block number
397
- * (until when it may not be resubmitted) and who vetoed it.
398
- **/
399
- blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
400
- /**
401
- * Record of all proposals that have been subject to emergency cancellation.
402
- **/
403
- cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
404
- /**
405
- * Those who have locked a deposit.
406
- *
407
- * TWOX-NOTE: Safe, as increasing integer keys are safe.
408
- **/
409
- depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
410
- /**
411
- * True if the last referendum tabled was submitted externally. False if it was a public
412
- * proposal.
413
- **/
414
- lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
415
- /**
416
- * The lowest referendum index representing an unbaked referendum. Equal to
417
- * `ReferendumCount` if there isn't a unbaked referendum.
418
- **/
419
- lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
420
- /**
421
- * General information concerning any proposal or referendum.
422
- * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON
423
- * dump or IPFS hash of a JSON file.
424
- *
425
- * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
426
- * large preimages.
427
- **/
428
- metadataOf: AugmentedQuery<ApiType, (arg: PalletDemocracyMetadataOwner | {
429
- External: any;
430
- } | {
431
- Proposal: any;
432
- } | {
433
- Referendum: any;
434
- } | string | Uint8Array) => Observable<Option<H256>>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
435
- /**
436
- * The referendum to be tabled whenever it would be valid to table an external proposal.
437
- * This happens when a referendum needs to be tabled and one of two conditions are met:
438
- * - `LastTabledWasExternal` is `false`; or
439
- * - `PublicProps` is empty.
440
- **/
441
- nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
442
- /**
443
- * The number of (public) proposals that have been made so far.
444
- **/
445
- publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
446
- /**
447
- * The public proposals. Unsorted. The second item is the proposal.
448
- **/
449
- publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
450
- /**
451
- * The next free referendum index, aka the number of referenda started so far.
452
- **/
453
- referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
454
- /**
455
- * Information concerning any given referendum.
456
- *
457
- * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
458
- **/
459
- referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
460
- /**
461
- * All votes for a particular voter. We store the balance for the number of votes that we
462
- * have recorded. The second item is the total amount of delegations, that will be added.
463
- *
464
- * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
465
- **/
466
- votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
467
- /**
468
- * Generic query
469
- **/
470
- [key: string]: QueryableStorageEntry<ApiType>;
471
- };
472
364
  dmp: {
473
365
  /**
474
366
  * The number to multiply the base delivery fee by.
@@ -733,7 +625,8 @@ declare module '@polkadot/api-base/types/storage' {
733
625
  /**
734
626
  * The HRMP watermark associated with each para.
735
627
  * Invariant:
736
- * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a session.
628
+ * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a
629
+ * session.
737
630
  **/
738
631
  hrmpWatermarks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
739
632
  /**
@@ -798,10 +691,9 @@ declare module '@polkadot/api-base/types/storage' {
798
691
  **/
799
692
  keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
800
693
  /**
801
- * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
802
- * `WrapperOpaque<BoundedOpaqueNetworkState>`.
694
+ * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
803
695
  **/
804
- receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
696
+ receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
805
697
  /**
806
698
  * Generic query
807
699
  **/
@@ -834,9 +726,9 @@ declare module '@polkadot/api-base/types/storage' {
834
726
  * Semantically a `bool`, but this guarantees it should never hit the trie,
835
727
  * as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.
836
728
  *
837
- * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one of
838
- * them writes to the trie and one does not. This confusion makes `Option<()>` more suitable for
839
- * the semantics of this variable.
729
+ * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one
730
+ * of them writes to the trie and one does not. This confusion makes `Option<()>` more suitable
731
+ * for the semantics of this variable.
840
732
  **/
841
733
  hasInitialized: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
842
734
  /**
@@ -1006,7 +898,7 @@ declare module '@polkadot/api-base/types/storage' {
1006
898
  /**
1007
899
  * The commitments of candidates pending availability, by `ParaId`.
1008
900
  **/
1009
- pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
901
+ pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1010
902
  /**
1011
903
  * Generic query
1012
904
  **/
@@ -1025,7 +917,7 @@ declare module '@polkadot/api-base/types/storage' {
1025
917
  /**
1026
918
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1027
919
  **/
1028
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
920
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV5ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1029
921
  /**
1030
922
  * Generic query
1031
923
  **/
@@ -1070,7 +962,12 @@ declare module '@polkadot/api-base/types/storage' {
1070
962
  **/
1071
963
  heads: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1072
964
  /**
1073
- * All parachains. Ordered ascending by `ParaId`. Parathreads are not included.
965
+ * The context (relay-chain block number) of the most recent parachain head.
966
+ **/
967
+ mostRecentContext: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
968
+ /**
969
+ * All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
970
+ * included.
1074
971
  *
1075
972
  * Consider using the [`ParachainsCache`] type of modifying.
1076
973
  **/
@@ -1093,11 +990,11 @@ declare module '@polkadot/api-base/types/storage' {
1093
990
  **/
1094
991
  pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1095
992
  /**
1096
- * Which paras have past code that needs pruning and the relay-chain block at which the code was replaced.
1097
- * Note that this is the actual height of the included block, not the expected height at which the
1098
- * code upgrade would be applied, although they may be equal.
1099
- * This is to ensure the entire acceptance period is covered, not an offset acceptance period starting
1100
- * from the time at which the parachain perceives a code upgrade as having occurred.
993
+ * Which paras have past code that needs pruning and the relay-chain block at which the code
994
+ * was replaced. Note that this is the actual height of the included block, not the expected
995
+ * height at which the code upgrade would be applied, although they may be equal.
996
+ * This is to ensure the entire acceptance period is covered, not an offset acceptance period
997
+ * starting from the time at which the parachain perceives a code upgrade as having occurred.
1101
998
  * Multiple entries for a single para are permitted. Ordered ascending by block number.
1102
999
  **/
1103
1000
  pastCodePruning: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -1133,17 +1030,18 @@ declare module '@polkadot/api-base/types/storage' {
1133
1030
  **/
1134
1031
  upgradeCooldowns: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1135
1032
  /**
1136
- * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade procedure.
1033
+ * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
1034
+ * procedure.
1137
1035
  *
1138
1036
  * This value is absent when there are no upgrades scheduled or during the time the relay chain
1139
- * performs the checks. It is set at the first relay-chain block when the corresponding parachain
1140
- * can switch its upgrade function. As soon as the parachain's block is included, the value
1141
- * gets reset to `None`.
1037
+ * performs the checks. It is set at the first relay-chain block when the corresponding
1038
+ * parachain can switch its upgrade function. As soon as the parachain's block is included, the
1039
+ * value gets reset to `None`.
1142
1040
  *
1143
1041
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1144
1042
  * the format will require migration of parachains.
1145
1043
  **/
1146
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1044
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1147
1045
  /**
1148
1046
  * This is used by the relay-chain to communicate that there are restrictions for performing
1149
1047
  * an upgrade for this parachain.
@@ -1155,7 +1053,7 @@ declare module '@polkadot/api-base/types/storage' {
1155
1053
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1156
1054
  * the format will require migration of parachains.
1157
1055
  **/
1158
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1056
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1159
1057
  /**
1160
1058
  * Generic query
1161
1059
  **/
@@ -1163,8 +1061,8 @@ declare module '@polkadot/api-base/types/storage' {
1163
1061
  };
1164
1062
  paraScheduler: {
1165
1063
  /**
1166
- * One entry for each availability core. Entries are `None` if the core is not currently occupied. Can be
1167
- * temporarily `Some` if scheduled but not occupied.
1064
+ * One entry for each availability core. Entries are `None` if the core is not currently
1065
+ * occupied. Can be temporarily `Some` if scheduled but not occupied.
1168
1066
  * The i'th parachain belongs to the i'th core, with the remaining cores all being
1169
1067
  * parathread-multiplexers.
1170
1068
  *
@@ -1172,32 +1070,18 @@ declare module '@polkadot/api-base/types/storage' {
1172
1070
  * * The number of parachains and parathread multiplexers
1173
1071
  * * The number of validators divided by `configuration.max_validators_per_core`.
1174
1072
  **/
1175
- availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<Option<PolkadotPrimitivesV4CoreOccupied>>>, []> & QueryableStorageEntry<ApiType, []>;
1073
+ availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5CoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1176
1074
  /**
1177
- * An index used to ensure that only one claim on a parathread exists in the queue or is
1178
- * currently being handled by an occupied core.
1179
- *
1180
- * Bounded by the number of parathread cores and scheduling lookahead. Reasonably, 10 * 50 = 500.
1075
+ * One entry for each availability core. The `VecDeque` represents the assignments to be
1076
+ * scheduled on that core. `None` is used to signal to not schedule the next para of the core
1077
+ * as there is one currently being scheduled. Not using `None` here would overwrite the
1078
+ * `CoreState` in the runtime API. The value contained here will not be valid after the end of
1079
+ * a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
1181
1080
  **/
1182
- parathreadClaimIndex: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1081
+ claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<Option<PolkadotPrimitivesV5ParasEntry>>>>, []> & QueryableStorageEntry<ApiType, []>;
1183
1082
  /**
1184
- * A queue of upcoming claims and which core they should be mapped onto.
1185
- *
1186
- * The number of queued claims is bounded at the `scheduling_lookahead`
1187
- * multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500.
1188
- **/
1189
- parathreadQueue: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSchedulerParathreadClaimQueue>, []> & QueryableStorageEntry<ApiType, []>;
1190
- /**
1191
- * Currently scheduled cores - free but up to be occupied.
1192
- *
1193
- * Bounded by the number of cores: one for each parachain and parathread multiplexer.
1194
- *
1195
- * The value contained here will not be valid after the end of a block. Runtime APIs should be used to determine scheduled cores/
1196
- * for the upcoming block.
1197
- **/
1198
- scheduled: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerCoreAssignment>>, []> & QueryableStorageEntry<ApiType, []>;
1199
- /**
1200
- * The block number where the session start occurred. Used to track how many group rotations have occurred.
1083
+ * The block number where the session start occurred. Used to track how many group rotations
1084
+ * have occurred.
1201
1085
  *
1202
1086
  * Note that in the context of parachains modules the session change is signaled during
1203
1087
  * the block and enacted at the end of the block (at the finalization stage, to be exact).
@@ -1210,8 +1094,9 @@ declare module '@polkadot/api-base/types/storage' {
1210
1094
  * broader set of Polkadot validators, but instead just the subset used for parachains during
1211
1095
  * this session.
1212
1096
  *
1213
- * Bound: The number of cores is the sum of the numbers of parachains and parathread multiplexers.
1214
- * Reasonably, 100-1000. The dominant factor is the number of validators: safe upper bound at 10k.
1097
+ * Bound: The number of cores is the sum of the numbers of parachains and parathread
1098
+ * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
1099
+ * upper bound at 10k.
1215
1100
  **/
1216
1101
  validatorGroups: AugmentedQuery<ApiType, () => Observable<Vec<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
1217
1102
  /**
@@ -1228,7 +1113,7 @@ declare module '@polkadot/api-base/types/storage' {
1228
1113
  /**
1229
1114
  * All ongoing or concluded disputes for the last several sessions.
1230
1115
  **/
1231
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV4DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1116
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV5DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1232
1117
  /**
1233
1118
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1234
1119
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1261,7 +1146,7 @@ declare module '@polkadot/api-base/types/storage' {
1261
1146
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1262
1147
  * When in doubt, use `Sessions` API instead.
1263
1148
  **/
1264
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1149
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1265
1150
  /**
1266
1151
  * The earliest session for which previous session info is stored.
1267
1152
  **/
@@ -1269,13 +1154,13 @@ declare module '@polkadot/api-base/types/storage' {
1269
1154
  /**
1270
1155
  * Executor parameter set for a given session index
1271
1156
  **/
1272
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1157
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1273
1158
  /**
1274
1159
  * Session information in a rolling window.
1275
1160
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1276
1161
  * Does not have any entries before the session index in the first session change notification.
1277
1162
  **/
1278
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1163
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV5SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1279
1164
  /**
1280
1165
  * Generic query
1281
1166
  **/
@@ -1288,10 +1173,14 @@ declare module '@polkadot/api-base/types/storage' {
1288
1173
  **/
1289
1174
  activeValidatorIndices: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1290
1175
  /**
1291
- * The parachain attestation keys of the validators actively participating in parachain consensus.
1292
- * This should be the same length as `ActiveValidatorIndices`.
1176
+ * The parachain attestation keys of the validators actively participating in parachain
1177
+ * consensus. This should be the same length as `ActiveValidatorIndices`.
1178
+ **/
1179
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV5ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1180
+ /**
1181
+ * All allowed relay-parents.
1293
1182
  **/
1294
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1183
+ allowedRelayParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
1295
1184
  /**
1296
1185
  * The current session index.
1297
1186
  **/
@@ -1305,7 +1194,7 @@ declare module '@polkadot/api-base/types/storage' {
1305
1194
  /**
1306
1195
  * Validators pending dispute slashes.
1307
1196
  **/
1308
- unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingSlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1197
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV5SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1309
1198
  /**
1310
1199
  * `ValidatorSetCount` per session.
1311
1200
  **/
@@ -1315,44 +1204,6 @@ declare module '@polkadot/api-base/types/storage' {
1315
1204
  **/
1316
1205
  [key: string]: QueryableStorageEntry<ApiType>;
1317
1206
  };
1318
- phragmenElection: {
1319
- /**
1320
- * The present candidate list. A current member or runner-up can never enter this vector
1321
- * and is always implicitly assumed to be a candidate.
1322
- *
1323
- * Second element is the deposit.
1324
- *
1325
- * Invariant: Always sorted based on account id.
1326
- **/
1327
- candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
1328
- /**
1329
- * The total number of vote rounds that have happened, excluding the upcoming one.
1330
- **/
1331
- electionRounds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1332
- /**
1333
- * The current elected members.
1334
- *
1335
- * Invariant: Always sorted based on account id.
1336
- **/
1337
- members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
1338
- /**
1339
- * The current reserved runners-up.
1340
- *
1341
- * Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
1342
- * last (i.e. _best_) runner-up will be replaced.
1343
- **/
1344
- runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
1345
- /**
1346
- * Votes and locked stake of a particular voter.
1347
- *
1348
- * TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
1349
- **/
1350
- voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1351
- /**
1352
- * Generic query
1353
- **/
1354
- [key: string]: QueryableStorageEntry<ApiType>;
1355
- };
1356
1207
  preimage: {
1357
1208
  preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
1358
1209
  /**
@@ -1421,8 +1272,8 @@ declare module '@polkadot/api-base/types/storage' {
1421
1272
  /**
1422
1273
  * Amount held on deposit for each para and the original depositor.
1423
1274
  *
1424
- * The given account ID is responsible for registering the code and initial head data, but may only do
1425
- * so if it isn't yet registered. (After that, it's up to governance to do so.)
1275
+ * The given account ID is responsible for registering the code and initial head data, but may
1276
+ * only do so if it isn't yet registered. (After that, it's up to governance to do so.)
1426
1277
  **/
1427
1278
  paras: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeCommonParasRegistrarParaInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1428
1279
  /**
@@ -1496,8 +1347,8 @@ declare module '@polkadot/api-base/types/storage' {
1496
1347
  /**
1497
1348
  * Amounts held on deposit for each (possibly future) leased parachain.
1498
1349
  *
1499
- * The actual amount locked on its behalf by any account at any time is the maximum of the second values
1500
- * of the items in this list whose first value is the account.
1350
+ * The actual amount locked on its behalf by any account at any time is the maximum of the
1351
+ * second values of the items in this list whose first value is the account.
1501
1352
  *
1502
1353
  * The first item in the list is the amount locked for the current Lease Period. Following
1503
1354
  * items are for the subsequent lease periods.
@@ -1677,7 +1528,8 @@ declare module '@polkadot/api-base/types/storage' {
1677
1528
  * they wish to support.
1678
1529
  *
1679
1530
  * Note that the keys of this storage map might become non-decodable in case the
1680
- * [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators
1531
+ * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
1532
+ * In this rare case, these nominators
1681
1533
  * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
1682
1534
  * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
1683
1535
  * nominators will effectively not-exist, until they re-submit their preferences such that it
@@ -1797,7 +1649,7 @@ declare module '@polkadot/api-base/types/storage' {
1797
1649
  * allows light-clients to leverage the changes trie storage tracking mechanism and
1798
1650
  * in case of changes fetch the list of events of interest.
1799
1651
  *
1800
- * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
1652
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1801
1653
  * the `EventIndex` then in case if the topic has the same contents on the next block
1802
1654
  * no notification will be triggered thus the event might be lost.
1803
1655
  **/
@@ -1840,50 +1692,6 @@ declare module '@polkadot/api-base/types/storage' {
1840
1692
  **/
1841
1693
  [key: string]: QueryableStorageEntry<ApiType>;
1842
1694
  };
1843
- technicalCommittee: {
1844
- /**
1845
- * The current members of the collective. This is stored sorted (just by value).
1846
- **/
1847
- members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1848
- /**
1849
- * The prime member that helps determine the default vote behavior in case of absentations.
1850
- **/
1851
- prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1852
- /**
1853
- * Proposals so far.
1854
- **/
1855
- proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1856
- /**
1857
- * Actual proposal for a given hash, if it's current.
1858
- **/
1859
- proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1860
- /**
1861
- * The hashes of the active proposals.
1862
- **/
1863
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
1864
- /**
1865
- * Votes on a given proposal, if it is ongoing.
1866
- **/
1867
- voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1868
- /**
1869
- * Generic query
1870
- **/
1871
- [key: string]: QueryableStorageEntry<ApiType>;
1872
- };
1873
- technicalMembership: {
1874
- /**
1875
- * The current membership, stored as an ordered Vec.
1876
- **/
1877
- members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1878
- /**
1879
- * The current prime member, if one exists.
1880
- **/
1881
- prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1882
- /**
1883
- * Generic query
1884
- **/
1885
- [key: string]: QueryableStorageEntry<ApiType>;
1886
- };
1887
1695
  timestamp: {
1888
1696
  /**
1889
1697
  * Did the timestamp get updated in this block?
@@ -1898,23 +1706,6 @@ declare module '@polkadot/api-base/types/storage' {
1898
1706
  **/
1899
1707
  [key: string]: QueryableStorageEntry<ApiType>;
1900
1708
  };
1901
- tips: {
1902
- /**
1903
- * Simple preimage lookup from the reason's hash to the original data. Again, has an
1904
- * insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
1905
- **/
1906
- reasons: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1907
- /**
1908
- * TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.
1909
- * This has the insecure enumerable hash function since the key itself is already
1910
- * guaranteed to be a secure hash.
1911
- **/
1912
- tips: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletTipsOpenTip>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1913
- /**
1914
- * Generic query
1915
- **/
1916
- [key: string]: QueryableStorageEntry<ApiType>;
1917
- };
1918
1709
  transactionPayment: {
1919
1710
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1920
1711
  storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
@@ -12,7 +12,7 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
12
12
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
13
13
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
14
14
  import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
15
- import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
15
+ import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
16
16
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
17
17
  import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
18
18
  import type { SessionIndex } from '@polkadot/types/interfaces/session';
@@ -82,7 +82,7 @@ declare module '@polkadot/api-base/types/calls' {
82
82
  **/
83
83
  [key: string]: DecoratedCallBase<ApiType>;
84
84
  };
85
- /** 0x49eaaf1b548a0cb0/2 */
85
+ /** 0x49eaaf1b548a0cb0/3 */
86
86
  beefyApi: {
87
87
  /**
88
88
  * Return the block number where BEEFY consensus is enabled/started
@@ -278,7 +278,7 @@ declare module '@polkadot/api-base/types/calls' {
278
278
  **/
279
279
  [key: string]: DecoratedCallBase<ApiType>;
280
280
  };
281
- /** 0xaf2c0297a23e6d3d/4 */
281
+ /** 0xaf2c0297a23e6d3d/5 */
282
282
  parachainHost: {
283
283
  /**
284
284
  * Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
@@ -319,6 +319,10 @@ declare module '@polkadot/api-base/types/calls' {
319
319
  * Get the contents of all channels addressed to the given recipient.
320
320
  **/
321
321
  inboundHrmpChannelsContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundHrmpMessage>>>;
322
+ /**
323
+ * Returns a merkle proof of a validator session key
324
+ **/
325
+ keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
322
326
  /**
323
327
  * Scrape dispute relevant from on-chain, backing votes and resolved disputes.
324
328
  **/
@@ -352,6 +356,19 @@ declare module '@polkadot/api-base/types/calls' {
352
356
  sessionIndex?: any;
353
357
  validatorIndex?: any;
354
358
  } | string | Uint8Array, signature: ValidatorSignature | string | Uint8Array) => Observable<Null>>;
359
+ /**
360
+ * Submit an unsigned extrinsic to slash validators who lost a dispute about a candidate of a past session
361
+ **/
362
+ submitReportDisputeLost: AugmentedCall<ApiType, (disputeProof: DisputeProof | {
363
+ timeSlot?: any;
364
+ kind?: any;
365
+ validatorIndex?: any;
366
+ validatorId?: any;
367
+ } | string | Uint8Array, keyOwnershipProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
368
+ /**
369
+ * Returns a list of validators that lost a past session dispute and need to be slashed
370
+ **/
371
+ unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[SessionIndex, CandidateHash, PendingSlashes]>>>>;
355
372
  /**
356
373
  * Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
357
374
  **/