@polkadot/api-augment 12.4.1 → 13.0.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/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +35 -26
- package/kusama/errors.d.ts +75 -84
- package/kusama/events.d.ts +52 -24
- package/kusama/query.d.ts +130 -54
- package/kusama/runtime.d.ts +62 -6
- package/kusama/tx.d.ts +3141 -433
- package/package.json +7 -7
- package/packageInfo.js +1 -1
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,
|
|
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<
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
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<
|
|
1151
|
+
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1141
1152
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
* assigner.
|
|
1153
|
+
* Overall status of queue (both free + affinity entries)
|
|
1144
1154
|
**/
|
|
1145
|
-
|
|
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
|
-
*
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
*
|
|
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
|
-
|
|
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<
|
|
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
|
|
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.
|
|
1283
|
-
*
|
|
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<
|
|
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<
|
|
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.
|
|
1327
|
-
*
|
|
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.
|
|
1339
|
-
*
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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
|
**/
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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';
|
|
@@ -13,14 +13,17 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
|
|
|
13
13
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
14
14
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
|
|
15
15
|
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';
|
|
16
|
+
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
17
|
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';
|
|
18
|
+
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
19
19
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
20
20
|
import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
|
|
21
21
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
22
22
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
23
23
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
24
|
+
import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
|
|
25
|
+
import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
|
|
26
|
+
import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
24
27
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
25
28
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
26
29
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -155,7 +158,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
155
158
|
**/
|
|
156
159
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
157
160
|
};
|
|
158
|
-
/** 0xdf6acb689907609b/
|
|
161
|
+
/** 0xdf6acb689907609b/5 */
|
|
159
162
|
core: {
|
|
160
163
|
/**
|
|
161
164
|
* Execute the given block.
|
|
@@ -173,7 +176,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
173
176
|
stateRoot?: any;
|
|
174
177
|
extrinsicsRoot?: any;
|
|
175
178
|
digest?: any;
|
|
176
|
-
} | string | Uint8Array) => Observable<
|
|
179
|
+
} | string | Uint8Array) => Observable<ExtrinsicInclusionMode>>;
|
|
177
180
|
/**
|
|
178
181
|
* Returns the version of the runtime.
|
|
179
182
|
**/
|
|
@@ -224,6 +227,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
224
227
|
**/
|
|
225
228
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
226
229
|
};
|
|
230
|
+
/** 0x9ffb505aa738d69c/1 */
|
|
231
|
+
locationToAccountApi: {
|
|
232
|
+
/**
|
|
233
|
+
* Converts `Location` to `AccountId`
|
|
234
|
+
**/
|
|
235
|
+
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | {
|
|
236
|
+
V2: any;
|
|
237
|
+
} | {
|
|
238
|
+
V3: any;
|
|
239
|
+
} | {
|
|
240
|
+
V4: any;
|
|
241
|
+
} | string | Uint8Array) => Observable<Result<AccountId, Error>>>;
|
|
242
|
+
/**
|
|
243
|
+
* Generic call
|
|
244
|
+
**/
|
|
245
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
246
|
+
};
|
|
227
247
|
/** 0x37e397fc7c91f5e4/2 */
|
|
228
248
|
metadata: {
|
|
229
249
|
/**
|
|
@@ -314,7 +334,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
314
334
|
**/
|
|
315
335
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
316
336
|
};
|
|
317
|
-
/** 0xaf2c0297a23e6d3d/
|
|
337
|
+
/** 0xaf2c0297a23e6d3d/11 */
|
|
318
338
|
parachainHost: {
|
|
319
339
|
/**
|
|
320
340
|
* Approval voting configuration parameters
|
|
@@ -351,6 +371,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
351
371
|
processedDownwardMessages?: any;
|
|
352
372
|
hrmpWatermark?: any;
|
|
353
373
|
} | string | Uint8Array) => Observable<bool>>;
|
|
374
|
+
/**
|
|
375
|
+
* Claim queue
|
|
376
|
+
**/
|
|
377
|
+
claimQueue: AugmentedCall<ApiType, () => Observable<BTreeMap<CoreIndex, Vec<u32>>>>;
|
|
354
378
|
/**
|
|
355
379
|
* Returns a list of all disabled validators at the given block
|
|
356
380
|
**/
|
|
@@ -543,5 +567,37 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
543
567
|
**/
|
|
544
568
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
545
569
|
};
|
|
570
|
+
/** 0x6ff52ee858e6c5bd/1 */
|
|
571
|
+
xcmPaymentApi: {
|
|
572
|
+
/**
|
|
573
|
+
* The API to query acceptable payment assets
|
|
574
|
+
**/
|
|
575
|
+
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>>>;
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
**/
|
|
579
|
+
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: WeightV2 | {
|
|
580
|
+
refTime?: any;
|
|
581
|
+
proofSize?: any;
|
|
582
|
+
} | string | Uint8Array, asset: XcmVersionedAssetId | {
|
|
583
|
+
V3: any;
|
|
584
|
+
} | {
|
|
585
|
+
V4: any;
|
|
586
|
+
} | string | Uint8Array) => Observable<Result<u128, XcmPaymentApiError>>>;
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
**/
|
|
590
|
+
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | {
|
|
591
|
+
V2: any;
|
|
592
|
+
} | {
|
|
593
|
+
V3: any;
|
|
594
|
+
} | {
|
|
595
|
+
V4: any;
|
|
596
|
+
} | string | Uint8Array) => Observable<Result<WeightV2, XcmPaymentApiError>>>;
|
|
597
|
+
/**
|
|
598
|
+
* Generic call
|
|
599
|
+
**/
|
|
600
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
601
|
+
};
|
|
546
602
|
}
|
|
547
603
|
}
|