@polkadot/api-augment 9.13.6 → 9.14.2

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.
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@polkadot/api-augment',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '9.13.6'
16
+ version: '9.14.2'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -25,18 +25,6 @@ declare module '@polkadot/api-base/types/consts' {
25
25
  **/
26
26
  [key: string]: Codec;
27
27
  };
28
- authorship: {
29
- /**
30
- * The number of blocks back we should accept uncles.
31
- * This means that we will deal with uncle-parents that are
32
- * `UncleGenerations + 1` before `now`.
33
- **/
34
- uncleGenerations: u32 & AugmentedConst<ApiType>;
35
- /**
36
- * Generic const
37
- **/
38
- [key: string]: Codec;
39
- };
40
28
  babe: {
41
29
  /**
42
30
  * The amount of time, in slots, that each epoch should last.
@@ -391,6 +379,15 @@ declare module '@polkadot/api-base/types/consts' {
391
379
  * Max Authorities in use
392
380
  **/
393
381
  maxAuthorities: u32 & AugmentedConst<ApiType>;
382
+ /**
383
+ * The maximum number of entries to keep in the set id to session index mapping.
384
+ *
385
+ * Since the `SetIdSession` map is only used for validating equivocations this
386
+ * value should relate to the bonding duration of whatever staking system is
387
+ * being used (if any). If equivocation handling is not enabled then this value
388
+ * can be zero.
389
+ **/
390
+ maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
394
391
  /**
395
392
  * Generic const
396
393
  **/
@@ -612,18 +609,28 @@ declare module '@polkadot/api-base/types/consts' {
612
609
  /**
613
610
  * The maximum number of candidates in a phragmen election.
614
611
  *
615
- * Warning: The election happens onchain, and this value will determine
616
- * the size of the election. When this limit is reached no more
617
- * candidates are accepted in the election.
612
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
613
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
614
+ *
615
+ * When this limit is reached no more candidates are accepted in the election.
618
616
  **/
619
617
  maxCandidates: u32 & AugmentedConst<ApiType>;
620
618
  /**
621
619
  * The maximum number of voters to allow in a phragmen election.
622
620
  *
623
- * Warning: This impacts the size of the election which is run onchain.
621
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
622
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
623
+ *
624
624
  * When the limit is reached the new voters are ignored.
625
625
  **/
626
626
  maxVoters: u32 & AugmentedConst<ApiType>;
627
+ /**
628
+ * Maximum numbers of votes per voter.
629
+ *
630
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
631
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
632
+ **/
633
+ maxVotesPerVoter: u32 & AugmentedConst<ApiType>;
627
634
  /**
628
635
  * Identifier for the elections-phragmen pallet's lock
629
636
  **/
@@ -37,40 +37,6 @@ declare module '@polkadot/api-base/types/errors' {
37
37
  **/
38
38
  [key: string]: AugmentedError<ApiType>;
39
39
  };
40
- authorship: {
41
- /**
42
- * The uncle is genesis.
43
- **/
44
- GenesisUncle: AugmentedError<ApiType>;
45
- /**
46
- * The uncle parent not in the chain.
47
- **/
48
- InvalidUncleParent: AugmentedError<ApiType>;
49
- /**
50
- * The uncle isn't recent enough to be included.
51
- **/
52
- OldUncle: AugmentedError<ApiType>;
53
- /**
54
- * The uncle is too high in chain.
55
- **/
56
- TooHighUncle: AugmentedError<ApiType>;
57
- /**
58
- * Too many uncles.
59
- **/
60
- TooManyUncles: AugmentedError<ApiType>;
61
- /**
62
- * The uncle is already included.
63
- **/
64
- UncleAlreadyIncluded: AugmentedError<ApiType>;
65
- /**
66
- * Uncles already set in the block.
67
- **/
68
- UnclesAlreadySet: AugmentedError<ApiType>;
69
- /**
70
- * Generic error
71
- **/
72
- [key: string]: AugmentedError<ApiType>;
73
- };
74
40
  babe: {
75
41
  /**
76
42
  * A given equivocation report is valid but already previously reported.
@@ -501,6 +467,10 @@ declare module '@polkadot/api-base/types/errors' {
501
467
  * The given account did not vote on the referendum.
502
468
  **/
503
469
  NotVoter: AugmentedError<ApiType>;
470
+ /**
471
+ * The preimage does not exist.
472
+ **/
473
+ PreimageNotExist: AugmentedError<ApiType>;
504
474
  /**
505
475
  * Proposal still blacklisted
506
476
  **/
@@ -716,6 +686,10 @@ declare module '@polkadot/api-base/types/errors' {
716
686
  * No track exists for the proposal origin.
717
687
  **/
718
688
  NoTrack: AugmentedError<ApiType>;
689
+ /**
690
+ * The preimage does not exist.
691
+ **/
692
+ PreimageNotExist: AugmentedError<ApiType>;
719
693
  /**
720
694
  * The queue of the track is empty.
721
695
  **/
@@ -1470,12 +1444,20 @@ declare module '@polkadot/api-base/types/errors' {
1470
1444
  * Invalid signature on statement.
1471
1445
  **/
1472
1446
  InvalidSignature: AugmentedError<ApiType>;
1447
+ /**
1448
+ * A dispute vote from a malicious backer.
1449
+ **/
1450
+ MaliciousBacker: AugmentedError<ApiType>;
1451
+ /**
1452
+ * No backing votes were provides along dispute statements.
1453
+ **/
1454
+ MissingBackingVotes: AugmentedError<ApiType>;
1473
1455
  /**
1474
1456
  * A dispute where there are only votes on one side.
1475
1457
  **/
1476
1458
  SingleSidedDispute: AugmentedError<ApiType>;
1477
1459
  /**
1478
- * Unconfirmed dispute statement sets provided
1460
+ * Unconfirmed dispute statement sets provided.
1479
1461
  **/
1480
1462
  UnconfirmedDispute: AugmentedError<ApiType>;
1481
1463
  /**
@@ -1740,6 +1722,10 @@ declare module '@polkadot/api-base/types/errors' {
1740
1722
  * No track exists for the proposal origin.
1741
1723
  **/
1742
1724
  NoTrack: AugmentedError<ApiType>;
1725
+ /**
1726
+ * The preimage does not exist.
1727
+ **/
1728
+ PreimageNotExist: AugmentedError<ApiType>;
1743
1729
  /**
1744
1730
  * The queue of the track is empty.
1745
1731
  **/
@@ -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, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } 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> {
@@ -429,6 +429,28 @@ declare module '@polkadot/api-base/types/events' {
429
429
  * An external proposal has been tabled.
430
430
  **/
431
431
  ExternalTabled: AugmentedEvent<ApiType, []>;
432
+ /**
433
+ * Metadata for a proposal or a referendum has been cleared.
434
+ **/
435
+ MetadataCleared: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
436
+ owner: PalletDemocracyMetadataOwner;
437
+ hash_: H256;
438
+ }>;
439
+ /**
440
+ * Metadata for a proposal or a referendum has been set.
441
+ **/
442
+ MetadataSet: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
443
+ owner: PalletDemocracyMetadataOwner;
444
+ hash_: H256;
445
+ }>;
446
+ /**
447
+ * Metadata has been transferred to new owner.
448
+ **/
449
+ MetadataTransferred: AugmentedEvent<ApiType, [prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256], {
450
+ prevOwner: PalletDemocracyMetadataOwner;
451
+ owner: PalletDemocracyMetadataOwner;
452
+ hash_: H256;
453
+ }>;
432
454
  /**
433
455
  * A proposal has been rejected by referendum.
434
456
  **/
@@ -698,6 +720,20 @@ declare module '@polkadot/api-base/types/events' {
698
720
  index: u32;
699
721
  tally: PalletRankedCollectiveTally;
700
722
  }>;
723
+ /**
724
+ * Metadata for a referendum has been cleared.
725
+ **/
726
+ MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
727
+ index: u32;
728
+ hash_: H256;
729
+ }>;
730
+ /**
731
+ * Metadata for a referendum has been set.
732
+ **/
733
+ MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
734
+ index: u32;
735
+ hash_: H256;
736
+ }>;
701
737
  /**
702
738
  * A proposal has been rejected by referendum.
703
739
  **/
@@ -1547,6 +1583,20 @@ declare module '@polkadot/api-base/types/events' {
1547
1583
  index: u32;
1548
1584
  tally: PalletConvictionVotingTally;
1549
1585
  }>;
1586
+ /**
1587
+ * Metadata for a referendum has been cleared.
1588
+ **/
1589
+ MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1590
+ index: u32;
1591
+ hash_: H256;
1592
+ }>;
1593
+ /**
1594
+ * Metadata for a referendum has been set.
1595
+ **/
1596
+ MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1597
+ index: u32;
1598
+ hash_: H256;
1599
+ }>;
1550
1600
  /**
1551
1601
  * A proposal has been rejected by referendum.
1552
1602
  **/
