git.delta.rocks / unique-network / refs/commits / 7e32db5caa8a

difftreelog

feat avoid changing name of primary version

Yaroslav Bolyukin2022-04-08parent: #6bbb9b8.patch.diff
in: master

7 files changed

modifiedcrates/struct-versioning/src/lib.rsdiffbeforeafterboth
--- a/crates/struct-versioning/src/lib.rs
+++ b/crates/struct-versioning/src/lib.rs
@@ -198,7 +198,11 @@
 	let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl();
 	let mut out = Vec::new();
 	for version in attr.first_version..=attr.current_version {
-		let name = format_ident!("{}Version{}", &input.ident, version);
+		let name = if version == attr.current_version {
+			input.ident.clone()	
+		} else {
+			format_ident!("{}Version{}", &input.ident, version)
+		};
 		let current_fields = fields
 			.iter()
 			.filter_map(|(ver, field)| ver.exists_on(version).then(|| field));
@@ -291,7 +295,7 @@
 	quote! {
 		#(#out)*
 
-		#vis type #ident #ty_generics = #last_version #ty_generics;
+		#vis type #last_version #ty_generics = #ident #ty_generics;
 	}
 	.into()
 }
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -594,9 +594,11 @@
 		use scale_info::{
 			Type, Path,
 			build::{FieldsBuilder, UnnamedFields},
+			type_params,
 		};
 		Type::builder()
 			.path(Path::new("up_data_structs", "PhantomType"))
+			.type_params(type_params!(T))
 			.composite(<FieldsBuilder<UnnamedFields>>::default().field(|b| b.ty::<[T; 0]>()))
 	}
 }
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -5,7 +5,7 @@
 import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
 import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
 import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollectionField, UpDataStructsCollectionStats, UpDataStructsCollectionVersion2 } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionStats } from '@polkadot/types/lookup';
 import type { Observable } from '@polkadot/types/types';
 
 declare module '@polkadot/api-base/types/storage' {
@@ -77,7 +77,7 @@
       /**
        * Collection info
        **/
-      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollectionVersion2>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
       /**
        * Large variable-size collection fields are extracted here
        **/
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionStats, UpDataStructsRpcCollection } from './unique';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsRpcCollection } from './unique';
 import type { AugmentedRpc } from '@polkadot/rpc-core/types';
 import type { Metadata, StorageKey } from '@polkadot/types';
 import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -617,7 +617,7 @@
       /**
        * Get effective collection limits
        **/
