difftreelog
fix(tests) update rmrk type definitions + regenerate types
in: master
11 files changed
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -81,6 +81,14 @@
**/
CollectionFieldSizeExceeded: AugmentedError<ApiType>;
/**
+ * Tried to access an external collection with an internal API
+ **/
+ CollectionIsExternal: AugmentedError<ApiType>;
+ /**
+ * Tried to access an internal collection with an external API
+ **/
+ CollectionIsInternal: AugmentedError<ApiType>;
+ /**
* Collection limit bounds per collection exceeded
**/
CollectionLimitBoundsExceeded: AugmentedError<ApiType>;
@@ -438,6 +446,9 @@
[key: string]: AugmentedError<ApiType>;
};
rmrkCore: {
+ CannotAcceptNonOwnedNft: AugmentedError<ApiType>;
+ CannotRejectNonOwnedNft: AugmentedError<ApiType>;
+ CannotSendToDescendentOrSelf: AugmentedError<ApiType>;
CollectionFullOrLocked: AugmentedError<ApiType>;
CollectionNotEmpty: AugmentedError<ApiType>;
CollectionUnknown: AugmentedError<ApiType>;
@@ -445,7 +456,10 @@
NftTypeEncodeError: AugmentedError<ApiType>;
NoAvailableCollectionId: AugmentedError<ApiType>;
NoAvailableNftId: AugmentedError<ApiType>;
+ NonTransferable: AugmentedError<ApiType>;
NoPermission: AugmentedError<ApiType>;
+ ResourceDoesntExist: AugmentedError<ApiType>;
+ ResourceNotPending: AugmentedError<ApiType>;
RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
/**
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -2,9 +2,9 @@
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
-import type { Bytes, Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';
+import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
+import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/events' {
export interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -401,10 +401,17 @@
CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;
CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;
IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;
+ NFTAccepted: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32]>;
NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
+ NFTRejected: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
+ NFTSent: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32, bool]>;
+ PrioritySet: AugmentedEvent<ApiType, [u32, u32]>;
PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
+ ResourceAccepted: AugmentedEvent<ApiType, [u32, u32]>;
ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;
+ ResourceRemoval: AugmentedEvent<ApiType, [u32, u32]>;
+ ResourceRemovalAccepted: AugmentedEvent<ApiType, [u32, u32]>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -417,7 +417,8 @@
};
rmrkCore: {
collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- collectionIndexMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ rmrkInernalCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -18,7 +18,7 @@
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
-import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
@@ -355,9 +355,13 @@
};
mmr: {
/**
+ * Generate MMR proof for the given leaf indices.
+ **/
+ generateBatchProof: AugmentedRpc<(leafIndices: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
+ /**
* Generate MMR proof for given leaf index.
**/
- generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
+ generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
};
net: {
/**
@@ -401,19 +405,19 @@
/**
* Get base info
**/
- base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkBaseInfo>>>;
+ base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsBaseBaseInfo>>>;
/**
* Get all Base's parts
**/
- baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPartType>>>;
+ baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPartPartType>>>;
/**
* Get collection by id
**/
- collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkCollectionInfo>>>;
+ collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsCollectionCollectionInfo>>>;
/**
* Get collection properties
**/
- collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
+ collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPropertyPropertyInfo>>>;
/**
* Get the latest created collection id
**/
@@ -421,15 +425,15 @@
/**
* Get NFT by collection id and NFT id
**/
- nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkNftInfo>>>;
+ nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsNftNftInfo>>>;
/**
* Get NFT children
**/
- nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkNftChild>>>;
+ nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsNftNftChild>>>;
/**
* Get NFT properties
**/
- nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
+ nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPropertyPropertyInfo>>>;
/**
* Get NFT resource priorities
**/
@@ -437,7 +441,7 @@
/**
* Get NFT resources
**/
- nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkResourceInfo>>>;
+ nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsResourceResourceInfo>>>;
/**
* Get Base's theme names
**/
@@ -445,7 +449,7 @@
/**
* Get Theme's keys values
**/
- themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkTheme>>>;
+ themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsTheme>>>;
};
rpc: {
/**
tests/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, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRmrkBasicResource, UpDataStructsRmrkComposableResource, UpDataStructsRmrkPartType, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -347,15 +347,22 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkCore: {
- addBasicResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: UpDataStructsRmrkBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, UpDataStructsRmrkBasicResource]>;
- addComposableResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: UpDataStructsRmrkComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, UpDataStructsRmrkComposableResource]>;
- addSlotResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: UpDataStructsRmrkSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, UpDataStructsRmrkSlotResource]>;
+ acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;
+ addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, RmrkTraitsResourceComposableResource]>;
+ addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;
burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes]>;
+ mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool]>;
+ rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;
setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;
/**
* Generic tx
@@ -363,8 +370,8 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkEquip: {
- createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<UpDataStructsRmrkPartType> | (UpDataStructsRmrkPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<UpDataStructsRmrkPartType>]>;
- themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: UpDataStructsRmrkTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsRmrkTheme]>;
+ createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;
+ themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -3,7 +3,7 @@
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, 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, PalletEthereumFakeTransactionFinalizer, 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, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRmrkAccountIdOrCollectionNftTuple, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkBasicResource, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkComposableResource, UpDataStructsRmrkEquippableList, UpDataStructsRmrkFixedPart, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkResourceTypes, UpDataStructsRmrkRoyaltyInfo, UpDataStructsRmrkSlotPart, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, UpDataStructsRmrkThemeProperty, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, 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 './default';
import type { Data, StorageKey } from '@polkadot/types';
-import type { 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 { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, 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';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -36,7 +36,7 @@
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
-import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
@@ -661,6 +661,7 @@
MetadataV14: MetadataV14;
MetadataV9: MetadataV9;
MigrationStatusResult: MigrationStatusResult;
+ MmrLeafBatchProof: MmrLeafBatchProof;
MmrLeafProof: MmrLeafProof;
MmrRootHash: MmrRootHash;
ModuleConstantMetadataV10: ModuleConstantMetadataV10;
@@ -727,6 +728,7 @@
OpenTipTip: OpenTipTip;
OpenTipTo225: OpenTipTo225;
OperatingMode: OperatingMode;
+ OptionBool: OptionBool;
Origin: Origin;
OriginCaller: OriginCaller;
OriginKindV0: OriginKindV0;
@@ -947,6 +949,24 @@
Retriable: Retriable;
RewardDestination: RewardDestination;
RewardPoint: RewardPoint;
+ RmrkTraitsBaseBaseInfo: RmrkTraitsBaseBaseInfo;
+ RmrkTraitsCollectionCollectionInfo: RmrkTraitsCollectionCollectionInfo;
+ RmrkTraitsNftAccountIdOrCollectionNftTuple: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ RmrkTraitsNftNftChild: RmrkTraitsNftNftChild;
+ RmrkTraitsNftNftInfo: RmrkTraitsNftNftInfo;
+ RmrkTraitsNftRoyaltyInfo: RmrkTraitsNftRoyaltyInfo;
+ RmrkTraitsPartEquippableList: RmrkTraitsPartEquippableList;
+ RmrkTraitsPartFixedPart: RmrkTraitsPartFixedPart;
+ RmrkTraitsPartPartType: RmrkTraitsPartPartType;
+ RmrkTraitsPartSlotPart: RmrkTraitsPartSlotPart;
+ RmrkTraitsPropertyPropertyInfo: RmrkTraitsPropertyPropertyInfo;
+ RmrkTraitsResourceBasicResource: RmrkTraitsResourceBasicResource;
+ RmrkTraitsResourceComposableResource: RmrkTraitsResourceComposableResource;
+ RmrkTraitsResourceResourceInfo: RmrkTraitsResourceResourceInfo;
+ RmrkTraitsResourceResourceTypes: RmrkTraitsResourceResourceTypes;
+ RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
+ RmrkTraitsTheme: RmrkTraitsTheme;
+ RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
RoundSnapshot: RoundSnapshot;
RoundState: RoundState;
RpcMethods: RpcMethods;
@@ -1193,24 +1213,6 @@
UpDataStructsProperty: UpDataStructsProperty;
UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;
UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
- UpDataStructsRmrkAccountIdOrCollectionNftTuple: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
- UpDataStructsRmrkBaseInfo: UpDataStructsRmrkBaseInfo;
- UpDataStructsRmrkBasicResource: UpDataStructsRmrkBasicResource;
- UpDataStructsRmrkCollectionInfo: UpDataStructsRmrkCollectionInfo;
- UpDataStructsRmrkComposableResource: UpDataStructsRmrkComposableResource;
- UpDataStructsRmrkEquippableList: UpDataStructsRmrkEquippableList;
- UpDataStructsRmrkFixedPart: UpDataStructsRmrkFixedPart;
- UpDataStructsRmrkNftChild: UpDataStructsRmrkNftChild;
- UpDataStructsRmrkNftInfo: UpDataStructsRmrkNftInfo;
- UpDataStructsRmrkPartType: UpDataStructsRmrkPartType;
- UpDataStructsRmrkPropertyInfo: UpDataStructsRmrkPropertyInfo;
- UpDataStructsRmrkResourceInfo: UpDataStructsRmrkResourceInfo;
- UpDataStructsRmrkResourceTypes: UpDataStructsRmrkResourceTypes;
- UpDataStructsRmrkRoyaltyInfo: UpDataStructsRmrkRoyaltyInfo;
- UpDataStructsRmrkSlotPart: UpDataStructsRmrkSlotPart;
- UpDataStructsRmrkSlotResource: UpDataStructsRmrkSlotResource;
- UpDataStructsRmrkTheme: UpDataStructsRmrkTheme;
- UpDataStructsRmrkThemeProperty: UpDataStructsRmrkThemeProperty;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, 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, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: U8aFixed;35 readonly isUnsupportedVersion: boolean;36 readonly asUnsupportedVersion: U8aFixed;37 readonly isExecutedDownward: boolean;38 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;39 readonly isWeightExhausted: boolean;40 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;41 readonly isOverweightEnqueued: boolean;42 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;43 readonly isOverweightServiced: boolean;44 readonly asOverweightServiced: ITuple<[u64, u64]>;45 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';46}4748/** @name CumulusPalletDmpQueuePageIndexData */49export interface CumulusPalletDmpQueuePageIndexData extends Struct {50 readonly beginUsed: u32;51 readonly endUsed: u32;52 readonly overweightCount: u64;53}5455/** @name CumulusPalletParachainSystemCall */56export interface CumulusPalletParachainSystemCall extends Enum {57 readonly isSetValidationData: boolean;58 readonly asSetValidationData: {59 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;60 } & Struct;61 readonly isSudoSendUpwardMessage: boolean;62 readonly asSudoSendUpwardMessage: {63 readonly message: Bytes;64 } & Struct;65 readonly isAuthorizeUpgrade: boolean;66 readonly asAuthorizeUpgrade: {67 readonly codeHash: H256;68 } & Struct;69 readonly isEnactAuthorizedUpgrade: boolean;70 readonly asEnactAuthorizedUpgrade: {71 readonly code: Bytes;72 } & Struct;73 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';74}7576/** @name CumulusPalletParachainSystemError */77export interface CumulusPalletParachainSystemError extends Enum {78 readonly isOverlappingUpgrades: boolean;79 readonly isProhibitedByPolkadot: boolean;80 readonly isTooBig: boolean;81 readonly isValidationDataNotAvailable: boolean;82 readonly isHostConfigurationNotAvailable: boolean;83 readonly isNotScheduled: boolean;84 readonly isNothingAuthorized: boolean;85 readonly isUnauthorized: boolean;86 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';87}8889/** @name CumulusPalletParachainSystemEvent */90export interface CumulusPalletParachainSystemEvent extends Enum {91 readonly isValidationFunctionStored: boolean;92 readonly isValidationFunctionApplied: boolean;93 readonly asValidationFunctionApplied: u32;94 readonly isValidationFunctionDiscarded: boolean;95 readonly isUpgradeAuthorized: boolean;96 readonly asUpgradeAuthorized: H256;97 readonly isDownwardMessagesReceived: boolean;98 readonly asDownwardMessagesReceived: u32;99 readonly isDownwardMessagesProcessed: boolean;100 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;101 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';102}103104/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */105export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {106 readonly dmqMqcHead: H256;107 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;108 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;109 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;110}111112/** @name CumulusPalletXcmCall */113export interface CumulusPalletXcmCall extends Null {}114115/** @name CumulusPalletXcmError */116export interface CumulusPalletXcmError extends Null {}117118/** @name CumulusPalletXcmEvent */119export interface CumulusPalletXcmEvent extends Enum {120 readonly isInvalidFormat: boolean;121 readonly asInvalidFormat: U8aFixed;122 readonly isUnsupportedVersion: boolean;123 readonly asUnsupportedVersion: U8aFixed;124 readonly isExecutedDownward: boolean;125 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;126 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';127}128129/** @name CumulusPalletXcmpQueueCall */130export interface CumulusPalletXcmpQueueCall extends Enum {131 readonly isServiceOverweight: boolean;132 readonly asServiceOverweight: {133 readonly index: u64;134 readonly weightLimit: u64;135 } & Struct;136 readonly isSuspendXcmExecution: boolean;137 readonly isResumeXcmExecution: boolean;138 readonly isUpdateSuspendThreshold: boolean;139 readonly asUpdateSuspendThreshold: {140 readonly new_: u32;141 } & Struct;142 readonly isUpdateDropThreshold: boolean;143 readonly asUpdateDropThreshold: {144 readonly new_: u32;145 } & Struct;146 readonly isUpdateResumeThreshold: boolean;147 readonly asUpdateResumeThreshold: {148 readonly new_: u32;149 } & Struct;150 readonly isUpdateThresholdWeight: boolean;151 readonly asUpdateThresholdWeight: {152 readonly new_: u64;153 } & Struct;154 readonly isUpdateWeightRestrictDecay: boolean;155 readonly asUpdateWeightRestrictDecay: {156 readonly new_: u64;157 } & Struct;158 readonly isUpdateXcmpMaxIndividualWeight: boolean;159 readonly asUpdateXcmpMaxIndividualWeight: {160 readonly new_: u64;161 } & Struct;162 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';163}164165/** @name CumulusPalletXcmpQueueError */166export interface CumulusPalletXcmpQueueError extends Enum {167 readonly isFailedToSend: boolean;168 readonly isBadXcmOrigin: boolean;169 readonly isBadXcm: boolean;170 readonly isBadOverweightIndex: boolean;171 readonly isWeightOverLimit: boolean;172 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';173}174175/** @name CumulusPalletXcmpQueueEvent */176export interface CumulusPalletXcmpQueueEvent extends Enum {177 readonly isSuccess: boolean;178 readonly asSuccess: Option<H256>;179 readonly isFail: boolean;180 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;181 readonly isBadVersion: boolean;182 readonly asBadVersion: Option<H256>;183 readonly isBadFormat: boolean;184 readonly asBadFormat: Option<H256>;185 readonly isUpwardMessageSent: boolean;186 readonly asUpwardMessageSent: Option<H256>;187 readonly isXcmpMessageSent: boolean;188 readonly asXcmpMessageSent: Option<H256>;189 readonly isOverweightEnqueued: boolean;190 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;191 readonly isOverweightServiced: boolean;192 readonly asOverweightServiced: ITuple<[u64, u64]>;193 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';194}195196/** @name CumulusPalletXcmpQueueInboundChannelDetails */197export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {198 readonly sender: u32;199 readonly state: CumulusPalletXcmpQueueInboundState;200 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;201}202203/** @name CumulusPalletXcmpQueueInboundState */204export interface CumulusPalletXcmpQueueInboundState extends Enum {205 readonly isOk: boolean;206 readonly isSuspended: boolean;207 readonly type: 'Ok' | 'Suspended';208}209210/** @name CumulusPalletXcmpQueueOutboundChannelDetails */211export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {212 readonly recipient: u32;213 readonly state: CumulusPalletXcmpQueueOutboundState;214 readonly signalsExist: bool;215 readonly firstIndex: u16;216 readonly lastIndex: u16;217}218219/** @name CumulusPalletXcmpQueueOutboundState */220export interface CumulusPalletXcmpQueueOutboundState extends Enum {221 readonly isOk: boolean;222 readonly isSuspended: boolean;223 readonly type: 'Ok' | 'Suspended';224}225226/** @name CumulusPalletXcmpQueueQueueConfigData */227export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {228 readonly suspendThreshold: u32;229 readonly dropThreshold: u32;230 readonly resumeThreshold: u32;231 readonly thresholdWeight: u64;232 readonly weightRestrictDecay: u64;233 readonly xcmpMaxIndividualWeight: u64;234}235236/** @name CumulusPrimitivesParachainInherentParachainInherentData */237export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {238 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;239 readonly relayChainState: SpTrieStorageProof;240 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;241 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;242}243244/** @name EthbloomBloom */245export interface EthbloomBloom extends U8aFixed {}246247/** @name EthereumBlock */248export interface EthereumBlock extends Struct {249 readonly header: EthereumHeader;250 readonly transactions: Vec<EthereumTransactionTransactionV2>;251 readonly ommers: Vec<EthereumHeader>;252}253254/** @name EthereumHeader */255export interface EthereumHeader extends Struct {256 readonly parentHash: H256;257 readonly ommersHash: H256;258 readonly beneficiary: H160;259 readonly stateRoot: H256;260 readonly transactionsRoot: H256;261 readonly receiptsRoot: H256;262 readonly logsBloom: EthbloomBloom;263 readonly difficulty: U256;264 readonly number: U256;265 readonly gasLimit: U256;266 readonly gasUsed: U256;267 readonly timestamp: u64;268 readonly extraData: Bytes;269 readonly mixHash: H256;270 readonly nonce: EthereumTypesHashH64;271}272273/** @name EthereumLog */274export interface EthereumLog extends Struct {275 readonly address: H160;276 readonly topics: Vec<H256>;277 readonly data: Bytes;278}279280/** @name EthereumReceiptEip658ReceiptData */281export interface EthereumReceiptEip658ReceiptData extends Struct {282 readonly statusCode: u8;283 readonly usedGas: U256;284 readonly logsBloom: EthbloomBloom;285 readonly logs: Vec<EthereumLog>;286}287288/** @name EthereumReceiptReceiptV3 */289export interface EthereumReceiptReceiptV3 extends Enum {290 readonly isLegacy: boolean;291 readonly asLegacy: EthereumReceiptEip658ReceiptData;292 readonly isEip2930: boolean;293 readonly asEip2930: EthereumReceiptEip658ReceiptData;294 readonly isEip1559: boolean;295 readonly asEip1559: EthereumReceiptEip658ReceiptData;296 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';297}298299/** @name EthereumTransactionAccessListItem */300export interface EthereumTransactionAccessListItem extends Struct {301 readonly address: H160;302 readonly storageKeys: Vec<H256>;303}304305/** @name EthereumTransactionEip1559Transaction */306export interface EthereumTransactionEip1559Transaction extends Struct {307 readonly chainId: u64;308 readonly nonce: U256;309 readonly maxPriorityFeePerGas: U256;310 readonly maxFeePerGas: U256;311 readonly gasLimit: U256;312 readonly action: EthereumTransactionTransactionAction;313 readonly value: U256;314 readonly input: Bytes;315 readonly accessList: Vec<EthereumTransactionAccessListItem>;316 readonly oddYParity: bool;317 readonly r: H256;318 readonly s: H256;319}320321/** @name EthereumTransactionEip2930Transaction */322export interface EthereumTransactionEip2930Transaction extends Struct {323 readonly chainId: u64;324 readonly nonce: U256;325 readonly gasPrice: U256;326 readonly gasLimit: U256;327 readonly action: EthereumTransactionTransactionAction;328 readonly value: U256;329 readonly input: Bytes;330 readonly accessList: Vec<EthereumTransactionAccessListItem>;331 readonly oddYParity: bool;332 readonly r: H256;333 readonly s: H256;334}335336/** @name EthereumTransactionLegacyTransaction */337export interface EthereumTransactionLegacyTransaction extends Struct {338 readonly nonce: U256;339 readonly gasPrice: U256;340 readonly gasLimit: U256;341 readonly action: EthereumTransactionTransactionAction;342 readonly value: U256;343 readonly input: Bytes;344 readonly signature: EthereumTransactionTransactionSignature;345}346347/** @name EthereumTransactionTransactionAction */348export interface EthereumTransactionTransactionAction extends Enum {349 readonly isCall: boolean;350 readonly asCall: H160;351 readonly isCreate: boolean;352 readonly type: 'Call' | 'Create';353}354355/** @name EthereumTransactionTransactionSignature */356export interface EthereumTransactionTransactionSignature extends Struct {357 readonly v: u64;358 readonly r: H256;359 readonly s: H256;360}361362/** @name EthereumTransactionTransactionV2 */363export interface EthereumTransactionTransactionV2 extends Enum {364 readonly isLegacy: boolean;365 readonly asLegacy: EthereumTransactionLegacyTransaction;366 readonly isEip2930: boolean;367 readonly asEip2930: EthereumTransactionEip2930Transaction;368 readonly isEip1559: boolean;369 readonly asEip1559: EthereumTransactionEip1559Transaction;370 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';371}372373/** @name EthereumTypesHashH64 */374export interface EthereumTypesHashH64 extends U8aFixed {}375376/** @name EvmCoreErrorExitError */377export interface EvmCoreErrorExitError extends Enum {378 readonly isStackUnderflow: boolean;379 readonly isStackOverflow: boolean;380 readonly isInvalidJump: boolean;381 readonly isInvalidRange: boolean;382 readonly isDesignatedInvalid: boolean;383 readonly isCallTooDeep: boolean;384 readonly isCreateCollision: boolean;385 readonly isCreateContractLimit: boolean;386 readonly isOutOfOffset: boolean;387 readonly isOutOfGas: boolean;388 readonly isOutOfFund: boolean;389 readonly isPcUnderflow: boolean;390 readonly isCreateEmpty: boolean;391 readonly isOther: boolean;392 readonly asOther: Text;393 readonly isInvalidCode: boolean;394 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';395}396397/** @name EvmCoreErrorExitFatal */398export interface EvmCoreErrorExitFatal extends Enum {399 readonly isNotSupported: boolean;400 readonly isUnhandledInterrupt: boolean;401 readonly isCallErrorAsFatal: boolean;402 readonly asCallErrorAsFatal: EvmCoreErrorExitError;403 readonly isOther: boolean;404 readonly asOther: Text;405 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';406}407408/** @name EvmCoreErrorExitReason */409export interface EvmCoreErrorExitReason extends Enum {410 readonly isSucceed: boolean;411 readonly asSucceed: EvmCoreErrorExitSucceed;412 readonly isError: boolean;413 readonly asError: EvmCoreErrorExitError;414 readonly isRevert: boolean;415 readonly asRevert: EvmCoreErrorExitRevert;416 readonly isFatal: boolean;417 readonly asFatal: EvmCoreErrorExitFatal;418 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';419}420421/** @name EvmCoreErrorExitRevert */422export interface EvmCoreErrorExitRevert extends Enum {423 readonly isReverted: boolean;424 readonly type: 'Reverted';425}426427/** @name EvmCoreErrorExitSucceed */428export interface EvmCoreErrorExitSucceed extends Enum {429 readonly isStopped: boolean;430 readonly isReturned: boolean;431 readonly isSuicided: boolean;432 readonly type: 'Stopped' | 'Returned' | 'Suicided';433}434435/** @name FpRpcTransactionStatus */436export interface FpRpcTransactionStatus extends Struct {437 readonly transactionHash: H256;438 readonly transactionIndex: u32;439 readonly from: H160;440 readonly to: Option<H160>;441 readonly contractAddress: Option<H160>;442 readonly logs: Vec<EthereumLog>;443 readonly logsBloom: EthbloomBloom;444}445446/** @name FrameSupportPalletId */447export interface FrameSupportPalletId extends U8aFixed {}448449/** @name FrameSupportTokensMiscBalanceStatus */450export interface FrameSupportTokensMiscBalanceStatus extends Enum {451 readonly isFree: boolean;452 readonly isReserved: boolean;453 readonly type: 'Free' | 'Reserved';454}455456/** @name FrameSupportWeightsDispatchClass */457export interface FrameSupportWeightsDispatchClass extends Enum {458 readonly isNormal: boolean;459 readonly isOperational: boolean;460 readonly isMandatory: boolean;461 readonly type: 'Normal' | 'Operational' | 'Mandatory';462}463464/** @name FrameSupportWeightsDispatchInfo */465export interface FrameSupportWeightsDispatchInfo extends Struct {466 readonly weight: u64;467 readonly class: FrameSupportWeightsDispatchClass;468 readonly paysFee: FrameSupportWeightsPays;469}470471/** @name FrameSupportWeightsPays */472export interface FrameSupportWeightsPays extends Enum {473 readonly isYes: boolean;474 readonly isNo: boolean;475 readonly type: 'Yes' | 'No';476}477478/** @name FrameSupportWeightsPerDispatchClassU32 */479export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {480 readonly normal: u32;481 readonly operational: u32;482 readonly mandatory: u32;483}484485/** @name FrameSupportWeightsPerDispatchClassU64 */486export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {487 readonly normal: u64;488 readonly operational: u64;489 readonly mandatory: u64;490}491492/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */493export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {494 readonly normal: FrameSystemLimitsWeightsPerClass;495 readonly operational: FrameSystemLimitsWeightsPerClass;496 readonly mandatory: FrameSystemLimitsWeightsPerClass;497}498499/** @name FrameSupportWeightsRuntimeDbWeight */500export interface FrameSupportWeightsRuntimeDbWeight extends Struct {501 readonly read: u64;502 readonly write: u64;503}504505/** @name FrameSupportWeightsWeightToFeeCoefficient */506export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {507 readonly coeffInteger: u128;508 readonly coeffFrac: Perbill;509 readonly negative: bool;510 readonly degree: u8;511}512513/** @name FrameSystemAccountInfo */514export interface FrameSystemAccountInfo extends Struct {515 readonly nonce: u32;516 readonly consumers: u32;517 readonly providers: u32;518 readonly sufficients: u32;519 readonly data: PalletBalancesAccountData;520}521522/** @name FrameSystemCall */523export interface FrameSystemCall extends Enum {524 readonly isFillBlock: boolean;525 readonly asFillBlock: {526 readonly ratio: Perbill;527 } & Struct;528 readonly isRemark: boolean;529 readonly asRemark: {530 readonly remark: Bytes;531 } & Struct;532 readonly isSetHeapPages: boolean;533 readonly asSetHeapPages: {534 readonly pages: u64;535 } & Struct;536 readonly isSetCode: boolean;537 readonly asSetCode: {538 readonly code: Bytes;539 } & Struct;540 readonly isSetCodeWithoutChecks: boolean;541 readonly asSetCodeWithoutChecks: {542 readonly code: Bytes;543 } & Struct;544 readonly isSetStorage: boolean;545 readonly asSetStorage: {546 readonly items: Vec<ITuple<[Bytes, Bytes]>>;547 } & Struct;548 readonly isKillStorage: boolean;549 readonly asKillStorage: {550 readonly keys_: Vec<Bytes>;551 } & Struct;552 readonly isKillPrefix: boolean;553 readonly asKillPrefix: {554 readonly prefix: Bytes;555 readonly subkeys: u32;556 } & Struct;557 readonly isRemarkWithEvent: boolean;558 readonly asRemarkWithEvent: {559 readonly remark: Bytes;560 } & Struct;561 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';562}563564/** @name FrameSystemError */565export interface FrameSystemError extends Enum {566 readonly isInvalidSpecName: boolean;567 readonly isSpecVersionNeedsToIncrease: boolean;568 readonly isFailedToExtractRuntimeVersion: boolean;569 readonly isNonDefaultComposite: boolean;570 readonly isNonZeroRefCount: boolean;571 readonly isCallFiltered: boolean;572 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';573}574575/** @name FrameSystemEvent */576export interface FrameSystemEvent extends Enum {577 readonly isExtrinsicSuccess: boolean;578 readonly asExtrinsicSuccess: {579 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;580 } & Struct;581 readonly isExtrinsicFailed: boolean;582 readonly asExtrinsicFailed: {583 readonly dispatchError: SpRuntimeDispatchError;584 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;585 } & Struct;586 readonly isCodeUpdated: boolean;587 readonly isNewAccount: boolean;588 readonly asNewAccount: {589 readonly account: AccountId32;590 } & Struct;591 readonly isKilledAccount: boolean;592 readonly asKilledAccount: {593 readonly account: AccountId32;594 } & Struct;595 readonly isRemarked: boolean;596 readonly asRemarked: {597 readonly sender: AccountId32;598 readonly hash_: H256;599 } & Struct;600 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';601}602603/** @name FrameSystemEventRecord */604export interface FrameSystemEventRecord extends Struct {605 readonly phase: FrameSystemPhase;606 readonly event: Event;607 readonly topics: Vec<H256>;608}609610/** @name FrameSystemExtensionsCheckGenesis */611export interface FrameSystemExtensionsCheckGenesis extends Null {}612613/** @name FrameSystemExtensionsCheckNonce */614export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}615616/** @name FrameSystemExtensionsCheckSpecVersion */617export interface FrameSystemExtensionsCheckSpecVersion extends Null {}618619/** @name FrameSystemExtensionsCheckWeight */620export interface FrameSystemExtensionsCheckWeight extends Null {}621622/** @name FrameSystemLastRuntimeUpgradeInfo */623export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {624 readonly specVersion: Compact<u32>;625 readonly specName: Text;626}627628/** @name FrameSystemLimitsBlockLength */629export interface FrameSystemLimitsBlockLength extends Struct {630 readonly max: FrameSupportWeightsPerDispatchClassU32;631}632633/** @name FrameSystemLimitsBlockWeights */634export interface FrameSystemLimitsBlockWeights extends Struct {635 readonly baseBlock: u64;636 readonly maxBlock: u64;637 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;638}639640/** @name FrameSystemLimitsWeightsPerClass */641export interface FrameSystemLimitsWeightsPerClass extends Struct {642 readonly baseExtrinsic: u64;643 readonly maxExtrinsic: Option<u64>;644 readonly maxTotal: Option<u64>;645 readonly reserved: Option<u64>;646}647648/** @name FrameSystemPhase */649export interface FrameSystemPhase extends Enum {650 readonly isApplyExtrinsic: boolean;651 readonly asApplyExtrinsic: u32;652 readonly isFinalization: boolean;653 readonly isInitialization: boolean;654 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';655}656657/** @name OpalRuntimeRuntime */658export interface OpalRuntimeRuntime extends Null {}659660/** @name OrmlVestingModuleCall */661export interface OrmlVestingModuleCall extends Enum {662 readonly isClaim: boolean;663 readonly isVestedTransfer: boolean;664 readonly asVestedTransfer: {665 readonly dest: MultiAddress;666 readonly schedule: OrmlVestingVestingSchedule;667 } & Struct;668 readonly isUpdateVestingSchedules: boolean;669 readonly asUpdateVestingSchedules: {670 readonly who: MultiAddress;671 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;672 } & Struct;673 readonly isClaimFor: boolean;674 readonly asClaimFor: {675 readonly dest: MultiAddress;676 } & Struct;677 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';678}679680/** @name OrmlVestingModuleError */681export interface OrmlVestingModuleError extends Enum {682 readonly isZeroVestingPeriod: boolean;683 readonly isZeroVestingPeriodCount: boolean;684 readonly isInsufficientBalanceToLock: boolean;685 readonly isTooManyVestingSchedules: boolean;686 readonly isAmountLow: boolean;687 readonly isMaxVestingSchedulesExceeded: boolean;688 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';689}690691/** @name OrmlVestingModuleEvent */692export interface OrmlVestingModuleEvent extends Enum {693 readonly isVestingScheduleAdded: boolean;694 readonly asVestingScheduleAdded: {695 readonly from: AccountId32;696 readonly to: AccountId32;697 readonly vestingSchedule: OrmlVestingVestingSchedule;698 } & Struct;699 readonly isClaimed: boolean;700 readonly asClaimed: {701 readonly who: AccountId32;702 readonly amount: u128;703 } & Struct;704 readonly isVestingSchedulesUpdated: boolean;705 readonly asVestingSchedulesUpdated: {706 readonly who: AccountId32;707 } & Struct;708 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';709}710711/** @name OrmlVestingVestingSchedule */712export interface OrmlVestingVestingSchedule extends Struct {713 readonly start: u32;714 readonly period: u32;715 readonly periodCount: u32;716 readonly perPeriod: Compact<u128>;717}718719/** @name PalletBalancesAccountData */720export interface PalletBalancesAccountData extends Struct {721 readonly free: u128;722 readonly reserved: u128;723 readonly miscFrozen: u128;724 readonly feeFrozen: u128;725}726727/** @name PalletBalancesBalanceLock */728export interface PalletBalancesBalanceLock extends Struct {729 readonly id: U8aFixed;730 readonly amount: u128;731 readonly reasons: PalletBalancesReasons;732}733734/** @name PalletBalancesCall */735export interface PalletBalancesCall extends Enum {736 readonly isTransfer: boolean;737 readonly asTransfer: {738 readonly dest: MultiAddress;739 readonly value: Compact<u128>;740 } & Struct;741 readonly isSetBalance: boolean;742 readonly asSetBalance: {743 readonly who: MultiAddress;744 readonly newFree: Compact<u128>;745 readonly newReserved: Compact<u128>;746 } & Struct;747 readonly isForceTransfer: boolean;748 readonly asForceTransfer: {749 readonly source: MultiAddress;750 readonly dest: MultiAddress;751 readonly value: Compact<u128>;752 } & Struct;753 readonly isTransferKeepAlive: boolean;754 readonly asTransferKeepAlive: {755 readonly dest: MultiAddress;756 readonly value: Compact<u128>;757 } & Struct;758 readonly isTransferAll: boolean;759 readonly asTransferAll: {760 readonly dest: MultiAddress;761 readonly keepAlive: bool;762 } & Struct;763 readonly isForceUnreserve: boolean;764 readonly asForceUnreserve: {765 readonly who: MultiAddress;766 readonly amount: u128;767 } & Struct;768 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';769}770771/** @name PalletBalancesError */772export interface PalletBalancesError extends Enum {773 readonly isVestingBalance: boolean;774 readonly isLiquidityRestrictions: boolean;775 readonly isInsufficientBalance: boolean;776 readonly isExistentialDeposit: boolean;777 readonly isKeepAlive: boolean;778 readonly isExistingVestingSchedule: boolean;779 readonly isDeadAccount: boolean;780 readonly isTooManyReserves: boolean;781 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';782}783784/** @name PalletBalancesEvent */785export interface PalletBalancesEvent extends Enum {786 readonly isEndowed: boolean;787 readonly asEndowed: {788 readonly account: AccountId32;789 readonly freeBalance: u128;790 } & Struct;791 readonly isDustLost: boolean;792 readonly asDustLost: {793 readonly account: AccountId32;794 readonly amount: u128;795 } & Struct;796 readonly isTransfer: boolean;797 readonly asTransfer: {798 readonly from: AccountId32;799 readonly to: AccountId32;800 readonly amount: u128;801 } & Struct;802 readonly isBalanceSet: boolean;803 readonly asBalanceSet: {804 readonly who: AccountId32;805 readonly free: u128;806 readonly reserved: u128;807 } & Struct;808 readonly isReserved: boolean;809 readonly asReserved: {810 readonly who: AccountId32;811 readonly amount: u128;812 } & Struct;813 readonly isUnreserved: boolean;814 readonly asUnreserved: {815 readonly who: AccountId32;816 readonly amount: u128;817 } & Struct;818 readonly isReserveRepatriated: boolean;819 readonly asReserveRepatriated: {820 readonly from: AccountId32;821 readonly to: AccountId32;822 readonly amount: u128;823 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;824 } & Struct;825 readonly isDeposit: boolean;826 readonly asDeposit: {827 readonly who: AccountId32;828 readonly amount: u128;829 } & Struct;830 readonly isWithdraw: boolean;831 readonly asWithdraw: {832 readonly who: AccountId32;833 readonly amount: u128;834 } & Struct;835 readonly isSlashed: boolean;836 readonly asSlashed: {837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';841}842843/** @name PalletBalancesReasons */844export interface PalletBalancesReasons extends Enum {845 readonly isFee: boolean;846 readonly isMisc: boolean;847 readonly isAll: boolean;848 readonly type: 'Fee' | 'Misc' | 'All';849}850851/** @name PalletBalancesReleases */852export interface PalletBalancesReleases extends Enum {853 readonly isV100: boolean;854 readonly isV200: boolean;855 readonly type: 'V100' | 'V200';856}857858/** @name PalletBalancesReserveData */859export interface PalletBalancesReserveData extends Struct {860 readonly id: U8aFixed;861 readonly amount: u128;862}863864/** @name PalletCommonError */865export interface PalletCommonError extends Enum {866 readonly isCollectionNotFound: boolean;867 readonly isMustBeTokenOwner: boolean;868 readonly isNoPermission: boolean;869 readonly isCantDestroyNotEmptyCollection: boolean;870 readonly isPublicMintingNotAllowed: boolean;871 readonly isAddressNotInAllowlist: boolean;872 readonly isCollectionNameLimitExceeded: boolean;873 readonly isCollectionDescriptionLimitExceeded: boolean;874 readonly isCollectionTokenPrefixLimitExceeded: boolean;875 readonly isTotalCollectionsLimitExceeded: boolean;876 readonly isCollectionAdminCountExceeded: boolean;877 readonly isCollectionLimitBoundsExceeded: boolean;878 readonly isOwnerPermissionsCantBeReverted: boolean;879 readonly isTransferNotAllowed: boolean;880 readonly isAccountTokenLimitExceeded: boolean;881 readonly isCollectionTokenLimitExceeded: boolean;882 readonly isMetadataFlagFrozen: boolean;883 readonly isTokenNotFound: boolean;884 readonly isTokenValueTooLow: boolean;885 readonly isApprovedValueTooLow: boolean;886 readonly isCantApproveMoreThanOwned: boolean;887 readonly isAddressIsZero: boolean;888 readonly isUnsupportedOperation: boolean;889 readonly isNotSufficientFounds: boolean;890 readonly isNestingIsDisabled: boolean;891 readonly isOnlyOwnerAllowedToNest: boolean;892 readonly isSourceCollectionIsNotAllowedToNest: boolean;893 readonly isCollectionFieldSizeExceeded: boolean;894 readonly isNoSpaceForProperty: boolean;895 readonly isPropertyLimitReached: boolean;896 readonly isPropertyKeyIsTooLong: boolean;897 readonly isInvalidCharacterInPropertyKey: boolean;898 readonly isEmptyPropertyKey: boolean;899 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';900}901902/** @name PalletCommonEvent */903export interface PalletCommonEvent extends Enum {904 readonly isCollectionCreated: boolean;905 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;906 readonly isCollectionDestroyed: boolean;907 readonly asCollectionDestroyed: u32;908 readonly isItemCreated: boolean;909 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;910 readonly isItemDestroyed: boolean;911 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;912 readonly isTransfer: boolean;913 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;914 readonly isApproved: boolean;915 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;916 readonly isCollectionPropertySet: boolean;917 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;918 readonly isCollectionPropertyDeleted: boolean;919 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;920 readonly isTokenPropertySet: boolean;921 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;922 readonly isTokenPropertyDeleted: boolean;923 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;924 readonly isPropertyPermissionSet: boolean;925 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;926 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';927}928929/** @name PalletEthereumCall */930export interface PalletEthereumCall extends Enum {931 readonly isTransact: boolean;932 readonly asTransact: {933 readonly transaction: EthereumTransactionTransactionV2;934 } & Struct;935 readonly type: 'Transact';936}937938/** @name PalletEthereumError */939export interface PalletEthereumError extends Enum {940 readonly isInvalidSignature: boolean;941 readonly isPreLogExists: boolean;942 readonly type: 'InvalidSignature' | 'PreLogExists';943}944945/** @name PalletEthereumEvent */946export interface PalletEthereumEvent extends Enum {947 readonly isExecuted: boolean;948 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;949 readonly type: 'Executed';950}951952/** @name PalletEthereumFakeTransactionFinalizer */953export interface PalletEthereumFakeTransactionFinalizer extends Null {}954955/** @name PalletEvmAccountBasicCrossAccountIdRepr */956export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {957 readonly isSubstrate: boolean;958 readonly asSubstrate: AccountId32;959 readonly isEthereum: boolean;960 readonly asEthereum: H160;961 readonly type: 'Substrate' | 'Ethereum';962}963964/** @name PalletEvmCall */965export interface PalletEvmCall extends Enum {966 readonly isWithdraw: boolean;967 readonly asWithdraw: {968 readonly address: H160;969 readonly value: u128;970 } & Struct;971 readonly isCall: boolean;972 readonly asCall: {973 readonly source: H160;974 readonly target: H160;975 readonly input: Bytes;976 readonly value: U256;977 readonly gasLimit: u64;978 readonly maxFeePerGas: U256;979 readonly maxPriorityFeePerGas: Option<U256>;980 readonly nonce: Option<U256>;981 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;982 } & Struct;983 readonly isCreate: boolean;984 readonly asCreate: {985 readonly source: H160;986 readonly init: Bytes;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 isCreate2: boolean;995 readonly asCreate2: {996 readonly source: H160;997 readonly init: Bytes;998 readonly salt: H256;999 readonly value: U256;1000 readonly gasLimit: u64;1001 readonly maxFeePerGas: U256;1002 readonly maxPriorityFeePerGas: Option<U256>;1003 readonly nonce: Option<U256>;1004 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1005 } & Struct;1006 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1007}10081009/** @name PalletEvmCoderSubstrateError */1010export interface PalletEvmCoderSubstrateError extends Enum {1011 readonly isOutOfGas: boolean;1012 readonly isOutOfFund: boolean;1013 readonly type: 'OutOfGas' | 'OutOfFund';1014}10151016/** @name PalletEvmContractHelpersError */1017export interface PalletEvmContractHelpersError extends Enum {1018 readonly isNoPermission: boolean;1019 readonly type: 'NoPermission';1020}10211022/** @name PalletEvmContractHelpersSponsoringModeT */1023export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1024 readonly isDisabled: boolean;1025 readonly isAllowlisted: boolean;1026 readonly isGenerous: boolean;1027 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1028}10291030/** @name PalletEvmError */1031export interface PalletEvmError extends Enum {1032 readonly isBalanceLow: boolean;1033 readonly isFeeOverflow: boolean;1034 readonly isPaymentOverflow: boolean;1035 readonly isWithdrawFailed: boolean;1036 readonly isGasPriceTooLow: boolean;1037 readonly isInvalidNonce: boolean;1038 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1039}10401041/** @name PalletEvmEvent */1042export interface PalletEvmEvent extends Enum {1043 readonly isLog: boolean;1044 readonly asLog: EthereumLog;1045 readonly isCreated: boolean;1046 readonly asCreated: H160;1047 readonly isCreatedFailed: boolean;1048 readonly asCreatedFailed: H160;1049 readonly isExecuted: boolean;1050 readonly asExecuted: H160;1051 readonly isExecutedFailed: boolean;1052 readonly asExecutedFailed: H160;1053 readonly isBalanceDeposit: boolean;1054 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1055 readonly isBalanceWithdraw: boolean;1056 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1057 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1058}10591060/** @name PalletEvmMigrationCall */1061export interface PalletEvmMigrationCall extends Enum {1062 readonly isBegin: boolean;1063 readonly asBegin: {1064 readonly address: H160;1065 } & Struct;1066 readonly isSetData: boolean;1067 readonly asSetData: {1068 readonly address: H160;1069 readonly data: Vec<ITuple<[H256, H256]>>;1070 } & Struct;1071 readonly isFinish: boolean;1072 readonly asFinish: {1073 readonly address: H160;1074 readonly code: Bytes;1075 } & Struct;1076 readonly type: 'Begin' | 'SetData' | 'Finish';1077}10781079/** @name PalletEvmMigrationError */1080export interface PalletEvmMigrationError extends Enum {1081 readonly isAccountNotEmpty: boolean;1082 readonly isAccountIsNotMigrating: boolean;1083 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1084}10851086/** @name PalletFungibleError */1087export interface PalletFungibleError extends Enum {1088 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1089 readonly isFungibleItemsHaveNoId: boolean;1090 readonly isFungibleItemsDontHaveData: boolean;1091 readonly isFungibleDisallowsNesting: boolean;1092 readonly isSettingPropertiesNotAllowed: boolean;1093 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1094}10951096/** @name PalletInflationCall */1097export interface PalletInflationCall extends Enum {1098 readonly isStartInflation: boolean;1099 readonly asStartInflation: {1100 readonly inflationStartRelayBlock: u32;1101 } & Struct;1102 readonly type: 'StartInflation';1103}11041105/** @name PalletNonfungibleError */1106export interface PalletNonfungibleError extends Enum {1107 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1108 readonly isNonfungibleItemsHaveNoAmount: boolean;1109 readonly isCantBurnNftWithChildren: boolean;1110 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1111}11121113/** @name PalletNonfungibleItemData */1114export interface PalletNonfungibleItemData extends Struct {1115 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1116}11171118/** @name PalletRefungibleError */1119export interface PalletRefungibleError extends Enum {1120 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1121 readonly isWrongRefungiblePieces: boolean;1122 readonly isRefungibleDisallowsNesting: boolean;1123 readonly isSettingPropertiesNotAllowed: boolean;1124 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1125}11261127/** @name PalletRefungibleItemData */1128export interface PalletRefungibleItemData extends Struct {1129 readonly constData: Bytes;1130}11311132/** @name PalletRmrkCoreCall */1133export interface PalletRmrkCoreCall extends Enum {1134 readonly isCreateCollection: boolean;1135 readonly asCreateCollection: {1136 readonly metadata: Bytes;1137 readonly max: Option<u32>;1138 readonly symbol: Bytes;1139 } & Struct;1140 readonly isDestroyCollection: boolean;1141 readonly asDestroyCollection: {1142 readonly collectionId: u32;1143 } & Struct;1144 readonly isChangeCollectionIssuer: boolean;1145 readonly asChangeCollectionIssuer: {1146 readonly collectionId: u32;1147 readonly newIssuer: MultiAddress;1148 } & Struct;1149 readonly isLockCollection: boolean;1150 readonly asLockCollection: {1151 readonly collectionId: u32;1152 } & Struct;1153 readonly isMintNft: boolean;1154 readonly asMintNft: {1155 readonly owner: AccountId32;1156 readonly collectionId: u32;1157 readonly recipient: Option<AccountId32>;1158 readonly royaltyAmount: Option<Permill>;1159 readonly metadata: Bytes;1160 } & Struct;1161 readonly isBurnNft: boolean;1162 readonly asBurnNft: {1163 readonly collectionId: u32;1164 readonly nftId: u32;1165 } & Struct;1166 readonly isSetProperty: boolean;1167 readonly asSetProperty: {1168 readonly rmrkCollectionId: Compact<u32>;1169 readonly maybeNftId: Option<u32>;1170 readonly key: Bytes;1171 readonly value: Bytes;1172 } & Struct;1173 readonly isAddBasicResource: boolean;1174 readonly asAddBasicResource: {1175 readonly collectionId: u32;1176 readonly nftId: u32;1177 readonly resource: UpDataStructsRmrkBasicResource;1178 } & Struct;1179 readonly isAddComposableResource: boolean;1180 readonly asAddComposableResource: {1181 readonly collectionId: u32;1182 readonly nftId: u32;1183 readonly resourceId: Bytes;1184 readonly resource: UpDataStructsRmrkComposableResource;1185 } & Struct;1186 readonly isAddSlotResource: boolean;1187 readonly asAddSlotResource: {1188 readonly collectionId: u32;1189 readonly nftId: u32;1190 readonly resource: UpDataStructsRmrkSlotResource;1191 } & Struct;1192 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';1193}11941195/** @name PalletRmrkCoreError */1196export interface PalletRmrkCoreError extends Enum {1197 readonly isCorruptedCollectionType: boolean;1198 readonly isNftTypeEncodeError: boolean;1199 readonly isRmrkPropertyKeyIsTooLong: boolean;1200 readonly isRmrkPropertyValueIsTooLong: boolean;1201 readonly isCollectionNotEmpty: boolean;1202 readonly isNoAvailableCollectionId: boolean;1203 readonly isNoAvailableNftId: boolean;1204 readonly isCollectionUnknown: boolean;1205 readonly isNoPermission: boolean;1206 readonly isCollectionFullOrLocked: boolean;1207 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';1208}12091210/** @name PalletRmrkCoreEvent */1211export interface PalletRmrkCoreEvent extends Enum {1212 readonly isCollectionCreated: boolean;1213 readonly asCollectionCreated: {1214 readonly issuer: AccountId32;1215 readonly collectionId: u32;1216 } & Struct;1217 readonly isCollectionDestroyed: boolean;1218 readonly asCollectionDestroyed: {1219 readonly issuer: AccountId32;1220 readonly collectionId: u32;1221 } & Struct;1222 readonly isIssuerChanged: boolean;1223 readonly asIssuerChanged: {1224 readonly oldIssuer: AccountId32;1225 readonly newIssuer: AccountId32;1226 readonly collectionId: u32;1227 } & Struct;1228 readonly isCollectionLocked: boolean;1229 readonly asCollectionLocked: {1230 readonly issuer: AccountId32;1231 readonly collectionId: u32;1232 } & Struct;1233 readonly isNftMinted: boolean;1234 readonly asNftMinted: {1235 readonly owner: AccountId32;1236 readonly collectionId: u32;1237 readonly nftId: u32;1238 } & Struct;1239 readonly isNftBurned: boolean;1240 readonly asNftBurned: {1241 readonly owner: AccountId32;1242 readonly nftId: u32;1243 } & Struct;1244 readonly isPropertySet: boolean;1245 readonly asPropertySet: {1246 readonly collectionId: u32;1247 readonly maybeNftId: Option<u32>;1248 readonly key: Bytes;1249 readonly value: Bytes;1250 } & Struct;1251 readonly isResourceAdded: boolean;1252 readonly asResourceAdded: {1253 readonly nftId: u32;1254 readonly resourceId: u32;1255 } & Struct;1256 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';1257}12581259/** @name PalletRmrkEquipCall */1260export interface PalletRmrkEquipCall extends Enum {1261 readonly isCreateBase: boolean;1262 readonly asCreateBase: {1263 readonly baseType: Bytes;1264 readonly symbol: Bytes;1265 readonly parts: Vec<UpDataStructsRmrkPartType>;1266 } & Struct;1267 readonly isThemeAdd: boolean;1268 readonly asThemeAdd: {1269 readonly baseId: u32;1270 readonly theme: UpDataStructsRmrkTheme;1271 } & Struct;1272 readonly type: 'CreateBase' | 'ThemeAdd';1273}12741275/** @name PalletRmrkEquipError */1276export interface PalletRmrkEquipError extends Enum {1277 readonly isPermissionError: boolean;1278 readonly isNoAvailableBaseId: boolean;1279 readonly isNoAvailablePartId: boolean;1280 readonly isBaseDoesntExist: boolean;1281 readonly isNeedsDefaultThemeFirst: boolean;1282 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';1283}12841285/** @name PalletRmrkEquipEvent */1286export interface PalletRmrkEquipEvent extends Enum {1287 readonly isBaseCreated: boolean;1288 readonly asBaseCreated: {1289 readonly issuer: AccountId32;1290 readonly baseId: u32;1291 } & Struct;1292 readonly type: 'BaseCreated';1293}12941295/** @name PalletStructureCall */1296export interface PalletStructureCall extends Null {}12971298/** @name PalletStructureError */1299export interface PalletStructureError extends Enum {1300 readonly isOuroborosDetected: boolean;1301 readonly isDepthLimit: boolean;1302 readonly isTokenNotFound: boolean;1303 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1304}13051306/** @name PalletStructureEvent */1307export interface PalletStructureEvent extends Enum {1308 readonly isExecuted: boolean;1309 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1310 readonly type: 'Executed';1311}13121313/** @name PalletSudoCall */1314export interface PalletSudoCall extends Enum {1315 readonly isSudo: boolean;1316 readonly asSudo: {1317 readonly call: Call;1318 } & Struct;1319 readonly isSudoUncheckedWeight: boolean;1320 readonly asSudoUncheckedWeight: {1321 readonly call: Call;1322 readonly weight: u64;1323 } & Struct;1324 readonly isSetKey: boolean;1325 readonly asSetKey: {1326 readonly new_: MultiAddress;1327 } & Struct;1328 readonly isSudoAs: boolean;1329 readonly asSudoAs: {1330 readonly who: MultiAddress;1331 readonly call: Call;1332 } & Struct;1333 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1334}13351336/** @name PalletSudoError */1337export interface PalletSudoError extends Enum {1338 readonly isRequireSudo: boolean;1339 readonly type: 'RequireSudo';1340}13411342/** @name PalletSudoEvent */1343export interface PalletSudoEvent extends Enum {1344 readonly isSudid: boolean;1345 readonly asSudid: {1346 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1347 } & Struct;1348 readonly isKeyChanged: boolean;1349 readonly asKeyChanged: {1350 readonly oldSudoer: Option<AccountId32>;1351 } & Struct;1352 readonly isSudoAsDone: boolean;1353 readonly asSudoAsDone: {1354 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1355 } & Struct;1356 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1357}13581359/** @name PalletTemplateTransactionPaymentCall */1360export interface PalletTemplateTransactionPaymentCall extends Null {}13611362/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1363export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}13641365/** @name PalletTimestampCall */1366export interface PalletTimestampCall extends Enum {1367 readonly isSet: boolean;1368 readonly asSet: {1369 readonly now: Compact<u64>;1370 } & Struct;1371 readonly type: 'Set';1372}13731374/** @name PalletTransactionPaymentReleases */1375export interface PalletTransactionPaymentReleases extends Enum {1376 readonly isV1Ancient: boolean;1377 readonly isV2: boolean;1378 readonly type: 'V1Ancient' | 'V2';1379}13801381/** @name PalletTreasuryCall */1382export interface PalletTreasuryCall extends Enum {1383 readonly isProposeSpend: boolean;1384 readonly asProposeSpend: {1385 readonly value: Compact<u128>;1386 readonly beneficiary: MultiAddress;1387 } & Struct;1388 readonly isRejectProposal: boolean;1389 readonly asRejectProposal: {1390 readonly proposalId: Compact<u32>;1391 } & Struct;1392 readonly isApproveProposal: boolean;1393 readonly asApproveProposal: {1394 readonly proposalId: Compact<u32>;1395 } & Struct;1396 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1397}13981399/** @name PalletTreasuryError */1400export interface PalletTreasuryError extends Enum {1401 readonly isInsufficientProposersBalance: boolean;1402 readonly isInvalidIndex: boolean;1403 readonly isTooManyApprovals: boolean;1404 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1405}14061407/** @name PalletTreasuryEvent */1408export interface PalletTreasuryEvent extends Enum {1409 readonly isProposed: boolean;1410 readonly asProposed: {1411 readonly proposalIndex: u32;1412 } & Struct;1413 readonly isSpending: boolean;1414 readonly asSpending: {1415 readonly budgetRemaining: u128;1416 } & Struct;1417 readonly isAwarded: boolean;1418 readonly asAwarded: {1419 readonly proposalIndex: u32;1420 readonly award: u128;1421 readonly account: AccountId32;1422 } & Struct;1423 readonly isRejected: boolean;1424 readonly asRejected: {1425 readonly proposalIndex: u32;1426 readonly slashed: u128;1427 } & Struct;1428 readonly isBurnt: boolean;1429 readonly asBurnt: {1430 readonly burntFunds: u128;1431 } & Struct;1432 readonly isRollover: boolean;1433 readonly asRollover: {1434 readonly rolloverBalance: u128;1435 } & Struct;1436 readonly isDeposit: boolean;1437 readonly asDeposit: {1438 readonly value: u128;1439 } & Struct;1440 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1441}14421443/** @name PalletTreasuryProposal */1444export interface PalletTreasuryProposal extends Struct {1445 readonly proposer: AccountId32;1446 readonly value: u128;1447 readonly beneficiary: AccountId32;1448 readonly bond: u128;1449}14501451/** @name PalletUniqueCall */1452export interface PalletUniqueCall extends Enum {1453 readonly isCreateCollection: boolean;1454 readonly asCreateCollection: {1455 readonly collectionName: Vec<u16>;1456 readonly collectionDescription: Vec<u16>;1457 readonly tokenPrefix: Bytes;1458 readonly mode: UpDataStructsCollectionMode;1459 } & Struct;1460 readonly isCreateCollectionEx: boolean;1461 readonly asCreateCollectionEx: {1462 readonly data: UpDataStructsCreateCollectionData;1463 } & Struct;1464 readonly isDestroyCollection: boolean;1465 readonly asDestroyCollection: {1466 readonly collectionId: u32;1467 } & Struct;1468 readonly isAddToAllowList: boolean;1469 readonly asAddToAllowList: {1470 readonly collectionId: u32;1471 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1472 } & Struct;1473 readonly isRemoveFromAllowList: boolean;1474 readonly asRemoveFromAllowList: {1475 readonly collectionId: u32;1476 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1477 } & Struct;1478 readonly isChangeCollectionOwner: boolean;1479 readonly asChangeCollectionOwner: {1480 readonly collectionId: u32;1481 readonly newOwner: AccountId32;1482 } & Struct;1483 readonly isAddCollectionAdmin: boolean;1484 readonly asAddCollectionAdmin: {1485 readonly collectionId: u32;1486 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1487 } & Struct;1488 readonly isRemoveCollectionAdmin: boolean;1489 readonly asRemoveCollectionAdmin: {1490 readonly collectionId: u32;1491 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1492 } & Struct;1493 readonly isSetCollectionSponsor: boolean;1494 readonly asSetCollectionSponsor: {1495 readonly collectionId: u32;1496 readonly newSponsor: AccountId32;1497 } & Struct;1498 readonly isConfirmSponsorship: boolean;1499 readonly asConfirmSponsorship: {1500 readonly collectionId: u32;1501 } & Struct;1502 readonly isRemoveCollectionSponsor: boolean;1503 readonly asRemoveCollectionSponsor: {1504 readonly collectionId: u32;1505 } & Struct;1506 readonly isCreateItem: boolean;1507 readonly asCreateItem: {1508 readonly collectionId: u32;1509 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1510 readonly data: UpDataStructsCreateItemData;1511 } & Struct;1512 readonly isCreateMultipleItems: boolean;1513 readonly asCreateMultipleItems: {1514 readonly collectionId: u32;1515 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1516 readonly itemsData: Vec<UpDataStructsCreateItemData>;1517 } & Struct;1518 readonly isSetCollectionProperties: boolean;1519 readonly asSetCollectionProperties: {1520 readonly collectionId: u32;1521 readonly properties: Vec<UpDataStructsProperty>;1522 } & Struct;1523 readonly isDeleteCollectionProperties: boolean;1524 readonly asDeleteCollectionProperties: {1525 readonly collectionId: u32;1526 readonly propertyKeys: Vec<Bytes>;1527 } & Struct;1528 readonly isSetTokenProperties: boolean;1529 readonly asSetTokenProperties: {1530 readonly collectionId: u32;1531 readonly tokenId: u32;1532 readonly properties: Vec<UpDataStructsProperty>;1533 } & Struct;1534 readonly isDeleteTokenProperties: boolean;1535 readonly asDeleteTokenProperties: {1536 readonly collectionId: u32;1537 readonly tokenId: u32;1538 readonly propertyKeys: Vec<Bytes>;1539 } & Struct;1540 readonly isSetPropertyPermissions: boolean;1541 readonly asSetPropertyPermissions: {1542 readonly collectionId: u32;1543 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1544 } & Struct;1545 readonly isCreateMultipleItemsEx: boolean;1546 readonly asCreateMultipleItemsEx: {1547 readonly collectionId: u32;1548 readonly data: UpDataStructsCreateItemExData;1549 } & Struct;1550 readonly isSetTransfersEnabledFlag: boolean;1551 readonly asSetTransfersEnabledFlag: {1552 readonly collectionId: u32;1553 readonly value: bool;1554 } & Struct;1555 readonly isBurnItem: boolean;1556 readonly asBurnItem: {1557 readonly collectionId: u32;1558 readonly itemId: u32;1559 readonly value: u128;1560 } & Struct;1561 readonly isBurnFrom: boolean;1562 readonly asBurnFrom: {1563 readonly collectionId: u32;1564 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1565 readonly itemId: u32;1566 readonly value: u128;1567 } & Struct;1568 readonly isTransfer: boolean;1569 readonly asTransfer: {1570 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1571 readonly collectionId: u32;1572 readonly itemId: u32;1573 readonly value: u128;1574 } & Struct;1575 readonly isApprove: boolean;1576 readonly asApprove: {1577 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1578 readonly collectionId: u32;1579 readonly itemId: u32;1580 readonly amount: u128;1581 } & Struct;1582 readonly isTransferFrom: boolean;1583 readonly asTransferFrom: {1584 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1585 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1586 readonly collectionId: u32;1587 readonly itemId: u32;1588 readonly value: u128;1589 } & Struct;1590 readonly isSetCollectionLimits: boolean;1591 readonly asSetCollectionLimits: {1592 readonly collectionId: u32;1593 readonly newLimit: UpDataStructsCollectionLimits;1594 } & Struct;1595 readonly isSetCollectionPermissions: boolean;1596 readonly asSetCollectionPermissions: {1597 readonly collectionId: u32;1598 readonly newLimit: UpDataStructsCollectionPermissions;1599 } & Struct;1600 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';1601}16021603/** @name PalletUniqueError */1604export interface PalletUniqueError extends Enum {1605 readonly isCollectionDecimalPointLimitExceeded: boolean;1606 readonly isConfirmUnsetSponsorFail: boolean;1607 readonly isEmptyArgument: boolean;1608 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1609}16101611/** @name PalletUniqueRawEvent */1612export interface PalletUniqueRawEvent extends Enum {1613 readonly isCollectionSponsorRemoved: boolean;1614 readonly asCollectionSponsorRemoved: u32;1615 readonly isCollectionAdminAdded: boolean;1616 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1617 readonly isCollectionOwnedChanged: boolean;1618 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1619 readonly isCollectionSponsorSet: boolean;1620 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1621 readonly isSponsorshipConfirmed: boolean;1622 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1623 readonly isCollectionAdminRemoved: boolean;1624 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1625 readonly isAllowListAddressRemoved: boolean;1626 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1627 readonly isAllowListAddressAdded: boolean;1628 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1629 readonly isCollectionLimitSet: boolean;1630 readonly asCollectionLimitSet: u32;1631 readonly isCollectionPermissionSet: boolean;1632 readonly asCollectionPermissionSet: u32;1633 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1634}16351636/** @name PalletXcmCall */1637export interface PalletXcmCall extends Enum {1638 readonly isSend: boolean;1639 readonly asSend: {1640 readonly dest: XcmVersionedMultiLocation;1641 readonly message: XcmVersionedXcm;1642 } & Struct;1643 readonly isTeleportAssets: boolean;1644 readonly asTeleportAssets: {1645 readonly dest: XcmVersionedMultiLocation;1646 readonly beneficiary: XcmVersionedMultiLocation;1647 readonly assets: XcmVersionedMultiAssets;1648 readonly feeAssetItem: u32;1649 } & Struct;1650 readonly isReserveTransferAssets: boolean;1651 readonly asReserveTransferAssets: {1652 readonly dest: XcmVersionedMultiLocation;1653 readonly beneficiary: XcmVersionedMultiLocation;1654 readonly assets: XcmVersionedMultiAssets;1655 readonly feeAssetItem: u32;1656 } & Struct;1657 readonly isExecute: boolean;1658 readonly asExecute: {1659 readonly message: XcmVersionedXcm;1660 readonly maxWeight: u64;1661 } & Struct;1662 readonly isForceXcmVersion: boolean;1663 readonly asForceXcmVersion: {1664 readonly location: XcmV1MultiLocation;1665 readonly xcmVersion: u32;1666 } & Struct;1667 readonly isForceDefaultXcmVersion: boolean;1668 readonly asForceDefaultXcmVersion: {1669 readonly maybeXcmVersion: Option<u32>;1670 } & Struct;1671 readonly isForceSubscribeVersionNotify: boolean;1672 readonly asForceSubscribeVersionNotify: {1673 readonly location: XcmVersionedMultiLocation;1674 } & Struct;1675 readonly isForceUnsubscribeVersionNotify: boolean;1676 readonly asForceUnsubscribeVersionNotify: {1677 readonly location: XcmVersionedMultiLocation;1678 } & Struct;1679 readonly isLimitedReserveTransferAssets: boolean;1680 readonly asLimitedReserveTransferAssets: {1681 readonly dest: XcmVersionedMultiLocation;1682 readonly beneficiary: XcmVersionedMultiLocation;1683 readonly assets: XcmVersionedMultiAssets;1684 readonly feeAssetItem: u32;1685 readonly weightLimit: XcmV2WeightLimit;1686 } & Struct;1687 readonly isLimitedTeleportAssets: boolean;1688 readonly asLimitedTeleportAssets: {1689 readonly dest: XcmVersionedMultiLocation;1690 readonly beneficiary: XcmVersionedMultiLocation;1691 readonly assets: XcmVersionedMultiAssets;1692 readonly feeAssetItem: u32;1693 readonly weightLimit: XcmV2WeightLimit;1694 } & Struct;1695 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1696}16971698/** @name PalletXcmError */1699export interface PalletXcmError extends Enum {1700 readonly isUnreachable: boolean;1701 readonly isSendFailure: boolean;1702 readonly isFiltered: boolean;1703 readonly isUnweighableMessage: boolean;1704 readonly isDestinationNotInvertible: boolean;1705 readonly isEmpty: boolean;1706 readonly isCannotReanchor: boolean;1707 readonly isTooManyAssets: boolean;1708 readonly isInvalidOrigin: boolean;1709 readonly isBadVersion: boolean;1710 readonly isBadLocation: boolean;1711 readonly isNoSubscription: boolean;1712 readonly isAlreadySubscribed: boolean;1713 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1714}17151716/** @name PalletXcmEvent */1717export interface PalletXcmEvent extends Enum {1718 readonly isAttempted: boolean;1719 readonly asAttempted: XcmV2TraitsOutcome;1720 readonly isSent: boolean;1721 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1722 readonly isUnexpectedResponse: boolean;1723 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1724 readonly isResponseReady: boolean;1725 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1726 readonly isNotified: boolean;1727 readonly asNotified: ITuple<[u64, u8, u8]>;1728 readonly isNotifyOverweight: boolean;1729 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1730 readonly isNotifyDispatchError: boolean;1731 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1732 readonly isNotifyDecodeFailed: boolean;1733 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1734 readonly isInvalidResponder: boolean;1735 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1736 readonly isInvalidResponderVersion: boolean;1737 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1738 readonly isResponseTaken: boolean;1739 readonly asResponseTaken: u64;1740 readonly isAssetsTrapped: boolean;1741 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1742 readonly isVersionChangeNotified: boolean;1743 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1744 readonly isSupportedVersionChanged: boolean;1745 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1746 readonly isNotifyTargetSendFail: boolean;1747 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1748 readonly isNotifyTargetMigrationFail: boolean;1749 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1750 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1751}17521753/** @name PhantomTypeUpDataStructs */1754export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}17551756/** @name PolkadotCorePrimitivesInboundDownwardMessage */1757export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1758 readonly sentAt: u32;1759 readonly msg: Bytes;1760}17611762/** @name PolkadotCorePrimitivesInboundHrmpMessage */1763export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1764 readonly sentAt: u32;1765 readonly data: Bytes;1766}17671768/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1769export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1770 readonly recipient: u32;1771 readonly data: Bytes;1772}17731774/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1775export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1776 readonly isConcatenatedVersionedXcm: boolean;1777 readonly isConcatenatedEncodedBlob: boolean;1778 readonly isSignals: boolean;1779 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1780}17811782/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1783export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1784 readonly maxCodeSize: u32;1785 readonly maxHeadDataSize: u32;1786 readonly maxUpwardQueueCount: u32;1787 readonly maxUpwardQueueSize: u32;1788 readonly maxUpwardMessageSize: u32;1789 readonly maxUpwardMessageNumPerCandidate: u32;1790 readonly hrmpMaxMessageNumPerCandidate: u32;1791 readonly validationUpgradeCooldown: u32;1792 readonly validationUpgradeDelay: u32;1793}17941795/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1796export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1797 readonly maxCapacity: u32;1798 readonly maxTotalSize: u32;1799 readonly maxMessageSize: u32;1800 readonly msgCount: u32;1801 readonly totalSize: u32;1802 readonly mqcHead: Option<H256>;1803}18041805/** @name PolkadotPrimitivesV2PersistedValidationData */1806export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1807 readonly parentHead: Bytes;1808 readonly relayParentNumber: u32;1809 readonly relayParentStorageRoot: H256;1810 readonly maxPovSize: u32;1811}18121813/** @name PolkadotPrimitivesV2UpgradeRestriction */1814export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1815 readonly isPresent: boolean;1816 readonly type: 'Present';1817}18181819/** @name SpCoreEcdsaSignature */1820export interface SpCoreEcdsaSignature extends U8aFixed {}18211822/** @name SpCoreEd25519Signature */1823export interface SpCoreEd25519Signature extends U8aFixed {}18241825/** @name SpCoreSr25519Signature */1826export interface SpCoreSr25519Signature extends U8aFixed {}18271828/** @name SpRuntimeArithmeticError */1829export interface SpRuntimeArithmeticError extends Enum {1830 readonly isUnderflow: boolean;1831 readonly isOverflow: boolean;1832 readonly isDivisionByZero: boolean;1833 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1834}18351836/** @name SpRuntimeDigest */1837export interface SpRuntimeDigest extends Struct {1838 readonly logs: Vec<SpRuntimeDigestDigestItem>;1839}18401841/** @name SpRuntimeDigestDigestItem */1842export interface SpRuntimeDigestDigestItem extends Enum {1843 readonly isOther: boolean;1844 readonly asOther: Bytes;1845 readonly isConsensus: boolean;1846 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1847 readonly isSeal: boolean;1848 readonly asSeal: ITuple<[U8aFixed, Bytes]>;1849 readonly isPreRuntime: boolean;1850 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1851 readonly isRuntimeEnvironmentUpdated: boolean;1852 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1853}18541855/** @name SpRuntimeDispatchError */1856export interface SpRuntimeDispatchError extends Enum {1857 readonly isOther: boolean;1858 readonly isCannotLookup: boolean;1859 readonly isBadOrigin: boolean;1860 readonly isModule: boolean;1861 readonly asModule: SpRuntimeModuleError;1862 readonly isConsumerRemaining: boolean;1863 readonly isNoProviders: boolean;1864 readonly isTooManyConsumers: boolean;1865 readonly isToken: boolean;1866 readonly asToken: SpRuntimeTokenError;1867 readonly isArithmetic: boolean;1868 readonly asArithmetic: SpRuntimeArithmeticError;1869 readonly isTransactional: boolean;1870 readonly asTransactional: SpRuntimeTransactionalError;1871 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1872}18731874/** @name SpRuntimeModuleError */1875export interface SpRuntimeModuleError extends Struct {1876 readonly index: u8;1877 readonly error: U8aFixed;1878}18791880/** @name SpRuntimeMultiSignature */1881export interface SpRuntimeMultiSignature extends Enum {1882 readonly isEd25519: boolean;1883 readonly asEd25519: SpCoreEd25519Signature;1884 readonly isSr25519: boolean;1885 readonly asSr25519: SpCoreSr25519Signature;1886 readonly isEcdsa: boolean;1887 readonly asEcdsa: SpCoreEcdsaSignature;1888 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1889}18901891/** @name SpRuntimeTokenError */1892export interface SpRuntimeTokenError extends Enum {1893 readonly isNoFunds: boolean;1894 readonly isWouldDie: boolean;1895 readonly isBelowMinimum: boolean;1896 readonly isCannotCreate: boolean;1897 readonly isUnknownAsset: boolean;1898 readonly isFrozen: boolean;1899 readonly isUnsupported: boolean;1900 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1901}19021903/** @name SpRuntimeTransactionalError */1904export interface SpRuntimeTransactionalError extends Enum {1905 readonly isLimitReached: boolean;1906 readonly isNoLayer: boolean;1907 readonly type: 'LimitReached' | 'NoLayer';1908}19091910/** @name SpTrieStorageProof */1911export interface SpTrieStorageProof extends Struct {1912 readonly trieNodes: BTreeSet<Bytes>;1913}19141915/** @name SpVersionRuntimeVersion */1916export interface SpVersionRuntimeVersion extends Struct {1917 readonly specName: Text;1918 readonly implName: Text;1919 readonly authoringVersion: u32;1920 readonly specVersion: u32;1921 readonly implVersion: u32;1922 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1923 readonly transactionVersion: u32;1924 readonly stateVersion: u8;1925}19261927/** @name UpDataStructsAccessMode */1928export interface UpDataStructsAccessMode extends Enum {1929 readonly isNormal: boolean;1930 readonly isAllowList: boolean;1931 readonly type: 'Normal' | 'AllowList';1932}19331934/** @name UpDataStructsCollection */1935export interface UpDataStructsCollection extends Struct {1936 readonly owner: AccountId32;1937 readonly mode: UpDataStructsCollectionMode;1938 readonly name: Vec<u16>;1939 readonly description: Vec<u16>;1940 readonly tokenPrefix: Bytes;1941 readonly sponsorship: UpDataStructsSponsorshipState;1942 readonly limits: UpDataStructsCollectionLimits;1943 readonly permissions: UpDataStructsCollectionPermissions;1944}19451946/** @name UpDataStructsCollectionLimits */1947export interface UpDataStructsCollectionLimits extends Struct {1948 readonly accountTokenOwnershipLimit: Option<u32>;1949 readonly sponsoredDataSize: Option<u32>;1950 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1951 readonly tokenLimit: Option<u32>;1952 readonly sponsorTransferTimeout: Option<u32>;1953 readonly sponsorApproveTimeout: Option<u32>;1954 readonly ownerCanTransfer: Option<bool>;1955 readonly ownerCanDestroy: Option<bool>;1956 readonly transfersEnabled: Option<bool>;1957}19581959/** @name UpDataStructsCollectionMode */1960export interface UpDataStructsCollectionMode extends Enum {1961 readonly isNft: boolean;1962 readonly isFungible: boolean;1963 readonly asFungible: u8;1964 readonly isReFungible: boolean;1965 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1966}19671968/** @name UpDataStructsCollectionPermissions */1969export interface UpDataStructsCollectionPermissions extends Struct {1970 readonly access: Option<UpDataStructsAccessMode>;1971 readonly mintMode: Option<bool>;1972 readonly nesting: Option<UpDataStructsNestingRule>;1973}19741975/** @name UpDataStructsCollectionStats */1976export interface UpDataStructsCollectionStats extends Struct {1977 readonly created: u32;1978 readonly destroyed: u32;1979 readonly alive: u32;1980}19811982/** @name UpDataStructsCreateCollectionData */1983export interface UpDataStructsCreateCollectionData extends Struct {1984 readonly mode: UpDataStructsCollectionMode;1985 readonly access: Option<UpDataStructsAccessMode>;1986 readonly name: Vec<u16>;1987 readonly description: Vec<u16>;1988 readonly tokenPrefix: Bytes;1989 readonly pendingSponsor: Option<AccountId32>;1990 readonly limits: Option<UpDataStructsCollectionLimits>;1991 readonly permissions: Option<UpDataStructsCollectionPermissions>;1992 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1993 readonly properties: Vec<UpDataStructsProperty>;1994}19951996/** @name UpDataStructsCreateFungibleData */1997export interface UpDataStructsCreateFungibleData extends Struct {1998 readonly value: u128;1999}20002001/** @name UpDataStructsCreateItemData */2002export interface UpDataStructsCreateItemData extends Enum {2003 readonly isNft: boolean;2004 readonly asNft: UpDataStructsCreateNftData;2005 readonly isFungible: boolean;2006 readonly asFungible: UpDataStructsCreateFungibleData;2007 readonly isReFungible: boolean;2008 readonly asReFungible: UpDataStructsCreateReFungibleData;2009 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2010}20112012/** @name UpDataStructsCreateItemExData */2013export interface UpDataStructsCreateItemExData extends Enum {2014 readonly isNft: boolean;2015 readonly asNft: Vec<UpDataStructsCreateNftExData>;2016 readonly isFungible: boolean;2017 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2018 readonly isRefungibleMultipleItems: boolean;2019 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;2020 readonly isRefungibleMultipleOwners: boolean;2021 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;2022 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2023}20242025/** @name UpDataStructsCreateNftData */2026export interface UpDataStructsCreateNftData extends Struct {2027 readonly properties: Vec<UpDataStructsProperty>;2028}20292030/** @name UpDataStructsCreateNftExData */2031export interface UpDataStructsCreateNftExData extends Struct {2032 readonly properties: Vec<UpDataStructsProperty>;2033 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2034}20352036/** @name UpDataStructsCreateReFungibleData */2037export interface UpDataStructsCreateReFungibleData extends Struct {2038 readonly constData: Bytes;2039 readonly pieces: u128;2040}20412042/** @name UpDataStructsCreateRefungibleExData */2043export interface UpDataStructsCreateRefungibleExData extends Struct {2044 readonly constData: Bytes;2045 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2046}20472048/** @name UpDataStructsNestingRule */2049export interface UpDataStructsNestingRule extends Enum {2050 readonly isDisabled: boolean;2051 readonly isOwner: boolean;2052 readonly isOwnerRestricted: boolean;2053 readonly asOwnerRestricted: BTreeSet<u32>;2054 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';2055}20562057/** @name UpDataStructsProperties */2058export interface UpDataStructsProperties extends Struct {2059 readonly map: UpDataStructsPropertiesMapBoundedVec;2060 readonly consumedSpace: u32;2061 readonly spaceLimit: u32;2062}20632064/** @name UpDataStructsPropertiesMapBoundedVec */2065export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}20662067/** @name UpDataStructsPropertiesMapPropertyPermission */2068export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}20692070/** @name UpDataStructsProperty */2071export interface UpDataStructsProperty extends Struct {2072 readonly key: Bytes;2073 readonly value: Bytes;2074}20752076/** @name UpDataStructsPropertyKeyPermission */2077export interface UpDataStructsPropertyKeyPermission extends Struct {2078 readonly key: Bytes;2079 readonly permission: UpDataStructsPropertyPermission;2080}20812082/** @name UpDataStructsPropertyPermission */2083export interface UpDataStructsPropertyPermission extends Struct {2084 readonly mutable: bool;2085 readonly collectionAdmin: bool;2086 readonly tokenOwner: bool;2087}20882089/** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple */2090export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2091 readonly isAccountId: boolean;2092 readonly asAccountId: AccountId32;2093 readonly isCollectionAndNftTuple: boolean;2094 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2095 readonly type: 'AccountId' | 'CollectionAndNftTuple';2096}20972098/** @name UpDataStructsRmrkBaseInfo */2099export interface UpDataStructsRmrkBaseInfo extends Struct {2100 readonly issuer: AccountId32;2101 readonly baseType: Bytes;2102 readonly symbol: Bytes;2103}21042105/** @name UpDataStructsRmrkBasicResource */2106export interface UpDataStructsRmrkBasicResource extends Struct {2107 readonly src: Option<Bytes>;2108 readonly metadata: Option<Bytes>;2109 readonly license: Option<Bytes>;2110 readonly thumb: Option<Bytes>;2111}21122113/** @name UpDataStructsRmrkCollectionInfo */2114export interface UpDataStructsRmrkCollectionInfo extends Struct {2115 readonly issuer: AccountId32;2116 readonly metadata: Bytes;2117 readonly max: Option<u32>;2118 readonly symbol: Bytes;2119 readonly nftsCount: u32;2120}21212122/** @name UpDataStructsRmrkComposableResource */2123export interface UpDataStructsRmrkComposableResource extends Struct {2124 readonly parts: Vec<u32>;2125 readonly base: u32;2126 readonly src: Option<Bytes>;2127 readonly metadata: Option<Bytes>;2128 readonly license: Option<Bytes>;2129 readonly thumb: Option<Bytes>;2130}21312132/** @name UpDataStructsRmrkEquippableList */2133export interface UpDataStructsRmrkEquippableList extends Enum {2134 readonly isAll: boolean;2135 readonly isEmpty: boolean;2136 readonly isCustom: boolean;2137 readonly asCustom: Vec<u32>;2138 readonly type: 'All' | 'Empty' | 'Custom';2139}21402141/** @name UpDataStructsRmrkFixedPart */2142export interface UpDataStructsRmrkFixedPart extends Struct {2143 readonly id: u32;2144 readonly z: u32;2145 readonly src: Bytes;2146}21472148/** @name UpDataStructsRmrkNftChild */2149export interface UpDataStructsRmrkNftChild extends Struct {2150 readonly collectionId: u32;2151 readonly nftId: u32;2152}21532154/** @name UpDataStructsRmrkNftInfo */2155export interface UpDataStructsRmrkNftInfo extends Struct {2156 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2157 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2158 readonly metadata: Bytes;2159 readonly equipped: bool;2160 readonly pending: bool;2161}21622163/** @name UpDataStructsRmrkPartType */2164export interface UpDataStructsRmrkPartType extends Enum {2165 readonly isFixedPart: boolean;2166 readonly asFixedPart: UpDataStructsRmrkFixedPart;2167 readonly isSlotPart: boolean;2168 readonly asSlotPart: UpDataStructsRmrkSlotPart;2169 readonly type: 'FixedPart' | 'SlotPart';2170}21712172/** @name UpDataStructsRmrkPropertyInfo */2173export interface UpDataStructsRmrkPropertyInfo extends Struct {2174 readonly key: Bytes;2175 readonly value: Bytes;2176}21772178/** @name UpDataStructsRmrkResourceInfo */2179export interface UpDataStructsRmrkResourceInfo extends Struct {2180 readonly id: u32;2181 readonly resource: UpDataStructsRmrkResourceTypes;2182 readonly pending: bool;2183 readonly pendingRemoval: bool;2184}21852186/** @name UpDataStructsRmrkResourceTypes */2187export interface UpDataStructsRmrkResourceTypes extends Enum {2188 readonly isBasic: boolean;2189 readonly asBasic: UpDataStructsRmrkBasicResource;2190 readonly isComposable: boolean;2191 readonly asComposable: UpDataStructsRmrkComposableResource;2192 readonly isSlot: boolean;2193 readonly asSlot: UpDataStructsRmrkSlotResource;2194 readonly type: 'Basic' | 'Composable' | 'Slot';2195}21962197/** @name UpDataStructsRmrkRoyaltyInfo */2198export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2199 readonly recipient: AccountId32;2200 readonly amount: Permill;2201}22022203/** @name UpDataStructsRmrkSlotPart */2204export interface UpDataStructsRmrkSlotPart extends Struct {2205 readonly id: u32;2206 readonly equippable: UpDataStructsRmrkEquippableList;2207 readonly src: Bytes;2208 readonly z: u32;2209}22102211/** @name UpDataStructsRmrkSlotResource */2212export interface UpDataStructsRmrkSlotResource extends Struct {2213 readonly base: u32;2214 readonly src: Option<Bytes>;2215 readonly metadata: Option<Bytes>;2216 readonly slot: u32;2217 readonly license: Option<Bytes>;2218 readonly thumb: Option<Bytes>;2219}22202221/** @name UpDataStructsRmrkTheme */2222export interface UpDataStructsRmrkTheme extends Struct {2223 readonly name: Bytes;2224 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2225 readonly inherit: bool;2226}22272228/** @name UpDataStructsRmrkThemeProperty */2229export interface UpDataStructsRmrkThemeProperty extends Struct {2230 readonly key: Bytes;2231 readonly value: Bytes;2232}22332234/** @name UpDataStructsRpcCollection */2235export interface UpDataStructsRpcCollection extends Struct {2236 readonly owner: AccountId32;2237 readonly mode: UpDataStructsCollectionMode;2238 readonly name: Vec<u16>;2239 readonly description: Vec<u16>;2240 readonly tokenPrefix: Bytes;2241 readonly sponsorship: UpDataStructsSponsorshipState;2242 readonly limits: UpDataStructsCollectionLimits;2243 readonly permissions: UpDataStructsCollectionPermissions;2244 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2245 readonly properties: Vec<UpDataStructsProperty>;2246}22472248/** @name UpDataStructsSponsoringRateLimit */2249export interface UpDataStructsSponsoringRateLimit extends Enum {2250 readonly isSponsoringDisabled: boolean;2251 readonly isBlocks: boolean;2252 readonly asBlocks: u32;2253 readonly type: 'SponsoringDisabled' | 'Blocks';2254}22552256/** @name UpDataStructsSponsorshipState */2257export interface UpDataStructsSponsorshipState extends Enum {2258 readonly isDisabled: boolean;2259 readonly isUnconfirmed: boolean;2260 readonly asUnconfirmed: AccountId32;2261 readonly isConfirmed: boolean;2262 readonly asConfirmed: AccountId32;2263 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2264}22652266/** @name UpDataStructsTokenChild */2267export interface UpDataStructsTokenChild extends Struct {2268 readonly token: u32;2269 readonly collection: u32;2270}22712272/** @name UpDataStructsTokenData */2273export interface UpDataStructsTokenData extends Struct {2274 readonly properties: Vec<UpDataStructsProperty>;2275 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2276}22772278/** @name XcmDoubleEncoded */2279export interface XcmDoubleEncoded extends Struct {2280 readonly encoded: Bytes;2281}22822283/** @name XcmV0Junction */2284export interface XcmV0Junction extends Enum {2285 readonly isParent: boolean;2286 readonly isParachain: boolean;2287 readonly asParachain: Compact<u32>;2288 readonly isAccountId32: boolean;2289 readonly asAccountId32: {2290 readonly network: XcmV0JunctionNetworkId;2291 readonly id: U8aFixed;2292 } & Struct;2293 readonly isAccountIndex64: boolean;2294 readonly asAccountIndex64: {2295 readonly network: XcmV0JunctionNetworkId;2296 readonly index: Compact<u64>;2297 } & Struct;2298 readonly isAccountKey20: boolean;2299 readonly asAccountKey20: {2300 readonly network: XcmV0JunctionNetworkId;2301 readonly key: U8aFixed;2302 } & Struct;2303 readonly isPalletInstance: boolean;2304 readonly asPalletInstance: u8;2305 readonly isGeneralIndex: boolean;2306 readonly asGeneralIndex: Compact<u128>;2307 readonly isGeneralKey: boolean;2308 readonly asGeneralKey: Bytes;2309 readonly isOnlyChild: boolean;2310 readonly isPlurality: boolean;2311 readonly asPlurality: {2312 readonly id: XcmV0JunctionBodyId;2313 readonly part: XcmV0JunctionBodyPart;2314 } & Struct;2315 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2316}23172318/** @name XcmV0JunctionBodyId */2319export interface XcmV0JunctionBodyId extends Enum {2320 readonly isUnit: boolean;2321 readonly isNamed: boolean;2322 readonly asNamed: Bytes;2323 readonly isIndex: boolean;2324 readonly asIndex: Compact<u32>;2325 readonly isExecutive: boolean;2326 readonly isTechnical: boolean;2327 readonly isLegislative: boolean;2328 readonly isJudicial: boolean;2329 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2330}23312332/** @name XcmV0JunctionBodyPart */2333export interface XcmV0JunctionBodyPart extends Enum {2334 readonly isVoice: boolean;2335 readonly isMembers: boolean;2336 readonly asMembers: {2337 readonly count: Compact<u32>;2338 } & Struct;2339 readonly isFraction: boolean;2340 readonly asFraction: {2341 readonly nom: Compact<u32>;2342 readonly denom: Compact<u32>;2343 } & Struct;2344 readonly isAtLeastProportion: boolean;2345 readonly asAtLeastProportion: {2346 readonly nom: Compact<u32>;2347 readonly denom: Compact<u32>;2348 } & Struct;2349 readonly isMoreThanProportion: boolean;2350 readonly asMoreThanProportion: {2351 readonly nom: Compact<u32>;2352 readonly denom: Compact<u32>;2353 } & Struct;2354 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2355}23562357/** @name XcmV0JunctionNetworkId */2358export interface XcmV0JunctionNetworkId extends Enum {2359 readonly isAny: boolean;2360 readonly isNamed: boolean;2361 readonly asNamed: Bytes;2362 readonly isPolkadot: boolean;2363 readonly isKusama: boolean;2364 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2365}23662367/** @name XcmV0MultiAsset */2368export interface XcmV0MultiAsset extends Enum {2369 readonly isNone: boolean;2370 readonly isAll: boolean;2371 readonly isAllFungible: boolean;2372 readonly isAllNonFungible: boolean;2373 readonly isAllAbstractFungible: boolean;2374 readonly asAllAbstractFungible: {2375 readonly id: Bytes;2376 } & Struct;2377 readonly isAllAbstractNonFungible: boolean;2378 readonly asAllAbstractNonFungible: {2379 readonly class: Bytes;2380 } & Struct;2381 readonly isAllConcreteFungible: boolean;2382 readonly asAllConcreteFungible: {2383 readonly id: XcmV0MultiLocation;2384 } & Struct;2385 readonly isAllConcreteNonFungible: boolean;2386 readonly asAllConcreteNonFungible: {2387 readonly class: XcmV0MultiLocation;2388 } & Struct;2389 readonly isAbstractFungible: boolean;2390 readonly asAbstractFungible: {2391 readonly id: Bytes;2392 readonly amount: Compact<u128>;2393 } & Struct;2394 readonly isAbstractNonFungible: boolean;2395 readonly asAbstractNonFungible: {2396 readonly class: Bytes;2397 readonly instance: XcmV1MultiassetAssetInstance;2398 } & Struct;2399 readonly isConcreteFungible: boolean;2400 readonly asConcreteFungible: {2401 readonly id: XcmV0MultiLocation;2402 readonly amount: Compact<u128>;2403 } & Struct;2404 readonly isConcreteNonFungible: boolean;2405 readonly asConcreteNonFungible: {2406 readonly class: XcmV0MultiLocation;2407 readonly instance: XcmV1MultiassetAssetInstance;2408 } & Struct;2409 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2410}24112412/** @name XcmV0MultiLocation */2413export interface XcmV0MultiLocation extends Enum {2414 readonly isNull: boolean;2415 readonly isX1: boolean;2416 readonly asX1: XcmV0Junction;2417 readonly isX2: boolean;2418 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2419 readonly isX3: boolean;2420 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2421 readonly isX4: boolean;2422 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2423 readonly isX5: boolean;2424 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2425 readonly isX6: boolean;2426 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2427 readonly isX7: boolean;2428 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2429 readonly isX8: boolean;2430 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2431 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2432}24332434/** @name XcmV0Order */2435export interface XcmV0Order extends Enum {2436 readonly isNull: boolean;2437 readonly isDepositAsset: boolean;2438 readonly asDepositAsset: {2439 readonly assets: Vec<XcmV0MultiAsset>;2440 readonly dest: XcmV0MultiLocation;2441 } & Struct;2442 readonly isDepositReserveAsset: boolean;2443 readonly asDepositReserveAsset: {2444 readonly assets: Vec<XcmV0MultiAsset>;2445 readonly dest: XcmV0MultiLocation;2446 readonly effects: Vec<XcmV0Order>;2447 } & Struct;2448 readonly isExchangeAsset: boolean;2449 readonly asExchangeAsset: {2450 readonly give: Vec<XcmV0MultiAsset>;2451 readonly receive: Vec<XcmV0MultiAsset>;2452 } & Struct;2453 readonly isInitiateReserveWithdraw: boolean;2454 readonly asInitiateReserveWithdraw: {2455 readonly assets: Vec<XcmV0MultiAsset>;2456 readonly reserve: XcmV0MultiLocation;2457 readonly effects: Vec<XcmV0Order>;2458 } & Struct;2459 readonly isInitiateTeleport: boolean;2460 readonly asInitiateTeleport: {2461 readonly assets: Vec<XcmV0MultiAsset>;2462 readonly dest: XcmV0MultiLocation;2463 readonly effects: Vec<XcmV0Order>;2464 } & Struct;2465 readonly isQueryHolding: boolean;2466 readonly asQueryHolding: {2467 readonly queryId: Compact<u64>;2468 readonly dest: XcmV0MultiLocation;2469 readonly assets: Vec<XcmV0MultiAsset>;2470 } & Struct;2471 readonly isBuyExecution: boolean;2472 readonly asBuyExecution: {2473 readonly fees: XcmV0MultiAsset;2474 readonly weight: u64;2475 readonly debt: u64;2476 readonly haltOnError: bool;2477 readonly xcm: Vec<XcmV0Xcm>;2478 } & Struct;2479 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2480}24812482/** @name XcmV0OriginKind */2483export interface XcmV0OriginKind extends Enum {2484 readonly isNative: boolean;2485 readonly isSovereignAccount: boolean;2486 readonly isSuperuser: boolean;2487 readonly isXcm: boolean;2488 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2489}24902491/** @name XcmV0Response */2492export interface XcmV0Response extends Enum {2493 readonly isAssets: boolean;2494 readonly asAssets: Vec<XcmV0MultiAsset>;2495 readonly type: 'Assets';2496}24972498/** @name XcmV0Xcm */2499export interface XcmV0Xcm extends Enum {2500 readonly isWithdrawAsset: boolean;2501 readonly asWithdrawAsset: {2502 readonly assets: Vec<XcmV0MultiAsset>;2503 readonly effects: Vec<XcmV0Order>;2504 } & Struct;2505 readonly isReserveAssetDeposit: boolean;2506 readonly asReserveAssetDeposit: {2507 readonly assets: Vec<XcmV0MultiAsset>;2508 readonly effects: Vec<XcmV0Order>;2509 } & Struct;2510 readonly isTeleportAsset: boolean;2511 readonly asTeleportAsset: {2512 readonly assets: Vec<XcmV0MultiAsset>;2513 readonly effects: Vec<XcmV0Order>;2514 } & Struct;2515 readonly isQueryResponse: boolean;2516 readonly asQueryResponse: {2517 readonly queryId: Compact<u64>;2518 readonly response: XcmV0Response;2519 } & Struct;2520 readonly isTransferAsset: boolean;2521 readonly asTransferAsset: {2522 readonly assets: Vec<XcmV0MultiAsset>;2523 readonly dest: XcmV0MultiLocation;2524 } & Struct;2525 readonly isTransferReserveAsset: boolean;2526 readonly asTransferReserveAsset: {2527 readonly assets: Vec<XcmV0MultiAsset>;2528 readonly dest: XcmV0MultiLocation;2529 readonly effects: Vec<XcmV0Order>;2530 } & Struct;2531 readonly isTransact: boolean;2532 readonly asTransact: {2533 readonly originType: XcmV0OriginKind;2534 readonly requireWeightAtMost: u64;2535 readonly call: XcmDoubleEncoded;2536 } & Struct;2537 readonly isHrmpNewChannelOpenRequest: boolean;2538 readonly asHrmpNewChannelOpenRequest: {2539 readonly sender: Compact<u32>;2540 readonly maxMessageSize: Compact<u32>;2541 readonly maxCapacity: Compact<u32>;2542 } & Struct;2543 readonly isHrmpChannelAccepted: boolean;2544 readonly asHrmpChannelAccepted: {2545 readonly recipient: Compact<u32>;2546 } & Struct;2547 readonly isHrmpChannelClosing: boolean;2548 readonly asHrmpChannelClosing: {2549 readonly initiator: Compact<u32>;2550 readonly sender: Compact<u32>;2551 readonly recipient: Compact<u32>;2552 } & Struct;2553 readonly isRelayedFrom: boolean;2554 readonly asRelayedFrom: {2555 readonly who: XcmV0MultiLocation;2556 readonly message: XcmV0Xcm;2557 } & Struct;2558 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2559}25602561/** @name XcmV1Junction */2562export interface XcmV1Junction extends Enum {2563 readonly isParachain: boolean;2564 readonly asParachain: Compact<u32>;2565 readonly isAccountId32: boolean;2566 readonly asAccountId32: {2567 readonly network: XcmV0JunctionNetworkId;2568 readonly id: U8aFixed;2569 } & Struct;2570 readonly isAccountIndex64: boolean;2571 readonly asAccountIndex64: {2572 readonly network: XcmV0JunctionNetworkId;2573 readonly index: Compact<u64>;2574 } & Struct;2575 readonly isAccountKey20: boolean;2576 readonly asAccountKey20: {2577 readonly network: XcmV0JunctionNetworkId;2578 readonly key: U8aFixed;2579 } & Struct;2580 readonly isPalletInstance: boolean;2581 readonly asPalletInstance: u8;2582 readonly isGeneralIndex: boolean;2583 readonly asGeneralIndex: Compact<u128>;2584 readonly isGeneralKey: boolean;2585 readonly asGeneralKey: Bytes;2586 readonly isOnlyChild: boolean;2587 readonly isPlurality: boolean;2588 readonly asPlurality: {2589 readonly id: XcmV0JunctionBodyId;2590 readonly part: XcmV0JunctionBodyPart;2591 } & Struct;2592 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2593}25942595/** @name XcmV1MultiAsset */2596export interface XcmV1MultiAsset extends Struct {2597 readonly id: XcmV1MultiassetAssetId;2598 readonly fun: XcmV1MultiassetFungibility;2599}26002601/** @name XcmV1MultiassetAssetId */2602export interface XcmV1MultiassetAssetId extends Enum {2603 readonly isConcrete: boolean;2604 readonly asConcrete: XcmV1MultiLocation;2605 readonly isAbstract: boolean;2606 readonly asAbstract: Bytes;2607 readonly type: 'Concrete' | 'Abstract';2608}26092610/** @name XcmV1MultiassetAssetInstance */2611export interface XcmV1MultiassetAssetInstance extends Enum {2612 readonly isUndefined: boolean;2613 readonly isIndex: boolean;2614 readonly asIndex: Compact<u128>;2615 readonly isArray4: boolean;2616 readonly asArray4: U8aFixed;2617 readonly isArray8: boolean;2618 readonly asArray8: U8aFixed;2619 readonly isArray16: boolean;2620 readonly asArray16: U8aFixed;2621 readonly isArray32: boolean;2622 readonly asArray32: U8aFixed;2623 readonly isBlob: boolean;2624 readonly asBlob: Bytes;2625 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2626}26272628/** @name XcmV1MultiassetFungibility */2629export interface XcmV1MultiassetFungibility extends Enum {2630 readonly isFungible: boolean;2631 readonly asFungible: Compact<u128>;2632 readonly isNonFungible: boolean;2633 readonly asNonFungible: XcmV1MultiassetAssetInstance;2634 readonly type: 'Fungible' | 'NonFungible';2635}26362637/** @name XcmV1MultiassetMultiAssetFilter */2638export interface XcmV1MultiassetMultiAssetFilter extends Enum {2639 readonly isDefinite: boolean;2640 readonly asDefinite: XcmV1MultiassetMultiAssets;2641 readonly isWild: boolean;2642 readonly asWild: XcmV1MultiassetWildMultiAsset;2643 readonly type: 'Definite' | 'Wild';2644}26452646/** @name XcmV1MultiassetMultiAssets */2647export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}26482649/** @name XcmV1MultiassetWildFungibility */2650export interface XcmV1MultiassetWildFungibility extends Enum {2651 readonly isFungible: boolean;2652 readonly isNonFungible: boolean;2653 readonly type: 'Fungible' | 'NonFungible';2654}26552656/** @name XcmV1MultiassetWildMultiAsset */2657export interface XcmV1MultiassetWildMultiAsset extends Enum {2658 readonly isAll: boolean;2659 readonly isAllOf: boolean;2660 readonly asAllOf: {2661 readonly id: XcmV1MultiassetAssetId;2662 readonly fun: XcmV1MultiassetWildFungibility;2663 } & Struct;2664 readonly type: 'All' | 'AllOf';2665}26662667/** @name XcmV1MultiLocation */2668export interface XcmV1MultiLocation extends Struct {2669 readonly parents: u8;2670 readonly interior: XcmV1MultilocationJunctions;2671}26722673/** @name XcmV1MultilocationJunctions */2674export interface XcmV1MultilocationJunctions extends Enum {2675 readonly isHere: boolean;2676 readonly isX1: boolean;2677 readonly asX1: XcmV1Junction;2678 readonly isX2: boolean;2679 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2680 readonly isX3: boolean;2681 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2682 readonly isX4: boolean;2683 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2684 readonly isX5: boolean;2685 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2686 readonly isX6: boolean;2687 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2688 readonly isX7: boolean;2689 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2690 readonly isX8: boolean;2691 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2692 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2693}26942695/** @name XcmV1Order */2696export interface XcmV1Order extends Enum {2697 readonly isNoop: boolean;2698 readonly isDepositAsset: boolean;2699 readonly asDepositAsset: {2700 readonly assets: XcmV1MultiassetMultiAssetFilter;2701 readonly maxAssets: u32;2702 readonly beneficiary: XcmV1MultiLocation;2703 } & Struct;2704 readonly isDepositReserveAsset: boolean;2705 readonly asDepositReserveAsset: {2706 readonly assets: XcmV1MultiassetMultiAssetFilter;2707 readonly maxAssets: u32;2708 readonly dest: XcmV1MultiLocation;2709 readonly effects: Vec<XcmV1Order>;2710 } & Struct;2711 readonly isExchangeAsset: boolean;2712 readonly asExchangeAsset: {2713 readonly give: XcmV1MultiassetMultiAssetFilter;2714 readonly receive: XcmV1MultiassetMultiAssets;2715 } & Struct;2716 readonly isInitiateReserveWithdraw: boolean;2717 readonly asInitiateReserveWithdraw: {2718 readonly assets: XcmV1MultiassetMultiAssetFilter;2719 readonly reserve: XcmV1MultiLocation;2720 readonly effects: Vec<XcmV1Order>;2721 } & Struct;2722 readonly isInitiateTeleport: boolean;2723 readonly asInitiateTeleport: {2724 readonly assets: XcmV1MultiassetMultiAssetFilter;2725 readonly dest: XcmV1MultiLocation;2726 readonly effects: Vec<XcmV1Order>;2727 } & Struct;2728 readonly isQueryHolding: boolean;2729 readonly asQueryHolding: {2730 readonly queryId: Compact<u64>;2731 readonly dest: XcmV1MultiLocation;2732 readonly assets: XcmV1MultiassetMultiAssetFilter;2733 } & Struct;2734 readonly isBuyExecution: boolean;2735 readonly asBuyExecution: {2736 readonly fees: XcmV1MultiAsset;2737 readonly weight: u64;2738 readonly debt: u64;2739 readonly haltOnError: bool;2740 readonly instructions: Vec<XcmV1Xcm>;2741 } & Struct;2742 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2743}27442745/** @name XcmV1Response */2746export interface XcmV1Response extends Enum {2747 readonly isAssets: boolean;2748 readonly asAssets: XcmV1MultiassetMultiAssets;2749 readonly isVersion: boolean;2750 readonly asVersion: u32;2751 readonly type: 'Assets' | 'Version';2752}27532754/** @name XcmV1Xcm */2755export interface XcmV1Xcm extends Enum {2756 readonly isWithdrawAsset: boolean;2757 readonly asWithdrawAsset: {2758 readonly assets: XcmV1MultiassetMultiAssets;2759 readonly effects: Vec<XcmV1Order>;2760 } & Struct;2761 readonly isReserveAssetDeposited: boolean;2762 readonly asReserveAssetDeposited: {2763 readonly assets: XcmV1MultiassetMultiAssets;2764 readonly effects: Vec<XcmV1Order>;2765 } & Struct;2766 readonly isReceiveTeleportedAsset: boolean;2767 readonly asReceiveTeleportedAsset: {2768 readonly assets: XcmV1MultiassetMultiAssets;2769 readonly effects: Vec<XcmV1Order>;2770 } & Struct;2771 readonly isQueryResponse: boolean;2772 readonly asQueryResponse: {2773 readonly queryId: Compact<u64>;2774 readonly response: XcmV1Response;2775 } & Struct;2776 readonly isTransferAsset: boolean;2777 readonly asTransferAsset: {2778 readonly assets: XcmV1MultiassetMultiAssets;2779 readonly beneficiary: XcmV1MultiLocation;2780 } & Struct;2781 readonly isTransferReserveAsset: boolean;2782 readonly asTransferReserveAsset: {2783 readonly assets: XcmV1MultiassetMultiAssets;2784 readonly dest: XcmV1MultiLocation;2785 readonly effects: Vec<XcmV1Order>;2786 } & Struct;2787 readonly isTransact: boolean;2788 readonly asTransact: {2789 readonly originType: XcmV0OriginKind;2790 readonly requireWeightAtMost: u64;2791 readonly call: XcmDoubleEncoded;2792 } & Struct;2793 readonly isHrmpNewChannelOpenRequest: boolean;2794 readonly asHrmpNewChannelOpenRequest: {2795 readonly sender: Compact<u32>;2796 readonly maxMessageSize: Compact<u32>;2797 readonly maxCapacity: Compact<u32>;2798 } & Struct;2799 readonly isHrmpChannelAccepted: boolean;2800 readonly asHrmpChannelAccepted: {2801 readonly recipient: Compact<u32>;2802 } & Struct;2803 readonly isHrmpChannelClosing: boolean;2804 readonly asHrmpChannelClosing: {2805 readonly initiator: Compact<u32>;2806 readonly sender: Compact<u32>;2807 readonly recipient: Compact<u32>;2808 } & Struct;2809 readonly isRelayedFrom: boolean;2810 readonly asRelayedFrom: {2811 readonly who: XcmV1MultilocationJunctions;2812 readonly message: XcmV1Xcm;2813 } & Struct;2814 readonly isSubscribeVersion: boolean;2815 readonly asSubscribeVersion: {2816 readonly queryId: Compact<u64>;2817 readonly maxResponseWeight: Compact<u64>;2818 } & Struct;2819 readonly isUnsubscribeVersion: boolean;2820 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2821}28222823/** @name XcmV2Instruction */2824export interface XcmV2Instruction extends Enum {2825 readonly isWithdrawAsset: boolean;2826 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2827 readonly isReserveAssetDeposited: boolean;2828 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2829 readonly isReceiveTeleportedAsset: boolean;2830 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2831 readonly isQueryResponse: boolean;2832 readonly asQueryResponse: {2833 readonly queryId: Compact<u64>;2834 readonly response: XcmV2Response;2835 readonly maxWeight: Compact<u64>;2836 } & Struct;2837 readonly isTransferAsset: boolean;2838 readonly asTransferAsset: {2839 readonly assets: XcmV1MultiassetMultiAssets;2840 readonly beneficiary: XcmV1MultiLocation;2841 } & Struct;2842 readonly isTransferReserveAsset: boolean;2843 readonly asTransferReserveAsset: {2844 readonly assets: XcmV1MultiassetMultiAssets;2845 readonly dest: XcmV1MultiLocation;2846 readonly xcm: XcmV2Xcm;2847 } & Struct;2848 readonly isTransact: boolean;2849 readonly asTransact: {2850 readonly originType: XcmV0OriginKind;2851 readonly requireWeightAtMost: Compact<u64>;2852 readonly call: XcmDoubleEncoded;2853 } & Struct;2854 readonly isHrmpNewChannelOpenRequest: boolean;2855 readonly asHrmpNewChannelOpenRequest: {2856 readonly sender: Compact<u32>;2857 readonly maxMessageSize: Compact<u32>;2858 readonly maxCapacity: Compact<u32>;2859 } & Struct;2860 readonly isHrmpChannelAccepted: boolean;2861 readonly asHrmpChannelAccepted: {2862 readonly recipient: Compact<u32>;2863 } & Struct;2864 readonly isHrmpChannelClosing: boolean;2865 readonly asHrmpChannelClosing: {2866 readonly initiator: Compact<u32>;2867 readonly sender: Compact<u32>;2868 readonly recipient: Compact<u32>;2869 } & Struct;2870 readonly isClearOrigin: boolean;2871 readonly isDescendOrigin: boolean;2872 readonly asDescendOrigin: XcmV1MultilocationJunctions;2873 readonly isReportError: boolean;2874 readonly asReportError: {2875 readonly queryId: Compact<u64>;2876 readonly dest: XcmV1MultiLocation;2877 readonly maxResponseWeight: Compact<u64>;2878 } & Struct;2879 readonly isDepositAsset: boolean;2880 readonly asDepositAsset: {2881 readonly assets: XcmV1MultiassetMultiAssetFilter;2882 readonly maxAssets: Compact<u32>;2883 readonly beneficiary: XcmV1MultiLocation;2884 } & Struct;2885 readonly isDepositReserveAsset: boolean;2886 readonly asDepositReserveAsset: {2887 readonly assets: XcmV1MultiassetMultiAssetFilter;2888 readonly maxAssets: Compact<u32>;2889 readonly dest: XcmV1MultiLocation;2890 readonly xcm: XcmV2Xcm;2891 } & Struct;2892 readonly isExchangeAsset: boolean;2893 readonly asExchangeAsset: {2894 readonly give: XcmV1MultiassetMultiAssetFilter;2895 readonly receive: XcmV1MultiassetMultiAssets;2896 } & Struct;2897 readonly isInitiateReserveWithdraw: boolean;2898 readonly asInitiateReserveWithdraw: {2899 readonly assets: XcmV1MultiassetMultiAssetFilter;2900 readonly reserve: XcmV1MultiLocation;2901 readonly xcm: XcmV2Xcm;2902 } & Struct;2903 readonly isInitiateTeleport: boolean;2904 readonly asInitiateTeleport: {2905 readonly assets: XcmV1MultiassetMultiAssetFilter;2906 readonly dest: XcmV1MultiLocation;2907 readonly xcm: XcmV2Xcm;2908 } & Struct;2909 readonly isQueryHolding: boolean;2910 readonly asQueryHolding: {2911 readonly queryId: Compact<u64>;2912 readonly dest: XcmV1MultiLocation;2913 readonly assets: XcmV1MultiassetMultiAssetFilter;2914 readonly maxResponseWeight: Compact<u64>;2915 } & Struct;2916 readonly isBuyExecution: boolean;2917 readonly asBuyExecution: {2918 readonly fees: XcmV1MultiAsset;2919 readonly weightLimit: XcmV2WeightLimit;2920 } & Struct;2921 readonly isRefundSurplus: boolean;2922 readonly isSetErrorHandler: boolean;2923 readonly asSetErrorHandler: XcmV2Xcm;2924 readonly isSetAppendix: boolean;2925 readonly asSetAppendix: XcmV2Xcm;2926 readonly isClearError: boolean;2927 readonly isClaimAsset: boolean;2928 readonly asClaimAsset: {2929 readonly assets: XcmV1MultiassetMultiAssets;2930 readonly ticket: XcmV1MultiLocation;2931 } & Struct;2932 readonly isTrap: boolean;2933 readonly asTrap: Compact<u64>;2934 readonly isSubscribeVersion: boolean;2935 readonly asSubscribeVersion: {2936 readonly queryId: Compact<u64>;2937 readonly maxResponseWeight: Compact<u64>;2938 } & Struct;2939 readonly isUnsubscribeVersion: boolean;2940 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';2941}29422943/** @name XcmV2Response */2944export interface XcmV2Response extends Enum {2945 readonly isNull: boolean;2946 readonly isAssets: boolean;2947 readonly asAssets: XcmV1MultiassetMultiAssets;2948 readonly isExecutionResult: boolean;2949 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2950 readonly isVersion: boolean;2951 readonly asVersion: u32;2952 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2953}29542955/** @name XcmV2TraitsError */2956export interface XcmV2TraitsError extends Enum {2957 readonly isOverflow: boolean;2958 readonly isUnimplemented: boolean;2959 readonly isUntrustedReserveLocation: boolean;2960 readonly isUntrustedTeleportLocation: boolean;2961 readonly isMultiLocationFull: boolean;2962 readonly isMultiLocationNotInvertible: boolean;2963 readonly isBadOrigin: boolean;2964 readonly isInvalidLocation: boolean;2965 readonly isAssetNotFound: boolean;2966 readonly isFailedToTransactAsset: boolean;2967 readonly isNotWithdrawable: boolean;2968 readonly isLocationCannotHold: boolean;2969 readonly isExceedsMaxMessageSize: boolean;2970 readonly isDestinationUnsupported: boolean;2971 readonly isTransport: boolean;2972 readonly isUnroutable: boolean;2973 readonly isUnknownClaim: boolean;2974 readonly isFailedToDecode: boolean;2975 readonly isMaxWeightInvalid: boolean;2976 readonly isNotHoldingFees: boolean;2977 readonly isTooExpensive: boolean;2978 readonly isTrap: boolean;2979 readonly asTrap: u64;2980 readonly isUnhandledXcmVersion: boolean;2981 readonly isWeightLimitReached: boolean;2982 readonly asWeightLimitReached: u64;2983 readonly isBarrier: boolean;2984 readonly isWeightNotComputable: boolean;2985 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';2986}29872988/** @name XcmV2TraitsOutcome */2989export interface XcmV2TraitsOutcome extends Enum {2990 readonly isComplete: boolean;2991 readonly asComplete: u64;2992 readonly isIncomplete: boolean;2993 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2994 readonly isError: boolean;2995 readonly asError: XcmV2TraitsError;2996 readonly type: 'Complete' | 'Incomplete' | 'Error';2997}29982999/** @name XcmV2WeightLimit */3000export interface XcmV2WeightLimit extends Enum {3001 readonly isUnlimited: boolean;3002 readonly isLimited: boolean;3003 readonly asLimited: Compact<u64>;3004 readonly type: 'Unlimited' | 'Limited';3005}30063007/** @name XcmV2Xcm */3008export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}30093010/** @name XcmVersionedMultiAssets */3011export interface XcmVersionedMultiAssets extends Enum {3012 readonly isV0: boolean;3013 readonly asV0: Vec<XcmV0MultiAsset>;3014 readonly isV1: boolean;3015 readonly asV1: XcmV1MultiassetMultiAssets;3016 readonly type: 'V0' | 'V1';3017}30183019/** @name XcmVersionedMultiLocation */3020export interface XcmVersionedMultiLocation extends Enum {3021 readonly isV0: boolean;3022 readonly asV0: XcmV0MultiLocation;3023 readonly isV1: boolean;3024 readonly asV1: XcmV1MultiLocation;3025 readonly type: 'V0' | 'V1';3026}30273028/** @name XcmVersionedXcm */3029export interface XcmVersionedXcm extends Enum {3030 readonly isV0: boolean;3031 readonly asV0: XcmV0Xcm;3032 readonly isV1: boolean;3033 readonly asV1: XcmV1Xcm;3034 readonly isV2: boolean;3035 readonly asV2: XcmV2Xcm;3036 readonly type: 'V0' | 'V1' | 'V2';3037}30383039export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, 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, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: U8aFixed;35 readonly isUnsupportedVersion: boolean;36 readonly asUnsupportedVersion: U8aFixed;37 readonly isExecutedDownward: boolean;38 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;39 readonly isWeightExhausted: boolean;40 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;41 readonly isOverweightEnqueued: boolean;42 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;43 readonly isOverweightServiced: boolean;44 readonly asOverweightServiced: ITuple<[u64, u64]>;45 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';46}4748/** @name CumulusPalletDmpQueuePageIndexData */49export interface CumulusPalletDmpQueuePageIndexData extends Struct {50 readonly beginUsed: u32;51 readonly endUsed: u32;52 readonly overweightCount: u64;53}5455/** @name CumulusPalletParachainSystemCall */56export interface CumulusPalletParachainSystemCall extends Enum {57 readonly isSetValidationData: boolean;58 readonly asSetValidationData: {59 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;60 } & Struct;61 readonly isSudoSendUpwardMessage: boolean;62 readonly asSudoSendUpwardMessage: {63 readonly message: Bytes;64 } & Struct;65 readonly isAuthorizeUpgrade: boolean;66 readonly asAuthorizeUpgrade: {67 readonly codeHash: H256;68 } & Struct;69 readonly isEnactAuthorizedUpgrade: boolean;70 readonly asEnactAuthorizedUpgrade: {71 readonly code: Bytes;72 } & Struct;73 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';74}7576/** @name CumulusPalletParachainSystemError */77export interface CumulusPalletParachainSystemError extends Enum {78 readonly isOverlappingUpgrades: boolean;79 readonly isProhibitedByPolkadot: boolean;80 readonly isTooBig: boolean;81 readonly isValidationDataNotAvailable: boolean;82 readonly isHostConfigurationNotAvailable: boolean;83 readonly isNotScheduled: boolean;84 readonly isNothingAuthorized: boolean;85 readonly isUnauthorized: boolean;86 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';87}8889/** @name CumulusPalletParachainSystemEvent */90export interface CumulusPalletParachainSystemEvent extends Enum {91 readonly isValidationFunctionStored: boolean;92 readonly isValidationFunctionApplied: boolean;93 readonly asValidationFunctionApplied: u32;94 readonly isValidationFunctionDiscarded: boolean;95 readonly isUpgradeAuthorized: boolean;96 readonly asUpgradeAuthorized: H256;97 readonly isDownwardMessagesReceived: boolean;98 readonly asDownwardMessagesReceived: u32;99 readonly isDownwardMessagesProcessed: boolean;100 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;101 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';102}103104/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */105export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {106 readonly dmqMqcHead: H256;107 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;108 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;109 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;110}111112/** @name CumulusPalletXcmCall */113export interface CumulusPalletXcmCall extends Null {}114115/** @name CumulusPalletXcmError */116export interface CumulusPalletXcmError extends Null {}117118/** @name CumulusPalletXcmEvent */119export interface CumulusPalletXcmEvent extends Enum {120 readonly isInvalidFormat: boolean;121 readonly asInvalidFormat: U8aFixed;122 readonly isUnsupportedVersion: boolean;123 readonly asUnsupportedVersion: U8aFixed;124 readonly isExecutedDownward: boolean;125 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;126 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';127}128129/** @name CumulusPalletXcmpQueueCall */130export interface CumulusPalletXcmpQueueCall extends Enum {131 readonly isServiceOverweight: boolean;132 readonly asServiceOverweight: {133 readonly index: u64;134 readonly weightLimit: u64;135 } & Struct;136 readonly isSuspendXcmExecution: boolean;137 readonly isResumeXcmExecution: boolean;138 readonly isUpdateSuspendThreshold: boolean;139 readonly asUpdateSuspendThreshold: {140 readonly new_: u32;141 } & Struct;142 readonly isUpdateDropThreshold: boolean;143 readonly asUpdateDropThreshold: {144 readonly new_: u32;145 } & Struct;146 readonly isUpdateResumeThreshold: boolean;147 readonly asUpdateResumeThreshold: {148 readonly new_: u32;149 } & Struct;150 readonly isUpdateThresholdWeight: boolean;151 readonly asUpdateThresholdWeight: {152 readonly new_: u64;153 } & Struct;154 readonly isUpdateWeightRestrictDecay: boolean;155 readonly asUpdateWeightRestrictDecay: {156 readonly new_: u64;157 } & Struct;158 readonly isUpdateXcmpMaxIndividualWeight: boolean;159 readonly asUpdateXcmpMaxIndividualWeight: {160 readonly new_: u64;161 } & Struct;162 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';163}164165/** @name CumulusPalletXcmpQueueError */166export interface CumulusPalletXcmpQueueError extends Enum {167 readonly isFailedToSend: boolean;168 readonly isBadXcmOrigin: boolean;169 readonly isBadXcm: boolean;170 readonly isBadOverweightIndex: boolean;171 readonly isWeightOverLimit: boolean;172 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';173}174175/** @name CumulusPalletXcmpQueueEvent */176export interface CumulusPalletXcmpQueueEvent extends Enum {177 readonly isSuccess: boolean;178 readonly asSuccess: Option<H256>;179 readonly isFail: boolean;180 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;181 readonly isBadVersion: boolean;182 readonly asBadVersion: Option<H256>;183 readonly isBadFormat: boolean;184 readonly asBadFormat: Option<H256>;185 readonly isUpwardMessageSent: boolean;186 readonly asUpwardMessageSent: Option<H256>;187 readonly isXcmpMessageSent: boolean;188 readonly asXcmpMessageSent: Option<H256>;189 readonly isOverweightEnqueued: boolean;190 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;191 readonly isOverweightServiced: boolean;192 readonly asOverweightServiced: ITuple<[u64, u64]>;193 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';194}195196/** @name CumulusPalletXcmpQueueInboundChannelDetails */197export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {198 readonly sender: u32;199 readonly state: CumulusPalletXcmpQueueInboundState;200 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;201}202203/** @name CumulusPalletXcmpQueueInboundState */204export interface CumulusPalletXcmpQueueInboundState extends Enum {205 readonly isOk: boolean;206 readonly isSuspended: boolean;207 readonly type: 'Ok' | 'Suspended';208}209210/** @name CumulusPalletXcmpQueueOutboundChannelDetails */211export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {212 readonly recipient: u32;213 readonly state: CumulusPalletXcmpQueueOutboundState;214 readonly signalsExist: bool;215 readonly firstIndex: u16;216 readonly lastIndex: u16;217}218219/** @name CumulusPalletXcmpQueueOutboundState */220export interface CumulusPalletXcmpQueueOutboundState extends Enum {221 readonly isOk: boolean;222 readonly isSuspended: boolean;223 readonly type: 'Ok' | 'Suspended';224}225226/** @name CumulusPalletXcmpQueueQueueConfigData */227export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {228 readonly suspendThreshold: u32;229 readonly dropThreshold: u32;230 readonly resumeThreshold: u32;231 readonly thresholdWeight: u64;232 readonly weightRestrictDecay: u64;233 readonly xcmpMaxIndividualWeight: u64;234}235236/** @name CumulusPrimitivesParachainInherentParachainInherentData */237export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {238 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;239 readonly relayChainState: SpTrieStorageProof;240 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;241 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;242}243244/** @name EthbloomBloom */245export interface EthbloomBloom extends U8aFixed {}246247/** @name EthereumBlock */248export interface EthereumBlock extends Struct {249 readonly header: EthereumHeader;250 readonly transactions: Vec<EthereumTransactionTransactionV2>;251 readonly ommers: Vec<EthereumHeader>;252}253254/** @name EthereumHeader */255export interface EthereumHeader extends Struct {256 readonly parentHash: H256;257 readonly ommersHash: H256;258 readonly beneficiary: H160;259 readonly stateRoot: H256;260 readonly transactionsRoot: H256;261 readonly receiptsRoot: H256;262 readonly logsBloom: EthbloomBloom;263 readonly difficulty: U256;264 readonly number: U256;265 readonly gasLimit: U256;266 readonly gasUsed: U256;267 readonly timestamp: u64;268 readonly extraData: Bytes;269 readonly mixHash: H256;270 readonly nonce: EthereumTypesHashH64;271}272273/** @name EthereumLog */274export interface EthereumLog extends Struct {275 readonly address: H160;276 readonly topics: Vec<H256>;277 readonly data: Bytes;278}279280/** @name EthereumReceiptEip658ReceiptData */281export interface EthereumReceiptEip658ReceiptData extends Struct {282 readonly statusCode: u8;283 readonly usedGas: U256;284 readonly logsBloom: EthbloomBloom;285 readonly logs: Vec<EthereumLog>;286}287288/** @name EthereumReceiptReceiptV3 */289export interface EthereumReceiptReceiptV3 extends Enum {290 readonly isLegacy: boolean;291 readonly asLegacy: EthereumReceiptEip658ReceiptData;292 readonly isEip2930: boolean;293 readonly asEip2930: EthereumReceiptEip658ReceiptData;294 readonly isEip1559: boolean;295 readonly asEip1559: EthereumReceiptEip658ReceiptData;296 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';297}298299/** @name EthereumTransactionAccessListItem */300export interface EthereumTransactionAccessListItem extends Struct {301 readonly address: H160;302 readonly storageKeys: Vec<H256>;303}304305/** @name EthereumTransactionEip1559Transaction */306export interface EthereumTransactionEip1559Transaction extends Struct {307 readonly chainId: u64;308 readonly nonce: U256;309 readonly maxPriorityFeePerGas: U256;310 readonly maxFeePerGas: U256;311 readonly gasLimit: U256;312 readonly action: EthereumTransactionTransactionAction;313 readonly value: U256;314 readonly input: Bytes;315 readonly accessList: Vec<EthereumTransactionAccessListItem>;316 readonly oddYParity: bool;317 readonly r: H256;318 readonly s: H256;319}320321/** @name EthereumTransactionEip2930Transaction */322export interface EthereumTransactionEip2930Transaction extends Struct {323 readonly chainId: u64;324 readonly nonce: U256;325 readonly gasPrice: U256;326 readonly gasLimit: U256;327 readonly action: EthereumTransactionTransactionAction;328 readonly value: U256;329 readonly input: Bytes;330 readonly accessList: Vec<EthereumTransactionAccessListItem>;331 readonly oddYParity: bool;332 readonly r: H256;333 readonly s: H256;334}335336/** @name EthereumTransactionLegacyTransaction */337export interface EthereumTransactionLegacyTransaction extends Struct {338 readonly nonce: U256;339 readonly gasPrice: U256;340 readonly gasLimit: U256;341 readonly action: EthereumTransactionTransactionAction;342 readonly value: U256;343 readonly input: Bytes;344 readonly signature: EthereumTransactionTransactionSignature;345}346347/** @name EthereumTransactionTransactionAction */348export interface EthereumTransactionTransactionAction extends Enum {349 readonly isCall: boolean;350 readonly asCall: H160;351 readonly isCreate: boolean;352 readonly type: 'Call' | 'Create';353}354355/** @name EthereumTransactionTransactionSignature */356export interface EthereumTransactionTransactionSignature extends Struct {357 readonly v: u64;358 readonly r: H256;359 readonly s: H256;360}361362/** @name EthereumTransactionTransactionV2 */363export interface EthereumTransactionTransactionV2 extends Enum {364 readonly isLegacy: boolean;365 readonly asLegacy: EthereumTransactionLegacyTransaction;366 readonly isEip2930: boolean;367 readonly asEip2930: EthereumTransactionEip2930Transaction;368 readonly isEip1559: boolean;369 readonly asEip1559: EthereumTransactionEip1559Transaction;370 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';371}372373/** @name EthereumTypesHashH64 */374export interface EthereumTypesHashH64 extends U8aFixed {}375376/** @name EvmCoreErrorExitError */377export interface EvmCoreErrorExitError extends Enum {378 readonly isStackUnderflow: boolean;379 readonly isStackOverflow: boolean;380 readonly isInvalidJump: boolean;381 readonly isInvalidRange: boolean;382 readonly isDesignatedInvalid: boolean;383 readonly isCallTooDeep: boolean;384 readonly isCreateCollision: boolean;385 readonly isCreateContractLimit: boolean;386 readonly isOutOfOffset: boolean;387 readonly isOutOfGas: boolean;388 readonly isOutOfFund: boolean;389 readonly isPcUnderflow: boolean;390 readonly isCreateEmpty: boolean;391 readonly isOther: boolean;392 readonly asOther: Text;393 readonly isInvalidCode: boolean;394 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';395}396397/** @name EvmCoreErrorExitFatal */398export interface EvmCoreErrorExitFatal extends Enum {399 readonly isNotSupported: boolean;400 readonly isUnhandledInterrupt: boolean;401 readonly isCallErrorAsFatal: boolean;402 readonly asCallErrorAsFatal: EvmCoreErrorExitError;403 readonly isOther: boolean;404 readonly asOther: Text;405 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';406}407408/** @name EvmCoreErrorExitReason */409export interface EvmCoreErrorExitReason extends Enum {410 readonly isSucceed: boolean;411 readonly asSucceed: EvmCoreErrorExitSucceed;412 readonly isError: boolean;413 readonly asError: EvmCoreErrorExitError;414 readonly isRevert: boolean;415 readonly asRevert: EvmCoreErrorExitRevert;416 readonly isFatal: boolean;417 readonly asFatal: EvmCoreErrorExitFatal;418 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';419}420421/** @name EvmCoreErrorExitRevert */422export interface EvmCoreErrorExitRevert extends Enum {423 readonly isReverted: boolean;424 readonly type: 'Reverted';425}426427/** @name EvmCoreErrorExitSucceed */428export interface EvmCoreErrorExitSucceed extends Enum {429 readonly isStopped: boolean;430 readonly isReturned: boolean;431 readonly isSuicided: boolean;432 readonly type: 'Stopped' | 'Returned' | 'Suicided';433}434435/** @name FpRpcTransactionStatus */436export interface FpRpcTransactionStatus extends Struct {437 readonly transactionHash: H256;438 readonly transactionIndex: u32;439 readonly from: H160;440 readonly to: Option<H160>;441 readonly contractAddress: Option<H160>;442 readonly logs: Vec<EthereumLog>;443 readonly logsBloom: EthbloomBloom;444}445446/** @name FrameSupportPalletId */447export interface FrameSupportPalletId extends U8aFixed {}448449/** @name FrameSupportTokensMiscBalanceStatus */450export interface FrameSupportTokensMiscBalanceStatus extends Enum {451 readonly isFree: boolean;452 readonly isReserved: boolean;453 readonly type: 'Free' | 'Reserved';454}455456/** @name FrameSupportWeightsDispatchClass */457export interface FrameSupportWeightsDispatchClass extends Enum {458 readonly isNormal: boolean;459 readonly isOperational: boolean;460 readonly isMandatory: boolean;461 readonly type: 'Normal' | 'Operational' | 'Mandatory';462}463464/** @name FrameSupportWeightsDispatchInfo */465export interface FrameSupportWeightsDispatchInfo extends Struct {466 readonly weight: u64;467 readonly class: FrameSupportWeightsDispatchClass;468 readonly paysFee: FrameSupportWeightsPays;469}470471/** @name FrameSupportWeightsPays */472export interface FrameSupportWeightsPays extends Enum {473 readonly isYes: boolean;474 readonly isNo: boolean;475 readonly type: 'Yes' | 'No';476}477478/** @name FrameSupportWeightsPerDispatchClassU32 */479export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {480 readonly normal: u32;481 readonly operational: u32;482 readonly mandatory: u32;483}484485/** @name FrameSupportWeightsPerDispatchClassU64 */486export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {487 readonly normal: u64;488 readonly operational: u64;489 readonly mandatory: u64;490}491492/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */493export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {494 readonly normal: FrameSystemLimitsWeightsPerClass;495 readonly operational: FrameSystemLimitsWeightsPerClass;496 readonly mandatory: FrameSystemLimitsWeightsPerClass;497}498499/** @name FrameSupportWeightsRuntimeDbWeight */500export interface FrameSupportWeightsRuntimeDbWeight extends Struct {501 readonly read: u64;502 readonly write: u64;503}504505/** @name FrameSupportWeightsWeightToFeeCoefficient */506export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {507 readonly coeffInteger: u128;508 readonly coeffFrac: Perbill;509 readonly negative: bool;510 readonly degree: u8;511}512513/** @name FrameSystemAccountInfo */514export interface FrameSystemAccountInfo extends Struct {515 readonly nonce: u32;516 readonly consumers: u32;517 readonly providers: u32;518 readonly sufficients: u32;519 readonly data: PalletBalancesAccountData;520}521522/** @name FrameSystemCall */523export interface FrameSystemCall extends Enum {524 readonly isFillBlock: boolean;525 readonly asFillBlock: {526 readonly ratio: Perbill;527 } & Struct;528 readonly isRemark: boolean;529 readonly asRemark: {530 readonly remark: Bytes;531 } & Struct;532 readonly isSetHeapPages: boolean;533 readonly asSetHeapPages: {534 readonly pages: u64;535 } & Struct;536 readonly isSetCode: boolean;537 readonly asSetCode: {538 readonly code: Bytes;539 } & Struct;540 readonly isSetCodeWithoutChecks: boolean;541 readonly asSetCodeWithoutChecks: {542 readonly code: Bytes;543 } & Struct;544 readonly isSetStorage: boolean;545 readonly asSetStorage: {546 readonly items: Vec<ITuple<[Bytes, Bytes]>>;547 } & Struct;548 readonly isKillStorage: boolean;549 readonly asKillStorage: {550 readonly keys_: Vec<Bytes>;551 } & Struct;552 readonly isKillPrefix: boolean;553 readonly asKillPrefix: {554 readonly prefix: Bytes;555 readonly subkeys: u32;556 } & Struct;557 readonly isRemarkWithEvent: boolean;558 readonly asRemarkWithEvent: {559 readonly remark: Bytes;560 } & Struct;561 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';562}563564/** @name FrameSystemError */565export interface FrameSystemError extends Enum {566 readonly isInvalidSpecName: boolean;567 readonly isSpecVersionNeedsToIncrease: boolean;568 readonly isFailedToExtractRuntimeVersion: boolean;569 readonly isNonDefaultComposite: boolean;570 readonly isNonZeroRefCount: boolean;571 readonly isCallFiltered: boolean;572 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';573}574575/** @name FrameSystemEvent */576export interface FrameSystemEvent extends Enum {577 readonly isExtrinsicSuccess: boolean;578 readonly asExtrinsicSuccess: {579 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;580 } & Struct;581 readonly isExtrinsicFailed: boolean;582 readonly asExtrinsicFailed: {583 readonly dispatchError: SpRuntimeDispatchError;584 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;585 } & Struct;586 readonly isCodeUpdated: boolean;587 readonly isNewAccount: boolean;588 readonly asNewAccount: {589 readonly account: AccountId32;590 } & Struct;591 readonly isKilledAccount: boolean;592 readonly asKilledAccount: {593 readonly account: AccountId32;594 } & Struct;595 readonly isRemarked: boolean;596 readonly asRemarked: {597 readonly sender: AccountId32;598 readonly hash_: H256;599 } & Struct;600 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';601}602603/** @name FrameSystemEventRecord */604export interface FrameSystemEventRecord extends Struct {605 readonly phase: FrameSystemPhase;606 readonly event: Event;607 readonly topics: Vec<H256>;608}609610/** @name FrameSystemExtensionsCheckGenesis */611export interface FrameSystemExtensionsCheckGenesis extends Null {}612613/** @name FrameSystemExtensionsCheckNonce */614export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}615616/** @name FrameSystemExtensionsCheckSpecVersion */617export interface FrameSystemExtensionsCheckSpecVersion extends Null {}618619/** @name FrameSystemExtensionsCheckWeight */620export interface FrameSystemExtensionsCheckWeight extends Null {}621622/** @name FrameSystemLastRuntimeUpgradeInfo */623export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {624 readonly specVersion: Compact<u32>;625 readonly specName: Text;626}627628/** @name FrameSystemLimitsBlockLength */629export interface FrameSystemLimitsBlockLength extends Struct {630 readonly max: FrameSupportWeightsPerDispatchClassU32;631}632633/** @name FrameSystemLimitsBlockWeights */634export interface FrameSystemLimitsBlockWeights extends Struct {635 readonly baseBlock: u64;636 readonly maxBlock: u64;637 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;638}639640/** @name FrameSystemLimitsWeightsPerClass */641export interface FrameSystemLimitsWeightsPerClass extends Struct {642 readonly baseExtrinsic: u64;643 readonly maxExtrinsic: Option<u64>;644 readonly maxTotal: Option<u64>;645 readonly reserved: Option<u64>;646}647648/** @name FrameSystemPhase */649export interface FrameSystemPhase extends Enum {650 readonly isApplyExtrinsic: boolean;651 readonly asApplyExtrinsic: u32;652 readonly isFinalization: boolean;653 readonly isInitialization: boolean;654 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';655}656657/** @name OpalRuntimeRuntime */658export interface OpalRuntimeRuntime extends Null {}659660/** @name OrmlVestingModuleCall */661export interface OrmlVestingModuleCall extends Enum {662 readonly isClaim: boolean;663 readonly isVestedTransfer: boolean;664 readonly asVestedTransfer: {665 readonly dest: MultiAddress;666 readonly schedule: OrmlVestingVestingSchedule;667 } & Struct;668 readonly isUpdateVestingSchedules: boolean;669 readonly asUpdateVestingSchedules: {670 readonly who: MultiAddress;671 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;672 } & Struct;673 readonly isClaimFor: boolean;674 readonly asClaimFor: {675 readonly dest: MultiAddress;676 } & Struct;677 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';678}679680/** @name OrmlVestingModuleError */681export interface OrmlVestingModuleError extends Enum {682 readonly isZeroVestingPeriod: boolean;683 readonly isZeroVestingPeriodCount: boolean;684 readonly isInsufficientBalanceToLock: boolean;685 readonly isTooManyVestingSchedules: boolean;686 readonly isAmountLow: boolean;687 readonly isMaxVestingSchedulesExceeded: boolean;688 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';689}690691/** @name OrmlVestingModuleEvent */692export interface OrmlVestingModuleEvent extends Enum {693 readonly isVestingScheduleAdded: boolean;694 readonly asVestingScheduleAdded: {695 readonly from: AccountId32;696 readonly to: AccountId32;697 readonly vestingSchedule: OrmlVestingVestingSchedule;698 } & Struct;699 readonly isClaimed: boolean;700 readonly asClaimed: {701 readonly who: AccountId32;702 readonly amount: u128;703 } & Struct;704 readonly isVestingSchedulesUpdated: boolean;705 readonly asVestingSchedulesUpdated: {706 readonly who: AccountId32;707 } & Struct;708 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';709}710711/** @name OrmlVestingVestingSchedule */712export interface OrmlVestingVestingSchedule extends Struct {713 readonly start: u32;714 readonly period: u32;715 readonly periodCount: u32;716 readonly perPeriod: Compact<u128>;717}718719/** @name PalletBalancesAccountData */720export interface PalletBalancesAccountData extends Struct {721 readonly free: u128;722 readonly reserved: u128;723 readonly miscFrozen: u128;724 readonly feeFrozen: u128;725}726727/** @name PalletBalancesBalanceLock */728export interface PalletBalancesBalanceLock extends Struct {729 readonly id: U8aFixed;730 readonly amount: u128;731 readonly reasons: PalletBalancesReasons;732}733734/** @name PalletBalancesCall */735export interface PalletBalancesCall extends Enum {736 readonly isTransfer: boolean;737 readonly asTransfer: {738 readonly dest: MultiAddress;739 readonly value: Compact<u128>;740 } & Struct;741 readonly isSetBalance: boolean;742 readonly asSetBalance: {743 readonly who: MultiAddress;744 readonly newFree: Compact<u128>;745 readonly newReserved: Compact<u128>;746 } & Struct;747 readonly isForceTransfer: boolean;748 readonly asForceTransfer: {749 readonly source: MultiAddress;750 readonly dest: MultiAddress;751 readonly value: Compact<u128>;752 } & Struct;753 readonly isTransferKeepAlive: boolean;754 readonly asTransferKeepAlive: {755 readonly dest: MultiAddress;756 readonly value: Compact<u128>;757 } & Struct;758 readonly isTransferAll: boolean;759 readonly asTransferAll: {760 readonly dest: MultiAddress;761 readonly keepAlive: bool;762 } & Struct;763 readonly isForceUnreserve: boolean;764 readonly asForceUnreserve: {765 readonly who: MultiAddress;766 readonly amount: u128;767 } & Struct;768 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';769}770771/** @name PalletBalancesError */772export interface PalletBalancesError extends Enum {773 readonly isVestingBalance: boolean;774 readonly isLiquidityRestrictions: boolean;775 readonly isInsufficientBalance: boolean;776 readonly isExistentialDeposit: boolean;777 readonly isKeepAlive: boolean;778 readonly isExistingVestingSchedule: boolean;779 readonly isDeadAccount: boolean;780 readonly isTooManyReserves: boolean;781 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';782}783784/** @name PalletBalancesEvent */785export interface PalletBalancesEvent extends Enum {786 readonly isEndowed: boolean;787 readonly asEndowed: {788 readonly account: AccountId32;789 readonly freeBalance: u128;790 } & Struct;791 readonly isDustLost: boolean;792 readonly asDustLost: {793 readonly account: AccountId32;794 readonly amount: u128;795 } & Struct;796 readonly isTransfer: boolean;797 readonly asTransfer: {798 readonly from: AccountId32;799 readonly to: AccountId32;800 readonly amount: u128;801 } & Struct;802 readonly isBalanceSet: boolean;803 readonly asBalanceSet: {804 readonly who: AccountId32;805 readonly free: u128;806 readonly reserved: u128;807 } & Struct;808 readonly isReserved: boolean;809 readonly asReserved: {810 readonly who: AccountId32;811 readonly amount: u128;812 } & Struct;813 readonly isUnreserved: boolean;814 readonly asUnreserved: {815 readonly who: AccountId32;816 readonly amount: u128;817 } & Struct;818 readonly isReserveRepatriated: boolean;819 readonly asReserveRepatriated: {820 readonly from: AccountId32;821 readonly to: AccountId32;822 readonly amount: u128;823 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;824 } & Struct;825 readonly isDeposit: boolean;826 readonly asDeposit: {827 readonly who: AccountId32;828 readonly amount: u128;829 } & Struct;830 readonly isWithdraw: boolean;831 readonly asWithdraw: {832 readonly who: AccountId32;833 readonly amount: u128;834 } & Struct;835 readonly isSlashed: boolean;836 readonly asSlashed: {837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';841}842843/** @name PalletBalancesReasons */844export interface PalletBalancesReasons extends Enum {845 readonly isFee: boolean;846 readonly isMisc: boolean;847 readonly isAll: boolean;848 readonly type: 'Fee' | 'Misc' | 'All';849}850851/** @name PalletBalancesReleases */852export interface PalletBalancesReleases extends Enum {853 readonly isV100: boolean;854 readonly isV200: boolean;855 readonly type: 'V100' | 'V200';856}857858/** @name PalletBalancesReserveData */859export interface PalletBalancesReserveData extends Struct {860 readonly id: U8aFixed;861 readonly amount: u128;862}863864/** @name PalletCommonError */865export interface PalletCommonError extends Enum {866 readonly isCollectionNotFound: boolean;867 readonly isMustBeTokenOwner: boolean;868 readonly isNoPermission: boolean;869 readonly isCantDestroyNotEmptyCollection: boolean;870 readonly isPublicMintingNotAllowed: boolean;871 readonly isAddressNotInAllowlist: boolean;872 readonly isCollectionNameLimitExceeded: boolean;873 readonly isCollectionDescriptionLimitExceeded: boolean;874 readonly isCollectionTokenPrefixLimitExceeded: boolean;875 readonly isTotalCollectionsLimitExceeded: boolean;876 readonly isCollectionAdminCountExceeded: boolean;877 readonly isCollectionLimitBoundsExceeded: boolean;878 readonly isOwnerPermissionsCantBeReverted: boolean;879 readonly isTransferNotAllowed: boolean;880 readonly isAccountTokenLimitExceeded: boolean;881 readonly isCollectionTokenLimitExceeded: boolean;882 readonly isMetadataFlagFrozen: boolean;883 readonly isTokenNotFound: boolean;884 readonly isTokenValueTooLow: boolean;885 readonly isApprovedValueTooLow: boolean;886 readonly isCantApproveMoreThanOwned: boolean;887 readonly isAddressIsZero: boolean;888 readonly isUnsupportedOperation: boolean;889 readonly isNotSufficientFounds: boolean;890 readonly isNestingIsDisabled: boolean;891 readonly isOnlyOwnerAllowedToNest: boolean;892 readonly isSourceCollectionIsNotAllowedToNest: boolean;893 readonly isCollectionFieldSizeExceeded: boolean;894 readonly isNoSpaceForProperty: boolean;895 readonly isPropertyLimitReached: boolean;896 readonly isPropertyKeyIsTooLong: boolean;897 readonly isInvalidCharacterInPropertyKey: boolean;898 readonly isEmptyPropertyKey: boolean;899 readonly isCollectionIsExternal: boolean;900 readonly isCollectionIsInternal: boolean;901 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';902}903904/** @name PalletCommonEvent */905export interface PalletCommonEvent extends Enum {906 readonly isCollectionCreated: boolean;907 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;908 readonly isCollectionDestroyed: boolean;909 readonly asCollectionDestroyed: u32;910 readonly isItemCreated: boolean;911 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;912 readonly isItemDestroyed: boolean;913 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;914 readonly isTransfer: boolean;915 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;916 readonly isApproved: boolean;917 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;918 readonly isCollectionPropertySet: boolean;919 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;920 readonly isCollectionPropertyDeleted: boolean;921 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;922 readonly isTokenPropertySet: boolean;923 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;924 readonly isTokenPropertyDeleted: boolean;925 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;926 readonly isPropertyPermissionSet: boolean;927 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;928 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';929}930931/** @name PalletEthereumCall */932export interface PalletEthereumCall extends Enum {933 readonly isTransact: boolean;934 readonly asTransact: {935 readonly transaction: EthereumTransactionTransactionV2;936 } & Struct;937 readonly type: 'Transact';938}939940/** @name PalletEthereumError */941export interface PalletEthereumError extends Enum {942 readonly isInvalidSignature: boolean;943 readonly isPreLogExists: boolean;944 readonly type: 'InvalidSignature' | 'PreLogExists';945}946947/** @name PalletEthereumEvent */948export interface PalletEthereumEvent extends Enum {949 readonly isExecuted: boolean;950 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;951 readonly type: 'Executed';952}953954/** @name PalletEthereumFakeTransactionFinalizer */955export interface PalletEthereumFakeTransactionFinalizer extends Null {}956957/** @name PalletEvmAccountBasicCrossAccountIdRepr */958export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {959 readonly isSubstrate: boolean;960 readonly asSubstrate: AccountId32;961 readonly isEthereum: boolean;962 readonly asEthereum: H160;963 readonly type: 'Substrate' | 'Ethereum';964}965966/** @name PalletEvmCall */967export interface PalletEvmCall extends Enum {968 readonly isWithdraw: boolean;969 readonly asWithdraw: {970 readonly address: H160;971 readonly value: u128;972 } & Struct;973 readonly isCall: boolean;974 readonly asCall: {975 readonly source: H160;976 readonly target: H160;977 readonly input: Bytes;978 readonly value: U256;979 readonly gasLimit: u64;980 readonly maxFeePerGas: U256;981 readonly maxPriorityFeePerGas: Option<U256>;982 readonly nonce: Option<U256>;983 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;984 } & Struct;985 readonly isCreate: boolean;986 readonly asCreate: {987 readonly source: H160;988 readonly init: Bytes;989 readonly value: U256;990 readonly gasLimit: u64;991 readonly maxFeePerGas: U256;992 readonly maxPriorityFeePerGas: Option<U256>;993 readonly nonce: Option<U256>;994 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;995 } & Struct;996 readonly isCreate2: boolean;997 readonly asCreate2: {998 readonly source: H160;999 readonly init: Bytes;1000 readonly salt: H256;1001 readonly value: U256;1002 readonly gasLimit: u64;1003 readonly maxFeePerGas: U256;1004 readonly maxPriorityFeePerGas: Option<U256>;1005 readonly nonce: Option<U256>;1006 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1007 } & Struct;1008 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1009}10101011/** @name PalletEvmCoderSubstrateError */1012export interface PalletEvmCoderSubstrateError extends Enum {1013 readonly isOutOfGas: boolean;1014 readonly isOutOfFund: boolean;1015 readonly type: 'OutOfGas' | 'OutOfFund';1016}10171018/** @name PalletEvmContractHelpersError */1019export interface PalletEvmContractHelpersError extends Enum {1020 readonly isNoPermission: boolean;1021 readonly type: 'NoPermission';1022}10231024/** @name PalletEvmContractHelpersSponsoringModeT */1025export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1026 readonly isDisabled: boolean;1027 readonly isAllowlisted: boolean;1028 readonly isGenerous: boolean;1029 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1030}10311032/** @name PalletEvmError */1033export interface PalletEvmError extends Enum {1034 readonly isBalanceLow: boolean;1035 readonly isFeeOverflow: boolean;1036 readonly isPaymentOverflow: boolean;1037 readonly isWithdrawFailed: boolean;1038 readonly isGasPriceTooLow: boolean;1039 readonly isInvalidNonce: boolean;1040 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1041}10421043/** @name PalletEvmEvent */1044export interface PalletEvmEvent extends Enum {1045 readonly isLog: boolean;1046 readonly asLog: EthereumLog;1047 readonly isCreated: boolean;1048 readonly asCreated: H160;1049 readonly isCreatedFailed: boolean;1050 readonly asCreatedFailed: H160;1051 readonly isExecuted: boolean;1052 readonly asExecuted: H160;1053 readonly isExecutedFailed: boolean;1054 readonly asExecutedFailed: H160;1055 readonly isBalanceDeposit: boolean;1056 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1057 readonly isBalanceWithdraw: boolean;1058 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1059 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1060}10611062/** @name PalletEvmMigrationCall */1063export interface PalletEvmMigrationCall extends Enum {1064 readonly isBegin: boolean;1065 readonly asBegin: {1066 readonly address: H160;1067 } & Struct;1068 readonly isSetData: boolean;1069 readonly asSetData: {1070 readonly address: H160;1071 readonly data: Vec<ITuple<[H256, H256]>>;1072 } & Struct;1073 readonly isFinish: boolean;1074 readonly asFinish: {1075 readonly address: H160;1076 readonly code: Bytes;1077 } & Struct;1078 readonly type: 'Begin' | 'SetData' | 'Finish';1079}10801081/** @name PalletEvmMigrationError */1082export interface PalletEvmMigrationError extends Enum {1083 readonly isAccountNotEmpty: boolean;1084 readonly isAccountIsNotMigrating: boolean;1085 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1086}10871088/** @name PalletFungibleError */1089export interface PalletFungibleError extends Enum {1090 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1091 readonly isFungibleItemsHaveNoId: boolean;1092 readonly isFungibleItemsDontHaveData: boolean;1093 readonly isFungibleDisallowsNesting: boolean;1094 readonly isSettingPropertiesNotAllowed: boolean;1095 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1096}10971098/** @name PalletInflationCall */1099export interface PalletInflationCall extends Enum {1100 readonly isStartInflation: boolean;1101 readonly asStartInflation: {1102 readonly inflationStartRelayBlock: u32;1103 } & Struct;1104 readonly type: 'StartInflation';1105}11061107/** @name PalletNonfungibleError */1108export interface PalletNonfungibleError extends Enum {1109 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1110 readonly isNonfungibleItemsHaveNoAmount: boolean;1111 readonly isCantBurnNftWithChildren: boolean;1112 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1113}11141115/** @name PalletNonfungibleItemData */1116export interface PalletNonfungibleItemData extends Struct {1117 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1118}11191120/** @name PalletRefungibleError */1121export interface PalletRefungibleError extends Enum {1122 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1123 readonly isWrongRefungiblePieces: boolean;1124 readonly isRefungibleDisallowsNesting: boolean;1125 readonly isSettingPropertiesNotAllowed: boolean;1126 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1127}11281129/** @name PalletRefungibleItemData */1130export interface PalletRefungibleItemData extends Struct {1131 readonly constData: Bytes;1132}11331134/** @name PalletRmrkCoreCall */1135export interface PalletRmrkCoreCall extends Enum {1136 readonly isCreateCollection: boolean;1137 readonly asCreateCollection: {1138 readonly metadata: Bytes;1139 readonly max: Option<u32>;1140 readonly symbol: Bytes;1141 } & Struct;1142 readonly isDestroyCollection: boolean;1143 readonly asDestroyCollection: {1144 readonly collectionId: u32;1145 } & Struct;1146 readonly isChangeCollectionIssuer: boolean;1147 readonly asChangeCollectionIssuer: {1148 readonly collectionId: u32;1149 readonly newIssuer: MultiAddress;1150 } & Struct;1151 readonly isLockCollection: boolean;1152 readonly asLockCollection: {1153 readonly collectionId: u32;1154 } & Struct;1155 readonly isMintNft: boolean;1156 readonly asMintNft: {1157 readonly owner: AccountId32;1158 readonly collectionId: u32;1159 readonly recipient: Option<AccountId32>;1160 readonly royaltyAmount: Option<Permill>;1161 readonly metadata: Bytes;1162 readonly transferable: bool;1163 } & Struct;1164 readonly isBurnNft: boolean;1165 readonly asBurnNft: {1166 readonly collectionId: u32;1167 readonly nftId: u32;1168 } & Struct;1169 readonly isSend: boolean;1170 readonly asSend: {1171 readonly rmrkCollectionId: u32;1172 readonly rmrkNftId: u32;1173 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1174 } & Struct;1175 readonly isAcceptNft: boolean;1176 readonly asAcceptNft: {1177 readonly rmrkCollectionId: u32;1178 readonly rmrkNftId: u32;1179 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1180 } & Struct;1181 readonly isRejectNft: boolean;1182 readonly asRejectNft: {1183 readonly rmrkCollectionId: u32;1184 readonly rmrkNftId: u32;1185 } & Struct;1186 readonly isAcceptResource: boolean;1187 readonly asAcceptResource: {1188 readonly rmrkCollectionId: u32;1189 readonly rmrkNftId: u32;1190 readonly rmrkResourceId: u32;1191 } & Struct;1192 readonly isAcceptResourceRemoval: boolean;1193 readonly asAcceptResourceRemoval: {1194 readonly rmrkCollectionId: u32;1195 readonly rmrkNftId: u32;1196 readonly rmrkResourceId: u32;1197 } & Struct;1198 readonly isSetProperty: boolean;1199 readonly asSetProperty: {1200 readonly rmrkCollectionId: Compact<u32>;1201 readonly maybeNftId: Option<u32>;1202 readonly key: Bytes;1203 readonly value: Bytes;1204 } & Struct;1205 readonly isSetPriority: boolean;1206 readonly asSetPriority: {1207 readonly rmrkCollectionId: u32;1208 readonly rmrkNftId: u32;1209 readonly priorities: Vec<u32>;1210 } & Struct;1211 readonly isAddBasicResource: boolean;1212 readonly asAddBasicResource: {1213 readonly rmrkCollectionId: u32;1214 readonly nftId: u32;1215 readonly resource: RmrkTraitsResourceBasicResource;1216 } & Struct;1217 readonly isAddComposableResource: boolean;1218 readonly asAddComposableResource: {1219 readonly rmrkCollectionId: u32;1220 readonly nftId: u32;1221 readonly resourceId: Bytes;1222 readonly resource: RmrkTraitsResourceComposableResource;1223 } & Struct;1224 readonly isAddSlotResource: boolean;1225 readonly asAddSlotResource: {1226 readonly rmrkCollectionId: u32;1227 readonly nftId: u32;1228 readonly resource: RmrkTraitsResourceSlotResource;1229 } & Struct;1230 readonly isRemoveResource: boolean;1231 readonly asRemoveResource: {1232 readonly rmrkCollectionId: u32;1233 readonly nftId: u32;1234 readonly resourceId: u32;1235 } & Struct;1236 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1237}12381239/** @name PalletRmrkCoreError */1240export interface PalletRmrkCoreError extends Enum {1241 readonly isCorruptedCollectionType: boolean;1242 readonly isNftTypeEncodeError: boolean;1243 readonly isRmrkPropertyKeyIsTooLong: boolean;1244 readonly isRmrkPropertyValueIsTooLong: boolean;1245 readonly isCollectionNotEmpty: boolean;1246 readonly isNoAvailableCollectionId: boolean;1247 readonly isNoAvailableNftId: boolean;1248 readonly isCollectionUnknown: boolean;1249 readonly isNoPermission: boolean;1250 readonly isNonTransferable: boolean;1251 readonly isCollectionFullOrLocked: boolean;1252 readonly isResourceDoesntExist: boolean;1253 readonly isCannotSendToDescendentOrSelf: boolean;1254 readonly isCannotAcceptNonOwnedNft: boolean;1255 readonly isCannotRejectNonOwnedNft: boolean;1256 readonly isResourceNotPending: boolean;1257 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';1258}12591260/** @name PalletRmrkCoreEvent */1261export interface PalletRmrkCoreEvent extends Enum {1262 readonly isCollectionCreated: boolean;1263 readonly asCollectionCreated: {1264 readonly issuer: AccountId32;1265 readonly collectionId: u32;1266 } & Struct;1267 readonly isCollectionDestroyed: boolean;1268 readonly asCollectionDestroyed: {1269 readonly issuer: AccountId32;1270 readonly collectionId: u32;1271 } & Struct;1272 readonly isIssuerChanged: boolean;1273 readonly asIssuerChanged: {1274 readonly oldIssuer: AccountId32;1275 readonly newIssuer: AccountId32;1276 readonly collectionId: u32;1277 } & Struct;1278 readonly isCollectionLocked: boolean;1279 readonly asCollectionLocked: {1280 readonly issuer: AccountId32;1281 readonly collectionId: u32;1282 } & Struct;1283 readonly isNftMinted: boolean;1284 readonly asNftMinted: {1285 readonly owner: AccountId32;1286 readonly collectionId: u32;1287 readonly nftId: u32;1288 } & Struct;1289 readonly isNftBurned: boolean;1290 readonly asNftBurned: {1291 readonly owner: AccountId32;1292 readonly nftId: u32;1293 } & Struct;1294 readonly isNftSent: boolean;1295 readonly asNftSent: {1296 readonly sender: AccountId32;1297 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1298 readonly collectionId: u32;1299 readonly nftId: u32;1300 readonly approvalRequired: bool;1301 } & Struct;1302 readonly isNftAccepted: boolean;1303 readonly asNftAccepted: {1304 readonly sender: AccountId32;1305 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1306 readonly collectionId: u32;1307 readonly nftId: u32;1308 } & Struct;1309 readonly isNftRejected: boolean;1310 readonly asNftRejected: {1311 readonly sender: AccountId32;1312 readonly collectionId: u32;1313 readonly nftId: u32;1314 } & Struct;1315 readonly isPropertySet: boolean;1316 readonly asPropertySet: {1317 readonly collectionId: u32;1318 readonly maybeNftId: Option<u32>;1319 readonly key: Bytes;1320 readonly value: Bytes;1321 } & Struct;1322 readonly isResourceAdded: boolean;1323 readonly asResourceAdded: {1324 readonly nftId: u32;1325 readonly resourceId: u32;1326 } & Struct;1327 readonly isResourceRemoval: boolean;1328 readonly asResourceRemoval: {1329 readonly nftId: u32;1330 readonly resourceId: u32;1331 } & Struct;1332 readonly isResourceAccepted: boolean;1333 readonly asResourceAccepted: {1334 readonly nftId: u32;1335 readonly resourceId: u32;1336 } & Struct;1337 readonly isResourceRemovalAccepted: boolean;1338 readonly asResourceRemovalAccepted: {1339 readonly nftId: u32;1340 readonly resourceId: u32;1341 } & Struct;1342 readonly isPrioritySet: boolean;1343 readonly asPrioritySet: {1344 readonly collectionId: u32;1345 readonly nftId: u32;1346 } & Struct;1347 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1348}13491350/** @name PalletRmrkEquipCall */1351export interface PalletRmrkEquipCall extends Enum {1352 readonly isCreateBase: boolean;1353 readonly asCreateBase: {1354 readonly baseType: Bytes;1355 readonly symbol: Bytes;1356 readonly parts: Vec<RmrkTraitsPartPartType>;1357 } & Struct;1358 readonly isThemeAdd: boolean;1359 readonly asThemeAdd: {1360 readonly baseId: u32;1361 readonly theme: RmrkTraitsTheme;1362 } & Struct;1363 readonly type: 'CreateBase' | 'ThemeAdd';1364}13651366/** @name PalletRmrkEquipError */1367export interface PalletRmrkEquipError extends Enum {1368 readonly isPermissionError: boolean;1369 readonly isNoAvailableBaseId: boolean;1370 readonly isNoAvailablePartId: boolean;1371 readonly isBaseDoesntExist: boolean;1372 readonly isNeedsDefaultThemeFirst: boolean;1373 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';1374}13751376/** @name PalletRmrkEquipEvent */1377export interface PalletRmrkEquipEvent extends Enum {1378 readonly isBaseCreated: boolean;1379 readonly asBaseCreated: {1380 readonly issuer: AccountId32;1381 readonly baseId: u32;1382 } & Struct;1383 readonly type: 'BaseCreated';1384}13851386/** @name PalletStructureCall */1387export interface PalletStructureCall extends Null {}13881389/** @name PalletStructureError */1390export interface PalletStructureError extends Enum {1391 readonly isOuroborosDetected: boolean;1392 readonly isDepthLimit: boolean;1393 readonly isTokenNotFound: boolean;1394 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1395}13961397/** @name PalletStructureEvent */1398export interface PalletStructureEvent extends Enum {1399 readonly isExecuted: boolean;1400 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1401 readonly type: 'Executed';1402}14031404/** @name PalletSudoCall */1405export interface PalletSudoCall extends Enum {1406 readonly isSudo: boolean;1407 readonly asSudo: {1408 readonly call: Call;1409 } & Struct;1410 readonly isSudoUncheckedWeight: boolean;1411 readonly asSudoUncheckedWeight: {1412 readonly call: Call;1413 readonly weight: u64;1414 } & Struct;1415 readonly isSetKey: boolean;1416 readonly asSetKey: {1417 readonly new_: MultiAddress;1418 } & Struct;1419 readonly isSudoAs: boolean;1420 readonly asSudoAs: {1421 readonly who: MultiAddress;1422 readonly call: Call;1423 } & Struct;1424 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1425}14261427/** @name PalletSudoError */1428export interface PalletSudoError extends Enum {1429 readonly isRequireSudo: boolean;1430 readonly type: 'RequireSudo';1431}14321433/** @name PalletSudoEvent */1434export interface PalletSudoEvent extends Enum {1435 readonly isSudid: boolean;1436 readonly asSudid: {1437 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1438 } & Struct;1439 readonly isKeyChanged: boolean;1440 readonly asKeyChanged: {1441 readonly oldSudoer: Option<AccountId32>;1442 } & Struct;1443 readonly isSudoAsDone: boolean;1444 readonly asSudoAsDone: {1445 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1446 } & Struct;1447 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1448}14491450/** @name PalletTemplateTransactionPaymentCall */1451export interface PalletTemplateTransactionPaymentCall extends Null {}14521453/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1454export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}14551456/** @name PalletTimestampCall */1457export interface PalletTimestampCall extends Enum {1458 readonly isSet: boolean;1459 readonly asSet: {1460 readonly now: Compact<u64>;1461 } & Struct;1462 readonly type: 'Set';1463}14641465/** @name PalletTransactionPaymentReleases */1466export interface PalletTransactionPaymentReleases extends Enum {1467 readonly isV1Ancient: boolean;1468 readonly isV2: boolean;1469 readonly type: 'V1Ancient' | 'V2';1470}14711472/** @name PalletTreasuryCall */1473export interface PalletTreasuryCall extends Enum {1474 readonly isProposeSpend: boolean;1475 readonly asProposeSpend: {1476 readonly value: Compact<u128>;1477 readonly beneficiary: MultiAddress;1478 } & Struct;1479 readonly isRejectProposal: boolean;1480 readonly asRejectProposal: {1481 readonly proposalId: Compact<u32>;1482 } & Struct;1483 readonly isApproveProposal: boolean;1484 readonly asApproveProposal: {1485 readonly proposalId: Compact<u32>;1486 } & Struct;1487 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1488}14891490/** @name PalletTreasuryError */1491export interface PalletTreasuryError extends Enum {1492 readonly isInsufficientProposersBalance: boolean;1493 readonly isInvalidIndex: boolean;1494 readonly isTooManyApprovals: boolean;1495 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1496}14971498/** @name PalletTreasuryEvent */1499export interface PalletTreasuryEvent extends Enum {1500 readonly isProposed: boolean;1501 readonly asProposed: {1502 readonly proposalIndex: u32;1503 } & Struct;1504 readonly isSpending: boolean;1505 readonly asSpending: {1506 readonly budgetRemaining: u128;1507 } & Struct;1508 readonly isAwarded: boolean;1509 readonly asAwarded: {1510 readonly proposalIndex: u32;1511 readonly award: u128;1512 readonly account: AccountId32;1513 } & Struct;1514 readonly isRejected: boolean;1515 readonly asRejected: {1516 readonly proposalIndex: u32;1517 readonly slashed: u128;1518 } & Struct;1519 readonly isBurnt: boolean;1520 readonly asBurnt: {1521 readonly burntFunds: u128;1522 } & Struct;1523 readonly isRollover: boolean;1524 readonly asRollover: {1525 readonly rolloverBalance: u128;1526 } & Struct;1527 readonly isDeposit: boolean;1528 readonly asDeposit: {1529 readonly value: u128;1530 } & Struct;1531 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1532}15331534/** @name PalletTreasuryProposal */1535export interface PalletTreasuryProposal extends Struct {1536 readonly proposer: AccountId32;1537 readonly value: u128;1538 readonly beneficiary: AccountId32;1539 readonly bond: u128;1540}15411542/** @name PalletUniqueCall */1543export interface PalletUniqueCall extends Enum {1544 readonly isCreateCollection: boolean;1545 readonly asCreateCollection: {1546 readonly collectionName: Vec<u16>;1547 readonly collectionDescription: Vec<u16>;1548 readonly tokenPrefix: Bytes;1549 readonly mode: UpDataStructsCollectionMode;1550 } & Struct;1551 readonly isCreateCollectionEx: boolean;1552 readonly asCreateCollectionEx: {1553 readonly data: UpDataStructsCreateCollectionData;1554 } & Struct;1555 readonly isDestroyCollection: boolean;1556 readonly asDestroyCollection: {1557 readonly collectionId: u32;1558 } & Struct;1559 readonly isAddToAllowList: boolean;1560 readonly asAddToAllowList: {1561 readonly collectionId: u32;1562 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1563 } & Struct;1564 readonly isRemoveFromAllowList: boolean;1565 readonly asRemoveFromAllowList: {1566 readonly collectionId: u32;1567 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1568 } & Struct;1569 readonly isChangeCollectionOwner: boolean;1570 readonly asChangeCollectionOwner: {1571 readonly collectionId: u32;1572 readonly newOwner: AccountId32;1573 } & Struct;1574 readonly isAddCollectionAdmin: boolean;1575 readonly asAddCollectionAdmin: {1576 readonly collectionId: u32;1577 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1578 } & Struct;1579 readonly isRemoveCollectionAdmin: boolean;1580 readonly asRemoveCollectionAdmin: {1581 readonly collectionId: u32;1582 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1583 } & Struct;1584 readonly isSetCollectionSponsor: boolean;1585 readonly asSetCollectionSponsor: {1586 readonly collectionId: u32;1587 readonly newSponsor: AccountId32;1588 } & Struct;1589 readonly isConfirmSponsorship: boolean;1590 readonly asConfirmSponsorship: {1591 readonly collectionId: u32;1592 } & Struct;1593 readonly isRemoveCollectionSponsor: boolean;1594 readonly asRemoveCollectionSponsor: {1595 readonly collectionId: u32;1596 } & Struct;1597 readonly isCreateItem: boolean;1598 readonly asCreateItem: {1599 readonly collectionId: u32;1600 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1601 readonly data: UpDataStructsCreateItemData;1602 } & Struct;1603 readonly isCreateMultipleItems: boolean;1604 readonly asCreateMultipleItems: {1605 readonly collectionId: u32;1606 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1607 readonly itemsData: Vec<UpDataStructsCreateItemData>;1608 } & Struct;1609 readonly isSetCollectionProperties: boolean;1610 readonly asSetCollectionProperties: {1611 readonly collectionId: u32;1612 readonly properties: Vec<UpDataStructsProperty>;1613 } & Struct;1614 readonly isDeleteCollectionProperties: boolean;1615 readonly asDeleteCollectionProperties: {1616 readonly collectionId: u32;1617 readonly propertyKeys: Vec<Bytes>;1618 } & Struct;1619 readonly isSetTokenProperties: boolean;1620 readonly asSetTokenProperties: {1621 readonly collectionId: u32;1622 readonly tokenId: u32;1623 readonly properties: Vec<UpDataStructsProperty>;1624 } & Struct;1625 readonly isDeleteTokenProperties: boolean;1626 readonly asDeleteTokenProperties: {1627 readonly collectionId: u32;1628 readonly tokenId: u32;1629 readonly propertyKeys: Vec<Bytes>;1630 } & Struct;1631 readonly isSetPropertyPermissions: boolean;1632 readonly asSetPropertyPermissions: {1633 readonly collectionId: u32;1634 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1635 } & Struct;1636 readonly isCreateMultipleItemsEx: boolean;1637 readonly asCreateMultipleItemsEx: {1638 readonly collectionId: u32;1639 readonly data: UpDataStructsCreateItemExData;1640 } & Struct;1641 readonly isSetTransfersEnabledFlag: boolean;1642 readonly asSetTransfersEnabledFlag: {1643 readonly collectionId: u32;1644 readonly value: bool;1645 } & Struct;1646 readonly isBurnItem: boolean;1647 readonly asBurnItem: {1648 readonly collectionId: u32;1649 readonly itemId: u32;1650 readonly value: u128;1651 } & Struct;1652 readonly isBurnFrom: boolean;1653 readonly asBurnFrom: {1654 readonly collectionId: u32;1655 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1656 readonly itemId: u32;1657 readonly value: u128;1658 } & Struct;1659 readonly isTransfer: boolean;1660 readonly asTransfer: {1661 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1662 readonly collectionId: u32;1663 readonly itemId: u32;1664 readonly value: u128;1665 } & Struct;1666 readonly isApprove: boolean;1667 readonly asApprove: {1668 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1669 readonly collectionId: u32;1670 readonly itemId: u32;1671 readonly amount: u128;1672 } & Struct;1673 readonly isTransferFrom: boolean;1674 readonly asTransferFrom: {1675 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1676 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1677 readonly collectionId: u32;1678 readonly itemId: u32;1679 readonly value: u128;1680 } & Struct;1681 readonly isSetCollectionLimits: boolean;1682 readonly asSetCollectionLimits: {1683 readonly collectionId: u32;1684 readonly newLimit: UpDataStructsCollectionLimits;1685 } & Struct;1686 readonly isSetCollectionPermissions: boolean;1687 readonly asSetCollectionPermissions: {1688 readonly collectionId: u32;1689 readonly newLimit: UpDataStructsCollectionPermissions;1690 } & Struct;1691 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';1692}16931694/** @name PalletUniqueError */1695export interface PalletUniqueError extends Enum {1696 readonly isCollectionDecimalPointLimitExceeded: boolean;1697 readonly isConfirmUnsetSponsorFail: boolean;1698 readonly isEmptyArgument: boolean;1699 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1700}17011702/** @name PalletUniqueRawEvent */1703export interface PalletUniqueRawEvent extends Enum {1704 readonly isCollectionSponsorRemoved: boolean;1705 readonly asCollectionSponsorRemoved: u32;1706 readonly isCollectionAdminAdded: boolean;1707 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1708 readonly isCollectionOwnedChanged: boolean;1709 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1710 readonly isCollectionSponsorSet: boolean;1711 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1712 readonly isSponsorshipConfirmed: boolean;1713 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1714 readonly isCollectionAdminRemoved: boolean;1715 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1716 readonly isAllowListAddressRemoved: boolean;1717 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1718 readonly isAllowListAddressAdded: boolean;1719 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1720 readonly isCollectionLimitSet: boolean;1721 readonly asCollectionLimitSet: u32;1722 readonly isCollectionPermissionSet: boolean;1723 readonly asCollectionPermissionSet: u32;1724 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1725}17261727/** @name PalletXcmCall */1728export interface PalletXcmCall extends Enum {1729 readonly isSend: boolean;1730 readonly asSend: {1731 readonly dest: XcmVersionedMultiLocation;1732 readonly message: XcmVersionedXcm;1733 } & Struct;1734 readonly isTeleportAssets: boolean;1735 readonly asTeleportAssets: {1736 readonly dest: XcmVersionedMultiLocation;1737 readonly beneficiary: XcmVersionedMultiLocation;1738 readonly assets: XcmVersionedMultiAssets;1739 readonly feeAssetItem: u32;1740 } & Struct;1741 readonly isReserveTransferAssets: boolean;1742 readonly asReserveTransferAssets: {1743 readonly dest: XcmVersionedMultiLocation;1744 readonly beneficiary: XcmVersionedMultiLocation;1745 readonly assets: XcmVersionedMultiAssets;1746 readonly feeAssetItem: u32;1747 } & Struct;1748 readonly isExecute: boolean;1749 readonly asExecute: {1750 readonly message: XcmVersionedXcm;1751 readonly maxWeight: u64;1752 } & Struct;1753 readonly isForceXcmVersion: boolean;1754 readonly asForceXcmVersion: {1755 readonly location: XcmV1MultiLocation;1756 readonly xcmVersion: u32;1757 } & Struct;1758 readonly isForceDefaultXcmVersion: boolean;1759 readonly asForceDefaultXcmVersion: {1760 readonly maybeXcmVersion: Option<u32>;1761 } & Struct;1762 readonly isForceSubscribeVersionNotify: boolean;1763 readonly asForceSubscribeVersionNotify: {1764 readonly location: XcmVersionedMultiLocation;1765 } & Struct;1766 readonly isForceUnsubscribeVersionNotify: boolean;1767 readonly asForceUnsubscribeVersionNotify: {1768 readonly location: XcmVersionedMultiLocation;1769 } & Struct;1770 readonly isLimitedReserveTransferAssets: boolean;1771 readonly asLimitedReserveTransferAssets: {1772 readonly dest: XcmVersionedMultiLocation;1773 readonly beneficiary: XcmVersionedMultiLocation;1774 readonly assets: XcmVersionedMultiAssets;1775 readonly feeAssetItem: u32;1776 readonly weightLimit: XcmV2WeightLimit;1777 } & Struct;1778 readonly isLimitedTeleportAssets: boolean;1779 readonly asLimitedTeleportAssets: {1780 readonly dest: XcmVersionedMultiLocation;1781 readonly beneficiary: XcmVersionedMultiLocation;1782 readonly assets: XcmVersionedMultiAssets;1783 readonly feeAssetItem: u32;1784 readonly weightLimit: XcmV2WeightLimit;1785 } & Struct;1786 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1787}17881789/** @name PalletXcmError */1790export interface PalletXcmError extends Enum {1791 readonly isUnreachable: boolean;1792 readonly isSendFailure: boolean;1793 readonly isFiltered: boolean;1794 readonly isUnweighableMessage: boolean;1795 readonly isDestinationNotInvertible: boolean;1796 readonly isEmpty: boolean;1797 readonly isCannotReanchor: boolean;1798 readonly isTooManyAssets: boolean;1799 readonly isInvalidOrigin: boolean;1800 readonly isBadVersion: boolean;1801 readonly isBadLocation: boolean;1802 readonly isNoSubscription: boolean;1803 readonly isAlreadySubscribed: boolean;1804 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1805}18061807/** @name PalletXcmEvent */1808export interface PalletXcmEvent extends Enum {1809 readonly isAttempted: boolean;1810 readonly asAttempted: XcmV2TraitsOutcome;1811 readonly isSent: boolean;1812 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1813 readonly isUnexpectedResponse: boolean;1814 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1815 readonly isResponseReady: boolean;1816 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1817 readonly isNotified: boolean;1818 readonly asNotified: ITuple<[u64, u8, u8]>;1819 readonly isNotifyOverweight: boolean;1820 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1821 readonly isNotifyDispatchError: boolean;1822 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1823 readonly isNotifyDecodeFailed: boolean;1824 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1825 readonly isInvalidResponder: boolean;1826 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1827 readonly isInvalidResponderVersion: boolean;1828 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1829 readonly isResponseTaken: boolean;1830 readonly asResponseTaken: u64;1831 readonly isAssetsTrapped: boolean;1832 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1833 readonly isVersionChangeNotified: boolean;1834 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1835 readonly isSupportedVersionChanged: boolean;1836 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1837 readonly isNotifyTargetSendFail: boolean;1838 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1839 readonly isNotifyTargetMigrationFail: boolean;1840 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1841 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1842}18431844/** @name PhantomTypeUpDataStructs */1845export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}18461847/** @name PolkadotCorePrimitivesInboundDownwardMessage */1848export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1849 readonly sentAt: u32;1850 readonly msg: Bytes;1851}18521853/** @name PolkadotCorePrimitivesInboundHrmpMessage */1854export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1855 readonly sentAt: u32;1856 readonly data: Bytes;1857}18581859/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1860export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1861 readonly recipient: u32;1862 readonly data: Bytes;1863}18641865/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1866export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1867 readonly isConcatenatedVersionedXcm: boolean;1868 readonly isConcatenatedEncodedBlob: boolean;1869 readonly isSignals: boolean;1870 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1871}18721873/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1874export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1875 readonly maxCodeSize: u32;1876 readonly maxHeadDataSize: u32;1877 readonly maxUpwardQueueCount: u32;1878 readonly maxUpwardQueueSize: u32;1879 readonly maxUpwardMessageSize: u32;1880 readonly maxUpwardMessageNumPerCandidate: u32;1881 readonly hrmpMaxMessageNumPerCandidate: u32;1882 readonly validationUpgradeCooldown: u32;1883 readonly validationUpgradeDelay: u32;1884}18851886/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1887export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1888 readonly maxCapacity: u32;1889 readonly maxTotalSize: u32;1890 readonly maxMessageSize: u32;1891 readonly msgCount: u32;1892 readonly totalSize: u32;1893 readonly mqcHead: Option<H256>;1894}18951896/** @name PolkadotPrimitivesV2PersistedValidationData */1897export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1898 readonly parentHead: Bytes;1899 readonly relayParentNumber: u32;1900 readonly relayParentStorageRoot: H256;1901 readonly maxPovSize: u32;1902}19031904/** @name PolkadotPrimitivesV2UpgradeRestriction */1905export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1906 readonly isPresent: boolean;1907 readonly type: 'Present';1908}19091910/** @name RmrkTraitsBaseBaseInfo */1911export interface RmrkTraitsBaseBaseInfo extends Struct {1912 readonly issuer: AccountId32;1913 readonly baseType: Bytes;1914 readonly symbol: Bytes;1915}19161917/** @name RmrkTraitsCollectionCollectionInfo */1918export interface RmrkTraitsCollectionCollectionInfo extends Struct {1919 readonly issuer: AccountId32;1920 readonly metadata: Bytes;1921 readonly max: Option<u32>;1922 readonly symbol: Bytes;1923 readonly nftsCount: u32;1924}19251926/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */1927export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1928 readonly isAccountId: boolean;1929 readonly asAccountId: AccountId32;1930 readonly isCollectionAndNftTuple: boolean;1931 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1932 readonly type: 'AccountId' | 'CollectionAndNftTuple';1933}19341935/** @name RmrkTraitsNftNftChild */1936export interface RmrkTraitsNftNftChild extends Struct {1937 readonly collectionId: u32;1938 readonly nftId: u32;1939}19401941/** @name RmrkTraitsNftNftInfo */1942export interface RmrkTraitsNftNftInfo extends Struct {1943 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1944 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;1945 readonly metadata: Bytes;1946 readonly equipped: bool;1947 readonly pending: bool;1948}19491950/** @name RmrkTraitsNftRoyaltyInfo */1951export interface RmrkTraitsNftRoyaltyInfo extends Struct {1952 readonly recipient: AccountId32;1953 readonly amount: Permill;1954}19551956/** @name RmrkTraitsPartEquippableList */1957export interface RmrkTraitsPartEquippableList extends Enum {1958 readonly isAll: boolean;1959 readonly isEmpty: boolean;1960 readonly isCustom: boolean;1961 readonly asCustom: Vec<u32>;1962 readonly type: 'All' | 'Empty' | 'Custom';1963}19641965/** @name RmrkTraitsPartFixedPart */1966export interface RmrkTraitsPartFixedPart extends Struct {1967 readonly id: u32;1968 readonly z: u32;1969 readonly src: Bytes;1970}19711972/** @name RmrkTraitsPartPartType */1973export interface RmrkTraitsPartPartType extends Enum {1974 readonly isFixedPart: boolean;1975 readonly asFixedPart: RmrkTraitsPartFixedPart;1976 readonly isSlotPart: boolean;1977 readonly asSlotPart: RmrkTraitsPartSlotPart;1978 readonly type: 'FixedPart' | 'SlotPart';1979}19801981/** @name RmrkTraitsPartSlotPart */1982export interface RmrkTraitsPartSlotPart extends Struct {1983 readonly id: u32;1984 readonly equippable: RmrkTraitsPartEquippableList;1985 readonly src: Bytes;1986 readonly z: u32;1987}19881989/** @name RmrkTraitsPropertyPropertyInfo */1990export interface RmrkTraitsPropertyPropertyInfo extends Struct {1991 readonly key: Bytes;1992 readonly value: Bytes;1993}19941995/** @name RmrkTraitsResourceBasicResource */1996export interface RmrkTraitsResourceBasicResource extends Struct {1997 readonly src: Option<Bytes>;1998 readonly metadata: Option<Bytes>;1999 readonly license: Option<Bytes>;2000 readonly thumb: Option<Bytes>;2001}20022003/** @name RmrkTraitsResourceComposableResource */2004export interface RmrkTraitsResourceComposableResource extends Struct {2005 readonly parts: Vec<u32>;2006 readonly base: u32;2007 readonly src: Option<Bytes>;2008 readonly metadata: Option<Bytes>;2009 readonly license: Option<Bytes>;2010 readonly thumb: Option<Bytes>;2011}20122013/** @name RmrkTraitsResourceResourceInfo */2014export interface RmrkTraitsResourceResourceInfo extends Struct {2015 readonly id: u32;2016 readonly resource: RmrkTraitsResourceResourceTypes;2017 readonly pending: bool;2018 readonly pendingRemoval: bool;2019}20202021/** @name RmrkTraitsResourceResourceTypes */2022export interface RmrkTraitsResourceResourceTypes extends Enum {2023 readonly isBasic: boolean;2024 readonly asBasic: RmrkTraitsResourceBasicResource;2025 readonly isComposable: boolean;2026 readonly asComposable: RmrkTraitsResourceComposableResource;2027 readonly isSlot: boolean;2028 readonly asSlot: RmrkTraitsResourceSlotResource;2029 readonly type: 'Basic' | 'Composable' | 'Slot';2030}20312032/** @name RmrkTraitsResourceSlotResource */2033export interface RmrkTraitsResourceSlotResource extends Struct {2034 readonly base: u32;2035 readonly src: Option<Bytes>;2036 readonly metadata: Option<Bytes>;2037 readonly slot: u32;2038 readonly license: Option<Bytes>;2039 readonly thumb: Option<Bytes>;2040}20412042/** @name RmrkTraitsTheme */2043export interface RmrkTraitsTheme extends Struct {2044 readonly name: Bytes;2045 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2046 readonly inherit: bool;2047}20482049/** @name RmrkTraitsThemeThemeProperty */2050export interface RmrkTraitsThemeThemeProperty extends Struct {2051 readonly key: Bytes;2052 readonly value: Bytes;2053}20542055/** @name SpCoreEcdsaSignature */2056export interface SpCoreEcdsaSignature extends U8aFixed {}20572058/** @name SpCoreEd25519Signature */2059export interface SpCoreEd25519Signature extends U8aFixed {}20602061/** @name SpCoreSr25519Signature */2062export interface SpCoreSr25519Signature extends U8aFixed {}20632064/** @name SpRuntimeArithmeticError */2065export interface SpRuntimeArithmeticError extends Enum {2066 readonly isUnderflow: boolean;2067 readonly isOverflow: boolean;2068 readonly isDivisionByZero: boolean;2069 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2070}20712072/** @name SpRuntimeDigest */2073export interface SpRuntimeDigest extends Struct {2074 readonly logs: Vec<SpRuntimeDigestDigestItem>;2075}20762077/** @name SpRuntimeDigestDigestItem */2078export interface SpRuntimeDigestDigestItem extends Enum {2079 readonly isOther: boolean;2080 readonly asOther: Bytes;2081 readonly isConsensus: boolean;2082 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2083 readonly isSeal: boolean;2084 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2085 readonly isPreRuntime: boolean;2086 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2087 readonly isRuntimeEnvironmentUpdated: boolean;2088 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2089}20902091/** @name SpRuntimeDispatchError */2092export interface SpRuntimeDispatchError extends Enum {2093 readonly isOther: boolean;2094 readonly isCannotLookup: boolean;2095 readonly isBadOrigin: boolean;2096 readonly isModule: boolean;2097 readonly asModule: SpRuntimeModuleError;2098 readonly isConsumerRemaining: boolean;2099 readonly isNoProviders: boolean;2100 readonly isTooManyConsumers: boolean;2101 readonly isToken: boolean;2102 readonly asToken: SpRuntimeTokenError;2103 readonly isArithmetic: boolean;2104 readonly asArithmetic: SpRuntimeArithmeticError;2105 readonly isTransactional: boolean;2106 readonly asTransactional: SpRuntimeTransactionalError;2107 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2108}21092110/** @name SpRuntimeModuleError */2111export interface SpRuntimeModuleError extends Struct {2112 readonly index: u8;2113 readonly error: U8aFixed;2114}21152116/** @name SpRuntimeMultiSignature */2117export interface SpRuntimeMultiSignature extends Enum {2118 readonly isEd25519: boolean;2119 readonly asEd25519: SpCoreEd25519Signature;2120 readonly isSr25519: boolean;2121 readonly asSr25519: SpCoreSr25519Signature;2122 readonly isEcdsa: boolean;2123 readonly asEcdsa: SpCoreEcdsaSignature;2124 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2125}21262127/** @name SpRuntimeTokenError */2128export interface SpRuntimeTokenError extends Enum {2129 readonly isNoFunds: boolean;2130 readonly isWouldDie: boolean;2131 readonly isBelowMinimum: boolean;2132 readonly isCannotCreate: boolean;2133 readonly isUnknownAsset: boolean;2134 readonly isFrozen: boolean;2135 readonly isUnsupported: boolean;2136 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2137}21382139/** @name SpRuntimeTransactionalError */2140export interface SpRuntimeTransactionalError extends Enum {2141 readonly isLimitReached: boolean;2142 readonly isNoLayer: boolean;2143 readonly type: 'LimitReached' | 'NoLayer';2144}21452146/** @name SpTrieStorageProof */2147export interface SpTrieStorageProof extends Struct {2148 readonly trieNodes: BTreeSet<Bytes>;2149}21502151/** @name SpVersionRuntimeVersion */2152export interface SpVersionRuntimeVersion extends Struct {2153 readonly specName: Text;2154 readonly implName: Text;2155 readonly authoringVersion: u32;2156 readonly specVersion: u32;2157 readonly implVersion: u32;2158 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2159 readonly transactionVersion: u32;2160 readonly stateVersion: u8;2161}21622163/** @name UpDataStructsAccessMode */2164export interface UpDataStructsAccessMode extends Enum {2165 readonly isNormal: boolean;2166 readonly isAllowList: boolean;2167 readonly type: 'Normal' | 'AllowList';2168}21692170/** @name UpDataStructsCollection */2171export interface UpDataStructsCollection extends Struct {2172 readonly owner: AccountId32;2173 readonly mode: UpDataStructsCollectionMode;2174 readonly name: Vec<u16>;2175 readonly description: Vec<u16>;2176 readonly tokenPrefix: Bytes;2177 readonly sponsorship: UpDataStructsSponsorshipState;2178 readonly limits: UpDataStructsCollectionLimits;2179 readonly permissions: UpDataStructsCollectionPermissions;2180 readonly externalCollection: bool;2181}21822183/** @name UpDataStructsCollectionLimits */2184export interface UpDataStructsCollectionLimits extends Struct {2185 readonly accountTokenOwnershipLimit: Option<u32>;2186 readonly sponsoredDataSize: Option<u32>;2187 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2188 readonly tokenLimit: Option<u32>;2189 readonly sponsorTransferTimeout: Option<u32>;2190 readonly sponsorApproveTimeout: Option<u32>;2191 readonly ownerCanTransfer: Option<bool>;2192 readonly ownerCanDestroy: Option<bool>;2193 readonly transfersEnabled: Option<bool>;2194}21952196/** @name UpDataStructsCollectionMode */2197export interface UpDataStructsCollectionMode extends Enum {2198 readonly isNft: boolean;2199 readonly isFungible: boolean;2200 readonly asFungible: u8;2201 readonly isReFungible: boolean;2202 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2203}22042205/** @name UpDataStructsCollectionPermissions */2206export interface UpDataStructsCollectionPermissions extends Struct {2207 readonly access: Option<UpDataStructsAccessMode>;2208 readonly mintMode: Option<bool>;2209 readonly nesting: Option<UpDataStructsNestingRule>;2210}22112212/** @name UpDataStructsCollectionStats */2213export interface UpDataStructsCollectionStats extends Struct {2214 readonly created: u32;2215 readonly destroyed: u32;2216 readonly alive: u32;2217}22182219/** @name UpDataStructsCreateCollectionData */2220export interface UpDataStructsCreateCollectionData extends Struct {2221 readonly mode: UpDataStructsCollectionMode;2222 readonly access: Option<UpDataStructsAccessMode>;2223 readonly name: Vec<u16>;2224 readonly description: Vec<u16>;2225 readonly tokenPrefix: Bytes;2226 readonly pendingSponsor: Option<AccountId32>;2227 readonly limits: Option<UpDataStructsCollectionLimits>;2228 readonly permissions: Option<UpDataStructsCollectionPermissions>;2229 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2230 readonly properties: Vec<UpDataStructsProperty>;2231}22322233/** @name UpDataStructsCreateFungibleData */2234export interface UpDataStructsCreateFungibleData extends Struct {2235 readonly value: u128;2236}22372238/** @name UpDataStructsCreateItemData */2239export interface UpDataStructsCreateItemData extends Enum {2240 readonly isNft: boolean;2241 readonly asNft: UpDataStructsCreateNftData;2242 readonly isFungible: boolean;2243 readonly asFungible: UpDataStructsCreateFungibleData;2244 readonly isReFungible: boolean;2245 readonly asReFungible: UpDataStructsCreateReFungibleData;2246 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2247}22482249/** @name UpDataStructsCreateItemExData */2250export interface UpDataStructsCreateItemExData extends Enum {2251 readonly isNft: boolean;2252 readonly asNft: Vec<UpDataStructsCreateNftExData>;2253 readonly isFungible: boolean;2254 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2255 readonly isRefungibleMultipleItems: boolean;2256 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;2257 readonly isRefungibleMultipleOwners: boolean;2258 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;2259 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2260}22612262/** @name UpDataStructsCreateNftData */2263export interface UpDataStructsCreateNftData extends Struct {2264 readonly properties: Vec<UpDataStructsProperty>;2265}22662267/** @name UpDataStructsCreateNftExData */2268export interface UpDataStructsCreateNftExData extends Struct {2269 readonly properties: Vec<UpDataStructsProperty>;2270 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2271}22722273/** @name UpDataStructsCreateReFungibleData */2274export interface UpDataStructsCreateReFungibleData extends Struct {2275 readonly constData: Bytes;2276 readonly pieces: u128;2277}22782279/** @name UpDataStructsCreateRefungibleExData */2280export interface UpDataStructsCreateRefungibleExData extends Struct {2281 readonly constData: Bytes;2282 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2283}22842285/** @name UpDataStructsNestingRule */2286export interface UpDataStructsNestingRule extends Enum {2287 readonly isDisabled: boolean;2288 readonly isOwner: boolean;2289 readonly isOwnerRestricted: boolean;2290 readonly asOwnerRestricted: BTreeSet<u32>;2291 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';2292}22932294/** @name UpDataStructsProperties */2295export interface UpDataStructsProperties extends Struct {2296 readonly map: UpDataStructsPropertiesMapBoundedVec;2297 readonly consumedSpace: u32;2298 readonly spaceLimit: u32;2299}23002301/** @name UpDataStructsPropertiesMapBoundedVec */2302export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}23032304/** @name UpDataStructsPropertiesMapPropertyPermission */2305export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}23062307/** @name UpDataStructsProperty */2308export interface UpDataStructsProperty extends Struct {2309 readonly key: Bytes;2310 readonly value: Bytes;2311}23122313/** @name UpDataStructsPropertyKeyPermission */2314export interface UpDataStructsPropertyKeyPermission extends Struct {2315 readonly key: Bytes;2316 readonly permission: UpDataStructsPropertyPermission;2317}23182319/** @name UpDataStructsPropertyPermission */2320export interface UpDataStructsPropertyPermission extends Struct {2321 readonly mutable: bool;2322 readonly collectionAdmin: bool;2323 readonly tokenOwner: bool;2324}23252326/** @name UpDataStructsRpcCollection */2327export interface UpDataStructsRpcCollection extends Struct {2328 readonly owner: AccountId32;2329 readonly mode: UpDataStructsCollectionMode;2330 readonly name: Vec<u16>;2331 readonly description: Vec<u16>;2332 readonly tokenPrefix: Bytes;2333 readonly sponsorship: UpDataStructsSponsorshipState;2334 readonly limits: UpDataStructsCollectionLimits;2335 readonly permissions: UpDataStructsCollectionPermissions;2336 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2337 readonly properties: Vec<UpDataStructsProperty>;2338 readonly readOnly: bool;2339}23402341/** @name UpDataStructsSponsoringRateLimit */2342export interface UpDataStructsSponsoringRateLimit extends Enum {2343 readonly isSponsoringDisabled: boolean;2344 readonly isBlocks: boolean;2345 readonly asBlocks: u32;2346 readonly type: 'SponsoringDisabled' | 'Blocks';2347}23482349/** @name UpDataStructsSponsorshipState */2350export interface UpDataStructsSponsorshipState extends Enum {2351 readonly isDisabled: boolean;2352 readonly isUnconfirmed: boolean;2353 readonly asUnconfirmed: AccountId32;2354 readonly isConfirmed: boolean;2355 readonly asConfirmed: AccountId32;2356 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2357}23582359/** @name UpDataStructsTokenChild */2360export interface UpDataStructsTokenChild extends Struct {2361 readonly token: u32;2362 readonly collection: u32;2363}23642365/** @name UpDataStructsTokenData */2366export interface UpDataStructsTokenData extends Struct {2367 readonly properties: Vec<UpDataStructsProperty>;2368 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2369}23702371/** @name XcmDoubleEncoded */2372export interface XcmDoubleEncoded extends Struct {2373 readonly encoded: Bytes;2374}23752376/** @name XcmV0Junction */2377export interface XcmV0Junction extends Enum {2378 readonly isParent: boolean;2379 readonly isParachain: boolean;2380 readonly asParachain: Compact<u32>;2381 readonly isAccountId32: boolean;2382 readonly asAccountId32: {2383 readonly network: XcmV0JunctionNetworkId;2384 readonly id: U8aFixed;2385 } & Struct;2386 readonly isAccountIndex64: boolean;2387 readonly asAccountIndex64: {2388 readonly network: XcmV0JunctionNetworkId;2389 readonly index: Compact<u64>;2390 } & Struct;2391 readonly isAccountKey20: boolean;2392 readonly asAccountKey20: {2393 readonly network: XcmV0JunctionNetworkId;2394 readonly key: U8aFixed;2395 } & Struct;2396 readonly isPalletInstance: boolean;2397 readonly asPalletInstance: u8;2398 readonly isGeneralIndex: boolean;2399 readonly asGeneralIndex: Compact<u128>;2400 readonly isGeneralKey: boolean;2401 readonly asGeneralKey: Bytes;2402 readonly isOnlyChild: boolean;2403 readonly isPlurality: boolean;2404 readonly asPlurality: {2405 readonly id: XcmV0JunctionBodyId;2406 readonly part: XcmV0JunctionBodyPart;2407 } & Struct;2408 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2409}24102411/** @name XcmV0JunctionBodyId */2412export interface XcmV0JunctionBodyId extends Enum {2413 readonly isUnit: boolean;2414 readonly isNamed: boolean;2415 readonly asNamed: Bytes;2416 readonly isIndex: boolean;2417 readonly asIndex: Compact<u32>;2418 readonly isExecutive: boolean;2419 readonly isTechnical: boolean;2420 readonly isLegislative: boolean;2421 readonly isJudicial: boolean;2422 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2423}24242425/** @name XcmV0JunctionBodyPart */2426export interface XcmV0JunctionBodyPart extends Enum {2427 readonly isVoice: boolean;2428 readonly isMembers: boolean;2429 readonly asMembers: {2430 readonly count: Compact<u32>;2431 } & Struct;2432 readonly isFraction: boolean;2433 readonly asFraction: {2434 readonly nom: Compact<u32>;2435 readonly denom: Compact<u32>;2436 } & Struct;2437 readonly isAtLeastProportion: boolean;2438 readonly asAtLeastProportion: {2439 readonly nom: Compact<u32>;2440 readonly denom: Compact<u32>;2441 } & Struct;2442 readonly isMoreThanProportion: boolean;2443 readonly asMoreThanProportion: {2444 readonly nom: Compact<u32>;2445 readonly denom: Compact<u32>;2446 } & Struct;2447 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2448}24492450/** @name XcmV0JunctionNetworkId */2451export interface XcmV0JunctionNetworkId extends Enum {2452 readonly isAny: boolean;2453 readonly isNamed: boolean;2454 readonly asNamed: Bytes;2455 readonly isPolkadot: boolean;2456 readonly isKusama: boolean;2457 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2458}24592460/** @name XcmV0MultiAsset */2461export interface XcmV0MultiAsset extends Enum {2462 readonly isNone: boolean;2463 readonly isAll: boolean;2464 readonly isAllFungible: boolean;2465 readonly isAllNonFungible: boolean;2466 readonly isAllAbstractFungible: boolean;2467 readonly asAllAbstractFungible: {2468 readonly id: Bytes;2469 } & Struct;2470 readonly isAllAbstractNonFungible: boolean;2471 readonly asAllAbstractNonFungible: {2472 readonly class: Bytes;2473 } & Struct;2474 readonly isAllConcreteFungible: boolean;2475 readonly asAllConcreteFungible: {2476 readonly id: XcmV0MultiLocation;2477 } & Struct;2478 readonly isAllConcreteNonFungible: boolean;2479 readonly asAllConcreteNonFungible: {2480 readonly class: XcmV0MultiLocation;2481 } & Struct;2482 readonly isAbstractFungible: boolean;2483 readonly asAbstractFungible: {2484 readonly id: Bytes;2485 readonly amount: Compact<u128>;2486 } & Struct;2487 readonly isAbstractNonFungible: boolean;2488 readonly asAbstractNonFungible: {2489 readonly class: Bytes;2490 readonly instance: XcmV1MultiassetAssetInstance;2491 } & Struct;2492 readonly isConcreteFungible: boolean;2493 readonly asConcreteFungible: {2494 readonly id: XcmV0MultiLocation;2495 readonly amount: Compact<u128>;2496 } & Struct;2497 readonly isConcreteNonFungible: boolean;2498 readonly asConcreteNonFungible: {2499 readonly class: XcmV0MultiLocation;2500 readonly instance: XcmV1MultiassetAssetInstance;2501 } & Struct;2502 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2503}25042505/** @name XcmV0MultiLocation */2506export interface XcmV0MultiLocation extends Enum {2507 readonly isNull: boolean;2508 readonly isX1: boolean;2509 readonly asX1: XcmV0Junction;2510 readonly isX2: boolean;2511 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2512 readonly isX3: boolean;2513 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2514 readonly isX4: boolean;2515 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2516 readonly isX5: boolean;2517 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2518 readonly isX6: boolean;2519 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2520 readonly isX7: boolean;2521 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2522 readonly isX8: boolean;2523 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2524 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2525}25262527/** @name XcmV0Order */2528export interface XcmV0Order extends Enum {2529 readonly isNull: boolean;2530 readonly isDepositAsset: boolean;2531 readonly asDepositAsset: {2532 readonly assets: Vec<XcmV0MultiAsset>;2533 readonly dest: XcmV0MultiLocation;2534 } & Struct;2535 readonly isDepositReserveAsset: boolean;2536 readonly asDepositReserveAsset: {2537 readonly assets: Vec<XcmV0MultiAsset>;2538 readonly dest: XcmV0MultiLocation;2539 readonly effects: Vec<XcmV0Order>;2540 } & Struct;2541 readonly isExchangeAsset: boolean;2542 readonly asExchangeAsset: {2543 readonly give: Vec<XcmV0MultiAsset>;2544 readonly receive: Vec<XcmV0MultiAsset>;2545 } & Struct;2546 readonly isInitiateReserveWithdraw: boolean;2547 readonly asInitiateReserveWithdraw: {2548 readonly assets: Vec<XcmV0MultiAsset>;2549 readonly reserve: XcmV0MultiLocation;2550 readonly effects: Vec<XcmV0Order>;2551 } & Struct;2552 readonly isInitiateTeleport: boolean;2553 readonly asInitiateTeleport: {2554 readonly assets: Vec<XcmV0MultiAsset>;2555 readonly dest: XcmV0MultiLocation;2556 readonly effects: Vec<XcmV0Order>;2557 } & Struct;2558 readonly isQueryHolding: boolean;2559 readonly asQueryHolding: {2560 readonly queryId: Compact<u64>;2561 readonly dest: XcmV0MultiLocation;2562 readonly assets: Vec<XcmV0MultiAsset>;2563 } & Struct;2564 readonly isBuyExecution: boolean;2565 readonly asBuyExecution: {2566 readonly fees: XcmV0MultiAsset;2567 readonly weight: u64;2568 readonly debt: u64;2569 readonly haltOnError: bool;2570 readonly xcm: Vec<XcmV0Xcm>;2571 } & Struct;2572 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2573}25742575/** @name XcmV0OriginKind */2576export interface XcmV0OriginKind extends Enum {2577 readonly isNative: boolean;2578 readonly isSovereignAccount: boolean;2579 readonly isSuperuser: boolean;2580 readonly isXcm: boolean;2581 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2582}25832584/** @name XcmV0Response */2585export interface XcmV0Response extends Enum {2586 readonly isAssets: boolean;2587 readonly asAssets: Vec<XcmV0MultiAsset>;2588 readonly type: 'Assets';2589}25902591/** @name XcmV0Xcm */2592export interface XcmV0Xcm extends Enum {2593 readonly isWithdrawAsset: boolean;2594 readonly asWithdrawAsset: {2595 readonly assets: Vec<XcmV0MultiAsset>;2596 readonly effects: Vec<XcmV0Order>;2597 } & Struct;2598 readonly isReserveAssetDeposit: boolean;2599 readonly asReserveAssetDeposit: {2600 readonly assets: Vec<XcmV0MultiAsset>;2601 readonly effects: Vec<XcmV0Order>;2602 } & Struct;2603 readonly isTeleportAsset: boolean;2604 readonly asTeleportAsset: {2605 readonly assets: Vec<XcmV0MultiAsset>;2606 readonly effects: Vec<XcmV0Order>;2607 } & Struct;2608 readonly isQueryResponse: boolean;2609 readonly asQueryResponse: {2610 readonly queryId: Compact<u64>;2611 readonly response: XcmV0Response;2612 } & Struct;2613 readonly isTransferAsset: boolean;2614 readonly asTransferAsset: {2615 readonly assets: Vec<XcmV0MultiAsset>;2616 readonly dest: XcmV0MultiLocation;2617 } & Struct;2618 readonly isTransferReserveAsset: boolean;2619 readonly asTransferReserveAsset: {2620 readonly assets: Vec<XcmV0MultiAsset>;2621 readonly dest: XcmV0MultiLocation;2622 readonly effects: Vec<XcmV0Order>;2623 } & Struct;2624 readonly isTransact: boolean;2625 readonly asTransact: {2626 readonly originType: XcmV0OriginKind;2627 readonly requireWeightAtMost: u64;2628 readonly call: XcmDoubleEncoded;2629 } & Struct;2630 readonly isHrmpNewChannelOpenRequest: boolean;2631 readonly asHrmpNewChannelOpenRequest: {2632 readonly sender: Compact<u32>;2633 readonly maxMessageSize: Compact<u32>;2634 readonly maxCapacity: Compact<u32>;2635 } & Struct;2636 readonly isHrmpChannelAccepted: boolean;2637 readonly asHrmpChannelAccepted: {2638 readonly recipient: Compact<u32>;2639 } & Struct;2640 readonly isHrmpChannelClosing: boolean;2641 readonly asHrmpChannelClosing: {2642 readonly initiator: Compact<u32>;2643 readonly sender: Compact<u32>;2644 readonly recipient: Compact<u32>;2645 } & Struct;2646 readonly isRelayedFrom: boolean;2647 readonly asRelayedFrom: {2648 readonly who: XcmV0MultiLocation;2649 readonly message: XcmV0Xcm;2650 } & Struct;2651 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2652}26532654/** @name XcmV1Junction */2655export interface XcmV1Junction extends Enum {2656 readonly isParachain: boolean;2657 readonly asParachain: Compact<u32>;2658 readonly isAccountId32: boolean;2659 readonly asAccountId32: {2660 readonly network: XcmV0JunctionNetworkId;2661 readonly id: U8aFixed;2662 } & Struct;2663 readonly isAccountIndex64: boolean;2664 readonly asAccountIndex64: {2665 readonly network: XcmV0JunctionNetworkId;2666 readonly index: Compact<u64>;2667 } & Struct;2668 readonly isAccountKey20: boolean;2669 readonly asAccountKey20: {2670 readonly network: XcmV0JunctionNetworkId;2671 readonly key: U8aFixed;2672 } & Struct;2673 readonly isPalletInstance: boolean;2674 readonly asPalletInstance: u8;2675 readonly isGeneralIndex: boolean;2676 readonly asGeneralIndex: Compact<u128>;2677 readonly isGeneralKey: boolean;2678 readonly asGeneralKey: Bytes;2679 readonly isOnlyChild: boolean;2680 readonly isPlurality: boolean;2681 readonly asPlurality: {2682 readonly id: XcmV0JunctionBodyId;2683 readonly part: XcmV0JunctionBodyPart;2684 } & Struct;2685 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2686}26872688/** @name XcmV1MultiAsset */2689export interface XcmV1MultiAsset extends Struct {2690 readonly id: XcmV1MultiassetAssetId;2691 readonly fun: XcmV1MultiassetFungibility;2692}26932694/** @name XcmV1MultiassetAssetId */2695export interface XcmV1MultiassetAssetId extends Enum {2696 readonly isConcrete: boolean;2697 readonly asConcrete: XcmV1MultiLocation;2698 readonly isAbstract: boolean;2699 readonly asAbstract: Bytes;2700 readonly type: 'Concrete' | 'Abstract';2701}27022703/** @name XcmV1MultiassetAssetInstance */2704export interface XcmV1MultiassetAssetInstance extends Enum {2705 readonly isUndefined: boolean;2706 readonly isIndex: boolean;2707 readonly asIndex: Compact<u128>;2708 readonly isArray4: boolean;2709 readonly asArray4: U8aFixed;2710 readonly isArray8: boolean;2711 readonly asArray8: U8aFixed;2712 readonly isArray16: boolean;2713 readonly asArray16: U8aFixed;2714 readonly isArray32: boolean;2715 readonly asArray32: U8aFixed;2716 readonly isBlob: boolean;2717 readonly asBlob: Bytes;2718 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2719}27202721/** @name XcmV1MultiassetFungibility */2722export interface XcmV1MultiassetFungibility extends Enum {2723 readonly isFungible: boolean;2724 readonly asFungible: Compact<u128>;2725 readonly isNonFungible: boolean;2726 readonly asNonFungible: XcmV1MultiassetAssetInstance;2727 readonly type: 'Fungible' | 'NonFungible';2728}27292730/** @name XcmV1MultiassetMultiAssetFilter */2731export interface XcmV1MultiassetMultiAssetFilter extends Enum {2732 readonly isDefinite: boolean;2733 readonly asDefinite: XcmV1MultiassetMultiAssets;2734 readonly isWild: boolean;2735 readonly asWild: XcmV1MultiassetWildMultiAsset;2736 readonly type: 'Definite' | 'Wild';2737}27382739/** @name XcmV1MultiassetMultiAssets */2740export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}27412742/** @name XcmV1MultiassetWildFungibility */2743export interface XcmV1MultiassetWildFungibility extends Enum {2744 readonly isFungible: boolean;2745 readonly isNonFungible: boolean;2746 readonly type: 'Fungible' | 'NonFungible';2747}27482749/** @name XcmV1MultiassetWildMultiAsset */2750export interface XcmV1MultiassetWildMultiAsset extends Enum {2751 readonly isAll: boolean;2752 readonly isAllOf: boolean;2753 readonly asAllOf: {2754 readonly id: XcmV1MultiassetAssetId;2755 readonly fun: XcmV1MultiassetWildFungibility;2756 } & Struct;2757 readonly type: 'All' | 'AllOf';2758}27592760/** @name XcmV1MultiLocation */2761export interface XcmV1MultiLocation extends Struct {2762 readonly parents: u8;2763 readonly interior: XcmV1MultilocationJunctions;2764}27652766/** @name XcmV1MultilocationJunctions */2767export interface XcmV1MultilocationJunctions extends Enum {2768 readonly isHere: boolean;2769 readonly isX1: boolean;2770 readonly asX1: XcmV1Junction;2771 readonly isX2: boolean;2772 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2773 readonly isX3: boolean;2774 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2775 readonly isX4: boolean;2776 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2777 readonly isX5: boolean;2778 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2779 readonly isX6: boolean;2780 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2781 readonly isX7: boolean;2782 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2783 readonly isX8: boolean;2784 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2785 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2786}27872788/** @name XcmV1Order */2789export interface XcmV1Order extends Enum {2790 readonly isNoop: boolean;2791 readonly isDepositAsset: boolean;2792 readonly asDepositAsset: {2793 readonly assets: XcmV1MultiassetMultiAssetFilter;2794 readonly maxAssets: u32;2795 readonly beneficiary: XcmV1MultiLocation;2796 } & Struct;2797 readonly isDepositReserveAsset: boolean;2798 readonly asDepositReserveAsset: {2799 readonly assets: XcmV1MultiassetMultiAssetFilter;2800 readonly maxAssets: u32;2801 readonly dest: XcmV1MultiLocation;2802 readonly effects: Vec<XcmV1Order>;2803 } & Struct;2804 readonly isExchangeAsset: boolean;2805 readonly asExchangeAsset: {2806 readonly give: XcmV1MultiassetMultiAssetFilter;2807 readonly receive: XcmV1MultiassetMultiAssets;2808 } & Struct;2809 readonly isInitiateReserveWithdraw: boolean;2810 readonly asInitiateReserveWithdraw: {2811 readonly assets: XcmV1MultiassetMultiAssetFilter;2812 readonly reserve: XcmV1MultiLocation;2813 readonly effects: Vec<XcmV1Order>;2814 } & Struct;2815 readonly isInitiateTeleport: boolean;2816 readonly asInitiateTeleport: {2817 readonly assets: XcmV1MultiassetMultiAssetFilter;2818 readonly dest: XcmV1MultiLocation;2819 readonly effects: Vec<XcmV1Order>;2820 } & Struct;2821 readonly isQueryHolding: boolean;2822 readonly asQueryHolding: {2823 readonly queryId: Compact<u64>;2824 readonly dest: XcmV1MultiLocation;2825 readonly assets: XcmV1MultiassetMultiAssetFilter;2826 } & Struct;2827 readonly isBuyExecution: boolean;2828 readonly asBuyExecution: {2829 readonly fees: XcmV1MultiAsset;2830 readonly weight: u64;2831 readonly debt: u64;2832 readonly haltOnError: bool;2833 readonly instructions: Vec<XcmV1Xcm>;2834 } & Struct;2835 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2836}28372838/** @name XcmV1Response */2839export interface XcmV1Response extends Enum {2840 readonly isAssets: boolean;2841 readonly asAssets: XcmV1MultiassetMultiAssets;2842 readonly isVersion: boolean;2843 readonly asVersion: u32;2844 readonly type: 'Assets' | 'Version';2845}28462847/** @name XcmV1Xcm */2848export interface XcmV1Xcm extends Enum {2849 readonly isWithdrawAsset: boolean;2850 readonly asWithdrawAsset: {2851 readonly assets: XcmV1MultiassetMultiAssets;2852 readonly effects: Vec<XcmV1Order>;2853 } & Struct;2854 readonly isReserveAssetDeposited: boolean;2855 readonly asReserveAssetDeposited: {2856 readonly assets: XcmV1MultiassetMultiAssets;2857 readonly effects: Vec<XcmV1Order>;2858 } & Struct;2859 readonly isReceiveTeleportedAsset: boolean;2860 readonly asReceiveTeleportedAsset: {2861 readonly assets: XcmV1MultiassetMultiAssets;2862 readonly effects: Vec<XcmV1Order>;2863 } & Struct;2864 readonly isQueryResponse: boolean;2865 readonly asQueryResponse: {2866 readonly queryId: Compact<u64>;2867 readonly response: XcmV1Response;2868 } & Struct;2869 readonly isTransferAsset: boolean;2870 readonly asTransferAsset: {2871 readonly assets: XcmV1MultiassetMultiAssets;2872 readonly beneficiary: XcmV1MultiLocation;2873 } & Struct;2874 readonly isTransferReserveAsset: boolean;2875 readonly asTransferReserveAsset: {2876 readonly assets: XcmV1MultiassetMultiAssets;2877 readonly dest: XcmV1MultiLocation;2878 readonly effects: Vec<XcmV1Order>;2879 } & Struct;2880 readonly isTransact: boolean;2881 readonly asTransact: {2882 readonly originType: XcmV0OriginKind;2883 readonly requireWeightAtMost: u64;2884 readonly call: XcmDoubleEncoded;2885 } & Struct;2886 readonly isHrmpNewChannelOpenRequest: boolean;2887 readonly asHrmpNewChannelOpenRequest: {2888 readonly sender: Compact<u32>;2889 readonly maxMessageSize: Compact<u32>;2890 readonly maxCapacity: Compact<u32>;2891 } & Struct;2892 readonly isHrmpChannelAccepted: boolean;2893 readonly asHrmpChannelAccepted: {2894 readonly recipient: Compact<u32>;2895 } & Struct;2896 readonly isHrmpChannelClosing: boolean;2897 readonly asHrmpChannelClosing: {2898 readonly initiator: Compact<u32>;2899 readonly sender: Compact<u32>;2900 readonly recipient: Compact<u32>;2901 } & Struct;2902 readonly isRelayedFrom: boolean;2903 readonly asRelayedFrom: {2904 readonly who: XcmV1MultilocationJunctions;2905 readonly message: XcmV1Xcm;2906 } & Struct;2907 readonly isSubscribeVersion: boolean;2908 readonly asSubscribeVersion: {2909 readonly queryId: Compact<u64>;2910 readonly maxResponseWeight: Compact<u64>;2911 } & Struct;2912 readonly isUnsubscribeVersion: boolean;2913 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2914}29152916/** @name XcmV2Instruction */2917export interface XcmV2Instruction extends Enum {2918 readonly isWithdrawAsset: boolean;2919 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2920 readonly isReserveAssetDeposited: boolean;2921 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2922 readonly isReceiveTeleportedAsset: boolean;2923 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2924 readonly isQueryResponse: boolean;2925 readonly asQueryResponse: {2926 readonly queryId: Compact<u64>;2927 readonly response: XcmV2Response;2928 readonly maxWeight: Compact<u64>;2929 } & Struct;2930 readonly isTransferAsset: boolean;2931 readonly asTransferAsset: {2932 readonly assets: XcmV1MultiassetMultiAssets;2933 readonly beneficiary: XcmV1MultiLocation;2934 } & Struct;2935 readonly isTransferReserveAsset: boolean;2936 readonly asTransferReserveAsset: {2937 readonly assets: XcmV1MultiassetMultiAssets;2938 readonly dest: XcmV1MultiLocation;2939 readonly xcm: XcmV2Xcm;2940 } & Struct;2941 readonly isTransact: boolean;2942 readonly asTransact: {2943 readonly originType: XcmV0OriginKind;2944 readonly requireWeightAtMost: Compact<u64>;2945 readonly call: XcmDoubleEncoded;2946 } & Struct;2947 readonly isHrmpNewChannelOpenRequest: boolean;2948 readonly asHrmpNewChannelOpenRequest: {2949 readonly sender: Compact<u32>;2950 readonly maxMessageSize: Compact<u32>;2951 readonly maxCapacity: Compact<u32>;2952 } & Struct;2953 readonly isHrmpChannelAccepted: boolean;2954 readonly asHrmpChannelAccepted: {2955 readonly recipient: Compact<u32>;2956 } & Struct;2957 readonly isHrmpChannelClosing: boolean;2958 readonly asHrmpChannelClosing: {2959 readonly initiator: Compact<u32>;2960 readonly sender: Compact<u32>;2961 readonly recipient: Compact<u32>;2962 } & Struct;2963 readonly isClearOrigin: boolean;2964 readonly isDescendOrigin: boolean;2965 readonly asDescendOrigin: XcmV1MultilocationJunctions;2966 readonly isReportError: boolean;2967 readonly asReportError: {2968 readonly queryId: Compact<u64>;2969 readonly dest: XcmV1MultiLocation;2970 readonly maxResponseWeight: Compact<u64>;2971 } & Struct;2972 readonly isDepositAsset: boolean;2973 readonly asDepositAsset: {2974 readonly assets: XcmV1MultiassetMultiAssetFilter;2975 readonly maxAssets: Compact<u32>;2976 readonly beneficiary: XcmV1MultiLocation;2977 } & Struct;2978 readonly isDepositReserveAsset: boolean;2979 readonly asDepositReserveAsset: {2980 readonly assets: XcmV1MultiassetMultiAssetFilter;2981 readonly maxAssets: Compact<u32>;2982 readonly dest: XcmV1MultiLocation;2983 readonly xcm: XcmV2Xcm;2984 } & Struct;2985 readonly isExchangeAsset: boolean;2986 readonly asExchangeAsset: {2987 readonly give: XcmV1MultiassetMultiAssetFilter;2988 readonly receive: XcmV1MultiassetMultiAssets;2989 } & Struct;2990 readonly isInitiateReserveWithdraw: boolean;2991 readonly asInitiateReserveWithdraw: {2992 readonly assets: XcmV1MultiassetMultiAssetFilter;2993 readonly reserve: XcmV1MultiLocation;2994 readonly xcm: XcmV2Xcm;2995 } & Struct;2996 readonly isInitiateTeleport: boolean;2997 readonly asInitiateTeleport: {2998 readonly assets: XcmV1MultiassetMultiAssetFilter;2999 readonly dest: XcmV1MultiLocation;3000 readonly xcm: XcmV2Xcm;3001 } & Struct;3002 readonly isQueryHolding: boolean;3003 readonly asQueryHolding: {3004 readonly queryId: Compact<u64>;3005 readonly dest: XcmV1MultiLocation;3006 readonly assets: XcmV1MultiassetMultiAssetFilter;3007 readonly maxResponseWeight: Compact<u64>;3008 } & Struct;3009 readonly isBuyExecution: boolean;3010 readonly asBuyExecution: {3011 readonly fees: XcmV1MultiAsset;3012 readonly weightLimit: XcmV2WeightLimit;3013 } & Struct;3014 readonly isRefundSurplus: boolean;3015 readonly isSetErrorHandler: boolean;3016 readonly asSetErrorHandler: XcmV2Xcm;3017 readonly isSetAppendix: boolean;3018 readonly asSetAppendix: XcmV2Xcm;3019 readonly isClearError: boolean;3020 readonly isClaimAsset: boolean;3021 readonly asClaimAsset: {3022 readonly assets: XcmV1MultiassetMultiAssets;3023 readonly ticket: XcmV1MultiLocation;3024 } & Struct;3025 readonly isTrap: boolean;3026 readonly asTrap: Compact<u64>;3027 readonly isSubscribeVersion: boolean;3028 readonly asSubscribeVersion: {3029 readonly queryId: Compact<u64>;3030 readonly maxResponseWeight: Compact<u64>;3031 } & Struct;3032 readonly isUnsubscribeVersion: boolean;3033 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';3034}30353036/** @name XcmV2Response */3037export interface XcmV2Response extends Enum {3038 readonly isNull: boolean;3039 readonly isAssets: boolean;3040 readonly asAssets: XcmV1MultiassetMultiAssets;3041 readonly isExecutionResult: boolean;3042 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3043 readonly isVersion: boolean;3044 readonly asVersion: u32;3045 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3046}30473048/** @name XcmV2TraitsError */3049export interface XcmV2TraitsError extends Enum {3050 readonly isOverflow: boolean;3051 readonly isUnimplemented: boolean;3052 readonly isUntrustedReserveLocation: boolean;3053 readonly isUntrustedTeleportLocation: boolean;3054 readonly isMultiLocationFull: boolean;3055 readonly isMultiLocationNotInvertible: boolean;3056 readonly isBadOrigin: boolean;3057 readonly isInvalidLocation: boolean;3058 readonly isAssetNotFound: boolean;3059 readonly isFailedToTransactAsset: boolean;3060 readonly isNotWithdrawable: boolean;3061 readonly isLocationCannotHold: boolean;3062 readonly isExceedsMaxMessageSize: boolean;3063 readonly isDestinationUnsupported: boolean;3064 readonly isTransport: boolean;3065 readonly isUnroutable: boolean;3066 readonly isUnknownClaim: boolean;3067 readonly isFailedToDecode: boolean;3068 readonly isMaxWeightInvalid: boolean;3069 readonly isNotHoldingFees: boolean;3070 readonly isTooExpensive: boolean;3071 readonly isTrap: boolean;3072 readonly asTrap: u64;3073 readonly isUnhandledXcmVersion: boolean;3074 readonly isWeightLimitReached: boolean;3075 readonly asWeightLimitReached: u64;3076 readonly isBarrier: boolean;3077 readonly isWeightNotComputable: boolean;3078 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';3079}30803081/** @name XcmV2TraitsOutcome */3082export interface XcmV2TraitsOutcome extends Enum {3083 readonly isComplete: boolean;3084 readonly asComplete: u64;3085 readonly isIncomplete: boolean;3086 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3087 readonly isError: boolean;3088 readonly asError: XcmV2TraitsError;3089 readonly type: 'Complete' | 'Incomplete' | 'Error';3090}30913092/** @name XcmV2WeightLimit */3093export interface XcmV2WeightLimit extends Enum {3094 readonly isUnlimited: boolean;3095 readonly isLimited: boolean;3096 readonly asLimited: Compact<u64>;3097 readonly type: 'Unlimited' | 'Limited';3098}30993100/** @name XcmV2Xcm */3101export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}31023103/** @name XcmVersionedMultiAssets */3104export interface XcmVersionedMultiAssets extends Enum {3105 readonly isV0: boolean;3106 readonly asV0: Vec<XcmV0MultiAsset>;3107 readonly isV1: boolean;3108 readonly asV1: XcmV1MultiassetMultiAssets;3109 readonly type: 'V0' | 'V1';3110}31113112/** @name XcmVersionedMultiLocation */3113export interface XcmVersionedMultiLocation extends Enum {3114 readonly isV0: boolean;3115 readonly asV0: XcmV0MultiLocation;3116 readonly isV1: boolean;3117 readonly asV1: XcmV1MultiLocation;3118 readonly type: 'V0' | 'V1';3119}31203121/** @name XcmVersionedXcm */3122export interface XcmVersionedXcm extends Enum {3123 readonly isV0: boolean;3124 readonly asV0: XcmV0Xcm;3125 readonly isV1: boolean;3126 readonly asV1: XcmV1Xcm;3127 readonly isV2: boolean;3128 readonly asV2: XcmV2Xcm;3129 readonly type: 'V0' | 'V1' | 'V2';3130}31313132export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1553,48 +1553,92 @@
recipient: 'Option<AccountId32>',
royaltyAmount: 'Option<Permill>',
metadata: 'Bytes',
+ transferable: 'bool',
},
burn_nft: {
collectionId: 'u32',
nftId: 'u32',
},
+ send: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
+ },
+ accept_nft: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
+ },
+ reject_nft: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ },
+ accept_resource: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ rmrkResourceId: 'u32',
+ },
+ accept_resource_removal: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ rmrkResourceId: 'u32',
+ },
set_property: {
rmrkCollectionId: 'Compact<u32>',
maybeNftId: 'Option<u32>',
key: 'Bytes',
value: 'Bytes',
},
+ set_priority: {
+ rmrkCollectionId: 'u32',
+ rmrkNftId: 'u32',
+ priorities: 'Vec<u32>',
+ },
add_basic_resource: {
- collectionId: 'u32',
+ rmrkCollectionId: 'u32',
nftId: 'u32',
- resource: 'UpDataStructsRmrkBasicResource',
+ resource: 'RmrkTraitsResourceBasicResource',
},
add_composable_resource: {
- collectionId: 'u32',
+ rmrkCollectionId: 'u32',
nftId: 'u32',
resourceId: 'Bytes',
- resource: 'UpDataStructsRmrkComposableResource',
+ resource: 'RmrkTraitsResourceComposableResource',
},
add_slot_resource: {
- collectionId: 'u32',
+ rmrkCollectionId: 'u32',
nftId: 'u32',
- resource: 'UpDataStructsRmrkSlotResource'
+ resource: 'RmrkTraitsResourceSlotResource',
+ },
+ remove_resource: {
+ rmrkCollectionId: 'u32',
+ nftId: 'u32',
+ resourceId: 'u32'
}
}
},
/**
- * Lookup212: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup210: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
- UpDataStructsRmrkBasicResource: {
+ RmrkTraitsNftAccountIdOrCollectionNftTuple: {
+ _enum: {
+ AccountId: 'AccountId32',
+ CollectionAndNftTuple: '(u32,u32)'
+ }
+ },
+ /**
+ * Lookup214: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
metadata: 'Option<Bytes>',
license: 'Option<Bytes>',
thumb: 'Option<Bytes>'
},
/**
- * Lookup215: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup217: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkComposableResource: {
+ RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
base: 'u32',
src: 'Option<Bytes>',
@@ -1603,9 +1647,9 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup217: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup219: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkSlotResource: {
+ RmrkTraitsResourceSlotResource: {
base: 'u32',
src: 'Option<Bytes>',
metadata: 'Option<Bytes>',
@@ -1614,51 +1658,51 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup218: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup220: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
create_base: {
baseType: 'Bytes',
symbol: 'Bytes',
- parts: 'Vec<UpDataStructsRmrkPartType>',
+ parts: 'Vec<RmrkTraitsPartPartType>',
},
theme_add: {
baseId: 'u32',
- theme: 'UpDataStructsRmrkTheme'
+ theme: 'RmrkTraitsTheme'
}
}
},
/**
- * Lookup220: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup222: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkPartType: {
+ RmrkTraitsPartPartType: {
_enum: {
- FixedPart: 'UpDataStructsRmrkFixedPart',
- SlotPart: 'UpDataStructsRmrkSlotPart'
+ FixedPart: 'RmrkTraitsPartFixedPart',
+ SlotPart: 'RmrkTraitsPartSlotPart'
}
},
/**
- * Lookup222: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup224: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkFixedPart: {
+ RmrkTraitsPartFixedPart: {
id: 'u32',
z: 'u32',
src: 'Bytes'
},
/**
- * Lookup223: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup225: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkSlotPart: {
+ RmrkTraitsPartSlotPart: {
id: 'u32',
- equippable: 'UpDataStructsRmrkEquippableList',
+ equippable: 'RmrkTraitsPartEquippableList',
src: 'Bytes',
z: 'u32'
},
/**
- * Lookup224: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup226: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkEquippableList: {
+ RmrkTraitsPartEquippableList: {
_enum: {
All: 'Null',
Empty: 'Null',
@@ -1666,22 +1710,22 @@
}
},
/**
- * Lookup226: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
+ * Lookup228: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
**/
- UpDataStructsRmrkTheme: {
+ RmrkTraitsTheme: {
name: 'Bytes',
- properties: 'Vec<UpDataStructsRmrkThemeProperty>',
+ properties: 'Vec<RmrkTraitsThemeThemeProperty>',
inherit: 'bool'
},
/**
- * Lookup228: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup230: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkThemeProperty: {
+ RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup229: pallet_evm::pallet::Call<T>
+ * Lookup231: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -1724,7 +1768,7 @@
}
},
/**
- * Lookup235: pallet_ethereum::pallet::Call<T>
+ * Lookup237: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1734,7 +1778,7 @@
}
},
/**
- * Lookup236: ethereum::transaction::TransactionV2
+ * Lookup238: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1744,7 +1788,7 @@
}
},
/**
- * Lookup237: ethereum::transaction::LegacyTransaction
+ * Lookup239: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1756,7 +1800,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup238: ethereum::transaction::TransactionAction
+ * Lookup240: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1765,7 +1809,7 @@
}
},
/**
- * Lookup239: ethereum::transaction::TransactionSignature
+ * Lookup241: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1773,7 +1817,7 @@
s: 'H256'
},
/**
- * Lookup241: ethereum::transaction::EIP2930Transaction
+ * Lookup243: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1789,14 +1833,14 @@
s: 'H256'
},
/**
- * Lookup243: ethereum::transaction::AccessListItem
+ * Lookup245: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup244: ethereum::transaction::EIP1559Transaction
+ * Lookup246: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1813,7 +1857,7 @@
s: 'H256'
},
/**
- * Lookup245: pallet_evm_migration::pallet::Call<T>
+ * Lookup247: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1831,7 +1875,7 @@
}
},
/**
- * Lookup248: pallet_sudo::pallet::Event<T>
+ * Lookup250: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1847,7 +1891,7 @@
}
},
/**
- * Lookup250: sp_runtime::DispatchError
+ * Lookup252: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1864,38 +1908,38 @@
}
},
/**
- * Lookup251: sp_runtime::ModuleError
+ * Lookup253: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup252: sp_runtime::TokenError
+ * Lookup254: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup253: sp_runtime::ArithmeticError
+ * Lookup255: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup254: sp_runtime::TransactionalError
+ * Lookup256: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup255: pallet_sudo::pallet::Error<T>
+ * Lookup257: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup256: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup258: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1905,7 +1949,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup257: frame_support::weights::PerDispatchClass<T>
+ * Lookup259: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1913,13 +1957,13 @@
mandatory: 'u64'
},
/**
- * Lookup258: sp_runtime::generic::digest::Digest
+ * Lookup260: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup260: sp_runtime::generic::digest::DigestItem
+ * Lookup262: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1935,7 +1979,7 @@
}
},
/**
- * Lookup262: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup264: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1943,7 +1987,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup264: frame_system::pallet::Event<T>
+ * Lookup266: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1971,7 +2015,7 @@
}
},
/**
- * Lookup265: frame_support::weights::DispatchInfo
+ * Lookup267: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1979,19 +2023,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup266: frame_support::weights::DispatchClass
+ * Lookup268: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup267: frame_support::weights::Pays
+ * Lookup269: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup268: orml_vesting::module::Event<T>
+ * Lookup270: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -2010,7 +2054,7 @@
}
},
/**
- * Lookup269: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup271: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -2025,7 +2069,7 @@
}
},
/**
- * Lookup270: pallet_xcm::pallet::Event<T>
+ * Lookup272: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -2048,7 +2092,7 @@
}
},
/**
- * Lookup271: xcm::v2::traits::Outcome
+ * Lookup273: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -2058,7 +2102,7 @@
}
},
/**
- * Lookup273: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup275: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -2068,7 +2112,7 @@
}
},
/**
- * Lookup274: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup276: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -2081,7 +2125,7 @@
}
},
/**
- * Lookup275: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup277: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -2098,7 +2142,7 @@
}
},
/**
- * Lookup276: pallet_common::pallet::Event<T>
+ * Lookup278: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -2116,7 +2160,7 @@
}
},
/**
- * Lookup277: pallet_structure::pallet::Event<T>
+ * Lookup279: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -2124,7 +2168,7 @@
}
},
/**
- * Lookup278: pallet_rmrk_core::pallet::Event<T>
+ * Lookup280: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -2154,6 +2198,24 @@
owner: 'AccountId32',
nftId: 'u32',
},
+ NFTSent: {
+ sender: 'AccountId32',
+ recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
+ collectionId: 'u32',
+ nftId: 'u32',
+ approvalRequired: 'bool',
+ },
+ NFTAccepted: {
+ sender: 'AccountId32',
+ recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
+ NFTRejected: {
+ sender: 'AccountId32',
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
PropertySet: {
collectionId: 'u32',
maybeNftId: 'Option<u32>',
@@ -2162,12 +2224,28 @@
},
ResourceAdded: {
nftId: 'u32',
- resourceId: 'u32'
+ resourceId: 'u32',
+ },
+ ResourceRemoval: {
+ nftId: 'u32',
+ resourceId: 'u32',
+ },
+ ResourceAccepted: {
+ nftId: 'u32',
+ resourceId: 'u32',
+ },
+ ResourceRemovalAccepted: {
+ nftId: 'u32',
+ resourceId: 'u32',
+ },
+ PrioritySet: {
+ collectionId: 'u32',
+ nftId: 'u32'
}
}
},
/**
- * Lookup279: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup281: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -2178,7 +2256,7 @@
}
},
/**
- * Lookup280: pallet_evm::pallet::Event<T>
+ * Lookup282: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -2192,7 +2270,7 @@
}
},
/**
- * Lookup281: ethereum::log::Log
+ * Lookup283: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -2200,7 +2278,7 @@
data: 'Bytes'
},
/**
- * Lookup282: pallet_ethereum::pallet::Event
+ * Lookup284: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2208,7 +2286,7 @@
}
},
/**
- * Lookup283: evm_core::error::ExitReason
+ * Lookup285: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2219,13 +2297,13 @@
}
},
/**
- * Lookup284: evm_core::error::ExitSucceed
+ * Lookup286: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup285: evm_core::error::ExitError
+ * Lookup287: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2247,13 +2325,13 @@
}
},
/**
- * Lookup288: evm_core::error::ExitRevert
+ * Lookup290: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup289: evm_core::error::ExitFatal
+ * Lookup291: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2264,7 +2342,7 @@
}
},
/**
- * Lookup290: frame_system::Phase
+ * Lookup292: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2274,14 +2352,14 @@
}
},
/**
- * Lookup292: frame_system::LastRuntimeUpgradeInfo
+ * Lookup294: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup293: frame_system::limits::BlockWeights
+ * Lookup295: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2289,7 +2367,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup294: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup296: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2297,7 +2375,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup295: frame_system::limits::WeightsPerClass
+ * Lookup297: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2306,13 +2384,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup297: frame_system::limits::BlockLength
+ * Lookup299: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup298: frame_support::weights::PerDispatchClass<T>
+ * Lookup300: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2320,14 +2398,14 @@
mandatory: 'u32'
},
/**
- * Lookup299: frame_support::weights::RuntimeDbWeight
+ * Lookup301: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup300: sp_version::RuntimeVersion
+ * Lookup302: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2340,19 +2418,19 @@
stateVersion: 'u8'
},
/**
- * Lookup304: frame_system::pallet::Error<T>
+ * Lookup306: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup306: orml_vesting::module::Error<T>
+ * Lookup308: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup308: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup310: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2360,19 +2438,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup309: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup311: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup312: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup314: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup315: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup317: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2382,13 +2460,13 @@
lastIndex: 'u16'
},
/**
- * Lookup316: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup318: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup318: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup320: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2399,29 +2477,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup320: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup322: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup321: pallet_xcm::pallet::Error<T>
+ * Lookup323: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup322: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup324: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup323: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup325: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup324: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup326: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2429,19 +2507,19 @@
overweightCount: 'u64'
},
/**
- * Lookup327: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup329: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup331: pallet_unique::Error<T>
+ * Lookup333: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup332: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup334: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2451,10 +2529,11 @@
tokenPrefix: 'Bytes',
sponsorship: 'UpDataStructsSponsorshipState',
limits: 'UpDataStructsCollectionLimits',
- permissions: 'UpDataStructsCollectionPermissions'
+ permissions: 'UpDataStructsCollectionPermissions',
+ externalCollection: 'bool'
},
/**
- * Lookup333: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup335: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2464,7 +2543,7 @@
}
},
/**
- * Lookup334: up_data_structs::Properties
+ * Lookup336: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2472,15 +2551,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup335: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup337: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup340: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup342: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup347: up_data_structs::CollectionStats
+ * Lookup349: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2497,7 +2576,7 @@
/**
* Lookup324: PhantomType::up_data_structs<T>
**/
- PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpDataStructsRmrkCollectionInfo,UpDataStructsRmrkNftInfo,UpDataStructsRmrkResourceInfo,UpDataStructsRmrkPropertyInfo,UpDataStructsRmrkBaseInfo,UpDataStructsRmrkPartType,UpDataStructsRmrkTheme,UpDataStructsRmrkNftChild);0]',
+ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
* Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
@@ -2518,12 +2597,13 @@
limits: 'UpDataStructsCollectionLimits',
permissions: 'UpDataStructsCollectionPermissions',
tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
- properties: 'Vec<UpDataStructsProperty>'
+ properties: 'Vec<UpDataStructsProperty>',
+ readOnly: 'bool'
},
/**
* Lookup329: up_data_structs::rmrk::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
- UpDataStructsRmrkCollectionInfo: {
+ RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
metadata: 'Bytes',
max: 'Option<u32>',
@@ -2533,9 +2613,9 @@
/**
* Lookup332: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkNftInfo: {
- owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',
- royalty: 'Option<UpDataStructsRmrkRoyaltyInfo>',
+ RmrkTraitsNftNftInfo: {
+ owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
+ royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',
metadata: 'Bytes',
equipped: 'bool',
pending: 'bool'
@@ -2552,27 +2632,27 @@
/**
* Lookup335: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
- UpDataStructsRmrkRoyaltyInfo: {
+ RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
* Lookup336: up_data_structs::rmrk::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkResourceInfo: {
+ RmrkTraitsResourceResourceInfo: {
id: 'u32',
- resource: 'UpDataStructsRmrkResourceTypes',
+ resource: 'RmrkTraitsResourceResourceTypes',
pending: 'bool',
pendingRemoval: 'bool'
},
/**
* Lookup339: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkResourceTypes: {
+ RmrkTraitsResourceResourceTypes: {
_enum: {
- Basic: 'UpDataStructsRmrkBasicResource',
- Composable: 'UpDataStructsRmrkComposableResource',
- Slot: 'UpDataStructsRmrkSlotResource'
+ Basic: 'RmrkTraitsResourceBasicResource',
+ Composable: 'RmrkTraitsResourceComposableResource',
+ Slot: 'RmrkTraitsResourceSlotResource'
}
},
/**
@@ -2609,14 +2689,14 @@
/**
* Lookup344: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkPropertyInfo: {
+ RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
* Lookup347: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- UpDataStructsRmrkBaseInfo: {
+ RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
baseType: 'Bytes',
symbol: 'Bytes'
@@ -2675,7 +2755,7 @@
/**
* Lookup356: up_data_structs::rmrk::NftChild
**/
- UpDataStructsRmrkNftChild: {
+ RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
@@ -2683,7 +2763,7 @@
* Lookup358: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
- _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey']
+ _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']
},
/**
* Lookup360: pallet_fungible::pallet::Error<T>
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -139,6 +139,24 @@
PolkadotPrimitivesV2AbridgedHrmpChannel: PolkadotPrimitivesV2AbridgedHrmpChannel;
PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData;
PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction;
+ RmrkTraitsBaseBaseInfo: RmrkTraitsBaseBaseInfo;
+ RmrkTraitsCollectionCollectionInfo: RmrkTraitsCollectionCollectionInfo;
+ RmrkTraitsNftAccountIdOrCollectionNftTuple: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ RmrkTraitsNftNftChild: RmrkTraitsNftNftChild;
+ RmrkTraitsNftNftInfo: RmrkTraitsNftNftInfo;
+ RmrkTraitsNftRoyaltyInfo: RmrkTraitsNftRoyaltyInfo;
+ RmrkTraitsPartEquippableList: RmrkTraitsPartEquippableList;
+ RmrkTraitsPartFixedPart: RmrkTraitsPartFixedPart;
+ RmrkTraitsPartPartType: RmrkTraitsPartPartType;
+ RmrkTraitsPartSlotPart: RmrkTraitsPartSlotPart;
+ RmrkTraitsPropertyPropertyInfo: RmrkTraitsPropertyPropertyInfo;
+ RmrkTraitsResourceBasicResource: RmrkTraitsResourceBasicResource;
+ RmrkTraitsResourceComposableResource: RmrkTraitsResourceComposableResource;
+ RmrkTraitsResourceResourceInfo: RmrkTraitsResourceResourceInfo;
+ RmrkTraitsResourceResourceTypes: RmrkTraitsResourceResourceTypes;
+ RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
+ RmrkTraitsTheme: RmrkTraitsTheme;
+ RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
SpCoreSr25519Signature: SpCoreSr25519Signature;
@@ -173,24 +191,6 @@
UpDataStructsProperty: UpDataStructsProperty;
UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;
UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
- UpDataStructsRmrkAccountIdOrCollectionNftTuple: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
- UpDataStructsRmrkBaseInfo: UpDataStructsRmrkBaseInfo;
- UpDataStructsRmrkBasicResource: UpDataStructsRmrkBasicResource;
- UpDataStructsRmrkCollectionInfo: UpDataStructsRmrkCollectionInfo;
- UpDataStructsRmrkComposableResource: UpDataStructsRmrkComposableResource;
- UpDataStructsRmrkEquippableList: UpDataStructsRmrkEquippableList;
- UpDataStructsRmrkFixedPart: UpDataStructsRmrkFixedPart;
- UpDataStructsRmrkNftChild: UpDataStructsRmrkNftChild;
- UpDataStructsRmrkNftInfo: UpDataStructsRmrkNftInfo;
- UpDataStructsRmrkPartType: UpDataStructsRmrkPartType;
- UpDataStructsRmrkPropertyInfo: UpDataStructsRmrkPropertyInfo;
- UpDataStructsRmrkResourceInfo: UpDataStructsRmrkResourceInfo;
- UpDataStructsRmrkResourceTypes: UpDataStructsRmrkResourceTypes;
- UpDataStructsRmrkRoyaltyInfo: UpDataStructsRmrkRoyaltyInfo;
- UpDataStructsRmrkSlotPart: UpDataStructsRmrkSlotPart;
- UpDataStructsRmrkSlotResource: UpDataStructsRmrkSlotResource;
- UpDataStructsRmrkTheme: UpDataStructsRmrkTheme;
- UpDataStructsRmrkThemeProperty: UpDataStructsRmrkThemeProperty;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/rmrk/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/rmrk/definitions.ts
+++ b/tests/src/interfaces/rmrk/definitions.ts
@@ -31,14 +31,14 @@
types: {},
rpc: {
lastCollectionIdx: fn('Get the latest created collection id', [], 'u32'),
- collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<UpDataStructsRmrkCollectionInfo>'),
+ collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<RmrkTraitsCollectionCollectionInfo>'),
nftById: fn(
'Get NFT by collection id and NFT id',
[
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Option<UpDataStructsRmrkNftInfo>',
+ 'Option<RmrkTraitsNftNftInfo>',
),
accountTokens: fn(
'Get tokens owned by an account in a collection',
@@ -54,7 +54,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<UpDataStructsRmrkNftChild>',
+ 'Vec<RmrkTraitsNftNftChild>',
),
collectionProperties: fn(
'Get collection properties',
@@ -62,7 +62,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'filterKeys', type: 'Vec<String>', isOptional: true},
],
- 'Vec<UpDataStructsRmrkPropertyInfo>',
+ 'Vec<RmrkTraitsPropertyPropertyInfo>',
),
nftProperties: fn(
'Get NFT properties',
@@ -71,7 +71,7 @@
{name: 'nftId', type: 'u32'},
{name: 'filterKeys', type: 'Vec<String>', isOptional: true},
],
- 'Vec<UpDataStructsRmrkPropertyInfo>',
+ 'Vec<RmrkTraitsPropertyPropertyInfo>',
),
nftResources: fn(
'Get NFT resources',
@@ -79,7 +79,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<UpDataStructsRmrkResourceInfo>',
+ 'Vec<RmrkTraitsResourceResourceInfo>',
),
nftResourcePriorities: fn(
'Get NFT resource priorities',
@@ -92,12 +92,12 @@
base: fn(
'Get base info',
[{name: 'baseId', type: 'u32'}],
- 'Option<UpDataStructsRmrkBaseInfo>',
+ 'Option<RmrkTraitsBaseBaseInfo>',
),
baseParts: fn(
'Get all Base\'s parts',
[{name: 'baseId', type: 'u32'}],
- 'Vec<UpDataStructsRmrkPartType>',
+ 'Vec<RmrkTraitsPartPartType>',
),
themeNames: fn(
'Get Base\'s theme names',
@@ -111,7 +111,7 @@
{name: 'themeName', type: 'String'},
{name: 'keys', type: 'Option<Vec<String>>'},
],
- 'Option<UpDataStructsRmrkTheme>',
+ 'Option<RmrkTraitsTheme>',
),
},
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1677,12 +1677,42 @@
readonly recipient: Option<AccountId32>;
readonly royaltyAmount: Option<Permill>;
readonly metadata: Bytes;
+ readonly transferable: bool;
} & Struct;
readonly isBurnNft: boolean;
readonly asBurnNft: {
readonly collectionId: u32;
readonly nftId: u32;
} & Struct;
+ readonly isSend: boolean;
+ readonly asSend: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ } & Struct;
+ readonly isAcceptNft: boolean;
+ readonly asAcceptNft: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ } & Struct;
+ readonly isRejectNft: boolean;
+ readonly asRejectNft: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ } & Struct;
+ readonly isAcceptResource: boolean;
+ readonly asAcceptResource: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly rmrkResourceId: u32;
+ } & Struct;
+ readonly isAcceptResourceRemoval: boolean;
+ readonly asAcceptResourceRemoval: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly rmrkResourceId: u32;
+ } & Struct;
readonly isSetProperty: boolean;
readonly asSetProperty: {
readonly rmrkCollectionId: Compact<u32>;
@@ -1690,38 +1720,59 @@
readonly key: Bytes;
readonly value: Bytes;
} & Struct;
+ readonly isSetPriority: boolean;
+ readonly asSetPriority: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly priorities: Vec<u32>;
+ } & Struct;
readonly isAddBasicResource: boolean;
readonly asAddBasicResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
- readonly resource: UpDataStructsRmrkBasicResource;
+ readonly resource: RmrkTraitsResourceBasicResource;
} & Struct;
readonly isAddComposableResource: boolean;
readonly asAddComposableResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
readonly resourceId: Bytes;
- readonly resource: UpDataStructsRmrkComposableResource;
+ readonly resource: RmrkTraitsResourceComposableResource;
} & Struct;
readonly isAddSlotResource: boolean;
readonly asAddSlotResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
+ readonly nftId: u32;
+ readonly resource: RmrkTraitsResourceSlotResource;
+ } & Struct;
+ readonly isRemoveResource: boolean;
+ readonly asRemoveResource: {
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
- readonly resource: UpDataStructsRmrkSlotResource;
+ readonly resourceId: u32;
} & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
+ }
+
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (210) */
+ export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
+ readonly isAccountId: boolean;
+ readonly asAccountId: AccountId32;
+ readonly isCollectionAndNftTuple: boolean;
+ readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
+ readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name UpDataStructsRmrkBasicResource (212) */
- export interface UpDataStructsRmrkBasicResource extends Struct {
+ /** @name RmrkTraitsResourceBasicResource (214) */
+ export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
readonly license: Option<Bytes>;
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkComposableResource (215) */
- export interface UpDataStructsRmrkComposableResource extends Struct {
+ /** @name RmrkTraitsResourceComposableResource (217) */
+ export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
readonly src: Option<Bytes>;
@@ -1730,8 +1781,8 @@
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkSlotResource (217) */
- export interface UpDataStructsRmrkSlotResource extends Struct {
+ /** @name RmrkTraitsResourceSlotResource (219) */
+ export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -1740,48 +1791,48 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (218) */
+ /** @name PalletRmrkEquipCall (220) */
export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
readonly baseType: Bytes;
readonly symbol: Bytes;
- readonly parts: Vec<UpDataStructsRmrkPartType>;
+ readonly parts: Vec<RmrkTraitsPartPartType>;
} & Struct;
readonly isThemeAdd: boolean;
readonly asThemeAdd: {
readonly baseId: u32;
- readonly theme: UpDataStructsRmrkTheme;
+ readonly theme: RmrkTraitsTheme;
} & Struct;
readonly type: 'CreateBase' | 'ThemeAdd';
}
- /** @name UpDataStructsRmrkPartType (220) */
- export interface UpDataStructsRmrkPartType extends Enum {
+ /** @name RmrkTraitsPartPartType (222) */
+ export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
- readonly asFixedPart: UpDataStructsRmrkFixedPart;
+ readonly asFixedPart: RmrkTraitsPartFixedPart;
readonly isSlotPart: boolean;
- readonly asSlotPart: UpDataStructsRmrkSlotPart;
+ readonly asSlotPart: RmrkTraitsPartSlotPart;
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name UpDataStructsRmrkFixedPart (222) */
- export interface UpDataStructsRmrkFixedPart extends Struct {
+ /** @name RmrkTraitsPartFixedPart (224) */
+ export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name UpDataStructsRmrkSlotPart (223) */
- export interface UpDataStructsRmrkSlotPart extends Struct {
+ /** @name RmrkTraitsPartSlotPart (225) */
+ export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
- readonly equippable: UpDataStructsRmrkEquippableList;
+ readonly equippable: RmrkTraitsPartEquippableList;
readonly src: Bytes;
readonly z: u32;
}
- /** @name UpDataStructsRmrkEquippableList (224) */
- export interface UpDataStructsRmrkEquippableList extends Enum {
+ /** @name RmrkTraitsPartEquippableList (226) */
+ export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
readonly isCustom: boolean;
@@ -1789,20 +1840,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name UpDataStructsRmrkTheme (226) */
- export interface UpDataStructsRmrkTheme extends Struct {
+ /** @name RmrkTraitsTheme (228) */
+ export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
- readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
+ readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name UpDataStructsRmrkThemeProperty (228) */
- export interface UpDataStructsRmrkThemeProperty extends Struct {
+ /** @name RmrkTraitsThemeThemeProperty (230) */
+ export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmCall (229) */
+ /** @name PalletEvmCall (231) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -1847,7 +1898,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (235) */
+ /** @name PalletEthereumCall (237) */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -1856,7 +1907,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (236) */
+ /** @name EthereumTransactionTransactionV2 (238) */
export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -1867,7 +1918,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (237) */
+ /** @name EthereumTransactionLegacyTransaction (239) */
export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -1878,7 +1929,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (238) */
+ /** @name EthereumTransactionTransactionAction (240) */
export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -1886,14 +1937,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (239) */
+ /** @name EthereumTransactionTransactionSignature (241) */
export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (241) */
+ /** @name EthereumTransactionEip2930Transaction (243) */
export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1908,13 +1959,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (243) */
+ /** @name EthereumTransactionAccessListItem (245) */
export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (244) */
+ /** @name EthereumTransactionEip1559Transaction (246) */
export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1930,7 +1981,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (245) */
+ /** @name PalletEvmMigrationCall (247) */
export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -1949,7 +2000,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoEvent (248) */
+ /** @name PalletSudoEvent (250) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -1966,7 +2017,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name SpRuntimeDispatchError (250) */
+ /** @name SpRuntimeDispatchError (252) */
export interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
@@ -1985,13 +2036,13 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
}
- /** @name SpRuntimeModuleError (251) */
+ /** @name SpRuntimeModuleError (253) */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
- /** @name SpRuntimeTokenError (252) */
+ /** @name SpRuntimeTokenError (254) */
export interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
@@ -2003,7 +2054,7 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (253) */
+ /** @name SpRuntimeArithmeticError (255) */
export interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
@@ -2011,20 +2062,20 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name SpRuntimeTransactionalError (254) */
+ /** @name SpRuntimeTransactionalError (256) */
export interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
- /** @name PalletSudoError (255) */
+ /** @name PalletSudoError (257) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name FrameSystemAccountInfo (256) */
+ /** @name FrameSystemAccountInfo (258) */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
@@ -2033,19 +2084,19 @@
readonly data: PalletBalancesAccountData;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (257) */
+ /** @name FrameSupportWeightsPerDispatchClassU64 (259) */
export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
- /** @name SpRuntimeDigest (258) */
+ /** @name SpRuntimeDigest (260) */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
- /** @name SpRuntimeDigestDigestItem (260) */
+ /** @name SpRuntimeDigestDigestItem (262) */
export interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
@@ -2059,14 +2110,14 @@
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
- /** @name FrameSystemEventRecord (262) */
+ /** @name FrameSystemEventRecord (264) */
export interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
- /** @name FrameSystemEvent (264) */
+ /** @name FrameSystemEvent (266) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
@@ -2094,14 +2145,14 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (265) */
+ /** @name FrameSupportWeightsDispatchInfo (267) */
export interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
- /** @name FrameSupportWeightsDispatchClass (266) */
+ /** @name FrameSupportWeightsDispatchClass (268) */
export interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
@@ -2109,14 +2160,14 @@
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
- /** @name FrameSupportWeightsPays (267) */
+ /** @name FrameSupportWeightsPays (269) */
export interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
- /** @name OrmlVestingModuleEvent (268) */
+ /** @name OrmlVestingModuleEvent (270) */
export interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -2136,7 +2187,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name CumulusPalletXcmpQueueEvent (269) */
+ /** @name CumulusPalletXcmpQueueEvent (271) */
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
@@ -2157,7 +2208,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletXcmEvent (270) */
+ /** @name PalletXcmEvent (272) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -2194,7 +2245,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
- /** @name XcmV2TraitsOutcome (271) */
+ /** @name XcmV2TraitsOutcome (273) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -2205,7 +2256,7 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name CumulusPalletXcmEvent (273) */
+ /** @name CumulusPalletXcmEvent (275) */
export interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2216,7 +2267,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (274) */
+ /** @name CumulusPalletDmpQueueEvent (276) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2233,7 +2284,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletUniqueRawEvent (275) */
+ /** @name PalletUniqueRawEvent (277) */
export interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
@@ -2258,7 +2309,7 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
- /** @name PalletCommonEvent (276) */
+ /** @name PalletCommonEvent (278) */
export interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -2285,14 +2336,14 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
}
- /** @name PalletStructureEvent (277) */
+ /** @name PalletStructureEvent (279) */
export interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (278) */
+ /** @name PalletRmrkCoreEvent (280) */
export interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
@@ -2326,6 +2377,27 @@
readonly owner: AccountId32;
readonly nftId: u32;
} & Struct;
+ readonly isNftSent: boolean;
+ readonly asNftSent: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly approvalRequired: bool;
+ } & Struct;
+ readonly isNftAccepted: boolean;
+ readonly asNftAccepted: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftRejected: boolean;
+ readonly asNftRejected: {
+ readonly sender: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
readonly isPropertySet: boolean;
readonly asPropertySet: {
readonly collectionId: u32;
@@ -2338,10 +2410,30 @@
readonly nftId: u32;
readonly resourceId: u32;
} & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';
+ readonly isResourceRemoval: boolean;
+ readonly asResourceRemoval: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceAccepted: boolean;
+ readonly asResourceAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceRemovalAccepted: boolean;
+ readonly asResourceRemovalAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isPrioritySet: boolean;
+ readonly asPrioritySet: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
- /** @name PalletRmrkEquipEvent (279) */
+ /** @name PalletRmrkEquipEvent (281) */
export interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
@@ -2351,7 +2443,7 @@
readonly type: 'BaseCreated';
}
- /** @name PalletEvmEvent (280) */
+ /** @name PalletEvmEvent (282) */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -2370,21 +2462,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (281) */
+ /** @name EthereumLog (283) */
export interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (282) */
+ /** @name PalletEthereumEvent (284) */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (283) */
+ /** @name EvmCoreErrorExitReason (285) */
export interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -2397,7 +2489,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (284) */
+ /** @name EvmCoreErrorExitSucceed (286) */
export interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -2405,7 +2497,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (285) */
+ /** @name EvmCoreErrorExitError (287) */
export interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -2426,13 +2518,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (288) */
+ /** @name EvmCoreErrorExitRevert (290) */
export interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (289) */
+ /** @name EvmCoreErrorExitFatal (291) */
export interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -2443,7 +2535,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (290) */
+ /** @name FrameSystemPhase (292) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -2452,27 +2544,27 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (292) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (294) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemLimitsBlockWeights (293) */
+ /** @name FrameSystemLimitsBlockWeights (295) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (296) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (295) */
+ /** @name FrameSystemLimitsWeightsPerClass (297) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -2480,25 +2572,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (297) */
+ /** @name FrameSystemLimitsBlockLength (299) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (298) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (300) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (299) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (301) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (300) */
+ /** @name SpVersionRuntimeVersion (302) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -2510,7 +2602,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (304) */
+ /** @name FrameSystemError (306) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -2521,7 +2613,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name OrmlVestingModuleError (306) */
+ /** @name OrmlVestingModuleError (308) */
export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2532,21 +2624,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (310) */
export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (309) */
+ /** @name CumulusPalletXcmpQueueInboundState (311) */
export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (314) */
export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2554,7 +2646,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (317) */
export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2563,14 +2655,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (316) */
+ /** @name CumulusPalletXcmpQueueOutboundState (318) */
export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (318) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (320) */
export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2580,7 +2672,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (320) */
+ /** @name CumulusPalletXcmpQueueError (322) */
export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2590,7 +2682,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (321) */
+ /** @name PalletXcmError (323) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2608,29 +2700,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (322) */
+ /** @name CumulusPalletXcmError (324) */
export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (323) */
+ /** @name CumulusPalletDmpQueueConfigData (325) */
export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (324) */
+ /** @name CumulusPalletDmpQueuePageIndexData (326) */
export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (327) */
+ /** @name CumulusPalletDmpQueueError (329) */
export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (331) */
+ /** @name PalletUniqueError (333) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2638,7 +2730,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name UpDataStructsCollection (332) */
+ /** @name UpDataStructsCollection (334) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2648,9 +2740,10 @@
readonly sponsorship: UpDataStructsSponsorshipState;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
+ readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (333) */
+ /** @name UpDataStructsSponsorshipState (335) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -2660,20 +2753,20 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (334) */
+ /** @name UpDataStructsProperties (336) */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (335) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (337) */
export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (340) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (342) */
export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (347) */
+ /** @name UpDataStructsCollectionStats (349) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
@@ -2707,6 +2800,7 @@
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
readonly properties: Vec<UpDataStructsProperty>;
+ readonly readOnly: bool;
}
/** @name UpDataStructsRmrkCollectionInfo (329) */
@@ -2745,7 +2839,7 @@
/** @name UpDataStructsRmrkResourceInfo (336) */
export interface UpDataStructsRmrkResourceInfo extends Struct {
readonly id: u32;
- readonly resource: UpDataStructsRmrkResourceTypes;
+ readonly resource: RmrkTraitsResourceResourceTypes;
readonly pending: bool;
readonly pendingRemoval: bool;
}
@@ -2753,11 +2847,11 @@
/** @name UpDataStructsRmrkResourceTypes (339) */
export interface UpDataStructsRmrkResourceTypes extends Enum {
readonly isBasic: boolean;
- readonly asBasic: UpDataStructsRmrkBasicResource;
+ readonly asBasic: RmrkTraitsResourceBasicResource;
readonly isComposable: boolean;
- readonly asComposable: UpDataStructsRmrkComposableResource;
+ readonly asComposable: RmrkTraitsResourceComposableResource;
readonly isSlot: boolean;
- readonly asSlot: UpDataStructsRmrkSlotResource;
+ readonly asSlot: RmrkTraitsResourceSlotResource;
readonly type: 'Basic' | 'Composable' | 'Slot';
}
@@ -2889,7 +2983,9 @@
readonly isPropertyKeyIsTooLong: boolean;
readonly isInvalidCharacterInPropertyKey: boolean;
readonly isEmptyPropertyKey: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
+ readonly isCollectionIsExternal: boolean;
+ readonly isCollectionIsInternal: boolean;
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
/** @name PalletFungibleError (360) */