@polkadot/api-augment 9.2.2 → 9.2.3

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.
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.2.2",
23
+ "version": "9.2.3",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -186,11 +186,11 @@
186
186
  },
187
187
  "dependencies": {
188
188
  "@babel/runtime": "^7.18.9",
189
- "@polkadot/api-base": "9.2.2",
190
- "@polkadot/rpc-augment": "9.2.2",
191
- "@polkadot/types": "9.2.2",
192
- "@polkadot/types-augment": "9.2.2",
193
- "@polkadot/types-codec": "9.2.2",
194
- "@polkadot/util": "^10.1.4"
189
+ "@polkadot/api-base": "9.2.3",
190
+ "@polkadot/rpc-augment": "9.2.3",
191
+ "@polkadot/types": "9.2.3",
192
+ "@polkadot/types-augment": "9.2.3",
193
+ "@polkadot/types-codec": "9.2.3",
194
+ "@polkadot/util": "^10.1.5"
195
195
  }
196
196
  }
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/api-augment',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '9.2.2'
8
+ version: '9.2.3'
9
9
  };
@@ -404,6 +404,31 @@ declare module '@polkadot/api-base/types/consts' {
404
404
  **/
405
405
  [key: string]: Codec;
406
406
  };
407
+ nominationPools: {
408
+ /**
409
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
410
+ *
411
+ * This is important in the event slashing takes place and the pool's points-to-balance
412
+ * ratio becomes disproportional.
413
+ *
414
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
415
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
416
+ * that the total number of points in the system are at most 10 times the total_issuance of
417
+ * the chain, in the absolute worse case.
418
+ *
419
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
420
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
421
+ **/
422
+ maxPointsToBalance: u8 & AugmentedConst<ApiType>;
423
+ /**
424
+ * The nomination pool's pallet id.
425
+ **/
426
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
427
+ /**
428
+ * Generic const
429
+ **/
430
+ [key: string]: Codec;
431
+ };
407
432
  paras: {
408
433
  unsignedPriority: u64 & AugmentedConst<ApiType>;
409
434
  /**
@@ -424,6 +449,21 @@ declare module '@polkadot/api-base/types/consts' {
424
449
  * Number of runners_up to keep.
425
450
  **/
426
451
  desiredRunnersUp: u32 & AugmentedConst<ApiType>;
452
+ /**
453
+ * The maximum number of candidates in a phragmen election.
454
+ *
455
+ * Warning: The election happens onchain, and this value will determine
456
+ * the size of the election. When this limit is reached no more
457
+ * candidates are accepted in the election.
458
+ **/
459
+ maxCandidates: u32 & AugmentedConst<ApiType>;
460
+ /**
461
+ * The maximum number of voters to allow in a phragmen election.
462
+ *
463
+ * Warning: This impacts the size of the election which is run onchain.
464
+ * When the limit is reached the new voters are ignored.
465
+ **/
466
+ maxVoters: u32 & AugmentedConst<ApiType>;
427
467
  /**
428
468
  * Identifier for the elections-phragmen pallet's lock
429
469
  **/
@@ -852,6 +852,104 @@ declare module '@polkadot/api-base/types/errors' {
852
852
  **/
853
853
  [key: string]: AugmentedError<ApiType>;
854
854
  };
855
+ nominationPools: {
856
+ /**
857
+ * An account is already delegating in another pool. An account may only belong to one
858
+ * pool at a time.
859
+ **/
860
+ AccountBelongsToOtherPool: AugmentedError<ApiType>;
861
+ /**
862
+ * The pools state cannot be changed.
863
+ **/
864
+ CanNotChangeState: AugmentedError<ApiType>;
865
+ /**
866
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
867
+ **/
868
+ CannotWithdrawAny: AugmentedError<ApiType>;
869
+ /**
870
+ * Some error occurred that should never happen. This should be reported to the
871
+ * maintainers.
872
+ **/
873
+ Defensive: AugmentedError<ApiType>;
874
+ /**
875
+ * The caller does not have adequate permissions.
876
+ **/
877
+ DoesNotHavePermission: AugmentedError<ApiType>;
878
+ /**
879
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
880
+ * anymore to, for example, collect rewards).
881
+ **/
882
+ FullyUnbonding: AugmentedError<ApiType>;
883
+ /**
884
+ * Too many members in the pool or system.
885
+ **/
886
+ MaxPoolMembers: AugmentedError<ApiType>;
887
+ /**
888
+ * The system is maxed out on pools.
889
+ **/
890
+ MaxPools: AugmentedError<ApiType>;
891
+ /**
892
+ * The member cannot unbond further chunks due to reaching the limit.
893
+ **/
894
+ MaxUnbondingLimit: AugmentedError<ApiType>;
895
+ /**
896
+ * Metadata exceeds [`Config::MaxMetadataLen`]
897
+ **/
898
+ MetadataExceedsMaxLen: AugmentedError<ApiType>;
899
+ /**
900
+ * The amount does not meet the minimum bond to either join or create a pool.
901
+ *
902
+ * The depositor can never unbond to a value less than
903
+ * `Pallet::depositor_min_bond`. The caller does not have nominating
904
+ * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
905
+ **/
906
+ MinimumBondNotMet: AugmentedError<ApiType>;
907
+ /**
908
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
909
+ * other members to be permissionlessly unbonded.
910
+ **/
911
+ NotDestroying: AugmentedError<ApiType>;
912
+ /**
913
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
914
+ **/
915
+ NotKickerOrDestroying: AugmentedError<ApiType>;
916
+ /**
917
+ * The caller does not have nominating permissions for the pool.
918
+ **/
919
+ NotNominator: AugmentedError<ApiType>;
920
+ /**
921
+ * The pool is not open to join
922
+ **/
923
+ NotOpen: AugmentedError<ApiType>;
924
+ /**
925
+ * The transaction could not be executed due to overflow risk for the pool.
926
+ **/
927
+ OverflowRisk: AugmentedError<ApiType>;
928
+ /**
929
+ * Partial unbonding now allowed permissionlessly.
930
+ **/
931
+ PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
932
+ /**
933
+ * An account is not a member.
934
+ **/
935
+ PoolMemberNotFound: AugmentedError<ApiType>;
936
+ /**
937
+ * A (bonded) pool id does not exist.
938
+ **/
939
+ PoolNotFound: AugmentedError<ApiType>;
940
+ /**
941
+ * A reward pool does not exist. In all cases this is a system logic error.
942
+ **/
943
+ RewardPoolNotFound: AugmentedError<ApiType>;
944
+ /**
945
+ * A sub pool does not exist.
946
+ **/
947
+ SubPoolsNotFound: AugmentedError<ApiType>;
948
+ /**
949
+ * Generic error
950
+ **/
951
+ [key: string]: AugmentedError<ApiType>;
952
+ };
855
953
  paraInclusion: {
856
954
  /**
857
955
  * Bitfield consists of zeros only.
@@ -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 } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
8
  export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -798,6 +798,116 @@ declare module '@polkadot/api-base/types/events' {
798
798
  **/
799
799
  [key: string]: AugmentedEvent<ApiType>;
800
800
  };
801
+ nominationPools: {
802
+ /**
803
+ * A member has became bonded in a pool.
804
+ **/
805
+ Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], {
806
+ member: AccountId32;
807
+ poolId: u32;
808
+ bonded: u128;
809
+ joined: bool;
810
+ }>;
811
+ /**
812
+ * A pool has been created.
813
+ **/
814
+ Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], {
815
+ depositor: AccountId32;
816
+ poolId: u32;
817
+ }>;
818
+ /**
819
+ * A pool has been destroyed.
820
+ **/
821
+ Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
822
+ poolId: u32;
823
+ }>;
824
+ /**
825
+ * A member has been removed from a pool.
826
+ *
827
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
828
+ **/
829
+ MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], {
830
+ poolId: u32;
831
+ member: AccountId32;
832
+ }>;
833
+ /**
834
+ * A payout has been made to a member.
835
+ **/
836
+ PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], {
837
+ member: AccountId32;
838
+ poolId: u32;
839
+ payout: u128;
840
+ }>;
841
+ /**
842
+ * The active balance of pool `pool_id` has been slashed to `balance`.
843
+ **/
844
+ PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], {
845
+ poolId: u32;
846
+ balance: u128;
847
+ }>;
848
+ /**
849
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
850
+ * can never change.
851
+ **/
852
+ RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, stateToggler: Option<AccountId32>, nominator: Option<AccountId32>], {
853
+ root: Option<AccountId32>;
854
+ stateToggler: Option<AccountId32>;
855
+ nominator: Option<AccountId32>;
856
+ }>;
857
+ /**
858
+ * The state of a pool has changed
859
+ **/
860
+ StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], {
861
+ poolId: u32;
862
+ newState: PalletNominationPoolsPoolState;
863
+ }>;
864
+ /**
865
+ * A member has unbonded from their pool.
866
+ *
867
+ * - `balance` is the corresponding balance of the number of points that has been
868
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
869
+ * pool.
870
+ * - `points` is the number of points that are issued as a result of `balance` being
871
+ * dissolved into the corresponding unbonding pool.
872
+ * - `era` is the era in which the balance will be unbonded.
873
+ * In the absence of slashing, these values will match. In the presence of slashing, the
874
+ * number of points that are issued in the unbonding pool will be less than the amount
875
+ * requested to be unbonded.
876
+ **/
877
+ Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], {
878
+ member: AccountId32;
879
+ poolId: u32;
880
+ balance: u128;
881
+ points: u128;
882
+ era: u32;
883
+ }>;
884
+ /**
885
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
886
+ **/
887
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], {
888
+ poolId: u32;
889
+ era: u32;
890
+ balance: u128;
891
+ }>;
892
+ /**
893
+ * A member has withdrawn from their pool.
894
+ *
895
+ * The given number of `points` have been dissolved in return of `balance`.
896
+ *
897
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
898
+ * will be 1.
899
+ **/
900
+ Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
901
+ member: AccountId32;
902
+ poolId: u32;
903
+ balance: u128;
904
+ points: u128;
905
+ }>;
906
+ /**
907
+ * Generic event
908
+ **/
909
+ [key: string]: AugmentedEvent<ApiType>;
910
+ };
801
911
  offences: {
802
912
  /**
803
913
  * There is an offence reported of the given `kind` happened at the `session_index` and
@@ -5,7 +5,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
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 { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, 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, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, 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, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -777,6 +777,98 @@ declare module '@polkadot/api-base/types/storage' {
777
777
  **/
778
778
  [key: string]: QueryableStorageEntry<ApiType>;
779
779
  };
