@polkadot/api-augment 9.5.1 → 9.6.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.
Files changed (47) hide show
  1. package/base.js +1 -0
  2. package/bundle.js +1 -0
  3. package/cjs/base.js +0 -1
  4. package/cjs/bundle.js +0 -2
  5. package/cjs/detectOther.js +0 -4
  6. package/cjs/detectPackage.js +2 -4
  7. package/cjs/index.js +0 -3
  8. package/cjs/kusama/index.js +0 -7
  9. package/cjs/kusama/registry.js +0 -2
  10. package/cjs/packageInfo.js +3 -1
  11. package/cjs/polkadot/index.js +0 -7
  12. package/cjs/polkadot/registry.js +0 -1
  13. package/cjs/substrate/index.js +0 -7
  14. package/detectOther.js +1 -0
  15. package/detectPackage.js +2 -0
  16. package/index.js +1 -0
  17. package/kusama/consts.js +4 -2
  18. package/kusama/errors.js +4 -2
  19. package/kusama/events.js +4 -2
  20. package/kusama/index.js +1 -0
  21. package/kusama/query.js +4 -2
  22. package/kusama/registry.js +1 -0
  23. package/kusama/runtime.js +4 -2
  24. package/kusama/tx.js +4 -2
  25. package/package.json +8 -8
  26. package/packageInfo.js +3 -1
  27. package/polkadot/consts.js +4 -2
  28. package/polkadot/errors.js +4 -2
  29. package/polkadot/events.js +4 -2
  30. package/polkadot/index.js +1 -0
  31. package/polkadot/query.js +4 -2
  32. package/polkadot/registry.js +1 -0
  33. package/polkadot/runtime.js +4 -2
  34. package/polkadot/tx.js +4 -2
  35. package/substrate/consts.d.ts +10 -29
  36. package/substrate/consts.js +4 -2
  37. package/substrate/errors.d.ts +8 -28
  38. package/substrate/errors.js +4 -2
  39. package/substrate/events.d.ts +29 -63
  40. package/substrate/events.js +4 -2
  41. package/substrate/index.js +1 -0
  42. package/substrate/query.d.ts +14 -25
  43. package/substrate/query.js +4 -2
  44. package/substrate/registry.js +1 -0
  45. package/substrate/runtime.js +4 -2
  46. package/substrate/tx.d.ts +70 -168
  47. package/substrate/tx.js +4 -2
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
7
7
  export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -658,13 +658,6 @@ declare module '@polkadot/api-base/types/events' {
658
658
  who: AccountId32;
659
659
  target: AccountId32;
660
660
  }>;
661
- /**
662
- * A proposal has been enacted.
663
- **/
664
- Executed: AugmentedEvent<ApiType, [refIndex: u32, result: Result<Null, SpRuntimeDispatchError>], {
665
- refIndex: u32;
666
- result: Result<Null, SpRuntimeDispatchError>;
667
- }>;
668
661
  /**
669
662
  * An external proposal has been tabled.
670
663
  **/
@@ -681,45 +674,6 @@ declare module '@polkadot/api-base/types/events' {
681
674
  Passed: AugmentedEvent<ApiType, [refIndex: u32], {
682
675
  refIndex: u32;
683
676
  }>;
684
- /**
685
- * A proposal could not be executed because its preimage was invalid.
686
- **/
687
- PreimageInvalid: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
688
- proposalHash: H256;
689
- refIndex: u32;
690
- }>;
691
- /**
692
- * A proposal could not be executed because its preimage was missing.
693
- **/
694
- PreimageMissing: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
695
- proposalHash: H256;
696
- refIndex: u32;
697
- }>;
698
- /**
699
- * A proposal's preimage was noted, and the deposit taken.
700
- **/
701
- PreimageNoted: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32, deposit: u128], {
702
- proposalHash: H256;
703
- who: AccountId32;
704
- deposit: u128;
705
- }>;
706
- /**
707
- * A registered preimage was removed and the deposit collected by the reaper.
708
- **/
709
- PreimageReaped: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128, reaper: AccountId32], {
710
- proposalHash: H256;
711
- provider: AccountId32;
712
- deposit: u128;
713
- reaper: AccountId32;
714
- }>;
715
- /**
716
- * A proposal preimage was removed and used (the deposit was returned).
717
- **/
718
- PreimageUsed: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128], {
719
- proposalHash: H256;
720
- provider: AccountId32;
721
- deposit: u128;
722
- }>;
723
677
  /**
724
678
  * A proposal got canceled.
725
679
  **/
