@polkadot/api-augment 16.2.2 → 16.4.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 (41) hide show
  1. package/assetHubKusama/consts.d.ts +95 -2
  2. package/assetHubKusama/errors.d.ts +254 -10
  3. package/assetHubKusama/events.d.ts +103 -3
  4. package/assetHubKusama/query.d.ts +72 -6
  5. package/assetHubKusama/runtime.d.ts +113 -4
  6. package/assetHubKusama/tx.d.ts +278 -1
  7. package/cjs/assetHubKusama/consts.d.ts +95 -2
  8. package/cjs/assetHubKusama/errors.d.ts +254 -10
  9. package/cjs/assetHubKusama/events.d.ts +103 -3
  10. package/cjs/assetHubKusama/query.d.ts +72 -6
  11. package/cjs/assetHubKusama/runtime.d.ts +113 -4
  12. package/cjs/assetHubKusama/tx.d.ts +278 -1
  13. package/cjs/kusama/consts.d.ts +31 -7
  14. package/cjs/kusama/errors.d.ts +41 -2
  15. package/cjs/kusama/events.d.ts +167 -4
  16. package/cjs/kusama/query.d.ts +31 -12
  17. package/cjs/kusama/runtime.d.ts +10 -2
  18. package/cjs/kusama/tx.d.ts +205 -26
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +27 -5
  21. package/cjs/polkadot/errors.d.ts +41 -2
  22. package/cjs/polkadot/events.d.ts +167 -4
  23. package/cjs/polkadot/query.d.ts +31 -12
  24. package/cjs/polkadot/runtime.d.ts +10 -2
  25. package/cjs/polkadot/tx.d.ts +204 -25
  26. package/cjs/substrate/runtime.d.ts +7 -7
  27. package/kusama/consts.d.ts +31 -7
  28. package/kusama/errors.d.ts +41 -2
  29. package/kusama/events.d.ts +167 -4
  30. package/kusama/query.d.ts +31 -12
  31. package/kusama/runtime.d.ts +10 -2
  32. package/kusama/tx.d.ts +205 -26
  33. package/package.json +7 -7
  34. package/packageInfo.js +1 -1
  35. package/polkadot/consts.d.ts +27 -5
  36. package/polkadot/errors.d.ts +41 -2
  37. package/polkadot/events.d.ts +167 -4
  38. package/polkadot/query.d.ts +31 -12
  39. package/polkadot/runtime.d.ts +10 -2
  40. package/polkadot/tx.d.ts +204 -25
  41. package/substrate/runtime.d.ts +7 -7
@@ -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 } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -391,19 +391,26 @@ declare module '@polkadot/api-base/types/events' {
391
391
  **/
392
392
  Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
393
393
  /**
394
- * An account that has voted
394
+ * An account has voted
395
395
  **/
396
396
  Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
397
397
  who: AccountId32;
398
398
  vote: PalletConvictionVotingVoteAccountVote;
399
399
  }>;
400
400
  /**
401
- * A vote that been removed
401
+ * A vote has been removed
402
402
  **/
403
403
  VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
404
404
  who: AccountId32;
405
405
  vote: PalletConvictionVotingVoteAccountVote;
406
406
  }>;
407
+ /**
408
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
409
+ **/
410
+ VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], {
411
+ who: AccountId32;
412
+ class: u16;
413
+ }>;
407
414
  /**
408
415
  * Generic event
409
416
  **/
@@ -715,6 +722,15 @@ declare module '@polkadot/api-base/types/events' {
715
722
  [key: string]: AugmentedEvent<ApiType>;
716
723
  };
717
724
  indices: {
725
+ /**
726
+ * A deposit to reserve an index has been poked/reconsidered.
727
+ **/
728
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], {
729
+ who: AccountId32;
730
+ index: u32;
731
+ oldDeposit: u128;
732
+ newDeposit: u128;
733
+ }>;
718
734
  /**
719
735
  * A account index was assigned.
720
736
  **/
@@ -780,6 +796,15 @@ declare module '@polkadot/api-base/types/events' {
780
796
  [key: string]: AugmentedEvent<ApiType>;
781
797
  };
782
798
  multisig: {
799
+ /**
800
+ * The deposit for a multisig operation has been updated/poked.
801
+ **/
802
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
803
+ who: AccountId32;
804
+ callHash: U8aFixed;
805
+ oldDeposit: u128;
806
+ newDeposit: u128;
807
+ }>;
783
808
  /**
784
809
  * A multisig operation has been approved by someone.
785
810
  **/