@@ -1752,6 +1802,12 @@ declare module '@polkadot/api-base/types/events' {
1752
1802
  NewMaxMembers: AugmentedEvent<ApiType, [max: u32], {
1753
1803
  max: u32;
1754
1804
  }>;
1805
+ /**
1806
+ * A group of members has been choosen as Skeptics
1807
+ **/
1808
+ SkepticsChosen: AugmentedEvent<ApiType, [skeptics: Vec<AccountId32>], {
1809
+ skeptics: Vec<AccountId32>;
1810
+ }>;
1755
1811
  /**
1756
1812
  * A suspended member has been judged.
1757
1813
  **/
package/kusama/query.d.ts CHANGED
@@ -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 { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
+ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, 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
7
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotPrimitivesVstagingExecutorParams, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, 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>;
@@ -45,14 +45,6 @@ declare module '@polkadot/api-base/types/storage' {
45
45
  * Author of current block.
46
46
  **/
47
47
  author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
48
- /**
49
- * Whether uncles were already set in this block.
50
- **/
51
- didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
52
- /**
53
- * Uncles
54
- **/
55
- uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
56
48
  /**
57
49
  * Generic query
58
50
  **/
@@ -403,6 +395,21 @@ declare module '@polkadot/api-base/types/storage' {
403
395
  * `ReferendumCount` if there isn't a unbaked referendum.
404
396
  **/
405
397
  lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
398
+ /**
399
+ * General information concerning any proposal or referendum.
400
+ * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON
401
+ * dump or IPFS hash of a JSON file.
402
+ *
403
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
404
+ * large preimages.
405
+ **/
406
+ metadataOf: AugmentedQuery<ApiType, (arg: PalletDemocracyMetadataOwner | {
407
+ External: any;
408
+ } | {
409
+ Proposal: any;
410
+ } | {
411
+ Referendum: any;
412
+ } | string | Uint8Array) => Observable<Option<H256>>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
406
413
  /**
407
414
  * The referendum to be tabled whenever it would be valid to table an external proposal.
408
415
  * This happens when a referendum needs to be tabled and one of two conditions are met:
@@ -604,6 +611,15 @@ declare module '@polkadot/api-base/types/storage' {
604
611
  * The number of referenda being decided currently.
605
612
  **/
606
613
  decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
614
+ /**
615
+ * The metadata is a general information concerning the referendum.
616
+ * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON
617
+ * dump or IPFS hash of a JSON file.
618
+ *
619
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
620
+ * large preimages.
621
+ **/
622
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
607
623
  /**
608
624
  * The next free referendum index, aka the number of referenda started so far.
609
625
  **/
@@ -642,6 +658,12 @@ declare module '@polkadot/api-base/types/storage' {
642
658
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
643
659
  * members were responsible.
644
660
  *
661
+ * This is only used for validating equivocation proofs. An equivocation proof must
662
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
663
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
664
+ * was the owner of a given key on a given session, and what the active set ID was
665
+ * during that session.
666
+ *
645
667
  * TWOX-NOTE: `SetId` is not under user control.
646
668
  **/
647
669
  setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
@@ -1284,6 +1306,11 @@ declare module '@polkadot/api-base/types/storage' {
1284
1306
  [key: string]: QueryableStorageEntry<ApiType>;
1285
1307
  };
1286
1308
  parasDisputes: {
1309
+ /**
1310
+ * Backing votes stored for each dispute.
1311
+ * This storage is used for slashing.
1312
+ **/
1313
+ backersOnDisputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<BTreeSet<u32>>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1287
1314
  /**
1288
1315
  * All ongoing or concluded disputes for the last several sessions.
1289
1316
  **/
@@ -1325,6 +1352,10 @@ declare module '@polkadot/api-base/types/storage' {
1325
1352
  * The earliest session for which previous session info is stored.
1326
1353
  **/
1327
1354
  earliestStoredSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1355
+ /**
1356
+ * Executor parameter set for a given session index
1357
+ **/
1358
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1328
1359
  /**
1329
1360
  * Session information in a rolling window.
1330
1361
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
@@ -1448,6 +1479,15 @@ declare module '@polkadot/api-base/types/storage' {
1448
1479
  * The number of referenda being decided currently.
1449
1480
  **/
1450
1481
  decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1482
+ /**
1483
+ * The metadata is a general information concerning the referendum.
1484
+ * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON
1485
+ * dump or IPFS hash of a JSON file.
1486
+ *
1487
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1488
+ * large preimages.
1489
+ **/
1490
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1451
1491
  /**
1452
1492
  * The next free referendum index, aka the number of referenda started so far.
1453
1493
  **/