@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/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
3
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
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, 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, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo,
|
|
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, PalletRcMigratorAccountsAccountState, PalletRcMigratorAccountsMigratedBalances, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, 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, 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, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, 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>;
|
|
@@ -1086,6 +1086,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1086
1086
|
* The actions to perform during the start of a specific session index.
|
|
1087
1087
|
**/
|
|
1088
1088
|
actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1089
|
+
/**
|
|
1090
|
+
* The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
|
|
1091
|
+
**/
|
|
1092
|
+
authorizedCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1089
1093
|
/**
|
|
1090
1094
|
* Validation code stored by its hash.
|
|
1091
1095
|
*
|
|
@@ -1352,7 +1356,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1352
1356
|
/**
|
|
1353
1357
|
* Validators pending dispute slashes.
|
|
1354
1358
|
**/
|
|
1355
|
-
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<
|
|
1359
|
+
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
1356
1360
|
/**
|
|
1357
1361
|
* `ValidatorSetCount` per session.
|
|
1358
1362
|
**/
|
|
@@ -1392,6 +1396,141 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1392
1396
|
**/
|
|
1393
1397
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1394
1398
|
};
|
|
1399
|
+
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
|
+
/**
|
|
1428
|
+
* Counter for the related counted storage map
|
|
1429
|
+
**/
|
|
1430
|
+
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1431
|
+
/**
|
|
1432
|
+
* An optional account id of a manager.
|
|
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`.
|
|
1459
|
+
**/
|
|
1460
|
+
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1461
|
+
/**
|
|
1462
|
+
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
1463
|
+
*
|
|
1464
|
+
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
1465
|
+
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
1466
|
+
**/
|
|
1467
|
+
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
|
+
/**
|
|
1493
|
+
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
1494
|
+
* fully on Relay Chain.
|
|
1495
|
+
**/
|
|
1496
|
+
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
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, []>;
|
|
1529
|
+
/**
|
|
1530
|
+
* Generic query
|
|
1531
|
+
**/
|
|
1532
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1533
|
+
};
|
|
1395
1534
|
referenda: {
|
|
1396
1535
|
/**
|
|
1397
1536
|
* The number of referenda being decided currently.
|
|
@@ -1825,6 +1964,69 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1825
1964
|
**/
|
|
1826
1965
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1827
1966
|
};
|
|
1967
|
+
stakingAhClient: {
|
|
1968
|
+
/**
|
|
1969
|
+
* An incomplete validator set report.
|
|
1970
|
+
**/
|
|
1971
|
+
incompleteValidatorSetReport: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncRcClientValidatorSetReport>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Indicates the current operating mode of the pallet.
|
|
1974
|
+
*
|
|
1975
|
+
* This value determines how the pallet behaves in response to incoming and outgoing messages,
|
|
1976
|
+
* particularly whether it should execute logic directly, defer it, or delegate it entirely.
|
|
1977
|
+
**/
|
|
1978
|
+
mode: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncAhClientOperatingMode>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1979
|
+
/**
|
|
1980
|
+
* A storage value that is set when a `new_session` gives a new validator set to the session
|
|
1981
|
+
* pallet, and is cleared on the next call.
|
|
1982
|
+
*
|
|
1983
|
+
* The inner u32 is the id of the said activated validator set. While not relevant here, good
|
|
1984
|
+
* to know this is the planning era index of staking-async on AH.
|
|
1985
|
+
*
|
|
1986
|
+
* Once cleared, we know a validator set has been activated, and therefore we can send a
|
|
1987
|
+
* timestamp to AH.
|
|
1988
|
+
**/
|
|
1989
|
+
nextSessionChangesValidators: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
1992
|
+
**/
|
|
1993
|
+
offenceSendQueueCursor: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
|
1996
|
+
**/
|
|
1997
|
+
offenceSendQueueOffences: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, PalletStakingAsyncRcClientOffence]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1998
|
+
/**
|
|
1999
|
+
* A session report that is outgoing, and should be sent.
|
|
2000
|
+
*
|
|
2001
|
+
* This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
|
|
2002
|
+
* or the second value reaches zero, at which point we drop it.
|
|
2003
|
+
**/
|
|
2004
|
+
outgoingSessionReport: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PalletStakingAsyncRcClientSessionReport, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2005
|
+
/**
|
|
2006
|
+
* All of the points of the validators.
|
|
2007
|
+
*
|
|
2008
|
+
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
|
2009
|
+
* at each session end.
|
|
2010
|
+
**/
|
|
2011
|
+
validatorPoints: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2012
|
+
/**
|
|
2013
|
+
* The queued validator sets for a given planning session index.
|
|
2014
|
+
*
|
|
2015
|
+
* This is received via a call from AssetHub.
|
|
2016
|
+
**/
|
|
2017
|
+
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2018
|
+
/**
|
|
2019
|
+
* The session index at which the latest elected validator set was applied.
|
|
2020
|
+
*
|
|
2021
|
+
* This is used to determine if an offence, given a session index, is in the current active era
|
|
2022
|
+
* or not.
|
|
2023
|
+
**/
|
|
2024
|
+
validatorSetAppliedAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2025
|
+
/**
|
|
2026
|
+
* Generic query
|
|
2027
|
+
**/
|
|
2028
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
2029
|
+
};
|
|
1828
2030
|
stateTrieMigration: {
|
|
1829
2031
|
/**
|
|
1830
2032
|
* The limits that are imposed on automatic migrations.
|
|
@@ -2055,6 +2257,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2055
2257
|
* Nodes store links forward and back within their respective bags.
|
|
2056
2258
|
**/
|
|
2057
2259
|
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Lock all updates to this pallet.
|
|
2262
|
+
*
|
|
2263
|
+
* If any nodes needs updating, removal or addition due to a temporary lock, the
|
|
2264
|
+
* [`Call::rebag`] can be used.
|
|
2265
|
+
**/
|
|
2266
|
+
lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Pointer that remembers the next node that will be auto-rebagged.
|
|
2269
|
+
* When `None`, the next scan will start from the list head again.
|
|
2270
|
+
**/
|
|
2271
|
+
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2058
2272
|
/**
|
|
2059
2273
|
* Generic query
|
|
2060
2274
|
**/
|
|
@@ -7,7 +7,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
|
7
7
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
8
8
|
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
|
9
9
|
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
|
10
|
-
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
10
|
+
import type { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
11
11
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
12
12
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
13
13
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -574,6 +574,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
574
574
|
**/
|
|
575
575
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
576
576
|
};
|
|
577
|
+
/** 0xccd9de6396c899ca/ */
|
|
578
|
+
runtimeViewFunction: {
|
|
579
|
+
/**
|
|
580
|
+
* Execute a view function query.
|
|
581
|
+
**/
|
|
582
|
+
executeViewFunction: AugmentedCall<ApiType, (query_id: FrameSupportViewFunctionsViewFunctionId | {
|
|
583
|
+
prefix?: any;
|
|
584
|
+
suffix?: any;
|
|
585
|
+
} | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
|
|
586
|
+
/**
|
|
587
|
+
* Generic call
|
|
588
|
+
**/
|
|
589
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
590
|
+
};
|
|
577
591
|
/** 0xab3c0572291feb8b/ */
|
|
578
592
|
sessionKeys: {
|
|
579
593
|
/**
|