@polkadot/api-augment 16.5.6 → 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 +6 -6
- 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/kusama/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, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRcMigratorAccountState, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, 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, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, 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.
|
|
@@ -1080,10 +1060,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1080
1060
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1081
1061
|
};
|
|
1082
1062
|
onDemandAssignmentProvider: {
|
|
1083
|
-
/**
|
|
1084
|
-
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
1085
|
-
**/
|
|
1086
|
-
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1087
1063
|
/**
|
|
1088
1064
|
* Keeps track of credits owned by each account.
|
|
1089
1065
|
**/
|
|
@@ -1091,17 +1067,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1091
1067
|
/**
|
|
1092
1068
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
1093
1069
|
**/
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
|
|
1097
|
-
* it's lookahead. Keeping track of this affinity prevents parallel execution of the same
|
|
1098
|
-
* `ParaId` on two or more `CoreIndex`es.
|
|
1099
|
-
**/
|
|
1100
|
-
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1101
|
-
/**
|
|
1102
|
-
* Overall status of queue (both free + affinity entries)
|
|
1103
|
-
**/
|
|
1104
|
-
queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1070
|
+
orderStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandOrderStatus>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1105
1071
|
/**
|
|
1106
1072
|
* Keeps track of accumulated revenue from on demand order sales.
|
|
1107
1073
|
**/
|
|
@@ -1138,7 +1104,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1138
1104
|
/**
|
|
1139
1105
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
1140
1106
|
**/
|
|
1141
|
-
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1107
|
+
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1142
1108
|
/**
|
|
1143
1109
|
* Generic query
|
|
1144
1110
|
**/
|
|
@@ -1152,6 +1118,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1152
1118
|
Inflation: any;
|
|
1153
1119
|
} | {
|
|
1154
1120
|
Treasury: any;
|
|
1121
|
+
} | {
|
|
1122
|
+
AhClient: any;
|
|
1155
1123
|
} | string | Uint8Array) => Observable<Option<StagingKusamaRuntimeRuntimeParametersValue>>, [StagingKusamaRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [StagingKusamaRuntimeRuntimeParametersKey]>;
|
|
1156
1124
|
/**
|
|
1157
1125
|
* Generic query
|
|
@@ -1294,7 +1262,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1294
1262
|
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
1295
1263
|
* the format will require migration of parachains.
|
|
1296
1264
|
**/
|
|
1297
|
-
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1265
|
+
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1298
1266
|
/**
|
|
1299
1267
|
* This is used by the relay-chain to communicate that there are restrictions for performing
|
|
1300
1268
|
* an upgrade for this parachain.
|
|
@@ -1306,7 +1274,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1306
1274
|
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
|
1307
1275
|
* the format will require migration of parachains.
|
|
1308
1276
|
**/
|
|
1309
|
-
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1277
|
+
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1310
1278
|
/**
|
|
1311
1279
|
* Generic query
|
|
1312
1280
|
**/
|
|
@@ -1314,10 +1282,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1314
1282
|
};
|
|
1315
1283
|
paraScheduler: {
|
|
1316
1284
|
/**
|
|
1317
|
-
*
|
|
1318
|
-
*
|
|
1285
|
+
* Assignments which are currently active for each core.
|
|
1286
|
+
*
|
|
1287
|
+
* They will be picked from `CoreSchedules` once we reach the scheduled block number.
|
|
1288
|
+
*
|
|
1289
|
+
* Managed by the `assigner_coretime` submodule.
|
|
1319
1290
|
**/
|
|
1320
|
-
|
|
1291
|
+
coreDescriptors: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1292
|
+
/**
|
|
1293
|
+
* Scheduled assignment sets for coretime cores.
|
|
1294
|
+
*
|
|
1295
|
+
* Assignments as of the given block number. They will go into state once the block number is
|
|
1296
|
+
* reached (and replace whatever was in there before).
|
|
1297
|
+
*
|
|
1298
|
+
* Managed by the `assigner_coretime` submodule.
|
|
1299
|
+
**/
|
|
1300
|
+
coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
|
|
1321
1301
|
/**
|
|
1322
1302
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
1323
1303
|
* have occurred.
|
|
@@ -1352,7 +1332,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1352
1332
|
/**
|
|
1353
1333
|
* All ongoing or concluded disputes for the last several sessions.
|
|
1354
1334
|
**/
|
|
1355
|
-
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1335
|
+
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1356
1336
|
/**
|
|
1357
1337
|
* Whether the chain is frozen. Starts as `None`. When this is `Some`,
|
|
1358
1338
|
* the chain will not accept any new parachain blocks for backing or inclusion,
|
|
@@ -1385,7 +1365,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1385
1365
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
1386
1366
|
* When in doubt, use `Sessions` API instead.
|
|
1387
1367
|
**/
|
|
1388
|
-
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<
|
|
1368
|
+
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1389
1369
|
/**
|
|
1390
1370
|
* The earliest session for which previous session info is stored.
|
|
1391
1371
|
**/
|
|
@@ -1393,13 +1373,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1393
1373
|
/**
|
|
1394
1374
|
* Executor parameter set for a given session index
|
|
1395
1375
|
**/
|
|
1396
|
-
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1376
|
+
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1397
1377
|
/**
|
|
1398
1378
|
* Session information in a rolling window.
|
|
1399
1379
|
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
|
1400
1380
|
* Does not have any entries before the session index in the first session change notification.
|
|
1401
1381
|
**/
|
|
1402
|
-
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1382
|
+
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1403
1383
|
/**
|
|
1404
1384
|
* Generic query
|
|
1405
1385
|
**/
|
|
@@ -1415,15 +1395,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1415
1395
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
1416
1396
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
1417
1397
|
**/
|
|
1418
|
-
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<
|
|
1398
|
+
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1399
|
+
/**
|
|
1400
|
+
* All allowed relay parents, keyed by (session_index, relay_parent_hash).
|
|
1401
|
+
**/
|
|
1402
|
+
allowedRelayParents: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingRelayParentInfo>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1419
1403
|
/**
|
|
1420
|
-
* All allowed
|
|
1404
|
+
* All allowed scheduling parents.
|
|
1421
1405
|
**/
|
|
1422
|
-
|
|
1406
|
+
allowedSchedulingParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1423
1407
|
/**
|
|
1424
1408
|
* The current session index.
|
|
1425
1409
|
**/
|
|
1426
1410
|
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1411
|
+
/**
|
|
1412
|
+
* The minimum relay parent block number for each session that has entries in
|
|
1413
|
+
* `AllowedRelayParents`. This is the block number of the first relay parent
|
|
1414
|
+
* added to each session.
|
|
1415
|
+
**/
|
|
1416
|
+
minimumRelayParentNumber: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1417
|
+
/**
|
|
1418
|
+
* The oldest session index for which we still have relay parent entries in
|
|
1419
|
+
* `AllowedRelayParents`. Used to efficiently prune all expired sessions
|
|
1420
|
+
* when `max_relay_parent_session_age` decreases.
|
|
1421
|
+
**/
|
|
1422
|
+
oldestRelayParentSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1427
1423
|
/**
|
|
1428
1424
|
* Generic query
|
|
1429
1425
|
**/
|
|
@@ -1433,7 +1429,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1433
1429
|
/**
|
|
1434
1430
|
* Validators pending dispute slashes.
|
|
1435
1431
|
**/
|
|
1436
|
-
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1432
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1437
1433
|
/**
|
|
1438
1434
|
* `ValidatorSetCount` per session.
|
|
1439
1435
|
**/
|
|
@@ -1451,6 +1447,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1451
1447
|
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1452
1448
|
/**
|
|
1453
1449
|
* The request status of a given hash.
|
|
1450
|
+
*
|
|
1451
|
+
* @deprecated RequestStatusFor
|
|
1454
1452
|
**/
|
|
1455
1453
|
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1456
1454
|
/**
|
|
@@ -1474,140 +1472,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1474
1472
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1475
1473
|
};
|
|
1476
1474
|
rcMigrator: {
|
|
1477
|
-
/**
|
|
1478
|
-
* The priority of the Asset Hub UMP queue during migration.
|
|
1479
|
-
*
|
|
1480
|
-
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
|
|
1481
|
-
* queues during the migration process. This helps ensure timely processing of migration
|
|
1482
|
-
* messages. The default priority pattern is defined in the pallet configuration, but can be
|
|
1483
|
-
* overridden by a storage value of this type.
|
|
1484
|
-
**/
|
|
1485
|
-
ahUmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1486
|
-
/**
|
|
1487
|
-
* An optional account id of a canceller.
|
|
1488
|
-
*
|
|
1489
|
-
* This account id can only stop scheduled migration.
|
|
1490
|
-
**/
|
|
1491
|
-
canceller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1492
|
-
/**
|
|
1493
|
-
* The duration of the post migration cool-off period.
|
|
1494
|
-
*
|
|
1495
|
-
* This is the duration of the cool-off period after the data migration is finished. During
|
|
1496
|
-
* this period, the migration will be still in ongoing state and the concerned extrinsics will
|
|
1497
|
-
* be locked.
|
|
1498
|
-
**/
|
|
1499
|
-
coolOffPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1500
|
-
/**
|
|
1501
|
-
* Counter for the related counted storage map
|
|
1502
|
-
**/
|
|
1503
|
-
counterForPendingXcmMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1504
1475
|
/**
|
|
1505
1476
|
* Counter for the related counted storage map
|
|
1506
1477
|
**/
|
|
1507
1478
|
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1508
1479
|
/**
|
|
1509
|
-
*
|
|
1510
|
-
*
|
|
1511
|
-
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
1512
|
-
* can not set the manager account id via `set_manager` call.
|
|
1513
|
-
**/
|
|
1514
|
-
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1515
|
-
managerMultisigRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1516
|
-
managerMultisigs: AugmentedQuery<ApiType, (arg: Call | IMethod | string | Uint8Array) => Observable<Vec<SpRuntimeMultiSigner>>, [Call]> & QueryableStorageEntry<ApiType, [Call]>;
|
|
1517
|
-
/**
|
|
1518
|
-
* Block number when migration finished and extrinsics were unlocked.
|
|
1519
|
-
*
|
|
1520
|
-
* This is set when entering the `MigrationDone` stage hence when
|
|
1521
|
-
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
1480
|
+
* The block number when the migration ended.
|
|
1522
1481
|
**/
|
|
1523
1482
|
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1524
1483
|
/**
|
|
1525
|
-
* The block number
|
|
1526
|
-
*
|
|
1527
|
-
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
1528
|
-
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
1484
|
+
* The block number when the migration started.
|
|
1529
1485
|
**/
|
|
1530
1486
|
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1531
|
-
/**
|
|
1532
|
-
* The pending XCM messages.
|
|
1533
|
-
*
|
|
1534
|
-
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
|
|
1535
|
-
*
|
|
1536
|
-
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
|
|
1537
|
-
**/
|
|
1538
|
-
pendingXcmMessages: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<StagingXcmV5Xcm>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1539
|
-
/**
|
|
1540
|
-
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
1541
|
-
* [`PendingXcmMessages`] storage.
|
|
1542
|
-
*
|
|
1543
|
-
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
|
|
1544
|
-
* pallet will notify about the status of the message by calling the
|
|
1545
|
-
* [`Pallet::receive_query_response`] function with the `QueryId` and the
|
|
1546
|
-
* response.
|
|
1547
|
-
**/
|
|
1548
|
-
pendingXcmQueries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
1549
|
-
/**
|
|
1550
|
-
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
1551
|
-
*
|
|
1552
|
-
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
|
1553
|
-
**/
|
|
1554
|
-
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<bool>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1555
1487
|
/**
|
|
1556
1488
|
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
1557
1489
|
* fully on Relay Chain.
|
|
1558
1490
|
**/
|
|
1559
|
-
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
1560
|
-
/**
|
|
1561
|
-
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
|
1562
|
-
**/
|
|
1563
|
-
rcMigratedBalance: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1564
|
-
/**
|
|
1565
|
-
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
1566
|
-
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
|
|
1567
|
-
*
|
|
1568
|
-
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
|
|
1569
|
-
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
|
|
1570
|
-
* later discoveries.
|
|
1571
|
-
**/
|
|
1572
|
-
rcMigratedBalanceArchive: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1573
|
-
/**
|
|
1574
|
-
* The Relay Chain migration state.
|
|
1575
|
-
**/
|
|
1576
|
-
rcMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1577
|
-
/**
|
|
1578
|
-
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
1579
|
-
**/
|
|
1580
|
-
unprocessedMsgBuffer: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1581
|
-
/**
|
|
1582
|
-
* The duration of the pre migration warm-up period.
|
|
1583
|
-
*
|
|
1584
|
-
* This is the duration of the warm-up period before the data migration starts. During this
|
|
1585
|
-
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
|
|
1586
|
-
**/
|
|
1587
|
-
warmUpPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1588
|
-
/**
|
|
1589
|
-
* Generic query
|
|
1590
|
-
**/
|
|
1591
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1592
|
-
};
|
|
1593
|
-
recovery: {
|
|
1594
|
-
/**
|
|
1595
|
-
* Active recovery attempts.
|
|
1596
|
-
*
|
|
1597
|
-
* First account is the account to be recovered, and the second account
|
|
1598
|
-
* is the user trying to recover the account.
|
|
1599
|
-
**/
|
|
1600
|
-
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
1601
|
-
/**
|
|
1602
|
-
* The list of allowed proxy accounts.
|
|
1603
|
-
*
|
|
1604
|
-
* Map from the user who can access it to the recovered account.
|
|
1605
|
-
**/
|
|
1606
|
-
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1607
|
-
/**
|
|
1608
|
-
* The set of recoverable accounts and their recovery configuration.
|
|
1609
|
-
**/
|
|
1610
|
-
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1491
|
+
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1611
1492
|
/**
|
|
1612
1493
|
* Generic query
|
|
1613
1494
|
**/
|
|
@@ -1706,6 +1587,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1706
1587
|
* a new set of identities.
|
|
1707
1588
|
**/
|
|
1708
1589
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Accounts whose keys were set via `SessionInterface` (external path) without
|
|
1592
|
+
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
|
|
1593
|
+
* only decrements consumers for accounts that were registered through the local
|
|
1594
|
+
* session pallet.
|
|
1595
|
+
**/
|
|
1596
|
+
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1709
1597
|
/**
|
|
1710
1598
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1711
1599
|
**/
|
|
@@ -2209,10 +2097,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2209
2097
|
* The full account information for a particular account ID.
|
|
2210
2098
|
**/
|
|
2211
2099
|
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2212
|
-
/**
|
|
2213
|
-
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
2214
|
-
**/
|
|
2215
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2216
2100
|
/**
|
|
2217
2101
|
* `Some` if a code upgrade has been authorized.
|
|
2218
2102
|
**/
|
|
@@ -2221,6 +2105,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2221
2105
|
* Map of block numbers to block hashes.
|
|
2222
2106
|
**/
|
|
2223
2107
|
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2108
|
+
/**
|
|
2109
|
+
* Total size (in bytes) of the current block.
|
|
2110
|
+
*
|
|
2111
|
+
* Tracks the size of the header and all extrinsics.
|
|
2112
|
+
**/
|
|
2113
|
+
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
2116
|
+
**/
|
|
2117
|
+
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2224
2118
|
/**
|
|
2225
2119
|
* The current weight for the block.
|
|
2226
2120
|
**/
|
|
@@ -2328,6 +2222,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2328
2222
|
transactionPayment: {
|
|
2329
2223
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2330
2224
|
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2225
|
+
/**
|
|
2226
|
+
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
2227
|
+
*
|
|
2228
|
+
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
|
|
2229
|
+
**/
|
|
2230
|
+
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2331
2231
|
/**
|
|
2332
2232
|
* Generic query
|
|
2333
2233
|
**/
|
|
@@ -2397,6 +2297,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2397
2297
|
* Counter for the related counted storage map
|
|
2398
2298
|
**/
|
|
2399
2299
|
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2300
|
+
/**
|
|
2301
|
+
* Counter for the related counted storage map
|
|
2302
|
+
**/
|
|
2303
|
+
counterForPendingRebag: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2400
2304
|
/**
|
|
2401
2305
|
* A bag stored in storage.
|
|
2402
2306
|
*
|
|
@@ -2421,6 +2325,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2421
2325
|
* When `None`, the next scan will start from the list head again.
|
|
2422
2326
|
**/
|
|
2423
2327
|
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2328
|
+
/**
|
|
2329
|
+
* Accounts that failed to be inserted into the bags-list due to locking.
|
|
2330
|
+
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
|
|
2331
|
+
*
|
|
2332
|
+
* Note: This storage is intentionally unbounded. The following factors make bounding
|
|
2333
|
+
* unnecessary:
|
|
2334
|
+
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
|
|
2335
|
+
* 2. The pallet is only locked during snapshot generation, which is weight-limited
|
|
2336
|
+
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
|
|
2337
|
+
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
|
|
2338
|
+
* auto-rebagging from putting accounts in the correct position
|
|
2339
|
+
*
|
|
2340
|
+
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
|
|
2341
|
+
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
|
|
2342
|
+
* while waiting in the queue).
|
|
2343
|
+
**/
|
|
2344
|
+
pendingRebag: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2424
2345
|
/**
|
|
2425
2346
|
* Generic query
|
|
2426
2347
|
**/
|