@@ -844,6 +869,24 @@ declare module '@polkadot/api-base/types/events' {
844
869
  Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
845
870
  poolId: u32;
846
871
  }>;
872
+ /**
873
+ * Global parameters regulating nomination pools have been updated.
874
+ **/
875
+ GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], {
876
+ minJoinBond: u128;
877
+ minCreateBond: u128;
878
+ maxPools: Option<u32>;
879
+ maxMembers: Option<u32>;
880
+ maxMembersPerPool: Option<u32>;
881
+ globalMaxCommission: Option<Perbill>;
882
+ }>;
883
+ /**
884
+ * A pool member's claim permission has been updated.
885
+ **/
886
+ MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], {
887
+ member: AccountId32;
888
+ permission: PalletNominationPoolsClaimPermission;
889
+ }>;
847
890
  /**
848
891
  * A member has been removed from a pool.
849
892
  *
@@ -856,6 +899,13 @@ declare module '@polkadot/api-base/types/events' {
856
899
  member: AccountId32;
857
900
  releasedBalance: u128;
858
901
  }>;
902
+ /**
903
+ * A pool's metadata was updated.
904
+ **/
905
+ MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
906
+ poolId: u32;
907
+ caller: AccountId32;
908
+ }>;
859
909
  /**
860
910
  * Topped up deficit in frozen ED of the reward pool.
861
911
  **/
@@ -913,6 +963,21 @@ declare module '@polkadot/api-base/types/events' {
913
963
  poolId: u32;
914
964
  maxCommission: Perbill;
915
965
  }>;
966
+ /**
967
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
968
+ * on behalf of the pool.
969
+ **/
970
+ PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
971
+ poolId: u32;
972
+ caller: AccountId32;
973
+ }>;
974
+ /**
975
+ * The pool is chilled i.e. no longer nominating.
976
+ **/
977
+ PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
978
+ poolId: u32;
979
+ caller: AccountId32;
980
+ }>;
916
981
  /**
917
982
  * The active balance of pool `pool_id` has been slashed to `balance`.
918
983
  **/
@@ -999,6 +1064,13 @@ declare module '@polkadot/api-base/types/events' {
999
1064
  [key: string]: AugmentedEvent<ApiType>;
1000
1065
  };
1001
1066
  onDemand: {
1067
+ /**
1068
+ * An account was given credits.
1069
+ **/
1070
+ AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1071
+ who: AccountId32;
1072
+ amount: u128;
1073
+ }>;
1002
1074
  /**
1003
1075
  * An order was placed at some spot price amount by orderer ordered_by
1004
1076
  **/
@@ -1139,6 +1211,15 @@ declare module '@polkadot/api-base/types/events' {
1139
1211
  proxy: AccountId32;
1140
1212
  callHash: H256;
1141
1213
  }>;
1214
+ /**
1215
+ * A deposit stored for proxies or announcements was poked / updated.
1216
+ **/
1217
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
1218
+ who: AccountId32;
1219
+ kind: PalletProxyDepositKind;
1220
+ oldDeposit: u128;
1221
+ newDeposit: u128;
1222
+ }>;
1142
1223
  /**
1143
1224
  * A proxy was added.
1144
1225
  **/
@@ -1315,6 +1396,12 @@ declare module '@polkadot/api-base/types/events' {
1315
1396
  [key: string]: AugmentedEvent<ApiType>;
1316
1397
  };
1317
1398
  scheduler: {
1399
+ /**
1400
+ * Agenda is incomplete from `when`.
1401
+ **/
1402
+ AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
1403
+ when: u32;
1404
+ }>;
1318
1405
  /**
1319
1406
  * The call for the provided hash was not found so the task has been aborted.
1320
1407
  **/
@@ -1395,6 +1482,18 @@ declare module '@polkadot/api-base/types/events' {
1395
1482
  NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1396
1483
  sessionIndex: u32;
1397
1484
  }>;
1485
+ /**
1486
+ * Validator has been disabled.
1487
+ **/
1488
+ ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1489
+ validator: AccountId32;
1490
+ }>;
1491
+ /**
1492
+ * Validator has been re-enabled.
1493
+ **/
1494
+ ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1495
+ validator: AccountId32;
1496
+ }>;
1398
1497
  /**
1399
1498
  * Generic event
1400
1499
  **/
