@polkadot/api-augment 16.4.8 → 16.5.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 +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
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,
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
3
|
+
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight,
|
|
6
|
+
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportScheduleDispatchTime, 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, PalletRcMigratorAccountsAccountState, PalletRcMigratorAccountsMigratedBalances, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, 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, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingPendingSlashes, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpRuntimeMultiSigner, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, StagingXcmV5Xcm, 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>;
|
|
@@ -225,17 +225,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
225
225
|
/**
|
|
226
226
|
* Freeze locks on account balances.
|
|
227
227
|
**/
|
|
228
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<
|
|
229
|
-
readonly id: StagingKusamaRuntimeRuntimeFreezeReason;
|
|
230
|
-
readonly amount: u128;
|
|
231
|
-
} & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
228
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
232
229
|
/**
|
|
233
230
|
* Holds on account balances.
|
|
234
231
|
**/
|
|
235
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<
|
|
236
|
-
readonly id: StagingKusamaRuntimeRuntimeHoldReason;
|
|
237
|
-
readonly amount: u128;
|
|
238
|
-
} & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
232
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
239
233
|
/**
|
|
240
234
|
* The total units of outstanding deactivated balance in the system.
|
|
241
235
|
**/
|
|
@@ -959,97 +953,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
959
953
|
**/
|
|
960
954
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
961
955
|
};
|
|
962
|
-
nis: {
|
|
963
|
-
/**
|
|
964
|
-
* The queues of bids. Indexed by duration (in `Period`s).
|
|
965
|
-
**/
|
|
966
|
-
queues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletNisBid>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
967
|
-
/**
|
|
968
|
-
* The totals of items and balances within each queue. Saves a lot of storage reads in the
|
|
969
|
-
* case of sparsely packed queues.
|
|
970
|
-
*
|
|
971
|
-
* The vector is indexed by duration in `Period`s, offset by one, so information on the queue
|
|
972
|
-
* whose duration is one `Period` would be storage `0`.
|
|
973
|
-
**/
|
|
974
|
-
queueTotals: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
975
|
-
/**
|
|
976
|
-
* The currently outstanding receipts, indexed according to the order of creation.
|
|
977
|
-
**/
|
|
978
|
-
receipts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNisReceiptRecord>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
979
|
-
/**
|
|
980
|
-
* Summary information over the general state.
|
|
981
|
-
**/
|
|
982
|
-
summary: AugmentedQuery<ApiType, () => Observable<PalletNisSummaryRecord>, []> & QueryableStorageEntry<ApiType, []>;
|
|
983
|
-
/**
|
|
984
|
-
* Generic query
|
|
985
|
-
**/
|
|
986
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
987
|
-
};
|
|
988
|
-
nisCounterpartBalances: {
|
|
989
|
-
/**
|
|
990
|
-
* The Balances pallet example of storing the balance of an account.
|
|
991
|
-
*
|
|
992
|
-
* # Example
|
|
993
|
-
*
|
|
994
|
-
* ```nocompile
|
|
995
|
-
* impl pallet_balances::Config for Runtime {
|
|
996
|
-
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
|
997
|
-
* }
|
|
998
|
-
* ```
|
|
999
|
-
*
|
|
1000
|
-
* You can also store the balance of an account in the `System` pallet.
|
|
1001
|
-
*
|
|
1002
|
-
* # Example
|
|
1003
|
-
*
|
|
1004
|
-
* ```nocompile
|
|
1005
|
-
* impl pallet_balances::Config for Runtime {
|
|
1006
|
-
* type AccountStore = System
|
|
1007
|
-
* }
|
|
1008
|
-
* ```
|
|
1009
|
-
*
|
|
1010
|
-
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
|
1011
|
-
* `frame_system` data alongside the account data contrary to storing account balances in the
|
|
1012
|
-
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
1013
|
-
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
1014
|
-
**/
|
|
1015
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1016
|
-
/**
|
|
1017
|
-
* Freeze locks on account balances.
|
|
1018
|
-
**/
|
|
1019
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1020
|
-
/**
|
|
1021
|
-
* Holds on account balances.
|
|
1022
|
-
**/
|
|
1023
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
|
|
1024
|
-
readonly id: StagingKusamaRuntimeRuntimeHoldReason;
|
|
1025
|
-
readonly amount: u128;
|
|
1026
|
-
} & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1027
|
-
/**
|
|
1028
|
-
* The total units of outstanding deactivated balance in the system.
|
|
1029
|
-
**/
|
|
1030
|
-
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1031
|
-
/**
|
|
1032
|
-
* Any liquidity locks on some account balances.
|
|
1033
|
-
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
1034
|
-
*
|
|
1035
|
-
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
1036
|
-
**/
|
|
1037
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Named reserves on some account balances.
|
|
1040
|
-
*
|
|
1041
|
-
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
1042
|
-
**/
|
|
1043
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1044
|
-
/**
|
|
1045
|
-
* The total units issued in the system.
|
|
1046
|
-
**/
|
|
1047
|
-
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1048
|
-
/**
|
|
1049
|
-
* Generic query
|
|
1050
|
-
**/
|
|
1051
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1052
|
-
};
|
|
1053
956
|
nominationPools: {
|
|
1054
957
|
/**
|
|
1055
958
|
* Storage for bonded pools.
|
|
@@ -1260,6 +1163,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1260
1163
|
* The actions to perform during the start of a specific session index.
|
|
1261
1164
|
**/
|
|
1262
1165
|
actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1166
|
+
/**
|
|
1167
|
+
* The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
|
|
1168
|
+
**/
|
|
1169
|
+
authorizedCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1263
1170
|
/**
|
|
1264
1171
|
* Validation code stored by its hash.
|
|
1265
1172
|
*
|
|
@@ -1526,7 +1433,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1526
1433
|
/**
|
|
1527
1434
|
* Validators pending dispute slashes.
|
|
1528
1435
|
**/
|
|
1529
|
-
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1436
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1530
1437
|
/**
|
|
1531
1438
|
* `ValidatorSetCount` per session.
|
|
1532
1439
|
**/
|
|
@@ -1566,6 +1473,123 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1566
1473
|
**/
|
|
1567
1474
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1568
1475
|
};
|
|
1476
|
+
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
|
+
/**
|
|
1505
|
+
* Counter for the related counted storage map
|
|
1506
|
+
**/
|
|
1507
|
+
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1508
|
+
/**
|
|
1509
|
+
* An optional account id of a manager.
|
|
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`.
|
|
1522
|
+
**/
|
|
1523
|
+
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1524
|
+
/**
|
|
1525
|
+
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
1526
|
+
*
|
|
1527
|
+
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
1528
|
+
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
1529
|
+
**/
|
|
1530
|
+
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
|
+
/**
|
|
1556
|
+
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
1557
|
+
* fully on Relay Chain.
|
|
1558
|
+
**/
|
|
1559
|
+
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
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
|
+
};
|
|
1569
1593
|
recovery: {
|
|
1570
1594
|
/**
|
|
1571
1595
|
* Active recovery attempts.
|
|
@@ -1773,12 +1797,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1773
1797
|
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
|
1774
1798
|
**/
|
|
1775
1799
|
members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1800
|
+
/**
|
|
1801
|
+
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
|
1802
|
+
**/
|
|
1803
|
+
nextChallengeAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1776
1804
|
/**
|
|
1777
1805
|
* At the end of the claim period, this contains the most recently approved members (along with
|
|
1778
1806
|
* their bid and round ID) who is from the most recent round with the lowest bid. They will
|
|
1779
1807
|
* become the new `Head`.
|
|
1780
1808
|
**/
|
|
1781
1809
|
nextHead: AugmentedQuery<ApiType, () => Observable<Option<PalletSocietyIntakeRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Next intake rotation scheduled with [Config::BlockNumberProvider].
|
|
1812
|
+
**/
|
|
1813
|
+
nextIntakeAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1782
1814
|
/**
|
|
1783
1815
|
* The max number of members for the society at one time.
|
|
1784
1816
|
**/
|
|
@@ -2109,6 +2141,69 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2109
2141
|
**/
|
|
2110
2142
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2111
2143
|
};
|
|
2144
|
+
stakingAhClient: {
|
|
2145
|
+
/**
|
|
2146
|
+
* An incomplete validator set report.
|
|
2147
|
+
**/
|
|
2148
|
+
incompleteValidatorSetReport: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncRcClientValidatorSetReport>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2149
|
+
/**
|
|
2150
|
+
* Indicates the current operating mode of the pallet.
|
|
2151
|
+
*
|
|
2152
|
+
* This value determines how the pallet behaves in response to incoming and outgoing messages,
|
|
2153
|
+
* particularly whether it should execute logic directly, defer it, or delegate it entirely.
|
|
2154
|
+
**/
|
|
2155
|
+
mode: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncAhClientOperatingMode>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2156
|
+
/**
|
|
2157
|
+
* A storage value that is set when a `new_session` gives a new validator set to the session
|
|
2158
|
+
* pallet, and is cleared on the next call.
|
|
2159
|
+
*
|
|
2160
|
+
* The inner u32 is the id of the said activated validator set. While not relevant here, good
|
|
2161
|
+
* to know this is the planning era index of staking-async on AH.
|
|
2162
|
+
*
|
|
2163
|
+
* Once cleared, we know a validator set has been activated, and therefore we can send a
|
|
2164
|
+
* timestamp to AH.
|
|
2165
|
+
**/
|
|
2166
|
+
nextSessionChangesValidators: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2167
|
+
/**
|
|
2168
|
+
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
2169
|
+
**/
|
|
2170
|
+
offenceSendQueueCursor: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2171
|
+
/**
|
|
2172
|
+
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
2173
|
+
**/
|
|
2174
|
+
offenceSendQueueOffences: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, PalletStakingAsyncRcClientOffence]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
2175
|
+
/**
|
|
2176
|
+
* A session report that is outgoing, and should be sent.
|
|
2177
|
+
*
|
|
2178
|
+
* This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
|
|
2179
|
+
* or the second value reaches zero, at which point we drop it.
|
|
2180
|
+
**/
|
|
2181
|
+
outgoingSessionReport: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PalletStakingAsyncRcClientSessionReport, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2182
|
+
/**
|
|
2183
|
+
* All of the points of the validators.
|
|
2184
|
+
*
|
|
2185
|
+
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
|
2186
|
+
* at each session end.
|
|
2187
|
+
**/
|
|
2188
|
+
validatorPoints: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2189
|
+
/**
|
|
2190
|
+
* The queued validator sets for a given planning session index.
|
|
2191
|
+
*
|
|
2192
|
+
* This is received via a call from AssetHub.
|
|
2193
|
+
**/
|
|
2194
|
+
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2195
|
+
/**
|
|
2196
|
+
* The session index at which the latest elected validator set was applied.
|
|
2197
|
+
*
|
|
2198
|
+
* This is used to determine if an offence, given a session index, is in the current active era
|
|
2199
|
+
* or not.
|
|
2200
|
+
**/
|
|
2201
|
+
validatorSetAppliedAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2202
|
+
/**
|
|
2203
|
+
* Generic query
|
|
2204
|
+
**/
|
|
2205
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2206
|
+
};
|
|
2112
2207
|
system: {
|
|
2113
2208
|
/**
|
|
2114
2209
|
* The full account information for a particular account ID.
|
|
@@ -2314,6 +2409,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2314
2409
|
* Nodes store links forward and back within their respective bags.
|
|
2315
2410
|
**/
|
|
2316
2411
|
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Lock all updates to this pallet.
|
|
2414
|
+
*
|
|
2415
|
+
* If any nodes needs updating, removal or addition due to a temporary lock, the
|
|
2416
|
+
* [`Call::rebag`] can be used.
|
|
2417
|
+
**/
|
|
2418
|
+
lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2419
|
+
/**
|
|
2420
|
+
* Pointer that remembers the next node that will be auto-rebagged.
|
|
2421
|
+
* When `None`, the next scan will start from the list head again.
|
|
2422
|
+
**/
|
|
2423
|
+
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2317
2424
|
/**
|
|
2318
2425
|
* Generic query
|
|
2319
2426
|
**/
|