Upgrade Kusama types to 1.5.0 (#6139)

This commit is contained in:
Valentin Fernandez
2025-05-09 12:39:57 -03:00
committed by GitHub
parent decffcbf17
commit 01c3615cc0
14 changed files with 10914 additions and 8293 deletions
+5 -2
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from '@polkadot/types/lookup';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -214,7 +214,7 @@ declare module '@polkadot/api-base/types/consts' {
/**
* The coretime chain pot location.
**/
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -967,6 +967,9 @@ declare module '@polkadot/api-base/types/consts' {
**/
burn: Permill & AugmentedConst<ApiType>;
/**
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
*
* The maximum number of approvals that can wait in the spending queue.
*
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
+3 -27
View File
@@ -359,27 +359,11 @@ declare module '@polkadot/api-base/types/errors' {
};
coretimeAssignmentProvider: {
AssignmentsEmpty: AugmentedError<ApiType>;
/**
* Tried to add an unsorted set of assignments
**/
AssignmentsNotSorted: AugmentedError<ApiType>;
/**
* assign_core is only allowed to append new assignments at the end of already existing
* ones.
* ones or update the last entry.
**/
DisallowedInsert: AugmentedError<ApiType>;
/**
* Tried to insert a schedule for the same core and block number as an existing schedule
**/
DuplicateInsert: AugmentedError<ApiType>;
/**
* Assignments together exceeded 57600.
**/
OverScheduled: AugmentedError<ApiType>;
/**
* Assignments together less than 57600
**/
UnderScheduled: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -1280,10 +1264,6 @@ declare module '@polkadot/api-base/types/errors' {
* A reward pool does not exist. In all cases this is a system logic error.
**/
RewardPoolNotFound: AugmentedError<ApiType>;
/**
* The slash amount is too low to be applied.
**/
SlashTooLow: AugmentedError<ApiType>;
/**
* A sub pool does not exist.
**/
@@ -1387,14 +1367,10 @@ declare module '@polkadot/api-base/types/errors' {
};
paraInherent: {
/**
* A candidate was filtered during inherent execution. This should have only been done
* Inherent data was filtered during execution. This should have only been done
* during creation.
**/
CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
/**
* The data given to the inherent will result in an overweight block.
**/
InherentOverweight: AugmentedError<ApiType>;
InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
/**
* The hash of the submitted parent header doesn't correspond to the saved block hash of
* the parent.
+28 -28
View File
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -876,15 +876,15 @@ declare module '@polkadot/api-base/types/events' {
/**
* A candidate was backed. `[candidate, head_data]`
**/
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate was included. `[candidate, head_data]`
**/
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate timed out. `[candidate, head_data]`
**/
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32]>;
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
/**
* Some upward messages have been received and will be processed.
**/
@@ -995,7 +995,7 @@ declare module '@polkadot/api-base/types/events' {
/**
* A proxy was added.
**/
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32 }>;
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32 }>;
/**
* A proxy was executed correctly, with the given.
**/
@@ -1003,12 +1003,12 @@ declare module '@polkadot/api-base/types/events' {
/**
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32 }>;
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, delay: u32 }>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: StagingKusamaRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: StagingKusamaRuntimeProxyType, disambiguationIndex: u16 }>;
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
@@ -1300,9 +1300,9 @@ declare module '@polkadot/api-base/types/events' {
**/
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* The stakers' rewards are getting paid.
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
**/
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], { eraIndex: u32, validatorStash: AccountId32 }>;
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], { eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32> }>;
/**
* The nominator has been rewarded by this amount to this destination.
**/
@@ -1358,11 +1358,11 @@ declare module '@polkadot/api-base/types/events' {
/**
* An extrinsic failed.
**/
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo }>;
/**
* An extrinsic completed successfully.
**/
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], { dispatchInfo: FrameSystemDispatchEventInfo }>;
/**
* An account was reaped.
**/
@@ -1523,25 +1523,25 @@ declare module '@polkadot/api-base/types/events' {
/**
* Some assets have been claimed from an asset trap
**/
AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets }>;
AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], { hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets }>;
/**
* Some assets have been placed in an asset trap.
**/
AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets }>;
AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], { hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets }>;
/**
* Execution of an XCM message was attempted.
**/
Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome }>;
Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV5TraitsOutcome], { outcome: StagingXcmV5TraitsOutcome }>;
/**
* Fees were paid from a location for an operation (often for using `SendXcm`).
**/
FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets }>;
FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets], { paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets }>;
/**
* Expected query response has been received but the querier location of the response does
* not match the expected. The query remains registered for a later, valid, response to
* be received and acted upon.
**/
InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location>], { origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location> }>;
InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedQuerier: StagingXcmV5Location, maybeActualQuerier: Option<StagingXcmV5Location>], { origin: StagingXcmV5Location, queryId: u64, expectedQuerier: StagingXcmV5Location, maybeActualQuerier: Option<StagingXcmV5Location> }>;
/**
* Expected query response has been received but the expected querier location placed in
* storage by this runtime previously cannot be decoded. The query remains registered.
@@ -1551,13 +1551,13 @@ declare module '@polkadot/api-base/types/events' {
* valid response will be dropped. Manual governance intervention is probably going to be
* needed.
**/
InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location, queryId: u64 }>;
InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], { origin: StagingXcmV5Location, queryId: u64 }>;
/**
* Expected query response has been received but the origin location of the response does
* not match that expected. The query remains registered for a later, valid, response to
* be received and acted upon.
**/
InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location>], { origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location> }>;
InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedLocation: Option<StagingXcmV5Location>], { origin: StagingXcmV5Location, queryId: u64, expectedLocation: Option<StagingXcmV5Location> }>;
/**
* Expected query response has been received but the expected origin location placed in
* storage by this runtime previously cannot be decoded. The query remains registered.
@@ -1567,7 +1567,7 @@ declare module '@polkadot/api-base/types/events' {
* valid response will be dropped. Manual governance intervention is probably going to be
* needed.
**/
InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location, queryId: u64 }>;
InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], { origin: StagingXcmV5Location, queryId: u64 }>;
/**
* Query response has been received and query is removed. The registered notification has
* been dispatched and executed successfully.
@@ -1599,12 +1599,12 @@ declare module '@polkadot/api-base/types/events' {
* A given location which had a version change subscription was dropped owing to an error
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError }>;
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
**/
ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64, response: StagingXcmV4Response }>;
ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV5Response], { queryId: u64, response: StagingXcmV5Response }>;
/**
* Received query response has been read and removed.
**/
@@ -1612,24 +1612,24 @@ declare module '@polkadot/api-base/types/events' {
/**
* A XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed], { origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed }>;
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
* The supported version of a location has been changed. This might be through an
* automatic notification or a manual intervention.
**/
SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV4Location, version: u32], { location: StagingXcmV4Location, version: u32 }>;
SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV5Location, version: u32], { location: StagingXcmV5Location, version: u32 }>;
/**
* Query response received which does not match a registered query. This may be because a
* matching query was never registered, it may be because it is a duplicate response, or
* because the query timed out.
**/
UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location, queryId: u64 }>;
UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], { origin: StagingXcmV5Location, queryId: u64 }>;
/**
* An XCM version change notification message has been attempted to be sent.
*
* The cost of sending it (borne by the chain) is included.
**/
VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed }>;
VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, result: u32, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], { destination: StagingXcmV5Location, result: u32, cost: StagingXcmV5AssetAssets, messageId: U8aFixed }>;
/**
* A XCM version migration finished.
**/
@@ -1637,17 +1637,17 @@ declare module '@polkadot/api-base/types/events' {
/**
* We have requested that a remote chain send us XCM version change notifications.
**/
VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed }>;
VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], { destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed }>;
/**
* A remote has requested XCM version change notification from us and we have honored it.
* A version information message is sent to them and its cost is included.
**/
VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed }>;
VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], { destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed }>;
/**
* We have requested that a remote chain stops sending us XCM version change
* notifications.
**/
VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed }>;
VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], { destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed }>;
/**
* Generic event
**/
+43 -25
View File
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, 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, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, 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, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -24,7 +24,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)`
**/
conversionRateToNative: AugmentedQuery<ApiType, (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
conversionRateToNative: AugmentedQuery<ApiType, (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
/**
* Generic query
**/
@@ -345,22 +345,37 @@ declare module '@polkadot/api-base/types/storage' {
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* Number of total child bounties.
* DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
* for each parent bounty. Number of total child bounties. Will be removed in May 2025.
**/
childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The description of each child-bounty.
* The description of each child-bounty. Indexed by `(parent_id, child_id)`.
*
* This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
**/
childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
childBountyDescriptionsV1: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* The cumulative child-bounty curator fee for each parent bounty.
**/
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of child bounties per parent bounty.
* Number of active child bounties per parent bounty.
* Map of parent bounty index to number of child bounties.
**/
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of total child bounties per parent bounty, including completed bounties.
**/
parentTotalChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
*
* The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
* based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
* The item intended solely for client convenience and not used in the pallet's core logic.
**/
v0ToV1ChildBountyIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
@@ -856,7 +871,7 @@ declare module '@polkadot/api-base/types/storage' {
};
initializer: {
/**
* Buffered session changes along with the block number at which they should be applied.
* Buffered session changes.
*
* Typically this will be empty or one element long. Apart from that this item never hits
* the storage.
@@ -1202,7 +1217,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Scraped on chain data for extracting resolved disputes as well as backing votes.
**/
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1369,21 +1384,11 @@ declare module '@polkadot/api-base/types/storage' {
[key: string]: QueryableStorageEntry<ApiType>;
};
paraScheduler: {
/**
* One entry for each availability core. The i'th parachain belongs to the i'th core, with the
* remaining cores all being on demand parachain multiplexers.
*
* Bounded by the maximum of either of these two values:
* * The number of parachains and parathread multiplexers
* * The number of validators divided by `configuration.max_validators_per_core`.
**/
availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* One entry for each availability core. The `VecDeque` represents the assignments to be
* scheduled on that core. The value contained here will not be valid after the end of
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
* scheduled on that core.
**/
claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerCommonAssignment>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The block number where the session start occurred. Used to track how many group rotations
* have occurred.
@@ -2210,6 +2215,9 @@ declare module '@polkadot/api-base/types/storage' {
};
treasury: {
/**
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
*
* Proposal indices that have been approved but not yet awarded.
**/
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -2218,10 +2226,20 @@ declare module '@polkadot/api-base/types/storage' {
**/
deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The blocknumber for the last triggered spend period.
**/
lastSpendPeriod: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
*
* Number of proposals that have been made.
**/
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
*
* Proposals that have been made.
**/
proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -2315,11 +2333,11 @@ declare module '@polkadot/api-base/types/storage' {
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
* implementation in the XCM executor configuration.
**/
recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV5Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Fungible assets which we know are locked on a remote chain.
**/
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
/**
* Default version to encode XCM when latest version of destination is unknown. If `None`,
* then the destinations whose XCM version is unknown are considered unreachable.
@@ -2338,7 +2356,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* The Latest versions that we know various locations support.
**/
supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
/**
* Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
* the `u32` counter is the number of times that a send to the destination has been attempted,
@@ -2348,12 +2366,12 @@ declare module '@polkadot/api-base/types/storage' {
/**
* All locations that we have requested version notifications from.
**/
versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
/**
* The target locations that are subscribed to our version changes, as well as the most recent
* of our versions we informed them of.
**/
versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
/**
* Global suspension state of the XCM executor.
**/
+25 -17
View File
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8AsyncBackingBackingState, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8CandidateEvent, PolkadotPrimitivesV8CommittedCandidateReceipt, PolkadotPrimitivesV8CoreState, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, 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, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, 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, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -169,13 +169,13 @@ declare module '@polkadot/api-base/types/calls' {
/** 0x91b1c8b16328eb92/ */
dryRunApi: {
/**
* Dry run call.
* Dry run call V2.
**/
dryRunCall: AugmentedCall<ApiType, (origin: StagingKusamaRuntimeOriginCaller | { system: any } | { Void: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
dryRunCall: AugmentedCall<ApiType, (origin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
/**
* Dry run XCM program
**/
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
/**
* Generic call
**/
@@ -184,11 +184,11 @@ declare module '@polkadot/api-base/types/calls' {
/** 0xfbc577b9d747efd6/ */
genesisBuilder: {
/**
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full `RuntimeGenesisConfig` from the given JSON blob and, puts it into the storage. If the provided JSON blob is incorrect or incomplete or the, deserialization fails, an error is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
**/
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
/**
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function returns JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
**/
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
/**
@@ -239,7 +239,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Converts `Location` to `AccountId`.
**/
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
/**
* Generic call
**/
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
* Returns the pending slash for a given pool member.
**/
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
@@ -317,6 +317,10 @@ declare module '@polkadot/api-base/types/calls' {
* Returns the equivalent balance of `points` for a given pool.
**/
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
/**
* Returns the bonded account and reward account associated with the pool_id.
**/
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
/**
* Total balance contributed to the pool.
**/
@@ -362,19 +366,19 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
**/
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8CoreState>>>;
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
/**
* Get a vector of events concerning candidates that occurred within a block.
**/
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8CandidateEvent>>>;
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCandidateEvent>>>;
/**
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
**/
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8CommittedCandidateReceipt>>>;
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
/**
* Elastic scaling support
**/
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesV8CommittedCandidateReceipt>>>;
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
/**
* Checks if the given validation outputs pass the acceptance criteria.
**/
@@ -414,11 +418,11 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
**/
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>>;
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>>;
/**
* Returns the state of parachain backing for a given para.
**/
paraBackingState: AugmentedCall<ApiType, (_: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8AsyncBackingBackingState>>>;
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingBackingState>>>;
/**
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
@@ -455,6 +459,10 @@ declare module '@polkadot/api-base/types/calls' {
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
/**
* Retrieve the maximum uncompressed code size.
**/
validationCodeBombLimit: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Get the validation code from its hash.
**/
@@ -576,15 +584,15 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
**/
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
/**
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
**/
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
/**
* Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`.
**/
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => Observable<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
/**
* Generic call
**/
+54 -41
View File
@@ -10,7 +10,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8InherentData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -25,21 +25,21 @@ declare module '@polkadot/api-base/types/submittable' {
* ## Complexity
* - O(1)
**/
create: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
create: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
/**
* Remove an existing conversion rate to native balance for the given asset.
*
* ## Complexity
* - O(1)
**/
remove: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
remove: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
/**
* Update the conversion rate to native balance for the given asset.
*
* ## Complexity
* - O(1)
**/
update: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
update: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
/**
* Generic tx
**/
@@ -291,6 +291,20 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
approveBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Approve bountry and propose a curator simultaneously.
* This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
*
* May only be called from `T::SpendOrigin`.
*
* - `bounty_id`: Bounty ID to approve.
* - `curator`: The curator account whom will manage this bounty.
* - `fee`: The curator fee.
*
* ## Complexity
* - O(1).
**/
approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/**
* Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
* after a delay.
@@ -562,7 +576,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Attest to a statement, needed to finalize the claims process.
*
* WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
* `SignedExtension`.
* `TransactionExtension`.
*
* Unsigned Validation:
* A call to attest is deemed valid if the sender has a `Preclaim` registered
@@ -739,10 +753,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Sets the amount of funds that the sender should provide for opening an HRMP channel.
**/
setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
/**
* Set the max number of times a claim may timeout on a core before it is abandoned
**/
setMaxAvailabilityTimeouts: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Set the max validation code size for incoming upgrades.
**/
@@ -828,10 +838,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Set the on demand (parathreads) fee variability.
**/
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/**
* Set the on demand (parathreads) ttl in the claimqueue.
**/
setOnDemandTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Set the availability period for paras.
**/
@@ -1404,7 +1410,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Emits `Submitted`.
**/
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Void: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
/**
* Generic tx
**/
@@ -1983,10 +1989,8 @@ declare module '@polkadot/api-base/types/submittable' {
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
* [`adapter::StakeStrategyType::Delegate`].
*
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
* is successful, fee is refunded and caller may be rewarded with a part of the slash
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
* slash to be applied, caller may be rewarded with the part of the slash.
**/
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
@@ -2351,7 +2355,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Enter the paras inherent. This will process bitfields and backed candidates.
**/
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV8InherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8InherentData]>;
enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
/**
* Generic tx
**/
@@ -2505,7 +2509,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `delay`: The announcement period required of the initial proxy. Will generally be
* zero.
**/
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u32]>;
/**
* Publish the hash of a proxy-call that will be made in the future.
*
@@ -2544,7 +2548,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Fails if there are insufficient funds to pay for deposit.
**/
createPure: AugmentedSubmittable<(proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeProxyType, u32, u16]>;
createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeConstantsProxyProxyType, u32, u16]>;
/**
* Removes a previously spawned pure proxy.
*
@@ -2563,7 +2567,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Fails with `NoPermission` in case the caller is not a previously created pure
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -2575,7 +2579,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
* - `call`: The call to be made by the `real` account.
**/
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeConstantsProxyProxyType> | null | Uint8Array | KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeConstantsProxyProxyType>, Call]>;
/**
* Dispatch the given `call` from an account that the sender is authorized for through
* `add_proxy`.
@@ -2589,7 +2593,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
* - `call`: The call to be made by the `real` account.
**/
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeConstantsProxyProxyType> | null | Uint8Array | KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeConstantsProxyProxyType>, Call]>;
/**
* Remove the given announcement of a delegate.
*
@@ -2634,7 +2638,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `proxy`: The account that the `caller` would like to remove as a proxy.
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
**/
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u32]>;
/**
* Generic tx
**/
@@ -2856,7 +2860,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Emits `Submitted`.
**/
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Void: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
submit: AugmentedSubmittable<(proposalOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
/**
* Generic tx
**/
@@ -3679,7 +3683,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
* period ends. If this leaves an amount actively bonded less than
* T::Currency::minimum_balance(), then it is increased to the full amount.
* [`asset::existential_deposit`], then it is increased to the full amount.
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
*
@@ -3715,6 +3719,15 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
**/
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
/**
* Adjusts the staking ledger by withdrawing any excess staked amount.
*
* This function corrects cases where a user's recorded stake in the ledger
* exceeds their actual staked funds. This situation can arise due to cases such as
* external slashing by another pallet, leading to an inconsistency between the ledger
* and the actual stake.
**/
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Remove any unlocked chunks from the `unlocking` queue from our management.
*
@@ -3947,7 +3960,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Emits [`Event::AssetSpendApproved`] if successful.
**/
spend: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
spend: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
/**
* Propose and approve a spend of treasury funds.
*
@@ -4054,7 +4067,7 @@ declare module '@polkadot/api-base/types/submittable' {
* ## Complexity
* - O(1).
**/
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Void: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
/**
* Send a batch of dispatch calls.
* Unlike `batch`, it allows errors and won't interrupt.
@@ -4240,7 +4253,7 @@ declare module '@polkadot/api-base/types/submittable' {
* was the latest when they were trapped.
* - `beneficiary`: The location/account where the claimed assets will be deposited.
**/
claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
/**
* Execute an XCM message from a local, signed, origin.
*
@@ -4251,7 +4264,7 @@ declare module '@polkadot/api-base/types/submittable' {
* the maximum amount of weight that the message could take to be executed, then no
* execution attempt will be made.
**/
execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
/**
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
* version a destination can accept is unknown).
@@ -4266,7 +4279,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `origin`: Must be an origin specified by AdminOrigin.
* - `location`: The location to which we should subscribe for XCM version notifications.
**/
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Set or unset the global suspension state of the XCM executor.
*
@@ -4282,7 +4295,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `location`: The location to which we are currently subscribed for XCM version
* notifications which we no longer desire.
**/
forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Extoll that a particular destination can be communicated with through a particular
* version of XCM.
@@ -4291,7 +4304,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `location`: The destination that is being described.
* - `xcm_version`: The latest version of XCM that `location` supports.
**/
forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, u32]>;
forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -4324,7 +4337,7 @@ declare module '@polkadot/api-base/types/submittable' {
* fees.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Teleport some assets from the local chain to some destination chain.
*
@@ -4345,7 +4358,7 @@ declare module '@polkadot/api-base/types/submittable' {
* fees.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -4378,8 +4391,8 @@ declare module '@polkadot/api-base/types/submittable' {
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
**/
reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
/**
* Teleport some assets from the local chain to some destination chain.
*
@@ -4400,7 +4413,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
**/
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve, or through teleports.
@@ -4436,7 +4449,7 @@ declare module '@polkadot/api-base/types/submittable' {
* fees.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Transfer assets from the local chain to the destination chain using explicit transfer
* types for assets and fees.
@@ -4487,7 +4500,7 @@ declare module '@polkadot/api-base/types/submittable' {
* transfer, which also determines what happens to the assets on the destination chain.
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
/**
* Generic tx
**/
+1 -1
View File
@@ -59,7 +59,7 @@ function tsEnum (registry: Registry, definitions: Record<string, ModuleTypes>, {
// type as the parent we can take the lookupName from the sub.
// This is specific to `StagingXcmV4Junction`.
// see: https://github.com/polkadot-js/api/pull/5812
if (sub && !Array.isArray(sub) && type.includes(`${sub.type};`) && sub.lookupName === 'StagingXcmV4Junction') {
if (sub && !Array.isArray(sub) && type.includes(`${sub.type};`) && (sub.lookupName === 'StagingXcmV4Junction' || sub.lookupName === 'StagingXcmV5Junction')) {
extractedLookupName = sub.lookupName;
}
+571 -29
View File
@@ -5,7 +5,89 @@
export default {
/**
* Lookup127: staging_kusama_runtime::SessionKeys
* Lookup77: staging_xcm::v5::location::Location
**/
StagingXcmV5Location: {
parents: 'u8',
interior: 'StagingXcmV5Junctions'
},
/**
* Lookup78: staging_xcm::v5::junctions::Junctions
**/
StagingXcmV5Junctions: {
_enum: {
Here: 'Null',
X1: '[Lookup80;1]',
X2: '[Lookup80;2]',
X3: '[Lookup80;3]',
X4: '[Lookup80;4]',
X5: '[Lookup80;5]',
X6: '[Lookup80;6]',
X7: '[Lookup80;7]',
X8: '[Lookup80;8]'
}
},
/**
* Lookup80: staging_xcm::v5::junction::Junction
**/
StagingXcmV5Junction: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
id: '[u8;32]',
},
AccountIndex64: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
index: 'Compact<u64>',
},
AccountKey20: {
network: 'Option<StagingXcmV5JunctionNetworkId>',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: {
length: 'u8',
data: '[u8;32]',
},
OnlyChild: 'Null',
Plurality: {
id: 'XcmV3JunctionBodyId',
part: 'XcmV3JunctionBodyPart',
},
GlobalConsensus: 'StagingXcmV5JunctionNetworkId'
}
},
/**
* Lookup82: staging_xcm::v5::junction::NetworkId
**/
StagingXcmV5JunctionNetworkId: {
_enum: {
ByGenesis: '[u8;32]',
ByFork: {
blockNumber: 'u64',
blockHash: '[u8;32]',
},
Polkadot: 'Null',
Kusama: 'Null',
__Unused4: 'Null',
__Unused5: 'Null',
__Unused6: 'Null',
Ethereum: {
chainId: 'Compact<u64>',
},
BitcoinCore: 'Null',
BitcoinCash: 'Null',
PolkadotBulletin: 'Null'
}
},
/**
* Lookup90: staging_xcm::v5::asset::AssetId
**/
StagingXcmV5AssetAssetId: 'StagingXcmV5Location',
/**
* Lookup136: staging_kusama_runtime::SessionKeys
**/
StagingKusamaRuntimeSessionKeys: {
grandpa: 'SpConsensusGrandpaAppPublic',
@@ -16,7 +98,7 @@ export default {
beefy: 'SpConsensusBeefyEcdsaCryptoPublic'
},
/**
* Lookup150: staging_kusama_runtime::OriginCaller
* Lookup158: staging_kusama_runtime::OriginCaller
**/
StagingKusamaRuntimeOriginCaller: {
_enum: {
@@ -24,7 +106,7 @@ export default {
__Unused1: 'Null',
__Unused2: 'Null',
__Unused3: 'Null',
Void: 'SpCoreVoid',
__Unused4: 'Null',
__Unused5: 'Null',
__Unused6: 'Null',
__Unused7: 'Null',
@@ -123,13 +205,13 @@ export default {
}
},
/**
* Lookup152: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
* Lookup160: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
**/
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: {
_enum: ['StakingAdmin', 'Treasurer', 'FellowshipAdmin', 'GeneralAdmin', 'AuctionAdmin', 'LeaseAdmin', 'ReferendumCanceller', 'ReferendumKiller', 'SmallTipper', 'BigTipper', 'SmallSpender', 'MediumSpender', 'BigSpender', 'WhitelistedCaller', 'FellowshipInitiates', 'Fellows', 'FellowshipExperts', 'FellowshipMasters', 'Fellowship1Dan', 'Fellowship2Dan', 'Fellowship3Dan', 'Fellowship4Dan', 'Fellowship5Dan', 'Fellowship6Dan', 'Fellowship7Dan', 'Fellowship8Dan', 'Fellowship9Dan', 'WishForChange']
},
/**
* Lookup163: staging_kusama_runtime::RuntimeParameters
* Lookup170: staging_kusama_runtime::RuntimeParameters
**/
StagingKusamaRuntimeRuntimeParameters: {
_enum: {
@@ -138,7 +220,7 @@ export default {
}
},
/**
* Lookup164: staging_kusama_runtime::dynamic_params::inflation::Parameters
* Lookup171: staging_kusama_runtime::dynamic_params::inflation::Parameters
**/
StagingKusamaRuntimeDynamicParamsInflationParameters: {
_enum: {
@@ -150,27 +232,27 @@ export default {
}
},
/**
* Lookup165: staging_kusama_runtime::dynamic_params::inflation::MinInflation
* Lookup172: staging_kusama_runtime::dynamic_params::inflation::MinInflation
**/
StagingKusamaRuntimeDynamicParamsInflationMinInflation: 'Null',
/**
* Lookup168: staging_kusama_runtime::dynamic_params::inflation::MaxInflation
* Lookup175: staging_kusama_runtime::dynamic_params::inflation::MaxInflation
**/
StagingKusamaRuntimeDynamicParamsInflationMaxInflation: 'Null',
/**
* Lookup169: staging_kusama_runtime::dynamic_params::inflation::IdealStake
* Lookup176: staging_kusama_runtime::dynamic_params::inflation::IdealStake
**/
StagingKusamaRuntimeDynamicParamsInflationIdealStake: 'Null',
/**
* Lookup170: staging_kusama_runtime::dynamic_params::inflation::Falloff
* Lookup177: staging_kusama_runtime::dynamic_params::inflation::Falloff
**/
StagingKusamaRuntimeDynamicParamsInflationFalloff: 'Null',
/**
* Lookup171: staging_kusama_runtime::dynamic_params::inflation::UseAuctionSlots
* Lookup178: staging_kusama_runtime::dynamic_params::inflation::UseAuctionSlots
**/
StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots: 'Null',
/**
* Lookup173: staging_kusama_runtime::dynamic_params::treasury::Parameters
* Lookup180: staging_kusama_runtime::dynamic_params::treasury::Parameters
**/
StagingKusamaRuntimeDynamicParamsTreasuryParameters: {
_enum: {
@@ -179,25 +261,25 @@ export default {
}
},
/**
* Lookup174: staging_kusama_runtime::dynamic_params::treasury::BurnPortion
* Lookup181: staging_kusama_runtime::dynamic_params::treasury::BurnPortion
**/
StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion: 'Null',
/**
* Lookup177: staging_kusama_runtime::dynamic_params::treasury::BurnDestination
* Lookup184: staging_kusama_runtime::dynamic_params::treasury::BurnDestination
**/
StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination: 'Null',
/**
* Lookup179: staging_kusama_runtime::BurnDestinationAccount
* Lookup186: staging_kusama_runtime::BurnDestinationAccount
**/
StagingKusamaRuntimeBurnDestinationAccount: 'Option<AccountId32>',
/**
* Lookup199: staging_kusama_runtime::ProxyType
* Lookup206: kusama_runtime_constants::proxy::ProxyType
**/
StagingKusamaRuntimeProxyType: {
KusamaRuntimeConstantsProxyProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'CancelProxy', 'Auction', 'Society', 'NominationPools', 'Spokesperson', 'ParaRegistration']
},
/**
* Lookup209: staging_kusama_runtime::NposCompactSolution24
* Lookup216: staging_kusama_runtime::NposCompactSolution24
**/
StagingKusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -226,7 +308,377 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup491: staging_kusama_runtime::RuntimeParametersKey
* Lookup328: polkadot_primitives::vstaging::InherentData<sp_runtime::generic::header::Header<Number, Hash>>
**/
PolkadotPrimitivesVstagingInherentData: {
bitfields: 'Vec<PolkadotPrimitivesV8SignedUncheckedSigned>',
backedCandidates: 'Vec<PolkadotPrimitivesVstagingBackedCandidate>',
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>',
parentHeader: 'SpRuntimeHeader'
},
/**
* Lookup337: polkadot_primitives::vstaging::BackedCandidate<primitive_types::H256>
**/
PolkadotPrimitivesVstagingBackedCandidate: {
candidate: 'PolkadotPrimitivesVstagingCommittedCandidateReceiptV2',
validityVotes: 'Vec<PolkadotPrimitivesV8ValidityAttestation>',
validatorIndices: 'BitVec'
},
/**
* Lookup338: polkadot_primitives::vstaging::CommittedCandidateReceiptV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2: {
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitments: 'PolkadotPrimitivesV8CandidateCommitments'
},
/**
* Lookup339: polkadot_primitives::vstaging::CandidateDescriptorV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateDescriptorV2: {
paraId: 'u32',
relayParent: 'H256',
version: 'u8',
coreIndex: 'u16',
sessionIndex: 'u32',
reserved1: '[u8;25]',
persistedValidationDataHash: 'H256',
povHash: 'H256',
erasureRoot: 'H256',
reserved2: '[u8;64]',
paraHead: 'H256',
validationCodeHash: 'H256'
},
/**
* Lookup434: staging_xcm::v5::Xcm<Call>
**/
StagingXcmV5Xcm: 'Vec<StagingXcmV5Instruction>',
/**
* Lookup436: staging_xcm::v5::Instruction<Call>
**/
StagingXcmV5Instruction: {
_enum: {
WithdrawAsset: 'StagingXcmV5AssetAssets',
ReserveAssetDeposited: 'StagingXcmV5AssetAssets',
ReceiveTeleportedAsset: 'StagingXcmV5AssetAssets',
QueryResponse: {
queryId: 'Compact<u64>',
response: 'StagingXcmV5Response',
maxWeight: 'SpWeightsWeightV2Weight',
querier: 'Option<StagingXcmV5Location>',
},
TransferAsset: {
assets: 'StagingXcmV5AssetAssets',
beneficiary: 'StagingXcmV5Location',
},
TransferReserveAsset: {
assets: 'StagingXcmV5AssetAssets',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
Transact: {
originKind: 'XcmV3OriginKind',
fallbackMaxWeight: 'Option<SpWeightsWeightV2Weight>',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
sender: 'Compact<u32>',
maxMessageSize: 'Compact<u32>',
maxCapacity: 'Compact<u32>',
},
HrmpChannelAccepted: {
recipient: 'Compact<u32>',
},
HrmpChannelClosing: {
initiator: 'Compact<u32>',
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
ClearOrigin: 'Null',
DescendOrigin: 'StagingXcmV5Junctions',
ReportError: 'StagingXcmV5QueryResponseInfo',
DepositAsset: {
assets: 'StagingXcmV5AssetAssetFilter',
beneficiary: 'StagingXcmV5Location',
},
DepositReserveAsset: {
assets: 'StagingXcmV5AssetAssetFilter',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
ExchangeAsset: {
give: 'StagingXcmV5AssetAssetFilter',
want: 'StagingXcmV5AssetAssets',
maximal: 'bool',
},
InitiateReserveWithdraw: {
assets: 'StagingXcmV5AssetAssetFilter',
reserve: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
InitiateTeleport: {
assets: 'StagingXcmV5AssetAssetFilter',
dest: 'StagingXcmV5Location',
xcm: 'StagingXcmV5Xcm',
},
ReportHolding: {
responseInfo: 'StagingXcmV5QueryResponseInfo',
assets: 'StagingXcmV5AssetAssetFilter',
},
BuyExecution: {
fees: 'StagingXcmV5Asset',
weightLimit: 'XcmV3WeightLimit',
},
RefundSurplus: 'Null',
SetErrorHandler: 'StagingXcmV5Xcm',
SetAppendix: 'StagingXcmV5Xcm',
ClearError: 'Null',
ClaimAsset: {
assets: 'StagingXcmV5AssetAssets',
ticket: 'StagingXcmV5Location',
},
Trap: 'Compact<u64>',
SubscribeVersion: {
queryId: 'Compact<u64>',
maxResponseWeight: 'SpWeightsWeightV2Weight',
},
UnsubscribeVersion: 'Null',
BurnAsset: 'StagingXcmV5AssetAssets',
ExpectAsset: 'StagingXcmV5AssetAssets',
ExpectOrigin: 'Option<StagingXcmV5Location>',
ExpectError: 'Option<(u32,XcmV5TraitsError)>',
ExpectTransactStatus: 'XcmV3MaybeErrorCode',
QueryPallet: {
moduleName: 'Bytes',
responseInfo: 'StagingXcmV5QueryResponseInfo',
},
ExpectPallet: {
index: 'Compact<u32>',
name: 'Bytes',
moduleName: 'Bytes',
crateMajor: 'Compact<u32>',
minCrateMinor: 'Compact<u32>',
},
ReportTransactStatus: 'StagingXcmV5QueryResponseInfo',
ClearTransactStatus: 'Null',
UniversalOrigin: 'StagingXcmV5Junction',
ExportMessage: {
network: 'StagingXcmV5JunctionNetworkId',
destination: 'StagingXcmV5Junctions',
xcm: 'StagingXcmV5Xcm',
},
LockAsset: {
asset: 'StagingXcmV5Asset',
unlocker: 'StagingXcmV5Location',
},
UnlockAsset: {
asset: 'StagingXcmV5Asset',
target: 'StagingXcmV5Location',
},
NoteUnlockable: {
asset: 'StagingXcmV5Asset',
owner: 'StagingXcmV5Location',
},
RequestUnlock: {
asset: 'StagingXcmV5Asset',
locker: 'StagingXcmV5Location',
},
SetFeesMode: {
jitWithdraw: 'bool',
},
SetTopic: '[u8;32]',
ClearTopic: 'Null',
AliasOrigin: 'StagingXcmV5Location',
UnpaidExecution: {
weightLimit: 'XcmV3WeightLimit',
checkOrigin: 'Option<StagingXcmV5Location>',
},
PayFees: {
asset: 'StagingXcmV5Asset',
},
InitiateTransfer: {
destination: 'StagingXcmV5Location',
remoteFees: 'Option<StagingXcmV5AssetAssetTransferFilter>',
preserveOrigin: 'bool',
assets: 'Vec<StagingXcmV5AssetAssetTransferFilter>',
remoteXcm: 'StagingXcmV5Xcm',
},
ExecuteWithOrigin: {
descendantOrigin: 'Option<StagingXcmV5Junctions>',
xcm: 'StagingXcmV5Xcm',
},
SetHints: {
hints: 'Vec<StagingXcmV5Hint>'
}
}
},
/**
* Lookup437: staging_xcm::v5::asset::Assets
**/
StagingXcmV5AssetAssets: 'Vec<StagingXcmV5Asset>',
/**
* Lookup439: staging_xcm::v5::asset::Asset
**/
StagingXcmV5Asset: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetFungibility'
},
/**
* Lookup440: staging_xcm::v5::asset::Fungibility
**/
StagingXcmV5AssetFungibility: {
_enum: {
Fungible: 'Compact<u128>',
NonFungible: 'StagingXcmV5AssetAssetInstance'
}
},
/**
* Lookup441: staging_xcm::v5::asset::AssetInstance
**/
StagingXcmV5AssetAssetInstance: {
_enum: {
Undefined: 'Null',
Index: 'Compact<u128>',
Array4: '[u8;4]',
Array8: '[u8;8]',
Array16: '[u8;16]',
Array32: '[u8;32]'
}
},
/**
* Lookup442: staging_xcm::v5::Response
**/
StagingXcmV5Response: {
_enum: {
Null: 'Null',
Assets: 'StagingXcmV5AssetAssets',
ExecutionResult: 'Option<(u32,XcmV5TraitsError)>',
Version: 'u32',
PalletsInfo: 'Vec<StagingXcmV5PalletInfo>',
DispatchResult: 'XcmV3MaybeErrorCode'
}
},
/**
* Lookup445: xcm::v5::traits::Error
**/
XcmV5TraitsError: {
_enum: {
Overflow: 'Null',
Unimplemented: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
LocationFull: 'Null',
LocationNotInvertible: 'Null',
BadOrigin: 'Null',
InvalidLocation: 'Null',
AssetNotFound: 'Null',
FailedToTransactAsset: 'Null',
NotWithdrawable: 'Null',
LocationCannotHold: 'Null',
ExceedsMaxMessageSize: 'Null',
DestinationUnsupported: 'Null',
Transport: 'Null',
Unroutable: 'Null',
UnknownClaim: 'Null',
FailedToDecode: 'Null',
MaxWeightInvalid: 'Null',
NotHoldingFees: 'Null',
TooExpensive: 'Null',
Trap: 'u64',
ExpectationFalse: 'Null',
PalletNotFound: 'Null',
NameMismatch: 'Null',
VersionIncompatible: 'Null',
HoldingWouldOverflow: 'Null',
ExportError: 'Null',
ReanchorFailed: 'Null',
NoDeal: 'Null',
FeesNotMet: 'Null',
LockError: 'Null',
NoPermission: 'Null',
Unanchored: 'Null',
NotDepositable: 'Null',
TooManyAssets: 'Null',
UnhandledXcmVersion: 'Null',
WeightLimitReached: 'SpWeightsWeightV2Weight',
Barrier: 'Null',
WeightNotComputable: 'Null',
ExceedsStackLimit: 'Null'
}
},
/**
* Lookup447: staging_xcm::v5::PalletInfo
**/
StagingXcmV5PalletInfo: {
index: 'Compact<u32>',
name: 'Bytes',
moduleName: 'Bytes',
major: 'Compact<u32>',
minor: 'Compact<u32>',
patch: 'Compact<u32>'
},
/**
* Lookup452: staging_xcm::v5::QueryResponseInfo
**/
StagingXcmV5QueryResponseInfo: {
destination: 'StagingXcmV5Location',
queryId: 'Compact<u64>',
maxWeight: 'SpWeightsWeightV2Weight'
},
/**
* Lookup453: staging_xcm::v5::asset::AssetFilter
**/
StagingXcmV5AssetAssetFilter: {
_enum: {
Definite: 'StagingXcmV5AssetAssets',
Wild: 'StagingXcmV5AssetWildAsset'
}
},
/**
* Lookup454: staging_xcm::v5::asset::WildAsset
**/
StagingXcmV5AssetWildAsset: {
_enum: {
All: 'Null',
AllOf: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetWildFungibility',
},
AllCounted: 'Compact<u32>',
AllOfCounted: {
id: 'StagingXcmV5AssetAssetId',
fun: 'StagingXcmV5AssetWildFungibility',
count: 'Compact<u32>'
}
}
},
/**
* Lookup455: staging_xcm::v5::asset::WildFungibility
**/
StagingXcmV5AssetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
* Lookup457: staging_xcm::v5::asset::AssetTransferFilter
**/
StagingXcmV5AssetAssetTransferFilter: {
_enum: {
Teleport: 'StagingXcmV5AssetAssetFilter',
ReserveDeposit: 'StagingXcmV5AssetAssetFilter',
ReserveWithdraw: 'StagingXcmV5AssetAssetFilter'
}
},
/**
* Lookup462: staging_xcm::v5::Hint
**/
StagingXcmV5Hint: {
_enum: {
AssetClaimer: {
location: 'StagingXcmV5Location'
}
}
},
/**
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
**/
StagingKusamaRuntimeRuntimeParametersKey: {
_enum: {
@@ -235,19 +687,19 @@ export default {
}
},
/**
* Lookup492: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
* Lookup510: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
**/
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
},
/**
* Lookup493: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
* Lookup511: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
**/
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
_enum: ['BurnPortion', 'BurnDestination']
},
/**
* Lookup495: staging_kusama_runtime::RuntimeParametersValue
* Lookup513: staging_kusama_runtime::RuntimeParametersValue
**/
StagingKusamaRuntimeRuntimeParametersValue: {
_enum: {
@@ -256,7 +708,7 @@ export default {
}
},
/**
* Lookup496: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
* Lookup514: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
**/
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
_enum: {
@@ -268,7 +720,7 @@ export default {
}
},
/**
* Lookup497: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
* Lookup515: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
**/
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
_enum: {
@@ -277,7 +729,31 @@ export default {
}
},
/**
* Lookup585: staging_kusama_runtime::RuntimeHoldReason
* Lookup541: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateReceiptV2: {
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitmentsHash: 'H256'
},
/**
* Lookup556: staging_xcm::v5::traits::Outcome
**/
StagingXcmV5TraitsOutcome: {
_enum: {
Complete: {
used: 'SpWeightsWeightV2Weight',
},
Incomplete: {
used: 'SpWeightsWeightV2Weight',
error: 'XcmV5TraitsError',
},
Error: {
error: 'XcmV5TraitsError'
}
}
},
/**
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
**/
StagingKusamaRuntimeRuntimeHoldReason: {
_enum: {
@@ -332,7 +808,7 @@ export default {
}
},
/**
* Lookup592: staging_kusama_runtime::RuntimeFreezeReason
* Lookup611: staging_kusama_runtime::RuntimeFreezeReason
**/
StagingKusamaRuntimeRuntimeFreezeReason: {
_enum: {
@@ -381,18 +857,84 @@ export default {
}
},
/**
* Lookup764: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
* Lookup783: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
**/
FrameSupportTokensMiscIdAmount: {
id: 'Null',
amount: 'u128'
},
/**
* Lookup946: staging_kusama_runtime::Runtime
* Lookup824: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
**/
PolkadotRuntimeParachainsSharedRelayParentInfo: {
relayParent: 'H256',
stateRoot: 'H256',
claimQueue: 'BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>'
},
/**
* Lookup836: polkadot_primitives::vstaging::ScrapedOnChainVotes<primitive_types::H256>
**/
PolkadotPrimitivesVstagingScrapedOnChainVotes: {
session: 'u32',
backingValidatorsPerCandidate: 'Vec<(PolkadotPrimitivesVstagingCandidateReceiptV2,Vec<(u32,PolkadotPrimitivesV8ValidityAttestation)>)>',
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>'
},
/**
* Lookup970: staging_kusama_runtime::Runtime
**/
StagingKusamaRuntimeRuntime: 'Null',
/**
* Lookup1059: staging_kusama_runtime::RuntimeError
* Lookup994: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingCoreState: {
_enum: {
Occupied: 'PolkadotPrimitivesVstagingOccupiedCore',
Scheduled: 'PolkadotPrimitivesV8ScheduledCore',
Free: 'Null'
}
},
/**
* Lookup995: polkadot_primitives::vstaging::OccupiedCore<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingOccupiedCore: {
nextUpOnAvailable: 'Option<PolkadotPrimitivesV8ScheduledCore>',
occupiedSince: 'u32',
timeOutAt: 'u32',
nextUpOnTimeOut: 'Option<PolkadotPrimitivesV8ScheduledCore>',
availability: 'BitVec',
groupResponsible: 'u32',
candidateHash: 'H256',
candidateDescriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2'
},
/**
* Lookup1007: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateEvent: {
_enum: {
CandidateBacked: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32,u32)',
CandidateIncluded: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32,u32)',
CandidateTimedOut: '(PolkadotPrimitivesVstagingCandidateReceiptV2,Bytes,u32)'
}
},
/**
* Lookup1023: polkadot_primitives::vstaging::async_backing::BackingState<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingAsyncBackingBackingState: {
constraints: 'PolkadotPrimitivesV8AsyncBackingConstraints',
pendingAvailability: 'Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>'
},
/**
* Lookup1033: polkadot_primitives::vstaging::async_backing::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: {
candidateHash: 'H256',
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitments: 'PolkadotPrimitivesV8CandidateCommitments',
relayParentNumber: 'u32',
maxPovSize: 'u32'
},
/**
* Lookup1084: staging_kusama_runtime::RuntimeError
**/
StagingKusamaRuntimeRuntimeError: {
_enum: {
+621 -32
View File
@@ -5,12 +5,103 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
import type { Compact, Enum, Null, Option, Struct, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
import type { BTreeMap, BTreeSet, BitVec, Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, H256, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
declare module '@polkadot/types/lookup' {
/** @name StagingKusamaRuntimeSessionKeys (127) */
/** @name StagingXcmV5Location (77) */
interface StagingXcmV5Location extends Struct {
readonly parents: u8;
readonly interior: StagingXcmV5Junctions;
}
/** @name StagingXcmV5Junctions (78) */
interface StagingXcmV5Junctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: StagingXcmV5Junction;
readonly isX2: boolean;
readonly asX2: StagingXcmV5Junction;
readonly isX3: boolean;
readonly asX3: StagingXcmV5Junction;
readonly isX4: boolean;
readonly asX4: StagingXcmV5Junction;
readonly isX5: boolean;
readonly asX5: StagingXcmV5Junction;
readonly isX6: boolean;
readonly asX6: StagingXcmV5Junction;
readonly isX7: boolean;
readonly asX7: StagingXcmV5Junction;
readonly isX8: boolean;
readonly asX8: StagingXcmV5Junction;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name StagingXcmV5Junction (80) */
interface StagingXcmV5Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: Option<StagingXcmV5JunctionNetworkId>;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: {
readonly length: u8;
readonly data: U8aFixed;
} & Struct;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV3JunctionBodyId;
readonly part: XcmV3JunctionBodyPart;
} & Struct;
readonly isGlobalConsensus: boolean;
readonly asGlobalConsensus: StagingXcmV5JunctionNetworkId;
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
}
/** @name StagingXcmV5JunctionNetworkId (82) */
interface StagingXcmV5JunctionNetworkId extends Enum {
readonly isByGenesis: boolean;
readonly asByGenesis: U8aFixed;
readonly isByFork: boolean;
readonly asByFork: {
readonly blockNumber: u64;
readonly blockHash: U8aFixed;
} & Struct;
readonly isPolkadot: boolean;
readonly isKusama: boolean;
readonly isEthereum: boolean;
readonly asEthereum: {
readonly chainId: Compact<u64>;
} & Struct;
readonly isBitcoinCore: boolean;
readonly isBitcoinCash: boolean;
readonly isPolkadotBulletin: boolean;
readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash' | 'PolkadotBulletin';
}
/** @name StagingXcmV5AssetAssetId (90) */
interface StagingXcmV5AssetAssetId extends StagingXcmV5Location {}
/** @name StagingKusamaRuntimeSessionKeys (136) */
interface StagingKusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpConsensusGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -20,21 +111,20 @@ declare module '@polkadot/types/lookup' {
readonly beefy: SpConsensusBeefyEcdsaCryptoPublic;
}
/** @name StagingKusamaRuntimeOriginCaller (150) */
/** @name StagingKusamaRuntimeOriginCaller (158) */
interface StagingKusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
readonly isVoid: boolean;
readonly isOrigins: boolean;
readonly asOrigins: StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
readonly isParachainsOrigin: boolean;
readonly asParachainsOrigin: PolkadotRuntimeParachainsOriginPalletOrigin;
readonly isXcmPallet: boolean;
readonly asXcmPallet: PalletXcmOrigin;
readonly type: 'System' | 'Void' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet';
readonly type: 'System' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet';
}
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (152) */
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (160) */
interface StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum {
readonly isStakingAdmin: boolean;
readonly isTreasurer: boolean;
@@ -67,7 +157,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange';
}
/** @name StagingKusamaRuntimeRuntimeParameters (163) */
/** @name StagingKusamaRuntimeRuntimeParameters (170) */
interface StagingKusamaRuntimeRuntimeParameters extends Enum {
readonly isInflation: boolean;
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParameters;
@@ -76,7 +166,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Inflation' | 'Treasury';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationParameters (164) */
/** @name StagingKusamaRuntimeDynamicParamsInflationParameters (171) */
interface StagingKusamaRuntimeDynamicParamsInflationParameters extends Enum {
readonly isMinInflation: boolean;
readonly asMinInflation: ITuple<[StagingKusamaRuntimeDynamicParamsInflationMinInflation, Option<Perquintill>]>;
@@ -91,22 +181,22 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationMinInflation (165) */
/** @name StagingKusamaRuntimeDynamicParamsInflationMinInflation (172) */
type StagingKusamaRuntimeDynamicParamsInflationMinInflation = Null;
/** @name StagingKusamaRuntimeDynamicParamsInflationMaxInflation (168) */
/** @name StagingKusamaRuntimeDynamicParamsInflationMaxInflation (175) */
type StagingKusamaRuntimeDynamicParamsInflationMaxInflation = Null;
/** @name StagingKusamaRuntimeDynamicParamsInflationIdealStake (169) */
/** @name StagingKusamaRuntimeDynamicParamsInflationIdealStake (176) */
type StagingKusamaRuntimeDynamicParamsInflationIdealStake = Null;
/** @name StagingKusamaRuntimeDynamicParamsInflationFalloff (170) */
/** @name StagingKusamaRuntimeDynamicParamsInflationFalloff (177) */
type StagingKusamaRuntimeDynamicParamsInflationFalloff = Null;
/** @name StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots (171) */
/** @name StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots (178) */
type StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots = Null;
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParameters (173) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParameters (180) */
interface StagingKusamaRuntimeDynamicParamsTreasuryParameters extends Enum {
readonly isBurnPortion: boolean;
readonly asBurnPortion: ITuple<[StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, Option<Permill>]>;
@@ -115,17 +205,17 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion (174) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion (181) */
type StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion = Null;
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination (177) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination (184) */
type StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination = Null;
/** @name StagingKusamaRuntimeBurnDestinationAccount (179) */
/** @name StagingKusamaRuntimeBurnDestinationAccount (186) */
interface StagingKusamaRuntimeBurnDestinationAccount extends Option<AccountId32> {}
/** @name StagingKusamaRuntimeProxyType (199) */
interface StagingKusamaRuntimeProxyType extends Enum {
/** @name KusamaRuntimeConstantsProxyProxyType (206) */
interface KusamaRuntimeConstantsProxyProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
readonly isGovernance: boolean;
@@ -139,7 +229,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration';
}
/** @name StagingKusamaRuntimeNposCompactSolution24 (209) */
/** @name StagingKusamaRuntimeNposCompactSolution24 (216) */
interface StagingKusamaRuntimeNposCompactSolution24 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -167,7 +257,420 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name StagingKusamaRuntimeRuntimeParametersKey (491) */
/** @name PolkadotPrimitivesVstagingInherentData (328) */
interface PolkadotPrimitivesVstagingInherentData extends Struct {
readonly bitfields: Vec<PolkadotPrimitivesV8SignedUncheckedSigned>;
readonly backedCandidates: Vec<PolkadotPrimitivesVstagingBackedCandidate>;
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
readonly parentHeader: SpRuntimeHeader;
}
/** @name PolkadotPrimitivesVstagingBackedCandidate (337) */
interface PolkadotPrimitivesVstagingBackedCandidate extends Struct {
readonly candidate: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
readonly validityVotes: Vec<PolkadotPrimitivesV8ValidityAttestation>;
readonly validatorIndices: BitVec;
}
/** @name PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 (338) */
interface PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 extends Struct {
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitments: PolkadotPrimitivesV8CandidateCommitments;
}
/** @name PolkadotPrimitivesVstagingCandidateDescriptorV2 (339) */
interface PolkadotPrimitivesVstagingCandidateDescriptorV2 extends Struct {
readonly paraId: u32;
readonly relayParent: H256;
readonly version: u8;
readonly coreIndex: u16;
readonly sessionIndex: u32;
readonly reserved1: U8aFixed;
readonly persistedValidationDataHash: H256;
readonly povHash: H256;
readonly erasureRoot: H256;
readonly reserved2: U8aFixed;
readonly paraHead: H256;
readonly validationCodeHash: H256;
}
/** @name StagingXcmV5Xcm (434) */
interface StagingXcmV5Xcm extends Vec<StagingXcmV5Instruction> {}
/** @name StagingXcmV5Instruction (436) */
interface StagingXcmV5Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: StagingXcmV5AssetAssets;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: StagingXcmV5AssetAssets;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: StagingXcmV5AssetAssets;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: StagingXcmV5Response;
readonly maxWeight: SpWeightsWeightV2Weight;
readonly querier: Option<StagingXcmV5Location>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly beneficiary: StagingXcmV5Location;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originKind: XcmV3OriginKind;
readonly fallbackMaxWeight: Option<SpWeightsWeightV2Weight>;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isClearOrigin: boolean;
readonly isDescendOrigin: boolean;
readonly asDescendOrigin: StagingXcmV5Junctions;
readonly isReportError: boolean;
readonly asReportError: StagingXcmV5QueryResponseInfo;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly beneficiary: StagingXcmV5Location;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: StagingXcmV5AssetAssetFilter;
readonly want: StagingXcmV5AssetAssets;
readonly maximal: bool;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly reserve: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: StagingXcmV5AssetAssetFilter;
readonly dest: StagingXcmV5Location;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isReportHolding: boolean;
readonly asReportHolding: {
readonly responseInfo: StagingXcmV5QueryResponseInfo;
readonly assets: StagingXcmV5AssetAssetFilter;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: StagingXcmV5Asset;
readonly weightLimit: XcmV3WeightLimit;
} & Struct;
readonly isRefundSurplus: boolean;
readonly isSetErrorHandler: boolean;
readonly asSetErrorHandler: StagingXcmV5Xcm;
readonly isSetAppendix: boolean;
readonly asSetAppendix: StagingXcmV5Xcm;
readonly isClearError: boolean;
readonly isClaimAsset: boolean;
readonly asClaimAsset: {
readonly assets: StagingXcmV5AssetAssets;
readonly ticket: StagingXcmV5Location;
} & Struct;
readonly isTrap: boolean;
readonly asTrap: Compact<u64>;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: SpWeightsWeightV2Weight;
} & Struct;
readonly isUnsubscribeVersion: boolean;
readonly isBurnAsset: boolean;
readonly asBurnAsset: StagingXcmV5AssetAssets;
readonly isExpectAsset: boolean;
readonly asExpectAsset: StagingXcmV5AssetAssets;
readonly isExpectOrigin: boolean;
readonly asExpectOrigin: Option<StagingXcmV5Location>;
readonly isExpectError: boolean;
readonly asExpectError: Option<ITuple<[u32, XcmV5TraitsError]>>;
readonly isExpectTransactStatus: boolean;
readonly asExpectTransactStatus: XcmV3MaybeErrorCode;
readonly isQueryPallet: boolean;
readonly asQueryPallet: {
readonly moduleName: Bytes;
readonly responseInfo: StagingXcmV5QueryResponseInfo;
} & Struct;
readonly isExpectPallet: boolean;
readonly asExpectPallet: {
readonly index: Compact<u32>;
readonly name: Bytes;
readonly moduleName: Bytes;
readonly crateMajor: Compact<u32>;
readonly minCrateMinor: Compact<u32>;
} & Struct;
readonly isReportTransactStatus: boolean;
readonly asReportTransactStatus: StagingXcmV5QueryResponseInfo;
readonly isClearTransactStatus: boolean;
readonly isUniversalOrigin: boolean;
readonly asUniversalOrigin: StagingXcmV5Junction;
readonly isExportMessage: boolean;
readonly asExportMessage: {
readonly network: StagingXcmV5JunctionNetworkId;
readonly destination: StagingXcmV5Junctions;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isLockAsset: boolean;
readonly asLockAsset: {
readonly asset: StagingXcmV5Asset;
readonly unlocker: StagingXcmV5Location;
} & Struct;
readonly isUnlockAsset: boolean;
readonly asUnlockAsset: {
readonly asset: StagingXcmV5Asset;
readonly target: StagingXcmV5Location;
} & Struct;
readonly isNoteUnlockable: boolean;
readonly asNoteUnlockable: {
readonly asset: StagingXcmV5Asset;
readonly owner: StagingXcmV5Location;
} & Struct;
readonly isRequestUnlock: boolean;
readonly asRequestUnlock: {
readonly asset: StagingXcmV5Asset;
readonly locker: StagingXcmV5Location;
} & Struct;
readonly isSetFeesMode: boolean;
readonly asSetFeesMode: {
readonly jitWithdraw: bool;
} & Struct;
readonly isSetTopic: boolean;
readonly asSetTopic: U8aFixed;
readonly isClearTopic: boolean;
readonly isAliasOrigin: boolean;
readonly asAliasOrigin: StagingXcmV5Location;
readonly isUnpaidExecution: boolean;
readonly asUnpaidExecution: {
readonly weightLimit: XcmV3WeightLimit;
readonly checkOrigin: Option<StagingXcmV5Location>;
} & Struct;
readonly isPayFees: boolean;
readonly asPayFees: {
readonly asset: StagingXcmV5Asset;
} & Struct;
readonly isInitiateTransfer: boolean;
readonly asInitiateTransfer: {
readonly destination: StagingXcmV5Location;
readonly remoteFees: Option<StagingXcmV5AssetAssetTransferFilter>;
readonly preserveOrigin: bool;
readonly assets: Vec<StagingXcmV5AssetAssetTransferFilter>;
readonly remoteXcm: StagingXcmV5Xcm;
} & Struct;
readonly isExecuteWithOrigin: boolean;
readonly asExecuteWithOrigin: {
readonly descendantOrigin: Option<StagingXcmV5Junctions>;
readonly xcm: StagingXcmV5Xcm;
} & Struct;
readonly isSetHints: boolean;
readonly asSetHints: {
readonly hints: Vec<StagingXcmV5Hint>;
} & Struct;
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution' | 'PayFees' | 'InitiateTransfer' | 'ExecuteWithOrigin' | 'SetHints';
}
/** @name StagingXcmV5AssetAssets (437) */
interface StagingXcmV5AssetAssets extends Vec<StagingXcmV5Asset> {}
/** @name StagingXcmV5Asset (439) */
interface StagingXcmV5Asset extends Struct {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetFungibility;
}
/** @name StagingXcmV5AssetFungibility (440) */
interface StagingXcmV5AssetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
readonly asNonFungible: StagingXcmV5AssetAssetInstance;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name StagingXcmV5AssetAssetInstance (441) */
interface StagingXcmV5AssetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
readonly isArray4: boolean;
readonly asArray4: U8aFixed;
readonly isArray8: boolean;
readonly asArray8: U8aFixed;
readonly isArray16: boolean;
readonly asArray16: U8aFixed;
readonly isArray32: boolean;
readonly asArray32: U8aFixed;
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';
}
/** @name StagingXcmV5Response (442) */
interface StagingXcmV5Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: StagingXcmV5AssetAssets;
readonly isExecutionResult: boolean;
readonly asExecutionResult: Option<ITuple<[u32, XcmV5TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
readonly isPalletsInfo: boolean;
readonly asPalletsInfo: Vec<StagingXcmV5PalletInfo>;
readonly isDispatchResult: boolean;
readonly asDispatchResult: XcmV3MaybeErrorCode;
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult';
}
/** @name XcmV5TraitsError (445) */
interface XcmV5TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isLocationFull: boolean;
readonly isLocationNotInvertible: boolean;
readonly isBadOrigin: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isDestinationUnsupported: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownClaim: boolean;
readonly isFailedToDecode: boolean;
readonly isMaxWeightInvalid: boolean;
readonly isNotHoldingFees: boolean;
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isExpectationFalse: boolean;
readonly isPalletNotFound: boolean;
readonly isNameMismatch: boolean;
readonly isVersionIncompatible: boolean;
readonly isHoldingWouldOverflow: boolean;
readonly isExportError: boolean;
readonly isReanchorFailed: boolean;
readonly isNoDeal: boolean;
readonly isFeesNotMet: boolean;
readonly isLockError: boolean;
readonly isNoPermission: boolean;
readonly isUnanchored: boolean;
readonly isNotDepositable: boolean;
readonly isTooManyAssets: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: SpWeightsWeightV2Weight;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
readonly isExceedsStackLimit: boolean;
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'TooManyAssets' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';
}
/** @name StagingXcmV5PalletInfo (447) */
interface StagingXcmV5PalletInfo extends Struct {
readonly index: Compact<u32>;
readonly name: Bytes;
readonly moduleName: Bytes;
readonly major: Compact<u32>;
readonly minor: Compact<u32>;
readonly patch: Compact<u32>;
}
/** @name StagingXcmV5QueryResponseInfo (452) */
interface StagingXcmV5QueryResponseInfo extends Struct {
readonly destination: StagingXcmV5Location;
readonly queryId: Compact<u64>;
readonly maxWeight: SpWeightsWeightV2Weight;
}
/** @name StagingXcmV5AssetAssetFilter (453) */
interface StagingXcmV5AssetAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: StagingXcmV5AssetAssets;
readonly isWild: boolean;
readonly asWild: StagingXcmV5AssetWildAsset;
readonly type: 'Definite' | 'Wild';
}
/** @name StagingXcmV5AssetWildAsset (454) */
interface StagingXcmV5AssetWildAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetWildFungibility;
} & Struct;
readonly isAllCounted: boolean;
readonly asAllCounted: Compact<u32>;
readonly isAllOfCounted: boolean;
readonly asAllOfCounted: {
readonly id: StagingXcmV5AssetAssetId;
readonly fun: StagingXcmV5AssetWildFungibility;
readonly count: Compact<u32>;
} & Struct;
readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted';
}
/** @name StagingXcmV5AssetWildFungibility (455) */
interface StagingXcmV5AssetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name StagingXcmV5AssetAssetTransferFilter (457) */
interface StagingXcmV5AssetAssetTransferFilter extends Enum {
readonly isTeleport: boolean;
readonly asTeleport: StagingXcmV5AssetAssetFilter;
readonly isReserveDeposit: boolean;
readonly asReserveDeposit: StagingXcmV5AssetAssetFilter;
readonly isReserveWithdraw: boolean;
readonly asReserveWithdraw: StagingXcmV5AssetAssetFilter;
readonly type: 'Teleport' | 'ReserveDeposit' | 'ReserveWithdraw';
}
/** @name StagingXcmV5Hint (462) */
interface StagingXcmV5Hint extends Enum {
readonly isAssetClaimer: boolean;
readonly asAssetClaimer: {
readonly location: StagingXcmV5Location;
} & Struct;
readonly type: 'AssetClaimer';
}
/** @name StagingKusamaRuntimeRuntimeParametersKey (509) */
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
readonly isInflation: boolean;
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
@@ -176,7 +679,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Inflation' | 'Treasury';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (492) */
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (510) */
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
readonly isMinInflation: boolean;
readonly isMaxInflation: boolean;
@@ -186,14 +689,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
}
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (493) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (511) */
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
readonly isBurnPortion: boolean;
readonly isBurnDestination: boolean;
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name StagingKusamaRuntimeRuntimeParametersValue (495) */
/** @name StagingKusamaRuntimeRuntimeParametersValue (513) */
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
readonly isInflation: boolean;
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
@@ -202,7 +705,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Inflation' | 'Treasury';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (496) */
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (514) */
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
readonly isMinInflation: boolean;
readonly asMinInflation: Perquintill;
@@ -217,7 +720,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
}
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (497) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (515) */
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
readonly isBurnPortion: boolean;
readonly asBurnPortion: Permill;
@@ -226,7 +729,31 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name StagingKusamaRuntimeRuntimeHoldReason (585) */
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (541) */
interface PolkadotPrimitivesVstagingCandidateReceiptV2 extends Struct {
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitmentsHash: H256;
}
/** @name StagingXcmV5TraitsOutcome (556) */
interface StagingXcmV5TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: {
readonly used: SpWeightsWeightV2Weight;
} & Struct;
readonly isIncomplete: boolean;
readonly asIncomplete: {
readonly used: SpWeightsWeightV2Weight;
readonly error: XcmV5TraitsError;
} & Struct;
readonly isError: boolean;
readonly asError: {
readonly error: XcmV5TraitsError;
} & Struct;
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isPreimage: boolean;
readonly asPreimage: PalletPreimageHoldReason;
@@ -237,23 +764,85 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Preimage' | 'Nis' | 'DelegatedStaking';
}
/** @name StagingKusamaRuntimeRuntimeFreezeReason (592) */
/** @name StagingKusamaRuntimeRuntimeFreezeReason (611) */
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
readonly isNominationPools: boolean;
readonly asNominationPools: PalletNominationPoolsFreezeReason;
readonly type: 'NominationPools';
}
/** @name FrameSupportTokensMiscIdAmount (764) */
/** @name FrameSupportTokensMiscIdAmount (783) */
interface FrameSupportTokensMiscIdAmount extends Struct {
readonly id: Null;
readonly amount: u128;
}
/** @name StagingKusamaRuntimeRuntime (946) */
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (824) */
interface PolkadotRuntimeParachainsSharedRelayParentInfo extends Struct {
readonly relayParent: H256;
readonly stateRoot: H256;
readonly claimQueue: BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>;
}
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (836) */
interface PolkadotPrimitivesVstagingScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Vec<ITuple<[u32, PolkadotPrimitivesV8ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
}
/** @name StagingKusamaRuntimeRuntime (970) */
type StagingKusamaRuntimeRuntime = Null;
/** @name StagingKusamaRuntimeRuntimeError (1059) */
/** @name PolkadotPrimitivesVstagingCoreState (994) */
interface PolkadotPrimitivesVstagingCoreState extends Enum {
readonly isOccupied: boolean;
readonly asOccupied: PolkadotPrimitivesVstagingOccupiedCore;
readonly isScheduled: boolean;
readonly asScheduled: PolkadotPrimitivesV8ScheduledCore;
readonly isFree: boolean;
readonly type: 'Occupied' | 'Scheduled' | 'Free';
}
/** @name PolkadotPrimitivesVstagingOccupiedCore (995) */
interface PolkadotPrimitivesVstagingOccupiedCore extends Struct {
readonly nextUpOnAvailable: Option<PolkadotPrimitivesV8ScheduledCore>;
readonly occupiedSince: u32;
readonly timeOutAt: u32;
readonly nextUpOnTimeOut: Option<PolkadotPrimitivesV8ScheduledCore>;
readonly availability: BitVec;
readonly groupResponsible: u32;
readonly candidateHash: H256;
readonly candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
}
/** @name PolkadotPrimitivesVstagingCandidateEvent (1007) */
interface PolkadotPrimitivesVstagingCandidateEvent extends Enum {
readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
readonly isCandidateIncluded: boolean;
readonly asCandidateIncluded: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
readonly isCandidateTimedOut: boolean;
readonly asCandidateTimedOut: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
}
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (1023) */
interface PolkadotPrimitivesVstagingAsyncBackingBackingState extends Struct {
readonly constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
readonly pendingAvailability: Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
}
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (1033) */
interface PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability extends Struct {
readonly candidateHash: H256;
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitments: PolkadotPrimitivesV8CandidateCommitments;
readonly relayParentNumber: u32;
readonly maxPovSize: u32;
}
/** @name StagingKusamaRuntimeRuntimeError (1084) */
interface StagingKusamaRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
+35 -2
View File
@@ -5,11 +5,24 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
import type { FrameSupportTokensMiscIdAmount, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability, PolkadotPrimitivesVstagingBackedCandidate, PolkadotPrimitivesVstagingCandidateDescriptorV2, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingInherentData, PolkadotPrimitivesVstagingOccupiedCore, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeParachainsSharedRelayParentInfo, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType;
PolkadotPrimitivesVstagingAsyncBackingBackingState: PolkadotPrimitivesVstagingAsyncBackingBackingState;
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability;
PolkadotPrimitivesVstagingBackedCandidate: PolkadotPrimitivesVstagingBackedCandidate;
PolkadotPrimitivesVstagingCandidateDescriptorV2: PolkadotPrimitivesVstagingCandidateDescriptorV2;
PolkadotPrimitivesVstagingCandidateEvent: PolkadotPrimitivesVstagingCandidateEvent;
PolkadotPrimitivesVstagingCandidateReceiptV2: PolkadotPrimitivesVstagingCandidateReceiptV2;
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
PolkadotPrimitivesVstagingCoreState: PolkadotPrimitivesVstagingCoreState;
PolkadotPrimitivesVstagingInherentData: PolkadotPrimitivesVstagingInherentData;
PolkadotPrimitivesVstagingOccupiedCore: PolkadotPrimitivesVstagingOccupiedCore;
PolkadotPrimitivesVstagingScrapedOnChainVotes: PolkadotPrimitivesVstagingScrapedOnChainVotes;
PolkadotRuntimeParachainsSharedRelayParentInfo: PolkadotRuntimeParachainsSharedRelayParentInfo;
StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount;
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
@@ -27,7 +40,6 @@ declare module '@polkadot/types/types/registry' {
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
StagingKusamaRuntimeNposCompactSolution24: StagingKusamaRuntimeNposCompactSolution24;
StagingKusamaRuntimeOriginCaller: StagingKusamaRuntimeOriginCaller;
StagingKusamaRuntimeProxyType: StagingKusamaRuntimeProxyType;
StagingKusamaRuntimeRuntime: StagingKusamaRuntimeRuntime;
StagingKusamaRuntimeRuntimeError: StagingKusamaRuntimeRuntimeError;
StagingKusamaRuntimeRuntimeFreezeReason: StagingKusamaRuntimeRuntimeFreezeReason;
@@ -36,5 +48,26 @@ declare module '@polkadot/types/types/registry' {
StagingKusamaRuntimeRuntimeParametersKey: StagingKusamaRuntimeRuntimeParametersKey;
StagingKusamaRuntimeRuntimeParametersValue: StagingKusamaRuntimeRuntimeParametersValue;
StagingKusamaRuntimeSessionKeys: StagingKusamaRuntimeSessionKeys;
StagingXcmV5Asset: StagingXcmV5Asset;
StagingXcmV5AssetAssetFilter: StagingXcmV5AssetAssetFilter;
StagingXcmV5AssetAssetId: StagingXcmV5AssetAssetId;
StagingXcmV5AssetAssetInstance: StagingXcmV5AssetAssetInstance;
StagingXcmV5AssetAssetTransferFilter: StagingXcmV5AssetAssetTransferFilter;
StagingXcmV5AssetAssets: StagingXcmV5AssetAssets;
StagingXcmV5AssetFungibility: StagingXcmV5AssetFungibility;
StagingXcmV5AssetWildAsset: StagingXcmV5AssetWildAsset;
StagingXcmV5AssetWildFungibility: StagingXcmV5AssetWildFungibility;
StagingXcmV5Hint: StagingXcmV5Hint;
StagingXcmV5Instruction: StagingXcmV5Instruction;
StagingXcmV5Junction: StagingXcmV5Junction;
StagingXcmV5JunctionNetworkId: StagingXcmV5JunctionNetworkId;
StagingXcmV5Junctions: StagingXcmV5Junctions;
StagingXcmV5Location: StagingXcmV5Location;
StagingXcmV5PalletInfo: StagingXcmV5PalletInfo;
StagingXcmV5QueryResponseInfo: StagingXcmV5QueryResponseInfo;
StagingXcmV5Response: StagingXcmV5Response;
StagingXcmV5TraitsOutcome: StagingXcmV5TraitsOutcome;
StagingXcmV5Xcm: StagingXcmV5Xcm;
XcmV5TraitsError: XcmV5TraitsError;
} // InterfaceTypes
} // declare module
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "kusama",
"implName": "parity-kusama",
"authoringVersion": 2,
"specVersion": 1004000,
"specVersion": 1005000,
"implVersion": 0,
"apis": [
[
@@ -38,7 +38,7 @@ export default {
],
[
"0xaf2c0297a23e6d3d",
11
12
],
[
"0x49eaaf1b548a0cb0",
@@ -86,7 +86,7 @@ export default {
],
[
"0x91b1c8b16328eb92",
1
2
],
[
"0x9ffb505aa738d69c",