@polkadot/api-augment 16.5.4 → 17.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/assetHubKusama/consts.d.ts +140 -53
- package/assetHubKusama/errors.d.ts +310 -111
- package/assetHubKusama/events.d.ts +420 -149
- package/assetHubKusama/query.d.ts +370 -92
- package/assetHubKusama/runtime.d.ts +157 -8
- package/assetHubKusama/tx.d.ts +690 -600
- package/cjs/assetHubKusama/consts.d.ts +140 -53
- package/cjs/assetHubKusama/errors.d.ts +310 -111
- package/cjs/assetHubKusama/events.d.ts +420 -149
- package/cjs/assetHubKusama/query.d.ts +370 -92
- package/cjs/assetHubKusama/runtime.d.ts +157 -8
- package/cjs/assetHubKusama/tx.d.ts +690 -600
- package/cjs/kusama/consts.d.ts +0 -40
- package/cjs/kusama/errors.d.ts +25 -151
- package/cjs/kusama/events.d.ts +93 -208
- package/cjs/kusama/query.d.ts +98 -177
- package/cjs/kusama/runtime.d.ts +86 -46
- package/cjs/kusama/tx.d.ts +108 -608
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +1 -1
- package/cjs/polkadot/errors.d.ts +25 -85
- package/cjs/polkadot/events.d.ts +103 -159
- package/cjs/polkadot/query.d.ts +108 -172
- package/cjs/polkadot/runtime.d.ts +72 -46
- package/cjs/polkadot/tx.d.ts +101 -351
- package/cjs/substrate/consts.d.ts +12 -3
- package/cjs/substrate/errors.d.ts +28 -14
- package/cjs/substrate/events.d.ts +66 -1
- package/cjs/substrate/query.d.ts +9 -0
- package/cjs/substrate/runtime.d.ts +5 -1
- package/cjs/substrate/tx.d.ts +81 -2
- package/kusama/consts.d.ts +0 -40
- package/kusama/errors.d.ts +25 -151
- package/kusama/events.d.ts +93 -208
- package/kusama/query.d.ts +98 -177
- package/kusama/runtime.d.ts +86 -46
- package/kusama/tx.d.ts +108 -608
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/errors.d.ts +25 -85
- package/polkadot/events.d.ts +103 -159
- package/polkadot/query.d.ts +108 -172
- package/polkadot/runtime.d.ts +72 -46
- package/polkadot/tx.d.ts +101 -351
- package/substrate/consts.d.ts +12 -3
- package/substrate/errors.d.ts +28 -14
- package/substrate/events.d.ts +66 -1
- package/substrate/query.d.ts +9 -0
- package/substrate/runtime.d.ts +5 -1
- package/substrate/tx.d.ts +81 -2
package/cjs/polkadot/query.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/storage';
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
|
-
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber,
|
|
3
|
+
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
+
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32,
|
|
7
|
-
import type {
|
|
6
|
+
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, 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, PalletRcMigratorAccountState, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9AssignmentAppPublic, PolkadotPrimitivesV9DisputeState, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9ScrapedOnChainVotes, PolkadotPrimitivesV9SessionInfo, PolkadotPrimitivesV9SlashingPendingSlashes, PolkadotPrimitivesV9UpgradeGoAhead, PolkadotPrimitivesV9UpgradeRestriction, PolkadotPrimitivesV9ValidatorAppPublic, PolkadotPrimitivesVstagingRelayParentInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandOrderStatus, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule, PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, 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>;
|
|
@@ -438,26 +438,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
438
438
|
**/
|
|
439
439
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
440
440
|
};
|
|
441
|
-
coretimeAssignmentProvider: {
|
|
442
|
-
/**
|
|
443
|
-
* Assignments which are currently active.
|
|
444
|
-
*
|
|
445
|
-
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
446
|
-
* `PendingAssignments`.
|
|
447
|
-
**/
|
|
448
|
-
coreDescriptors: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
449
|
-
/**
|
|
450
|
-
* Scheduled assignment sets.
|
|
451
|
-
*
|
|
452
|
-
* Assignments as of the given block number. They will go into state once the block number is
|
|
453
|
-
* reached (and replace whatever was in there before).
|
|
454
|
-
**/
|
|
455
|
-
coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
456
|
-
/**
|
|
457
|
-
* Generic query
|
|
458
|
-
**/
|
|
459
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
460
|
-
};
|
|
461
441
|
crowdloan: {
|
|
462
442
|
/**
|
|
463
443
|
* The number of auctions that have entered into their ending period so far.
|
|
@@ -1017,10 +997,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1017
997
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1018
998
|
};
|
|
1019
999
|
onDemand: {
|
|
1020
|
-
/**
|
|
1021
|
-
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
1022
|
-
**/
|
|
1023
|
-
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1024
1000
|
/**
|
|
1025
1001
|
* Keeps track of credits owned by each account.
|
|
1026
1002
|
**/
|
|
@@ -1028,17 +1004,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1028
1004
|
/**
|
|
1029
1005
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
1030
1006
|
**/
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
|
|
1034
|
-
* it's lookahead. Keeping track of this affinity prevents parallel execution of the same
|
|
1035
|
-
* `ParaId` on two or more `CoreIndex`es.
|
|
1036
|
-
**/
|
|
1037
|
-
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Overall status of queue (both free + affinity entries)
|
|
1040
|
-
**/
|
|
1041
|
-
queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1007
|
+
orderStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandOrderStatus>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1042
1008
|
/**
|
|
1043
1009
|
* Keeps track of accumulated revenue from on demand order sales.
|
|
1044
1010
|
**/
|
|
@@ -1075,7 +1041,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1075
1041
|
/**
|
|
1076
1042
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
1077
1043
|
**/
|
|
1078
|
-
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1044
|
+
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Generic query
|
|
1047
|
+
**/
|
|
1048
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1049
|
+
};
|
|
1050
|
+
parameters: {
|
|
1051
|
+
/**
|
|
1052
|
+
* Stored parameters.
|
|
1053
|
+
**/
|
|
1054
|
+
parameters: AugmentedQuery<ApiType, (arg: PolkadotRuntimeRuntimeParametersKey | {
|
|
1055
|
+
AhClient: any;
|
|
1056
|
+
} | string | Uint8Array) => Observable<Option<PolkadotRuntimeRuntimeParametersValue>>, [PolkadotRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeRuntimeParametersKey]>;
|
|
1079
1057
|
/**
|
|
1080
1058
|
* Generic query
|
|
1081
1059
|
**/
|
|
@@ -1217,7 +1195,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1217
1195
|
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
1218
1196
|
* the format will require migration of parachains.
|
|
1219
1197
|
**/
|
|
1220
|
-
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1198
|
+
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1221
1199
|
/**
|
|
1222
1200
|
* This is used by the relay-chain to communicate that there are restrictions for performing
|
|
1223
1201
|
* an upgrade for this parachain.
|
|
@@ -1229,7 +1207,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1229
1207
|
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
1230
1208
|
* the format will require migration of parachains.
|
|
1231
1209
|
**/
|
|
1232
|
-
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1210
|
+
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1233
1211
|
/**
|
|
1234
1212
|
* Generic query
|
|
1235
1213
|
**/
|
|
@@ -1237,10 +1215,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1237
1215
|
};
|
|
1238
1216
|
paraScheduler: {
|
|
1239
1217
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
1218
|
+
* Assignments which are currently active for each core.
|
|
1219
|
+
*
|
|
1220
|
+
* They will be picked from `CoreSchedules` once we reach the scheduled block number.
|
|
1221
|
+
*
|
|
1222
|
+
* Managed by the `assigner_coretime` submodule.
|
|
1242
1223
|
**/
|
|
1243
|
-
|
|
1224
|
+
coreDescriptors: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Scheduled assignment sets for coretime cores.
|
|
1227
|
+
*
|
|
1228
|
+
* Assignments as of the given block number. They will go into state once the block number is
|
|
1229
|
+
* reached (and replace whatever was in there before).
|
|
1230
|
+
*
|
|
1231
|
+
* Managed by the `assigner_coretime` submodule.
|
|
1232
|
+
**/
|
|
1233
|
+
coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
1244
1234
|
/**
|
|
1245
1235
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
1246
1236
|
* have occurred.
|
|
@@ -1275,7 +1265,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1275
1265
|
/**
|
|
1276
1266
|
* All ongoing or concluded disputes for the last several sessions.
|
|
1277
1267
|
**/
|
|
1278
|
-
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1268
|
+
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1279
1269
|
/**
|
|
1280
1270
|
* Whether the chain is frozen. Starts as `None`. When this is `Some`,
|
|
1281
1271
|
* the chain will not accept any new parachain blocks for backing or inclusion,
|
|
@@ -1308,7 +1298,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1308
1298
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
1309
1299
|
* When in doubt, use `Sessions` API instead.
|
|
1310
1300
|
**/
|
|
1311
|
-
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<
|
|
1301
|
+
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1312
1302
|
/**
|
|
1313
1303
|
* The earliest session for which previous session info is stored.
|
|
1314
1304
|
**/
|
|
@@ -1316,13 +1306,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1316
1306
|
/**
|
|
1317
1307
|
* Executor parameter set for a given session index
|
|
1318
1308
|
**/
|
|
1319
|
-
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1309
|
+
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1320
1310
|
/**
|
|
1321
1311
|
* Session information in a rolling window.
|
|
1322
1312
|
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
|
1323
1313
|
* Does not have any entries before the session index in the first session change notification.
|
|
1324
1314
|
**/
|
|
1325
|
-
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1315
|
+
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1326
1316
|
/**
|
|
1327
1317
|
* Generic query
|
|
1328
1318
|
**/
|
|
@@ -1338,15 +1328,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1338
1328
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
1339
1329
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
1340
1330
|
**/
|
|
1341
|
-
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<
|
|
1331
|
+
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1332
|
+
/**
|
|
1333
|
+
* All allowed relay parents, keyed by (session_index, relay_parent_hash).
|
|
1334
|
+
**/
|
|
1335
|
+
allowedRelayParents: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingRelayParentInfo>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1342
1336
|
/**
|
|
1343
|
-
* All allowed
|
|
1337
|
+
* All allowed scheduling parents.
|
|
1344
1338
|
**/
|
|
1345
|
-
|
|
1339
|
+
allowedSchedulingParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1346
1340
|
/**
|
|
1347
1341
|
* The current session index.
|
|
1348
1342
|
**/
|
|
1349
1343
|
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1344
|
+
/**
|
|
1345
|
+
* The minimum relay parent block number for each session that has entries in
|
|
1346
|
+
* `AllowedRelayParents`. This is the block number of the first relay parent
|
|
1347
|
+
* added to each session.
|
|
1348
|
+
**/
|
|
1349
|
+
minimumRelayParentNumber: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1350
|
+
/**
|
|
1351
|
+
* The oldest session index for which we still have relay parent entries in
|
|
1352
|
+
* `AllowedRelayParents`. Used to efficiently prune all expired sessions
|
|
1353
|
+
* when `max_relay_parent_session_age` decreases.
|
|
1354
|
+
**/
|
|
1355
|
+
oldestRelayParentSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1350
1356
|
/**
|
|
1351
1357
|
* Generic query
|
|
1352
1358
|
**/
|
|
@@ -1356,7 +1362,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1356
1362
|
/**
|
|
1357
1363
|
* Validators pending dispute slashes.
|
|
1358
1364
|
**/
|
|
1359
|
-
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1365
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1360
1366
|
/**
|
|
1361
1367
|
* `ValidatorSetCount` per session.
|
|
1362
1368
|
**/
|
|
@@ -1374,6 +1380,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1374
1380
|
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1375
1381
|
/**
|
|
1376
1382
|
* The request status of a given hash.
|
|
1383
|
+
*
|
|
1384
|
+
* @deprecated RequestStatusFor
|
|
1377
1385
|
**/
|
|
1378
1386
|
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1379
1387
|
/**
|
|
@@ -1397,135 +1405,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1397
1405
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1398
1406
|
};
|
|
1399
1407
|
rcMigrator: {
|
|
1400
|
-
/**
|
|
1401
|
-
* The priority of the Asset Hub UMP queue during migration.
|
|
1402
|
-
*
|
|
1403
|
-
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
|
|
1404
|
-
* queues during the migration process. This helps ensure timely processing of migration
|
|
1405
|
-
* messages. The default priority pattern is defined in the pallet configuration, but can be
|
|
1406
|
-
* overridden by a storage value of this type.
|
|
1407
|
-
**/
|
|
1408
|
-
ahUmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1409
|
-
/**
|
|
1410
|
-
* An optional account id of a canceller.
|
|
1411
|
-
*
|
|
1412
|
-
* This account id can only stop scheduled migration.
|
|
1413
|
-
**/
|
|
1414
|
-
canceller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1415
|
-
/**
|
|
1416
|
-
* The duration of the post migration cool-off period.
|
|
1417
|
-
*
|
|
1418
|
-
* This is the duration of the cool-off period after the data migration is finished. During
|
|
1419
|
-
* this period, the migration will be still in ongoing state and the concerned extrinsics will
|
|
1420
|
-
* be locked.
|
|
1421
|
-
**/
|
|
1422
|
-
coolOffPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1423
|
-
/**
|
|
1424
|
-
* Counter for the related counted storage map
|
|
1425
|
-
**/
|
|
1426
|
-
counterForPendingXcmMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1427
1408
|
/**
|
|
1428
1409
|
* Counter for the related counted storage map
|
|
1429
1410
|
**/
|
|
1430
1411
|
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1431
1412
|
/**
|
|
1432
|
-
*
|
|
1433
|
-
*
|
|
1434
|
-
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
1435
|
-
* can not set the manager account id via `set_manager` call.
|
|
1436
|
-
**/
|
|
1437
|
-
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1438
|
-
/**
|
|
1439
|
-
* The current round of the multisig voting.
|
|
1440
|
-
*
|
|
1441
|
-
* Votes are only valid for the current round.
|
|
1442
|
-
**/
|
|
1443
|
-
managerMultisigRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1444
|
-
/**
|
|
1445
|
-
* The multisig AccountIDs that votes to execute a specific call.
|
|
1446
|
-
**/
|
|
1447
|
-
managerMultisigs: AugmentedQuery<ApiType, (arg: Call | IMethod | string | Uint8Array) => Observable<Vec<AccountId32>>, [Call]> & QueryableStorageEntry<ApiType, [Call]>;
|
|
1448
|
-
/**
|
|
1449
|
-
* How often each participant voted in the current round.
|
|
1450
|
-
*
|
|
1451
|
-
* Will be cleared at the end of each round.
|
|
1452
|
-
**/
|
|
1453
|
-
managerVotesInCurrentRound: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1454
|
-
/**
|
|
1455
|
-
* Block number when migration finished and extrinsics were unlocked.
|
|
1456
|
-
*
|
|
1457
|
-
* This is set when entering the `MigrationDone` stage hence when
|
|
1458
|
-
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
1413
|
+
* The block number when the migration ended.
|
|
1459
1414
|
**/
|
|
1460
1415
|
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1461
1416
|
/**
|
|
1462
|
-
* The block number
|
|
1463
|
-
*
|
|
1464
|
-
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
1465
|
-
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
1417
|
+
* The block number when the migration started.
|
|
1466
1418
|
**/
|
|
1467
1419
|
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1468
|
-
/**
|
|
1469
|
-
* The pending XCM messages.
|
|
1470
|
-
*
|
|
1471
|
-
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
|
|
1472
|
-
*
|
|
1473
|
-
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
|
|
1474
|
-
**/
|
|
1475
|
-
pendingXcmMessages: AugmentedQuery<ApiType, (arg: ITuple<[u64, H256]> | [u64 | AnyNumber | Uint8Array, H256 | string | Uint8Array]) => Observable<Option<StagingXcmV5Xcm>>, [ITuple<[u64, H256]>]> & QueryableStorageEntry<ApiType, [ITuple<[u64, H256]>]>;
|
|
1476
|
-
/**
|
|
1477
|
-
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
1478
|
-
* [`PendingXcmMessages`] storage.
|
|
1479
|
-
*
|
|
1480
|
-
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
|
|
1481
|
-
* pallet will notify about the status of the message by calling the
|
|
1482
|
-
* [`Pallet::receive_query_response`] function with the `QueryId` and the
|
|
1483
|
-
* response.
|
|
1484
|
-
**/
|
|
1485
|
-
pendingXcmQueries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1486
|
-
/**
|
|
1487
|
-
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
1488
|
-
*
|
|
1489
|
-
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
|
1490
|
-
**/
|
|
1491
|
-
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<bool>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1492
1420
|
/**
|
|
1493
1421
|
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
1494
1422
|
* fully on Relay Chain.
|
|
1495
1423
|
**/
|
|
1496
|
-
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
1497
|
-
/**
|
|
1498
|
-
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
|
1499
|
-
**/
|
|
1500
|
-
rcMigratedBalance: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1501
|
-
/**
|
|
1502
|
-
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
1503
|
-
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
|
|
1504
|
-
*
|
|
1505
|
-
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
|
|
1506
|
-
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
|
|
1507
|
-
* later discoveries.
|
|
1508
|
-
**/
|
|
1509
|
-
rcMigratedBalanceArchive: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1510
|
-
/**
|
|
1511
|
-
* The Relay Chain migration state.
|
|
1512
|
-
**/
|
|
1513
|
-
rcMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1514
|
-
/**
|
|
1515
|
-
* The migration settings.
|
|
1516
|
-
**/
|
|
1517
|
-
settings: AugmentedQuery<ApiType, () => Observable<Option<PalletRcMigratorMigrationSettings>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1518
|
-
/**
|
|
1519
|
-
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
1520
|
-
**/
|
|
1521
|
-
unprocessedMsgBuffer: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1522
|
-
/**
|
|
1523
|
-
* The duration of the pre migration warm-up period.
|
|
1524
|
-
*
|
|
1525
|
-
* This is the duration of the warm-up period before the data migration starts. During this
|
|
1526
|
-
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
|
|
1527
|
-
**/
|
|
1528
|
-
warmUpPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1424
|
+
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1529
1425
|
/**
|
|
1530
1426
|
* Generic query
|
|
1531
1427
|
**/
|
|
@@ -1624,6 +1520,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1624
1520
|
* a new set of identities.
|
|
1625
1521
|
**/
|
|
1626
1522
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Accounts whose keys were set via `SessionInterface` (external path) without
|
|
1525
|
+
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
|
|
1526
|
+
* only decrements consumers for accounts that were registered through the local
|
|
1527
|
+
* session pallet.
|
|
1528
|
+
**/
|
|
1529
|
+
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1627
1530
|
/**
|
|
1628
1531
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1629
1532
|
**/
|
|
@@ -2057,10 +1960,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2057
1960
|
* The full account information for a particular account ID.
|
|
2058
1961
|
**/
|
|
2059
1962
|
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2060
|
-
/**
|
|
2061
|
-
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
2062
|
-
**/
|
|
2063
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2064
1963
|
/**
|
|
2065
1964
|
* `Some` if a code upgrade has been authorized.
|
|
2066
1965
|
**/
|
|
@@ -2069,6 +1968,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2069
1968
|
* Map of block numbers to block hashes.
|
|
2070
1969
|
**/
|
|
2071
1970
|
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1971
|
+
/**
|
|
1972
|
+
* Total size (in bytes) of the current block.
|
|
1973
|
+
*
|
|
1974
|
+
* Tracks the size of the header and all extrinsics.
|
|
1975
|
+
**/
|
|
1976
|
+
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
1979
|
+
**/
|
|
1980
|
+
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2072
1981
|
/**
|
|
2073
1982
|
* The current weight for the block.
|
|
2074
1983
|
**/
|
|
@@ -2176,6 +2085,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2176
2085
|
transactionPayment: {
|
|
2177
2086
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2178
2087
|
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2088
|
+
/**
|
|
2089
|
+
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
2090
|
+
*
|
|
2091
|
+
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
|
|
2092
|
+
**/
|
|
2093
|
+
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2179
2094
|
/**
|
|
2180
2095
|
* Generic query
|
|
2181
2096
|
**/
|
|
@@ -2245,6 +2160,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2245
2160
|
* Counter for the related counted storage map
|
|
2246
2161
|
**/
|
|
2247
2162
|
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2163
|
+
/**
|
|
2164
|
+
* Counter for the related counted storage map
|
|
2165
|
+
**/
|
|
2166
|
+
counterForPendingRebag: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2248
2167
|
/**
|
|
2249
2168
|
* A bag stored in storage.
|
|
2250
2169
|
*
|
|
@@ -2269,6 +2188,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2269
2188
|
* When `None`, the next scan will start from the list head again.
|
|
2270
2189
|
**/
|
|
2271
2190
|
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2191
|
+
/**
|
|
2192
|
+
* Accounts that failed to be inserted into the bags-list due to locking.
|
|
2193
|
+
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
|
|
2194
|
+
*
|
|
2195
|
+
* Note: This storage is intentionally unbounded. The following factors make bounding
|
|
2196
|
+
* unnecessary:
|
|
2197
|
+
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
|
|
2198
|
+
* 2. The pallet is only locked during snapshot generation, which is weight-limited
|
|
2199
|
+
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
|
|
2200
|
+
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
|
|
2201
|
+
* auto-rebagging from putting accounts in the correct position
|
|
2202
|
+
*
|
|
2203
|
+
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
|
|
2204
|
+
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
|
|
2205
|
+
* while waiting in the queue).
|
|
2206
|
+
**/
|
|
2207
|
+
pendingRebag: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2272
2208
|
/**
|
|
2273
2209
|
* Generic query
|
|
2274
2210
|
**/
|