@polkadot/api-augment 12.4.2 → 13.1.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.
package/kusama/query.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
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 { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, 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>;
@@ -241,10 +241,14 @@ declare module '@polkadot/api-base/types/storage' {
241
241
  /**
242
242
  * Any liquidity locks on some account balances.
243
243
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
244
+ *
245
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
244
246
  **/
245
247
  locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
246
248
  /**
247
249
  * Named reserves on some account balances.
250
+ *
251
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
248
252
  **/
249
253
  reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
250
254
  /**
@@ -970,7 +974,7 @@ declare module '@polkadot/api-base/types/storage' {
970
974
  /**
971
975
  * Freeze locks on account balances.
972
976
  **/
973
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
977
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
974
978
  /**
975
979
  * Holds on account balances.
976
980
  **/
@@ -985,10 +989,14 @@ declare module '@polkadot/api-base/types/storage' {
985
989
  /**
986
990
  * Any liquidity locks on some account balances.
987
991
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
992
+ *
993
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
988
994
  **/
989
995
  locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
990
996
  /**
991
997
  * Named reserves on some account balances.
998
+ *
999
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
992
1000
  **/
993
1001
  reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
994
1002
  /**
@@ -1085,13 +1093,13 @@ declare module '@polkadot/api-base/types/storage' {
1085
1093
  /**
1086
1094
  * A reverse lookup from the pool's account id to its id.
1087
1095
  *
1088
- * This is only used for slashing. In all other instances, the pool id is used, and the
1089
- * accounts are deterministically derived from it.
1096
+ * This is only used for slashing and on automatic withdraw update. In all other instances, the
1097
+ * pool id is used, and the accounts are deterministically derived from it.
1090
1098
  **/
1091
1099
  reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1092
1100
  /**
1093
1101
  * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
1094
- * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
1102
+ * claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
1095
1103
  **/
1096
1104
  rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1097
1105
  /**
@@ -1128,21 +1136,27 @@ declare module '@polkadot/api-base/types/storage' {
1128
1136
  };
1129
1137
  onDemandAssignmentProvider: {
1130
1138
  /**
1131
- * The order storage entry. Uses a VecDeque to be able to push to the front of the
1132
- * queue from the scheduler on session boundaries.
1139
+ * Queue entries that are currently bound to a particular core due to core affinity.
1133
1140
  **/
1134
- onDemandQueue: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1141
+ affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1142
+ /**
1143
+ * Priority queue for all orders which don't yet (or not any more) have any core affinity.
1144
+ **/
1145
+ freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
1135
1146
  /**
1136
1147
  * Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
1137
1148
  * it's lookahead. Keeping track of this affinity prevents parallel execution of the same
1138
1149
  * `ParaId` on two or more `CoreIndex`es.
1139
1150
  **/
1140
- paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1151
+ paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1141
1152
  /**
1142
- * Keeps track of the multiplier used to calculate the current spot price for the on demand
1143
- * assigner.
1153
+ * Overall status of queue (both free + affinity entries)
1144
1154
  **/
1145
- spotTraffic: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1155
+ queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
1156
+ /**
1157
+ * Keeps track of accumulated revenue from on demand order sales.
1158
+ **/
1159
+ revenue: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
1146
1160
  /**
1147
1161
  * Generic query
1148
1162
  **/
@@ -1150,17 +1164,13 @@ declare module '@polkadot/api-base/types/storage' {
1150
1164
  };
1151
1165
  paraInclusion: {
1152
1166
  /**
1153
- * The latest bitfield for each validator, referred to by their index in the validator set.
1154
- **/
1155
- availabilityBitfields: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1156
- /**
1157
- * Candidates pending availability by `ParaId`.
1167
+ * Candidates pending availability by `ParaId`. They form a chain starting from the latest
1168
+ * included head of the para.
1169
+ * Use a different prefix post-migration to v1, since the v0 `PendingAvailability` storage
1170
+ * would otherwise have the exact same prefix which could cause undefined behaviour when doing
1171
+ * the migration.
1158
1172
  **/
1159
- pendingAvailability: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1160
- /**
1161
- * The commitments of candidates pending availability, by `ParaId`.
1162
- **/
1163
- pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1173
+ v1: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1164
1174
  /**
1165
1175
  * Generic query
1166
1176
  **/
@@ -1179,7 +1189,19 @@ declare module '@polkadot/api-base/types/storage' {
1179
1189
  /**
1180
1190
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1181
1191
  **/
1182
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV6ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1192
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV7ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1193
+ /**
1194
+ * Generic query
1195
+ **/
1196
+ [key: string]: QueryableStorageEntry<ApiType>;
1197
+ };
1198
+ parameters: {
1199
+ /**
1200
+ * Stored parameters.
1201
+ **/
1202
+ parameters: AugmentedQuery<ApiType, (arg: StagingKusamaRuntimeRuntimeParametersKey | {
1203
+ Inflation: any;
1204
+ } | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeRuntimeParametersValue>>, [StagingKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [StagingKusamaRuntimeRuntimeParametersKey]>;
1183
1205
  /**
1184
1206
  * Generic query
1185
1207
  **/
@@ -1214,11 +1236,23 @@ declare module '@polkadot/api-base/types/storage' {
1214
1236
  **/
1215
1237
  futureCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1216
1238
  /**
1217
- * The block number at which the planned code change is expected for a para.
1239
+ * The block number at which the planned code change is expected for a parachain.
1240
+ *
1218
1241
  * The change will be applied after the first parablock for this ID included which executes
1219
1242
  * in the context of a relay chain block with a number >= `expected_at`.
1220
1243
  **/
1221
1244
  futureCodeUpgrades: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1245
+ /**
1246
+ * The list of upcoming future code upgrades.
1247
+ *
1248
+ * Each item is a pair of the parachain and the expected block at which the upgrade should be
1249
+ * applied. The upgrade will be applied at the given relay chain block. In contrast to
1250
+ * [`FutureCodeUpgrades`] this code upgrade will be applied regardless the parachain making any
1251
+ * progress or not.
1252
+ *
1253
+ * Ordered ascending by block number.
1254
+ **/
1255
+ futureCodeUpgradesAt: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1222
1256
  /**
1223
1257
  * The head-data of every registered para.
1224
1258
  **/
@@ -1279,8 +1313,10 @@ declare module '@polkadot/api-base/types/storage' {
1279
1313
  **/
1280
1314
  upcomingParasGenesis: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasParaGenesisArgs>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1281
1315
  /**
1282
- * The list of upcoming code upgrades. Each item is a pair of which para performs a code
1283
- * upgrade and at which relay-chain block it is expected at.
1316
+ * The list of upcoming code upgrades.
1317
+ *
1318
+ * Each item is a pair of which para performs a code upgrade and at which relay-chain block it
1319
+ * is expected at.
1284
1320
  *
1285
1321
  * Ordered ascending by block number.
1286
1322
  **/
@@ -1303,7 +1339,7 @@ declare module '@polkadot/api-base/types/storage' {
1303
1339
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1304
1340
  * the format will require migration of parachains.
1305
1341
  **/
1306
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1342
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1307
1343
  /**
1308
1344
  * This is used by the relay-chain to communicate that there are restrictions for performing
1309
1345
  * an upgrade for this parachain.
@@ -1315,7 +1351,7 @@ declare module '@polkadot/api-base/types/storage' {
1315
1351
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1316
1352
  * the format will require migration of parachains.
1317
1353
  **/
1318
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1354
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1319
1355
  /**
1320
1356
  * Generic query
1321
1357
  **/
@@ -1323,10 +1359,8 @@ declare module '@polkadot/api-base/types/storage' {
1323
1359
  };
1324
1360
  paraScheduler: {
1325
1361
  /**
1326
- * One entry for each availability core. Entries are `None` if the core is not currently
1327
- * occupied. Can be temporarily `Some` if scheduled but not occupied.
1328
- * The i'th parachain belongs to the i'th core, with the remaining cores all being
1329
- * parathread-multiplexers.
1362
+ * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
1363
+ * remaining cores all being on demand parachain multiplexers.
1330
1364
  *
1331
1365
  * Bounded by the maximum of either of these two values:
1332
1366
  * * The number of parachains and parathread multiplexers
@@ -1335,10 +1369,8 @@ declare module '@polkadot/api-base/types/storage' {
1335
1369
  availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1336
1370
  /**
1337
1371
  * One entry for each availability core. The `VecDeque` represents the assignments to be
1338
- * scheduled on that core. `None` is used to signal to not schedule the next para of the core
1339
- * as there is one currently being scheduled. Not using `None` here would overwrite the
1340
- * `CoreState` in the runtime API. The value contained here will not be valid after the end of
1341
- * a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
1372
+ * scheduled on that core. The value contained here will not be valid after the end of
1373
+ * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
1342
1374
  **/
1343
1375
  claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
1344
1376
  /**
@@ -1375,7 +1407,7 @@ declare module '@polkadot/api-base/types/storage' {
1375
1407
  /**
1376
1408
  * All ongoing or concluded disputes for the last several sessions.
1377
1409
  **/
1378
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV6DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1410
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1379
1411
  /**
1380
1412
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1381
1413
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1408,7 +1440,7 @@ declare module '@polkadot/api-base/types/storage' {
1408
1440
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1409
1441
  * When in doubt, use `Sessions` API instead.
1410
1442
  **/
1411
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV6AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1443
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1412
1444
  /**
1413
1445
  * The earliest session for which previous session info is stored.
1414
1446
  **/
@@ -1416,13 +1448,13 @@ declare module '@polkadot/api-base/types/storage' {
1416
1448
  /**
1417
1449
  * Executor parameter set for a given session index
1418
1450
  **/
1419
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1451
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1420
1452
  /**
1421
1453
  * Session information in a rolling window.
1422
1454
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1423
1455
  * Does not have any entries before the session index in the first session change notification.
1424
1456
  **/
1425
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV6SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1457
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1426
1458
  /**
1427
1459
  * Generic query
1428
1460
  **/
@@ -1438,7 +1470,7 @@ declare module '@polkadot/api-base/types/storage' {
1438
1470
  * The parachain attestation keys of the validators actively participating in parachain
1439
1471
  * consensus. This should be the same length as `ActiveValidatorIndices`.
1440
1472
  **/
1441
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV6ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1473
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV7ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1442
1474
  /**
1443
1475
  * All allowed relay-parents.
1444
1476
  **/
@@ -1456,7 +1488,7 @@ declare module '@polkadot/api-base/types/storage' {
1456
1488
  /**
1457
1489
  * Validators pending dispute slashes.
1458
1490
  **/
1459
- unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV6SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1491
+ unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV7SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1460
1492
  /**
1461
1493
  * `ValidatorSetCount` per session.
1462
1494
  **/
@@ -1587,6 +1619,10 @@ declare module '@polkadot/api-base/types/storage' {
1587
1619
  * identities.
1588
1620
  **/
1589
1621
  lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1622
+ /**
1623
+ * Retry configurations for items to be executed, indexed by task address.
1624
+ **/
1625
+ retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
1590
1626
  /**
1591
1627
  * Generic query
1592
1628
  **/
@@ -1793,6 +1829,10 @@ declare module '@polkadot/api-base/types/storage' {
1793
1829
  * Counter for the related counted storage map
1794
1830
  **/
1795
1831
  counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1832
+ /**
1833
+ * Counter for the related counted storage map
1834
+ **/
1835
+ counterForVirtualStakers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1796
1836
  /**
1797
1837
  * The current era index.
1798
1838
  *
@@ -1806,6 +1846,16 @@ declare module '@polkadot/api-base/types/storage' {
1806
1846
  * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1807
1847
  **/
1808
1848
  currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1849
+ /**
1850
+ * Indices of validators that have offended in the active era. The offenders are disabled for a
1851
+ * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1852
+ * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1853
+ * implicitly means that the implementor also controls the max number of disabled validators.
1854
+ *
1855
+ * The vec is always kept sorted so that we can find whether a given validator has previously
1856
+ * offended using binary search.
1857
+ **/
1858
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1809
1859
  /**
1810
1860
  * Rewards for the last [`Config::HistoryDepth`] eras.
1811
1861
  * If reward hasn't been set or has been removed then 0 reward is returned.
@@ -1914,6 +1964,12 @@ declare module '@polkadot/api-base/types/storage' {
1914
1964
  * When this value is not set, no limits are enforced.
1915
1965
  **/
1916
1966
  maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1967
+ /**
1968
+ * Maximum staked rewards, i.e. the percentage of the era inflation that
1969
+ * is used for stake rewards.
1970
+ * See [Era payout](./index.html#era-payout).
1971
+ **/
1972
+ maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1917
1973
  /**
1918
1974
  * The maximum validator count before we stop allowing new validators to join.
1919
1975
  *
@@ -1968,18 +2024,6 @@ declare module '@polkadot/api-base/types/storage' {
1968
2024
  * All slashing events on nominators, mapped by era to the highest slash value of the era.
1969
2025
  **/
1970
2026
  nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1971
- /**
1972
- * Indices of validators that have offended in the active era and whether they are currently
1973
- * disabled.
1974
- *
1975
- * This value should be a superset of disabled validators since not all offences lead to the
1976
- * validator being disabled (if there was no slash). This is needed to track the percentage of
1977
- * validators that have offended in the current era, ensuring a new era is forced if
1978
- * `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
1979
- * whether a given validator has previously offended using binary search. It gets cleared when
1980
- * the era ends.
1981
- **/
1982
- offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
1983
2027
  /**
1984
2028
  * Where the reward payment should be made. Keyed by stash.
1985
2029
  *
@@ -2020,6 +2064,15 @@ declare module '@polkadot/api-base/types/storage' {
2020
2064
  * and slash value of the era.
2021
2065
  **/
2022
2066
  validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
2067
+ /**
2068
+ * Stakers whose funds are managed by other pallets.
2069
+ *
2070
+ * This pallet does not apply any locks on them, therefore they are only virtually bonded. They
2071
+ * are expected to be keyless accounts and hence should not be allowed to mutate their ledger
2072
+ * directly via this pallet. Instead, these accounts are managed by other pallets and accessed
2073
+ * via low level apis. We keep track of them to do minimal integrity checks.
2074
+ **/
2075
+ virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2023
2076
  /**
2024
2077
  * Generic query
2025
2078
  **/
@@ -2089,6 +2142,10 @@ declare module '@polkadot/api-base/types/storage' {
2089
2142
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
2090
2143
  **/
2091
2144
  extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2145
+ /**
2146
+ * Whether all inherents have been applied.
2147
+ **/
2148
+ inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2092
2149
  /**
2093
2150
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
2094
2151
  **/
@@ -2239,6 +2296,15 @@ declare module '@polkadot/api-base/types/storage' {
2239
2296
  * The latest available query index.
2240
2297
  **/
2241
2298
  queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
2299
+ /**
2300
+ * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
2301
+ * will be stored here.
2302
+ * Runtime APIs can fetch the XCM that was executed by accessing this value.
2303
+ *
2304
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2305
+ * implementation in the XCM executor configuration.
2306
+ **/
2307
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2242
2308
  /**
2243
2309
  * Fungible assets which we know are locked on a remote chain.
2244
2310
  **/
@@ -2252,6 +2318,16 @@ declare module '@polkadot/api-base/types/storage' {
2252
2318
  * then the destinations whose XCM version is unknown are considered unreachable.
2253
2319
  **/
2254
2320
  safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
2321
+ /**
2322
+ * Whether or not incoming XCMs (both executed locally and received) should be recorded.
2323
+ * Only one XCM program will be recorded at a time.
2324
+ * This is meant to be used in runtime APIs, and it's advised it stays false
2325
+ * for all other use cases, so as to not degrade regular performance.
2326
+ *
2327
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2328
+ * implementation in the XCM executor configuration.
2329
+ **/
2330
+ shouldRecordXcm: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2255
2331
  /**
2256
2332
  * The Latest versions that we know various locations support.
2257
2333
  **/
@@ -1,26 +1,31 @@
1
1
  import '@polkadot/api-base/types/calls';
2
2
  import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
3
- import type { Bytes, Null, Option, Result, U64, Vec, bool, u32 } from '@polkadot/types-codec';
3
+ import type { BTreeMap, Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@polkadot/types-codec';
4
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 { BeefyAuthoritySet, BeefyEquivocationProof, BeefyNextAuthoritySet, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
7
7
  import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
8
8
  import type { BlockHash } from '@polkadot/types/interfaces/chain';
9
9
  import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
10
+ import type { CallDryRunEffects, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi';
10
11
  import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
11
12
  import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder';
12
13
  import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
13
14
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
14
15
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
15
16
  import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
16
- import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
17
+ import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreIndex, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
17
18
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
18
- import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
19
+ import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, Hash, Header, Index, KeyTypeId, OriginCaller, RuntimeCall, Slot, ValidatorId, Weight, WeightV2 } from '@polkadot/types/interfaces/runtime';
19
20
  import type { SessionIndex } from '@polkadot/types/interfaces/session';
20
21
  import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
21
22
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
22
23
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
23
24
  import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
25
+ import type { VersionedMultiLocation, VersionedXcm } from '@polkadot/types/interfaces/xcm';
26
+ import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
27
+ import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
28
+ import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
24
29
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
25
30
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
26
31
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
@@ -155,7 +160,7 @@ declare module '@polkadot/api-base/types/calls' {
155
160
  **/
156
161
  [key: string]: DecoratedCallBase<ApiType>;
157
162
  };
158
- /** 0xdf6acb689907609b/4 */
163
+ /** 0xdf6acb689907609b/5 */
159
164
  core: {
160
165
  /**
161
166
  * Execute the given block.
@@ -173,7 +178,7 @@ declare module '@polkadot/api-base/types/calls' {
173
178
  stateRoot?: any;
174
179
  extrinsicsRoot?: any;
175
180
  digest?: any;
176
- } | string | Uint8Array) => Observable<Null>>;
181
+ } | string | Uint8Array) => Observable<ExtrinsicInclusionMode>>;
177
182
  /**
178
183
  * Returns the version of the runtime.
179
184
  **/
@@ -183,6 +188,43 @@ declare module '@polkadot/api-base/types/calls' {
183
188
  **/
184
189
  [key: string]: DecoratedCallBase<ApiType>;
185
190
  };
191
+ /** 0x91b1c8b16328eb92/1 */
192
+ dryRunApi: {
193
+ /**
194
+ * Dry run call
195
+ **/
196
+ dryRunCall: AugmentedCall<ApiType, (origin: OriginCaller | {
197
+ System: any;
198
+ } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => Observable<Result<CallDryRunEffects, XcmDryRunApiError>>>;
199
+ /**
200
+ * Dry run XCM program
201
+ **/
202
+ dryRunXcm: AugmentedCall<ApiType, (originLocation: VersionedMultiLocation | {
203
+ V0: any;
204
+ } | {
205
+ V1: any;
206
+ } | {
207
+ V2: any;
208
+ } | {
209
+ V3: any;
210
+ } | {
211
+ V4: any;
212
+ } | string | Uint8Array, xcm: VersionedXcm | {
213
+ V0: any;
214
+ } | {
215
+ V1: any;
216
+ } | {
217
+ V2: any;
218
+ } | {
219
+ V3: any;
220
+ } | {
221
+ V4: any;
222
+ } | string | Uint8Array) => Observable<Result<XcmDryRunEffects, XcmDryRunApiError>>>;
223
+ /**
224
+ * Generic call
225
+ **/
226
+ [key: string]: DecoratedCallBase<ApiType>;
227
+ };
186
228
  /** 0xfbc577b9d747efd6/1 */
187
229
  genesisBuilder: {
188
230
  /**
@@ -224,6 +266,23 @@ declare module '@polkadot/api-base/types/calls' {
224
266
  **/
225
267
  [key: string]: DecoratedCallBase<ApiType>;
226
268
  };
269
+ /** 0x9ffb505aa738d69c/1 */
270
+ locationToAccountApi: {
271
+ /**
272
+ * Converts `Location` to `AccountId`
273
+ **/
274
+ convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | {
275
+ V2: any;
276
+ } | {
277
+ V3: any;
278
+ } | {
279
+ V4: any;
280
+ } | string | Uint8Array) => Observable<Result<AccountId, Error>>>;
281
+ /**
282
+ * Generic call
283
+ **/
284
+ [key: string]: DecoratedCallBase<ApiType>;
285
+ };
227
286
  /** 0x37e397fc7c91f5e4/2 */
228
287
  metadata: {
229
288
  /**
@@ -314,7 +373,7 @@ declare module '@polkadot/api-base/types/calls' {
314
373
  **/
315
374
  [key: string]: DecoratedCallBase<ApiType>;
316
375
  };
317
- /** 0xaf2c0297a23e6d3d/10 */
376
+ /** 0xaf2c0297a23e6d3d/11 */
318
377
  parachainHost: {
319
378
  /**
320
379
  * Approval voting configuration parameters
@@ -351,6 +410,10 @@ declare module '@polkadot/api-base/types/calls' {
351
410
  processedDownwardMessages?: any;
352
411
  hrmpWatermark?: any;
353
412
  } | string | Uint8Array) => Observable<bool>>;
413
+ /**
414
+ * Claim queue
415
+ **/
416
+ claimQueue: AugmentedCall<ApiType, () => Observable<BTreeMap<CoreIndex, Vec<u32>>>>;
354
417
  /**
355
418
  * Returns a list of all disabled validators at the given block
356
419
  **/
@@ -543,5 +606,37 @@ declare module '@polkadot/api-base/types/calls' {
543
606
  **/
544
607
  [key: string]: DecoratedCallBase<ApiType>;
545
608
  };
609
+ /** 0x6ff52ee858e6c5bd/1 */
610
+ xcmPaymentApi: {
611
+ /**
612
+ * The API to query acceptable payment assets
613
+ **/
614
+ queryAcceptablePaymentAssets: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>>>;
615
+ /**
616
+ *
617
+ **/
618
+ queryWeightToAssetFee: AugmentedCall<ApiType, (weight: WeightV2 | {
619
+ refTime?: any;
620
+ proofSize?: any;
621
+ } | string | Uint8Array, asset: XcmVersionedAssetId | {
622
+ V3: any;
623
+ } | {
624
+ V4: any;
625
+ } | string | Uint8Array) => Observable<Result<u128, XcmPaymentApiError>>>;
626
+ /**
627
+ *
628
+ **/
629
+ queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | {
630
+ V2: any;
631
+ } | {
632
+ V3: any;
633
+ } | {
634
+ V4: any;
635
+ } | string | Uint8Array) => Observable<Result<WeightV2, XcmPaymentApiError>>>;
636
+ /**
637
+ * Generic call
638
+ **/
639
+ [key: string]: DecoratedCallBase<ApiType>;
640
+ };
546
641
  }
547
642
  }