chore: update asset hub kusama types to 1.6.0 (#6176)
This commit is contained in:
@@ -5,13 +5,19 @@
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Lookup146: asset_hub_kusama_runtime::ProxyType
|
||||
* Lookup114: xcm::v3::traits::SendError
|
||||
**/
|
||||
XcmV3TraitsSendError: {
|
||||
_enum: ['NotApplicable', 'Transport', 'Unroutable', 'DestinationUnsupported', 'ExceedsMaxMessageSize', 'MissingArgument', 'Fees']
|
||||
},
|
||||
/**
|
||||
* Lookup148: asset_hub_kusama_runtime::ProxyType
|
||||
**/
|
||||
AssetHubKusamaRuntimeProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
|
||||
},
|
||||
/**
|
||||
* Lookup248: asset_hub_kusama_runtime::RuntimeHoldReason
|
||||
* Lookup253: asset_hub_kusama_runtime::RuntimeHoldReason
|
||||
**/
|
||||
AssetHubKusamaRuntimeRuntimeHoldReason: {
|
||||
_enum: {
|
||||
@@ -46,7 +52,7 @@ export default {
|
||||
__Unused28: 'Null',
|
||||
__Unused29: 'Null',
|
||||
__Unused30: 'Null',
|
||||
__Unused31: 'Null',
|
||||
PolkadotXcm: 'PalletXcmHoldReason',
|
||||
__Unused32: 'Null',
|
||||
__Unused33: 'Null',
|
||||
__Unused34: 'Null',
|
||||
@@ -75,7 +81,7 @@ export default {
|
||||
__Unused57: 'Null',
|
||||
__Unused58: 'Null',
|
||||
__Unused59: 'Null',
|
||||
__Unused60: 'Null',
|
||||
Revive: 'PalletReviveHoldReason',
|
||||
__Unused61: 'Null',
|
||||
__Unused62: 'Null',
|
||||
__Unused63: 'Null',
|
||||
@@ -89,17 +95,45 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup275: asset_hub_kusama_runtime::SessionKeys
|
||||
* Lookup254: pallet_xcm::pallet::HoldReason
|
||||
**/
|
||||
PalletXcmHoldReason: {
|
||||
_enum: ['AuthorizeAlias']
|
||||
},
|
||||
/**
|
||||
* Lookup283: asset_hub_kusama_runtime::SessionKeys
|
||||
**/
|
||||
AssetHubKusamaRuntimeSessionKeys: {
|
||||
aura: 'SpConsensusAuraSr25519AppSr25519Public'
|
||||
},
|
||||
/**
|
||||
* Lookup276: sp_consensus_aura::sr25519::app_sr25519::Public
|
||||
* Lookup284: sp_consensus_aura::sr25519::app_sr25519::Public
|
||||
**/
|
||||
SpConsensusAuraSr25519AppSr25519Public: '[u8;32]',
|
||||
/**
|
||||
* Lookup380: pallet_remote_proxy::pallet::Call<T, I>
|
||||
* Lookup343: pallet_xcm::AuthorizedAliasesEntry<frame_support::traits::storage::Disabled, pallet_xcm::pallet::MaxAuthorizedAliases>
|
||||
**/
|
||||
PalletXcmAuthorizedAliasesEntry: {
|
||||
aliasers: 'Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>',
|
||||
ticket: 'FrameSupportStorageDisabled'
|
||||
},
|
||||
/**
|
||||
* Lookup344: frame_support::traits::storage::Disabled
|
||||
**/
|
||||
FrameSupportStorageDisabled: 'Null',
|
||||
/**
|
||||
* Lookup345: pallet_xcm::pallet::MaxAuthorizedAliases
|
||||
**/
|
||||
PalletXcmMaxAuthorizedAliases: 'Null',
|
||||
/**
|
||||
* Lookup347: xcm_runtime_apis::authorized_aliases::OriginAliaser
|
||||
**/
|
||||
XcmRuntimeApisAuthorizedAliasesOriginAliaser: {
|
||||
location: 'XcmVersionedLocation',
|
||||
expiry: 'Option<u64>'
|
||||
},
|
||||
/**
|
||||
* Lookup398: pallet_remote_proxy::pallet::Call<T, I>
|
||||
**/
|
||||
PalletRemoteProxyCall: {
|
||||
_enum: {
|
||||
@@ -120,7 +154,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup381: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
|
||||
* Lookup399: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
|
||||
**/
|
||||
PalletRemoteProxyRemoteProxyProof: {
|
||||
_enum: {
|
||||
@@ -131,7 +165,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup419: asset_hub_kusama_runtime::OriginCaller
|
||||
* Lookup438: asset_hub_kusama_runtime::OriginCaller
|
||||
**/
|
||||
AssetHubKusamaRuntimeOriginCaller: {
|
||||
_enum: {
|
||||
@@ -171,17 +205,17 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup440: pallet_remote_proxy::pallet::Error<T, I>
|
||||
* Lookup459: pallet_remote_proxy::pallet::Error<T, I>
|
||||
**/
|
||||
PalletRemoteProxyError: {
|
||||
_enum: ['CouldNotConvertLocalToRemoteAccountId', 'UnknownProofAnchorBlock', 'InvalidProof', 'ProxyDefinitionDecodingFailed', 'Unannounced', 'DidNotFindMatchingProxyDefinition', 'ProxyProofNotRegistered']
|
||||
},
|
||||
/**
|
||||
* Lookup508: asset_hub_kusama_runtime::Runtime
|
||||
* Lookup532: asset_hub_kusama_runtime::Runtime
|
||||
**/
|
||||
AssetHubKusamaRuntimeRuntime: 'Null',
|
||||
/**
|
||||
* Lookup567: asset_hub_kusama_runtime::RuntimeError
|
||||
* Lookup634: asset_hub_kusama_runtime::RuntimeError
|
||||
**/
|
||||
AssetHubKusamaRuntimeRuntimeError: {
|
||||
_enum: {
|
||||
@@ -245,7 +279,7 @@ export default {
|
||||
__Unused57: 'Null',
|
||||
__Unused58: 'Null',
|
||||
__Unused59: 'Null',
|
||||
__Unused60: 'Null',
|
||||
Revive: 'PalletReviveError',
|
||||
__Unused61: 'Null',
|
||||
__Unused62: 'Null',
|
||||
__Unused63: 'Null',
|
||||
|
||||
@@ -5,11 +5,23 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, u32 } from '@polkadot/types-codec';
|
||||
import type { Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types-codec';
|
||||
import type { Call, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
/** @name AssetHubKusamaRuntimeProxyType (146) */
|
||||
/** @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 AssetHubKusamaRuntimeProxyType (148) */
|
||||
interface AssetHubKusamaRuntimeProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
readonly isNonTransfer: boolean;
|
||||
@@ -21,24 +33,52 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (248) */
|
||||
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (253) */
|
||||
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isPolkadotXcm: boolean;
|
||||
readonly asPolkadotXcm: PalletXcmHoldReason;
|
||||
readonly isNftFractionalization: boolean;
|
||||
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
|
||||
readonly isRevive: boolean;
|
||||
readonly asRevive: PalletReviveHoldReason;
|
||||
readonly isStateTrieMigration: boolean;
|
||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||
readonly type: 'NftFractionalization' | 'StateTrieMigration';
|
||||
readonly type: 'PolkadotXcm' | 'NftFractionalization' | 'Revive' | 'StateTrieMigration';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeSessionKeys (275) */
|
||||
/** @name PalletXcmHoldReason (254) */
|
||||
interface PalletXcmHoldReason extends Enum {
|
||||
readonly isAuthorizeAlias: boolean;
|
||||
readonly type: 'AuthorizeAlias';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeSessionKeys (283) */
|
||||
interface AssetHubKusamaRuntimeSessionKeys extends Struct {
|
||||
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
|
||||
}
|
||||
|
||||
/** @name SpConsensusAuraSr25519AppSr25519Public (276) */
|
||||
/** @name SpConsensusAuraSr25519AppSr25519Public (284) */
|
||||
interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {}
|
||||
|
||||
/** @name PalletRemoteProxyCall (380) */
|
||||
/** @name PalletXcmAuthorizedAliasesEntry (343) */
|
||||
interface PalletXcmAuthorizedAliasesEntry extends Struct {
|
||||
readonly aliasers: Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
||||
readonly ticket: FrameSupportStorageDisabled;
|
||||
}
|
||||
|
||||
/** @name FrameSupportStorageDisabled (344) */
|
||||
type FrameSupportStorageDisabled = Null;
|
||||
|
||||
/** @name PalletXcmMaxAuthorizedAliases (345) */
|
||||
type PalletXcmMaxAuthorizedAliases = Null;
|
||||
|
||||
/** @name XcmRuntimeApisAuthorizedAliasesOriginAliaser (347) */
|
||||
interface XcmRuntimeApisAuthorizedAliasesOriginAliaser extends Struct {
|
||||
readonly location: XcmVersionedLocation;
|
||||
readonly expiry: Option<u64>;
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyCall (398) */
|
||||
interface PalletRemoteProxyCall extends Enum {
|
||||
readonly isRemoteProxy: boolean;
|
||||
readonly asRemoteProxy: {
|
||||
@@ -60,7 +100,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'RemoteProxy' | 'RegisterRemoteProxyProof' | 'RemoteProxyWithRegisteredProof';
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyRemoteProxyProof (381) */
|
||||
/** @name PalletRemoteProxyRemoteProxyProof (399) */
|
||||
interface PalletRemoteProxyRemoteProxyProof extends Enum {
|
||||
readonly isRelayChain: boolean;
|
||||
readonly asRelayChain: {
|
||||
@@ -70,7 +110,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'RelayChain';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeOriginCaller (419) */
|
||||
/** @name AssetHubKusamaRuntimeOriginCaller (438) */
|
||||
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
@@ -81,7 +121,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyError (440) */
|
||||
/** @name PalletRemoteProxyError (459) */
|
||||
interface PalletRemoteProxyError extends Enum {
|
||||
readonly isCouldNotConvertLocalToRemoteAccountId: boolean;
|
||||
readonly isUnknownProofAnchorBlock: boolean;
|
||||
@@ -93,10 +133,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CouldNotConvertLocalToRemoteAccountId' | 'UnknownProofAnchorBlock' | 'InvalidProof' | 'ProxyDefinitionDecodingFailed' | 'Unannounced' | 'DidNotFindMatchingProxyDefinition' | 'ProxyProofNotRegistered';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntime (508) */
|
||||
/** @name AssetHubKusamaRuntimeRuntime (532) */
|
||||
type AssetHubKusamaRuntimeRuntime = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeError (567) */
|
||||
/** @name AssetHubKusamaRuntimeRuntimeError (634) */
|
||||
interface AssetHubKusamaRuntimeRuntimeError extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemError;
|
||||
@@ -138,9 +178,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asPoolAssets: PalletAssetsError;
|
||||
readonly isAssetConversion: boolean;
|
||||
readonly asAssetConversion: PalletAssetConversionError;
|
||||
readonly isRevive: boolean;
|
||||
readonly asRevive: PalletReviveError;
|
||||
readonly isStateTrieMigration: boolean;
|
||||
readonly asStateTrieMigration: PalletStateTrieMigrationError;
|
||||
readonly type: 'System' | 'ParachainSystem' | 'Balances' | 'Vesting' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'StateTrieMigration';
|
||||
readonly type: 'System' | 'ParachainSystem' | 'Balances' | 'Vesting' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'Revive' | 'StateTrieMigration';
|
||||
}
|
||||
|
||||
} // declare module
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/types/registry';
|
||||
|
||||
import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntime, AssetHubKusamaRuntimeRuntimeError, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, PalletRemoteProxyCall, PalletRemoteProxyError, PalletRemoteProxyRemoteProxyProof, SpConsensusAuraSr25519AppSr25519Public } from '@polkadot/types/lookup';
|
||||
import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntime, AssetHubKusamaRuntimeRuntimeError, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, FrameSupportStorageDisabled, PalletRemoteProxyCall, PalletRemoteProxyError, PalletRemoteProxyRemoteProxyProof, PalletXcmAuthorizedAliasesEntry, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, SpConsensusAuraSr25519AppSr25519Public, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3TraitsSendError } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
@@ -15,9 +15,15 @@ declare module '@polkadot/types/types/registry' {
|
||||
AssetHubKusamaRuntimeRuntimeError: AssetHubKusamaRuntimeRuntimeError;
|
||||
AssetHubKusamaRuntimeRuntimeHoldReason: AssetHubKusamaRuntimeRuntimeHoldReason;
|
||||
AssetHubKusamaRuntimeSessionKeys: AssetHubKusamaRuntimeSessionKeys;
|
||||
FrameSupportStorageDisabled: FrameSupportStorageDisabled;
|
||||
PalletRemoteProxyCall: PalletRemoteProxyCall;
|
||||
PalletRemoteProxyError: PalletRemoteProxyError;
|
||||
PalletRemoteProxyRemoteProxyProof: PalletRemoteProxyRemoteProxyProof;
|
||||
PalletXcmAuthorizedAliasesEntry: PalletXcmAuthorizedAliasesEntry;
|
||||
PalletXcmHoldReason: PalletXcmHoldReason;
|
||||
PalletXcmMaxAuthorizedAliases: PalletXcmMaxAuthorizedAliases;
|
||||
SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
|
||||
XcmRuntimeApisAuthorizedAliasesOriginAliaser: XcmRuntimeApisAuthorizedAliasesOriginAliaser;
|
||||
XcmV3TraitsSendError: XcmV3TraitsSendError;
|
||||
} // InterfaceTypes
|
||||
} // declare module
|
||||
|
||||
Reference in New Issue
Block a user