Update AssetHub Polkadot types to 1.6.0 (#6174)

* Update AssetHub Polkadot types to 1.6.0

* Fix tests
This commit is contained in:
Valentin Fernandez
2025-07-01 13:57:31 -03:00
committed by GitHub
parent e60a59269c
commit 2f912dcce3
14 changed files with 3872 additions and 2532 deletions
@@ -8,7 +8,7 @@ import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Permill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -134,6 +134,37 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
collatorSelection: {
kickThreshold: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of candidates that we should have.
*
* This does not take into account the invulnerables.
**/
maxCandidates: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of invulnerables.
**/
maxInvulnerables: u32 & AugmentedConst<ApiType>;
/**
* Minimum number eligible collators. Should always be greater than zero. This includes
* Invulnerable collators. This ensures that there will always be one collator who can
* produce a block.
**/
minEligibleCollators: u32 & AugmentedConst<ApiType>;
/**
* Gets this pallet's derived pot account.
**/
potAccount: AccountId32 & AugmentedConst<ApiType>;
/**
* Account Identifier from which the internal Pot is generated.
**/
potId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
foreignAssets: {
/**
* The amount of funds that must be reserved when creating a new approval.
@@ -307,6 +338,17 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
polkadotXcm: {
/**
* The latest supported version that we advertise. Generally just set it to
* `pallet_xcm::CurrentXcmVersion`.
**/
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
poolAssets: {
/**
* The amount of funds that must be reserved when creating a new approval.
@@ -141,6 +141,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
CallbackFailed: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain freezes.
**/
ContainsFreezes: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain holds.
**/
ContainsHolds: AugmentedError<ApiType>;
/**
* The origin account is frozen.
**/
@@ -362,6 +370,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
CallbackFailed: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain freezes.
**/
ContainsFreezes: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain holds.
**/
ContainsHolds: AugmentedError<ApiType>;
/**
* The origin account is frozen.
**/
@@ -496,7 +512,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoApprovalsNeeded: AugmentedError<ApiType>;
/**
* Multisig operation not found when attempting to cancel.
* Multisig operation not found in storage.
**/
NotFound: AugmentedError<ApiType>;
/**
@@ -504,7 +520,8 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoTimepoint: AugmentedError<ApiType>;
/**
* Only the account that originally created the multisig is able to cancel it.
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
**/
NotOwner: AugmentedError<ApiType>;
/**
@@ -727,10 +744,6 @@ declare module '@polkadot/api-base/types/errors' {
* The inherent which supplies the host configuration did not run this block.
**/
HostConfigurationNotAvailable: AugmentedError<ApiType>;
/**
* No code upgrade has been authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/**
* No validation function upgrade is currently scheduled.
**/
@@ -748,10 +761,6 @@ declare module '@polkadot/api-base/types/errors' {
* willing to run.
**/
TooBig: AugmentedError<ApiType>;
/**
* The given code upgrade has not been authorized.
**/
Unauthorized: AugmentedError<ApiType>;
/**
* The inherent which supplies the validation data did not run this block.
**/
@@ -766,6 +775,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The alias to remove authorization for was not found.
**/
AliasNotFound: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
@@ -795,6 +808,10 @@ declare module '@polkadot/api-base/types/errors' {
* The assets to be sent are empty.
**/
Empty: AugmentedError<ApiType>;
/**
* Expiry block number is in the past.
**/
ExpiresInPast: AugmentedError<ApiType>;
/**
* The operation required fees to be paid which the initiator could not meet.
**/
@@ -844,6 +861,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many assets have been attempted for transfer.
**/
TooManyAssets: AugmentedError<ApiType>;
/**
* Too many locations authorized to alias origin.
**/
TooManyAuthorizedAliases: AugmentedError<ApiType>;
/**
* The asset owner has too many locks on the asset.
**/
@@ -895,6 +916,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
CallbackFailed: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain freezes.
**/
ContainsFreezes: AugmentedError<ApiType>;
/**
* The asset cannot be destroyed because some accounts for this asset contain holds.
**/
ContainsHolds: AugmentedError<ApiType>;
/**
* The origin account is frozen.
**/
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, Permill } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AssetHubPolkadotRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProxyDepositKind, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -470,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
/**
* A multisig operation has been approved by someone.
**/
@@ -683,6 +687,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
polkadotXcm: {
/**
* `target` removed alias authorization for `aliaser`.
**/
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
/**
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
* `expiry` block number.
**/
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
/**
* `target` removed all alias authorizations.
**/
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
/**
* Some assets have been claimed from an asset trap
**/
@@ -763,6 +780,10 @@ declare module '@polkadot/api-base/types/events' {
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* An XCM message failed to process.
**/
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
@@ -773,7 +794,11 @@ declare module '@polkadot/api-base/types/events' {
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
/**
* A XCM message was sent.
* An XCM message failed to send.
**/
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
/**
* An XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
@@ -932,6 +957,10 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* A deposit stored for proxies or announcements was poked / updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A proxy was added.
**/
@@ -960,6 +989,14 @@ declare module '@polkadot/api-base/types/events' {
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Validator has been disabled.
**/
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Validator has been re-enabled.
**/
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Generic event
**/
@@ -1009,6 +1046,10 @@ declare module '@polkadot/api-base/types/events' {
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
**/
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
/**
* On on-chain remark happened.
**/
@@ -1181,6 +1222,14 @@ declare module '@polkadot/api-base/types/events' {
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
/**
* The fallback call was dispatched.
**/
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
/**
* Main call was dispatched.
**/
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
/**
* A single item within a Batch of dispatches has completed with no error.
**/
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -101,11 +101,12 @@ declare module '@polkadot/api-base/types/storage' {
**/
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraEd25519AppEd25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Current slot paired with a number of authored blocks.
* Current relay chain slot paired with a number of authored blocks.
*
* Updated on each block initialization.
* This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
* chain slot as provided by the relay chain state proof.
**/
slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
relaySlotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -542,6 +543,12 @@ declare module '@polkadot/api-base/types/storage' {
* times this pair has been trapped (usually just 1 if it exists at all).
**/
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* Map of authorized aliasers of local origins. Each local location can authorize a list of
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
* block number.
**/
authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
/**
* The current migration's stage, if any.
**/
@@ -677,7 +684,7 @@ declare module '@polkadot/api-base/types/storage' {
* disabled using binary search. It gets cleared when `on_session_ending` returns
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -794,6 +801,16 @@ declare module '@polkadot/api-base/types/storage' {
* Extrinsics data for the current block (maps an extrinsic's index to its data).
**/
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The weight reclaimed for the extrinsic.
*
* This information is available until the end of the extrinsic execution.
* More precisely this information is removed in `note_applied_extrinsic`.
*
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
* reduction.
**/
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Whether all inherents have been applied.
**/
@@ -67,7 +67,7 @@ declare module '@polkadot/api-base/types/calls' {
/** 0xd7bdd8a272ca0d65/ */
auraUnincludedSegmentApi: {
/**
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
**/
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
/**
@@ -403,6 +403,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
@@ -416,6 +419,9 @@ declare module '@polkadot/api-base/types/submittable' {
* - `id`: The identifier of the asset for the account holding a deposit.
* - `who`: The account to refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
@@ -478,6 +484,9 @@ declare module '@polkadot/api-base/types/submittable' {
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* an account contains holds or freezes in place.
**/
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -1132,6 +1141,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refund: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, bool]>;
@@ -1145,6 +1157,9 @@ declare module '@polkadot/api-base/types/submittable' {
* - `id`: The identifier of the asset for the account holding a deposit.
* - `who`: The account to refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refundOther: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, MultiAddress]>;
@@ -1207,6 +1222,9 @@ declare module '@polkadot/api-base/types/submittable' {
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* an account contains holds or freezes in place.
**/
startDestroy: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location]>;
/**
@@ -1500,6 +1518,22 @@ declare module '@polkadot/api-base/types/submittable' {
* - Storage: removes one item.
**/
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
/**
* Poke the deposit reserved for an existing multisig operation.
*
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
* the multisig operation.
*
* The transaction fee is waived if the deposit amount has changed.
*
* - `threshold`: The total number of approvals needed for this multisig.
* - `other_signatories`: The accounts (other than the sender) who are part of the
* multisig.
* - `call_hash`: The hash of the call this deposit is reserved for.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
/**
* Generic tx
**/
@@ -2156,6 +2190,20 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
polkadotXcm: {
/**
* Authorize another `aliaser` location to alias into the local `origin` making this call.
* The `aliaser` is only authorized until the provided `expiry` block number.
* The call can also be used for a previously authorized alias in order to update its
* `expiry` block number.
*
* Usually useful to allow your local account to be aliased into from a remote location
* also under your control (like your account on another chain).
*
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
* `origin` in XCM programs executed on the local chain.
**/
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
/**
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
*
@@ -2270,6 +2318,16 @@ declare module '@polkadot/api-base/types/submittable' {
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
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]>;
/**
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
* making this call.
**/
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Remove a previously authorized `aliaser` from the list of locations that can alias into
* the local `origin` making this call.
**/
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -2735,6 +2793,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refund: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
@@ -2748,6 +2809,9 @@ declare module '@polkadot/api-base/types/submittable' {
* - `id`: The identifier of the asset for the account holding a deposit.
* - `who`: The account to refund.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* the asset account contains holds or freezes in place.
*
* Emits `Refunded` event when successful.
**/
refundOther: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
@@ -2810,6 +2874,9 @@ declare module '@polkadot/api-base/types/submittable' {
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
* an account contains holds or freezes in place.
**/
startDestroy: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
@@ -3033,6 +3100,17 @@ declare module '@polkadot/api-base/types/submittable' {
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: AssetHubPolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubPolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Poke / Adjust deposits made for proxies and announcements based on current values.
* This can be used by accounts to possibly lower their locked amount.
*
* The dispatch origin for this call must be _Signed_.
*
* The transaction fee is waived if the deposit amount has changed.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -3816,6 +3894,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
dispatchAs: AugmentedSubmittable<(asOrigin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubPolkadotRuntimeOriginCaller, Call]>;
/**
* Dispatches a function call with a provided origin.
*
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
*
* The dispatch origin for this call must be _Root_.
**/
dispatchAsFallible: AugmentedSubmittable<(asOrigin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubPolkadotRuntimeOriginCaller, Call]>;
/**
* Send a batch of dispatch calls.
* Unlike `batch`, it allows errors and won't interrupt.
@@ -3832,6 +3918,32 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(C) where C is the number of calls to be batched.
**/
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
/**
* Dispatch a fallback call in the event the main call fails to execute.
* May be called from any origin except `None`.
*
* This function first attempts to dispatch the `main` call.
* If the `main` call fails, the `fallback` is attemted.
* if the fallback is successfully dispatched, the weights of both calls
* are accumulated and an event containing the main call error is deposited.
*
* In the event of a fallback failure the whole call fails
* with the weights returned.
*
* - `main`: The main call to be dispatched. This is the primary action to execute.
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
*
* ## Dispatch Logic
* - If the origin is `root`, both the main and fallback calls are executed without
* applying any origin filters.
* - If the origin is not `root`, the origin filter is applied to both the `main` and
* `fallback` calls.
*
* ## Use Case
* - Some use cases might involve submitting a `batch` type call in either main, fallback
* or both.
**/
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
/**
* Dispatch a function call with a specified weight.
*
@@ -81,7 +81,13 @@ export default {
}
},
/**
* Lookup133: cumulus_pallet_xcm::pallet::Event<T>
* Lookup114: xcm::v3::traits::SendError
**/
XcmV3TraitsSendError: {
_enum: ['NotApplicable', 'Transport', 'Unroutable', 'DestinationUnsupported', 'ExceedsMaxMessageSize', 'MissingArgument', 'Fees']
},
/**
* Lookup135: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -91,7 +97,7 @@ export default {
}
},
/**
* Lookup134: pallet_xcm_bridge_hub_router::pallet::Event<T, I>
* Lookup136: pallet_xcm_bridge_hub_router::pallet::Event<T, I>
**/
PalletXcmBridgeHubRouterEvent: {
_enum: {
@@ -104,7 +110,7 @@ export default {
}
},
/**
* Lookup137: cumulus_primitives_core::AggregateMessageOrigin
* Lookup139: cumulus_primitives_core::AggregateMessageOrigin
**/
CumulusPrimitivesCoreAggregateMessageOrigin: {
_enum: {
@@ -114,13 +120,13 @@ export default {
}
},
/**
* Lookup146: asset_hub_polkadot_runtime::ProxyType
* Lookup148: asset_hub_polkadot_runtime::ProxyType
**/
AssetHubPolkadotRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
},
/**
* Lookup197: cumulus_pallet_parachain_system::unincluded_segment::Ancestor<primitive_types::H256>
* Lookup200: cumulus_pallet_parachain_system::unincluded_segment::Ancestor<primitive_types::H256>
**/
CumulusPalletParachainSystemUnincludedSegmentAncestor: {
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
@@ -128,7 +134,7 @@ export default {
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
},
/**
* Lookup198: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
* Lookup201: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
**/
CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: {
umpMsgCount: 'u32',
@@ -136,14 +142,14 @@ export default {
hrmpOutgoing: 'BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>'
},
/**
* Lookup200: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
* Lookup203: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
**/
CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: {
msgCount: 'u32',
totalBytes: 'u32'
},
/**
* Lookup206: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker<primitive_types::H256>
* Lookup209: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker<primitive_types::H256>
**/
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: {
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
@@ -151,13 +157,13 @@ export default {
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
},
/**
* Lookup211: sp_trie::storage_proof::StorageProof
* Lookup214: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
* Lookup213: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
* Lookup216: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -166,14 +172,14 @@ export default {
egressChannels: 'Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>'
},
/**
* Lookup214: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
* Lookup217: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
**/
CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: {
remainingCount: 'u32',
remainingSize: 'u32'
},
/**
* Lookup217: polkadot_primitives::v8::AbridgedHrmpChannel
* Lookup220: polkadot_primitives::v8::AbridgedHrmpChannel
**/
PolkadotPrimitivesV8AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -184,7 +190,7 @@ export default {
mqcHead: 'Option<H256>'
},
/**
* Lookup218: polkadot_primitives::v8::AbridgedHostConfiguration
* Lookup221: polkadot_primitives::v8::AbridgedHostConfiguration
**/
PolkadotPrimitivesV8AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -199,7 +205,7 @@ export default {
asyncBackingParams: 'PolkadotPrimitivesV8AsyncBackingAsyncBackingParams'
},
/**
* Lookup226: cumulus_pallet_parachain_system::pallet::Call<T>
* Lookup229: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -212,7 +218,7 @@ export default {
}
},
/**
* Lookup227: cumulus_primitives_parachain_inherent::ParachainInherentData
* Lookup230: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV8PersistedValidationData',
@@ -221,17 +227,17 @@ export default {
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
* Lookup235: cumulus_pallet_parachain_system::pallet::Error<T>
* Lookup238: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled']
},
/**
* Lookup237: staging_parachain_info::pallet::Call<T>
* Lookup240: staging_parachain_info::pallet::Call<T>
**/
StagingParachainInfoCall: 'Null',
/**
* Lookup247: asset_hub_polkadot_runtime::RuntimeHoldReason
* Lookup250: asset_hub_polkadot_runtime::RuntimeHoldReason
**/
AssetHubPolkadotRuntimeRuntimeHoldReason: {
_enum: {
@@ -266,7 +272,7 @@ export default {
__Unused28: 'Null',
__Unused29: 'Null',
__Unused30: 'Null',
__Unused31: 'Null',
PolkadotXcm: 'PalletXcmHoldReason',
__Unused32: 'Null',
__Unused33: 'Null',
__Unused34: 'Null',
@@ -309,14 +315,20 @@ export default {
}
},
/**
* Lookup267: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
* Lookup251: pallet_xcm::pallet::HoldReason
**/
PalletXcmHoldReason: {
_enum: ['AuthorizeAlias']
},
/**
* Lookup271: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
**/
PalletCollatorSelectionCandidateInfo: {
who: 'AccountId32',
deposit: 'u128'
},
/**
* Lookup269: pallet_collator_selection::pallet::Call<T>
* Lookup273: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -350,23 +362,23 @@ export default {
}
},
/**
* Lookup270: pallet_collator_selection::pallet::Error<T>
* Lookup275: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_enum: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve']
},
/**
* Lookup273: asset_hub_polkadot_runtime::SessionKeys
* Lookup278: asset_hub_polkadot_runtime::SessionKeys
**/
AssetHubPolkadotRuntimeSessionKeys: {
aura: 'SpConsensusAuraEd25519AppEd25519Public'
},
/**
* Lookup274: sp_consensus_aura::ed25519::app_ed25519::Public
* Lookup279: sp_consensus_aura::ed25519::app_ed25519::Public
**/
SpConsensusAuraEd25519AppEd25519Public: '[u8;32]',
/**
* Lookup287: cumulus_pallet_xcmp_queue::OutboundChannelDetails
* Lookup296: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -376,13 +388,13 @@ export default {
lastIndex: 'u16'
},
/**
* Lookup288: cumulus_pallet_xcmp_queue::OutboundState
* Lookup297: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
* Lookup292: cumulus_pallet_xcmp_queue::QueueConfigData
* Lookup301: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -390,7 +402,7 @@ export default {
resumeThreshold: 'u32'
},
/**
* Lookup293: cumulus_pallet_xcmp_queue::pallet::Call<T>
* Lookup302: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -418,24 +430,46 @@ export default {
}
},
/**
* Lookup294: cumulus_pallet_xcmp_queue::pallet::Error<T>
* Lookup303: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']
},
/**
* Lookup360: cumulus_pallet_xcm::pallet::Call<T>
* Lookup338: pallet_xcm::AuthorizedAliasesEntry<frame_support::traits::storage::Disabled, pallet_xcm::pallet::MaxAuthorizedAliases>
**/
PalletXcmAuthorizedAliasesEntry: {
aliasers: 'Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>',
ticket: 'FrameSupportStorageDisabled'
},
/**
* Lookup339: frame_support::traits::storage::Disabled
**/
FrameSupportStorageDisabled: 'Null',
/**
* Lookup340: pallet_xcm::pallet::MaxAuthorizedAliases
**/
PalletXcmMaxAuthorizedAliases: 'Null',
/**
* Lookup342: xcm_runtime_apis::authorized_aliases::OriginAliaser
**/
XcmRuntimeApisAuthorizedAliasesOriginAliaser: {
location: 'XcmVersionedLocation',
expiry: 'Option<u64>'
},
/**
* Lookup375: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
* Lookup361: bp_xcm_bridge_hub_router::BridgeState
* Lookup376: bp_xcm_bridge_hub_router::BridgeState
**/
BpXcmBridgeHubRouterBridgeState: {
deliveryFeeFactor: 'u128',
isCongested: 'bool'
},
/**
* Lookup362: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
* Lookup377: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
**/
PalletXcmBridgeHubRouterCall: {
_enum: {
@@ -446,7 +480,7 @@ export default {
}
},
/**
* Lookup414: asset_hub_polkadot_runtime::OriginCaller
* Lookup429: asset_hub_polkadot_runtime::OriginCaller
**/
AssetHubPolkadotRuntimeOriginCaller: {
_enum: {
@@ -486,7 +520,7 @@ export default {
}
},
/**
* Lookup417: cumulus_pallet_xcm::pallet::Origin
* Lookup432: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -495,17 +529,17 @@ export default {
}
},
/**
* Lookup497: asset_hub_polkadot_runtime::Runtime
* Lookup511: asset_hub_polkadot_runtime::Runtime
**/
AssetHubPolkadotRuntimeRuntime: 'Null',
/**
* Lookup547: assets_common::runtime_api::FungiblesAccessError
* Lookup561: assets_common::runtime_api::FungiblesAccessError
**/
AssetsCommonRuntimeApiFungiblesAccessError: {
_enum: ['AssetIdConversionFailed', 'AmountToBalanceConversionFailed']
},
/**
* Lookup548: cumulus_primitives_core::CollationInfo
* Lookup562: cumulus_primitives_core::CollationInfo
**/
CumulusPrimitivesCoreCollationInfo: {
upwardMessages: 'Vec<Bytes>',
@@ -516,7 +550,7 @@ export default {
headData: 'Bytes'
},
/**
* Lookup556: asset_hub_polkadot_runtime::RuntimeError
* Lookup570: asset_hub_polkadot_runtime::RuntimeError
**/
AssetHubPolkadotRuntimeRuntimeError: {
_enum: {
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
import type { BTreeMap, BTreeSet, Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
import type { BTreeMap, BTreeSet, Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
@@ -92,7 +92,19 @@ declare module '@polkadot/types/lookup' {
readonly type: 'XcmpMessageSent';
}
/** @name CumulusPalletXcmEvent (133) */
/** @name XcmV3TraitsSendError (114) */
interface XcmV3TraitsSendError extends Enum {
readonly isNotApplicable: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isDestinationUnsupported: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isMissingArgument: boolean;
readonly isFees: boolean;
readonly type: 'NotApplicable' | 'Transport' | 'Unroutable' | 'DestinationUnsupported' | 'ExceedsMaxMessageSize' | 'MissingArgument' | 'Fees';
}
/** @name CumulusPalletXcmEvent (135) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -103,7 +115,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
/** @name PalletXcmBridgeHubRouterEvent (134) */
/** @name PalletXcmBridgeHubRouterEvent (136) */
interface PalletXcmBridgeHubRouterEvent extends Enum {
readonly isDeliveryFeeFactorDecreased: boolean;
readonly asDeliveryFeeFactorDecreased: {
@@ -116,7 +128,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DeliveryFeeFactorDecreased' | 'DeliveryFeeFactorIncreased';
}
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (137) */
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (139) */
interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
@@ -125,7 +137,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Here' | 'Parent' | 'Sibling';
}
/** @name AssetHubPolkadotRuntimeProxyType (146) */
/** @name AssetHubPolkadotRuntimeProxyType (148) */
interface AssetHubPolkadotRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -137,39 +149,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
}
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (197) */
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (200) */
interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct {
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
readonly paraHeadHash: Option<H256>;
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (198) */
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (201) */
interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct {
readonly umpMsgCount: u32;
readonly umpTotalBytes: u32;
readonly hrmpOutgoing: BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (200) */
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (203) */
interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct {
readonly msgCount: u32;
readonly totalBytes: u32;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (206) */
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (209) */
interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct {
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
readonly hrmpWatermark: Option<u32>;
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
}
/** @name SpTrieStorageProof (211) */
/** @name SpTrieStorageProof (214) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (213) */
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (216) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
@@ -177,13 +189,13 @@ declare module '@polkadot/types/lookup' {
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV8AbridgedHrmpChannel]>>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (214) */
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (217) */
interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct {
readonly remainingCount: u32;
readonly remainingSize: u32;
}
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (217) */
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (220) */
interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -193,7 +205,7 @@ declare module '@polkadot/types/lookup' {
readonly mqcHead: Option<H256>;
}
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (218) */
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (221) */
interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -207,7 +219,7 @@ declare module '@polkadot/types/lookup' {
readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
}
/** @name CumulusPalletParachainSystemCall (226) */
/** @name CumulusPalletParachainSystemCall (229) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -220,7 +232,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage';
}
/** @name CumulusPrimitivesParachainInherentParachainInherentData (227) */
/** @name CumulusPrimitivesParachainInherentParachainInherentData (230) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV8PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -228,7 +240,7 @@ declare module '@polkadot/types/lookup' {
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
/** @name CumulusPalletParachainSystemError (235) */
/** @name CumulusPalletParachainSystemError (238) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -236,28 +248,34 @@ declare module '@polkadot/types/lookup' {
readonly isValidationDataNotAvailable: boolean;
readonly isHostConfigurationNotAvailable: boolean;
readonly isNotScheduled: boolean;
readonly isNothingAuthorized: boolean;
readonly isUnauthorized: boolean;
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled';
}
/** @name StagingParachainInfoCall (237) */
/** @name StagingParachainInfoCall (240) */
type StagingParachainInfoCall = Null;
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (247) */
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (250) */
interface AssetHubPolkadotRuntimeRuntimeHoldReason extends Enum {
readonly isPolkadotXcm: boolean;
readonly asPolkadotXcm: PalletXcmHoldReason;
readonly isStateTrieMigration: boolean;
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
readonly type: 'StateTrieMigration';
readonly type: 'PolkadotXcm' | 'StateTrieMigration';
}
/** @name PalletCollatorSelectionCandidateInfo (267) */
/** @name PalletXcmHoldReason (251) */
interface PalletXcmHoldReason extends Enum {
readonly isAuthorizeAlias: boolean;
readonly type: 'AuthorizeAlias';
}
/** @name PalletCollatorSelectionCandidateInfo (271) */
interface PalletCollatorSelectionCandidateInfo extends Struct {
readonly who: AccountId32;
readonly deposit: u128;
}
/** @name PalletCollatorSelectionCall (269) */
/** @name PalletCollatorSelectionCall (273) */
interface PalletCollatorSelectionCall extends Enum {
readonly isSetInvulnerables: boolean;
readonly asSetInvulnerables: {
@@ -293,7 +311,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'LeaveIntent' | 'AddInvulnerable' | 'RemoveInvulnerable' | 'UpdateBond' | 'TakeCandidateSlot';
}
/** @name PalletCollatorSelectionError (270) */
/** @name PalletCollatorSelectionError (275) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: boolean;
readonly isTooFewEligibleCollators: boolean;
@@ -315,15 +333,15 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooManyCandidates' | 'TooFewEligibleCollators' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered' | 'InsertToCandidateListFailed' | 'RemoveFromCandidateListFailed' | 'DepositTooLow' | 'UpdateCandidateListFailed' | 'InsufficientBond' | 'TargetIsNotCandidate' | 'IdenticalDeposit' | 'InvalidUnreserve';
}
/** @name AssetHubPolkadotRuntimeSessionKeys (273) */
/** @name AssetHubPolkadotRuntimeSessionKeys (278) */
interface AssetHubPolkadotRuntimeSessionKeys extends Struct {
readonly aura: SpConsensusAuraEd25519AppEd25519Public;
}
/** @name SpConsensusAuraEd25519AppEd25519Public (274) */
/** @name SpConsensusAuraEd25519AppEd25519Public (279) */
interface SpConsensusAuraEd25519AppEd25519Public extends U8aFixed {}
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (287) */
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (296) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -332,21 +350,21 @@ declare module '@polkadot/types/lookup' {
readonly lastIndex: u16;
}
/** @name CumulusPalletXcmpQueueOutboundState (288) */
/** @name CumulusPalletXcmpQueueOutboundState (297) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name CumulusPalletXcmpQueueQueueConfigData (292) */
/** @name CumulusPalletXcmpQueueQueueConfigData (301) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
readonly resumeThreshold: u32;
}
/** @name CumulusPalletXcmpQueueCall (293) */
/** @name CumulusPalletXcmpQueueCall (302) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isSuspendXcmExecution: boolean;
readonly isResumeXcmExecution: boolean;
@@ -365,7 +383,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold';
}
/** @name CumulusPalletXcmpQueueError (294) */
/** @name CumulusPalletXcmpQueueError (303) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isBadQueueConfig: boolean;
readonly isAlreadySuspended: boolean;
@@ -375,16 +393,34 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig';
}
/** @name CumulusPalletXcmCall (360) */
/** @name PalletXcmAuthorizedAliasesEntry (338) */
interface PalletXcmAuthorizedAliasesEntry extends Struct {
readonly aliasers: Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
readonly ticket: FrameSupportStorageDisabled;
}
/** @name FrameSupportStorageDisabled (339) */
type FrameSupportStorageDisabled = Null;
/** @name PalletXcmMaxAuthorizedAliases (340) */
type PalletXcmMaxAuthorizedAliases = Null;
/** @name XcmRuntimeApisAuthorizedAliasesOriginAliaser (342) */
interface XcmRuntimeApisAuthorizedAliasesOriginAliaser extends Struct {
readonly location: XcmVersionedLocation;
readonly expiry: Option<u64>;
}
/** @name CumulusPalletXcmCall (375) */
type CumulusPalletXcmCall = Null;
/** @name BpXcmBridgeHubRouterBridgeState (361) */
/** @name BpXcmBridgeHubRouterBridgeState (376) */
interface BpXcmBridgeHubRouterBridgeState extends Struct {
readonly deliveryFeeFactor: u128;
readonly isCongested: bool;
}
/** @name PalletXcmBridgeHubRouterCall (362) */
/** @name PalletXcmBridgeHubRouterCall (377) */
interface PalletXcmBridgeHubRouterCall extends Enum {
readonly isReportBridgeStatus: boolean;
readonly asReportBridgeStatus: {
@@ -394,7 +430,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ReportBridgeStatus';
}
/** @name AssetHubPolkadotRuntimeOriginCaller (414) */
/** @name AssetHubPolkadotRuntimeOriginCaller (429) */
interface AssetHubPolkadotRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -405,7 +441,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
}
/** @name CumulusPalletXcmOrigin (417) */
/** @name CumulusPalletXcmOrigin (432) */
interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -413,17 +449,17 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Relay' | 'SiblingParachain';
}
/** @name AssetHubPolkadotRuntimeRuntime (497) */
/** @name AssetHubPolkadotRuntimeRuntime (511) */
type AssetHubPolkadotRuntimeRuntime = Null;
/** @name AssetsCommonRuntimeApiFungiblesAccessError (547) */
/** @name AssetsCommonRuntimeApiFungiblesAccessError (561) */
interface AssetsCommonRuntimeApiFungiblesAccessError extends Enum {
readonly isAssetIdConversionFailed: boolean;
readonly isAmountToBalanceConversionFailed: boolean;
readonly type: 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
}
/** @name CumulusPrimitivesCoreCollationInfo (548) */
/** @name CumulusPrimitivesCoreCollationInfo (562) */
interface CumulusPrimitivesCoreCollationInfo extends Struct {
readonly upwardMessages: Vec<Bytes>;
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
@@ -433,7 +469,7 @@ declare module '@polkadot/types/lookup' {
readonly headData: Bytes;
}
/** @name AssetHubPolkadotRuntimeRuntimeError (556) */
/** @name AssetHubPolkadotRuntimeRuntimeError (570) */
interface AssetHubPolkadotRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
import type { AssetHubPolkadotRuntimeOriginCaller, AssetHubPolkadotRuntimeProxyType, AssetHubPolkadotRuntimeRuntime, AssetHubPolkadotRuntimeRuntimeError, AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, AssetsCommonRuntimeApiFungiblesAccessError, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesCoreCollationInfo, CumulusPrimitivesParachainInherentParachainInherentData, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletXcmBridgeHubRouterCall, PalletXcmBridgeHubRouterEvent, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, SpConsensusAuraEd25519AppEd25519Public, SpTrieStorageProof, StagingParachainInfoCall } from '@polkadot/types/lookup';
import type { AssetHubPolkadotRuntimeOriginCaller, AssetHubPolkadotRuntimeProxyType, AssetHubPolkadotRuntimeRuntime, AssetHubPolkadotRuntimeRuntimeError, AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, AssetsCommonRuntimeApiFungiblesAccessError, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesCoreCollationInfo, CumulusPrimitivesParachainInherentParachainInherentData, FrameSupportStorageDisabled, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmBridgeHubRouterCall, PalletXcmBridgeHubRouterEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, SpConsensusAuraEd25519AppEd25519Public, SpTrieStorageProof, StagingParachainInfoCall, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3TraitsSendError } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -38,16 +38,22 @@ declare module '@polkadot/types/types/registry' {
CumulusPrimitivesCoreAggregateMessageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
CumulusPrimitivesCoreCollationInfo: CumulusPrimitivesCoreCollationInfo;
CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData;
FrameSupportStorageDisabled: FrameSupportStorageDisabled;
PalletCollatorSelectionCall: PalletCollatorSelectionCall;
PalletCollatorSelectionCandidateInfo: PalletCollatorSelectionCandidateInfo;
PalletCollatorSelectionError: PalletCollatorSelectionError;
PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
PalletXcmAuthorizedAliasesEntry: PalletXcmAuthorizedAliasesEntry;
PalletXcmBridgeHubRouterCall: PalletXcmBridgeHubRouterCall;
PalletXcmBridgeHubRouterEvent: PalletXcmBridgeHubRouterEvent;
PalletXcmHoldReason: PalletXcmHoldReason;
PalletXcmMaxAuthorizedAliases: PalletXcmMaxAuthorizedAliases;
PolkadotPrimitivesV8AbridgedHostConfiguration: PolkadotPrimitivesV8AbridgedHostConfiguration;
PolkadotPrimitivesV8AbridgedHrmpChannel: PolkadotPrimitivesV8AbridgedHrmpChannel;
SpConsensusAuraEd25519AppEd25519Public: SpConsensusAuraEd25519AppEd25519Public;
SpTrieStorageProof: SpTrieStorageProof;
StagingParachainInfoCall: StagingParachainInfoCall;
XcmRuntimeApisAuthorizedAliasesOriginAliaser: XcmRuntimeApisAuthorizedAliasesOriginAliaser;
XcmV3TraitsSendError: XcmV3TraitsSendError;
} // InterfaceTypes
} // declare module
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -8,16 +8,6 @@
export default {
"methods": [
"account_nextIndex",
"archive_v1_body",
"archive_v1_call",
"archive_v1_finalizedHeight",
"archive_v1_genesisHash",
"archive_v1_hashByHeight",
"archive_v1_header",
"archive_v1_stopStorage",
"archive_v1_storage",
"archive_v1_storageDiff",
"archive_v1_storageDiff_stopStorageDiff",
"author_hasKey",
"author_hasSessionKeys",
"author_insertKey",
@@ -66,6 +56,8 @@ export default {
"childstate_getStorageHash",
"childstate_getStorageSize",
"dev_getBlockStats",
"engine_createBlock",
"engine_finalizeBlock",
"offchain_localStorageClear",
"offchain_localStorageGet",
"offchain_localStorageSet",
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "statemint",
"implName": "statemint",
"authoringVersion": 1,
"specVersion": 1005001,
"specVersion": 1006000,
"implVersion": 0,
"apis": [
[
@@ -18,7 +18,7 @@ export default {
],
[
"0xd7bdd8a272ca0d65",
1
2
],
[
"0xdf6acb689907609b",