@@ -1448,6 +1547,14 @@ declare module '@polkadot/api-base/types/events' {
1448
1547
  ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
1449
1548
  failures: u32;
1450
1549
  }>;
1550
+ /**
1551
+ * Staking balance migrated from locks to holds, with any balance that could not be held
1552
+ * is force withdrawn.
1553
+ **/
1554
+ CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], {
1555
+ stash: AccountId32;
1556
+ forceWithdraw: u128;
1557
+ }>;
1451
1558
  /**
1452
1559
  * The era payout has been set; the first balance is the validator-payout; the second is
1453
1560
  * the remainder from the maximum amount of reward.
@@ -1619,6 +1726,13 @@ declare module '@polkadot/api-base/types/events' {
1619
1726
  NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
1620
1727
  account: AccountId32;
1621
1728
  }>;
1729
+ /**
1730
+ * An invalid authorized upgrade was rejected while trying to apply it.
1731
+ **/
1732
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
1733
+ codeHash: H256;
1734
+ error: SpRuntimeDispatchError;
1735
+ }>;
1622
1736
  /**
1623
1737
  * On on-chain remark happened.
1624
1738
  **/
@@ -1767,6 +1881,16 @@ declare module '@polkadot/api-base/types/events' {
1767
1881
  DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
1768
1882
  result: Result<Null, SpRuntimeDispatchError>;
1769
1883
  }>;
1884
+ /**
1885
+ * The fallback call was dispatched.
1886
+ **/
1887
+ IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
1888
+ mainError: SpRuntimeDispatchError;
1889
+ }>;
1890
+ /**
1891
+ * Main call was dispatched.
1892
+ **/
1893
+ IfElseMainSuccess: AugmentedEvent<ApiType, []>;
1770
1894
  /**
1771
1895
  * A single item within a Batch of dispatches has completed with no error.
1772
1896
  **/
@@ -1840,6 +1964,28 @@ declare module '@polkadot/api-base/types/events' {
1840
1964
  [key: string]: AugmentedEvent<ApiType>;
1841
1965
  };
1842
1966
  xcmPallet: {
1967
+ /**
1968
+ * `target` removed alias authorization for `aliaser`.
1969
+ **/
1970
+ AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], {
1971
+ aliaser: StagingXcmV5Location;
1972
+ target: StagingXcmV5Location;
1973
+ }>;
1974
+ /**
1975
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
1976
+ * `expiry` block number.
1977
+ **/
1978
+ AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], {
1979
+ aliaser: StagingXcmV5Location;
1980
+ target: StagingXcmV5Location;
1981
+ expiry: Option<u64>;
1982
+ }>;
1983
+ /**
1984
+ * `target` removed all alias authorizations.
1985
+ **/
1986
+ AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], {
1987
+ target: StagingXcmV5Location;
1988
+ }>;
1843
1989
  /**
1844
1990
  * Some assets have been claimed from an asset trap
1845
1991
  **/
@@ -1973,6 +2119,14 @@ declare module '@polkadot/api-base/types/events' {
1973
2119
  queryId: u64;
1974
2120
  error: XcmV5TraitsError;
1975
2121
  }>;
2122
+ /**
2123
+ * An XCM message failed to process.
2124
+ **/
2125
+ ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], {
2126
+ origin: StagingXcmV5Location;
2127
+ error: XcmV5TraitsError;
2128
+ messageId: U8aFixed;
2129
+ }>;
1976
2130
  /**
1977
2131
  * Query response has been received and is ready for taking with `take_response`. There is
1978
2132
  * no registered notification call.
@@ -1988,7 +2142,16 @@ declare module '@polkadot/api-base/types/events' {
1988
2142
  queryId: u64;
1989
2143
  }>;
1990
2144
  /**
1991
- * A XCM message was sent.
2145
+ * An XCM message failed to send.
2146
+ **/
2147
+ SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], {
2148
+ origin: StagingXcmV5Location;
2149
+ destination: StagingXcmV5Location;
2150
+ error: XcmV3TraitsSendError;
2151
+ messageId: U8aFixed;
2152
+ }>;
2153
+ /**
2154
+ * An XCM message was sent.
1992
2155
  **/
1993
2156
  Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