-      effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimitsVersion2>>>;
+      effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
       /**
        * Get last token id
        **/
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -5,7 +5,7 @@
 import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
 import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
 
 declare module '@polkadot/api-base/types/submittable' {
   export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -777,7 +777,7 @@
        * * address.
        **/
       removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
-      setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimitsVersion2 | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimitsVersion2]>;
+      setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;
       /**
        * # Permissions
        * 
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
 /* eslint-disable */
 
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollectionField, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCollectionVersion2, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
 import type { Data, StorageKey } from '@polkadot/types';
 import type { BTreeSet, BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
 import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -1168,11 +1168,11 @@
     UnrewardedRelayer: UnrewardedRelayer;
     UnrewardedRelayersState: UnrewardedRelayersState;
     UpDataStructsAccessMode: UpDataStructsAccessMode;
+    UpDataStructsCollection: UpDataStructsCollection;
     UpDataStructsCollectionField: UpDataStructsCollectionField;
-    UpDataStructsCollectionLimitsVersion2: UpDataStructsCollectionLimitsVersion2;
+    UpDataStructsCollectionLimits: UpDataStructsCollectionLimits;
     UpDataStructsCollectionMode: UpDataStructsCollectionMode;
     UpDataStructsCollectionStats: UpDataStructsCollectionStats;
-    UpDataStructsCollectionVersion2: UpDataStructsCollectionVersion2;
     UpDataStructsCreateCollectionData: UpDataStructsCreateCollectionData;
     UpDataStructsCreateFungibleData: UpDataStructsCreateFungibleData;
     UpDataStructsCreateItemData: UpDataStructsCreateItemData;
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
before · tests/src/interfaces/unique/types.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends BTreeSet<Bytes> {}1112/** @name CumulusPalletDmpQueueCall */13export interface CumulusPalletDmpQueueCall extends Enum {14  readonly isServiceOverweight: boolean;15  readonly asServiceOverweight: {16    readonly index: u64;17    readonly weightLimit: u64;18  } & Struct;19  readonly type: 'ServiceOverweight';20}2122/** @name CumulusPalletDmpQueueConfigData */23export interface CumulusPalletDmpQueueConfigData extends Struct {24  readonly maxIndividual: u64;25}2627/** @name CumulusPalletDmpQueueError */28export interface CumulusPalletDmpQueueError extends Enum {29  readonly isUnknown: boolean;30  readonly isOverLimit: boolean;31  readonly type: 'Unknown' | 'OverLimit';32}3334/** @name CumulusPalletDmpQueueEvent */35export interface CumulusPalletDmpQueueEvent extends Enum {36  readonly isInvalidFormat: boolean;37  readonly asInvalidFormat: U8aFixed;38  readonly isUnsupportedVersion: boolean;39  readonly asUnsupportedVersion: U8aFixed;40  readonly isExecutedDownward: boolean;41  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;42  readonly isWeightExhausted: boolean;43  readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;44  readonly isOverweightEnqueued: boolean;45  readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;46  readonly isOverweightServiced: boolean;47  readonly asOverweightServiced: ITuple<[u64, u64]>;48  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';49}5051/** @name CumulusPalletDmpQueuePageIndexData */52export interface CumulusPalletDmpQueuePageIndexData extends Struct {53  readonly beginUsed: u32;54  readonly endUsed: u32;55  readonly overweightCount: u64;56}5758/** @name CumulusPalletParachainSystemCall */59export interface CumulusPalletParachainSystemCall extends Enum {60  readonly isSetValidationData: boolean;61  readonly asSetValidationData: {62    readonly data: CumulusPrimitivesParachainInherentParachainInherentData;63  } & Struct;64  readonly isSudoSendUpwardMessage: boolean;65  readonly asSudoSendUpwardMessage: {66    readonly message: Bytes;67  } & Struct;68  readonly isAuthorizeUpgrade: boolean;69  readonly asAuthorizeUpgrade: {70    readonly codeHash: H256;71  } & Struct;72  readonly isEnactAuthorizedUpgrade: boolean;73  readonly asEnactAuthorizedUpgrade: {74    readonly code: Bytes;75  } & Struct;76  readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';77}7879/** @name CumulusPalletParachainSystemError */80export interface CumulusPalletParachainSystemError extends Enum {81  readonly isOverlappingUpgrades: boolean;82  readonly isProhibitedByPolkadot: boolean;83  readonly isTooBig: boolean;84  readonly isValidationDataNotAvailable: boolean;85  readonly isHostConfigurationNotAvailable: boolean;86  readonly isNotScheduled: boolean;87  readonly isNothingAuthorized: boolean;88  readonly isUnauthorized: boolean;89  readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';90}9192/** @name CumulusPalletParachainSystemEvent */93export interface CumulusPalletParachainSystemEvent extends Enum {94  readonly isValidationFunctionStored: boolean;95  readonly isValidationFunctionApplied: boolean;96  readonly asValidationFunctionApplied: u32;97  readonly isValidationFunctionDiscarded: boolean;98  readonly isUpgradeAuthorized: boolean;99  readonly asUpgradeAuthorized: H256;100  readonly isDownwardMessagesReceived: boolean;101  readonly asDownwardMessagesReceived: u32;102  readonly isDownwardMessagesProcessed: boolean;103  readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;104  readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';105}106107/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */108export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {109  readonly dmqMqcHead: H256;110  readonly relayDispatchQueueSize: ITuple<[u32, u32]>;111  readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;112  readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;113}114115/** @name CumulusPalletXcmCall */116export interface CumulusPalletXcmCall extends Null {}117118/** @name CumulusPalletXcmError */119export interface CumulusPalletXcmError extends Null {}120121/** @name CumulusPalletXcmEvent */122export interface CumulusPalletXcmEvent extends Enum {123  readonly isInvalidFormat: boolean;124  readonly asInvalidFormat: U8aFixed;125  readonly isUnsupportedVersion: boolean;126  readonly asUnsupportedVersion: U8aFixed;127  readonly isExecutedDownward: boolean;128  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;129  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';130}131132/** @name CumulusPalletXcmpQueueCall */133export interface CumulusPalletXcmpQueueCall extends Enum {134  readonly isServiceOverweight: boolean;135  readonly asServiceOverweight: {136    readonly index: u64;137    readonly weightLimit: u64;138  } & Struct;139  readonly isSuspendXcmExecution: boolean;140  readonly isResumeXcmExecution: boolean;141  readonly isUpdateSuspendThreshold: boolean;142  readonly asUpdateSuspendThreshold: {143    readonly new_: u32;144  } & Struct;145  readonly isUpdateDropThreshold: boolean;146  readonly asUpdateDropThreshold: {147    readonly new_: u32;148  } & Struct;149  readonly isUpdateResumeThreshold: boolean;150  readonly asUpdateResumeThreshold: {151    readonly new_: u32;152  } & Struct;153  readonly isUpdateThresholdWeight: boolean;154  readonly asUpdateThresholdWeight: {155    readonly new_: u64;156  } & Struct;157  readonly isUpdateWeightRestrictDecay: boolean;158  readonly asUpdateWeightRestrictDecay: {159    readonly new_: u64;160  } & Struct;161  readonly isUpdateXcmpMaxIndividualWeight: boolean;162  readonly asUpdateXcmpMaxIndividualWeight: {163    readonly new_: u64;164  } & Struct;165  readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';166}167168/** @name CumulusPalletXcmpQueueError */169export interface CumulusPalletXcmpQueueError extends Enum {170  readonly isFailedToSend: boolean;171  readonly isBadXcmOrigin: boolean;172  readonly isBadXcm: boolean;173  readonly isBadOverweightIndex: boolean;174  readonly isWeightOverLimit: boolean;175  readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';176}177178/** @name CumulusPalletXcmpQueueEvent */179export interface CumulusPalletXcmpQueueEvent extends Enum {180  readonly isSuccess: boolean;181  readonly asSuccess: Option<H256>;182  readonly isFail: boolean;183  readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;184  readonly isBadVersion: boolean;185  readonly asBadVersion: Option<H256>;186  readonly isBadFormat: boolean;187  readonly asBadFormat: Option<H256>;188  readonly isUpwardMessageSent: boolean;189  readonly asUpwardMessageSent: Option<H256>;190  readonly isXcmpMessageSent: boolean;191  readonly asXcmpMessageSent: Option<H256>;192  readonly isOverweightEnqueued: boolean;193  readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;194  readonly isOverweightServiced: boolean;195  readonly asOverweightServiced: ITuple<[u64, u64]>;196  readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';197}198199/** @name CumulusPalletXcmpQueueInboundChannelDetails */200export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {201  readonly sender: u32;202  readonly state: CumulusPalletXcmpQueueInboundState;203  readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;204}205206/** @name CumulusPalletXcmpQueueInboundState */207export interface CumulusPalletXcmpQueueInboundState extends Enum {208  readonly isOk: boolean;209  readonly isSuspended: boolean;210  readonly type: 'Ok' | 'Suspended';211}212213/** @name CumulusPalletXcmpQueueOutboundChannelDetails */214export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {215  readonly recipient: u32;216  readonly state: CumulusPalletXcmpQueueOutboundState;217  readonly signalsExist: bool;218  readonly firstIndex: u16;219  readonly lastIndex: u16;220}221222/** @name CumulusPalletXcmpQueueOutboundState */223export interface CumulusPalletXcmpQueueOutboundState extends Enum {224  readonly isOk: boolean;225  readonly isSuspended: boolean;226  readonly type: 'Ok' | 'Suspended';227}228229/** @name CumulusPalletXcmpQueueQueueConfigData */230export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {231  readonly suspendThreshold: u32;232  readonly dropThreshold: u32;233  readonly resumeThreshold: u32;234  readonly thresholdWeight: u64;235  readonly weightRestrictDecay: u64;236  readonly xcmpMaxIndividualWeight: u64;237}238239/** @name CumulusPrimitivesParachainInherentParachainInherentData */240export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {241  readonly validationData: PolkadotPrimitivesV2PersistedValidationData;242  readonly relayChainState: SpTrieStorageProof;243  readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;244  readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;245}246247/** @name EthbloomBloom */248export interface EthbloomBloom extends U8aFixed {}249250/** @name EthereumBlock */251export interface EthereumBlock extends Struct {252  readonly header: EthereumHeader;253  readonly transactions: Vec<EthereumTransactionTransactionV2>;254  readonly ommers: Vec<EthereumHeader>;255}256257/** @name EthereumHeader */258export interface EthereumHeader extends Struct {259  readonly parentHash: H256;260  readonly ommersHash: H256;261  readonly beneficiary: H160;262  readonly stateRoot: H256;263  readonly transactionsRoot: H256;264  readonly receiptsRoot: H256;265  readonly logsBloom: EthbloomBloom;266  readonly difficulty: U256;267  readonly number: U256;268  readonly gasLimit: U256;269  readonly gasUsed: U256;270  readonly timestamp: u64;271  readonly extraData: Bytes;272  readonly mixHash: H256;273  readonly nonce: EthereumTypesHashH64;274}275276/** @name EthereumLog */277export interface EthereumLog extends Struct {278  readonly address: H160;279  readonly topics: Vec<H256>;280  readonly data: Bytes;281}282283/** @name EthereumReceiptEip658ReceiptData */284export interface EthereumReceiptEip658ReceiptData extends Struct {285  readonly statusCode: u8;286  readonly usedGas: U256;287  readonly logsBloom: EthbloomBloom;288  readonly logs: Vec<EthereumLog>;289}290291/** @name EthereumReceiptReceiptV3 */292export interface EthereumReceiptReceiptV3 extends Enum {293  readonly isLegacy: boolean;294  readonly asLegacy: EthereumReceiptEip658ReceiptData;295  readonly isEip2930: boolean;296  readonly asEip2930: EthereumReceiptEip658ReceiptData;297  readonly isEip1559: boolean;298  readonly asEip1559: EthereumReceiptEip658ReceiptData;299  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';300}301302/** @name EthereumTransactionAccessListItem */303export interface EthereumTransactionAccessListItem extends Struct {304  readonly address: H160;305  readonly storageKeys: Vec<H256>;306}307308/** @name EthereumTransactionEip1559Transaction */309export interface EthereumTransactionEip1559Transaction extends Struct {310  readonly chainId: u64;311  readonly nonce: U256;312  readonly maxPriorityFeePerGas: U256;313  readonly maxFeePerGas: U256;314  readonly gasLimit: U256;315  readonly action: EthereumTransactionTransactionAction;316  readonly value: U256;317  readonly input: Bytes;318  readonly accessList: Vec<EthereumTransactionAccessListItem>;319  readonly oddYParity: bool;320  readonly r: H256;321  readonly s: H256;322}323324/** @name EthereumTransactionEip2930Transaction */325export interface EthereumTransactionEip2930Transaction extends Struct {326  readonly chainId: u64;327  readonly nonce: U256;328  readonly gasPrice: U256;329  readonly gasLimit: U256;330  readonly action: EthereumTransactionTransactionAction;331  readonly value: U256;332  readonly input: Bytes;333  readonly accessList: Vec<EthereumTransactionAccessListItem>;334  readonly oddYParity: bool;335  readonly r: H256;336  readonly s: H256;337}338339/** @name EthereumTransactionLegacyTransaction */340export interface EthereumTransactionLegacyTransaction extends Struct {341  readonly nonce: U256;342  readonly gasPrice: U256;343  readonly gasLimit: U256;344  readonly action: EthereumTransactionTransactionAction;345  readonly value: U256;346  readonly input: Bytes;347  readonly signature: EthereumTransactionTransactionSignature;348}349350/** @name EthereumTransactionTransactionAction */351export interface EthereumTransactionTransactionAction extends Enum {352  readonly isCall: boolean;353  readonly asCall: H160;354  readonly isCreate: boolean;355  readonly type: 'Call' | 'Create';356}357358/** @name EthereumTransactionTransactionSignature */359export interface EthereumTransactionTransactionSignature extends Struct {360  readonly v: u64;361  readonly r: H256;362  readonly s: H256;363}364365/** @name EthereumTransactionTransactionV2 */366export interface EthereumTransactionTransactionV2 extends Enum {367  readonly isLegacy: boolean;368  readonly asLegacy: EthereumTransactionLegacyTransaction;369  readonly isEip2930: boolean;370  readonly asEip2930: EthereumTransactionEip2930Transaction;371  readonly isEip1559: boolean;372  readonly asEip1559: EthereumTransactionEip1559Transaction;373  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';374}375376/** @name EthereumTypesHashH64 */377export interface EthereumTypesHashH64 extends U8aFixed {}378379/** @name EvmCoreErrorExitError */380export interface EvmCoreErrorExitError extends Enum {381  readonly isStackUnderflow: boolean;382  readonly isStackOverflow: boolean;383  readonly isInvalidJump: boolean;384  readonly isInvalidRange: boolean;385  readonly isDesignatedInvalid: boolean;386  readonly isCallTooDeep: boolean;387  readonly isCreateCollision: boolean;388  readonly isCreateContractLimit: boolean;389  readonly isOutOfOffset: boolean;390  readonly isOutOfGas: boolean;391  readonly isOutOfFund: boolean;392  readonly isPcUnderflow: boolean;393  readonly isCreateEmpty: boolean;394  readonly isOther: boolean;395  readonly asOther: Text;396  readonly isInvalidCode: boolean;397  readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';398}399400/** @name EvmCoreErrorExitFatal */401export interface EvmCoreErrorExitFatal extends Enum {402  readonly isNotSupported: boolean;403  readonly isUnhandledInterrupt: boolean;404  readonly isCallErrorAsFatal: boolean;405  readonly asCallErrorAsFatal: EvmCoreErrorExitError;406  readonly isOther: boolean;407  readonly asOther: Text;408  readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';409}410411/** @name EvmCoreErrorExitReason */412export interface EvmCoreErrorExitReason extends Enum {413  readonly isSucceed: boolean;414  readonly asSucceed: EvmCoreErrorExitSucceed;415  readonly isError: boolean;416  readonly asError: EvmCoreErrorExitError;417  readonly isRevert: boolean;418  readonly asRevert: EvmCoreErrorExitRevert;419  readonly isFatal: boolean;420  readonly asFatal: EvmCoreErrorExitFatal;421  readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';422}423424/** @name EvmCoreErrorExitRevert */425export interface EvmCoreErrorExitRevert extends Enum {426  readonly isReverted: boolean;427  readonly type: 'Reverted';428}429430/** @name EvmCoreErrorExitSucceed */431export interface EvmCoreErrorExitSucceed extends Enum {432  readonly isStopped: boolean;433  readonly isReturned: boolean;434  readonly isSuicided: boolean;435  readonly type: 'Stopped' | 'Returned' | 'Suicided';436}437438/** @name FpRpcTransactionStatus */439export interface FpRpcTransactionStatus extends Struct {440  readonly transactionHash: H256;441  readonly transactionIndex: u32;442  readonly from: H160;443  readonly to: Option<H160>;444  readonly contractAddress: Option<H160>;445  readonly logs: Vec<EthereumLog>;446  readonly logsBloom: EthbloomBloom;447}448449/** @name FrameSupportPalletId */450export interface FrameSupportPalletId extends U8aFixed {}451452/** @name FrameSupportStorageBoundedBTreeSet */453export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}454455/** @name FrameSupportTokensMiscBalanceStatus */456export interface FrameSupportTokensMiscBalanceStatus extends Enum {457  readonly isFree: boolean;458  readonly isReserved: boolean;459  readonly type: 'Free' | 'Reserved';460}461462/** @name FrameSupportWeightsDispatchClass */463export interface FrameSupportWeightsDispatchClass extends Enum {464  readonly isNormal: boolean;465  readonly isOperational: boolean;466  readonly isMandatory: boolean;467  readonly type: 'Normal' | 'Operational' | 'Mandatory';468}469470/** @name FrameSupportWeightsDispatchInfo */471export interface FrameSupportWeightsDispatchInfo extends Struct {472  readonly weight: u64;473  readonly class: FrameSupportWeightsDispatchClass;474  readonly paysFee: FrameSupportWeightsPays;475}476477/** @name FrameSupportWeightsPays */478export interface FrameSupportWeightsPays extends Enum {479  readonly isYes: boolean;480  readonly isNo: boolean;481  readonly type: 'Yes' | 'No';482}483484/** @name FrameSupportWeightsPerDispatchClassU32 */485export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {486  readonly normal: u32;487  readonly operational: u32;488  readonly mandatory: u32;489}490491/** @name FrameSupportWeightsPerDispatchClassU64 */492export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {493  readonly normal: u64;494  readonly operational: u64;495  readonly mandatory: u64;496}497498/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */499export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {500  readonly normal: FrameSystemLimitsWeightsPerClass;501  readonly operational: FrameSystemLimitsWeightsPerClass;502  readonly mandatory: FrameSystemLimitsWeightsPerClass;503}504505/** @name FrameSupportWeightsRuntimeDbWeight */506export interface FrameSupportWeightsRuntimeDbWeight extends Struct {507  readonly read: u64;508  readonly write: u64;509}510511/** @name FrameSupportWeightsWeightToFeeCoefficient */512export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {513  readonly coeffInteger: u128;514  readonly coeffFrac: Perbill;515  readonly negative: bool;516  readonly degree: u8;517}518519/** @name FrameSystemAccountInfo */520export interface FrameSystemAccountInfo extends Struct {521  readonly nonce: u32;522  readonly consumers: u32;523  readonly providers: u32;524  readonly sufficients: u32;525  readonly data: PalletBalancesAccountData;526}527528/** @name FrameSystemCall */529export interface FrameSystemCall extends Enum {530  readonly isFillBlock: boolean;531  readonly asFillBlock: {532    readonly ratio: Perbill;533  } & Struct;534  readonly isRemark: boolean;535  readonly asRemark: {536    readonly remark: Bytes;537  } & Struct;538  readonly isSetHeapPages: boolean;539  readonly asSetHeapPages: {540    readonly pages: u64;541  } & Struct;542  readonly isSetCode: boolean;543  readonly asSetCode: {544    readonly code: Bytes;545  } & Struct;546  readonly isSetCodeWithoutChecks: boolean;547  readonly asSetCodeWithoutChecks: {548    readonly code: Bytes;549  } & Struct;550  readonly isSetStorage: boolean;551  readonly asSetStorage: {552    readonly items: Vec<ITuple<[Bytes, Bytes]>>;553  } & Struct;554  readonly isKillStorage: boolean;555  readonly asKillStorage: {556    readonly keys_: Vec<Bytes>;557  } & Struct;558  readonly isKillPrefix: boolean;559  readonly asKillPrefix: {560    readonly prefix: Bytes;561    readonly subkeys: u32;562  } & Struct;563  readonly isRemarkWithEvent: boolean;564  readonly asRemarkWithEvent: {565    readonly remark: Bytes;566  } & Struct;567  readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';568}569570/** @name FrameSystemError */571export interface FrameSystemError extends Enum {572  readonly isInvalidSpecName: boolean;573  readonly isSpecVersionNeedsToIncrease: boolean;574  readonly isFailedToExtractRuntimeVersion: boolean;575  readonly isNonDefaultComposite: boolean;576  readonly isNonZeroRefCount: boolean;577  readonly isCallFiltered: boolean;578  readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';579}580581/** @name FrameSystemEvent */582export interface FrameSystemEvent extends Enum {583  readonly isExtrinsicSuccess: boolean;584  readonly asExtrinsicSuccess: {585    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;586  } & Struct;587  readonly isExtrinsicFailed: boolean;588  readonly asExtrinsicFailed: {589    readonly dispatchError: SpRuntimeDispatchError;590    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;591  } & Struct;592  readonly isCodeUpdated: boolean;593  readonly isNewAccount: boolean;594  readonly asNewAccount: {595    readonly account: AccountId32;596  } & Struct;597  readonly isKilledAccount: boolean;598  readonly asKilledAccount: {599    readonly account: AccountId32;600  } & Struct;601  readonly isRemarked: boolean;602  readonly asRemarked: {603    readonly sender: AccountId32;604    readonly hash_: H256;605  } & Struct;606  readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';607}608609/** @name FrameSystemEventRecord */610export interface FrameSystemEventRecord extends Struct {611  readonly phase: FrameSystemPhase;612  readonly event: Event;613  readonly topics: Vec<H256>;614}615616/** @name FrameSystemExtensionsCheckGenesis */617export interface FrameSystemExtensionsCheckGenesis extends Null {}618619/** @name FrameSystemExtensionsCheckNonce */620export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}621622/** @name FrameSystemExtensionsCheckSpecVersion */623export interface FrameSystemExtensionsCheckSpecVersion extends Null {}624625/** @name FrameSystemExtensionsCheckWeight */626export interface FrameSystemExtensionsCheckWeight extends Null {}627628/** @name FrameSystemLastRuntimeUpgradeInfo */629export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {630  readonly specVersion: Compact<u32>;631  readonly specName: Text;632}633634/** @name FrameSystemLimitsBlockLength */635export interface FrameSystemLimitsBlockLength extends Struct {636  readonly max: FrameSupportWeightsPerDispatchClassU32;637}638639/** @name FrameSystemLimitsBlockWeights */640export interface FrameSystemLimitsBlockWeights extends Struct {641  readonly baseBlock: u64;642  readonly maxBlock: u64;643  readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;644}645646/** @name FrameSystemLimitsWeightsPerClass */647export interface FrameSystemLimitsWeightsPerClass extends Struct {648  readonly baseExtrinsic: u64;649  readonly maxExtrinsic: Option<u64>;650  readonly maxTotal: Option<u64>;651  readonly reserved: Option<u64>;652}653654/** @name FrameSystemPhase */655export interface FrameSystemPhase extends Enum {656  readonly isApplyExtrinsic: boolean;657  readonly asApplyExtrinsic: u32;658  readonly isFinalization: boolean;659  readonly isInitialization: boolean;660  readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';661}662663/** @name OpalRuntimeRuntime */664export interface OpalRuntimeRuntime extends Null {}665666/** @name OrmlVestingModuleCall */667export interface OrmlVestingModuleCall extends Enum {668  readonly isClaim: boolean;669  readonly isVestedTransfer: boolean;670  readonly asVestedTransfer: {671    readonly dest: MultiAddress;672    readonly schedule: OrmlVestingVestingSchedule;673  } & Struct;674  readonly isUpdateVestingSchedules: boolean;675  readonly asUpdateVestingSchedules: {676    readonly who: MultiAddress;677    readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;678  } & Struct;679  readonly isClaimFor: boolean;680  readonly asClaimFor: {681    readonly dest: MultiAddress;682  } & Struct;683  readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';684}685686/** @name OrmlVestingModuleError */687export interface OrmlVestingModuleError extends Enum {688  readonly isZeroVestingPeriod: boolean;689  readonly isZeroVestingPeriodCount: boolean;690  readonly isInsufficientBalanceToLock: boolean;691  readonly isTooManyVestingSchedules: boolean;692  readonly isAmountLow: boolean;693  readonly isMaxVestingSchedulesExceeded: boolean;694  readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';695}696697/** @name OrmlVestingModuleEvent */698export interface OrmlVestingModuleEvent extends Enum {699  readonly isVestingScheduleAdded: boolean;700  readonly asVestingScheduleAdded: {701    readonly from: AccountId32;702    readonly to: AccountId32;703    readonly vestingSchedule: OrmlVestingVestingSchedule;704  } & Struct;705  readonly isClaimed: boolean;706  readonly asClaimed: {707    readonly who: AccountId32;708    readonly amount: u128;709  } & Struct;710  readonly isVestingSchedulesUpdated: boolean;711  readonly asVestingSchedulesUpdated: {712    readonly who: AccountId32;713  } & Struct;714  readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';715}716717/** @name OrmlVestingVestingSchedule */718export interface OrmlVestingVestingSchedule extends Struct {719  readonly start: u32;720  readonly period: u32;721  readonly periodCount: u32;722  readonly perPeriod: Compact<u128>;723}724725/** @name PalletBalancesAccountData */726export interface PalletBalancesAccountData extends Struct {727  readonly free: u128;728  readonly reserved: u128;729  readonly miscFrozen: u128;730  readonly feeFrozen: u128;731}732733/** @name PalletBalancesBalanceLock */734export interface PalletBalancesBalanceLock extends Struct {735  readonly id: U8aFixed;736  readonly amount: u128;737  readonly reasons: PalletBalancesReasons;738}739740/** @name PalletBalancesCall */741export interface PalletBalancesCall extends Enum {742  readonly isTransfer: boolean;743  readonly asTransfer: {744    readonly dest: MultiAddress;745    readonly value: Compact<u128>;746  } & Struct;747  readonly isSetBalance: boolean;748  readonly asSetBalance: {749    readonly who: MultiAddress;750    readonly newFree: Compact<u128>;751    readonly newReserved: Compact<u128>;752  } & Struct;753  readonly isForceTransfer: boolean;754  readonly asForceTransfer: {755    readonly source: MultiAddress;756    readonly dest: MultiAddress;757    readonly value: Compact<u128>;758  } & Struct;759  readonly isTransferKeepAlive: boolean;760  readonly asTransferKeepAlive: {761    readonly dest: MultiAddress;762    readonly value: Compact<u128>;763  } & Struct;764  readonly isTransferAll: boolean;765  readonly asTransferAll: {766    readonly dest: MultiAddress;767    readonly keepAlive: bool;768  } & Struct;769  readonly isForceUnreserve: boolean;770  readonly asForceUnreserve: {771    readonly who: MultiAddress;772    readonly amount: u128;773  } & Struct;774  readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';775}776777/** @name PalletBalancesError */778export interface PalletBalancesError extends Enum {779  readonly isVestingBalance: boolean;780  readonly isLiquidityRestrictions: boolean;781  readonly isInsufficientBalance: boolean;782  readonly isExistentialDeposit: boolean;783  readonly isKeepAlive: boolean;784  readonly isExistingVestingSchedule: boolean;785  readonly isDeadAccount: boolean;786  readonly isTooManyReserves: boolean;787  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';788}789790/** @name PalletBalancesEvent */791export interface PalletBalancesEvent extends Enum {792  readonly isEndowed: boolean;793  readonly asEndowed: {794    readonly account: AccountId32;795    readonly freeBalance: u128;796  } & Struct;797  readonly isDustLost: boolean;798  readonly asDustLost: {799    readonly account: AccountId32;800    readonly amount: u128;801  } & Struct;802  readonly isTransfer: boolean;803  readonly asTransfer: {804    readonly from: AccountId32;805    readonly to: AccountId32;806    readonly amount: u128;807  } & Struct;808  readonly isBalanceSet: boolean;809  readonly asBalanceSet: {810    readonly who: AccountId32;811    readonly free: u128;812    readonly reserved: u128;813  } & Struct;814  readonly isReserved: boolean;815  readonly asReserved: {816    readonly who: AccountId32;817    readonly amount: u128;818  } & Struct;819  readonly isUnreserved: boolean;820  readonly asUnreserved: {821    readonly who: AccountId32;822    readonly amount: u128;823  } & Struct;824  readonly isReserveRepatriated: boolean;825  readonly asReserveRepatriated: {826    readonly from: AccountId32;827    readonly to: AccountId32;828    readonly amount: u128;829    readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;830  } & Struct;831  readonly isDeposit: boolean;832  readonly asDeposit: {833    readonly who: AccountId32;834    readonly amount: u128;835  } & Struct;836  readonly isWithdraw: boolean;837  readonly asWithdraw: {838    readonly who: AccountId32;839    readonly amount: u128;840  } & Struct;841  readonly isSlashed: boolean;842  readonly asSlashed: {843    readonly who: AccountId32;844    readonly amount: u128;845  } & Struct;846  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';847}848849/** @name PalletBalancesReasons */850export interface PalletBalancesReasons extends Enum {851  readonly isFee: boolean;852  readonly isMisc: boolean;853  readonly isAll: boolean;854  readonly type: 'Fee' | 'Misc' | 'All';855}856857/** @name PalletBalancesReleases */858export interface PalletBalancesReleases extends Enum {859  readonly isV100: boolean;860  readonly isV200: boolean;861  readonly type: 'V100' | 'V200';862}863864/** @name PalletBalancesReserveData */865export interface PalletBalancesReserveData extends Struct {866  readonly id: U8aFixed;867  readonly amount: u128;868}869870/** @name PalletCommonError */871export interface PalletCommonError extends Enum {872  readonly isCollectionNotFound: boolean;873  readonly isMustBeTokenOwner: boolean;874  readonly isNoPermission: boolean;875  readonly isPublicMintingNotAllowed: boolean;876  readonly isAddressNotInAllowlist: boolean;877  readonly isCollectionNameLimitExceeded: boolean;878  readonly isCollectionDescriptionLimitExceeded: boolean;879  readonly isCollectionTokenPrefixLimitExceeded: boolean;880  readonly isTotalCollectionsLimitExceeded: boolean;881  readonly isTokenVariableDataLimitExceeded: boolean;882  readonly isCollectionAdminCountExceeded: boolean;883  readonly isCollectionLimitBoundsExceeded: boolean;884  readonly isOwnerPermissionsCantBeReverted: boolean;885  readonly isTransferNotAllowed: boolean;886  readonly isAccountTokenLimitExceeded: boolean;887  readonly isCollectionTokenLimitExceeded: boolean;888  readonly isMetadataFlagFrozen: boolean;889  readonly isTokenNotFound: boolean;890  readonly isTokenValueTooLow: boolean;891  readonly isApprovedValueTooLow: boolean;892  readonly isCantApproveMoreThanOwned: boolean;893  readonly isAddressIsZero: boolean;894  readonly isUnsupportedOperation: boolean;895  readonly isNotSufficientFounds: boolean;896  readonly isNestingIsDisabled: boolean;897  readonly isOnlyOwnerAllowedToNest: boolean;898  readonly isSourceCollectionIsNotAllowedToNest: boolean;899  readonly isCollectionFieldSizeExceeded: boolean;900  readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded';901}902903/** @name PalletCommonEvent */904export interface PalletCommonEvent extends Enum {905  readonly isCollectionCreated: boolean;906  readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;907  readonly isCollectionDestroyed: boolean;908  readonly asCollectionDestroyed: u32;909  readonly isItemCreated: boolean;910  readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;911  readonly isItemDestroyed: boolean;912  readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;913  readonly isTransfer: boolean;914  readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;915  readonly isApproved: boolean;916  readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;917  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';918}919920/** @name PalletEthereumCall */921export interface PalletEthereumCall extends Enum {922  readonly isTransact: boolean;923  readonly asTransact: {924    readonly transaction: EthereumTransactionTransactionV2;925  } & Struct;926  readonly type: 'Transact';927}928929/** @name PalletEthereumError */930export interface PalletEthereumError extends Enum {931  readonly isInvalidSignature: boolean;932  readonly isPreLogExists: boolean;933  readonly type: 'InvalidSignature' | 'PreLogExists';934}935936/** @name PalletEthereumEvent */937export interface PalletEthereumEvent extends Enum {938  readonly isExecuted: boolean;939  readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;940  readonly type: 'Executed';941}942943/** @name PalletEvmAccountBasicCrossAccountIdRepr */944export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {945  readonly isSubstrate: boolean;946  readonly asSubstrate: AccountId32;947  readonly isEthereum: boolean;948  readonly asEthereum: H160;949  readonly type: 'Substrate' | 'Ethereum';950}951952/** @name PalletEvmCall */953export interface PalletEvmCall extends Enum {954  readonly isWithdraw: boolean;955  readonly asWithdraw: {956    readonly address: H160;957    readonly value: u128;958  } & Struct;959  readonly isCall: boolean;960  readonly asCall: {961    readonly source: H160;962    readonly target: H160;963    readonly input: Bytes;964    readonly value: U256;965    readonly gasLimit: u64;966    readonly maxFeePerGas: U256;967    readonly maxPriorityFeePerGas: Option<U256>;968    readonly nonce: Option<U256>;969    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;970  } & Struct;971  readonly isCreate: boolean;972  readonly asCreate: {973    readonly source: H160;974    readonly init: Bytes;975    readonly value: U256;976    readonly gasLimit: u64;977    readonly maxFeePerGas: U256;978    readonly maxPriorityFeePerGas: Option<U256>;979    readonly nonce: Option<U256>;980    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;981  } & Struct;982  readonly isCreate2: boolean;983  readonly asCreate2: {984    readonly source: H160;985    readonly init: Bytes;986    readonly salt: H256;987    readonly value: U256;988    readonly gasLimit: u64;989    readonly maxFeePerGas: U256;990    readonly maxPriorityFeePerGas: Option<U256>;991    readonly nonce: Option<U256>;992    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;993  } & Struct;994  readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';995}996997/** @name PalletEvmCoderSubstrateError */998export interface PalletEvmCoderSubstrateError extends Enum {999  readonly isOutOfGas: boolean;1000  readonly isOutOfFund: boolean;1001  readonly type: 'OutOfGas' | 'OutOfFund';1002}10031004/** @name PalletEvmContractHelpersError */1005export interface PalletEvmContractHelpersError extends Enum {1006  readonly isNoPermission: boolean;1007  readonly type: 'NoPermission';1008}10091010/** @name PalletEvmContractHelpersSponsoringModeT */1011export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1012  readonly isDisabled: boolean;1013  readonly isAllowlisted: boolean;1014  readonly isGenerous: boolean;1015  readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1016}10171018/** @name PalletEvmError */1019export interface PalletEvmError extends Enum {1020  readonly isBalanceLow: boolean;1021  readonly isFeeOverflow: boolean;1022  readonly isPaymentOverflow: boolean;1023  readonly isWithdrawFailed: boolean;1024  readonly isGasPriceTooLow: boolean;1025  readonly isInvalidNonce: boolean;1026  readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1027}10281029/** @name PalletEvmEvent */1030export interface PalletEvmEvent extends Enum {1031  readonly isLog: boolean;1032  readonly asLog: EthereumLog;1033  readonly isCreated: boolean;1034  readonly asCreated: H160;1035  readonly isCreatedFailed: boolean;1036  readonly asCreatedFailed: H160;1037  readonly isExecuted: boolean;1038  readonly asExecuted: H160;1039  readonly isExecutedFailed: boolean;1040  readonly asExecutedFailed: H160;1041  readonly isBalanceDeposit: boolean;1042  readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1043  readonly isBalanceWithdraw: boolean;1044  readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1045  readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1046}10471048/** @name PalletEvmMigrationCall */1049export interface PalletEvmMigrationCall extends Enum {1050  readonly isBegin: boolean;1051  readonly asBegin: {1052    readonly address: H160;1053  } & Struct;1054  readonly isSetData: boolean;1055  readonly asSetData: {1056    readonly address: H160;1057    readonly data: Vec<ITuple<[H256, H256]>>;1058  } & Struct;1059  readonly isFinish: boolean;1060  readonly asFinish: {1061    readonly address: H160;1062    readonly code: Bytes;1063  } & Struct;1064  readonly type: 'Begin' | 'SetData' | 'Finish';1065}10661067/** @name PalletEvmMigrationError */1068export interface PalletEvmMigrationError extends Enum {1069  readonly isAccountNotEmpty: boolean;1070  readonly isAccountIsNotMigrating: boolean;1071  readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1072}10731074/** @name PalletFungibleError */1075export interface PalletFungibleError extends Enum {1076  readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1077  readonly isFungibleItemsHaveNoId: boolean;1078  readonly isFungibleItemsDontHaveData: boolean;1079  readonly isFungibleDisallowsNesting: boolean;1080  readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting';1081}10821083/** @name PalletInflationCall */1084export interface PalletInflationCall extends Enum {1085  readonly isStartInflation: boolean;1086  readonly asStartInflation: {1087    readonly inflationStartRelayBlock: u32;1088  } & Struct;1089  readonly type: 'StartInflation';1090}10911092/** @name PalletNonfungibleError */1093export interface PalletNonfungibleError extends Enum {1094  readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1095  readonly isNonfungibleItemsHaveNoAmount: boolean;1096  readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1097}10981099/** @name PalletNonfungibleItemData */1100export interface PalletNonfungibleItemData extends Struct {1101  readonly constData: Bytes;1102  readonly variableData: Bytes;1103  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1104}11051106/** @name PalletRefungibleError */1107export interface PalletRefungibleError extends Enum {1108  readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1109  readonly isWrongRefungiblePieces: boolean;1110  readonly isRefungibleDisallowsNesting: boolean;1111  readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting';1112}11131114/** @name PalletRefungibleItemData */1115export interface PalletRefungibleItemData extends Struct {1116  readonly constData: Bytes;1117  readonly variableData: Bytes;1118}11191120/** @name PalletStructureCall */1121export interface PalletStructureCall extends Null {}11221123/** @name PalletStructureError */1124export interface PalletStructureError extends Enum {1125  readonly isOuroborosDetected: boolean;1126  readonly isDepthLimit: boolean;1127  readonly isTokenNotFound: boolean;1128  readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1129}11301131/** @name PalletStructureEvent */1132export interface PalletStructureEvent extends Enum {1133  readonly isExecuted: boolean;1134  readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1135  readonly type: 'Executed';1136}11371138/** @name PalletSudoCall */1139export interface PalletSudoCall extends Enum {1140  readonly isSudo: boolean;1141  readonly asSudo: {1142    readonly call: Call;1143  } & Struct;1144  readonly isSudoUncheckedWeight: boolean;1145  readonly asSudoUncheckedWeight: {1146    readonly call: Call;1147    readonly weight: u64;1148  } & Struct;1149  readonly isSetKey: boolean;1150  readonly asSetKey: {1151    readonly new_: MultiAddress;1152  } & Struct;1153  readonly isSudoAs: boolean;1154  readonly asSudoAs: {1155    readonly who: MultiAddress;1156    readonly call: Call;1157  } & Struct;1158  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1159}11601161/** @name PalletSudoError */1162export interface PalletSudoError extends Enum {1163  readonly isRequireSudo: boolean;1164  readonly type: 'RequireSudo';1165}11661167/** @name PalletSudoEvent */1168export interface PalletSudoEvent extends Enum {1169  readonly isSudid: boolean;1170  readonly asSudid: {1171    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1172  } & Struct;1173  readonly isKeyChanged: boolean;1174  readonly asKeyChanged: {1175    readonly oldSudoer: Option<AccountId32>;1176  } & Struct;1177  readonly isSudoAsDone: boolean;1178  readonly asSudoAsDone: {1179    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1180  } & Struct;1181  readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1182}11831184/** @name PalletTemplateTransactionPaymentCall */1185export interface PalletTemplateTransactionPaymentCall extends Null {}11861187/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1188export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}11891190/** @name PalletTimestampCall */1191export interface PalletTimestampCall extends Enum {1192  readonly isSet: boolean;1193  readonly asSet: {1194    readonly now: Compact<u64>;1195  } & Struct;1196  readonly type: 'Set';1197}11981199/** @name PalletTransactionPaymentReleases */1200export interface PalletTransactionPaymentReleases extends Enum {1201  readonly isV1Ancient: boolean;1202  readonly isV2: boolean;1203  readonly type: 'V1Ancient' | 'V2';1204}12051206/** @name PalletTreasuryCall */1207export interface PalletTreasuryCall extends Enum {1208  readonly isProposeSpend: boolean;1209  readonly asProposeSpend: {1210    readonly value: Compact<u128>;1211    readonly beneficiary: MultiAddress;1212  } & Struct;1213  readonly isRejectProposal: boolean;1214  readonly asRejectProposal: {1215    readonly proposalId: Compact<u32>;1216  } & Struct;1217  readonly isApproveProposal: boolean;1218  readonly asApproveProposal: {1219    readonly proposalId: Compact<u32>;1220  } & Struct;1221  readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1222}12231224/** @name PalletTreasuryError */1225export interface PalletTreasuryError extends Enum {1226  readonly isInsufficientProposersBalance: boolean;1227  readonly isInvalidIndex: boolean;1228  readonly isTooManyApprovals: boolean;1229  readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1230}12311232/** @name PalletTreasuryEvent */1233export interface PalletTreasuryEvent extends Enum {1234  readonly isProposed: boolean;1235  readonly asProposed: {1236    readonly proposalIndex: u32;1237  } & Struct;1238  readonly isSpending: boolean;1239  readonly asSpending: {1240    readonly budgetRemaining: u128;1241  } & Struct;1242  readonly isAwarded: boolean;1243  readonly asAwarded: {1244    readonly proposalIndex: u32;1245    readonly award: u128;1246    readonly account: AccountId32;1247  } & Struct;1248  readonly isRejected: boolean;1249  readonly asRejected: {1250    readonly proposalIndex: u32;1251    readonly slashed: u128;1252  } & Struct;1253  readonly isBurnt: boolean;1254  readonly asBurnt: {1255    readonly burntFunds: u128;1256  } & Struct;1257  readonly isRollover: boolean;1258  readonly asRollover: {1259    readonly rolloverBalance: u128;1260  } & Struct;1261  readonly isDeposit: boolean;1262  readonly asDeposit: {1263    readonly value: u128;1264  } & Struct;1265  readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1266}12671268/** @name PalletTreasuryProposal */1269export interface PalletTreasuryProposal extends Struct {1270  readonly proposer: AccountId32;1271  readonly value: u128;1272  readonly beneficiary: AccountId32;1273  readonly bond: u128;1274}12751276/** @name PalletUniqueCall */1277export interface PalletUniqueCall extends Enum {1278  readonly isCreateCollection: boolean;1279  readonly asCreateCollection: {1280    readonly collectionName: Vec<u16>;1281    readonly collectionDescription: Vec<u16>;1282    readonly tokenPrefix: Bytes;1283    readonly mode: UpDataStructsCollectionMode;1284  } & Struct;1285  readonly isCreateCollectionEx: boolean;1286  readonly asCreateCollectionEx: {1287    readonly data: UpDataStructsCreateCollectionData;1288  } & Struct;1289  readonly isDestroyCollection: boolean;1290  readonly asDestroyCollection: {1291    readonly collectionId: u32;1292  } & Struct;1293  readonly isAddToAllowList: boolean;1294  readonly asAddToAllowList: {1295    readonly collectionId: u32;1296    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1297  } & Struct;1298  readonly isRemoveFromAllowList: boolean;1299  readonly asRemoveFromAllowList: {1300    readonly collectionId: u32;1301    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1302  } & Struct;1303  readonly isSetPublicAccessMode: boolean;1304  readonly asSetPublicAccessMode: {1305    readonly collectionId: u32;1306    readonly mode: UpDataStructsAccessMode;1307  } & Struct;1308  readonly isSetMintPermission: boolean;1309  readonly asSetMintPermission: {1310    readonly collectionId: u32;1311    readonly mintPermission: bool;1312  } & Struct;1313  readonly isChangeCollectionOwner: boolean;1314  readonly asChangeCollectionOwner: {1315    readonly collectionId: u32;1316    readonly newOwner: AccountId32;1317  } & Struct;1318  readonly isAddCollectionAdmin: boolean;1319  readonly asAddCollectionAdmin: {1320    readonly collectionId: u32;1321    readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1322  } & Struct;1323  readonly isRemoveCollectionAdmin: boolean;1324  readonly asRemoveCollectionAdmin: {1325    readonly collectionId: u32;1326    readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1327  } & Struct;1328  readonly isSetCollectionSponsor: boolean;1329  readonly asSetCollectionSponsor: {1330    readonly collectionId: u32;1331    readonly newSponsor: AccountId32;1332  } & Struct;1333  readonly isConfirmSponsorship: boolean;1334  readonly asConfirmSponsorship: {1335    readonly collectionId: u32;1336  } & Struct;1337  readonly isRemoveCollectionSponsor: boolean;1338  readonly asRemoveCollectionSponsor: {1339    readonly collectionId: u32;1340  } & Struct;1341  readonly isCreateItem: boolean;1342  readonly asCreateItem: {1343    readonly collectionId: u32;1344    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1345    readonly data: UpDataStructsCreateItemData;1346  } & Struct;1347  readonly isCreateMultipleItems: boolean;1348  readonly asCreateMultipleItems: {1349    readonly collectionId: u32;1350    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1351    readonly itemsData: Vec<UpDataStructsCreateItemData>;1352  } & Struct;1353  readonly isCreateMultipleItemsEx: boolean;1354  readonly asCreateMultipleItemsEx: {1355    readonly collectionId: u32;1356    readonly data: UpDataStructsCreateItemExData;1357  } & Struct;1358  readonly isSetTransfersEnabledFlag: boolean;1359  readonly asSetTransfersEnabledFlag: {1360    readonly collectionId: u32;1361    readonly value: bool;1362  } & Struct;1363  readonly isBurnItem: boolean;1364  readonly asBurnItem: {1365    readonly collectionId: u32;1366    readonly itemId: u32;1367    readonly value: u128;1368  } & Struct;1369  readonly isBurnFrom: boolean;1370  readonly asBurnFrom: {1371    readonly collectionId: u32;1372    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1373    readonly itemId: u32;1374    readonly value: u128;1375  } & Struct;1376  readonly isTransfer: boolean;1377  readonly asTransfer: {1378    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1379    readonly collectionId: u32;1380    readonly itemId: u32;1381    readonly value: u128;1382  } & Struct;1383  readonly isApprove: boolean;1384  readonly asApprove: {1385    readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1386    readonly collectionId: u32;1387    readonly itemId: u32;1388    readonly amount: u128;1389  } & Struct;1390  readonly isTransferFrom: boolean;1391  readonly asTransferFrom: {1392    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1393    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1394    readonly collectionId: u32;1395    readonly itemId: u32;1396    readonly value: u128;1397  } & Struct;1398  readonly isSetVariableMetaData: boolean;1399  readonly asSetVariableMetaData: {1400    readonly collectionId: u32;1401    readonly itemId: u32;1402    readonly data: Bytes;1403  } & Struct;1404  readonly isSetMetaUpdatePermissionFlag: boolean;1405  readonly asSetMetaUpdatePermissionFlag: {1406    readonly collectionId: u32;1407    readonly value: UpDataStructsMetaUpdatePermission;1408  } & Struct;1409  readonly isSetSchemaVersion: boolean;1410  readonly asSetSchemaVersion: {1411    readonly collectionId: u32;1412    readonly version: UpDataStructsSchemaVersion;1413  } & Struct;1414  readonly isSetOffchainSchema: boolean;1415  readonly asSetOffchainSchema: {1416    readonly collectionId: u32;1417    readonly schema: Bytes;1418  } & Struct;1419  readonly isSetConstOnChainSchema: boolean;1420  readonly asSetConstOnChainSchema: {1421    readonly collectionId: u32;1422    readonly schema: Bytes;1423  } & Struct;1424  readonly isSetVariableOnChainSchema: boolean;1425  readonly asSetVariableOnChainSchema: {1426    readonly collectionId: u32;1427    readonly schema: Bytes;1428  } & Struct;1429  readonly isSetCollectionLimits: boolean;1430  readonly asSetCollectionLimits: {1431    readonly collectionId: u32;1432    readonly newLimit: UpDataStructsCollectionLimitsVersion2;1433  } & Struct;1434  readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1435}14361437/** @name PalletUniqueError */1438export interface PalletUniqueError extends Enum {1439  readonly isCollectionDecimalPointLimitExceeded: boolean;1440  readonly isConfirmUnsetSponsorFail: boolean;1441  readonly isEmptyArgument: boolean;1442  readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1443}14441445/** @name PalletUniqueRawEvent */1446export interface PalletUniqueRawEvent extends Enum {1447  readonly isCollectionSponsorRemoved: boolean;1448  readonly asCollectionSponsorRemoved: u32;1449  readonly isCollectionAdminAdded: boolean;1450  readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1451  readonly isCollectionOwnedChanged: boolean;1452  readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1453  readonly isCollectionSponsorSet: boolean;1454  readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1455  readonly isConstOnChainSchemaSet: boolean;1456  readonly asConstOnChainSchemaSet: u32;1457  readonly isSponsorshipConfirmed: boolean;1458  readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1459  readonly isCollectionAdminRemoved: boolean;1460  readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1461  readonly isAllowListAddressRemoved: boolean;1462  readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1463  readonly isAllowListAddressAdded: boolean;1464  readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1465  readonly isCollectionLimitSet: boolean;1466  readonly asCollectionLimitSet: u32;1467  readonly isMintPermissionSet: boolean;1468  readonly asMintPermissionSet: u32;1469  readonly isOffchainSchemaSet: boolean;1470  readonly asOffchainSchemaSet: u32;1471  readonly isPublicAccessModeSet: boolean;1472  readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1473  readonly isSchemaVersionSet: boolean;1474  readonly asSchemaVersionSet: u32;1475  readonly isVariableOnChainSchemaSet: boolean;1476  readonly asVariableOnChainSchemaSet: u32;1477  readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';1478}14791480/** @name PalletXcmCall */1481export interface PalletXcmCall extends Enum {1482  readonly isSend: boolean;1483  readonly asSend: {1484    readonly dest: XcmVersionedMultiLocation;1485    readonly message: XcmVersionedXcm;1486  } & Struct;1487  readonly isTeleportAssets: boolean;1488  readonly asTeleportAssets: {1489    readonly dest: XcmVersionedMultiLocation;1490    readonly beneficiary: XcmVersionedMultiLocation;1491    readonly assets: XcmVersionedMultiAssets;1492    readonly feeAssetItem: u32;1493  } & Struct;1494  readonly isReserveTransferAssets: boolean;1495  readonly asReserveTransferAssets: {1496    readonly dest: XcmVersionedMultiLocation;1497    readonly beneficiary: XcmVersionedMultiLocation;1498    readonly assets: XcmVersionedMultiAssets;1499    readonly feeAssetItem: u32;1500  } & Struct;1501  readonly isExecute: boolean;1502  readonly asExecute: {1503    readonly message: XcmVersionedXcm;1504    readonly maxWeight: u64;1505  } & Struct;1506  readonly isForceXcmVersion: boolean;1507  readonly asForceXcmVersion: {1508    readonly location: XcmV1MultiLocation;1509    readonly xcmVersion: u32;1510  } & Struct;1511  readonly isForceDefaultXcmVersion: boolean;1512  readonly asForceDefaultXcmVersion: {1513    readonly maybeXcmVersion: Option<u32>;1514  } & Struct;1515  readonly isForceSubscribeVersionNotify: boolean;1516  readonly asForceSubscribeVersionNotify: {1517    readonly location: XcmVersionedMultiLocation;1518  } & Struct;1519  readonly isForceUnsubscribeVersionNotify: boolean;1520  readonly asForceUnsubscribeVersionNotify: {1521    readonly location: XcmVersionedMultiLocation;1522  } & Struct;1523  readonly isLimitedReserveTransferAssets: boolean;1524  readonly asLimitedReserveTransferAssets: {1525    readonly dest: XcmVersionedMultiLocation;1526    readonly beneficiary: XcmVersionedMultiLocation;1527    readonly assets: XcmVersionedMultiAssets;1528    readonly feeAssetItem: u32;1529    readonly weightLimit: XcmV2WeightLimit;1530  } & Struct;1531  readonly isLimitedTeleportAssets: boolean;1532  readonly asLimitedTeleportAssets: {1533    readonly dest: XcmVersionedMultiLocation;1534    readonly beneficiary: XcmVersionedMultiLocation;1535    readonly assets: XcmVersionedMultiAssets;1536    readonly feeAssetItem: u32;1537    readonly weightLimit: XcmV2WeightLimit;1538  } & Struct;1539  readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1540}15411542/** @name PalletXcmError */1543export interface PalletXcmError extends Enum {1544  readonly isUnreachable: boolean;1545  readonly isSendFailure: boolean;1546  readonly isFiltered: boolean;1547  readonly isUnweighableMessage: boolean;1548  readonly isDestinationNotInvertible: boolean;1549  readonly isEmpty: boolean;1550  readonly isCannotReanchor: boolean;1551  readonly isTooManyAssets: boolean;1552  readonly isInvalidOrigin: boolean;1553  readonly isBadVersion: boolean;1554  readonly isBadLocation: boolean;1555  readonly isNoSubscription: boolean;1556  readonly isAlreadySubscribed: boolean;1557  readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1558}15591560/** @name PalletXcmEvent */1561export interface PalletXcmEvent extends Enum {1562  readonly isAttempted: boolean;1563  readonly asAttempted: XcmV2TraitsOutcome;1564  readonly isSent: boolean;1565  readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1566  readonly isUnexpectedResponse: boolean;1567  readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1568  readonly isResponseReady: boolean;1569  readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1570  readonly isNotified: boolean;1571  readonly asNotified: ITuple<[u64, u8, u8]>;1572  readonly isNotifyOverweight: boolean;1573  readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1574  readonly isNotifyDispatchError: boolean;1575  readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1576  readonly isNotifyDecodeFailed: boolean;1577  readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1578  readonly isInvalidResponder: boolean;1579  readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1580  readonly isInvalidResponderVersion: boolean;1581  readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1582  readonly isResponseTaken: boolean;1583  readonly asResponseTaken: u64;1584  readonly isAssetsTrapped: boolean;1585  readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1586  readonly isVersionChangeNotified: boolean;1587  readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1588  readonly isSupportedVersionChanged: boolean;1589  readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1590  readonly isNotifyTargetSendFail: boolean;1591  readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1592  readonly isNotifyTargetMigrationFail: boolean;1593  readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1594  readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1595}15961597/** @name PhantomTypeUpDataStructs */1598export interface PhantomTypeUpDataStructs extends Vec<Lookup309> {}15991600/** @name PolkadotCorePrimitivesInboundDownwardMessage */1601export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1602  readonly sentAt: u32;1603  readonly msg: Bytes;1604}16051606/** @name PolkadotCorePrimitivesInboundHrmpMessage */1607export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1608  readonly sentAt: u32;1609  readonly data: Bytes;1610}16111612/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1613export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1614  readonly recipient: u32;1615  readonly data: Bytes;1616}16171618/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1619export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1620  readonly isConcatenatedVersionedXcm: boolean;1621  readonly isConcatenatedEncodedBlob: boolean;1622  readonly isSignals: boolean;1623  readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1624}16251626/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1627export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1628  readonly maxCodeSize: u32;1629  readonly maxHeadDataSize: u32;1630  readonly maxUpwardQueueCount: u32;1631  readonly maxUpwardQueueSize: u32;1632  readonly maxUpwardMessageSize: u32;1633  readonly maxUpwardMessageNumPerCandidate: u32;1634  readonly hrmpMaxMessageNumPerCandidate: u32;1635  readonly validationUpgradeCooldown: u32;1636  readonly validationUpgradeDelay: u32;1637}16381639/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1640export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1641  readonly maxCapacity: u32;1642  readonly maxTotalSize: u32;1643  readonly maxMessageSize: u32;1644  readonly msgCount: u32;1645  readonly totalSize: u32;1646  readonly mqcHead: Option<H256>;1647}16481649/** @name PolkadotPrimitivesV2PersistedValidationData */1650export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1651  readonly parentHead: Bytes;1652  readonly relayParentNumber: u32;1653  readonly relayParentStorageRoot: H256;1654  readonly maxPovSize: u32;1655}16561657/** @name PolkadotPrimitivesV2UpgradeRestriction */1658export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1659  readonly isPresent: boolean;1660  readonly type: 'Present';1661}16621663/** @name SpCoreEcdsaSignature */1664export interface SpCoreEcdsaSignature extends U8aFixed {}16651666/** @name SpCoreEd25519Signature */1667export interface SpCoreEd25519Signature extends U8aFixed {}16681669/** @name SpCoreSr25519Signature */1670export interface SpCoreSr25519Signature extends U8aFixed {}16711672/** @name SpRuntimeArithmeticError */1673export interface SpRuntimeArithmeticError extends Enum {1674  readonly isUnderflow: boolean;1675  readonly isOverflow: boolean;1676  readonly isDivisionByZero: boolean;1677  readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1678}16791680/** @name SpRuntimeDigest */1681export interface SpRuntimeDigest extends Struct {1682  readonly logs: Vec<SpRuntimeDigestDigestItem>;1683}16841685/** @name SpRuntimeDigestDigestItem */1686export interface SpRuntimeDigestDigestItem extends Enum {1687  readonly isOther: boolean;1688  readonly asOther: Bytes;1689  readonly isConsensus: boolean;1690  readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1691  readonly isSeal: boolean;1692  readonly asSeal: ITuple<[U8aFixed, Bytes]>;1693  readonly isPreRuntime: boolean;1694  readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1695  readonly isRuntimeEnvironmentUpdated: boolean;1696  readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1697}16981699/** @name SpRuntimeDispatchError */1700export interface SpRuntimeDispatchError extends Enum {1701  readonly isOther: boolean;1702  readonly isCannotLookup: boolean;1703  readonly isBadOrigin: boolean;1704  readonly isModule: boolean;1705  readonly asModule: SpRuntimeModuleError;1706  readonly isConsumerRemaining: boolean;1707  readonly isNoProviders: boolean;1708  readonly isTooManyConsumers: boolean;1709  readonly isToken: boolean;1710  readonly asToken: SpRuntimeTokenError;1711  readonly isArithmetic: boolean;1712  readonly asArithmetic: SpRuntimeArithmeticError;1713  readonly isTransactional: boolean;1714  readonly asTransactional: SpRuntimeTransactionalError;1715  readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1716}17171718/** @name SpRuntimeModuleError */1719export interface SpRuntimeModuleError extends Struct {1720  readonly index: u8;1721  readonly error: U8aFixed;1722}17231724/** @name SpRuntimeMultiSignature */1725export interface SpRuntimeMultiSignature extends Enum {1726  readonly isEd25519: boolean;1727  readonly asEd25519: SpCoreEd25519Signature;1728  readonly isSr25519: boolean;1729  readonly asSr25519: SpCoreSr25519Signature;1730  readonly isEcdsa: boolean;1731  readonly asEcdsa: SpCoreEcdsaSignature;1732  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1733}17341735/** @name SpRuntimeTokenError */1736export interface SpRuntimeTokenError extends Enum {1737  readonly isNoFunds: boolean;1738  readonly isWouldDie: boolean;1739  readonly isBelowMinimum: boolean;1740  readonly isCannotCreate: boolean;1741  readonly isUnknownAsset: boolean;1742  readonly isFrozen: boolean;1743  readonly isUnsupported: boolean;1744  readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1745}17461747/** @name SpRuntimeTransactionalError */1748export interface SpRuntimeTransactionalError extends Enum {1749  readonly isLimitReached: boolean;1750  readonly isNoLayer: boolean;1751  readonly type: 'LimitReached' | 'NoLayer';1752}17531754/** @name SpTrieStorageProof */1755export interface SpTrieStorageProof extends Struct {1756  readonly trieNodes: BTreeSet;1757}17581759/** @name SpVersionRuntimeVersion */1760export interface SpVersionRuntimeVersion extends Struct {1761  readonly specName: Text;1762  readonly implName: Text;1763  readonly authoringVersion: u32;1764  readonly specVersion: u32;1765  readonly implVersion: u32;1766  readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1767  readonly transactionVersion: u32;1768  readonly stateVersion: u8;1769}17701771/** @name UpDataStructsAccessMode */1772export interface UpDataStructsAccessMode extends Enum {1773  readonly isNormal: boolean;1774  readonly isAllowList: boolean;1775  readonly type: 'Normal' | 'AllowList';1776}17771778/** @name UpDataStructsCollectionField */1779export interface UpDataStructsCollectionField extends Enum {1780  readonly isVariableOnChainSchema: boolean;1781  readonly isConstOnChainSchema: boolean;1782  readonly isOffchainSchema: boolean;1783  readonly type: 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema';1784}17851786/** @name UpDataStructsCollectionLimitsVersion2 */1787export interface UpDataStructsCollectionLimitsVersion2 extends Struct {1788  readonly accountTokenOwnershipLimit: Option<u32>;1789  readonly sponsoredDataSize: Option<u32>;1790  readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1791  readonly tokenLimit: Option<u32>;1792  readonly sponsorTransferTimeout: Option<u32>;1793  readonly sponsorApproveTimeout: Option<u32>;1794  readonly ownerCanTransfer: Option<bool>;1795  readonly ownerCanDestroy: Option<bool>;1796  readonly transfersEnabled: Option<bool>;1797  readonly nestingRule: Option<UpDataStructsNestingRule>;1798}17991800/** @name UpDataStructsCollectionMode */1801export interface UpDataStructsCollectionMode extends Enum {1802  readonly isNft: boolean;1803  readonly isFungible: boolean;1804  readonly asFungible: u8;1805  readonly isReFungible: boolean;1806  readonly type: 'Nft' | 'Fungible' | 'ReFungible';1807}18081809/** @name UpDataStructsCollectionStats */1810export interface UpDataStructsCollectionStats extends Struct {1811  readonly created: u32;1812  readonly destroyed: u32;1813  readonly alive: u32;1814}18151816/** @name UpDataStructsCollectionVersion2 */1817export interface UpDataStructsCollectionVersion2 extends Struct {1818  readonly owner: AccountId32;1819  readonly mode: UpDataStructsCollectionMode;1820  readonly access: UpDataStructsAccessMode;1821  readonly name: Vec<u16>;1822  readonly description: Vec<u16>;1823  readonly tokenPrefix: Bytes;1824  readonly mintMode: bool;1825  readonly schemaVersion: UpDataStructsSchemaVersion;1826  readonly sponsorship: UpDataStructsSponsorshipState;1827  readonly limits: UpDataStructsCollectionLimitsVersion2;1828  readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1829}18301831/** @name UpDataStructsCreateCollectionData */1832export interface UpDataStructsCreateCollectionData extends Struct {1833  readonly mode: UpDataStructsCollectionMode;1834  readonly access: Option<UpDataStructsAccessMode>;1835  readonly name: Vec<u16>;1836  readonly description: Vec<u16>;1837  readonly tokenPrefix: Bytes;1838  readonly offchainSchema: Bytes;1839  readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1840  readonly pendingSponsor: Option<AccountId32>;1841  readonly limits: Option<UpDataStructsCollectionLimitsVersion2>;1842  readonly variableOnChainSchema: Bytes;1843  readonly constOnChainSchema: Bytes;1844  readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1845}18461847/** @name UpDataStructsCreateFungibleData */1848export interface UpDataStructsCreateFungibleData extends Struct {1849  readonly value: u128;1850}18511852/** @name UpDataStructsCreateItemData */1853export interface UpDataStructsCreateItemData extends Enum {1854  readonly isNft: boolean;1855  readonly asNft: UpDataStructsCreateNftData;1856  readonly isFungible: boolean;1857  readonly asFungible: UpDataStructsCreateFungibleData;1858  readonly isReFungible: boolean;1859  readonly asReFungible: UpDataStructsCreateReFungibleData;1860  readonly type: 'Nft' | 'Fungible' | 'ReFungible';1861}18621863/** @name UpDataStructsCreateItemExData */1864export interface UpDataStructsCreateItemExData extends Enum {1865  readonly isNft: boolean;1866  readonly asNft: Vec<UpDataStructsCreateNftExData>;1867  readonly isFungible: boolean;1868  readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;1869  readonly isRefungibleMultipleItems: boolean;1870  readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1871  readonly isRefungibleMultipleOwners: boolean;1872  readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1873  readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1874}18751876/** @name UpDataStructsCreateNftData */1877export interface UpDataStructsCreateNftData extends Struct {1878  readonly constData: Bytes;1879  readonly variableData: Bytes;1880}18811882/** @name UpDataStructsCreateNftExData */1883export interface UpDataStructsCreateNftExData extends Struct {1884  readonly constData: Bytes;1885  readonly variableData: Bytes;1886  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1887}18881889/** @name UpDataStructsCreateReFungibleData */1890export interface UpDataStructsCreateReFungibleData extends Struct {1891  readonly constData: Bytes;1892  readonly variableData: Bytes;1893  readonly pieces: u128;1894}18951896/** @name UpDataStructsCreateRefungibleExData */1897export interface UpDataStructsCreateRefungibleExData extends Struct {1898  readonly constData: Bytes;1899  readonly variableData: Bytes;1900  readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1901}19021903/** @name UpDataStructsMetaUpdatePermission */1904export interface UpDataStructsMetaUpdatePermission extends Enum {1905  readonly isItemOwner: boolean;1906  readonly isAdmin: boolean;1907  readonly isNone: boolean;1908  readonly type: 'ItemOwner' | 'Admin' | 'None';1909}19101911/** @name UpDataStructsNestingRule */1912export interface UpDataStructsNestingRule extends Enum {1913  readonly isDisabled: boolean;1914  readonly isOwner: boolean;1915  readonly isOwnerRestricted: boolean;1916  readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;1917  readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1918}19191920/** @name UpDataStructsRpcCollection */1921export interface UpDataStructsRpcCollection extends Struct {1922  readonly owner: AccountId32;1923  readonly mode: UpDataStructsCollectionMode;1924  readonly access: UpDataStructsAccessMode;1925  readonly name: Vec<u16>;1926  readonly description: Vec<u16>;1927  readonly tokenPrefix: Bytes;1928  readonly mintMode: bool;1929  readonly offchainSchema: Bytes;1930  readonly schemaVersion: UpDataStructsSchemaVersion;1931  readonly sponsorship: UpDataStructsSponsorshipState;1932  readonly limits: UpDataStructsCollectionLimitsVersion2;1933  readonly variableOnChainSchema: Bytes;1934  readonly constOnChainSchema: Bytes;1935  readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1936}19371938/** @name UpDataStructsSchemaVersion */1939export interface UpDataStructsSchemaVersion extends Enum {1940  readonly isImageURL: boolean;1941  readonly isUnique: boolean;1942  readonly type: 'ImageURL' | 'Unique';1943}19441945/** @name UpDataStructsSponsoringRateLimit */1946export interface UpDataStructsSponsoringRateLimit extends Enum {1947  readonly isSponsoringDisabled: boolean;1948  readonly isBlocks: boolean;1949  readonly asBlocks: u32;1950  readonly type: 'SponsoringDisabled' | 'Blocks';1951}19521953/** @name UpDataStructsSponsorshipState */1954export interface UpDataStructsSponsorshipState extends Enum {1955  readonly isDisabled: boolean;1956  readonly isUnconfirmed: boolean;1957  readonly asUnconfirmed: AccountId32;1958  readonly isConfirmed: boolean;1959  readonly asConfirmed: AccountId32;1960  readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';1961}19621963/** @name XcmDoubleEncoded */1964export interface XcmDoubleEncoded extends Struct {1965  readonly encoded: Bytes;1966}19671968/** @name XcmV0Junction */1969export interface XcmV0Junction extends Enum {1970  readonly isParent: boolean;1971  readonly isParachain: boolean;1972  readonly asParachain: Compact<u32>;1973  readonly isAccountId32: boolean;1974  readonly asAccountId32: {1975    readonly network: XcmV0JunctionNetworkId;1976    readonly id: U8aFixed;1977  } & Struct;1978  readonly isAccountIndex64: boolean;1979  readonly asAccountIndex64: {1980    readonly network: XcmV0JunctionNetworkId;1981    readonly index: Compact<u64>;1982  } & Struct;1983  readonly isAccountKey20: boolean;1984  readonly asAccountKey20: {1985    readonly network: XcmV0JunctionNetworkId;1986    readonly key: U8aFixed;1987  } & Struct;1988  readonly isPalletInstance: boolean;1989  readonly asPalletInstance: u8;1990  readonly isGeneralIndex: boolean;1991  readonly asGeneralIndex: Compact<u128>;1992  readonly isGeneralKey: boolean;1993  readonly asGeneralKey: Bytes;1994  readonly isOnlyChild: boolean;1995  readonly isPlurality: boolean;1996  readonly asPlurality: {1997    readonly id: XcmV0JunctionBodyId;1998    readonly part: XcmV0JunctionBodyPart;1999  } & Struct;2000  readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2001}20022003/** @name XcmV0JunctionBodyId */2004export interface XcmV0JunctionBodyId extends Enum {2005  readonly isUnit: boolean;2006  readonly isNamed: boolean;2007  readonly asNamed: Bytes;2008  readonly isIndex: boolean;2009  readonly asIndex: Compact<u32>;2010  readonly isExecutive: boolean;2011  readonly isTechnical: boolean;2012  readonly isLegislative: boolean;2013  readonly isJudicial: boolean;2014  readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2015}20162017/** @name XcmV0JunctionBodyPart */2018export interface XcmV0JunctionBodyPart extends Enum {2019  readonly isVoice: boolean;2020  readonly isMembers: boolean;2021  readonly asMembers: {2022    readonly count: Compact<u32>;2023  } & Struct;2024  readonly isFraction: boolean;2025  readonly asFraction: {2026    readonly nom: Compact<u32>;2027    readonly denom: Compact<u32>;2028  } & Struct;2029  readonly isAtLeastProportion: boolean;2030  readonly asAtLeastProportion: {2031    readonly nom: Compact<u32>;2032    readonly denom: Compact<u32>;2033  } & Struct;2034  readonly isMoreThanProportion: boolean;2035  readonly asMoreThanProportion: {2036    readonly nom: Compact<u32>;2037    readonly denom: Compact<u32>;2038  } & Struct;2039  readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2040}20412042/** @name XcmV0JunctionNetworkId */2043export interface XcmV0JunctionNetworkId extends Enum {2044  readonly isAny: boolean;2045  readonly isNamed: boolean;2046  readonly asNamed: Bytes;2047  readonly isPolkadot: boolean;2048  readonly isKusama: boolean;2049  readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2050}20512052/** @name XcmV0MultiAsset */2053export interface XcmV0MultiAsset extends Enum {2054  readonly isNone: boolean;2055  readonly isAll: boolean;2056  readonly isAllFungible: boolean;2057  readonly isAllNonFungible: boolean;2058  readonly isAllAbstractFungible: boolean;2059  readonly asAllAbstractFungible: {2060    readonly id: Bytes;2061  } & Struct;2062  readonly isAllAbstractNonFungible: boolean;2063  readonly asAllAbstractNonFungible: {2064    readonly class: Bytes;2065  } & Struct;2066  readonly isAllConcreteFungible: boolean;2067  readonly asAllConcreteFungible: {2068    readonly id: XcmV0MultiLocation;2069  } & Struct;2070  readonly isAllConcreteNonFungible: boolean;2071  readonly asAllConcreteNonFungible: {2072    readonly class: XcmV0MultiLocation;2073  } & Struct;2074  readonly isAbstractFungible: boolean;2075  readonly asAbstractFungible: {2076    readonly id: Bytes;2077    readonly amount: Compact<u128>;2078  } & Struct;2079  readonly isAbstractNonFungible: boolean;2080  readonly asAbstractNonFungible: {2081    readonly class: Bytes;2082    readonly instance: XcmV1MultiassetAssetInstance;2083  } & Struct;2084  readonly isConcreteFungible: boolean;2085  readonly asConcreteFungible: {2086    readonly id: XcmV0MultiLocation;2087    readonly amount: Compact<u128>;2088  } & Struct;2089  readonly isConcreteNonFungible: boolean;2090  readonly asConcreteNonFungible: {2091    readonly class: XcmV0MultiLocation;2092    readonly instance: XcmV1MultiassetAssetInstance;2093  } & Struct;2094  readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2095}20962097/** @name XcmV0MultiLocation */2098export interface XcmV0MultiLocation extends Enum {2099  readonly isNull: boolean;2100  readonly isX1: boolean;2101  readonly asX1: XcmV0Junction;2102  readonly isX2: boolean;2103  readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2104  readonly isX3: boolean;2105  readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2106  readonly isX4: boolean;2107  readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2108  readonly isX5: boolean;2109  readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2110  readonly isX6: boolean;2111  readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2112  readonly isX7: boolean;2113  readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2114  readonly isX8: boolean;2115  readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2116  readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2117}21182119/** @name XcmV0Order */2120export interface XcmV0Order extends Enum {2121  readonly isNull: boolean;2122  readonly isDepositAsset: boolean;2123  readonly asDepositAsset: {2124    readonly assets: Vec<XcmV0MultiAsset>;2125    readonly dest: XcmV0MultiLocation;2126  } & Struct;2127  readonly isDepositReserveAsset: boolean;2128  readonly asDepositReserveAsset: {2129    readonly assets: Vec<XcmV0MultiAsset>;2130    readonly dest: XcmV0MultiLocation;2131    readonly effects: Vec<XcmV0Order>;2132  } & Struct;2133  readonly isExchangeAsset: boolean;2134  readonly asExchangeAsset: {2135    readonly give: Vec<XcmV0MultiAsset>;2136    readonly receive: Vec<XcmV0MultiAsset>;2137  } & Struct;2138  readonly isInitiateReserveWithdraw: boolean;2139  readonly asInitiateReserveWithdraw: {2140    readonly assets: Vec<XcmV0MultiAsset>;2141    readonly reserve: XcmV0MultiLocation;2142    readonly effects: Vec<XcmV0Order>;2143  } & Struct;2144  readonly isInitiateTeleport: boolean;2145  readonly asInitiateTeleport: {2146    readonly assets: Vec<XcmV0MultiAsset>;2147    readonly dest: XcmV0MultiLocation;2148    readonly effects: Vec<XcmV0Order>;2149  } & Struct;2150  readonly isQueryHolding: boolean;2151  readonly asQueryHolding: {2152    readonly queryId: Compact<u64>;2153    readonly dest: XcmV0MultiLocation;2154    readonly assets: Vec<XcmV0MultiAsset>;2155  } & Struct;2156  readonly isBuyExecution: boolean;2157  readonly asBuyExecution: {2158    readonly fees: XcmV0MultiAsset;2159    readonly weight: u64;2160    readonly debt: u64;2161    readonly haltOnError: bool;2162    readonly xcm: Vec<XcmV0Xcm>;2163  } & Struct;2164  readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2165}21662167/** @name XcmV0OriginKind */2168export interface XcmV0OriginKind extends Enum {2169  readonly isNative: boolean;2170  readonly isSovereignAccount: boolean;2171  readonly isSuperuser: boolean;2172  readonly isXcm: boolean;2173  readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2174}21752176/** @name XcmV0Response */2177export interface XcmV0Response extends Enum {2178  readonly isAssets: boolean;2179  readonly asAssets: Vec<XcmV0MultiAsset>;2180  readonly type: 'Assets';2181}21822183/** @name XcmV0Xcm */2184export interface XcmV0Xcm extends Enum {2185  readonly isWithdrawAsset: boolean;2186  readonly asWithdrawAsset: {2187    readonly assets: Vec<XcmV0MultiAsset>;2188    readonly effects: Vec<XcmV0Order>;2189  } & Struct;2190  readonly isReserveAssetDeposit: boolean;2191  readonly asReserveAssetDeposit: {2192    readonly assets: Vec<XcmV0MultiAsset>;2193    readonly effects: Vec<XcmV0Order>;2194  } & Struct;2195  readonly isTeleportAsset: boolean;2196  readonly asTeleportAsset: {2197    readonly assets: Vec<XcmV0MultiAsset>;2198    readonly effects: Vec<XcmV0Order>;2199  } & Struct;2200  readonly isQueryResponse: boolean;2201  readonly asQueryResponse: {2202    readonly queryId: Compact<u64>;2203    readonly response: XcmV0Response;2204  } & Struct;2205  readonly isTransferAsset: boolean;2206  readonly asTransferAsset: {2207    readonly assets: Vec<XcmV0MultiAsset>;2208    readonly dest: XcmV0MultiLocation;2209  } & Struct;2210  readonly isTransferReserveAsset: boolean;2211  readonly asTransferReserveAsset: {2212    readonly assets: Vec<XcmV0MultiAsset>;2213    readonly dest: XcmV0MultiLocation;2214    readonly effects: Vec<XcmV0Order>;2215  } & Struct;2216  readonly isTransact: boolean;2217  readonly asTransact: {2218    readonly originType: XcmV0OriginKind;2219    readonly requireWeightAtMost: u64;2220    readonly call: XcmDoubleEncoded;2221  } & Struct;2222  readonly isHrmpNewChannelOpenRequest: boolean;2223  readonly asHrmpNewChannelOpenRequest: {2224    readonly sender: Compact<u32>;2225    readonly maxMessageSize: Compact<u32>;2226    readonly maxCapacity: Compact<u32>;2227  } & Struct;2228  readonly isHrmpChannelAccepted: boolean;2229  readonly asHrmpChannelAccepted: {2230    readonly recipient: Compact<u32>;2231  } & Struct;2232  readonly isHrmpChannelClosing: boolean;2233  readonly asHrmpChannelClosing: {2234    readonly initiator: Compact<u32>;2235    readonly sender: Compact<u32>;2236    readonly recipient: Compact<u32>;2237  } & Struct;2238  readonly isRelayedFrom: boolean;2239  readonly asRelayedFrom: {2240    readonly who: XcmV0MultiLocation;2241    readonly message: XcmV0Xcm;2242  } & Struct;2243  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2244}22452246/** @name XcmV1Junction */2247export interface XcmV1Junction extends Enum {2248  readonly isParachain: boolean;2249  readonly asParachain: Compact<u32>;2250  readonly isAccountId32: boolean;2251  readonly asAccountId32: {2252    readonly network: XcmV0JunctionNetworkId;2253    readonly id: U8aFixed;2254  } & Struct;2255  readonly isAccountIndex64: boolean;2256  readonly asAccountIndex64: {2257    readonly network: XcmV0JunctionNetworkId;2258    readonly index: Compact<u64>;2259  } & Struct;2260  readonly isAccountKey20: boolean;2261  readonly asAccountKey20: {2262    readonly network: XcmV0JunctionNetworkId;2263    readonly key: U8aFixed;2264  } & Struct;2265  readonly isPalletInstance: boolean;2266  readonly asPalletInstance: u8;2267  readonly isGeneralIndex: boolean;2268  readonly asGeneralIndex: Compact<u128>;2269  readonly isGeneralKey: boolean;2270  readonly asGeneralKey: Bytes;2271  readonly isOnlyChild: boolean;2272  readonly isPlurality: boolean;2273  readonly asPlurality: {2274    readonly id: XcmV0JunctionBodyId;2275    readonly part: XcmV0JunctionBodyPart;2276  } & Struct;2277  readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2278}22792280/** @name XcmV1MultiAsset */2281export interface XcmV1MultiAsset extends Struct {2282  readonly id: XcmV1MultiassetAssetId;2283  readonly fun: XcmV1MultiassetFungibility;2284}22852286/** @name XcmV1MultiassetAssetId */2287export interface XcmV1MultiassetAssetId extends Enum {2288  readonly isConcrete: boolean;2289  readonly asConcrete: XcmV1MultiLocation;2290  readonly isAbstract: boolean;2291  readonly asAbstract: Bytes;2292  readonly type: 'Concrete' | 'Abstract';2293}22942295/** @name XcmV1MultiassetAssetInstance */2296export interface XcmV1MultiassetAssetInstance extends Enum {2297  readonly isUndefined: boolean;2298  readonly isIndex: boolean;2299  readonly asIndex: Compact<u128>;2300  readonly isArray4: boolean;2301  readonly asArray4: U8aFixed;2302  readonly isArray8: boolean;2303  readonly asArray8: U8aFixed;2304  readonly isArray16: boolean;2305  readonly asArray16: U8aFixed;2306  readonly isArray32: boolean;2307  readonly asArray32: U8aFixed;2308  readonly isBlob: boolean;2309  readonly asBlob: Bytes;2310  readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2311}23122313/** @name XcmV1MultiassetFungibility */2314export interface XcmV1MultiassetFungibility extends Enum {2315  readonly isFungible: boolean;2316  readonly asFungible: Compact<u128>;2317  readonly isNonFungible: boolean;2318  readonly asNonFungible: XcmV1MultiassetAssetInstance;2319  readonly type: 'Fungible' | 'NonFungible';2320}23212322/** @name XcmV1MultiassetMultiAssetFilter */2323export interface XcmV1MultiassetMultiAssetFilter extends Enum {2324  readonly isDefinite: boolean;2325  readonly asDefinite: XcmV1MultiassetMultiAssets;2326  readonly isWild: boolean;2327  readonly asWild: XcmV1MultiassetWildMultiAsset;2328  readonly type: 'Definite' | 'Wild';2329}23302331/** @name XcmV1MultiassetMultiAssets */2332export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}23332334/** @name XcmV1MultiassetWildFungibility */2335export interface XcmV1MultiassetWildFungibility extends Enum {2336  readonly isFungible: boolean;2337  readonly isNonFungible: boolean;2338  readonly type: 'Fungible' | 'NonFungible';2339}23402341/** @name XcmV1MultiassetWildMultiAsset */2342export interface XcmV1MultiassetWildMultiAsset extends Enum {2343  readonly isAll: boolean;2344  readonly isAllOf: boolean;2345  readonly asAllOf: {2346    readonly id: XcmV1MultiassetAssetId;2347    readonly fun: XcmV1MultiassetWildFungibility;2348  } & Struct;2349  readonly type: 'All' | 'AllOf';2350}23512352/** @name XcmV1MultiLocation */2353export interface XcmV1MultiLocation extends Struct {2354  readonly parents: u8;2355  readonly interior: XcmV1MultilocationJunctions;2356}23572358/** @name XcmV1MultilocationJunctions */2359export interface XcmV1MultilocationJunctions extends Enum {2360  readonly isHere: boolean;2361  readonly isX1: boolean;2362  readonly asX1: XcmV1Junction;2363  readonly isX2: boolean;2364  readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2365  readonly isX3: boolean;2366  readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2367  readonly isX4: boolean;2368  readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2369  readonly isX5: boolean;2370  readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2371  readonly isX6: boolean;2372  readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2373  readonly isX7: boolean;2374  readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2375  readonly isX8: boolean;2376  readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2377  readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2378}23792380/** @name XcmV1Order */2381export interface XcmV1Order extends Enum {2382  readonly isNoop: boolean;2383  readonly isDepositAsset: boolean;2384  readonly asDepositAsset: {2385    readonly assets: XcmV1MultiassetMultiAssetFilter;2386    readonly maxAssets: u32;2387    readonly beneficiary: XcmV1MultiLocation;2388  } & Struct;2389  readonly isDepositReserveAsset: boolean;2390  readonly asDepositReserveAsset: {2391    readonly assets: XcmV1MultiassetMultiAssetFilter;2392    readonly maxAssets: u32;2393    readonly dest: XcmV1MultiLocation;2394    readonly effects: Vec<XcmV1Order>;2395  } & Struct;2396  readonly isExchangeAsset: boolean;2397  readonly asExchangeAsset: {2398    readonly give: XcmV1MultiassetMultiAssetFilter;2399    readonly receive: XcmV1MultiassetMultiAssets;2400  } & Struct;2401  readonly isInitiateReserveWithdraw: boolean;2402  readonly asInitiateReserveWithdraw: {2403    readonly assets: XcmV1MultiassetMultiAssetFilter;2404    readonly reserve: XcmV1MultiLocation;2405    readonly effects: Vec<XcmV1Order>;2406  } & Struct;2407  readonly isInitiateTeleport: boolean;2408  readonly asInitiateTeleport: {2409    readonly assets: XcmV1MultiassetMultiAssetFilter;2410    readonly dest: XcmV1MultiLocation;2411    readonly effects: Vec<XcmV1Order>;2412  } & Struct;2413  readonly isQueryHolding: boolean;2414  readonly asQueryHolding: {2415    readonly queryId: Compact<u64>;2416    readonly dest: XcmV1MultiLocation;2417    readonly assets: XcmV1MultiassetMultiAssetFilter;2418  } & Struct;2419  readonly isBuyExecution: boolean;2420  readonly asBuyExecution: {2421    readonly fees: XcmV1MultiAsset;2422    readonly weight: u64;2423    readonly debt: u64;2424    readonly haltOnError: bool;2425    readonly instructions: Vec<XcmV1Xcm>;2426  } & Struct;2427  readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2428}24292430/** @name XcmV1Response */2431export interface XcmV1Response extends Enum {2432  readonly isAssets: boolean;2433  readonly asAssets: XcmV1MultiassetMultiAssets;2434  readonly isVersion: boolean;2435  readonly asVersion: u32;2436  readonly type: 'Assets' | 'Version';2437}24382439/** @name XcmV1Xcm */2440export interface XcmV1Xcm extends Enum {2441  readonly isWithdrawAsset: boolean;2442  readonly asWithdrawAsset: {2443    readonly assets: XcmV1MultiassetMultiAssets;2444    readonly effects: Vec<XcmV1Order>;2445  } & Struct;2446  readonly isReserveAssetDeposited: boolean;2447  readonly asReserveAssetDeposited: {2448    readonly assets: XcmV1MultiassetMultiAssets;2449    readonly effects: Vec<XcmV1Order>;2450  } & Struct;2451  readonly isReceiveTeleportedAsset: boolean;2452  readonly asReceiveTeleportedAsset: {2453    readonly assets: XcmV1MultiassetMultiAssets;2454    readonly effects: Vec<XcmV1Order>;2455  } & Struct;2456  readonly isQueryResponse: boolean;2457  readonly asQueryResponse: {2458    readonly queryId: Compact<u64>;2459    readonly response: XcmV1Response;2460  } & Struct;2461  readonly isTransferAsset: boolean;2462  readonly asTransferAsset: {2463    readonly assets: XcmV1MultiassetMultiAssets;2464    readonly beneficiary: XcmV1MultiLocation;2465  } & Struct;2466  readonly isTransferReserveAsset: boolean;2467  readonly asTransferReserveAsset: {2468    readonly assets: XcmV1MultiassetMultiAssets;2469    readonly dest: XcmV1MultiLocation;2470    readonly effects: Vec<XcmV1Order>;2471  } & Struct;2472  readonly isTransact: boolean;2473  readonly asTransact: {2474    readonly originType: XcmV0OriginKind;2475    readonly requireWeightAtMost: u64;2476    readonly call: XcmDoubleEncoded;2477  } & Struct;2478  readonly isHrmpNewChannelOpenRequest: boolean;2479  readonly asHrmpNewChannelOpenRequest: {2480    readonly sender: Compact<u32>;2481    readonly maxMessageSize: Compact<u32>;2482    readonly maxCapacity: Compact<u32>;2483  } & Struct;2484  readonly isHrmpChannelAccepted: boolean;2485  readonly asHrmpChannelAccepted: {2486    readonly recipient: Compact<u32>;2487  } & Struct;2488  readonly isHrmpChannelClosing: boolean;2489  readonly asHrmpChannelClosing: {2490    readonly initiator: Compact<u32>;2491    readonly sender: Compact<u32>;2492    readonly recipient: Compact<u32>;2493  } & Struct;2494  readonly isRelayedFrom: boolean;2495  readonly asRelayedFrom: {2496    readonly who: XcmV1MultilocationJunctions;2497    readonly message: XcmV1Xcm;2498  } & Struct;2499  readonly isSubscribeVersion: boolean;2500  readonly asSubscribeVersion: {2501    readonly queryId: Compact<u64>;2502    readonly maxResponseWeight: Compact<u64>;2503  } & Struct;2504  readonly isUnsubscribeVersion: boolean;2505  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2506}25072508/** @name XcmV2Instruction */2509export interface XcmV2Instruction extends Enum {2510  readonly isWithdrawAsset: boolean;2511  readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2512  readonly isReserveAssetDeposited: boolean;2513  readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2514  readonly isReceiveTeleportedAsset: boolean;2515  readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2516  readonly isQueryResponse: boolean;2517  readonly asQueryResponse: {2518    readonly queryId: Compact<u64>;2519    readonly response: XcmV2Response;2520    readonly maxWeight: Compact<u64>;2521  } & Struct;2522  readonly isTransferAsset: boolean;2523  readonly asTransferAsset: {2524    readonly assets: XcmV1MultiassetMultiAssets;2525    readonly beneficiary: XcmV1MultiLocation;2526  } & Struct;2527  readonly isTransferReserveAsset: boolean;2528  readonly asTransferReserveAsset: {2529    readonly assets: XcmV1MultiassetMultiAssets;2530    readonly dest: XcmV1MultiLocation;2531    readonly xcm: XcmV2Xcm;2532  } & Struct;2533  readonly isTransact: boolean;2534  readonly asTransact: {2535    readonly originType: XcmV0OriginKind;2536    readonly requireWeightAtMost: Compact<u64>;2537    readonly call: XcmDoubleEncoded;2538  } & Struct;2539  readonly isHrmpNewChannelOpenRequest: boolean;2540  readonly asHrmpNewChannelOpenRequest: {2541    readonly sender: Compact<u32>;2542    readonly maxMessageSize: Compact<u32>;2543    readonly maxCapacity: Compact<u32>;2544  } & Struct;2545  readonly isHrmpChannelAccepted: boolean;2546  readonly asHrmpChannelAccepted: {2547    readonly recipient: Compact<u32>;2548  } & Struct;2549  readonly isHrmpChannelClosing: boolean;2550  readonly asHrmpChannelClosing: {2551    readonly initiator: Compact<u32>;2552    readonly sender: Compact<u32>;2553    readonly recipient: Compact<u32>;2554  } & Struct;2555  readonly isClearOrigin: boolean;2556  readonly isDescendOrigin: boolean;2557  readonly asDescendOrigin: XcmV1MultilocationJunctions;2558  readonly isReportError: boolean;2559  readonly asReportError: {2560    readonly queryId: Compact<u64>;2561    readonly dest: XcmV1MultiLocation;2562    readonly maxResponseWeight: Compact<u64>;2563  } & Struct;2564  readonly isDepositAsset: boolean;2565  readonly asDepositAsset: {2566    readonly assets: XcmV1MultiassetMultiAssetFilter;2567    readonly maxAssets: Compact<u32>;2568    readonly beneficiary: XcmV1MultiLocation;2569  } & Struct;2570  readonly isDepositReserveAsset: boolean;2571  readonly asDepositReserveAsset: {2572    readonly assets: XcmV1MultiassetMultiAssetFilter;2573    readonly maxAssets: Compact<u32>;2574    readonly dest: XcmV1MultiLocation;2575    readonly xcm: XcmV2Xcm;2576  } & Struct;2577  readonly isExchangeAsset: boolean;2578  readonly asExchangeAsset: {2579    readonly give: XcmV1MultiassetMultiAssetFilter;2580    readonly receive: XcmV1MultiassetMultiAssets;2581  } & Struct;2582  readonly isInitiateReserveWithdraw: boolean;2583  readonly asInitiateReserveWithdraw: {2584    readonly assets: XcmV1MultiassetMultiAssetFilter;2585    readonly reserve: XcmV1MultiLocation;2586    readonly xcm: XcmV2Xcm;2587  } & Struct;2588  readonly isInitiateTeleport: boolean;2589  readonly asInitiateTeleport: {2590    readonly assets: XcmV1MultiassetMultiAssetFilter;2591    readonly dest: XcmV1MultiLocation;2592    readonly xcm: XcmV2Xcm;2593  } & Struct;2594  readonly isQueryHolding: boolean;2595  readonly asQueryHolding: {2596    readonly queryId: Compact<u64>;2597    readonly dest: XcmV1MultiLocation;2598    readonly assets: XcmV1MultiassetMultiAssetFilter;2599    readonly maxResponseWeight: Compact<u64>;2600  } & Struct;2601  readonly isBuyExecution: boolean;2602  readonly asBuyExecution: {2603    readonly fees: XcmV1MultiAsset;2604    readonly weightLimit: XcmV2WeightLimit;2605  } & Struct;2606  readonly isRefundSurplus: boolean;2607  readonly isSetErrorHandler: boolean;2608  readonly asSetErrorHandler: XcmV2Xcm;2609  readonly isSetAppendix: boolean;2610  readonly asSetAppendix: XcmV2Xcm;2611  readonly isClearError: boolean;2612  readonly isClaimAsset: boolean;2613  readonly asClaimAsset: {2614    readonly assets: XcmV1MultiassetMultiAssets;2615    readonly ticket: XcmV1MultiLocation;2616  } & Struct;2617  readonly isTrap: boolean;2618  readonly asTrap: Compact<u64>;2619  readonly isSubscribeVersion: boolean;2620  readonly asSubscribeVersion: {2621    readonly queryId: Compact<u64>;2622    readonly maxResponseWeight: Compact<u64>;2623  } & Struct;2624  readonly isUnsubscribeVersion: boolean;2625  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';2626}26272628/** @name XcmV2Response */2629export interface XcmV2Response extends Enum {2630  readonly isNull: boolean;2631  readonly isAssets: boolean;2632  readonly asAssets: XcmV1MultiassetMultiAssets;2633  readonly isExecutionResult: boolean;2634  readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2635  readonly isVersion: boolean;2636  readonly asVersion: u32;2637  readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2638}26392640/** @name XcmV2TraitsError */2641export interface XcmV2TraitsError extends Enum {2642  readonly isOverflow: boolean;2643  readonly isUnimplemented: boolean;2644  readonly isUntrustedReserveLocation: boolean;2645  readonly isUntrustedTeleportLocation: boolean;2646  readonly isMultiLocationFull: boolean;2647  readonly isMultiLocationNotInvertible: boolean;2648  readonly isBadOrigin: boolean;2649  readonly isInvalidLocation: boolean;2650  readonly isAssetNotFound: boolean;2651  readonly isFailedToTransactAsset: boolean;2652  readonly isNotWithdrawable: boolean;2653  readonly isLocationCannotHold: boolean;2654  readonly isExceedsMaxMessageSize: boolean;2655  readonly isDestinationUnsupported: boolean;2656  readonly isTransport: boolean;2657  readonly isUnroutable: boolean;2658  readonly isUnknownClaim: boolean;2659  readonly isFailedToDecode: boolean;2660  readonly isMaxWeightInvalid: boolean;2661  readonly isNotHoldingFees: boolean;2662  readonly isTooExpensive: boolean;2663  readonly isTrap: boolean;2664  readonly asTrap: u64;2665  readonly isUnhandledXcmVersion: boolean;2666  readonly isWeightLimitReached: boolean;2667  readonly asWeightLimitReached: u64;2668  readonly isBarrier: boolean;2669  readonly isWeightNotComputable: boolean;2670  readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';2671}26722673/** @name XcmV2TraitsOutcome */2674export interface XcmV2TraitsOutcome extends Enum {2675  readonly isComplete: boolean;2676  readonly asComplete: u64;2677  readonly isIncomplete: boolean;2678  readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2679  readonly isError: boolean;2680  readonly asError: XcmV2TraitsError;2681  readonly type: 'Complete' | 'Incomplete' | 'Error';2682}26832684/** @name XcmV2WeightLimit */2685export interface XcmV2WeightLimit extends Enum {2686  readonly isUnlimited: boolean;2687  readonly isLimited: boolean;2688  readonly asLimited: Compact<u64>;2689  readonly type: 'Unlimited' | 'Limited';2690}26912692/** @name XcmV2Xcm */2693export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}26942695/** @name XcmVersionedMultiAssets */2696export interface XcmVersionedMultiAssets extends Enum {2697  readonly isV0: boolean;2698  readonly asV0: Vec<XcmV0MultiAsset>;2699  readonly isV1: boolean;2700  readonly asV1: XcmV1MultiassetMultiAssets;2701  readonly type: 'V0' | 'V1';2702}27032704/** @name XcmVersionedMultiLocation */2705export interface XcmVersionedMultiLocation extends Enum {2706  readonly isV0: boolean;2707  readonly asV0: XcmV0MultiLocation;2708  readonly isV1: boolean;2709  readonly asV1: XcmV1MultiLocation;2710  readonly type: 'V0' | 'V1';2711}27122713/** @name XcmVersionedXcm */2714export interface XcmVersionedXcm extends Enum {2715  readonly isV0: boolean;2716  readonly asV0: XcmV0Xcm;2717  readonly isV1: boolean;2718  readonly asV1: XcmV1Xcm;2719  readonly isV2: boolean;2720  readonly asV2: XcmV2Xcm;2721  readonly type: 'V0' | 'V1' | 'V2';2722}27232724export type PHANTOM_UNIQUE = 'unique';
after · tests/src/interfaces/unique/types.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends BTreeSet<Bytes> {}1112/** @name CumulusPalletDmpQueueCall */13export interface CumulusPalletDmpQueueCall extends Enum {14  readonly isServiceOverweight: boolean;15  readonly asServiceOverweight: {16    readonly index: u64;17    readonly weightLimit: u64;18  } & Struct;19  readonly type: 'ServiceOverweight';20}2122/** @name CumulusPalletDmpQueueConfigData */23export interface CumulusPalletDmpQueueConfigData extends Struct {24  readonly maxIndividual: u64;25}2627/** @name CumulusPalletDmpQueueError */28export interface CumulusPalletDmpQueueError extends Enum {29  readonly isUnknown: boolean;30  readonly isOverLimit: boolean;31  readonly type: 'Unknown' | 'OverLimit';32}3334/** @name CumulusPalletDmpQueueEvent */35export interface CumulusPalletDmpQueueEvent extends Enum {36  readonly isInvalidFormat: boolean;37  readonly asInvalidFormat: U8aFixed;38  readonly isUnsupportedVersion: boolean;39  readonly asUnsupportedVersion: U8aFixed;40  readonly isExecutedDownward: boolean;41  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;42  readonly isWeightExhausted: boolean;43  readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;44  readonly isOverweightEnqueued: boolean;45  readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;46  readonly isOverweightServiced: boolean;47  readonly asOverweightServiced: ITuple<[u64, u64]>;48  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';49}5051/** @name CumulusPalletDmpQueuePageIndexData */52export interface CumulusPalletDmpQueuePageIndexData extends Struct {53  readonly beginUsed: u32;54  readonly endUsed: u32;55  readonly overweightCount: u64;56}5758/** @name CumulusPalletParachainSystemCall */59export interface CumulusPalletParachainSystemCall extends Enum {60  readonly isSetValidationData: boolean;61  readonly asSetValidationData: {62    readonly data: CumulusPrimitivesParachainInherentParachainInherentData;63  } & Struct;64  readonly isSudoSendUpwardMessage: boolean;65  readonly asSudoSendUpwardMessage: {66    readonly message: Bytes;67  } & Struct;68  readonly isAuthorizeUpgrade: boolean;69  readonly asAuthorizeUpgrade: {70    readonly codeHash: H256;71  } & Struct;72  readonly isEnactAuthorizedUpgrade: boolean;73  readonly asEnactAuthorizedUpgrade: {74    readonly code: Bytes;75  } & Struct;76  readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';77}7879/** @name CumulusPalletParachainSystemError */80export interface CumulusPalletParachainSystemError extends Enum {81  readonly isOverlappingUpgrades: boolean;82  readonly isProhibitedByPolkadot: boolean;83  readonly isTooBig: boolean;84  readonly isValidationDataNotAvailable: boolean;85  readonly isHostConfigurationNotAvailable: boolean;86  readonly isNotScheduled: boolean;87  readonly isNothingAuthorized: boolean;88  readonly isUnauthorized: boolean;89  readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';90}9192/** @name CumulusPalletParachainSystemEvent */93export interface CumulusPalletParachainSystemEvent extends Enum {94  readonly isValidationFunctionStored: boolean;95  readonly isValidationFunctionApplied: boolean;96  readonly asValidationFunctionApplied: u32;97  readonly isValidationFunctionDiscarded: boolean;98  readonly isUpgradeAuthorized: boolean;99  readonly asUpgradeAuthorized: H256;100  readonly isDownwardMessagesReceived: boolean;101  readonly asDownwardMessagesReceived: u32;102  readonly isDownwardMessagesProcessed: boolean;103  readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;104  readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';105}106107/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */108export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {109  readonly dmqMqcHead: H256;110  readonly relayDispatchQueueSize: ITuple<[u32, u32]>;111  readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;112  readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;113}114115/** @name CumulusPalletXcmCall */116export interface CumulusPalletXcmCall extends Null {}117118/** @name CumulusPalletXcmError */119export interface CumulusPalletXcmError extends Null {}120121/** @name CumulusPalletXcmEvent */122export interface CumulusPalletXcmEvent extends Enum {123  readonly isInvalidFormat: boolean;124  readonly asInvalidFormat: U8aFixed;125  readonly isUnsupportedVersion: boolean;126  readonly asUnsupportedVersion: U8aFixed;127  readonly isExecutedDownward: boolean;128  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;129  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';130}131132/** @name CumulusPalletXcmpQueueCall */133export interface CumulusPalletXcmpQueueCall extends Enum {134  readonly isServiceOverweight: boolean;135  readonly asServiceOverweight: {136    readonly index: u64;137    readonly weightLimit: u64;138  } & Struct;139  readonly isSuspendXcmExecution: boolean;140  readonly isResumeXcmExecution: boolean;141  readonly isUpdateSuspendThreshold: boolean;142  readonly asUpdateSuspendThreshold: {143    readonly new_: u32;144  } & Struct;145  readonly isUpdateDropThreshold: boolean;146  readonly asUpdateDropThreshold: {147    readonly new_: u32;148  } & Struct;149  readonly isUpdateResumeThreshold: boolean;150  readonly asUpdateResumeThreshold: {151    readonly new_: u32;152  } & Struct;153  readonly isUpdateThresholdWeight: boolean;154  readonly asUpdateThresholdWeight: {155    readonly new_: u64;156  } & Struct;157  readonly isUpdateWeightRestrictDecay: boolean;158  readonly asUpdateWeightRestrictDecay: {159    readonly new_: u64;160  } & Struct;161  readonly isUpdateXcmpMaxIndividualWeight: boolean;162  readonly asUpdateXcmpMaxIndividualWeight: {163    readonly new_: u64;164  } & Struct;165  readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';166}167168/** @name CumulusPalletXcmpQueueError */169export interface CumulusPalletXcmpQueueError extends Enum {170  readonly isFailedToSend: boolean;171  readonly isBadXcmOrigin: boolean;172  readonly isBadXcm: boolean;173  readonly isBadOverweightIndex: boolean;174  readonly isWeightOverLimit: boolean;175  readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';176}177178/** @name CumulusPalletXcmpQueueEvent */179export interface CumulusPalletXcmpQueueEvent extends Enum {180  readonly isSuccess: boolean;181  readonly asSuccess: Option<H256>;182  readonly isFail: boolean;183  readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;184  readonly isBadVersion: boolean;185  readonly asBadVersion: Option<H256>;186  readonly isBadFormat: boolean;187  readonly asBadFormat: Option<H256>;188  readonly isUpwardMessageSent: boolean;189  readonly asUpwardMessageSent: Option<H256>;190  readonly isXcmpMessageSent: boolean;191  readonly asXcmpMessageSent: Option<H256>;192  readonly isOverweightEnqueued: boolean;193  readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;194  readonly isOverweightServiced: boolean;195  readonly asOverweightServiced: ITuple<[u64, u64]>;196  readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';197}198199/** @name CumulusPalletXcmpQueueInboundChannelDetails */200export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {201  readonly sender: u32;202  readonly state: CumulusPalletXcmpQueueInboundState;203  readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;204}205206/** @name CumulusPalletXcmpQueueInboundState */207export interface CumulusPalletXcmpQueueInboundState extends Enum {208  readonly isOk: boolean;209  readonly isSuspended: boolean;210  readonly type: 'Ok' | 'Suspended';211}212213/** @name CumulusPalletXcmpQueueOutboundChannelDetails */214export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {215  readonly recipient: u32;216  readonly state: CumulusPalletXcmpQueueOutboundState;217  readonly signalsExist: bool;218  readonly firstIndex: u16;219  readonly lastIndex: u16;220}221222/** @name CumulusPalletXcmpQueueOutboundState */223export interface CumulusPalletXcmpQueueOutboundState extends Enum {224  readonly isOk: boolean;225  readonly isSuspended: boolean;226  readonly type: 'Ok' | 'Suspended';227}228229/** @name CumulusPalletXcmpQueueQueueConfigData */230export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {231  readonly suspendThreshold: u32;232  readonly dropThreshold: u32;233  readonly resumeThreshold: u32;234  readonly thresholdWeight: u64;235  readonly weightRestrictDecay: u64;236  readonly xcmpMaxIndividualWeight: u64;237}238239/** @name CumulusPrimitivesParachainInherentParachainInherentData */240export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {241  readonly validationData: PolkadotPrimitivesV2PersistedValidationData;242  readonly relayChainState: SpTrieStorageProof;243  readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;244  readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;245}246247/** @name EthbloomBloom */248export interface EthbloomBloom extends U8aFixed {}249250/** @name EthereumBlock */251export interface EthereumBlock extends Struct {252  readonly header: EthereumHeader;253  readonly transactions: Vec<EthereumTransactionTransactionV2>;254  readonly ommers: Vec<EthereumHeader>;255}256257/** @name EthereumHeader */258export interface EthereumHeader extends Struct {259  readonly parentHash: H256;260  readonly ommersHash: H256;261  readonly beneficiary: H160;262  readonly stateRoot: H256;263  readonly transactionsRoot: H256;264  readonly receiptsRoot: H256;265  readonly logsBloom: EthbloomBloom;266  readonly difficulty: U256;267  readonly number: U256;268  readonly gasLimit: U256;269  readonly gasUsed: U256;270  readonly timestamp: u64;271  readonly extraData: Bytes;272  readonly mixHash: H256;273  readonly nonce: EthereumTypesHashH64;274}275276/** @name EthereumLog */277export interface EthereumLog extends Struct {278  readonly address: H160;279  readonly topics: Vec<H256>;280  readonly data: Bytes;281}282283/** @name EthereumReceiptEip658ReceiptData */284export interface EthereumReceiptEip658ReceiptData extends Struct {285  readonly statusCode: u8;286  readonly usedGas: U256;287  readonly logsBloom: EthbloomBloom;288  readonly logs: Vec<EthereumLog>;289}290291/** @name EthereumReceiptReceiptV3 */292export interface EthereumReceiptReceiptV3 extends Enum {293  readonly isLegacy: boolean;294  readonly asLegacy: EthereumReceiptEip658ReceiptData;295  readonly isEip2930: boolean;296  readonly asEip2930: EthereumReceiptEip658ReceiptData;297  readonly isEip1559: boolean;298  readonly asEip1559: EthereumReceiptEip658ReceiptData;299  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';300}301302/** @name EthereumTransactionAccessListItem */303export interface EthereumTransactionAccessListItem extends Struct {304  readonly address: H160;305  readonly storageKeys: Vec<H256>;306}307308/** @name EthereumTransactionEip1559Transaction */309export interface EthereumTransactionEip1559Transaction extends Struct {310  readonly chainId: u64;311  readonly nonce: U256;312  readonly maxPriorityFeePerGas: U256;313  readonly maxFeePerGas: U256;314  readonly gasLimit: U256;315  readonly action: EthereumTransactionTransactionAction;316  readonly value: U256;317  readonly input: Bytes;318  readonly accessList: Vec<EthereumTransactionAccessListItem>;319  readonly oddYParity: bool;320  readonly r: H256;321  readonly s: H256;322}323324/** @name EthereumTransactionEip2930Transaction */325export interface EthereumTransactionEip2930Transaction extends Struct {326  readonly chainId: u64;327  readonly nonce: U256;328  readonly gasPrice: U256;329  readonly gasLimit: U256;330  readonly action: EthereumTransactionTransactionAction;331  readonly value: U256;332  readonly input: Bytes;333  readonly accessList: Vec<EthereumTransactionAccessListItem>;334  readonly oddYParity: bool;335  readonly r: H256;336  readonly s: H256;337}338339/** @name EthereumTransactionLegacyTransaction */340export interface EthereumTransactionLegacyTransaction extends Struct {341  readonly nonce: U256;342  readonly gasPrice: U256;343  readonly gasLimit: U256;344  readonly action: EthereumTransactionTransactionAction;345  readonly value: U256;346  readonly input: Bytes;347  readonly signature: EthereumTransactionTransactionSignature;348}349350/** @name EthereumTransactionTransactionAction */351export interface EthereumTransactionTransactionAction extends Enum {352  readonly isCall: boolean;353  readonly asCall: H160;354  readonly isCreate: boolean;355  readonly type: 'Call' | 'Create';356}357358/** @name EthereumTransactionTransactionSignature */359export interface EthereumTransactionTransactionSignature extends Struct {360  readonly v: u64;361  readonly r: H256;362  readonly s: H256;363}364365/** @name EthereumTransactionTransactionV2 */366export interface EthereumTransactionTransactionV2 extends Enum {367  readonly isLegacy: boolean;368  readonly asLegacy: EthereumTransactionLegacyTransaction;369  readonly isEip2930: boolean;370  readonly asEip2930: EthereumTransactionEip2930Transaction;371  readonly isEip1559: boolean;372  readonly asEip1559: EthereumTransactionEip1559Transaction;373  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';374}375376/** @name EthereumTypesHashH64 */377export interface EthereumTypesHashH64 extends U8aFixed {}378379/** @name EvmCoreErrorExitError */380export interface EvmCoreErrorExitError extends Enum {381  readonly isStackUnderflow: boolean;382  readonly isStackOverflow: boolean;383  readonly isInvalidJump: boolean;384  readonly isInvalidRange: boolean;385  readonly isDesignatedInvalid: boolean;386  readonly isCallTooDeep: boolean;387  readonly isCreateCollision: boolean;388  readonly isCreateContractLimit: boolean;389  readonly isOutOfOffset: boolean;390  readonly isOutOfGas: boolean;391  readonly isOutOfFund: boolean;392  readonly isPcUnderflow: boolean;393  readonly isCreateEmpty: boolean;394  readonly isOther: boolean;395  readonly asOther: Text;396  readonly isInvalidCode: boolean;397  readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';398}399400/** @name EvmCoreErrorExitFatal */401export interface EvmCoreErrorExitFatal extends Enum {402  readonly isNotSupported: boolean;403  readonly isUnhandledInterrupt: boolean;404  readonly isCallErrorAsFatal: boolean;405  readonly asCallErrorAsFatal: EvmCoreErrorExitError;406  readonly isOther: boolean;407  readonly asOther: Text;408  readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';409}410411/** @name EvmCoreErrorExitReason */412export interface EvmCoreErrorExitReason extends Enum {413  readonly isSucceed: boolean;414  readonly asSucceed: EvmCoreErrorExitSucceed;415  readonly isError: boolean;416  readonly asError: EvmCoreErrorExitError;417  readonly isRevert: boolean;418  readonly asRevert: EvmCoreErrorExitRevert;419  readonly isFatal: boolean;420  readonly asFatal: EvmCoreErrorExitFatal;421  readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';422}423424/** @name EvmCoreErrorExitRevert */425export interface EvmCoreErrorExitRevert extends Enum {426  readonly isReverted: boolean;427  readonly type: 'Reverted';428}429430/** @name EvmCoreErrorExitSucceed */431export interface EvmCoreErrorExitSucceed extends Enum {432  readonly isStopped: boolean;433  readonly isReturned: boolean;434  readonly isSuicided: boolean;435  readonly type: 'Stopped' | 'Returned' | 'Suicided';436}437438/** @name FpRpcTransactionStatus */439export interface FpRpcTransactionStatus extends Struct {440  readonly transactionHash: H256;441  readonly transactionIndex: u32;442  readonly from: H160;443  readonly to: Option<H160>;444  readonly contractAddress: Option<H160>;445  readonly logs: Vec<EthereumLog>;446  readonly logsBloom: EthbloomBloom;447}448449/** @name FrameSupportPalletId */450export interface FrameSupportPalletId extends U8aFixed {}451452/** @name FrameSupportStorageBoundedBTreeSet */453export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}454455/** @name FrameSupportTokensMiscBalanceStatus */456export interface FrameSupportTokensMiscBalanceStatus extends Enum {457  readonly isFree: boolean;458  readonly isReserved: boolean;459  readonly type: 'Free' | 'Reserved';460}461462/** @name FrameSupportWeightsDispatchClass */463export interface FrameSupportWeightsDispatchClass extends Enum {464  readonly isNormal: boolean;465  readonly isOperational: boolean;466  readonly isMandatory: boolean;467  readonly type: 'Normal' | 'Operational' | 'Mandatory';468}469470/** @name FrameSupportWeightsDispatchInfo */471export interface FrameSupportWeightsDispatchInfo extends Struct {472  readonly weight: u64;473  readonly class: FrameSupportWeightsDispatchClass;474  readonly paysFee: FrameSupportWeightsPays;475}476477/** @name FrameSupportWeightsPays */478export interface FrameSupportWeightsPays extends Enum {479  readonly isYes: boolean;480  readonly isNo: boolean;481  readonly type: 'Yes' | 'No';482}483484/** @name FrameSupportWeightsPerDispatchClassU32 */485export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {486  readonly normal: u32;487  readonly operational: u32;488  readonly mandatory: u32;489}490491/** @name FrameSupportWeightsPerDispatchClassU64 */492export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {493  readonly normal: u64;494  readonly operational: u64;495  readonly mandatory: u64;496}497498/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */499export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {500  readonly normal: FrameSystemLimitsWeightsPerClass;501  readonly operational: FrameSystemLimitsWeightsPerClass;502  readonly mandatory: FrameSystemLimitsWeightsPerClass;503}504505/** @name FrameSupportWeightsRuntimeDbWeight */506export interface FrameSupportWeightsRuntimeDbWeight extends Struct {507  readonly read: u64;508  readonly write: u64;509}510511/** @name FrameSupportWeightsWeightToFeeCoefficient */512export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {513  readonly coeffInteger: u128;514  readonly coeffFrac: Perbill;515  readonly negative: bool;516  readonly degree: u8;517}518519/** @name FrameSystemAccountInfo */520export interface FrameSystemAccountInfo extends Struct {521  readonly nonce: u32;522  readonly consumers: u32;523  readonly providers: u32;524  readonly sufficients: u32;525  readonly data: PalletBalancesAccountData;526}527528/** @name FrameSystemCall */529export interface FrameSystemCall extends Enum {530  readonly isFillBlock: boolean;531  readonly asFillBlock: {532    readonly ratio: Perbill;533  } & Struct;534  readonly isRemark: boolean;535  readonly asRemark: {536    readonly remark: Bytes;537  } & Struct;538  readonly isSetHeapPages: boolean;539  readonly asSetHeapPages: {540    readonly pages: u64;541  } & Struct;542  readonly isSetCode: boolean;543  readonly asSetCode: {544    readonly code: Bytes;545  } & Struct;546  readonly isSetCodeWithoutChecks: boolean;547  readonly asSetCodeWithoutChecks: {548    readonly code: Bytes;549  } & Struct;550  readonly isSetStorage: boolean;551  readonly asSetStorage: {552    readonly items: Vec<ITuple<[Bytes, Bytes]>>;553  } & Struct;554  readonly isKillStorage: boolean;555  readonly asKillStorage: {556    readonly keys_: Vec<Bytes>;557  } & Struct;558  readonly isKillPrefix: boolean;559  readonly asKillPrefix: {560    readonly prefix: Bytes;561    readonly subkeys: u32;562  } & Struct;563  readonly isRemarkWithEvent: boolean;564  readonly asRemarkWithEvent: {565    readonly remark: Bytes;566  } & Struct;567  readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';568}569570/** @name FrameSystemError */571export interface FrameSystemError extends Enum {572  readonly isInvalidSpecName: boolean;573  readonly isSpecVersionNeedsToIncrease: boolean;574  readonly isFailedToExtractRuntimeVersion: boolean;575  readonly isNonDefaultComposite: boolean;576  readonly isNonZeroRefCount: boolean;577  readonly isCallFiltered: boolean;578  readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';579}580581/** @name FrameSystemEvent */582export interface FrameSystemEvent extends Enum {583  readonly isExtrinsicSuccess: boolean;584  readonly asExtrinsicSuccess: {585    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;586  } & Struct;587  readonly isExtrinsicFailed: boolean;588  readonly asExtrinsicFailed: {589    readonly dispatchError: SpRuntimeDispatchError;590    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;591  } & Struct;592  readonly isCodeUpdated: boolean;593  readonly isNewAccount: boolean;594  readonly asNewAccount: {595    readonly account: AccountId32;596  } & Struct;597  readonly isKilledAccount: boolean;598  readonly asKilledAccount: {599    readonly account: AccountId32;600  } & Struct;601  readonly isRemarked: boolean;602  readonly asRemarked: {603    readonly sender: AccountId32;604    readonly hash_: H256;605  } & Struct;606  readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';607}608609/** @name FrameSystemEventRecord */610export interface FrameSystemEventRecord extends Struct {611  readonly phase: FrameSystemPhase;612  readonly event: Event;613  readonly topics: Vec<H256>;614}615616/** @name FrameSystemExtensionsCheckGenesis */617export interface FrameSystemExtensionsCheckGenesis extends Null {}618619/** @name FrameSystemExtensionsCheckNonce */620export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}621622/** @name FrameSystemExtensionsCheckSpecVersion */623export interface FrameSystemExtensionsCheckSpecVersion extends Null {}624625/** @name FrameSystemExtensionsCheckWeight */626export interface FrameSystemExtensionsCheckWeight extends Null {}627628/** @name FrameSystemLastRuntimeUpgradeInfo */629export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {630  readonly specVersion: Compact<u32>;631  readonly specName: Text;632}633634/** @name FrameSystemLimitsBlockLength */635export interface FrameSystemLimitsBlockLength extends Struct {636  readonly max: FrameSupportWeightsPerDispatchClassU32;637}638639/** @name FrameSystemLimitsBlockWeights */640export interface FrameSystemLimitsBlockWeights extends Struct {641  readonly baseBlock: u64;642  readonly maxBlock: u64;643  readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;644}645646/** @name FrameSystemLimitsWeightsPerClass */647export interface FrameSystemLimitsWeightsPerClass extends Struct {648  readonly baseExtrinsic: u64;649  readonly maxExtrinsic: Option<u64>;650  readonly maxTotal: Option<u64>;651  readonly reserved: Option<u64>;652}653654/** @name FrameSystemPhase */655export interface FrameSystemPhase extends Enum {656  readonly isApplyExtrinsic: boolean;657  readonly asApplyExtrinsic: u32;658  readonly isFinalization: boolean;659  readonly isInitialization: boolean;660  readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';661}662663/** @name OpalRuntimeRuntime */664export interface OpalRuntimeRuntime extends Null {}665666/** @name OrmlVestingModuleCall */667export interface OrmlVestingModuleCall extends Enum {668  readonly isClaim: boolean;669  readonly isVestedTransfer: boolean;670  readonly asVestedTransfer: {671    readonly dest: MultiAddress;672    readonly schedule: OrmlVestingVestingSchedule;673  } & Struct;674  readonly isUpdateVestingSchedules: boolean;675  readonly asUpdateVestingSchedules: {676    readonly who: MultiAddress;677    readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;678  } & Struct;679  readonly isClaimFor: boolean;680  readonly asClaimFor: {681    readonly dest: MultiAddress;682  } & Struct;683  readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';684}685686/** @name OrmlVestingModuleError */687export interface OrmlVestingModuleError extends Enum {688  readonly isZeroVestingPeriod: boolean;689  readonly isZeroVestingPeriodCount: boolean;690  readonly isInsufficientBalanceToLock: boolean;691  readonly isTooManyVestingSchedules: boolean;692  readonly isAmountLow: boolean;693  readonly isMaxVestingSchedulesExceeded: boolean;694  readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';695}696697/** @name OrmlVestingModuleEvent */698export interface OrmlVestingModuleEvent extends Enum {699  readonly isVestingScheduleAdded: boolean;700  readonly asVestingScheduleAdded: {701    readonly from: AccountId32;702    readonly to: AccountId32;703    readonly vestingSchedule: OrmlVestingVestingSchedule;704  } & Struct;705  readonly isClaimed: boolean;706  readonly asClaimed: {707    readonly who: AccountId32;708    readonly amount: u128;709  } & Struct;710  readonly isVestingSchedulesUpdated: boolean;711  readonly asVestingSchedulesUpdated: {712    readonly who: AccountId32;713  } & Struct;714  readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';715}716717/** @name OrmlVestingVestingSchedule */718export interface OrmlVestingVestingSchedule extends Struct {719  readonly start: u32;720  readonly period: u32;721  readonly periodCount: u32;722  readonly perPeriod: Compact<u128>;723}724725/** @name PalletBalancesAccountData */726export interface PalletBalancesAccountData extends Struct {727  readonly free: u128;728  readonly reserved: u128;729  readonly miscFrozen: u128;730  readonly feeFrozen: u128;731}732733/** @name PalletBalancesBalanceLock */734export interface PalletBalancesBalanceLock extends Struct {735  readonly id: U8aFixed;736  readonly amount: u128;737  readonly reasons: PalletBalancesReasons;738}739740/** @name PalletBalancesCall */741export interface PalletBalancesCall extends Enum {742  readonly isTransfer: boolean;743  readonly asTransfer: {744    readonly dest: MultiAddress;745    readonly value: Compact<u128>;746  } & Struct;747  readonly isSetBalance: boolean;748  readonly asSetBalance: {749    readonly who: MultiAddress;750    readonly newFree: Compact<u128>;751    readonly newReserved: Compact<u128>;752  } & Struct;753  readonly isForceTransfer: boolean;754  readonly asForceTransfer: {755    readonly source: MultiAddress;756    readonly dest: MultiAddress;757    readonly value: Compact<u128>;758  } & Struct;759  readonly isTransferKeepAlive: boolean;760  readonly asTransferKeepAlive: {761    readonly dest: MultiAddress;762    readonly value: Compact<u128>;763  } & Struct;764  readonly isTransferAll: boolean;765  readonly asTransferAll: {766    readonly dest: MultiAddress;767    readonly keepAlive: bool;768  } & Struct;769  readonly isForceUnreserve: boolean;770  readonly asForceUnreserve: {771    readonly who: MultiAddress;772    readonly amount: u128;773  } & Struct;774  readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';775}776777/** @name PalletBalancesError */778export interface PalletBalancesError extends Enum {779  readonly isVestingBalance: boolean;780  readonly isLiquidityRestrictions: boolean;781  readonly isInsufficientBalance: boolean;782  readonly isExistentialDeposit: boolean;783  readonly isKeepAlive: boolean;784  readonly isExistingVestingSchedule: boolean;785  readonly isDeadAccount: boolean;786  readonly isTooManyReserves: boolean;787  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';788}789790/** @name PalletBalancesEvent */791export interface PalletBalancesEvent extends Enum {792  readonly isEndowed: boolean;793  readonly asEndowed: {794    readonly account: AccountId32;795    readonly freeBalance: u128;796  } & Struct;797  readonly isDustLost: boolean;798  readonly asDustLost: {799    readonly account: AccountId32;800    readonly amount: u128;801  } & Struct;802  readonly isTransfer: boolean;803  readonly asTransfer: {804    readonly from: AccountId32;805    readonly to: AccountId32;806    readonly amount: u128;807  } & Struct;808  readonly isBalanceSet: boolean;809  readonly asBalanceSet: {810    readonly who: AccountId32;811    readonly free: u128;812    readonly reserved: u128;813  } & Struct;814  readonly isReserved: boolean;815  readonly asReserved: {816    readonly who: AccountId32;817    readonly amount: u128;818  } & Struct;819  readonly isUnreserved: boolean;820  readonly asUnreserved: {821    readonly who: AccountId32;822    readonly amount: u128;823  } & Struct;824  readonly isReserveRepatriated: boolean;825  readonly asReserveRepatriated: {826    readonly from: AccountId32;827    readonly to: AccountId32;828    readonly amount: u128;829    readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;830  } & Struct;831  readonly isDeposit: boolean;832  readonly asDeposit: {833    readonly who: AccountId32;834    readonly amount: u128;835  } & Struct;836  readonly isWithdraw: boolean;837  readonly asWithdraw: {838    readonly who: AccountId32;839    readonly amount: u128;840  } & Struct;841  readonly isSlashed: boolean;842  readonly asSlashed: {843    readonly who: AccountId32;844    readonly amount: u128;845  } & Struct;846  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';847}848849/** @name PalletBalancesReasons */850export interface PalletBalancesReasons extends Enum {851  readonly isFee: boolean;852  readonly isMisc: boolean;853  readonly isAll: boolean;854  readonly type: 'Fee' | 'Misc' | 'All';855}856857/** @name PalletBalancesReleases */858export interface PalletBalancesReleases extends Enum {859  readonly isV100: boolean;860  readonly isV200: boolean;861  readonly type: 'V100' | 'V200';862}863864/** @name PalletBalancesReserveData */865export interface PalletBalancesReserveData extends Struct {866  readonly id: U8aFixed;867  readonly amount: u128;868}869870/** @name PalletCommonError */871export interface PalletCommonError extends Enum {872  readonly isCollectionNotFound: boolean;873  readonly isMustBeTokenOwner: boolean;874  readonly isNoPermission: boolean;875  readonly isPublicMintingNotAllowed: boolean;876  readonly isAddressNotInAllowlist: boolean;877  readonly isCollectionNameLimitExceeded: boolean;878  readonly isCollectionDescriptionLimitExceeded: boolean;879  readonly isCollectionTokenPrefixLimitExceeded: boolean;880  readonly isTotalCollectionsLimitExceeded: boolean;881  readonly isTokenVariableDataLimitExceeded: boolean;882  readonly isCollectionAdminCountExceeded: boolean;883  readonly isCollectionLimitBoundsExceeded: boolean;884  readonly isOwnerPermissionsCantBeReverted: boolean;885  readonly isTransferNotAllowed: boolean;886  readonly isAccountTokenLimitExceeded: boolean;887  readonly isCollectionTokenLimitExceeded: boolean;888  readonly isMetadataFlagFrozen: boolean;889  readonly isTokenNotFound: boolean;890  readonly isTokenValueTooLow: boolean;891  readonly isApprovedValueTooLow: boolean;892  readonly isCantApproveMoreThanOwned: boolean;893  readonly isAddressIsZero: boolean;894  readonly isUnsupportedOperation: boolean;895  readonly isNotSufficientFounds: boolean;896  readonly isNestingIsDisabled: boolean;897  readonly isOnlyOwnerAllowedToNest: boolean;898  readonly isSourceCollectionIsNotAllowedToNest: boolean;899  readonly isCollectionFieldSizeExceeded: boolean;900  readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded';901}902903/** @name PalletCommonEvent */904export interface PalletCommonEvent extends Enum {905  readonly isCollectionCreated: boolean;906  readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;907  readonly isCollectionDestroyed: boolean;908  readonly asCollectionDestroyed: u32;909  readonly isItemCreated: boolean;910  readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;911  readonly isItemDestroyed: boolean;912  readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;913  readonly isTransfer: boolean;914  readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;915  readonly isApproved: boolean;916  readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;917  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';918}919920/** @name PalletEthereumCall */921export interface PalletEthereumCall extends Enum {922  readonly isTransact: boolean;923  readonly asTransact: {924    readonly transaction: EthereumTransactionTransactionV2;925  } & Struct;926  readonly type: 'Transact';927}928929/** @name PalletEthereumError */930export interface PalletEthereumError extends Enum {931  readonly isInvalidSignature: boolean;932  readonly isPreLogExists: boolean;933  readonly type: 'InvalidSignature' | 'PreLogExists';934}935936/** @name PalletEthereumEvent */937export interface PalletEthereumEvent extends Enum {938  readonly isExecuted: boolean;939  readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;940  readonly type: 'Executed';941}942943/** @name PalletEvmAccountBasicCrossAccountIdRepr */944export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {945  readonly isSubstrate: boolean;946  readonly asSubstrate: AccountId32;947  readonly isEthereum: boolean;948  readonly asEthereum: H160;949  readonly type: 'Substrate' | 'Ethereum';950}951952/** @name PalletEvmCall */953export interface PalletEvmCall extends Enum {954  readonly isWithdraw: boolean;955  readonly asWithdraw: {956    readonly address: H160;957    readonly value: u128;958  } & Struct;959  readonly isCall: boolean;960  readonly asCall: {961    readonly source: H160;962    readonly target: H160;963    readonly input: Bytes;964    readonly value: U256;965    readonly gasLimit: u64;966    readonly maxFeePerGas: U256;967    readonly maxPriorityFeePerGas: Option<U256>;968    readonly nonce: Option<U256>;969    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;970  } & Struct;971  readonly isCreate: boolean;972  readonly asCreate: {973    readonly source: H160;974    readonly init: Bytes;975    readonly value: U256;976    readonly gasLimit: u64;977    readonly maxFeePerGas: U256;978    readonly maxPriorityFeePerGas: Option<U256>;979    readonly nonce: Option<U256>;980    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;981  } & Struct;982  readonly isCreate2: boolean;983  readonly asCreate2: {984    readonly source: H160;985    readonly init: Bytes;986    readonly salt: H256;987    readonly value: U256;988    readonly gasLimit: u64;989    readonly maxFeePerGas: U256;990    readonly maxPriorityFeePerGas: Option<U256>;991    readonly nonce: Option<U256>;992    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;993  } & Struct;994  readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';995}996997/** @name PalletEvmCoderSubstrateError */998export interface PalletEvmCoderSubstrateError extends Enum {999  readonly isOutOfGas: boolean;1000  readonly isOutOfFund: boolean;1001  readonly type: 'OutOfGas' | 'OutOfFund';1002}10031004/** @name PalletEvmContractHelpersError */1005export interface PalletEvmContractHelpersError extends Enum {1006  readonly isNoPermission: boolean;1007  readonly type: 'NoPermission';1008}10091010/** @name PalletEvmContractHelpersSponsoringModeT */1011export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1012  readonly isDisabled: boolean;1013  readonly isAllowlisted: boolean;1014  readonly isGenerous: boolean;1015  readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1016}10171018/** @name PalletEvmError */1019export interface PalletEvmError extends Enum {1020  readonly isBalanceLow: boolean;1021  readonly isFeeOverflow: boolean;1022  readonly isPaymentOverflow: boolean;1023  readonly isWithdrawFailed: boolean;1024  readonly isGasPriceTooLow: boolean;1025  readonly isInvalidNonce: boolean;1026  readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1027}10281029/** @name PalletEvmEvent */1030export interface PalletEvmEvent extends Enum {1031  readonly isLog: boolean;1032  readonly asLog: EthereumLog;1033  readonly isCreated: boolean;1034  readonly asCreated: H160;1035  readonly isCreatedFailed: boolean;1036  readonly asCreatedFailed: H160;1037  readonly isExecuted: boolean;1038  readonly asExecuted: H160;1039  readonly isExecutedFailed: boolean;1040  readonly asExecutedFailed: H160;1041  readonly isBalanceDeposit: boolean;1042  readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1043  readonly isBalanceWithdraw: boolean;1044  readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1045  readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1046}10471048/** @name PalletEvmMigrationCall */1049export interface PalletEvmMigrationCall extends Enum {1050  readonly isBegin: boolean;1051  readonly asBegin: {1052    readonly address: H160;1053  } & Struct;1054  readonly isSetData: boolean;1055  readonly asSetData: {1056    readonly address: H160;1057    readonly data: Vec<ITuple<[H256, H256]>>;1058  } & Struct;1059  readonly isFinish: boolean;1060  readonly asFinish: {1061    readonly address: H160;1062    readonly code: Bytes;1063  } & Struct;1064  readonly type: 'Begin' | 'SetData' | 'Finish';1065}10661067/** @name PalletEvmMigrationError */1068export interface PalletEvmMigrationError extends Enum {1069  readonly isAccountNotEmpty: boolean;1070  readonly isAccountIsNotMigrating: boolean;1071  readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1072}10731074/** @name PalletFungibleError */1075export interface PalletFungibleError extends Enum {1076  readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1077  readonly isFungibleItemsHaveNoId: boolean;1078  readonly isFungibleItemsDontHaveData: boolean;1079  readonly isFungibleDisallowsNesting: boolean;1080  readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting';1081}10821083/** @name PalletInflationCall */1084export interface PalletInflationCall extends Enum {1085  readonly isStartInflation: boolean;1086  readonly asStartInflation: {1087    readonly inflationStartRelayBlock: u32;1088  } & Struct;1089  readonly type: 'StartInflation';1090}10911092/** @name PalletNonfungibleError */1093export interface PalletNonfungibleError extends Enum {1094  readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1095  readonly isNonfungibleItemsHaveNoAmount: boolean;1096  readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1097}10981099/** @name PalletNonfungibleItemData */1100export interface PalletNonfungibleItemData extends Struct {1101  readonly constData: Bytes;1102  readonly variableData: Bytes;1103  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1104}11051106/** @name PalletRefungibleError */1107export interface PalletRefungibleError extends Enum {1108  readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1109  readonly isWrongRefungiblePieces: boolean;1110  readonly isRefungibleDisallowsNesting: boolean;1111  readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting';1112}11131114/** @name PalletRefungibleItemData */1115export interface PalletRefungibleItemData extends Struct {1116  readonly constData: Bytes;1117  readonly variableData: Bytes;1118}11191120/** @name PalletStructureCall */1121export interface PalletStructureCall extends Null {}11221123/** @name PalletStructureError */1124export interface PalletStructureError extends Enum {1125  readonly isOuroborosDetected: boolean;1126  readonly isDepthLimit: boolean;1127  readonly isTokenNotFound: boolean;1128  readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1129}11301131/** @name PalletStructureEvent */1132export interface PalletStructureEvent extends Enum {1133  readonly isExecuted: boolean;1134  readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1135  readonly type: 'Executed';1136}11371138/** @name PalletSudoCall */1139export interface PalletSudoCall extends Enum {1140  readonly isSudo: boolean;1141  readonly asSudo: {1142    readonly call: Call;1143  } & Struct;1144  readonly isSudoUncheckedWeight: boolean;1145  readonly asSudoUncheckedWeight: {1146    readonly call: Call;1147    readonly weight: u64;1148  } & Struct;1149  readonly isSetKey: boolean;1150  readonly asSetKey: {1151    readonly new_: MultiAddress;1152  } & Struct;1153  readonly isSudoAs: boolean;1154  readonly asSudoAs: {1155    readonly who: MultiAddress;1156    readonly call: Call;1157  } & Struct;1158  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1159}11601161/** @name PalletSudoError */1162export interface PalletSudoError extends Enum {1163  readonly isRequireSudo: boolean;1164  readonly type: 'RequireSudo';1165}11661167/** @name PalletSudoEvent */1168export interface PalletSudoEvent extends Enum {1169  readonly isSudid: boolean;1170  readonly asSudid: {1171    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1172  } & Struct;1173  readonly isKeyChanged: boolean;1174  readonly asKeyChanged: {1175    readonly oldSudoer: Option<AccountId32>;1176  } & Struct;1177  readonly isSudoAsDone: boolean;1178  readonly asSudoAsDone: {1179    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1180  } & Struct;1181  readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1182}11831184/** @name PalletTemplateTransactionPaymentCall */1185export interface PalletTemplateTransactionPaymentCall extends Null {}11861187/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1188export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}11891190/** @name PalletTimestampCall */1191export interface PalletTimestampCall extends Enum {1192  readonly isSet: boolean;1193  readonly asSet: {1194    readonly now: Compact<u64>;1195  } & Struct;1196  readonly type: 'Set';1197}11981199/** @name PalletTransactionPaymentReleases */1200export interface PalletTransactionPaymentReleases extends Enum {1201  readonly isV1Ancient: boolean;1202  readonly isV2: boolean;1203  readonly type: 'V1Ancient' | 'V2';1204}12051206/** @name PalletTreasuryCall */1207export interface PalletTreasuryCall extends Enum {1208  readonly isProposeSpend: boolean;1209  readonly asProposeSpend: {1210    readonly value: Compact<u128>;1211    readonly beneficiary: MultiAddress;1212  } & Struct;1213  readonly isRejectProposal: boolean;1214  readonly asRejectProposal: {1215    readonly proposalId: Compact<u32>;1216  } & Struct;1217  readonly isApproveProposal: boolean;1218  readonly asApproveProposal: {1219    readonly proposalId: Compact<u32>;1220  } & Struct;1221  readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1222}12231224/** @name PalletTreasuryError */1225export interface PalletTreasuryError extends Enum {1226  readonly isInsufficientProposersBalance: boolean;1227  readonly isInvalidIndex: boolean;1228  readonly isTooManyApprovals: boolean;1229  readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1230}12311232/** @name PalletTreasuryEvent */1233export interface PalletTreasuryEvent extends Enum {1234  readonly isProposed: boolean;1235  readonly asProposed: {1236    readonly proposalIndex: u32;1237  } & Struct;1238  readonly isSpending: boolean;1239  readonly asSpending: {1240    readonly budgetRemaining: u128;1241  } & Struct;1242  readonly isAwarded: boolean;1243  readonly asAwarded: {1244    readonly proposalIndex: u32;1245    readonly award: u128;1246    readonly account: AccountId32;1247  } & Struct;1248  readonly isRejected: boolean;1249  readonly asRejected: {1250    readonly proposalIndex: u32;1251    readonly slashed: u128;1252  } & Struct;1253  readonly isBurnt: boolean;1254  readonly asBurnt: {1255    readonly burntFunds: u128;1256  } & Struct;1257  readonly isRollover: boolean;1258  readonly asRollover: {1259    readonly rolloverBalance: u128;1260  } & Struct;1261  readonly isDeposit: boolean;1262  readonly asDeposit: {1263    readonly value: u128;1264  } & Struct;1265  readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1266}12671268/** @name PalletTreasuryProposal */1269export interface PalletTreasuryProposal extends Struct {1270  readonly proposer: AccountId32;1271  readonly value: u128;1272  readonly beneficiary: AccountId32;1273  readonly bond: u128;1274}12751276/** @name PalletUniqueCall */1277export interface PalletUniqueCall extends Enum {1278  readonly isCreateCollection: boolean;1279  readonly asCreateCollection: {1280    readonly collectionName: Vec<u16>;1281    readonly collectionDescription: Vec<u16>;1282    readonly tokenPrefix: Bytes;1283    readonly mode: UpDataStructsCollectionMode;1284  } & Struct;1285  readonly isCreateCollectionEx: boolean;1286  readonly asCreateCollectionEx: {1287    readonly data: UpDataStructsCreateCollectionData;1288  } & Struct;1289  readonly isDestroyCollection: boolean;1290  readonly asDestroyCollection: {1291    readonly collectionId: u32;1292  } & Struct;1293  readonly isAddToAllowList: boolean;1294  readonly asAddToAllowList: {1295    readonly collectionId: u32;1296    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1297  } & Struct;1298  readonly isRemoveFromAllowList: boolean;1299  readonly asRemoveFromAllowList: {1300    readonly collectionId: u32;1301    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1302  } & Struct;1303  readonly isSetPublicAccessMode: boolean;1304  readonly asSetPublicAccessMode: {1305    readonly collectionId: u32;1306    readonly mode: UpDataStructsAccessMode;1307  } & Struct;1308  readonly isSetMintPermission: boolean;1309  readonly asSetMintPermission: {1310    readonly collectionId: u32;1311    readonly mintPermission: bool;1312  } & Struct;1313  readonly isChangeCollectionOwner: boolean;1314  readonly asChangeCollectionOwner: {1315    readonly collectionId: u32;1316    readonly newOwner: AccountId32;1317  } & Struct;1318  readonly isAddCollectionAdmin: boolean;1319  readonly asAddCollectionAdmin: {1320    readonly collectionId: u32;1321    readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1322  } & Struct;1323  readonly isRemoveCollectionAdmin: boolean;1324  readonly asRemoveCollectionAdmin: {1325    readonly collectionId: u32;1326    readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1327  } & Struct;1328  readonly isSetCollectionSponsor: boolean;1329  readonly asSetCollectionSponsor: {1330    readonly collectionId: u32;1331    readonly newSponsor: AccountId32;1332  } & Struct;1333  readonly isConfirmSponsorship: boolean;1334  readonly asConfirmSponsorship: {1335    readonly collectionId: u32;1336  } & Struct;1337  readonly isRemoveCollectionSponsor: boolean;1338  readonly asRemoveCollectionSponsor: {1339    readonly collectionId: u32;1340  } & Struct;1341  readonly isCreateItem: boolean;1342  readonly asCreateItem: {1343    readonly collectionId: u32;1344    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1345    readonly data: UpDataStructsCreateItemData;1346  } & Struct;1347  readonly isCreateMultipleItems: boolean;1348  readonly asCreateMultipleItems: {1349    readonly collectionId: u32;1350    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1351    readonly itemsData: Vec<UpDataStructsCreateItemData>;1352  } & Struct;1353  readonly isCreateMultipleItemsEx: boolean;1354  readonly asCreateMultipleItemsEx: {1355    readonly collectionId: u32;1356    readonly data: UpDataStructsCreateItemExData;1357  } & Struct;1358  readonly isSetTransfersEnabledFlag: boolean;1359  readonly asSetTransfersEnabledFlag: {1360    readonly collectionId: u32;1361    readonly value: bool;1362  } & Struct;1363  readonly isBurnItem: boolean;1364  readonly asBurnItem: {1365    readonly collectionId: u32;1366    readonly itemId: u32;1367    readonly value: u128;1368  } & Struct;1369  readonly isBurnFrom: boolean;1370  readonly asBurnFrom: {1371    readonly collectionId: u32;1372    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1373    readonly itemId: u32;1374    readonly value: u128;1375  } & Struct;1376  readonly isTransfer: boolean;1377  readonly asTransfer: {1378    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1379    readonly collectionId: u32;1380    readonly itemId: u32;1381    readonly value: u128;1382  } & Struct;1383  readonly isApprove: boolean;1384  readonly asApprove: {1385    readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1386    readonly collectionId: u32;1387    readonly itemId: u32;1388    readonly amount: u128;1389  } & Struct;1390  readonly isTransferFrom: boolean;1391  readonly asTransferFrom: {1392    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1393    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1394    readonly collectionId: u32;1395    readonly itemId: u32;1396    readonly value: u128;1397  } & Struct;1398  readonly isSetVariableMetaData: boolean;1399  readonly asSetVariableMetaData: {1400    readonly collectionId: u32;1401    readonly itemId: u32;1402    readonly data: Bytes;1403  } & Struct;1404  readonly isSetMetaUpdatePermissionFlag: boolean;1405  readonly asSetMetaUpdatePermissionFlag: {1406    readonly collectionId: u32;1407    readonly value: UpDataStructsMetaUpdatePermission;1408  } & Struct;1409  readonly isSetSchemaVersion: boolean;1410  readonly asSetSchemaVersion: {1411    readonly collectionId: u32;1412    readonly version: UpDataStructsSchemaVersion;1413  } & Struct;1414  readonly isSetOffchainSchema: boolean;1415  readonly asSetOffchainSchema: {1416    readonly collectionId: u32;1417    readonly schema: Bytes;1418  } & Struct;1419  readonly isSetConstOnChainSchema: boolean;1420  readonly asSetConstOnChainSchema: {1421    readonly collectionId: u32;1422    readonly schema: Bytes;1423  } & Struct;1424  readonly isSetVariableOnChainSchema: boolean;1425  readonly asSetVariableOnChainSchema: {1426    readonly collectionId: u32;1427    readonly schema: Bytes;1428  } & Struct;1429  readonly isSetCollectionLimits: boolean;1430  readonly asSetCollectionLimits: {1431    readonly collectionId: u32;1432    readonly newLimit: UpDataStructsCollectionLimits;1433  } & Struct;1434  readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1435}14361437/** @name PalletUniqueError */1438export interface PalletUniqueError extends Enum {1439  readonly isCollectionDecimalPointLimitExceeded: boolean;1440  readonly isConfirmUnsetSponsorFail: boolean;1441  readonly isEmptyArgument: boolean;1442  readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1443}14441445/** @name PalletUniqueRawEvent */1446export interface PalletUniqueRawEvent extends Enum {1447  readonly isCollectionSponsorRemoved: boolean;1448  readonly asCollectionSponsorRemoved: u32;1449  readonly isCollectionAdminAdded: boolean;1450  readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1451  readonly isCollectionOwnedChanged: boolean;1452  readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1453  readonly isCollectionSponsorSet: boolean;1454  readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1455  readonly isConstOnChainSchemaSet: boolean;1456  readonly asConstOnChainSchemaSet: u32;1457  readonly isSponsorshipConfirmed: boolean;1458  readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1459  readonly isCollectionAdminRemoved: boolean;1460  readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1461  readonly isAllowListAddressRemoved: boolean;1462  readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1463  readonly isAllowListAddressAdded: boolean;1464  readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1465  readonly isCollectionLimitSet: boolean;1466  readonly asCollectionLimitSet: u32;1467  readonly isMintPermissionSet: boolean;1468  readonly asMintPermissionSet: u32;1469  readonly isOffchainSchemaSet: boolean;1470  readonly asOffchainSchemaSet: u32;1471  readonly isPublicAccessModeSet: boolean;1472  readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1473  readonly isSchemaVersionSet: boolean;1474  readonly asSchemaVersionSet: u32;1475  readonly isVariableOnChainSchemaSet: boolean;1476  readonly asVariableOnChainSchemaSet: u32;1477  readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';1478}14791480/** @name PalletXcmCall */1481export interface PalletXcmCall extends Enum {1482  readonly isSend: boolean;1483  readonly asSend: {1484    readonly dest: XcmVersionedMultiLocation;1485    readonly message: XcmVersionedXcm;1486  } & Struct;1487  readonly isTeleportAssets: boolean;1488  readonly asTeleportAssets: {1489    readonly dest: XcmVersionedMultiLocation;1490    readonly beneficiary: XcmVersionedMultiLocation;1491    readonly assets: XcmVersionedMultiAssets;1492    readonly feeAssetItem: u32;1493  } & Struct;1494  readonly isReserveTransferAssets: boolean;1495  readonly asReserveTransferAssets: {1496    readonly dest: XcmVersionedMultiLocation;1497    readonly beneficiary: XcmVersionedMultiLocation;1498    readonly assets: XcmVersionedMultiAssets;1499    readonly feeAssetItem: u32;1500  } & Struct;1501  readonly isExecute: boolean;1502  readonly asExecute: {1503    readonly message: XcmVersionedXcm;1504    readonly maxWeight: u64;1505  } & Struct;1506  readonly isForceXcmVersion: boolean;1507  readonly asForceXcmVersion: {1508    readonly location: XcmV1MultiLocation;1509    readonly xcmVersion: u32;1510  } & Struct;1511  readonly isForceDefaultXcmVersion: boolean;1512  readonly asForceDefaultXcmVersion: {1513    readonly maybeXcmVersion: Option<u32>;1514  } & Struct;1515  readonly isForceSubscribeVersionNotify: boolean;1516  readonly asForceSubscribeVersionNotify: {1517    readonly location: XcmVersionedMultiLocation;1518  } & Struct;1519  readonly isForceUnsubscribeVersionNotify: boolean;1520  readonly asForceUnsubscribeVersionNotify: {1521    readonly location: XcmVersionedMultiLocation;1522  } & Struct;1523  readonly isLimitedReserveTransferAssets: boolean;1524  readonly asLimitedReserveTransferAssets: {1525    readonly dest: XcmVersionedMultiLocation;1526    readonly beneficiary: XcmVersionedMultiLocation;1527    readonly assets: XcmVersionedMultiAssets;1528    readonly feeAssetItem: u32;1529    readonly weightLimit: XcmV2WeightLimit;1530  } & Struct;1531  readonly isLimitedTeleportAssets: boolean;1532  readonly asLimitedTeleportAssets: {1533    readonly dest: XcmVersionedMultiLocation;1534    readonly beneficiary: XcmVersionedMultiLocation;1535    readonly assets: XcmVersionedMultiAssets;1536    readonly feeAssetItem: u32;1537    readonly weightLimit: XcmV2WeightLimit;1538  } & Struct;1539  readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1540}15411542/** @name PalletXcmError */1543export interface PalletXcmError extends Enum {1544  readonly isUnreachable: boolean;1545  readonly isSendFailure: boolean;1546  readonly isFiltered: boolean;1547  readonly isUnweighableMessage: boolean;1548  readonly isDestinationNotInvertible: boolean;1549  readonly isEmpty: boolean;1550  readonly isCannotReanchor: boolean;1551  readonly isTooManyAssets: boolean;1552  readonly isInvalidOrigin: boolean;1553  readonly isBadVersion: boolean;1554  readonly isBadLocation: boolean;1555  readonly isNoSubscription: boolean;1556  readonly isAlreadySubscribed: boolean;1557  readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1558}15591560/** @name PalletXcmEvent */1561export interface PalletXcmEvent extends Enum {1562  readonly isAttempted: boolean;1563  readonly asAttempted: XcmV2TraitsOutcome;1564  readonly isSent: boolean;1565  readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1566  readonly isUnexpectedResponse: boolean;1567  readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1568  readonly isResponseReady: boolean;1569  readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1570  readonly isNotified: boolean;1571  readonly asNotified: ITuple<[u64, u8, u8]>;1572  readonly isNotifyOverweight: boolean;1573  readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1574  readonly isNotifyDispatchError: boolean;1575  readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1576  readonly isNotifyDecodeFailed: boolean;1577  readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1578  readonly isInvalidResponder: boolean;1579  readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1580  readonly isInvalidResponderVersion: boolean;1581  readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1582  readonly isResponseTaken: boolean;1583  readonly asResponseTaken: u64;1584  readonly isAssetsTrapped: boolean;1585  readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1586  readonly isVersionChangeNotified: boolean;1587  readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1588  readonly isSupportedVersionChanged: boolean;1589  readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1590  readonly isNotifyTargetSendFail: boolean;1591  readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1592  readonly isNotifyTargetMigrationFail: boolean;1593  readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1594  readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1595}15961597/** @name PhantomTypeUpDataStructs */1598export interface PhantomTypeUpDataStructs extends Vec<Lookup308> {}15991600/** @name PolkadotCorePrimitivesInboundDownwardMessage */1601export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1602  readonly sentAt: u32;1603  readonly msg: Bytes;1604}16051606/** @name PolkadotCorePrimitivesInboundHrmpMessage */1607export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1608  readonly sentAt: u32;1609  readonly data: Bytes;1610}16111612/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1613export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1614  readonly recipient: u32;1615  readonly data: Bytes;1616}16171618/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1619export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1620  readonly isConcatenatedVersionedXcm: boolean;1621  readonly isConcatenatedEncodedBlob: boolean;1622  readonly isSignals: boolean;1623  readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1624}16251626/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1627export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1628  readonly maxCodeSize: u32;1629  readonly maxHeadDataSize: u32;1630  readonly maxUpwardQueueCount: u32;1631  readonly maxUpwardQueueSize: u32;1632  readonly maxUpwardMessageSize: u32;1633  readonly maxUpwardMessageNumPerCandidate: u32;1634  readonly hrmpMaxMessageNumPerCandidate: u32;1635  readonly validationUpgradeCooldown: u32;1636  readonly validationUpgradeDelay: u32;1637}16381639/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1640export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1641  readonly maxCapacity: u32;1642  readonly maxTotalSize: u32;1643  readonly maxMessageSize: u32;1644  readonly msgCount: u32;1645  readonly totalSize: u32;1646  readonly mqcHead: Option<H256>;1647}16481649/** @name PolkadotPrimitivesV2PersistedValidationData */1650export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1651  readonly parentHead: Bytes;1652  readonly relayParentNumber: u32;1653  readonly relayParentStorageRoot: H256;1654  readonly maxPovSize: u32;1655}16561657/** @name PolkadotPrimitivesV2UpgradeRestriction */1658export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1659  readonly isPresent: boolean;1660  readonly type: 'Present';1661}16621663/** @name SpCoreEcdsaSignature */1664export interface SpCoreEcdsaSignature extends U8aFixed {}16651666/** @name SpCoreEd25519Signature */1667export interface SpCoreEd25519Signature extends U8aFixed {}16681669/** @name SpCoreSr25519Signature */1670export interface SpCoreSr25519Signature extends U8aFixed {}16711672/** @name SpRuntimeArithmeticError */1673export interface SpRuntimeArithmeticError extends Enum {1674  readonly isUnderflow: boolean;1675  readonly isOverflow: boolean;1676  readonly isDivisionByZero: boolean;1677  readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1678}16791680/** @name SpRuntimeDigest */1681export interface SpRuntimeDigest extends Struct {1682  readonly logs: Vec<SpRuntimeDigestDigestItem>;1683}16841685/** @name SpRuntimeDigestDigestItem */1686export interface SpRuntimeDigestDigestItem extends Enum {1687  readonly isOther: boolean;1688  readonly asOther: Bytes;1689  readonly isConsensus: boolean;1690  readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1691  readonly isSeal: boolean;1692  readonly asSeal: ITuple<[U8aFixed, Bytes]>;1693  readonly isPreRuntime: boolean;1694  readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1695  readonly isRuntimeEnvironmentUpdated: boolean;1696  readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1697}16981699/** @name SpRuntimeDispatchError */1700export interface SpRuntimeDispatchError extends Enum {1701  readonly isOther: boolean;1702  readonly isCannotLookup: boolean;1703  readonly isBadOrigin: boolean;1704  readonly isModule: boolean;1705  readonly asModule: SpRuntimeModuleError;1706  readonly isConsumerRemaining: boolean;1707  readonly isNoProviders: boolean;1708  readonly isTooManyConsumers: boolean;1709  readonly isToken: boolean;1710  readonly asToken: SpRuntimeTokenError;1711  readonly isArithmetic: boolean;1712  readonly asArithmetic: SpRuntimeArithmeticError;1713  readonly isTransactional: boolean;1714  readonly asTransactional: SpRuntimeTransactionalError;1715  readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1716}17171718/** @name SpRuntimeModuleError */1719export interface SpRuntimeModuleError extends Struct {1720  readonly index: u8;1721  readonly error: U8aFixed;1722}17231724/** @name SpRuntimeMultiSignature */1725export interface SpRuntimeMultiSignature extends Enum {1726  readonly isEd25519: boolean;1727  readonly asEd25519: SpCoreEd25519Signature;1728  readonly isSr25519: boolean;1729  readonly asSr25519: SpCoreSr25519Signature;1730  readonly isEcdsa: boolean;1731  readonly asEcdsa: SpCoreEcdsaSignature;1732  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1733}17341735/** @name SpRuntimeTokenError */1736export interface SpRuntimeTokenError extends Enum {1737  readonly isNoFunds: boolean;1738  readonly isWouldDie: boolean;1739  readonly isBelowMinimum: boolean;1740  readonly isCannotCreate: boolean;1741  readonly isUnknownAsset: boolean;1742  readonly isFrozen: boolean;1743  readonly isUnsupported: boolean;1744  readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1745}17461747/** @name SpRuntimeTransactionalError */1748export interface SpRuntimeTransactionalError extends Enum {1749  readonly isLimitReached: boolean;1750  readonly isNoLayer: boolean;1751  readonly type: 'LimitReached' | 'NoLayer';1752}17531754/** @name SpTrieStorageProof */1755export interface SpTrieStorageProof extends Struct {1756  readonly trieNodes: BTreeSet;1757}17581759/** @name SpVersionRuntimeVersion */1760export interface SpVersionRuntimeVersion extends Struct {1761  readonly specName: Text;1762  readonly implName: Text;1763  readonly authoringVersion: u32;1764  readonly specVersion: u32;1765  readonly implVersion: u32;1766  readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1767  readonly transactionVersion: u32;1768  readonly stateVersion: u8;1769}17701771/** @name UpDataStructsAccessMode */1772export interface UpDataStructsAccessMode extends Enum {1773  readonly isNormal: boolean;1774  readonly isAllowList: boolean;1775  readonly type: 'Normal' | 'AllowList';1776}17771778/** @name UpDataStructsCollection */1779export interface UpDataStructsCollection extends Struct {1780  readonly owner: AccountId32;1781  readonly mode: UpDataStructsCollectionMode;1782  readonly access: UpDataStructsAccessMode;1783  readonly name: Vec<u16>;1784  readonly description: Vec<u16>;1785  readonly tokenPrefix: Bytes;1786  readonly mintMode: bool;1787  readonly schemaVersion: UpDataStructsSchemaVersion;1788  readonly sponsorship: UpDataStructsSponsorshipState;1789  readonly limits: UpDataStructsCollectionLimits;1790  readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1791}17921793/** @name UpDataStructsCollectionField */1794export interface UpDataStructsCollectionField extends Enum {1795  readonly isVariableOnChainSchema: boolean;1796  readonly isConstOnChainSchema: boolean;1797  readonly isOffchainSchema: boolean;1798  readonly type: 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema';1799}18001801/** @name UpDataStructsCollectionLimits */1802export interface UpDataStructsCollectionLimits extends Struct {1803  readonly accountTokenOwnershipLimit: Option<u32>;1804  readonly sponsoredDataSize: Option<u32>;1805  readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1806  readonly tokenLimit: Option<u32>;1807  readonly sponsorTransferTimeout: Option<u32>;1808  readonly sponsorApproveTimeout: Option<u32>;1809  readonly ownerCanTransfer: Option<bool>;1810  readonly ownerCanDestroy: Option<bool>;1811  readonly transfersEnabled: Option<bool>;1812  readonly nestingRule: Option<UpDataStructsNestingRule>;1813}18141815/** @name UpDataStructsCollectionMode */1816export interface UpDataStructsCollectionMode extends Enum {1817  readonly isNft: boolean;1818  readonly isFungible: boolean;1819  readonly asFungible: u8;1820  readonly isReFungible: boolean;1821  readonly type: 'Nft' | 'Fungible' | 'ReFungible';1822}18231824/** @name UpDataStructsCollectionStats */1825export interface UpDataStructsCollectionStats extends Struct {1826  readonly created: u32;1827  readonly destroyed: u32;1828  readonly alive: u32;1829}18301831/** @name UpDataStructsCreateCollectionData */1832export interface UpDataStructsCreateCollectionData extends Struct {1833  readonly mode: UpDataStructsCollectionMode;1834  readonly access: Option<UpDataStructsAccessMode>;1835  readonly name: Vec<u16>;1836  readonly description: Vec<u16>;1837  readonly tokenPrefix: Bytes;1838  readonly offchainSchema: Bytes;1839  readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1840  readonly pendingSponsor: Option<AccountId32>;1841  readonly limits: Option<UpDataStructsCollectionLimits>;1842  readonly variableOnChainSchema: Bytes;1843  readonly constOnChainSchema: Bytes;1844  readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1845}18461847/** @name UpDataStructsCreateFungibleData */1848export interface UpDataStructsCreateFungibleData extends Struct {1849  readonly value: u128;1850}18511852/** @name UpDataStructsCreateItemData */1853export interface UpDataStructsCreateItemData extends Enum {1854  readonly isNft: boolean;1855  readonly asNft: UpDataStructsCreateNftData;1856  readonly isFungible: boolean;1857  readonly asFungible: UpDataStructsCreateFungibleData;1858  readonly isReFungible: boolean;1859  readonly asReFungible: UpDataStructsCreateReFungibleData;1860  readonly type: 'Nft' | 'Fungible' | 'ReFungible';1861}18621863/** @name UpDataStructsCreateItemExData */1864export interface UpDataStructsCreateItemExData extends Enum {1865  readonly isNft: boolean;1866  readonly asNft: Vec<UpDataStructsCreateNftExData>;1867  readonly isFungible: boolean;1868  readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;1869  readonly isRefungibleMultipleItems: boolean;1870  readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1871  readonly isRefungibleMultipleOwners: boolean;1872  readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1873  readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1874}18751876/** @name UpDataStructsCreateNftData */1877export interface UpDataStructsCreateNftData extends Struct {1878  readonly constData: Bytes;1879  readonly variableData: Bytes;1880}18811882/** @name UpDataStructsCreateNftExData */1883export interface UpDataStructsCreateNftExData extends Struct {1884  readonly constData: Bytes;1885  readonly variableData: Bytes;1886  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1887}18881889/** @name UpDataStructsCreateReFungibleData */1890export interface UpDataStructsCreateReFungibleData extends Struct {1891  readonly constData: Bytes;1892  readonly variableData: Bytes;1893  readonly pieces: u128;1894}18951896/** @name UpDataStructsCreateRefungibleExData */1897export interface UpDataStructsCreateRefungibleExData extends Struct {1898  readonly constData: Bytes;1899  readonly variableData: Bytes;1900  readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1901}19021903/** @name UpDataStructsMetaUpdatePermission */1904export interface UpDataStructsMetaUpdatePermission extends Enum {1905  readonly isItemOwner: boolean;1906  readonly isAdmin: boolean;1907  readonly isNone: boolean;1908  readonly type: 'ItemOwner' | 'Admin' | 'None';1909}19101911/** @name UpDataStructsNestingRule */1912export interface UpDataStructsNestingRule extends Enum {1913  readonly isDisabled: boolean;1914  readonly isOwner: boolean;1915  readonly isOwnerRestricted: boolean;1916  readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;1917  readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1918}19191920/** @name UpDataStructsRpcCollection */1921export interface UpDataStructsRpcCollection extends Struct {1922  readonly owner: AccountId32;1923  readonly mode: UpDataStructsCollectionMode;1924  readonly access: UpDataStructsAccessMode;1925  readonly name: Vec<u16>;1926  readonly description: Vec<u16>;1927  readonly tokenPrefix: Bytes;1928  readonly mintMode: bool;1929  readonly offchainSchema: Bytes;1930  readonly schemaVersion: UpDataStructsSchemaVersion;1931  readonly sponsorship: UpDataStructsSponsorshipState;1932  readonly limits: UpDataStructsCollectionLimits;1933  readonly variableOnChainSchema: Bytes;1934  readonly constOnChainSchema: Bytes;1935  readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1936}19371938/** @name UpDataStructsSchemaVersion */1939export interface UpDataStructsSchemaVersion extends Enum {1940  readonly isImageURL: boolean;1941  readonly isUnique: boolean;1942  readonly type: 'ImageURL' | 'Unique';1943}19441945/** @name UpDataStructsSponsoringRateLimit */1946export interface UpDataStructsSponsoringRateLimit extends Enum {1947  readonly isSponsoringDisabled: boolean;1948  readonly isBlocks: boolean;1949  readonly asBlocks: u32;1950  readonly type: 'SponsoringDisabled' | 'Blocks';1951}19521953/** @name UpDataStructsSponsorshipState */1954export interface UpDataStructsSponsorshipState extends Enum {1955  readonly isDisabled: boolean;1956  readonly isUnconfirmed: boolean;1957  readonly asUnconfirmed: AccountId32;1958  readonly isConfirmed: boolean;1959  readonly asConfirmed: AccountId32;1960  readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';1961}19621963/** @name XcmDoubleEncoded */1964export interface XcmDoubleEncoded extends Struct {1965  readonly encoded: Bytes;1966}19671968/** @name XcmV0Junction */1969export interface XcmV0Junction extends Enum {1970  readonly isParent: boolean;1971  readonly isParachain: boolean;1972  readonly asParachain: Compact<u32>;1973  readonly isAccountId32: boolean;1974  readonly asAccountId32: {1975    readonly network: XcmV0JunctionNetworkId;1976    readonly id: U8aFixed;1977  } & Struct;1978  readonly isAccountIndex64: boolean;1979  readonly asAccountIndex64: {1980    readonly network: XcmV0JunctionNetworkId;1981    readonly index: Compact<u64>;1982  } & Struct;1983  readonly isAccountKey20: boolean;1984  readonly asAccountKey20: {1985    readonly network: XcmV0JunctionNetworkId;1986    readonly key: U8aFixed;1987  } & Struct;1988  readonly isPalletInstance: boolean;1989  readonly asPalletInstance: u8;1990  readonly isGeneralIndex: boolean;1991  readonly asGeneralIndex: Compact<u128>;1992  readonly isGeneralKey: boolean;1993  readonly asGeneralKey: Bytes;1994  readonly isOnlyChild: boolean;1995  readonly isPlurality: boolean;1996  readonly asPlurality: {1997    readonly id: XcmV0JunctionBodyId;1998    readonly part: XcmV0JunctionBodyPart;1999  } & Struct;2000  readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2001}20022003/** @name XcmV0JunctionBodyId */2004export interface XcmV0JunctionBodyId extends Enum {2005  readonly isUnit: boolean;2006  readonly isNamed: boolean;2007  readonly asNamed: Bytes;2008  readonly isIndex: boolean;2009  readonly asIndex: Compact<u32>;2010  readonly isExecutive: boolean;2011  readonly isTechnical: boolean;2012  readonly isLegislative: boolean;2013  readonly isJudicial: boolean;2014  readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2015}20162017/** @name XcmV0JunctionBodyPart */2018export interface XcmV0JunctionBodyPart extends Enum {2019  readonly isVoice: boolean;2020  readonly isMembers: boolean;2021  readonly asMembers: {2022    readonly count: Compact<u32>;2023  } & Struct;2024  readonly isFraction: boolean;2025  readonly asFraction: {2026    readonly nom: Compact<u32>;2027    readonly denom: Compact<u32>;2028  } & Struct;2029  readonly isAtLeastProportion: boolean;2030  readonly asAtLeastProportion: {2031    readonly nom: Compact<u32>;2032    readonly denom: Compact<u32>;2033  } & Struct;2034  readonly isMoreThanProportion: boolean;2035  readonly asMoreThanProportion: {2036    readonly nom: Compact<u32>;2037    readonly denom: Compact<u32>;2038  } & Struct;2039  readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2040}20412042/** @name XcmV0JunctionNetworkId */2043export interface XcmV0JunctionNetworkId extends Enum {2044  readonly isAny: boolean;2045  readonly isNamed: boolean;2046  readonly asNamed: Bytes;2047  readonly isPolkadot: boolean;2048  readonly isKusama: boolean;2049  readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2050}20512052/** @name XcmV0MultiAsset */2053export interface XcmV0MultiAsset extends Enum {2054  readonly isNone: boolean;2055  readonly isAll: boolean;2056  readonly isAllFungible: boolean;2057  readonly isAllNonFungible: boolean;2058  readonly isAllAbstractFungible: boolean;2059  readonly asAllAbstractFungible: {2060    readonly id: Bytes;2061  } & Struct;2062  readonly isAllAbstractNonFungible: boolean;2063  readonly asAllAbstractNonFungible: {2064    readonly class: Bytes;2065  } & Struct;2066  readonly isAllConcreteFungible: boolean;2067  readonly asAllConcreteFungible: {2068    readonly id: XcmV0MultiLocation;2069  } & Struct;2070  readonly isAllConcreteNonFungible: boolean;2071  readonly asAllConcreteNonFungible: {2072    readonly class: XcmV0MultiLocation;2073  } & Struct;2074  readonly isAbstractFungible: boolean;2075  readonly asAbstractFungible: {2076    readonly id: Bytes;2077    readonly amount: Compact<u128>;2078  } & Struct;2079  readonly isAbstractNonFungible: boolean;2080  readonly asAbstractNonFungible: {2081    readonly class: Bytes;2082    readonly instance: XcmV1MultiassetAssetInstance;2083  } & Struct;2084  readonly isConcreteFungible: boolean;2085  readonly asConcreteFungible: {2086    readonly id: XcmV0MultiLocation;2087    readonly amount: Compact<u128>;2088  } & Struct;2089  readonly isConcreteNonFungible: boolean;2090  readonly asConcreteNonFungible: {2091    readonly class: XcmV0MultiLocation;2092    readonly instance: XcmV1MultiassetAssetInstance;2093  } & Struct;2094  readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2095}20962097/** @name XcmV0MultiLocation */2098export interface XcmV0MultiLocation extends Enum {2099  readonly isNull: boolean;2100  readonly isX1: boolean;2101  readonly asX1: XcmV0Junction;2102  readonly isX2: boolean;2103  readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2104  readonly isX3: boolean;2105  readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2106  readonly isX4: boolean;2107  readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2108  readonly isX5: boolean;2109  readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2110  readonly isX6: boolean;2111  readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2112  readonly isX7: boolean;2113  readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2114  readonly isX8: boolean;2115  readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2116  readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2117}21182119/** @name XcmV0Order */2120export interface XcmV0Order extends Enum {2121  readonly isNull: boolean;2122  readonly isDepositAsset: boolean;2123  readonly asDepositAsset: {2124    readonly assets: Vec<XcmV0MultiAsset>;2125    readonly dest: XcmV0MultiLocation;2126  } & Struct;2127  readonly isDepositReserveAsset: boolean;2128  readonly asDepositReserveAsset: {2129    readonly assets: Vec<XcmV0MultiAsset>;2130    readonly dest: XcmV0MultiLocation;2131    readonly effects: Vec<XcmV0Order>;2132  } & Struct;2133  readonly isExchangeAsset: boolean;2134  readonly asExchangeAsset: {2135    readonly give: Vec<XcmV0MultiAsset>;2136    readonly receive: Vec<XcmV0MultiAsset>;2137  } & Struct;2138  readonly isInitiateReserveWithdraw: boolean;2139  readonly asInitiateReserveWithdraw: {2140    readonly assets: Vec<XcmV0MultiAsset>;2141    readonly reserve: XcmV0MultiLocation;2142    readonly effects: Vec<XcmV0Order>;2143  } & Struct;2144  readonly isInitiateTeleport: boolean;2145  readonly asInitiateTeleport: {2146    readonly assets: Vec<XcmV0MultiAsset>;2147    readonly dest: XcmV0MultiLocation;2148    readonly effects: Vec<XcmV0Order>;2149  } & Struct;2150  readonly isQueryHolding: boolean;2151  readonly asQueryHolding: {2152    readonly queryId: Compact<u64>;2153    readonly dest: XcmV0MultiLocation;2154    readonly assets: Vec<XcmV0MultiAsset>;2155  } & Struct;2156  readonly isBuyExecution: boolean;2157  readonly asBuyExecution: {2158    readonly fees: XcmV0MultiAsset;2159    readonly weight: u64;2160    readonly debt: u64;2161    readonly haltOnError: bool;2162    readonly xcm: Vec<XcmV0Xcm>;2163  } & Struct;2164  readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2165}21662167/** @name XcmV0OriginKind */2168export interface XcmV0OriginKind extends Enum {2169  readonly isNative: boolean;2170  readonly isSovereignAccount: boolean;2171  readonly isSuperuser: boolean;2172  readonly isXcm: boolean;2173  readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2174}21752176/** @name XcmV0Response */2177export interface XcmV0Response extends Enum {2178  readonly isAssets: boolean;2179  readonly asAssets: Vec<XcmV0MultiAsset>;2180  readonly type: 'Assets';2181}21822183/** @name XcmV0Xcm */2184export interface XcmV0Xcm extends Enum {2185  readonly isWithdrawAsset: boolean;2186  readonly asWithdrawAsset: {2187    readonly assets: Vec<XcmV0MultiAsset>;2188    readonly effects: Vec<XcmV0Order>;2189  } & Struct;2190  readonly isReserveAssetDeposit: boolean;2191  readonly asReserveAssetDeposit: {2192    readonly assets: Vec<XcmV0MultiAsset>;2193    readonly effects: Vec<XcmV0Order>;2194  } & Struct;2195  readonly isTeleportAsset: boolean;2196  readonly asTeleportAsset: {2197    readonly assets: Vec<XcmV0MultiAsset>;2198    readonly effects: Vec<XcmV0Order>;2199  } & Struct;2200  readonly isQueryResponse: boolean;2201  readonly asQueryResponse: {2202    readonly queryId: Compact<u64>;2203    readonly response: XcmV0Response;2204  } & Struct;2205  readonly isTransferAsset: boolean;2206  readonly asTransferAsset: {2207    readonly assets: Vec<XcmV0MultiAsset>;2208    readonly dest: XcmV0MultiLocation;2209  } & Struct;2210  readonly isTransferReserveAsset: boolean;2211  readonly asTransferReserveAsset: {2212    readonly assets: Vec<XcmV0MultiAsset>;2213    readonly dest: XcmV0MultiLocation;2214    readonly effects: Vec<XcmV0Order>;2215  } & Struct;2216  readonly isTransact: boolean;2217  readonly asTransact: {2218    readonly originType: XcmV0OriginKind;2219    readonly requireWeightAtMost: u64;2220    readonly call: XcmDoubleEncoded;2221  } & Struct;2222  readonly isHrmpNewChannelOpenRequest: boolean;2223  readonly asHrmpNewChannelOpenRequest: {2224    readonly sender: Compact<u32>;2225    readonly maxMessageSize: Compact<u32>;2226    readonly maxCapacity: Compact<u32>;2227  } & Struct;2228  readonly isHrmpChannelAccepted: boolean;2229  readonly asHrmpChannelAccepted: {2230    readonly recipient: Compact<u32>;2231  } & Struct;2232  readonly isHrmpChannelClosing: boolean;2233  readonly asHrmpChannelClosing: {2234    readonly initiator: Compact<u32>;2235    readonly sender: Compact<u32>;2236    readonly recipient: Compact<u32>;2237  } & Struct;2238  readonly isRelayedFrom: boolean;2239  readonly asRelayedFrom: {2240    readonly who: XcmV0MultiLocation;2241    readonly message: XcmV0Xcm;2242  } & Struct;2243  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2244}22452246/** @name XcmV1Junction */2247export interface XcmV1Junction extends Enum {2248  readonly isParachain: boolean;2249  readonly asParachain: Compact<u32>;2250  readonly isAccountId32: boolean;2251  readonly asAccountId32: {2252    readonly network: XcmV0JunctionNetworkId;2253    readonly id: U8aFixed;2254  } & Struct;2255  readonly isAccountIndex64: boolean;2256  readonly asAccountIndex64: {2257    readonly network: XcmV0JunctionNetworkId;2258    readonly index: Compact<u64>;2259  } & Struct;2260  readonly isAccountKey20: boolean;2261  readonly asAccountKey20: {2262    readonly network: XcmV0JunctionNetworkId;2263    readonly key: U8aFixed;2264  } & Struct;2265  readonly isPalletInstance: boolean;2266  readonly asPalletInstance: u8;2267  readonly isGeneralIndex: boolean;2268  readonly asGeneralIndex: Compact<u128>;2269  readonly isGeneralKey: boolean;2270  readonly asGeneralKey: Bytes;2271  readonly isOnlyChild: boolean;2272  readonly isPlurality: boolean;2273  readonly asPlurality: {2274    readonly id: XcmV0JunctionBodyId;2275    readonly part: XcmV0JunctionBodyPart;2276  } & Struct;2277  readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2278}22792280/** @name XcmV1MultiAsset */2281export interface XcmV1MultiAsset extends Struct {2282  readonly id: XcmV1MultiassetAssetId;2283  readonly fun: XcmV1MultiassetFungibility;2284}22852286/** @name XcmV1MultiassetAssetId */2287export interface XcmV1MultiassetAssetId extends Enum {2288  readonly isConcrete: boolean;2289  readonly asConcrete: XcmV1MultiLocation;2290  readonly isAbstract: boolean;2291  readonly asAbstract: Bytes;2292  readonly type: 'Concrete' | 'Abstract';2293}22942295/** @name XcmV1MultiassetAssetInstance */2296export interface XcmV1MultiassetAssetInstance extends Enum {2297  readonly isUndefined: boolean;2298  readonly isIndex: boolean;2299  readonly asIndex: Compact<u128>;2300  readonly isArray4: boolean;2301  readonly asArray4: U8aFixed;2302  readonly isArray8: boolean;2303  readonly asArray8: U8aFixed;2304  readonly isArray16: boolean;2305  readonly asArray16: U8aFixed;2306  readonly isArray32: boolean;2307  readonly asArray32: U8aFixed;2308  readonly isBlob: boolean;2309  readonly asBlob: Bytes;2310  readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2311}23122313/** @name XcmV1MultiassetFungibility */2314export interface XcmV1MultiassetFungibility extends Enum {2315  readonly isFungible: boolean;2316  readonly asFungible: Compact<u128>;2317  readonly isNonFungible: boolean;2318  readonly asNonFungible: XcmV1MultiassetAssetInstance;2319  readonly type: 'Fungible' | 'NonFungible';2320}23212322/** @name XcmV1MultiassetMultiAssetFilter */2323export interface XcmV1MultiassetMultiAssetFilter extends Enum {2324  readonly isDefinite: boolean;2325  readonly asDefinite: XcmV1MultiassetMultiAssets;2326  readonly isWild: boolean;2327  readonly asWild: XcmV1MultiassetWildMultiAsset;2328  readonly type: 'Definite' | 'Wild';2329}23302331/** @name XcmV1MultiassetMultiAssets */2332export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}23332334/** @name XcmV1MultiassetWildFungibility */2335export interface XcmV1MultiassetWildFungibility extends Enum {2336  readonly isFungible: boolean;2337  readonly isNonFungible: boolean;2338  readonly type: 'Fungible' | 'NonFungible';2339}23402341/** @name XcmV1MultiassetWildMultiAsset */2342export interface XcmV1MultiassetWildMultiAsset extends Enum {2343  readonly isAll: boolean;2344  readonly isAllOf: boolean;2345  readonly asAllOf: {2346    readonly id: XcmV1MultiassetAssetId;2347    readonly fun: XcmV1MultiassetWildFungibility;2348  } & Struct;2349  readonly type: 'All' | 'AllOf';2350}23512352/** @name XcmV1MultiLocation */2353export interface XcmV1MultiLocation extends Struct {2354  readonly parents: u8;2355  readonly interior: XcmV1MultilocationJunctions;2356}23572358/** @name XcmV1MultilocationJunctions */2359export interface XcmV1MultilocationJunctions extends Enum {2360  readonly isHere: boolean;2361  readonly isX1: boolean;2362  readonly asX1: XcmV1Junction;2363  readonly isX2: boolean;2364  readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2365  readonly isX3: boolean;2366  readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2367  readonly isX4: boolean;2368  readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2369  readonly isX5: boolean;2370  readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2371  readonly isX6: boolean;2372  readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2373  readonly isX7: boolean;2374  readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2375  readonly isX8: boolean;2376  readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2377  readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2378}23792380/** @name XcmV1Order */2381export interface XcmV1Order extends Enum {2382  readonly isNoop: boolean;2383  readonly isDepositAsset: boolean;2384  readonly asDepositAsset: {2385    readonly assets: XcmV1MultiassetMultiAssetFilter;2386    readonly maxAssets: u32;2387    readonly beneficiary: XcmV1MultiLocation;2388  } & Struct;2389  readonly isDepositReserveAsset: boolean;2390  readonly asDepositReserveAsset: {2391    readonly assets: XcmV1MultiassetMultiAssetFilter;2392    readonly maxAssets: u32;2393    readonly dest: XcmV1MultiLocation;2394    readonly effects: Vec<XcmV1Order>;2395  } & Struct;2396  readonly isExchangeAsset: boolean;2397  readonly asExchangeAsset: {2398    readonly give: XcmV1MultiassetMultiAssetFilter;2399    readonly receive: XcmV1MultiassetMultiAssets;2400  } & Struct;2401  readonly isInitiateReserveWithdraw: boolean;2402  readonly asInitiateReserveWithdraw: {2403    readonly assets: XcmV1MultiassetMultiAssetFilter;2404    readonly reserve: XcmV1MultiLocation;2405    readonly effects: Vec<XcmV1Order>;2406  } & Struct;2407  readonly isInitiateTeleport: boolean;2408  readonly asInitiateTeleport: {2409    readonly assets: XcmV1MultiassetMultiAssetFilter;2410    readonly dest: XcmV1MultiLocation;2411    readonly effects: Vec<XcmV1Order>;2412  } & Struct;2413  readonly isQueryHolding: boolean;2414  readonly asQueryHolding: {2415    readonly queryId: Compact<u64>;2416    readonly dest: XcmV1MultiLocation;2417    readonly assets: XcmV1MultiassetMultiAssetFilter;2418  } & Struct;2419  readonly isBuyExecution: boolean;2420  readonly asBuyExecution: {2421    readonly fees: XcmV1MultiAsset;2422    readonly weight: u64;2423    readonly debt: u64;2424    readonly haltOnError: bool;2425    readonly instructions: Vec<XcmV1Xcm>;2426  } & Struct;2427  readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2428}24292430/** @name XcmV1Response */2431export interface XcmV1Response extends Enum {2432  readonly isAssets: boolean;2433  readonly asAssets: XcmV1MultiassetMultiAssets;2434  readonly isVersion: boolean;2435  readonly asVersion: u32;2436  readonly type: 'Assets' | 'Version';2437}24382439/** @name XcmV1Xcm */2440export interface XcmV1Xcm extends Enum {2441  readonly isWithdrawAsset: boolean;2442  readonly asWithdrawAsset: {2443    readonly assets: XcmV1MultiassetMultiAssets;2444    readonly effects: Vec<XcmV1Order>;2445  } & Struct;2446  readonly isReserveAssetDeposited: boolean;2447  readonly asReserveAssetDeposited: {2448    readonly assets: XcmV1MultiassetMultiAssets;2449    readonly effects: Vec<XcmV1Order>;2450  } & Struct;2451  readonly isReceiveTeleportedAsset: boolean;2452  readonly asReceiveTeleportedAsset: {2453    readonly assets: XcmV1MultiassetMultiAssets;2454    readonly effects: Vec<XcmV1Order>;2455  } & Struct;2456  readonly isQueryResponse: boolean;2457  readonly asQueryResponse: {2458    readonly queryId: Compact<u64>;2459    readonly response: XcmV1Response;2460  } & Struct;2461  readonly isTransferAsset: boolean;2462  readonly asTransferAsset: {2463    readonly assets: XcmV1MultiassetMultiAssets;2464    readonly beneficiary: XcmV1MultiLocation;2465  } & Struct;2466  readonly isTransferReserveAsset: boolean;2467  readonly asTransferReserveAsset: {2468    readonly assets: XcmV1MultiassetMultiAssets;2469    readonly dest: XcmV1MultiLocation;2470    readonly effects: Vec<XcmV1Order>;2471  } & Struct;2472  readonly isTransact: boolean;2473  readonly asTransact: {2474    readonly originType: XcmV0OriginKind;2475    readonly requireWeightAtMost: u64;2476    readonly call: XcmDoubleEncoded;2477  } & Struct;2478  readonly isHrmpNewChannelOpenRequest: boolean;2479  readonly asHrmpNewChannelOpenRequest: {2480    readonly sender: Compact<u32>;2481    readonly maxMessageSize: Compact<u32>;2482    readonly maxCapacity: Compact<u32>;2483  } & Struct;2484  readonly isHrmpChannelAccepted: boolean;2485  readonly asHrmpChannelAccepted: {2486    readonly recipient: Compact<u32>;2487  } & Struct;2488  readonly isHrmpChannelClosing: boolean;2489  readonly asHrmpChannelClosing: {2490    readonly initiator: Compact<u32>;2491    readonly sender: Compact<u32>;2492    readonly recipient: Compact<u32>;2493  } & Struct;2494  readonly isRelayedFrom: boolean;2495  readonly asRelayedFrom: {2496    readonly who: XcmV1MultilocationJunctions;2497    readonly message: XcmV1Xcm;2498  } & Struct;2499  readonly isSubscribeVersion: boolean;2500  readonly asSubscribeVersion: {2501    readonly queryId: Compact<u64>;2502    readonly maxResponseWeight: Compact<u64>;2503  } & Struct;2504  readonly isUnsubscribeVersion: boolean;2505  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2506}25072508/** @name XcmV2Instruction */2509export interface XcmV2Instruction extends Enum {2510  readonly isWithdrawAsset: boolean;2511  readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2512  readonly isReserveAssetDeposited: boolean;2513  readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2514  readonly isReceiveTeleportedAsset: boolean;2515  readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2516  readonly isQueryResponse: boolean;2517  readonly asQueryResponse: {2518    readonly queryId: Compact<u64>;2519    readonly response: XcmV2Response;2520    readonly maxWeight: Compact<u64>;2521  } & Struct;2522  readonly isTransferAsset: boolean;2523  readonly asTransferAsset: {2524    readonly assets: XcmV1MultiassetMultiAssets;2525    readonly beneficiary: XcmV1MultiLocation;2526  } & Struct;2527  readonly isTransferReserveAsset: boolean;2528  readonly asTransferReserveAsset: {2529    readonly assets: XcmV1MultiassetMultiAssets;2530    readonly dest: XcmV1MultiLocation;2531    readonly xcm: XcmV2Xcm;2532  } & Struct;2533  readonly isTransact: boolean;2534  readonly asTransact: {2535    readonly originType: XcmV0OriginKind;2536    readonly requireWeightAtMost: Compact<u64>;2537    readonly call: XcmDoubleEncoded;2538  } & Struct;2539  readonly isHrmpNewChannelOpenRequest: boolean;2540  readonly asHrmpNewChannelOpenRequest: {2541    readonly sender: Compact<u32>;2542    readonly maxMessageSize: Compact<u32>;2543    readonly maxCapacity: Compact<u32>;2544  } & Struct;2545  readonly isHrmpChannelAccepted: boolean;2546  readonly asHrmpChannelAccepted: {2547    readonly recipient: Compact<u32>;2548  } & Struct;2549  readonly isHrmpChannelClosing: boolean;2550  readonly asHrmpChannelClosing: {2551    readonly initiator: Compact<u32>;2552    readonly sender: Compact<u32>;2553    readonly recipient: Compact<u32>;2554  } & Struct;2555  readonly isClearOrigin: boolean;2556  readonly isDescendOrigin: boolean;2557  readonly asDescendOrigin: XcmV1MultilocationJunctions;2558  readonly isReportError: boolean;2559  readonly asReportError: {2560    readonly queryId: Compact<u64>;2561    readonly dest: XcmV1MultiLocation;2562    readonly maxResponseWeight: Compact<u64>;2563  } & Struct;2564  readonly isDepositAsset: boolean;2565  readonly asDepositAsset: {2566    readonly assets: XcmV1MultiassetMultiAssetFilter;2567    readonly maxAssets: Compact<u32>;2568    readonly beneficiary: XcmV1MultiLocation;2569  } & Struct;2570  readonly isDepositReserveAsset: boolean;2571  readonly asDepositReserveAsset: {2572    readonly assets: XcmV1MultiassetMultiAssetFilter;2573    readonly maxAssets: Compact<u32>;2574    readonly dest: XcmV1MultiLocation;2575    readonly xcm: XcmV2Xcm;2576  } & Struct;2577  readonly isExchangeAsset: boolean;2578  readonly asExchangeAsset: {2579    readonly give: XcmV1MultiassetMultiAssetFilter;2580    readonly receive: XcmV1MultiassetMultiAssets;2581  } & Struct;2582  readonly isInitiateReserveWithdraw: boolean;2583  readonly asInitiateReserveWithdraw: {2584    readonly assets: XcmV1MultiassetMultiAssetFilter;2585    readonly reserve: XcmV1MultiLocation;2586    readonly xcm: XcmV2Xcm;2587  } & Struct;2588  readonly isInitiateTeleport: boolean;2589  readonly asInitiateTeleport: {2590    readonly assets: XcmV1MultiassetMultiAssetFilter;2591    readonly dest: XcmV1MultiLocation;2592    readonly xcm: XcmV2Xcm;2593  } & Struct;2594  readonly isQueryHolding: boolean;2595  readonly asQueryHolding: {2596    readonly queryId: Compact<u64>;2597    readonly dest: XcmV1MultiLocation;2598    readonly assets: XcmV1MultiassetMultiAssetFilter;2599    readonly maxResponseWeight: Compact<u64>;2600  } & Struct;2601  readonly isBuyExecution: boolean;2602  readonly asBuyExecution: {2603    readonly fees: XcmV1MultiAsset;2604    readonly weightLimit: XcmV2WeightLimit;2605  } & Struct;2606  readonly isRefundSurplus: boolean;2607  readonly isSetErrorHandler: boolean;2608  readonly asSetErrorHandler: XcmV2Xcm;2609  readonly isSetAppendix: boolean;2610  readonly asSetAppendix: XcmV2Xcm;2611  readonly isClearError: boolean;2612  readonly isClaimAsset: boolean;2613  readonly asClaimAsset: {2614    readonly assets: XcmV1MultiassetMultiAssets;2615    readonly ticket: XcmV1MultiLocation;2616  } & Struct;2617  readonly isTrap: boolean;2618  readonly asTrap: Compact<u64>;2619  readonly isSubscribeVersion: boolean;2620  readonly asSubscribeVersion: {2621    readonly queryId: Compact<u64>;2622    readonly maxResponseWeight: Compact<u64>;2623  } & Struct;2624  readonly isUnsubscribeVersion: boolean;2625  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';2626}26272628/** @name XcmV2Response */2629export interface XcmV2Response extends Enum {2630  readonly isNull: boolean;2631  readonly isAssets: boolean;2632  readonly asAssets: XcmV1MultiassetMultiAssets;2633  readonly isExecutionResult: boolean;2634  readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2635  readonly isVersion: boolean;2636  readonly asVersion: u32;2637  readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2638}26392640/** @name XcmV2TraitsError */2641export interface XcmV2TraitsError extends Enum {2642  readonly isOverflow: boolean;2643  readonly isUnimplemented: boolean;2644  readonly isUntrustedReserveLocation: boolean;2645  readonly isUntrustedTeleportLocation: boolean;2646  readonly isMultiLocationFull: boolean;2647  readonly isMultiLocationNotInvertible: boolean;2648  readonly isBadOrigin: boolean;2649  readonly isInvalidLocation: boolean;2650  readonly isAssetNotFound: boolean;2651  readonly isFailedToTransactAsset: boolean;2652  readonly isNotWithdrawable: boolean;2653  readonly isLocationCannotHold: boolean;2654  readonly isExceedsMaxMessageSize: boolean;2655  readonly isDestinationUnsupported: boolean;2656  readonly isTransport: boolean;2657  readonly isUnroutable: boolean;2658  readonly isUnknownClaim: boolean;2659  readonly isFailedToDecode: boolean;2660  readonly isMaxWeightInvalid: boolean;2661  readonly isNotHoldingFees: boolean;2662  readonly isTooExpensive: boolean;2663  readonly isTrap: boolean;2664  readonly asTrap: u64;2665  readonly isUnhandledXcmVersion: boolean;2666  readonly isWeightLimitReached: boolean;2667  readonly asWeightLimitReached: u64;2668  readonly isBarrier: boolean;2669  readonly isWeightNotComputable: boolean;2670  readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';2671}26722673/** @name XcmV2TraitsOutcome */2674export interface XcmV2TraitsOutcome extends Enum {2675  readonly isComplete: boolean;2676  readonly asComplete: u64;2677  readonly isIncomplete: boolean;2678  readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2679  readonly isError: boolean;2680  readonly asError: XcmV2TraitsError;2681  readonly type: 'Complete' | 'Incomplete' | 'Error';2682}26832684/** @name XcmV2WeightLimit */2685export interface XcmV2WeightLimit extends Enum {2686  readonly isUnlimited: boolean;2687  readonly isLimited: boolean;2688  readonly asLimited: Compact<u64>;2689  readonly type: 'Unlimited' | 'Limited';2690}26912692/** @name XcmV2Xcm */2693export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}26942695/** @name XcmVersionedMultiAssets */2696export interface XcmVersionedMultiAssets extends Enum {2697  readonly isV0: boolean;2698  readonly asV0: Vec<XcmV0MultiAsset>;2699  readonly isV1: boolean;2700  readonly asV1: XcmV1MultiassetMultiAssets;2701  readonly type: 'V0' | 'V1';2702}27032704/** @name XcmVersionedMultiLocation */2705export interface XcmVersionedMultiLocation extends Enum {2706  readonly isV0: boolean;2707  readonly asV0: XcmV0MultiLocation;2708  readonly isV1: boolean;2709  readonly asV1: XcmV1MultiLocation;2710  readonly type: 'V0' | 'V1';2711}27122713/** @name XcmVersionedXcm */2714export interface XcmVersionedXcm extends Enum {2715  readonly isV0: boolean;2716  readonly asV0: XcmV0Xcm;2717  readonly isV1: boolean;2718  readonly asV1: XcmV1Xcm;2719  readonly isV2: boolean;2720  readonly asV2: XcmV2Xcm;2721  readonly type: 'V0' | 'V1' | 'V2';2722}27232724export type PHANTOM_UNIQUE = 'unique';