780
+ nominationPools: {
781
+ /**
782
+ * Storage for bonded pools.
783
+ **/
784
+ bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
785
+ /**
786
+ * Counter for the related counted storage map
787
+ **/
788
+ counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
789
+ /**
790
+ * Counter for the related counted storage map
791
+ **/
792
+ counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
793
+ /**
794
+ * Counter for the related counted storage map
795
+ **/
796
+ counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
797
+ /**
798
+ * Counter for the related counted storage map
799
+ **/
800
+ counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
801
+ /**
802
+ * Counter for the related counted storage map
803
+ **/
804
+ counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
805
+ /**
806
+ * Counter for the related counted storage map
807
+ **/
808
+ counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
809
+ /**
810
+ * Ever increasing number of all pools created so far.
811
+ **/
812
+ lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
813
+ /**
814
+ * Maximum number of members that can exist in the system. If `None`, then the count
815
+ * members are not bound on a system wide basis.
816
+ **/
817
+ maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
818
+ /**
819
+ * Maximum number of members that may belong to pool. If `None`, then the count of
820
+ * members is not bound on a per pool basis.
821
+ **/
822
+ maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
823
+ /**
824
+ * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
825
+ * pools can exist.
826
+ **/
827
+ maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
828
+ /**
829
+ * Metadata for the pool.
830
+ **/
831
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
832
+ /**
833
+ * Minimum bond required to create a pool.
834
+ *
835
+ * This is the amount that the depositor must put as their initial stake in the pool, as an
836
+ * indication of "skin in the game".
837
+ *
838
+ * This is the value that will always exist in the staking ledger of the pool bonded account
839
+ * while all other accounts leave.
840
+ **/
841
+ minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
842
+ /**
843
+ * Minimum amount to bond to join a pool.
844
+ **/
845
+ minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
846
+ /**
847
+ * Active members.
848
+ **/
849
+ poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
850
+ /**
851
+ * A reverse lookup from the pool's account id to its id.
852
+ *
853
+ * This is only used for slashing. In all other instances, the pool id is used, and the
854
+ * accounts are deterministically derived from it.
855
+ **/
856
+ reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
857
+ /**
858
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout
859
+ * is claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
860
+ **/
861
+ rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
862
+ /**
863
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a bonded pool,
864
+ * hence the name sub-pools. Keyed by the bonded pools account.
865
+ **/
866
+ subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
867
+ /**
868
+ * Generic query
869
+ **/
870
+ [key: string]: QueryableStorageEntry<ApiType>;
871
+ };
780
872
  offences: {
781
873
  /**
782
874
  * A vector of reports of the same kind that happened at the same time slot.
@@ -1,7 +1,7 @@
1
1
  import '@polkadot/api-base/types/calls';
2
2
  import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
4
- import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
4
+ import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
6
6
  import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
7
7
  import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
13
13
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
14
14
  import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
15
15
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
16
- import type { AccountId, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
16
+ import type { AccountId, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
17
17
  import type { SessionIndex } from '@polkadot/types/interfaces/session';
18
18
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
19
19
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
@@ -387,5 +387,20 @@ declare module '@polkadot/api-base/types/calls' {
387
387
  **/
388
388
  [key: string]: DecoratedCallBase<ApiType>;
389
389
  };
390
+ /** 0xf3ff14d5ab527059/1 */
391
+ transactionPaymentCallApi: {
392
+ /**
393
+ * The call fee details
394
+ **/
395
+ queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
396
+ /**
397
+ * The call info
398
+ **/
399
+ queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
400
+ /**
401
+ * Generic call
402
+ **/
403
+ [key: string]: DecoratedCallBase<ApiType>;
404
+ };
390
405
  }
391
406
  }