1994
2157
  origin: StagingXcmV5Location;
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -1021,6 +1021,10 @@ declare module '@polkadot/api-base/types/storage' {
1021
1021
  * Queue entries that are currently bound to a particular core due to core affinity.
1022
1022
  **/
1023
1023
  affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1024
+ /**
1025
+ * Keeps track of credits owned by each account.
1026
+ **/
1027
+ credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1024
1028
  /**
1025
1029
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
1026
1030
  **/
@@ -1448,6 +1452,9 @@ declare module '@polkadot/api-base/types/storage' {
1448
1452
  * Items to be executed, indexed by the block number that they should be executed on.
1449
1453
  **/
1450
1454
  agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1455
+ /**
1456
+ * Block number at which the agenda began incomplete execution.
1457
+ **/
1451
1458
  incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1452
1459
  /**
1453
1460
  * Lookup from a name to the block number and index of the task.
@@ -1477,7 +1484,7 @@ declare module '@polkadot/api-base/types/storage' {
1477
1484
  * disabled using binary search. It gets cleared when `on_session_ending` returns
1478
1485
  * a new set of identities.
1479
1486
  **/
1480
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1487
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
1481
1488
  /**
1482
1489
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1483
1490
  **/
@@ -1596,16 +1603,6 @@ declare module '@polkadot/api-base/types/storage' {
1596
1603
  * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1597
1604
  **/
1598
1605
  currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1599
- /**
1600
- * Indices of validators that have offended in the active era. The offenders are disabled for a
1601
- * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1602
- * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1603
- * implicitly means that the implementor also controls the max number of disabled validators.
1604
- *
1605
- * The vec is always kept sorted so that we can find whether a given validator has previously
1606
- * offended using binary search.
1607
- **/
1608
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1609
1606
  /**
1610
1607
  * Rewards for the last [`Config::HistoryDepth`] eras.
1611
1608
  * If reward hasn't been set or has been removed then 0 reward is returned.
@@ -1917,6 +1914,16 @@ declare module '@polkadot/api-base/types/storage' {
1917
1914
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
1918
1915
  **/
1919
1916
  extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1917
+ /**
1918
+ * The weight reclaimed for the extrinsic.
1919
+ *
1920
+ * This information is available until the end of the extrinsic execution.
1921
+ * More precisely this information is removed in `note_applied_extrinsic`.
1922
+ *
1923
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
1924
+ * reduction.
1925
+ **/
1926
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
1920
1927
  /**
1921
1928
  * Whether all inherents have been applied.
1922
1929
  **/
@@ -2068,6 +2075,18 @@ declare module '@polkadot/api-base/types/storage' {
2068
2075
  * times this pair has been trapped (usually just 1 if it exists at all).
2069
2076
  **/
2070
2077
  assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2078
+ /**
2079
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
2080
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
2081
+ * block number.
2082
+ **/
2083
+ authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | {
2084
+ V3: any;
2085
+ } | {
2086
+ V4: any;
2087
+ } | {
2088
+ V5: any;
2089
+ } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
2071
2090
  /**
2072
2091
  * The current migration's stage, if any.
2073
2092
  **/
@@ -7,7 +7,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
7
7
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
8
8
  import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
9
9
  import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
10
- import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
10
+ import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
11
11
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
12
12
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
13
13
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
@@ -361,7 +361,7 @@ declare module '@polkadot/api-base/types/calls' {
361
361
  **/
362
362
  memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
363
363
  /**
364
- * Returns the pending slash for a given pool member.
364
+ * Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
365
365
  **/
366
366
  memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
367
367
  /**
@@ -432,6 +432,10 @@ declare module '@polkadot/api-base/types/calls' {
432
432
  * Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
433
433
  **/
434
434
  availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
435
+ /**
436
+ * Returns the constraints on the actions that can be taken by a new parachain, block.
437
+ **/
438
+ backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
435
439
  /**
436
440
  * Get a vector of events concerning candidates that occurred within a block.
437
441
  **/
@@ -503,6 +507,10 @@ declare module '@polkadot/api-base/types/calls' {
503
507
  * Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
504
508
  **/
505
509
  pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
510
+ /**
511
+ * Retrieve the scheduling lookahead
512
+ **/
513
+ schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
506
514
  /**
507
515
  * Returns execution parameters for the session.
508
516
  **/