@@ -750,10 +704,9 @@ declare module '@polkadot/api-base/types/events' {
750
704
  /**
751
705
  * A public proposal has been tabled for referendum vote.
752
706
  **/
753
- Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128, depositors: Vec<AccountId32>], {
707
+ Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
754
708
  proposalIndex: u32;
755
709
  deposit: u128;
756
- depositors: Vec<AccountId32>;
757
710
  }>;
758
711
  /**
759
712
  * An account has cancelled a previous delegation operation.
@@ -1467,10 +1420,10 @@ declare module '@polkadot/api-base/types/events' {
1467
1420
  /**
1468
1421
  * A referendum has moved into the deciding phase.
1469
1422
  **/
1470
- DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256, tally: PalletRankedCollectiveTally], {
1423
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletRankedCollectiveTally], {
1471
1424
  index: u32;
1472
1425
  track: u16;
1473
- proposalHash: H256;
1426
+ proposal: FrameSupportPreimagesBounded;
1474
1427
  tally: PalletRankedCollectiveTally;
1475
1428
  }>;
1476
1429
  /**
@@ -1497,10 +1450,10 @@ declare module '@polkadot/api-base/types/events' {
1497
1450
  /**
1498
1451
  * A referendum has being submitted.
1499
1452
  **/
1500
- Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256], {
1453
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1501
1454
  index: u32;
1502
1455
  track: u16;
1503
- proposalHash: H256;
1456
+ proposal: FrameSupportPreimagesBounded;
1504
1457
  }>;
1505
1458
  /**
1506
1459
  * A referendum has been timed out without being decided.
@@ -1607,10 +1560,10 @@ declare module '@polkadot/api-base/types/events' {
1607
1560
  /**
1608
1561
  * A referendum has moved into the deciding phase.
1609
1562
  **/
1610
- DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256, tally: PalletConvictionVotingTally], {
1563
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally], {
1611
1564
  index: u32;
1612
1565
  track: u16;
1613
- proposalHash: H256;
1566
+ proposal: FrameSupportPreimagesBounded;
1614
1567
  tally: PalletConvictionVotingTally;
1615
1568
  }>;
1616
1569
  /**
@@ -1637,10 +1590,10 @@ declare module '@polkadot/api-base/types/events' {
1637
1590
  /**
1638
1591
  * A referendum has being submitted.
1639
1592
  **/
1640
- Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256], {
1593
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1641
1594
  index: u32;
1642
1595
  track: u16;
1643
- proposalHash: H256;
1596
+ proposal: FrameSupportPreimagesBounded;
1644
1597
  }>;
1645
1598
  /**
1646
1599
  * A referendum has been timed out without being decided.
@@ -1671,10 +1624,9 @@ declare module '@polkadot/api-base/types/events' {
1671
1624
  /**
1672
1625
  * The call for the provided hash was not found so the task has been aborted.
1673
1626
  **/
1674
- CallLookupFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<Bytes>, error: FrameSupportScheduleLookupError], {
1627
+ CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1675
1628
  task: ITuple<[u32, u32]>;
1676
- id: Option<Bytes>;
1677
- error: FrameSupportScheduleLookupError;
1629
+ id: Option<U8aFixed>;
1678
1630
  }>;
1679
1631
  /**
1680
1632
  * Canceled some task.
@@ -1686,11 +1638,25 @@ declare module '@polkadot/api-base/types/events' {
1686
1638
  /**
1687
1639
  * Dispatched some task.
1688
1640
  **/
1689
- Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<Bytes>, result: Result<Null, SpRuntimeDispatchError>], {
1641
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], {
1690
1642
  task: ITuple<[u32, u32]>;
1691
- id: Option<Bytes>;
1643
+ id: Option<U8aFixed>;
1692
1644
  result: Result<Null, SpRuntimeDispatchError>;
1693
1645
  }>;
1646
+ /**
1647
+ * The given task was unable to be renewed since the agenda is full at that block.
1648
+ **/
1649
+ PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1650
+ task: ITuple<[u32, u32]>;
1651
+ id: Option<U8aFixed>;
1652
+ }>;
1653
+ /**
1654
+ * The given task can never be executed since it is overweight.
1655
+ **/
1656
+ PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1657
+ task: ITuple<[u32, u32]>;
1658
+ id: Option<U8aFixed>;
1659
+ }>;
1694
1660
  /**
1695
1661
  * Scheduled some task.
1696
1662
  **/
@@ -2522,7 +2488,7 @@ declare module '@polkadot/api-base/types/events' {
2522
2488
  **/
2523
2489
  [key: string]: AugmentedEvent<ApiType>;
2524
2490
  };
2525
- voterBagsList: {
2491
+ voterList: {
2526
2492
  /**
2527
2493
  * Moved an account from one bag to another.
2528
2494
  **/
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events'; // declare module
6
+ import '@polkadot/api-base/types/events';
7
+
8
+ // declare module
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "../base.js";
4
5
  import "./consts.js";
5
6
  import "./errors.js";
@@ -1,10 +1,10 @@
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 { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -473,20 +473,15 @@ declare module '@polkadot/api-base/types/storage' {
473
473
  * - `LastTabledWasExternal` is `false`; or
474
474
  * - `PublicProps` is empty.
475
475
  **/
476
- nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
477
- /**
478
- * Map of hashes to the proposal preimage, along with who registered it and their deposit.
479
- * The block number is the block at which it was deposited.
480
- **/
481
- preimages: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDemocracyPreimageStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
476
+ nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
482
477
  /**
483
478
  * The number of (public) proposals that have been made so far.
484
479
  **/
485
480
  publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
486
481
  /**
487
- * The public proposals. Unsorted. The second item is the proposal's hash.
482
+ * The public proposals. Unsorted. The second item is the proposal.
488
483
  **/
489
- publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, H256, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
484
+ publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
490
485
  /**
491
486
  * The next free referendum index, aka the number of referenda started so far.
492
487
  **/
@@ -497,12 +492,6 @@ declare module '@polkadot/api-base/types/storage' {
497
492
  * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
498
493
  **/
499
494
  referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
500
- /**
501
- * Storage version of the pallet.
502
- *
503
- * New networks start with last version.
504
- **/
505
- storageVersion: AugmentedQuery<ApiType, () => Observable<Option<PalletDemocracyReleases>>, []> & QueryableStorageEntry<ApiType, []>;
506
495
  /**
507
496
  * All votes for a particular voter. We store the balance for the number of votes that we
508
497
  * have recorded. The second item is the total amount of delegations, that will be added.
@@ -850,7 +839,6 @@ declare module '@polkadot/api-base/types/storage' {
850
839
  [key: string]: QueryableStorageEntry<ApiType>;
851
840
  };
852
841
  multisig: {
853
- calls: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[WrapperKeepOpaque<Call>, AccountId32, u128]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
854
842
  /**
855
843
  * The set of open multisig operations.
856
844
  **/
@@ -976,10 +964,7 @@ declare module '@polkadot/api-base/types/storage' {
976
964
  [key: string]: QueryableStorageEntry<ApiType>;
977
965
  };
978
966
  preimage: {
979
- /**
980
- * The preimages stored by this pallet.
981
- **/
982
- preimageFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
967
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
983
968
  /**
984
969
  * The request status of a given hash.
985
970
  **/
@@ -1122,11 +1107,15 @@ declare module '@polkadot/api-base/types/storage' {
1122
1107
  /**
1123
1108
  * Items to be executed, indexed by the block number that they should be executed on.
1124
1109
  **/
1125
- agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1110
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1111
+ incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1126
1112
  /**
1127
- * Lookup from identity to the block number and index of the task.
1113
+ * Lookup from a name to the block number and index of the task.
1114
+ *
1115
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1116
+ * identities.
1128
1117
  **/
1129
- lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
1118
+ lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1130
1119
  /**
1131
1120
  * Generic query
1132
1121
  **/
@@ -1793,7 +1782,7 @@ declare module '@polkadot/api-base/types/storage' {
1793
1782
  **/
1794
1783
  [key: string]: QueryableStorageEntry<ApiType>;
1795
1784
  };
1796
- voterBagsList: {
1785
+ voterList: {
1797
1786
  /**
1798
1787
  * Counter for the related counted storage map
1799
1788
  **/
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage'; // declare module
6
+ import '@polkadot/api-base/types/storage';
7
+
8
+ // declare module
@@ -1,3 +1,4 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import '@polkadot/types-augment/registry/substrate';
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls'; // declare module
6
+ import '@polkadot/api-base/types/calls';
7
+
8
+ // declare module