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.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -896,7 +896,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 PalletCommonEvent */
@@ -1157,12 +1159,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>;
@@ -1170,26 +1202,38 @@
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: UpDataStructsRmrkSlotResource;
+ readonly resource: RmrkTraitsResourceSlotResource;
} & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
+ readonly isRemoveResource: boolean;
+ readonly asRemoveResource: {
+ readonly rmrkCollectionId: u32;
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
/** @name PalletRmrkCoreError */
@@ -1203,8 +1247,14 @@
readonly isNoAvailableNftId: boolean;
readonly isCollectionUnknown: boolean;
readonly isNoPermission: boolean;
+ readonly isNonTransferable: boolean;
readonly isCollectionFullOrLocked: boolean;
- readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
+ readonly isResourceDoesntExist: boolean;
+ readonly isCannotSendToDescendentOrSelf: boolean;
+ readonly isCannotAcceptNonOwnedNft: boolean;
+ readonly isCannotRejectNonOwnedNft: boolean;
+ readonly isResourceNotPending: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';
}
/** @name PalletRmrkCoreEvent */
@@ -1241,6 +1291,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;
@@ -1253,7 +1324,27 @@
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 PalletRmrkEquipCall */
@@ -1262,12 +1353,12 @@
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';
}
@@ -1751,7 +1842,7 @@
}
/** @name PhantomTypeUpDataStructs */
-export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}
+export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -1816,6 +1907,151 @@
readonly type: 'Present';
}
+/** @name RmrkTraitsBaseBaseInfo */
+export interface RmrkTraitsBaseBaseInfo extends Struct {
+ readonly issuer: AccountId32;
+ readonly baseType: Bytes;
+ readonly symbol: Bytes;
+}
+
+/** @name RmrkTraitsCollectionCollectionInfo */
+export interface RmrkTraitsCollectionCollectionInfo extends Struct {
+ readonly issuer: AccountId32;
+ readonly metadata: Bytes;
+ readonly max: Option<u32>;
+ readonly symbol: Bytes;
+ readonly nftsCount: u32;
+}
+
+/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */
+export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
+ readonly isAccountId: boolean;
+ readonly asAccountId: AccountId32;
+ readonly isCollectionAndNftTuple: boolean;
+ readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
+ readonly type: 'AccountId' | 'CollectionAndNftTuple';
+}
+
+/** @name RmrkTraitsNftNftChild */
+export interface RmrkTraitsNftNftChild extends Struct {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+}
+
+/** @name RmrkTraitsNftNftInfo */
+export interface RmrkTraitsNftNftInfo extends Struct {
+ readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
+ readonly metadata: Bytes;
+ readonly equipped: bool;
+ readonly pending: bool;
+}
+
+/** @name RmrkTraitsNftRoyaltyInfo */
+export interface RmrkTraitsNftRoyaltyInfo extends Struct {
+ readonly recipient: AccountId32;
+ readonly amount: Permill;
+}
+
+/** @name RmrkTraitsPartEquippableList */
+export interface RmrkTraitsPartEquippableList extends Enum {
+ readonly isAll: boolean;
+ readonly isEmpty: boolean;
+ readonly isCustom: boolean;
+ readonly asCustom: Vec<u32>;
+ readonly type: 'All' | 'Empty' | 'Custom';
+}
+
+/** @name RmrkTraitsPartFixedPart */
+export interface RmrkTraitsPartFixedPart extends Struct {
+ readonly id: u32;
+ readonly z: u32;
+ readonly src: Bytes;
+}
+
+/** @name RmrkTraitsPartPartType */
+export interface RmrkTraitsPartPartType extends Enum {
+ readonly isFixedPart: boolean;
+ readonly asFixedPart: RmrkTraitsPartFixedPart;
+ readonly isSlotPart: boolean;
+ readonly asSlotPart: RmrkTraitsPartSlotPart;
+ readonly type: 'FixedPart' | 'SlotPart';
+}
+
+/** @name RmrkTraitsPartSlotPart */
+export interface RmrkTraitsPartSlotPart extends Struct {
+ readonly id: u32;
+ readonly equippable: RmrkTraitsPartEquippableList;
+ readonly src: Bytes;
+ readonly z: u32;
+}
+
+/** @name RmrkTraitsPropertyPropertyInfo */
+export interface RmrkTraitsPropertyPropertyInfo extends Struct {
+ readonly key: Bytes;
+ readonly value: Bytes;
+}
+
+/** @name RmrkTraitsResourceBasicResource */
+export interface RmrkTraitsResourceBasicResource extends Struct {
+ readonly src: Option<Bytes>;
+ readonly metadata: Option<Bytes>;
+ readonly license: Option<Bytes>;
+ readonly thumb: Option<Bytes>;
+}
+
+/** @name RmrkTraitsResourceComposableResource */
+export interface RmrkTraitsResourceComposableResource extends Struct {
+ readonly parts: Vec<u32>;
+ readonly base: u32;
+ readonly src: Option<Bytes>;
+ readonly metadata: Option<Bytes>;
+ readonly license: Option<Bytes>;
+ readonly thumb: Option<Bytes>;
+}
+
+/** @name RmrkTraitsResourceResourceInfo */
+export interface RmrkTraitsResourceResourceInfo extends Struct {
+ readonly id: u32;
+ readonly resource: RmrkTraitsResourceResourceTypes;
+ readonly pending: bool;
+ readonly pendingRemoval: bool;
+}
+
+/** @name RmrkTraitsResourceResourceTypes */
+export interface RmrkTraitsResourceResourceTypes extends Enum {
+ readonly isBasic: boolean;
+ readonly asBasic: RmrkTraitsResourceBasicResource;
+ readonly isComposable: boolean;
+ readonly asComposable: RmrkTraitsResourceComposableResource;
+ readonly isSlot: boolean;
+ readonly asSlot: RmrkTraitsResourceSlotResource;
+ readonly type: 'Basic' | 'Composable' | 'Slot';
+}
+
+/** @name RmrkTraitsResourceSlotResource */
+export interface RmrkTraitsResourceSlotResource extends Struct {
+ readonly base: u32;
+ readonly src: Option<Bytes>;
+ readonly metadata: Option<Bytes>;
+ readonly slot: u32;
+ readonly license: Option<Bytes>;
+ readonly thumb: Option<Bytes>;
+}
+
+/** @name RmrkTraitsTheme */
+export interface RmrkTraitsTheme extends Struct {
+ readonly name: Bytes;
+ readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
+ readonly inherit: bool;
+}
+
+/** @name RmrkTraitsThemeThemeProperty */
+export interface RmrkTraitsThemeThemeProperty extends Struct {
+ readonly key: Bytes;
+ readonly value: Bytes;
+}
+
/** @name SpCoreEcdsaSignature */
export interface SpCoreEcdsaSignature extends U8aFixed {}
@@ -1941,6 +2177,7 @@
readonly sponsorship: UpDataStructsSponsorshipState;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
+ readonly externalCollection: bool;
}
/** @name UpDataStructsCollectionLimits */
@@ -2084,153 +2321,8 @@
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
-}
-
-/** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple */
-export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
-}
-
-/** @name UpDataStructsRmrkBaseInfo */
-export interface UpDataStructsRmrkBaseInfo extends Struct {
- readonly issuer: AccountId32;
- readonly baseType: Bytes;
- readonly symbol: Bytes;
-}
-
-/** @name UpDataStructsRmrkBasicResource */
-export interface UpDataStructsRmrkBasicResource extends Struct {
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name UpDataStructsRmrkCollectionInfo */
-export interface UpDataStructsRmrkCollectionInfo extends Struct {
- readonly issuer: AccountId32;
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- readonly nftsCount: u32;
-}
-
-/** @name UpDataStructsRmrkComposableResource */
-export interface UpDataStructsRmrkComposableResource extends Struct {
- readonly parts: Vec<u32>;
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name UpDataStructsRmrkEquippableList */
-export interface UpDataStructsRmrkEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
-}
-
-/** @name UpDataStructsRmrkFixedPart */
-export interface UpDataStructsRmrkFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
-}
-
-/** @name UpDataStructsRmrkNftChild */
-export interface UpDataStructsRmrkNftChild extends Struct {
- readonly collectionId: u32;
- readonly nftId: u32;
-}
-
-/** @name UpDataStructsRmrkNftInfo */
-export interface UpDataStructsRmrkNftInfo extends Struct {
- readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
- readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;
- readonly metadata: Bytes;
- readonly equipped: bool;
- readonly pending: bool;
-}
-
-/** @name UpDataStructsRmrkPartType */
-export interface UpDataStructsRmrkPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: UpDataStructsRmrkFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: UpDataStructsRmrkSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
-}
-
-/** @name UpDataStructsRmrkPropertyInfo */
-export interface UpDataStructsRmrkPropertyInfo extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
-/** @name UpDataStructsRmrkResourceInfo */
-export interface UpDataStructsRmrkResourceInfo extends Struct {
- readonly id: u32;
- readonly resource: UpDataStructsRmrkResourceTypes;
- readonly pending: bool;
- readonly pendingRemoval: bool;
-}
-
-/** @name UpDataStructsRmrkResourceTypes */
-export interface UpDataStructsRmrkResourceTypes extends Enum {
- readonly isBasic: boolean;
- readonly asBasic: UpDataStructsRmrkBasicResource;
- readonly isComposable: boolean;
- readonly asComposable: UpDataStructsRmrkComposableResource;
- readonly isSlot: boolean;
- readonly asSlot: UpDataStructsRmrkSlotResource;
- readonly type: 'Basic' | 'Composable' | 'Slot';
}
-/** @name UpDataStructsRmrkRoyaltyInfo */
-export interface UpDataStructsRmrkRoyaltyInfo extends Struct {
- readonly recipient: AccountId32;
- readonly amount: Permill;
-}
-
-/** @name UpDataStructsRmrkSlotPart */
-export interface UpDataStructsRmrkSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: UpDataStructsRmrkEquippableList;
- readonly src: Bytes;
- readonly z: u32;
-}
-
-/** @name UpDataStructsRmrkSlotResource */
-export interface UpDataStructsRmrkSlotResource extends Struct {
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly slot: u32;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name UpDataStructsRmrkTheme */
-export interface UpDataStructsRmrkTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
- readonly inherit: bool;
-}
-
-/** @name UpDataStructsRmrkThemeProperty */
-export interface UpDataStructsRmrkThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
/** @name UpDataStructsRpcCollection */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
@@ -2243,6 +2335,7 @@
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
readonly properties: Vec<UpDataStructsProperty>;
+ readonly readOnly: bool;
}
/** @name UpDataStructsSponsoringRateLimit */
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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34declare module '@polkadot/types/lookup' {5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6 import type { ITuple } from '@polkadot/types-codec/types';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8 import type { Event } from '@polkadot/types/interfaces/system';910 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */11 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {12 readonly parentHead: Bytes;13 readonly relayParentNumber: u32;14 readonly relayParentStorageRoot: H256;15 readonly maxPovSize: u32;16 }1718 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */19 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {20 readonly isPresent: boolean;21 readonly type: 'Present';22 }2324 /** @name SpTrieStorageProof (10) */25 export interface SpTrieStorageProof extends Struct {26 readonly trieNodes: BTreeSet<Bytes>;27 }2829 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */30 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {31 readonly dmqMqcHead: H256;32 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;33 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;34 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;35 }3637 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */38 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {39 readonly maxCapacity: u32;40 readonly maxTotalSize: u32;41 readonly maxMessageSize: u32;42 readonly msgCount: u32;43 readonly totalSize: u32;44 readonly mqcHead: Option<H256>;45 }4647 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */48 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {49 readonly maxCodeSize: u32;50 readonly maxHeadDataSize: u32;51 readonly maxUpwardQueueCount: u32;52 readonly maxUpwardQueueSize: u32;53 readonly maxUpwardMessageSize: u32;54 readonly maxUpwardMessageNumPerCandidate: u32;55 readonly hrmpMaxMessageNumPerCandidate: u32;56 readonly validationUpgradeCooldown: u32;57 readonly validationUpgradeDelay: u32;58 }5960 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */61 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {62 readonly recipient: u32;63 readonly data: Bytes;64 }6566 /** @name CumulusPalletParachainSystemCall (28) */67 export interface CumulusPalletParachainSystemCall extends Enum {68 readonly isSetValidationData: boolean;69 readonly asSetValidationData: {70 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;71 } & Struct;72 readonly isSudoSendUpwardMessage: boolean;73 readonly asSudoSendUpwardMessage: {74 readonly message: Bytes;75 } & Struct;76 readonly isAuthorizeUpgrade: boolean;77 readonly asAuthorizeUpgrade: {78 readonly codeHash: H256;79 } & Struct;80 readonly isEnactAuthorizedUpgrade: boolean;81 readonly asEnactAuthorizedUpgrade: {82 readonly code: Bytes;83 } & Struct;84 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';85 }8687 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */88 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {89 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;90 readonly relayChainState: SpTrieStorageProof;91 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;92 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;93 }9495 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */96 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {97 readonly sentAt: u32;98 readonly msg: Bytes;99 }100101 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */102 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {103 readonly sentAt: u32;104 readonly data: Bytes;105 }106107 /** @name CumulusPalletParachainSystemEvent (37) */108 export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: u32;112 readonly isValidationFunctionDiscarded: boolean;113 readonly isUpgradeAuthorized: boolean;114 readonly asUpgradeAuthorized: H256;115 readonly isDownwardMessagesReceived: boolean;116 readonly asDownwardMessagesReceived: u32;117 readonly isDownwardMessagesProcessed: boolean;118 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;119 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';120 }121122 /** @name CumulusPalletParachainSystemError (38) */123 export interface CumulusPalletParachainSystemError extends Enum {124 readonly isOverlappingUpgrades: boolean;125 readonly isProhibitedByPolkadot: boolean;126 readonly isTooBig: boolean;127 readonly isValidationDataNotAvailable: boolean;128 readonly isHostConfigurationNotAvailable: boolean;129 readonly isNotScheduled: boolean;130 readonly isNothingAuthorized: boolean;131 readonly isUnauthorized: boolean;132 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';133 }134135 /** @name PalletBalancesAccountData (41) */136 export interface PalletBalancesAccountData extends Struct {137 readonly free: u128;138 readonly reserved: u128;139 readonly miscFrozen: u128;140 readonly feeFrozen: u128;141 }142143 /** @name PalletBalancesBalanceLock (43) */144 export interface PalletBalancesBalanceLock extends Struct {145 readonly id: U8aFixed;146 readonly amount: u128;147 readonly reasons: PalletBalancesReasons;148 }149150 /** @name PalletBalancesReasons (45) */151 export interface PalletBalancesReasons extends Enum {152 readonly isFee: boolean;153 readonly isMisc: boolean;154 readonly isAll: boolean;155 readonly type: 'Fee' | 'Misc' | 'All';156 }157158 /** @name PalletBalancesReserveData (48) */159 export interface PalletBalancesReserveData extends Struct {160 readonly id: U8aFixed;161 readonly amount: u128;162 }163164 /** @name PalletBalancesReleases (50) */165 export interface PalletBalancesReleases extends Enum {166 readonly isV100: boolean;167 readonly isV200: boolean;168 readonly type: 'V100' | 'V200';169 }170171 /** @name PalletBalancesCall (51) */172 export interface PalletBalancesCall extends Enum {173 readonly isTransfer: boolean;174 readonly asTransfer: {175 readonly dest: MultiAddress;176 readonly value: Compact<u128>;177 } & Struct;178 readonly isSetBalance: boolean;179 readonly asSetBalance: {180 readonly who: MultiAddress;181 readonly newFree: Compact<u128>;182 readonly newReserved: Compact<u128>;183 } & Struct;184 readonly isForceTransfer: boolean;185 readonly asForceTransfer: {186 readonly source: MultiAddress;187 readonly dest: MultiAddress;188 readonly value: Compact<u128>;189 } & Struct;190 readonly isTransferKeepAlive: boolean;191 readonly asTransferKeepAlive: {192 readonly dest: MultiAddress;193 readonly value: Compact<u128>;194 } & Struct;195 readonly isTransferAll: boolean;196 readonly asTransferAll: {197 readonly dest: MultiAddress;198 readonly keepAlive: bool;199 } & Struct;200 readonly isForceUnreserve: boolean;201 readonly asForceUnreserve: {202 readonly who: MultiAddress;203 readonly amount: u128;204 } & Struct;205 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';206 }207208 /** @name PalletBalancesEvent (57) */209 export interface PalletBalancesEvent extends Enum {210 readonly isEndowed: boolean;211 readonly asEndowed: {212 readonly account: AccountId32;213 readonly freeBalance: u128;214 } & Struct;215 readonly isDustLost: boolean;216 readonly asDustLost: {217 readonly account: AccountId32;218 readonly amount: u128;219 } & Struct;220 readonly isTransfer: boolean;221 readonly asTransfer: {222 readonly from: AccountId32;223 readonly to: AccountId32;224 readonly amount: u128;225 } & Struct;226 readonly isBalanceSet: boolean;227 readonly asBalanceSet: {228 readonly who: AccountId32;229 readonly free: u128;230 readonly reserved: u128;231 } & Struct;232 readonly isReserved: boolean;233 readonly asReserved: {234 readonly who: AccountId32;235 readonly amount: u128;236 } & Struct;237 readonly isUnreserved: boolean;238 readonly asUnreserved: {239 readonly who: AccountId32;240 readonly amount: u128;241 } & Struct;242 readonly isReserveRepatriated: boolean;243 readonly asReserveRepatriated: {244 readonly from: AccountId32;245 readonly to: AccountId32;246 readonly amount: u128;247 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;248 } & Struct;249 readonly isDeposit: boolean;250 readonly asDeposit: {251 readonly who: AccountId32;252 readonly amount: u128;253 } & Struct;254 readonly isWithdraw: boolean;255 readonly asWithdraw: {256 readonly who: AccountId32;257 readonly amount: u128;258 } & Struct;259 readonly isSlashed: boolean;260 readonly asSlashed: {261 readonly who: AccountId32;262 readonly amount: u128;263 } & Struct;264 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';265 }266267 /** @name FrameSupportTokensMiscBalanceStatus (58) */268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {269 readonly isFree: boolean;270 readonly isReserved: boolean;271 readonly type: 'Free' | 'Reserved';272 }273274 /** @name PalletBalancesError (59) */275 export interface PalletBalancesError extends Enum {276 readonly isVestingBalance: boolean;277 readonly isLiquidityRestrictions: boolean;278 readonly isInsufficientBalance: boolean;279 readonly isExistentialDeposit: boolean;280 readonly isKeepAlive: boolean;281 readonly isExistingVestingSchedule: boolean;282 readonly isDeadAccount: boolean;283 readonly isTooManyReserves: boolean;284 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';285 }286287 /** @name PalletTimestampCall (62) */288 export interface PalletTimestampCall extends Enum {289 readonly isSet: boolean;290 readonly asSet: {291 readonly now: Compact<u64>;292 } & Struct;293 readonly type: 'Set';294 }295296 /** @name PalletTransactionPaymentReleases (65) */297 export interface PalletTransactionPaymentReleases extends Enum {298 readonly isV1Ancient: boolean;299 readonly isV2: boolean;300 readonly type: 'V1Ancient' | 'V2';301 }302303 /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */304 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {305 readonly coeffInteger: u128;306 readonly coeffFrac: Perbill;307 readonly negative: bool;308 readonly degree: u8;309 }310311 /** @name PalletTreasuryProposal (69) */312 export interface PalletTreasuryProposal extends Struct {313 readonly proposer: AccountId32;314 readonly value: u128;315 readonly beneficiary: AccountId32;316 readonly bond: u128;317 }318319 /** @name PalletTreasuryCall (72) */320 export interface PalletTreasuryCall extends Enum {321 readonly isProposeSpend: boolean;322 readonly asProposeSpend: {323 readonly value: Compact<u128>;324 readonly beneficiary: MultiAddress;325 } & Struct;326 readonly isRejectProposal: boolean;327 readonly asRejectProposal: {328 readonly proposalId: Compact<u32>;329 } & Struct;330 readonly isApproveProposal: boolean;331 readonly asApproveProposal: {332 readonly proposalId: Compact<u32>;333 } & Struct;334 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';335 }336337 /** @name PalletTreasuryEvent (74) */338 export interface PalletTreasuryEvent extends Enum {339 readonly isProposed: boolean;340 readonly asProposed: {341 readonly proposalIndex: u32;342 } & Struct;343 readonly isSpending: boolean;344 readonly asSpending: {345 readonly budgetRemaining: u128;346 } & Struct;347 readonly isAwarded: boolean;348 readonly asAwarded: {349 readonly proposalIndex: u32;350 readonly award: u128;351 readonly account: AccountId32;352 } & Struct;353 readonly isRejected: boolean;354 readonly asRejected: {355 readonly proposalIndex: u32;356 readonly slashed: u128;357 } & Struct;358 readonly isBurnt: boolean;359 readonly asBurnt: {360 readonly burntFunds: u128;361 } & Struct;362 readonly isRollover: boolean;363 readonly asRollover: {364 readonly rolloverBalance: u128;365 } & Struct;366 readonly isDeposit: boolean;367 readonly asDeposit: {368 readonly value: u128;369 } & Struct;370 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';371 }372373 /** @name FrameSupportPalletId (77) */374 export interface FrameSupportPalletId extends U8aFixed {}375376 /** @name PalletTreasuryError (78) */377 export interface PalletTreasuryError extends Enum {378 readonly isInsufficientProposersBalance: boolean;379 readonly isInvalidIndex: boolean;380 readonly isTooManyApprovals: boolean;381 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';382 }383384 /** @name PalletSudoCall (79) */385 export interface PalletSudoCall extends Enum {386 readonly isSudo: boolean;387 readonly asSudo: {388 readonly call: Call;389 } & Struct;390 readonly isSudoUncheckedWeight: boolean;391 readonly asSudoUncheckedWeight: {392 readonly call: Call;393 readonly weight: u64;394 } & Struct;395 readonly isSetKey: boolean;396 readonly asSetKey: {397 readonly new_: MultiAddress;398 } & Struct;399 readonly isSudoAs: boolean;400 readonly asSudoAs: {401 readonly who: MultiAddress;402 readonly call: Call;403 } & Struct;404 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';405 }406407 /** @name FrameSystemCall (81) */408 export interface FrameSystemCall extends Enum {409 readonly isFillBlock: boolean;410 readonly asFillBlock: {411 readonly ratio: Perbill;412 } & Struct;413 readonly isRemark: boolean;414 readonly asRemark: {415 readonly remark: Bytes;416 } & Struct;417 readonly isSetHeapPages: boolean;418 readonly asSetHeapPages: {419 readonly pages: u64;420 } & Struct;421 readonly isSetCode: boolean;422 readonly asSetCode: {423 readonly code: Bytes;424 } & Struct;425 readonly isSetCodeWithoutChecks: boolean;426 readonly asSetCodeWithoutChecks: {427 readonly code: Bytes;428 } & Struct;429 readonly isSetStorage: boolean;430 readonly asSetStorage: {431 readonly items: Vec<ITuple<[Bytes, Bytes]>>;432 } & Struct;433 readonly isKillStorage: boolean;434 readonly asKillStorage: {435 readonly keys_: Vec<Bytes>;436 } & Struct;437 readonly isKillPrefix: boolean;438 readonly asKillPrefix: {439 readonly prefix: Bytes;440 readonly subkeys: u32;441 } & Struct;442 readonly isRemarkWithEvent: boolean;443 readonly asRemarkWithEvent: {444 readonly remark: Bytes;445 } & Struct;446 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';447 }448449 /** @name OrmlVestingModuleCall (84) */450 export interface OrmlVestingModuleCall extends Enum {451 readonly isClaim: boolean;452 readonly isVestedTransfer: boolean;453 readonly asVestedTransfer: {454 readonly dest: MultiAddress;455 readonly schedule: OrmlVestingVestingSchedule;456 } & Struct;457 readonly isUpdateVestingSchedules: boolean;458 readonly asUpdateVestingSchedules: {459 readonly who: MultiAddress;460 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;461 } & Struct;462 readonly isClaimFor: boolean;463 readonly asClaimFor: {464 readonly dest: MultiAddress;465 } & Struct;466 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';467 }468469 /** @name OrmlVestingVestingSchedule (85) */470 export interface OrmlVestingVestingSchedule extends Struct {471 readonly start: u32;472 readonly period: u32;473 readonly periodCount: u32;474 readonly perPeriod: Compact<u128>;475 }476477 /** @name CumulusPalletXcmpQueueCall (87) */478 export interface CumulusPalletXcmpQueueCall extends Enum {479 readonly isServiceOverweight: boolean;480 readonly asServiceOverweight: {481 readonly index: u64;482 readonly weightLimit: u64;483 } & Struct;484 readonly isSuspendXcmExecution: boolean;485 readonly isResumeXcmExecution: boolean;486 readonly isUpdateSuspendThreshold: boolean;487 readonly asUpdateSuspendThreshold: {488 readonly new_: u32;489 } & Struct;490 readonly isUpdateDropThreshold: boolean;491 readonly asUpdateDropThreshold: {492 readonly new_: u32;493 } & Struct;494 readonly isUpdateResumeThreshold: boolean;495 readonly asUpdateResumeThreshold: {496 readonly new_: u32;497 } & Struct;498 readonly isUpdateThresholdWeight: boolean;499 readonly asUpdateThresholdWeight: {500 readonly new_: u64;501 } & Struct;502 readonly isUpdateWeightRestrictDecay: boolean;503 readonly asUpdateWeightRestrictDecay: {504 readonly new_: u64;505 } & Struct;506 readonly isUpdateXcmpMaxIndividualWeight: boolean;507 readonly asUpdateXcmpMaxIndividualWeight: {508 readonly new_: u64;509 } & Struct;510 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';511 }512513 /** @name PalletXcmCall (88) */514 export interface PalletXcmCall extends Enum {515 readonly isSend: boolean;516 readonly asSend: {517 readonly dest: XcmVersionedMultiLocation;518 readonly message: XcmVersionedXcm;519 } & Struct;520 readonly isTeleportAssets: boolean;521 readonly asTeleportAssets: {522 readonly dest: XcmVersionedMultiLocation;523 readonly beneficiary: XcmVersionedMultiLocation;524 readonly assets: XcmVersionedMultiAssets;525 readonly feeAssetItem: u32;526 } & Struct;527 readonly isReserveTransferAssets: boolean;528 readonly asReserveTransferAssets: {529 readonly dest: XcmVersionedMultiLocation;530 readonly beneficiary: XcmVersionedMultiLocation;531 readonly assets: XcmVersionedMultiAssets;532 readonly feeAssetItem: u32;533 } & Struct;534 readonly isExecute: boolean;535 readonly asExecute: {536 readonly message: XcmVersionedXcm;537 readonly maxWeight: u64;538 } & Struct;539 readonly isForceXcmVersion: boolean;540 readonly asForceXcmVersion: {541 readonly location: XcmV1MultiLocation;542 readonly xcmVersion: u32;543 } & Struct;544 readonly isForceDefaultXcmVersion: boolean;545 readonly asForceDefaultXcmVersion: {546 readonly maybeXcmVersion: Option<u32>;547 } & Struct;548 readonly isForceSubscribeVersionNotify: boolean;549 readonly asForceSubscribeVersionNotify: {550 readonly location: XcmVersionedMultiLocation;551 } & Struct;552 readonly isForceUnsubscribeVersionNotify: boolean;553 readonly asForceUnsubscribeVersionNotify: {554 readonly location: XcmVersionedMultiLocation;555 } & Struct;556 readonly isLimitedReserveTransferAssets: boolean;557 readonly asLimitedReserveTransferAssets: {558 readonly dest: XcmVersionedMultiLocation;559 readonly beneficiary: XcmVersionedMultiLocation;560 readonly assets: XcmVersionedMultiAssets;561 readonly feeAssetItem: u32;562 readonly weightLimit: XcmV2WeightLimit;563 } & Struct;564 readonly isLimitedTeleportAssets: boolean;565 readonly asLimitedTeleportAssets: {566 readonly dest: XcmVersionedMultiLocation;567 readonly beneficiary: XcmVersionedMultiLocation;568 readonly assets: XcmVersionedMultiAssets;569 readonly feeAssetItem: u32;570 readonly weightLimit: XcmV2WeightLimit;571 } & Struct;572 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';573 }574575 /** @name XcmVersionedMultiLocation (89) */576 export interface XcmVersionedMultiLocation extends Enum {577 readonly isV0: boolean;578 readonly asV0: XcmV0MultiLocation;579 readonly isV1: boolean;580 readonly asV1: XcmV1MultiLocation;581 readonly type: 'V0' | 'V1';582 }583584 /** @name XcmV0MultiLocation (90) */585 export interface XcmV0MultiLocation extends Enum {586 readonly isNull: boolean;587 readonly isX1: boolean;588 readonly asX1: XcmV0Junction;589 readonly isX2: boolean;590 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;591 readonly isX3: boolean;592 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;593 readonly isX4: boolean;594 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;595 readonly isX5: boolean;596 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;597 readonly isX6: boolean;598 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;599 readonly isX7: boolean;600 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;601 readonly isX8: boolean;602 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;603 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';604 }605606 /** @name XcmV0Junction (91) */607 export interface XcmV0Junction extends Enum {608 readonly isParent: boolean;609 readonly isParachain: boolean;610 readonly asParachain: Compact<u32>;611 readonly isAccountId32: boolean;612 readonly asAccountId32: {613 readonly network: XcmV0JunctionNetworkId;614 readonly id: U8aFixed;615 } & Struct;616 readonly isAccountIndex64: boolean;617 readonly asAccountIndex64: {618 readonly network: XcmV0JunctionNetworkId;619 readonly index: Compact<u64>;620 } & Struct;621 readonly isAccountKey20: boolean;622 readonly asAccountKey20: {623 readonly network: XcmV0JunctionNetworkId;624 readonly key: U8aFixed;625 } & Struct;626 readonly isPalletInstance: boolean;627 readonly asPalletInstance: u8;628 readonly isGeneralIndex: boolean;629 readonly asGeneralIndex: Compact<u128>;630 readonly isGeneralKey: boolean;631 readonly asGeneralKey: Bytes;632 readonly isOnlyChild: boolean;633 readonly isPlurality: boolean;634 readonly asPlurality: {635 readonly id: XcmV0JunctionBodyId;636 readonly part: XcmV0JunctionBodyPart;637 } & Struct;638 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';639 }640641 /** @name XcmV0JunctionNetworkId (92) */642 export interface XcmV0JunctionNetworkId extends Enum {643 readonly isAny: boolean;644 readonly isNamed: boolean;645 readonly asNamed: Bytes;646 readonly isPolkadot: boolean;647 readonly isKusama: boolean;648 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';649 }650651 /** @name XcmV0JunctionBodyId (93) */652 export interface XcmV0JunctionBodyId extends Enum {653 readonly isUnit: boolean;654 readonly isNamed: boolean;655 readonly asNamed: Bytes;656 readonly isIndex: boolean;657 readonly asIndex: Compact<u32>;658 readonly isExecutive: boolean;659 readonly isTechnical: boolean;660 readonly isLegislative: boolean;661 readonly isJudicial: boolean;662 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';663 }664665 /** @name XcmV0JunctionBodyPart (94) */666 export interface XcmV0JunctionBodyPart extends Enum {667 readonly isVoice: boolean;668 readonly isMembers: boolean;669 readonly asMembers: {670 readonly count: Compact<u32>;671 } & Struct;672 readonly isFraction: boolean;673 readonly asFraction: {674 readonly nom: Compact<u32>;675 readonly denom: Compact<u32>;676 } & Struct;677 readonly isAtLeastProportion: boolean;678 readonly asAtLeastProportion: {679 readonly nom: Compact<u32>;680 readonly denom: Compact<u32>;681 } & Struct;682 readonly isMoreThanProportion: boolean;683 readonly asMoreThanProportion: {684 readonly nom: Compact<u32>;685 readonly denom: Compact<u32>;686 } & Struct;687 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';688 }689690 /** @name XcmV1MultiLocation (95) */691 export interface XcmV1MultiLocation extends Struct {692 readonly parents: u8;693 readonly interior: XcmV1MultilocationJunctions;694 }695696 /** @name XcmV1MultilocationJunctions (96) */697 export interface XcmV1MultilocationJunctions extends Enum {698 readonly isHere: boolean;699 readonly isX1: boolean;700 readonly asX1: XcmV1Junction;701 readonly isX2: boolean;702 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;703 readonly isX3: boolean;704 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;705 readonly isX4: boolean;706 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;707 readonly isX5: boolean;708 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;709 readonly isX6: boolean;710 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;711 readonly isX7: boolean;712 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;713 readonly isX8: boolean;714 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;715 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';716 }717718 /** @name XcmV1Junction (97) */719 export interface XcmV1Junction extends Enum {720 readonly isParachain: boolean;721 readonly asParachain: Compact<u32>;722 readonly isAccountId32: boolean;723 readonly asAccountId32: {724 readonly network: XcmV0JunctionNetworkId;725 readonly id: U8aFixed;726 } & Struct;727 readonly isAccountIndex64: boolean;728 readonly asAccountIndex64: {729 readonly network: XcmV0JunctionNetworkId;730 readonly index: Compact<u64>;731 } & Struct;732 readonly isAccountKey20: boolean;733 readonly asAccountKey20: {734 readonly network: XcmV0JunctionNetworkId;735 readonly key: U8aFixed;736 } & Struct;737 readonly isPalletInstance: boolean;738 readonly asPalletInstance: u8;739 readonly isGeneralIndex: boolean;740 readonly asGeneralIndex: Compact<u128>;741 readonly isGeneralKey: boolean;742 readonly asGeneralKey: Bytes;743 readonly isOnlyChild: boolean;744 readonly isPlurality: boolean;745 readonly asPlurality: {746 readonly id: XcmV0JunctionBodyId;747 readonly part: XcmV0JunctionBodyPart;748 } & Struct;749 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';750 }751752 /** @name XcmVersionedXcm (98) */753 export interface XcmVersionedXcm extends Enum {754 readonly isV0: boolean;755 readonly asV0: XcmV0Xcm;756 readonly isV1: boolean;757 readonly asV1: XcmV1Xcm;758 readonly isV2: boolean;759 readonly asV2: XcmV2Xcm;760 readonly type: 'V0' | 'V1' | 'V2';761 }762763 /** @name XcmV0Xcm (99) */764 export interface XcmV0Xcm extends Enum {765 readonly isWithdrawAsset: boolean;766 readonly asWithdrawAsset: {767 readonly assets: Vec<XcmV0MultiAsset>;768 readonly effects: Vec<XcmV0Order>;769 } & Struct;770 readonly isReserveAssetDeposit: boolean;771 readonly asReserveAssetDeposit: {772 readonly assets: Vec<XcmV0MultiAsset>;773 readonly effects: Vec<XcmV0Order>;774 } & Struct;775 readonly isTeleportAsset: boolean;776 readonly asTeleportAsset: {777 readonly assets: Vec<XcmV0MultiAsset>;778 readonly effects: Vec<XcmV0Order>;779 } & Struct;780 readonly isQueryResponse: boolean;781 readonly asQueryResponse: {782 readonly queryId: Compact<u64>;783 readonly response: XcmV0Response;784 } & Struct;785 readonly isTransferAsset: boolean;786 readonly asTransferAsset: {787 readonly assets: Vec<XcmV0MultiAsset>;788 readonly dest: XcmV0MultiLocation;789 } & Struct;790 readonly isTransferReserveAsset: boolean;791 readonly asTransferReserveAsset: {792 readonly assets: Vec<XcmV0MultiAsset>;793 readonly dest: XcmV0MultiLocation;794 readonly effects: Vec<XcmV0Order>;795 } & Struct;796 readonly isTransact: boolean;797 readonly asTransact: {798 readonly originType: XcmV0OriginKind;799 readonly requireWeightAtMost: u64;800 readonly call: XcmDoubleEncoded;801 } & Struct;802 readonly isHrmpNewChannelOpenRequest: boolean;803 readonly asHrmpNewChannelOpenRequest: {804 readonly sender: Compact<u32>;805 readonly maxMessageSize: Compact<u32>;806 readonly maxCapacity: Compact<u32>;807 } & Struct;808 readonly isHrmpChannelAccepted: boolean;809 readonly asHrmpChannelAccepted: {810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isHrmpChannelClosing: boolean;813 readonly asHrmpChannelClosing: {814 readonly initiator: Compact<u32>;815 readonly sender: Compact<u32>;816 readonly recipient: Compact<u32>;817 } & Struct;818 readonly isRelayedFrom: boolean;819 readonly asRelayedFrom: {820 readonly who: XcmV0MultiLocation;821 readonly message: XcmV0Xcm;822 } & Struct;823 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';824 }825826 /** @name XcmV0MultiAsset (101) */827 export interface XcmV0MultiAsset extends Enum {828 readonly isNone: boolean;829 readonly isAll: boolean;830 readonly isAllFungible: boolean;831 readonly isAllNonFungible: boolean;832 readonly isAllAbstractFungible: boolean;833 readonly asAllAbstractFungible: {834 readonly id: Bytes;835 } & Struct;836 readonly isAllAbstractNonFungible: boolean;837 readonly asAllAbstractNonFungible: {838 readonly class: Bytes;839 } & Struct;840 readonly isAllConcreteFungible: boolean;841 readonly asAllConcreteFungible: {842 readonly id: XcmV0MultiLocation;843 } & Struct;844 readonly isAllConcreteNonFungible: boolean;845 readonly asAllConcreteNonFungible: {846 readonly class: XcmV0MultiLocation;847 } & Struct;848 readonly isAbstractFungible: boolean;849 readonly asAbstractFungible: {850 readonly id: Bytes;851 readonly amount: Compact<u128>;852 } & Struct;853 readonly isAbstractNonFungible: boolean;854 readonly asAbstractNonFungible: {855 readonly class: Bytes;856 readonly instance: XcmV1MultiassetAssetInstance;857 } & Struct;858 readonly isConcreteFungible: boolean;859 readonly asConcreteFungible: {860 readonly id: XcmV0MultiLocation;861 readonly amount: Compact<u128>;862 } & Struct;863 readonly isConcreteNonFungible: boolean;864 readonly asConcreteNonFungible: {865 readonly class: XcmV0MultiLocation;866 readonly instance: XcmV1MultiassetAssetInstance;867 } & Struct;868 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';869 }870871 /** @name XcmV1MultiassetAssetInstance (102) */872 export interface XcmV1MultiassetAssetInstance extends Enum {873 readonly isUndefined: boolean;874 readonly isIndex: boolean;875 readonly asIndex: Compact<u128>;876 readonly isArray4: boolean;877 readonly asArray4: U8aFixed;878 readonly isArray8: boolean;879 readonly asArray8: U8aFixed;880 readonly isArray16: boolean;881 readonly asArray16: U8aFixed;882 readonly isArray32: boolean;883 readonly asArray32: U8aFixed;884 readonly isBlob: boolean;885 readonly asBlob: Bytes;886 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';887 }888889 /** @name XcmV0Order (106) */890 export interface XcmV0Order extends Enum {891 readonly isNull: boolean;892 readonly isDepositAsset: boolean;893 readonly asDepositAsset: {894 readonly assets: Vec<XcmV0MultiAsset>;895 readonly dest: XcmV0MultiLocation;896 } & Struct;897 readonly isDepositReserveAsset: boolean;898 readonly asDepositReserveAsset: {899 readonly assets: Vec<XcmV0MultiAsset>;900 readonly dest: XcmV0MultiLocation;901 readonly effects: Vec<XcmV0Order>;902 } & Struct;903 readonly isExchangeAsset: boolean;904 readonly asExchangeAsset: {905 readonly give: Vec<XcmV0MultiAsset>;906 readonly receive: Vec<XcmV0MultiAsset>;907 } & Struct;908 readonly isInitiateReserveWithdraw: boolean;909 readonly asInitiateReserveWithdraw: {910 readonly assets: Vec<XcmV0MultiAsset>;911 readonly reserve: XcmV0MultiLocation;912 readonly effects: Vec<XcmV0Order>;913 } & Struct;914 readonly isInitiateTeleport: boolean;915 readonly asInitiateTeleport: {916 readonly assets: Vec<XcmV0MultiAsset>;917 readonly dest: XcmV0MultiLocation;918 readonly effects: Vec<XcmV0Order>;919 } & Struct;920 readonly isQueryHolding: boolean;921 readonly asQueryHolding: {922 readonly queryId: Compact<u64>;923 readonly dest: XcmV0MultiLocation;924 readonly assets: Vec<XcmV0MultiAsset>;925 } & Struct;926 readonly isBuyExecution: boolean;927 readonly asBuyExecution: {928 readonly fees: XcmV0MultiAsset;929 readonly weight: u64;930 readonly debt: u64;931 readonly haltOnError: bool;932 readonly xcm: Vec<XcmV0Xcm>;933 } & Struct;934 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';935 }936937 /** @name XcmV0Response (108) */938 export interface XcmV0Response extends Enum {939 readonly isAssets: boolean;940 readonly asAssets: Vec<XcmV0MultiAsset>;941 readonly type: 'Assets';942 }943944 /** @name XcmV0OriginKind (109) */945 export interface XcmV0OriginKind extends Enum {946 readonly isNative: boolean;947 readonly isSovereignAccount: boolean;948 readonly isSuperuser: boolean;949 readonly isXcm: boolean;950 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';951 }952953 /** @name XcmDoubleEncoded (110) */954 export interface XcmDoubleEncoded extends Struct {955 readonly encoded: Bytes;956 }957958 /** @name XcmV1Xcm (111) */959 export interface XcmV1Xcm extends Enum {960 readonly isWithdrawAsset: boolean;961 readonly asWithdrawAsset: {962 readonly assets: XcmV1MultiassetMultiAssets;963 readonly effects: Vec<XcmV1Order>;964 } & Struct;965 readonly isReserveAssetDeposited: boolean;966 readonly asReserveAssetDeposited: {967 readonly assets: XcmV1MultiassetMultiAssets;968 readonly effects: Vec<XcmV1Order>;969 } & Struct;970 readonly isReceiveTeleportedAsset: boolean;971 readonly asReceiveTeleportedAsset: {972 readonly assets: XcmV1MultiassetMultiAssets;973 readonly effects: Vec<XcmV1Order>;974 } & Struct;975 readonly isQueryResponse: boolean;976 readonly asQueryResponse: {977 readonly queryId: Compact<u64>;978 readonly response: XcmV1Response;979 } & Struct;980 readonly isTransferAsset: boolean;981 readonly asTransferAsset: {982 readonly assets: XcmV1MultiassetMultiAssets;983 readonly beneficiary: XcmV1MultiLocation;984 } & Struct;985 readonly isTransferReserveAsset: boolean;986 readonly asTransferReserveAsset: {987 readonly assets: XcmV1MultiassetMultiAssets;988 readonly dest: XcmV1MultiLocation;989 readonly effects: Vec<XcmV1Order>;990 } & Struct;991 readonly isTransact: boolean;992 readonly asTransact: {993 readonly originType: XcmV0OriginKind;994 readonly requireWeightAtMost: u64;995 readonly call: XcmDoubleEncoded;996 } & Struct;997 readonly isHrmpNewChannelOpenRequest: boolean;998 readonly asHrmpNewChannelOpenRequest: {999 readonly sender: Compact<u32>;1000 readonly maxMessageSize: Compact<u32>;1001 readonly maxCapacity: Compact<u32>;1002 } & Struct;1003 readonly isHrmpChannelAccepted: boolean;1004 readonly asHrmpChannelAccepted: {1005 readonly recipient: Compact<u32>;1006 } & Struct;1007 readonly isHrmpChannelClosing: boolean;1008 readonly asHrmpChannelClosing: {1009 readonly initiator: Compact<u32>;1010 readonly sender: Compact<u32>;1011 readonly recipient: Compact<u32>;1012 } & Struct;1013 readonly isRelayedFrom: boolean;1014 readonly asRelayedFrom: {1015 readonly who: XcmV1MultilocationJunctions;1016 readonly message: XcmV1Xcm;1017 } & Struct;1018 readonly isSubscribeVersion: boolean;1019 readonly asSubscribeVersion: {1020 readonly queryId: Compact<u64>;1021 readonly maxResponseWeight: Compact<u64>;1022 } & Struct;1023 readonly isUnsubscribeVersion: boolean;1024 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1025 }10261027 /** @name XcmV1MultiassetMultiAssets (112) */1028 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10291030 /** @name XcmV1MultiAsset (114) */1031 export interface XcmV1MultiAsset extends Struct {1032 readonly id: XcmV1MultiassetAssetId;1033 readonly fun: XcmV1MultiassetFungibility;1034 }10351036 /** @name XcmV1MultiassetAssetId (115) */1037 export interface XcmV1MultiassetAssetId extends Enum {1038 readonly isConcrete: boolean;1039 readonly asConcrete: XcmV1MultiLocation;1040 readonly isAbstract: boolean;1041 readonly asAbstract: Bytes;1042 readonly type: 'Concrete' | 'Abstract';1043 }10441045 /** @name XcmV1MultiassetFungibility (116) */1046 export interface XcmV1MultiassetFungibility extends Enum {1047 readonly isFungible: boolean;1048 readonly asFungible: Compact<u128>;1049 readonly isNonFungible: boolean;1050 readonly asNonFungible: XcmV1MultiassetAssetInstance;1051 readonly type: 'Fungible' | 'NonFungible';1052 }10531054 /** @name XcmV1Order (118) */1055 export interface XcmV1Order extends Enum {1056 readonly isNoop: boolean;1057 readonly isDepositAsset: boolean;1058 readonly asDepositAsset: {1059 readonly assets: XcmV1MultiassetMultiAssetFilter;1060 readonly maxAssets: u32;1061 readonly beneficiary: XcmV1MultiLocation;1062 } & Struct;1063 readonly isDepositReserveAsset: boolean;1064 readonly asDepositReserveAsset: {1065 readonly assets: XcmV1MultiassetMultiAssetFilter;1066 readonly maxAssets: u32;1067 readonly dest: XcmV1MultiLocation;1068 readonly effects: Vec<XcmV1Order>;1069 } & Struct;1070 readonly isExchangeAsset: boolean;1071 readonly asExchangeAsset: {1072 readonly give: XcmV1MultiassetMultiAssetFilter;1073 readonly receive: XcmV1MultiassetMultiAssets;1074 } & Struct;1075 readonly isInitiateReserveWithdraw: boolean;1076 readonly asInitiateReserveWithdraw: {1077 readonly assets: XcmV1MultiassetMultiAssetFilter;1078 readonly reserve: XcmV1MultiLocation;1079 readonly effects: Vec<XcmV1Order>;1080 } & Struct;1081 readonly isInitiateTeleport: boolean;1082 readonly asInitiateTeleport: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly dest: XcmV1MultiLocation;1085 readonly effects: Vec<XcmV1Order>;1086 } & Struct;1087 readonly isQueryHolding: boolean;1088 readonly asQueryHolding: {1089 readonly queryId: Compact<u64>;1090 readonly dest: XcmV1MultiLocation;1091 readonly assets: XcmV1MultiassetMultiAssetFilter;1092 } & Struct;1093 readonly isBuyExecution: boolean;1094 readonly asBuyExecution: {1095 readonly fees: XcmV1MultiAsset;1096 readonly weight: u64;1097 readonly debt: u64;1098 readonly haltOnError: bool;1099 readonly instructions: Vec<XcmV1Xcm>;1100 } & Struct;1101 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1102 }11031104 /** @name XcmV1MultiassetMultiAssetFilter (119) */1105 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1106 readonly isDefinite: boolean;1107 readonly asDefinite: XcmV1MultiassetMultiAssets;1108 readonly isWild: boolean;1109 readonly asWild: XcmV1MultiassetWildMultiAsset;1110 readonly type: 'Definite' | 'Wild';1111 }11121113 /** @name XcmV1MultiassetWildMultiAsset (120) */1114 export interface XcmV1MultiassetWildMultiAsset extends Enum {1115 readonly isAll: boolean;1116 readonly isAllOf: boolean;1117 readonly asAllOf: {1118 readonly id: XcmV1MultiassetAssetId;1119 readonly fun: XcmV1MultiassetWildFungibility;1120 } & Struct;1121 readonly type: 'All' | 'AllOf';1122 }11231124 /** @name XcmV1MultiassetWildFungibility (121) */1125 export interface XcmV1MultiassetWildFungibility extends Enum {1126 readonly isFungible: boolean;1127 readonly isNonFungible: boolean;1128 readonly type: 'Fungible' | 'NonFungible';1129 }11301131 /** @name XcmV1Response (123) */1132 export interface XcmV1Response extends Enum {1133 readonly isAssets: boolean;1134 readonly asAssets: XcmV1MultiassetMultiAssets;1135 readonly isVersion: boolean;1136 readonly asVersion: u32;1137 readonly type: 'Assets' | 'Version';1138 }11391140 /** @name XcmV2Xcm (124) */1141 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11421143 /** @name XcmV2Instruction (126) */1144 export interface XcmV2Instruction extends Enum {1145 readonly isWithdrawAsset: boolean;1146 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1147 readonly isReserveAssetDeposited: boolean;1148 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1149 readonly isReceiveTeleportedAsset: boolean;1150 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1151 readonly isQueryResponse: boolean;1152 readonly asQueryResponse: {1153 readonly queryId: Compact<u64>;1154 readonly response: XcmV2Response;1155 readonly maxWeight: Compact<u64>;1156 } & Struct;1157 readonly isTransferAsset: boolean;1158 readonly asTransferAsset: {1159 readonly assets: XcmV1MultiassetMultiAssets;1160 readonly beneficiary: XcmV1MultiLocation;1161 } & Struct;1162 readonly isTransferReserveAsset: boolean;1163 readonly asTransferReserveAsset: {1164 readonly assets: XcmV1MultiassetMultiAssets;1165 readonly dest: XcmV1MultiLocation;1166 readonly xcm: XcmV2Xcm;1167 } & Struct;1168 readonly isTransact: boolean;1169 readonly asTransact: {1170 readonly originType: XcmV0OriginKind;1171 readonly requireWeightAtMost: Compact<u64>;1172 readonly call: XcmDoubleEncoded;1173 } & Struct;1174 readonly isHrmpNewChannelOpenRequest: boolean;1175 readonly asHrmpNewChannelOpenRequest: {1176 readonly sender: Compact<u32>;1177 readonly maxMessageSize: Compact<u32>;1178 readonly maxCapacity: Compact<u32>;1179 } & Struct;1180 readonly isHrmpChannelAccepted: boolean;1181 readonly asHrmpChannelAccepted: {1182 readonly recipient: Compact<u32>;1183 } & Struct;1184 readonly isHrmpChannelClosing: boolean;1185 readonly asHrmpChannelClosing: {1186 readonly initiator: Compact<u32>;1187 readonly sender: Compact<u32>;1188 readonly recipient: Compact<u32>;1189 } & Struct;1190 readonly isClearOrigin: boolean;1191 readonly isDescendOrigin: boolean;1192 readonly asDescendOrigin: XcmV1MultilocationJunctions;1193 readonly isReportError: boolean;1194 readonly asReportError: {1195 readonly queryId: Compact<u64>;1196 readonly dest: XcmV1MultiLocation;1197 readonly maxResponseWeight: Compact<u64>;1198 } & Struct;1199 readonly isDepositAsset: boolean;1200 readonly asDepositAsset: {1201 readonly assets: XcmV1MultiassetMultiAssetFilter;1202 readonly maxAssets: Compact<u32>;1203 readonly beneficiary: XcmV1MultiLocation;1204 } & Struct;1205 readonly isDepositReserveAsset: boolean;1206 readonly asDepositReserveAsset: {1207 readonly assets: XcmV1MultiassetMultiAssetFilter;1208 readonly maxAssets: Compact<u32>;1209 readonly dest: XcmV1MultiLocation;1210 readonly xcm: XcmV2Xcm;1211 } & Struct;1212 readonly isExchangeAsset: boolean;1213 readonly asExchangeAsset: {1214 readonly give: XcmV1MultiassetMultiAssetFilter;1215 readonly receive: XcmV1MultiassetMultiAssets;1216 } & Struct;1217 readonly isInitiateReserveWithdraw: boolean;1218 readonly asInitiateReserveWithdraw: {1219 readonly assets: XcmV1MultiassetMultiAssetFilter;1220 readonly reserve: XcmV1MultiLocation;1221 readonly xcm: XcmV2Xcm;1222 } & Struct;1223 readonly isInitiateTeleport: boolean;1224 readonly asInitiateTeleport: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly dest: XcmV1MultiLocation;1227 readonly xcm: XcmV2Xcm;1228 } & Struct;1229 readonly isQueryHolding: boolean;1230 readonly asQueryHolding: {1231 readonly queryId: Compact<u64>;1232 readonly dest: XcmV1MultiLocation;1233 readonly assets: XcmV1MultiassetMultiAssetFilter;1234 readonly maxResponseWeight: Compact<u64>;1235 } & Struct;1236 readonly isBuyExecution: boolean;1237 readonly asBuyExecution: {1238 readonly fees: XcmV1MultiAsset;1239 readonly weightLimit: XcmV2WeightLimit;1240 } & Struct;1241 readonly isRefundSurplus: boolean;1242 readonly isSetErrorHandler: boolean;1243 readonly asSetErrorHandler: XcmV2Xcm;1244 readonly isSetAppendix: boolean;1245 readonly asSetAppendix: XcmV2Xcm;1246 readonly isClearError: boolean;1247 readonly isClaimAsset: boolean;1248 readonly asClaimAsset: {1249 readonly assets: XcmV1MultiassetMultiAssets;1250 readonly ticket: XcmV1MultiLocation;1251 } & Struct;1252 readonly isTrap: boolean;1253 readonly asTrap: Compact<u64>;1254 readonly isSubscribeVersion: boolean;1255 readonly asSubscribeVersion: {1256 readonly queryId: Compact<u64>;1257 readonly maxResponseWeight: Compact<u64>;1258 } & Struct;1259 readonly isUnsubscribeVersion: boolean;1260 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';1261 }12621263 /** @name XcmV2Response (127) */1264 export interface XcmV2Response extends Enum {1265 readonly isNull: boolean;1266 readonly isAssets: boolean;1267 readonly asAssets: XcmV1MultiassetMultiAssets;1268 readonly isExecutionResult: boolean;1269 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1270 readonly isVersion: boolean;1271 readonly asVersion: u32;1272 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1273 }12741275 /** @name XcmV2TraitsError (130) */1276 export interface XcmV2TraitsError extends Enum {1277 readonly isOverflow: boolean;1278 readonly isUnimplemented: boolean;1279 readonly isUntrustedReserveLocation: boolean;1280 readonly isUntrustedTeleportLocation: boolean;1281 readonly isMultiLocationFull: boolean;1282 readonly isMultiLocationNotInvertible: boolean;1283 readonly isBadOrigin: boolean;1284 readonly isInvalidLocation: boolean;1285 readonly isAssetNotFound: boolean;1286 readonly isFailedToTransactAsset: boolean;1287 readonly isNotWithdrawable: boolean;1288 readonly isLocationCannotHold: boolean;1289 readonly isExceedsMaxMessageSize: boolean;1290 readonly isDestinationUnsupported: boolean;1291 readonly isTransport: boolean;1292 readonly isUnroutable: boolean;1293 readonly isUnknownClaim: boolean;1294 readonly isFailedToDecode: boolean;1295 readonly isMaxWeightInvalid: boolean;1296 readonly isNotHoldingFees: boolean;1297 readonly isTooExpensive: boolean;1298 readonly isTrap: boolean;1299 readonly asTrap: u64;1300 readonly isUnhandledXcmVersion: boolean;1301 readonly isWeightLimitReached: boolean;1302 readonly asWeightLimitReached: u64;1303 readonly isBarrier: boolean;1304 readonly isWeightNotComputable: boolean;1305 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';1306 }13071308 /** @name XcmV2WeightLimit (131) */1309 export interface XcmV2WeightLimit extends Enum {1310 readonly isUnlimited: boolean;1311 readonly isLimited: boolean;1312 readonly asLimited: Compact<u64>;1313 readonly type: 'Unlimited' | 'Limited';1314 }13151316 /** @name XcmVersionedMultiAssets (132) */1317 export interface XcmVersionedMultiAssets extends Enum {1318 readonly isV0: boolean;1319 readonly asV0: Vec<XcmV0MultiAsset>;1320 readonly isV1: boolean;1321 readonly asV1: XcmV1MultiassetMultiAssets;1322 readonly type: 'V0' | 'V1';1323 }13241325 /** @name CumulusPalletXcmCall (147) */1326 export type CumulusPalletXcmCall = Null;13271328 /** @name CumulusPalletDmpQueueCall (148) */1329 export interface CumulusPalletDmpQueueCall extends Enum {1330 readonly isServiceOverweight: boolean;1331 readonly asServiceOverweight: {1332 readonly index: u64;1333 readonly weightLimit: u64;1334 } & Struct;1335 readonly type: 'ServiceOverweight';1336 }13371338 /** @name PalletInflationCall (149) */1339 export interface PalletInflationCall extends Enum {1340 readonly isStartInflation: boolean;1341 readonly asStartInflation: {1342 readonly inflationStartRelayBlock: u32;1343 } & Struct;1344 readonly type: 'StartInflation';1345 }13461347 /** @name PalletUniqueCall (150) */1348 export interface PalletUniqueCall extends Enum {1349 readonly isCreateCollection: boolean;1350 readonly asCreateCollection: {1351 readonly collectionName: Vec<u16>;1352 readonly collectionDescription: Vec<u16>;1353 readonly tokenPrefix: Bytes;1354 readonly mode: UpDataStructsCollectionMode;1355 } & Struct;1356 readonly isCreateCollectionEx: boolean;1357 readonly asCreateCollectionEx: {1358 readonly data: UpDataStructsCreateCollectionData;1359 } & Struct;1360 readonly isDestroyCollection: boolean;1361 readonly asDestroyCollection: {1362 readonly collectionId: u32;1363 } & Struct;1364 readonly isAddToAllowList: boolean;1365 readonly asAddToAllowList: {1366 readonly collectionId: u32;1367 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1368 } & Struct;1369 readonly isRemoveFromAllowList: boolean;1370 readonly asRemoveFromAllowList: {1371 readonly collectionId: u32;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1374 readonly isChangeCollectionOwner: boolean;1375 readonly asChangeCollectionOwner: {1376 readonly collectionId: u32;1377 readonly newOwner: AccountId32;1378 } & Struct;1379 readonly isAddCollectionAdmin: boolean;1380 readonly asAddCollectionAdmin: {1381 readonly collectionId: u32;1382 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1383 } & Struct;1384 readonly isRemoveCollectionAdmin: boolean;1385 readonly asRemoveCollectionAdmin: {1386 readonly collectionId: u32;1387 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1388 } & Struct;1389 readonly isSetCollectionSponsor: boolean;1390 readonly asSetCollectionSponsor: {1391 readonly collectionId: u32;1392 readonly newSponsor: AccountId32;1393 } & Struct;1394 readonly isConfirmSponsorship: boolean;1395 readonly asConfirmSponsorship: {1396 readonly collectionId: u32;1397 } & Struct;1398 readonly isRemoveCollectionSponsor: boolean;1399 readonly asRemoveCollectionSponsor: {1400 readonly collectionId: u32;1401 } & Struct;1402 readonly isCreateItem: boolean;1403 readonly asCreateItem: {1404 readonly collectionId: u32;1405 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1406 readonly data: UpDataStructsCreateItemData;1407 } & Struct;1408 readonly isCreateMultipleItems: boolean;1409 readonly asCreateMultipleItems: {1410 readonly collectionId: u32;1411 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1412 readonly itemsData: Vec<UpDataStructsCreateItemData>;1413 } & Struct;1414 readonly isSetCollectionProperties: boolean;1415 readonly asSetCollectionProperties: {1416 readonly collectionId: u32;1417 readonly properties: Vec<UpDataStructsProperty>;1418 } & Struct;1419 readonly isDeleteCollectionProperties: boolean;1420 readonly asDeleteCollectionProperties: {1421 readonly collectionId: u32;1422 readonly propertyKeys: Vec<Bytes>;1423 } & Struct;1424 readonly isSetTokenProperties: boolean;1425 readonly asSetTokenProperties: {1426 readonly collectionId: u32;1427 readonly tokenId: u32;1428 readonly properties: Vec<UpDataStructsProperty>;1429 } & Struct;1430 readonly isDeleteTokenProperties: boolean;1431 readonly asDeleteTokenProperties: {1432 readonly collectionId: u32;1433 readonly tokenId: u32;1434 readonly propertyKeys: Vec<Bytes>;1435 } & Struct;1436 readonly isSetPropertyPermissions: boolean;1437 readonly asSetPropertyPermissions: {1438 readonly collectionId: u32;1439 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1440 } & Struct;1441 readonly isCreateMultipleItemsEx: boolean;1442 readonly asCreateMultipleItemsEx: {1443 readonly collectionId: u32;1444 readonly data: UpDataStructsCreateItemExData;1445 } & Struct;1446 readonly isSetTransfersEnabledFlag: boolean;1447 readonly asSetTransfersEnabledFlag: {1448 readonly collectionId: u32;1449 readonly value: bool;1450 } & Struct;1451 readonly isBurnItem: boolean;1452 readonly asBurnItem: {1453 readonly collectionId: u32;1454 readonly itemId: u32;1455 readonly value: u128;1456 } & Struct;1457 readonly isBurnFrom: boolean;1458 readonly asBurnFrom: {1459 readonly collectionId: u32;1460 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1461 readonly itemId: u32;1462 readonly value: u128;1463 } & Struct;1464 readonly isTransfer: boolean;1465 readonly asTransfer: {1466 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1467 readonly collectionId: u32;1468 readonly itemId: u32;1469 readonly value: u128;1470 } & Struct;1471 readonly isApprove: boolean;1472 readonly asApprove: {1473 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1474 readonly collectionId: u32;1475 readonly itemId: u32;1476 readonly amount: u128;1477 } & Struct;1478 readonly isTransferFrom: boolean;1479 readonly asTransferFrom: {1480 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1481 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1482 readonly collectionId: u32;1483 readonly itemId: u32;1484 readonly value: u128;1485 } & Struct;1486 readonly isSetCollectionLimits: boolean;1487 readonly asSetCollectionLimits: {1488 readonly collectionId: u32;1489 readonly newLimit: UpDataStructsCollectionLimits;1490 } & Struct;1491 readonly isSetCollectionPermissions: boolean;1492 readonly asSetCollectionPermissions: {1493 readonly collectionId: u32;1494 readonly newLimit: UpDataStructsCollectionPermissions;1495 } & Struct;1496 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';1497 }14981499 /** @name UpDataStructsCollectionMode (156) */1500 export interface UpDataStructsCollectionMode extends Enum {1501 readonly isNft: boolean;1502 readonly isFungible: boolean;1503 readonly asFungible: u8;1504 readonly isReFungible: boolean;1505 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1506 }15071508 /** @name UpDataStructsCreateCollectionData (157) */1509 export interface UpDataStructsCreateCollectionData extends Struct {1510 readonly mode: UpDataStructsCollectionMode;1511 readonly access: Option<UpDataStructsAccessMode>;1512 readonly name: Vec<u16>;1513 readonly description: Vec<u16>;1514 readonly tokenPrefix: Bytes;1515 readonly pendingSponsor: Option<AccountId32>;1516 readonly limits: Option<UpDataStructsCollectionLimits>;1517 readonly permissions: Option<UpDataStructsCollectionPermissions>;1518 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1519 readonly properties: Vec<UpDataStructsProperty>;1520 }15211522 /** @name UpDataStructsAccessMode (159) */1523 export interface UpDataStructsAccessMode extends Enum {1524 readonly isNormal: boolean;1525 readonly isAllowList: boolean;1526 readonly type: 'Normal' | 'AllowList';1527 }15281529 /** @name UpDataStructsCollectionLimits (162) */1530 export interface UpDataStructsCollectionLimits extends Struct {1531 readonly accountTokenOwnershipLimit: Option<u32>;1532 readonly sponsoredDataSize: Option<u32>;1533 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1534 readonly tokenLimit: Option<u32>;1535 readonly sponsorTransferTimeout: Option<u32>;1536 readonly sponsorApproveTimeout: Option<u32>;1537 readonly ownerCanTransfer: Option<bool>;1538 readonly ownerCanDestroy: Option<bool>;1539 readonly transfersEnabled: Option<bool>;1540 }15411542 /** @name UpDataStructsSponsoringRateLimit (164) */1543 export interface UpDataStructsSponsoringRateLimit extends Enum {1544 readonly isSponsoringDisabled: boolean;1545 readonly isBlocks: boolean;1546 readonly asBlocks: u32;1547 readonly type: 'SponsoringDisabled' | 'Blocks';1548 }15491550 /** @name UpDataStructsCollectionPermissions (167) */1551 export interface UpDataStructsCollectionPermissions extends Struct {1552 readonly access: Option<UpDataStructsAccessMode>;1553 readonly mintMode: Option<bool>;1554 readonly nesting: Option<UpDataStructsNestingRule>;1555 }15561557 /** @name UpDataStructsNestingRule (169) */1558 export interface UpDataStructsNestingRule extends Enum {1559 readonly isDisabled: boolean;1560 readonly isOwner: boolean;1561 readonly isOwnerRestricted: boolean;1562 readonly asOwnerRestricted: BTreeSet<u32>;1563 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1564 }15651566 /** @name UpDataStructsPropertyKeyPermission (175) */1567 export interface UpDataStructsPropertyKeyPermission extends Struct {1568 readonly key: Bytes;1569 readonly permission: UpDataStructsPropertyPermission;1570 }15711572 /** @name UpDataStructsPropertyPermission (177) */1573 export interface UpDataStructsPropertyPermission extends Struct {1574 readonly mutable: bool;1575 readonly collectionAdmin: bool;1576 readonly tokenOwner: bool;1577 }15781579 /** @name UpDataStructsProperty (180) */1580 export interface UpDataStructsProperty extends Struct {1581 readonly key: Bytes;1582 readonly value: Bytes;1583 }15841585 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1586 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1587 readonly isSubstrate: boolean;1588 readonly asSubstrate: AccountId32;1589 readonly isEthereum: boolean;1590 readonly asEthereum: H160;1591 readonly type: 'Substrate' | 'Ethereum';1592 }15931594 /** @name UpDataStructsCreateItemData (185) */1595 export interface UpDataStructsCreateItemData extends Enum {1596 readonly isNft: boolean;1597 readonly asNft: UpDataStructsCreateNftData;1598 readonly isFungible: boolean;1599 readonly asFungible: UpDataStructsCreateFungibleData;1600 readonly isReFungible: boolean;1601 readonly asReFungible: UpDataStructsCreateReFungibleData;1602 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1603 }16041605 /** @name UpDataStructsCreateNftData (186) */1606 export interface UpDataStructsCreateNftData extends Struct {1607 readonly properties: Vec<UpDataStructsProperty>;1608 }16091610 /** @name UpDataStructsCreateFungibleData (187) */1611 export interface UpDataStructsCreateFungibleData extends Struct {1612 readonly value: u128;1613 }16141615 /** @name UpDataStructsCreateReFungibleData (188) */1616 export interface UpDataStructsCreateReFungibleData extends Struct {1617 readonly constData: Bytes;1618 readonly pieces: u128;1619 }16201621 /** @name UpDataStructsCreateItemExData (193) */1622 export interface UpDataStructsCreateItemExData extends Enum {1623 readonly isNft: boolean;1624 readonly asNft: Vec<UpDataStructsCreateNftExData>;1625 readonly isFungible: boolean;1626 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1627 readonly isRefungibleMultipleItems: boolean;1628 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1629 readonly isRefungibleMultipleOwners: boolean;1630 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1631 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1632 }16331634 /** @name UpDataStructsCreateNftExData (195) */1635 export interface UpDataStructsCreateNftExData extends Struct {1636 readonly properties: Vec<UpDataStructsProperty>;1637 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1638 }16391640 /** @name UpDataStructsCreateRefungibleExData (202) */1641 export interface UpDataStructsCreateRefungibleExData extends Struct {1642 readonly constData: Bytes;1643 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1644 }16451646 /** @name PalletTemplateTransactionPaymentCall (204) */1647 export type PalletTemplateTransactionPaymentCall = Null;16481649 /** @name PalletStructureCall (205) */1650 export type PalletStructureCall = Null;16511652 /** @name PalletRmrkCoreCall (206) */1653 export interface PalletRmrkCoreCall extends Enum {1654 readonly isCreateCollection: boolean;1655 readonly asCreateCollection: {1656 readonly metadata: Bytes;1657 readonly max: Option<u32>;1658 readonly symbol: Bytes;1659 } & Struct;1660 readonly isDestroyCollection: boolean;1661 readonly asDestroyCollection: {1662 readonly collectionId: u32;1663 } & Struct;1664 readonly isChangeCollectionIssuer: boolean;1665 readonly asChangeCollectionIssuer: {1666 readonly collectionId: u32;1667 readonly newIssuer: MultiAddress;1668 } & Struct;1669 readonly isLockCollection: boolean;1670 readonly asLockCollection: {1671 readonly collectionId: u32;1672 } & Struct;1673 readonly isMintNft: boolean;1674 readonly asMintNft: {1675 readonly owner: AccountId32;1676 readonly collectionId: u32;1677 readonly recipient: Option<AccountId32>;1678 readonly royaltyAmount: Option<Permill>;1679 readonly metadata: Bytes;1680 } & Struct;1681 readonly isBurnNft: boolean;1682 readonly asBurnNft: {1683 readonly collectionId: u32;1684 readonly nftId: u32;1685 } & Struct;1686 readonly isSetProperty: boolean;1687 readonly asSetProperty: {1688 readonly rmrkCollectionId: Compact<u32>;1689 readonly maybeNftId: Option<u32>;1690 readonly key: Bytes;1691 readonly value: Bytes;1692 } & Struct;1693 readonly isAddBasicResource: boolean;1694 readonly asAddBasicResource: {1695 readonly collectionId: u32;1696 readonly nftId: u32;1697 readonly resource: UpDataStructsRmrkBasicResource;1698 } & Struct;1699 readonly isAddComposableResource: boolean;1700 readonly asAddComposableResource: {1701 readonly collectionId: u32;1702 readonly nftId: u32;1703 readonly resourceId: Bytes;1704 readonly resource: UpDataStructsRmrkComposableResource;1705 } & Struct;1706 readonly isAddSlotResource: boolean;1707 readonly asAddSlotResource: {1708 readonly collectionId: u32;1709 readonly nftId: u32;1710 readonly resource: UpDataStructsRmrkSlotResource;1711 } & Struct;1712 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';1713 }17141715 /** @name UpDataStructsRmrkBasicResource (212) */1716 export interface UpDataStructsRmrkBasicResource extends Struct {1717 readonly src: Option<Bytes>;1718 readonly metadata: Option<Bytes>;1719 readonly license: Option<Bytes>;1720 readonly thumb: Option<Bytes>;1721 }17221723 /** @name UpDataStructsRmrkComposableResource (215) */1724 export interface UpDataStructsRmrkComposableResource extends Struct {1725 readonly parts: Vec<u32>;1726 readonly base: u32;1727 readonly src: Option<Bytes>;1728 readonly metadata: Option<Bytes>;1729 readonly license: Option<Bytes>;1730 readonly thumb: Option<Bytes>;1731 }17321733 /** @name UpDataStructsRmrkSlotResource (217) */1734 export interface UpDataStructsRmrkSlotResource extends Struct {1735 readonly base: u32;1736 readonly src: Option<Bytes>;1737 readonly metadata: Option<Bytes>;1738 readonly slot: u32;1739 readonly license: Option<Bytes>;1740 readonly thumb: Option<Bytes>;1741 }17421743 /** @name PalletRmrkEquipCall (218) */1744 export interface PalletRmrkEquipCall extends Enum {1745 readonly isCreateBase: boolean;1746 readonly asCreateBase: {1747 readonly baseType: Bytes;1748 readonly symbol: Bytes;1749 readonly parts: Vec<UpDataStructsRmrkPartType>;1750 } & Struct;1751 readonly isThemeAdd: boolean;1752 readonly asThemeAdd: {1753 readonly baseId: u32;1754 readonly theme: UpDataStructsRmrkTheme;1755 } & Struct;1756 readonly type: 'CreateBase' | 'ThemeAdd';1757 }17581759 /** @name UpDataStructsRmrkPartType (220) */1760 export interface UpDataStructsRmrkPartType extends Enum {1761 readonly isFixedPart: boolean;1762 readonly asFixedPart: UpDataStructsRmrkFixedPart;1763 readonly isSlotPart: boolean;1764 readonly asSlotPart: UpDataStructsRmrkSlotPart;1765 readonly type: 'FixedPart' | 'SlotPart';1766 }17671768 /** @name UpDataStructsRmrkFixedPart (222) */1769 export interface UpDataStructsRmrkFixedPart extends Struct {1770 readonly id: u32;1771 readonly z: u32;1772 readonly src: Bytes;1773 }17741775 /** @name UpDataStructsRmrkSlotPart (223) */1776 export interface UpDataStructsRmrkSlotPart extends Struct {1777 readonly id: u32;1778 readonly equippable: UpDataStructsRmrkEquippableList;1779 readonly src: Bytes;1780 readonly z: u32;1781 }17821783 /** @name UpDataStructsRmrkEquippableList (224) */1784 export interface UpDataStructsRmrkEquippableList extends Enum {1785 readonly isAll: boolean;1786 readonly isEmpty: boolean;1787 readonly isCustom: boolean;1788 readonly asCustom: Vec<u32>;1789 readonly type: 'All' | 'Empty' | 'Custom';1790 }17911792 /** @name UpDataStructsRmrkTheme (226) */1793 export interface UpDataStructsRmrkTheme extends Struct {1794 readonly name: Bytes;1795 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;1796 readonly inherit: bool;1797 }17981799 /** @name UpDataStructsRmrkThemeProperty (228) */1800 export interface UpDataStructsRmrkThemeProperty extends Struct {1801 readonly key: Bytes;1802 readonly value: Bytes;1803 }18041805 /** @name PalletEvmCall (229) */1806 export interface PalletEvmCall extends Enum {1807 readonly isWithdraw: boolean;1808 readonly asWithdraw: {1809 readonly address: H160;1810 readonly value: u128;1811 } & Struct;1812 readonly isCall: boolean;1813 readonly asCall: {1814 readonly source: H160;1815 readonly target: H160;1816 readonly input: Bytes;1817 readonly value: U256;1818 readonly gasLimit: u64;1819 readonly maxFeePerGas: U256;1820 readonly maxPriorityFeePerGas: Option<U256>;1821 readonly nonce: Option<U256>;1822 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1823 } & Struct;1824 readonly isCreate: boolean;1825 readonly asCreate: {1826 readonly source: H160;1827 readonly init: Bytes;1828 readonly value: U256;1829 readonly gasLimit: u64;1830 readonly maxFeePerGas: U256;1831 readonly maxPriorityFeePerGas: Option<U256>;1832 readonly nonce: Option<U256>;1833 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1834 } & Struct;1835 readonly isCreate2: boolean;1836 readonly asCreate2: {1837 readonly source: H160;1838 readonly init: Bytes;1839 readonly salt: H256;1840 readonly value: U256;1841 readonly gasLimit: u64;1842 readonly maxFeePerGas: U256;1843 readonly maxPriorityFeePerGas: Option<U256>;1844 readonly nonce: Option<U256>;1845 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1846 } & Struct;1847 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1848 }18491850 /** @name PalletEthereumCall (235) */1851 export interface PalletEthereumCall extends Enum {1852 readonly isTransact: boolean;1853 readonly asTransact: {1854 readonly transaction: EthereumTransactionTransactionV2;1855 } & Struct;1856 readonly type: 'Transact';1857 }18581859 /** @name EthereumTransactionTransactionV2 (236) */1860 export interface EthereumTransactionTransactionV2 extends Enum {1861 readonly isLegacy: boolean;1862 readonly asLegacy: EthereumTransactionLegacyTransaction;1863 readonly isEip2930: boolean;1864 readonly asEip2930: EthereumTransactionEip2930Transaction;1865 readonly isEip1559: boolean;1866 readonly asEip1559: EthereumTransactionEip1559Transaction;1867 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1868 }18691870 /** @name EthereumTransactionLegacyTransaction (237) */1871 export interface EthereumTransactionLegacyTransaction extends Struct {1872 readonly nonce: U256;1873 readonly gasPrice: U256;1874 readonly gasLimit: U256;1875 readonly action: EthereumTransactionTransactionAction;1876 readonly value: U256;1877 readonly input: Bytes;1878 readonly signature: EthereumTransactionTransactionSignature;1879 }18801881 /** @name EthereumTransactionTransactionAction (238) */1882 export interface EthereumTransactionTransactionAction extends Enum {1883 readonly isCall: boolean;1884 readonly asCall: H160;1885 readonly isCreate: boolean;1886 readonly type: 'Call' | 'Create';1887 }18881889 /** @name EthereumTransactionTransactionSignature (239) */1890 export interface EthereumTransactionTransactionSignature extends Struct {1891 readonly v: u64;1892 readonly r: H256;1893 readonly s: H256;1894 }18951896 /** @name EthereumTransactionEip2930Transaction (241) */1897 export interface EthereumTransactionEip2930Transaction extends Struct {1898 readonly chainId: u64;1899 readonly nonce: U256;1900 readonly gasPrice: U256;1901 readonly gasLimit: U256;1902 readonly action: EthereumTransactionTransactionAction;1903 readonly value: U256;1904 readonly input: Bytes;1905 readonly accessList: Vec<EthereumTransactionAccessListItem>;1906 readonly oddYParity: bool;1907 readonly r: H256;1908 readonly s: H256;1909 }19101911 /** @name EthereumTransactionAccessListItem (243) */1912 export interface EthereumTransactionAccessListItem extends Struct {1913 readonly address: H160;1914 readonly storageKeys: Vec<H256>;1915 }19161917 /** @name EthereumTransactionEip1559Transaction (244) */1918 export interface EthereumTransactionEip1559Transaction extends Struct {1919 readonly chainId: u64;1920 readonly nonce: U256;1921 readonly maxPriorityFeePerGas: U256;1922 readonly maxFeePerGas: U256;1923 readonly gasLimit: U256;1924 readonly action: EthereumTransactionTransactionAction;1925 readonly value: U256;1926 readonly input: Bytes;1927 readonly accessList: Vec<EthereumTransactionAccessListItem>;1928 readonly oddYParity: bool;1929 readonly r: H256;1930 readonly s: H256;1931 }19321933 /** @name PalletEvmMigrationCall (245) */1934 export interface PalletEvmMigrationCall extends Enum {1935 readonly isBegin: boolean;1936 readonly asBegin: {1937 readonly address: H160;1938 } & Struct;1939 readonly isSetData: boolean;1940 readonly asSetData: {1941 readonly address: H160;1942 readonly data: Vec<ITuple<[H256, H256]>>;1943 } & Struct;1944 readonly isFinish: boolean;1945 readonly asFinish: {1946 readonly address: H160;1947 readonly code: Bytes;1948 } & Struct;1949 readonly type: 'Begin' | 'SetData' | 'Finish';1950 }19511952 /** @name PalletSudoEvent (248) */1953 export interface PalletSudoEvent extends Enum {1954 readonly isSudid: boolean;1955 readonly asSudid: {1956 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1957 } & Struct;1958 readonly isKeyChanged: boolean;1959 readonly asKeyChanged: {1960 readonly oldSudoer: Option<AccountId32>;1961 } & Struct;1962 readonly isSudoAsDone: boolean;1963 readonly asSudoAsDone: {1964 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1965 } & Struct;1966 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1967 }19681969 /** @name SpRuntimeDispatchError (250) */1970 export interface SpRuntimeDispatchError extends Enum {1971 readonly isOther: boolean;1972 readonly isCannotLookup: boolean;1973 readonly isBadOrigin: boolean;1974 readonly isModule: boolean;1975 readonly asModule: SpRuntimeModuleError;1976 readonly isConsumerRemaining: boolean;1977 readonly isNoProviders: boolean;1978 readonly isTooManyConsumers: boolean;1979 readonly isToken: boolean;1980 readonly asToken: SpRuntimeTokenError;1981 readonly isArithmetic: boolean;1982 readonly asArithmetic: SpRuntimeArithmeticError;1983 readonly isTransactional: boolean;1984 readonly asTransactional: SpRuntimeTransactionalError;1985 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1986 }19871988 /** @name SpRuntimeModuleError (251) */1989 export interface SpRuntimeModuleError extends Struct {1990 readonly index: u8;1991 readonly error: U8aFixed;1992 }19931994 /** @name SpRuntimeTokenError (252) */1995 export interface SpRuntimeTokenError extends Enum {1996 readonly isNoFunds: boolean;1997 readonly isWouldDie: boolean;1998 readonly isBelowMinimum: boolean;1999 readonly isCannotCreate: boolean;2000 readonly isUnknownAsset: boolean;2001 readonly isFrozen: boolean;2002 readonly isUnsupported: boolean;2003 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2004 }20052006 /** @name SpRuntimeArithmeticError (253) */2007 export interface SpRuntimeArithmeticError extends Enum {2008 readonly isUnderflow: boolean;2009 readonly isOverflow: boolean;2010 readonly isDivisionByZero: boolean;2011 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2012 }20132014 /** @name SpRuntimeTransactionalError (254) */2015 export interface SpRuntimeTransactionalError extends Enum {2016 readonly isLimitReached: boolean;2017 readonly isNoLayer: boolean;2018 readonly type: 'LimitReached' | 'NoLayer';2019 }20202021 /** @name PalletSudoError (255) */2022 export interface PalletSudoError extends Enum {2023 readonly isRequireSudo: boolean;2024 readonly type: 'RequireSudo';2025 }20262027 /** @name FrameSystemAccountInfo (256) */2028 export interface FrameSystemAccountInfo extends Struct {2029 readonly nonce: u32;2030 readonly consumers: u32;2031 readonly providers: u32;2032 readonly sufficients: u32;2033 readonly data: PalletBalancesAccountData;2034 }20352036 /** @name FrameSupportWeightsPerDispatchClassU64 (257) */2037 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2038 readonly normal: u64;2039 readonly operational: u64;2040 readonly mandatory: u64;2041 }20422043 /** @name SpRuntimeDigest (258) */2044 export interface SpRuntimeDigest extends Struct {2045 readonly logs: Vec<SpRuntimeDigestDigestItem>;2046 }20472048 /** @name SpRuntimeDigestDigestItem (260) */2049 export interface SpRuntimeDigestDigestItem extends Enum {2050 readonly isOther: boolean;2051 readonly asOther: Bytes;2052 readonly isConsensus: boolean;2053 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2054 readonly isSeal: boolean;2055 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2056 readonly isPreRuntime: boolean;2057 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2058 readonly isRuntimeEnvironmentUpdated: boolean;2059 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2060 }20612062 /** @name FrameSystemEventRecord (262) */2063 export interface FrameSystemEventRecord extends Struct {2064 readonly phase: FrameSystemPhase;2065 readonly event: Event;2066 readonly topics: Vec<H256>;2067 }20682069 /** @name FrameSystemEvent (264) */2070 export interface FrameSystemEvent extends Enum {2071 readonly isExtrinsicSuccess: boolean;2072 readonly asExtrinsicSuccess: {2073 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2074 } & Struct;2075 readonly isExtrinsicFailed: boolean;2076 readonly asExtrinsicFailed: {2077 readonly dispatchError: SpRuntimeDispatchError;2078 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2079 } & Struct;2080 readonly isCodeUpdated: boolean;2081 readonly isNewAccount: boolean;2082 readonly asNewAccount: {2083 readonly account: AccountId32;2084 } & Struct;2085 readonly isKilledAccount: boolean;2086 readonly asKilledAccount: {2087 readonly account: AccountId32;2088 } & Struct;2089 readonly isRemarked: boolean;2090 readonly asRemarked: {2091 readonly sender: AccountId32;2092 readonly hash_: H256;2093 } & Struct;2094 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2095 }20962097 /** @name FrameSupportWeightsDispatchInfo (265) */2098 export interface FrameSupportWeightsDispatchInfo extends Struct {2099 readonly weight: u64;2100 readonly class: FrameSupportWeightsDispatchClass;2101 readonly paysFee: FrameSupportWeightsPays;2102 }21032104 /** @name FrameSupportWeightsDispatchClass (266) */2105 export interface FrameSupportWeightsDispatchClass extends Enum {2106 readonly isNormal: boolean;2107 readonly isOperational: boolean;2108 readonly isMandatory: boolean;2109 readonly type: 'Normal' | 'Operational' | 'Mandatory';2110 }21112112 /** @name FrameSupportWeightsPays (267) */2113 export interface FrameSupportWeightsPays extends Enum {2114 readonly isYes: boolean;2115 readonly isNo: boolean;2116 readonly type: 'Yes' | 'No';2117 }21182119 /** @name OrmlVestingModuleEvent (268) */2120 export interface OrmlVestingModuleEvent extends Enum {2121 readonly isVestingScheduleAdded: boolean;2122 readonly asVestingScheduleAdded: {2123 readonly from: AccountId32;2124 readonly to: AccountId32;2125 readonly vestingSchedule: OrmlVestingVestingSchedule;2126 } & Struct;2127 readonly isClaimed: boolean;2128 readonly asClaimed: {2129 readonly who: AccountId32;2130 readonly amount: u128;2131 } & Struct;2132 readonly isVestingSchedulesUpdated: boolean;2133 readonly asVestingSchedulesUpdated: {2134 readonly who: AccountId32;2135 } & Struct;2136 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2137 }21382139 /** @name CumulusPalletXcmpQueueEvent (269) */2140 export interface CumulusPalletXcmpQueueEvent extends Enum {2141 readonly isSuccess: boolean;2142 readonly asSuccess: Option<H256>;2143 readonly isFail: boolean;2144 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2145 readonly isBadVersion: boolean;2146 readonly asBadVersion: Option<H256>;2147 readonly isBadFormat: boolean;2148 readonly asBadFormat: Option<H256>;2149 readonly isUpwardMessageSent: boolean;2150 readonly asUpwardMessageSent: Option<H256>;2151 readonly isXcmpMessageSent: boolean;2152 readonly asXcmpMessageSent: Option<H256>;2153 readonly isOverweightEnqueued: boolean;2154 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2155 readonly isOverweightServiced: boolean;2156 readonly asOverweightServiced: ITuple<[u64, u64]>;2157 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2158 }21592160 /** @name PalletXcmEvent (270) */2161 export interface PalletXcmEvent extends Enum {2162 readonly isAttempted: boolean;2163 readonly asAttempted: XcmV2TraitsOutcome;2164 readonly isSent: boolean;2165 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2166 readonly isUnexpectedResponse: boolean;2167 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2168 readonly isResponseReady: boolean;2169 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2170 readonly isNotified: boolean;2171 readonly asNotified: ITuple<[u64, u8, u8]>;2172 readonly isNotifyOverweight: boolean;2173 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2174 readonly isNotifyDispatchError: boolean;2175 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2176 readonly isNotifyDecodeFailed: boolean;2177 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2178 readonly isInvalidResponder: boolean;2179 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2180 readonly isInvalidResponderVersion: boolean;2181 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2182 readonly isResponseTaken: boolean;2183 readonly asResponseTaken: u64;2184 readonly isAssetsTrapped: boolean;2185 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2186 readonly isVersionChangeNotified: boolean;2187 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2188 readonly isSupportedVersionChanged: boolean;2189 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2190 readonly isNotifyTargetSendFail: boolean;2191 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2192 readonly isNotifyTargetMigrationFail: boolean;2193 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2194 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2195 }21962197 /** @name XcmV2TraitsOutcome (271) */2198 export interface XcmV2TraitsOutcome extends Enum {2199 readonly isComplete: boolean;2200 readonly asComplete: u64;2201 readonly isIncomplete: boolean;2202 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2203 readonly isError: boolean;2204 readonly asError: XcmV2TraitsError;2205 readonly type: 'Complete' | 'Incomplete' | 'Error';2206 }22072208 /** @name CumulusPalletXcmEvent (273) */2209 export interface CumulusPalletXcmEvent extends Enum {2210 readonly isInvalidFormat: boolean;2211 readonly asInvalidFormat: U8aFixed;2212 readonly isUnsupportedVersion: boolean;2213 readonly asUnsupportedVersion: U8aFixed;2214 readonly isExecutedDownward: boolean;2215 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2216 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2217 }22182219 /** @name CumulusPalletDmpQueueEvent (274) */2220 export interface CumulusPalletDmpQueueEvent extends Enum {2221 readonly isInvalidFormat: boolean;2222 readonly asInvalidFormat: U8aFixed;2223 readonly isUnsupportedVersion: boolean;2224 readonly asUnsupportedVersion: U8aFixed;2225 readonly isExecutedDownward: boolean;2226 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2227 readonly isWeightExhausted: boolean;2228 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2229 readonly isOverweightEnqueued: boolean;2230 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2231 readonly isOverweightServiced: boolean;2232 readonly asOverweightServiced: ITuple<[u64, u64]>;2233 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2234 }22352236 /** @name PalletUniqueRawEvent (275) */2237 export interface PalletUniqueRawEvent extends Enum {2238 readonly isCollectionSponsorRemoved: boolean;2239 readonly asCollectionSponsorRemoved: u32;2240 readonly isCollectionAdminAdded: boolean;2241 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2242 readonly isCollectionOwnedChanged: boolean;2243 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2244 readonly isCollectionSponsorSet: boolean;2245 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2246 readonly isSponsorshipConfirmed: boolean;2247 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2248 readonly isCollectionAdminRemoved: boolean;2249 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2250 readonly isAllowListAddressRemoved: boolean;2251 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2252 readonly isAllowListAddressAdded: boolean;2253 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2254 readonly isCollectionLimitSet: boolean;2255 readonly asCollectionLimitSet: u32;2256 readonly isCollectionPermissionSet: boolean;2257 readonly asCollectionPermissionSet: u32;2258 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2259 }22602261 /** @name PalletCommonEvent (276) */2262 export interface PalletCommonEvent extends Enum {2263 readonly isCollectionCreated: boolean;2264 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2265 readonly isCollectionDestroyed: boolean;2266 readonly asCollectionDestroyed: u32;2267 readonly isItemCreated: boolean;2268 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2269 readonly isItemDestroyed: boolean;2270 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2271 readonly isTransfer: boolean;2272 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2273 readonly isApproved: boolean;2274 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2275 readonly isCollectionPropertySet: boolean;2276 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2277 readonly isCollectionPropertyDeleted: boolean;2278 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2279 readonly isTokenPropertySet: boolean;2280 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2281 readonly isTokenPropertyDeleted: boolean;2282 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2283 readonly isPropertyPermissionSet: boolean;2284 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2285 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2286 }22872288 /** @name PalletStructureEvent (277) */2289 export interface PalletStructureEvent extends Enum {2290 readonly isExecuted: boolean;2291 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2292 readonly type: 'Executed';2293 }22942295 /** @name PalletRmrkCoreEvent (278) */2296 export interface PalletRmrkCoreEvent extends Enum {2297 readonly isCollectionCreated: boolean;2298 readonly asCollectionCreated: {2299 readonly issuer: AccountId32;2300 readonly collectionId: u32;2301 } & Struct;2302 readonly isCollectionDestroyed: boolean;2303 readonly asCollectionDestroyed: {2304 readonly issuer: AccountId32;2305 readonly collectionId: u32;2306 } & Struct;2307 readonly isIssuerChanged: boolean;2308 readonly asIssuerChanged: {2309 readonly oldIssuer: AccountId32;2310 readonly newIssuer: AccountId32;2311 readonly collectionId: u32;2312 } & Struct;2313 readonly isCollectionLocked: boolean;2314 readonly asCollectionLocked: {2315 readonly issuer: AccountId32;2316 readonly collectionId: u32;2317 } & Struct;2318 readonly isNftMinted: boolean;2319 readonly asNftMinted: {2320 readonly owner: AccountId32;2321 readonly collectionId: u32;2322 readonly nftId: u32;2323 } & Struct;2324 readonly isNftBurned: boolean;2325 readonly asNftBurned: {2326 readonly owner: AccountId32;2327 readonly nftId: u32;2328 } & Struct;2329 readonly isPropertySet: boolean;2330 readonly asPropertySet: {2331 readonly collectionId: u32;2332 readonly maybeNftId: Option<u32>;2333 readonly key: Bytes;2334 readonly value: Bytes;2335 } & Struct;2336 readonly isResourceAdded: boolean;2337 readonly asResourceAdded: {2338 readonly nftId: u32;2339 readonly resourceId: u32;2340 } & Struct;2341 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';2342 }23432344 /** @name PalletRmrkEquipEvent (279) */2345 export interface PalletRmrkEquipEvent extends Enum {2346 readonly isBaseCreated: boolean;2347 readonly asBaseCreated: {2348 readonly issuer: AccountId32;2349 readonly baseId: u32;2350 } & Struct;2351 readonly type: 'BaseCreated';2352 }23532354 /** @name PalletEvmEvent (280) */2355 export interface PalletEvmEvent extends Enum {2356 readonly isLog: boolean;2357 readonly asLog: EthereumLog;2358 readonly isCreated: boolean;2359 readonly asCreated: H160;2360 readonly isCreatedFailed: boolean;2361 readonly asCreatedFailed: H160;2362 readonly isExecuted: boolean;2363 readonly asExecuted: H160;2364 readonly isExecutedFailed: boolean;2365 readonly asExecutedFailed: H160;2366 readonly isBalanceDeposit: boolean;2367 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2368 readonly isBalanceWithdraw: boolean;2369 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2370 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2371 }23722373 /** @name EthereumLog (281) */2374 export interface EthereumLog extends Struct {2375 readonly address: H160;2376 readonly topics: Vec<H256>;2377 readonly data: Bytes;2378 }23792380 /** @name PalletEthereumEvent (282) */2381 export interface PalletEthereumEvent extends Enum {2382 readonly isExecuted: boolean;2383 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2384 readonly type: 'Executed';2385 }23862387 /** @name EvmCoreErrorExitReason (283) */2388 export interface EvmCoreErrorExitReason extends Enum {2389 readonly isSucceed: boolean;2390 readonly asSucceed: EvmCoreErrorExitSucceed;2391 readonly isError: boolean;2392 readonly asError: EvmCoreErrorExitError;2393 readonly isRevert: boolean;2394 readonly asRevert: EvmCoreErrorExitRevert;2395 readonly isFatal: boolean;2396 readonly asFatal: EvmCoreErrorExitFatal;2397 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2398 }23992400 /** @name EvmCoreErrorExitSucceed (284) */2401 export interface EvmCoreErrorExitSucceed extends Enum {2402 readonly isStopped: boolean;2403 readonly isReturned: boolean;2404 readonly isSuicided: boolean;2405 readonly type: 'Stopped' | 'Returned' | 'Suicided';2406 }24072408 /** @name EvmCoreErrorExitError (285) */2409 export interface EvmCoreErrorExitError extends Enum {2410 readonly isStackUnderflow: boolean;2411 readonly isStackOverflow: boolean;2412 readonly isInvalidJump: boolean;2413 readonly isInvalidRange: boolean;2414 readonly isDesignatedInvalid: boolean;2415 readonly isCallTooDeep: boolean;2416 readonly isCreateCollision: boolean;2417 readonly isCreateContractLimit: boolean;2418 readonly isOutOfOffset: boolean;2419 readonly isOutOfGas: boolean;2420 readonly isOutOfFund: boolean;2421 readonly isPcUnderflow: boolean;2422 readonly isCreateEmpty: boolean;2423 readonly isOther: boolean;2424 readonly asOther: Text;2425 readonly isInvalidCode: boolean;2426 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2427 }24282429 /** @name EvmCoreErrorExitRevert (288) */2430 export interface EvmCoreErrorExitRevert extends Enum {2431 readonly isReverted: boolean;2432 readonly type: 'Reverted';2433 }24342435 /** @name EvmCoreErrorExitFatal (289) */2436 export interface EvmCoreErrorExitFatal extends Enum {2437 readonly isNotSupported: boolean;2438 readonly isUnhandledInterrupt: boolean;2439 readonly isCallErrorAsFatal: boolean;2440 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2441 readonly isOther: boolean;2442 readonly asOther: Text;2443 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2444 }24452446 /** @name FrameSystemPhase (290) */2447 export interface FrameSystemPhase extends Enum {2448 readonly isApplyExtrinsic: boolean;2449 readonly asApplyExtrinsic: u32;2450 readonly isFinalization: boolean;2451 readonly isInitialization: boolean;2452 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2453 }24542455 /** @name FrameSystemLastRuntimeUpgradeInfo (292) */2456 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2457 readonly specVersion: Compact<u32>;2458 readonly specName: Text;2459 }24602461 /** @name FrameSystemLimitsBlockWeights (293) */2462 export interface FrameSystemLimitsBlockWeights extends Struct {2463 readonly baseBlock: u64;2464 readonly maxBlock: u64;2465 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2466 }24672468 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */2469 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2470 readonly normal: FrameSystemLimitsWeightsPerClass;2471 readonly operational: FrameSystemLimitsWeightsPerClass;2472 readonly mandatory: FrameSystemLimitsWeightsPerClass;2473 }24742475 /** @name FrameSystemLimitsWeightsPerClass (295) */2476 export interface FrameSystemLimitsWeightsPerClass extends Struct {2477 readonly baseExtrinsic: u64;2478 readonly maxExtrinsic: Option<u64>;2479 readonly maxTotal: Option<u64>;2480 readonly reserved: Option<u64>;2481 }24822483 /** @name FrameSystemLimitsBlockLength (297) */2484 export interface FrameSystemLimitsBlockLength extends Struct {2485 readonly max: FrameSupportWeightsPerDispatchClassU32;2486 }24872488 /** @name FrameSupportWeightsPerDispatchClassU32 (298) */2489 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2490 readonly normal: u32;2491 readonly operational: u32;2492 readonly mandatory: u32;2493 }24942495 /** @name FrameSupportWeightsRuntimeDbWeight (299) */2496 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2497 readonly read: u64;2498 readonly write: u64;2499 }25002501 /** @name SpVersionRuntimeVersion (300) */2502 export interface SpVersionRuntimeVersion extends Struct {2503 readonly specName: Text;2504 readonly implName: Text;2505 readonly authoringVersion: u32;2506 readonly specVersion: u32;2507 readonly implVersion: u32;2508 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2509 readonly transactionVersion: u32;2510 readonly stateVersion: u8;2511 }25122513 /** @name FrameSystemError (304) */2514 export interface FrameSystemError extends Enum {2515 readonly isInvalidSpecName: boolean;2516 readonly isSpecVersionNeedsToIncrease: boolean;2517 readonly isFailedToExtractRuntimeVersion: boolean;2518 readonly isNonDefaultComposite: boolean;2519 readonly isNonZeroRefCount: boolean;2520 readonly isCallFiltered: boolean;2521 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2522 }25232524 /** @name OrmlVestingModuleError (306) */2525 export interface OrmlVestingModuleError extends Enum {2526 readonly isZeroVestingPeriod: boolean;2527 readonly isZeroVestingPeriodCount: boolean;2528 readonly isInsufficientBalanceToLock: boolean;2529 readonly isTooManyVestingSchedules: boolean;2530 readonly isAmountLow: boolean;2531 readonly isMaxVestingSchedulesExceeded: boolean;2532 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2533 }25342535 /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */2536 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2537 readonly sender: u32;2538 readonly state: CumulusPalletXcmpQueueInboundState;2539 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2540 }25412542 /** @name CumulusPalletXcmpQueueInboundState (309) */2543 export interface CumulusPalletXcmpQueueInboundState extends Enum {2544 readonly isOk: boolean;2545 readonly isSuspended: boolean;2546 readonly type: 'Ok' | 'Suspended';2547 }25482549 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */2550 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2551 readonly isConcatenatedVersionedXcm: boolean;2552 readonly isConcatenatedEncodedBlob: boolean;2553 readonly isSignals: boolean;2554 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2555 }25562557 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */2558 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2559 readonly recipient: u32;2560 readonly state: CumulusPalletXcmpQueueOutboundState;2561 readonly signalsExist: bool;2562 readonly firstIndex: u16;2563 readonly lastIndex: u16;2564 }25652566 /** @name CumulusPalletXcmpQueueOutboundState (316) */2567 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2568 readonly isOk: boolean;2569 readonly isSuspended: boolean;2570 readonly type: 'Ok' | 'Suspended';2571 }25722573 /** @name CumulusPalletXcmpQueueQueueConfigData (318) */2574 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2575 readonly suspendThreshold: u32;2576 readonly dropThreshold: u32;2577 readonly resumeThreshold: u32;2578 readonly thresholdWeight: u64;2579 readonly weightRestrictDecay: u64;2580 readonly xcmpMaxIndividualWeight: u64;2581 }25822583 /** @name CumulusPalletXcmpQueueError (320) */2584 export interface CumulusPalletXcmpQueueError extends Enum {2585 readonly isFailedToSend: boolean;2586 readonly isBadXcmOrigin: boolean;2587 readonly isBadXcm: boolean;2588 readonly isBadOverweightIndex: boolean;2589 readonly isWeightOverLimit: boolean;2590 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2591 }25922593 /** @name PalletXcmError (321) */2594 export interface PalletXcmError extends Enum {2595 readonly isUnreachable: boolean;2596 readonly isSendFailure: boolean;2597 readonly isFiltered: boolean;2598 readonly isUnweighableMessage: boolean;2599 readonly isDestinationNotInvertible: boolean;2600 readonly isEmpty: boolean;2601 readonly isCannotReanchor: boolean;2602 readonly isTooManyAssets: boolean;2603 readonly isInvalidOrigin: boolean;2604 readonly isBadVersion: boolean;2605 readonly isBadLocation: boolean;2606 readonly isNoSubscription: boolean;2607 readonly isAlreadySubscribed: boolean;2608 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2609 }26102611 /** @name CumulusPalletXcmError (322) */2612 export type CumulusPalletXcmError = Null;26132614 /** @name CumulusPalletDmpQueueConfigData (323) */2615 export interface CumulusPalletDmpQueueConfigData extends Struct {2616 readonly maxIndividual: u64;2617 }26182619 /** @name CumulusPalletDmpQueuePageIndexData (324) */2620 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2621 readonly beginUsed: u32;2622 readonly endUsed: u32;2623 readonly overweightCount: u64;2624 }26252626 /** @name CumulusPalletDmpQueueError (327) */2627 export interface CumulusPalletDmpQueueError extends Enum {2628 readonly isUnknown: boolean;2629 readonly isOverLimit: boolean;2630 readonly type: 'Unknown' | 'OverLimit';2631 }26322633 /** @name PalletUniqueError (331) */2634 export interface PalletUniqueError extends Enum {2635 readonly isCollectionDecimalPointLimitExceeded: boolean;2636 readonly isConfirmUnsetSponsorFail: boolean;2637 readonly isEmptyArgument: boolean;2638 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2639 }26402641 /** @name UpDataStructsCollection (332) */2642 export interface UpDataStructsCollection extends Struct {2643 readonly owner: AccountId32;2644 readonly mode: UpDataStructsCollectionMode;2645 readonly name: Vec<u16>;2646 readonly description: Vec<u16>;2647 readonly tokenPrefix: Bytes;2648 readonly sponsorship: UpDataStructsSponsorshipState;2649 readonly limits: UpDataStructsCollectionLimits;2650 readonly permissions: UpDataStructsCollectionPermissions;2651 }26522653 /** @name UpDataStructsSponsorshipState (333) */2654 export interface UpDataStructsSponsorshipState extends Enum {2655 readonly isDisabled: boolean;2656 readonly isUnconfirmed: boolean;2657 readonly asUnconfirmed: AccountId32;2658 readonly isConfirmed: boolean;2659 readonly asConfirmed: AccountId32;2660 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2661 }26622663 /** @name UpDataStructsProperties (334) */2664 export interface UpDataStructsProperties extends Struct {2665 readonly map: UpDataStructsPropertiesMapBoundedVec;2666 readonly consumedSpace: u32;2667 readonly spaceLimit: u32;2668 }26692670 /** @name UpDataStructsPropertiesMapBoundedVec (335) */2671 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26722673 /** @name UpDataStructsPropertiesMapPropertyPermission (340) */2674 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26752676 /** @name UpDataStructsCollectionStats (347) */2677 export interface UpDataStructsCollectionStats extends Struct {2678 readonly created: u32;2679 readonly destroyed: u32;2680 readonly alive: u32;2681 }26822683 /** @name UpDataStructsTokenChild (323) */2684 export interface UpDataStructsTokenChild extends Struct {2685 readonly token: u32;2686 readonly collection: u32;2687 }26882689 /** @name PhantomTypeUpDataStructs (324) */2690 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}26912692 /** @name UpDataStructsTokenData (326) */2693 export interface UpDataStructsTokenData extends Struct {2694 readonly properties: Vec<UpDataStructsProperty>;2695 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2696 }26972698 /** @name UpDataStructsRpcCollection (328) */2699 export interface UpDataStructsRpcCollection extends Struct {2700 readonly owner: AccountId32;2701 readonly mode: UpDataStructsCollectionMode;2702 readonly name: Vec<u16>;2703 readonly description: Vec<u16>;2704 readonly tokenPrefix: Bytes;2705 readonly sponsorship: UpDataStructsSponsorshipState;2706 readonly limits: UpDataStructsCollectionLimits;2707 readonly permissions: UpDataStructsCollectionPermissions;2708 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2709 readonly properties: Vec<UpDataStructsProperty>;2710 }27112712 /** @name UpDataStructsRmrkCollectionInfo (329) */2713 export interface UpDataStructsRmrkCollectionInfo extends Struct {2714 readonly issuer: AccountId32;2715 readonly metadata: Bytes;2716 readonly max: Option<u32>;2717 readonly symbol: Bytes;2718 readonly nftsCount: u32;2719 }27202721 /** @name UpDataStructsRmrkNftInfo (332) */2722 export interface UpDataStructsRmrkNftInfo extends Struct {2723 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2724 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2725 readonly metadata: Bytes;2726 readonly equipped: bool;2727 readonly pending: bool;2728 }27292730 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (333) */2731 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2732 readonly isAccountId: boolean;2733 readonly asAccountId: AccountId32;2734 readonly isCollectionAndNftTuple: boolean;2735 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2736 readonly type: 'AccountId' | 'CollectionAndNftTuple';2737 }27382739 /** @name UpDataStructsRmrkRoyaltyInfo (335) */2740 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2741 readonly recipient: AccountId32;2742 readonly amount: Permill;2743 }27442745 /** @name UpDataStructsRmrkResourceInfo (336) */2746 export interface UpDataStructsRmrkResourceInfo extends Struct {2747 readonly id: u32;2748 readonly resource: UpDataStructsRmrkResourceTypes;2749 readonly pending: bool;2750 readonly pendingRemoval: bool;2751 }27522753 /** @name UpDataStructsRmrkResourceTypes (339) */2754 export interface UpDataStructsRmrkResourceTypes extends Enum {2755 readonly isBasic: boolean;2756 readonly asBasic: UpDataStructsRmrkBasicResource;2757 readonly isComposable: boolean;2758 readonly asComposable: UpDataStructsRmrkComposableResource;2759 readonly isSlot: boolean;2760 readonly asSlot: UpDataStructsRmrkSlotResource;2761 readonly type: 'Basic' | 'Composable' | 'Slot';2762 }27632764 /** @name UpDataStructsRmrkBasicResource (340) */2765 export interface UpDataStructsRmrkBasicResource extends Struct {2766 readonly src: Option<Bytes>;2767 readonly metadata: Option<Bytes>;2768 readonly license: Option<Bytes>;2769 readonly thumb: Option<Bytes>;2770 }27712772 /** @name UpDataStructsRmrkComposableResource (342) */2773 export interface UpDataStructsRmrkComposableResource extends Struct {2774 readonly parts: Vec<u32>;2775 readonly base: u32;2776 readonly src: Option<Bytes>;2777 readonly metadata: Option<Bytes>;2778 readonly license: Option<Bytes>;2779 readonly thumb: Option<Bytes>;2780 }27812782 /** @name UpDataStructsRmrkSlotResource (343) */2783 export interface UpDataStructsRmrkSlotResource extends Struct {2784 readonly base: u32;2785 readonly src: Option<Bytes>;2786 readonly metadata: Option<Bytes>;2787 readonly slot: u32;2788 readonly license: Option<Bytes>;2789 readonly thumb: Option<Bytes>;2790 }27912792 /** @name UpDataStructsRmrkPropertyInfo (344) */2793 export interface UpDataStructsRmrkPropertyInfo extends Struct {2794 readonly key: Bytes;2795 readonly value: Bytes;2796 }27972798 /** @name UpDataStructsRmrkBaseInfo (347) */2799 export interface UpDataStructsRmrkBaseInfo extends Struct {2800 readonly issuer: AccountId32;2801 readonly baseType: Bytes;2802 readonly symbol: Bytes;2803 }28042805 /** @name UpDataStructsRmrkPartType (348) */2806 export interface UpDataStructsRmrkPartType extends Enum {2807 readonly isFixedPart: boolean;2808 readonly asFixedPart: UpDataStructsRmrkFixedPart;2809 readonly isSlotPart: boolean;2810 readonly asSlotPart: UpDataStructsRmrkSlotPart;2811 readonly type: 'FixedPart' | 'SlotPart';2812 }28132814 /** @name UpDataStructsRmrkFixedPart (350) */2815 export interface UpDataStructsRmrkFixedPart extends Struct {2816 readonly id: u32;2817 readonly z: u32;2818 readonly src: Bytes;2819 }28202821 /** @name UpDataStructsRmrkSlotPart (351) */2822 export interface UpDataStructsRmrkSlotPart extends Struct {2823 readonly id: u32;2824 readonly equippable: UpDataStructsRmrkEquippableList;2825 readonly src: Bytes;2826 readonly z: u32;2827 }28282829 /** @name UpDataStructsRmrkEquippableList (352) */2830 export interface UpDataStructsRmrkEquippableList extends Enum {2831 readonly isAll: boolean;2832 readonly isEmpty: boolean;2833 readonly isCustom: boolean;2834 readonly asCustom: Vec<u32>;2835 readonly type: 'All' | 'Empty' | 'Custom';2836 }28372838 /** @name UpDataStructsRmrkTheme (353) */2839 export interface UpDataStructsRmrkTheme extends Struct {2840 readonly name: Bytes;2841 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2842 readonly inherit: bool;2843 }28442845 /** @name UpDataStructsRmrkThemeProperty (355) */2846 export interface UpDataStructsRmrkThemeProperty extends Struct {2847 readonly key: Bytes;2848 readonly value: Bytes;2849 }28502851 /** @name UpDataStructsRmrkNftChild (356) */2852 export interface UpDataStructsRmrkNftChild extends Struct {2853 readonly collectionId: u32;2854 readonly nftId: u32;2855 }28562857 /** @name PalletCommonError (358) */2858 export interface PalletCommonError extends Enum {2859 readonly isCollectionNotFound: boolean;2860 readonly isMustBeTokenOwner: boolean;2861 readonly isNoPermission: boolean;2862 readonly isCantDestroyNotEmptyCollection: boolean;2863 readonly isPublicMintingNotAllowed: boolean;2864 readonly isAddressNotInAllowlist: boolean;2865 readonly isCollectionNameLimitExceeded: boolean;2866 readonly isCollectionDescriptionLimitExceeded: boolean;2867 readonly isCollectionTokenPrefixLimitExceeded: boolean;2868 readonly isTotalCollectionsLimitExceeded: boolean;2869 readonly isCollectionAdminCountExceeded: boolean;2870 readonly isCollectionLimitBoundsExceeded: boolean;2871 readonly isOwnerPermissionsCantBeReverted: boolean;2872 readonly isTransferNotAllowed: boolean;2873 readonly isAccountTokenLimitExceeded: boolean;2874 readonly isCollectionTokenLimitExceeded: boolean;2875 readonly isMetadataFlagFrozen: boolean;2876 readonly isTokenNotFound: boolean;2877 readonly isTokenValueTooLow: boolean;2878 readonly isApprovedValueTooLow: boolean;2879 readonly isCantApproveMoreThanOwned: boolean;2880 readonly isAddressIsZero: boolean;2881 readonly isUnsupportedOperation: boolean;2882 readonly isNotSufficientFounds: boolean;2883 readonly isNestingIsDisabled: boolean;2884 readonly isOnlyOwnerAllowedToNest: boolean;2885 readonly isSourceCollectionIsNotAllowedToNest: boolean;2886 readonly isCollectionFieldSizeExceeded: boolean;2887 readonly isNoSpaceForProperty: boolean;2888 readonly isPropertyLimitReached: boolean;2889 readonly isPropertyKeyIsTooLong: boolean;2890 readonly isInvalidCharacterInPropertyKey: boolean;2891 readonly isEmptyPropertyKey: boolean;2892 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';2893 }28942895 /** @name PalletFungibleError (360) */2896 export interface PalletFungibleError extends Enum {2897 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2898 readonly isFungibleItemsHaveNoId: boolean;2899 readonly isFungibleItemsDontHaveData: boolean;2900 readonly isFungibleDisallowsNesting: boolean;2901 readonly isSettingPropertiesNotAllowed: boolean;2902 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2903 }29042905 /** @name PalletRefungibleItemData (361) */2906 export interface PalletRefungibleItemData extends Struct {2907 readonly constData: Bytes;2908 }29092910 /** @name PalletRefungibleError (365) */2911 export interface PalletRefungibleError extends Enum {2912 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2913 readonly isWrongRefungiblePieces: boolean;2914 readonly isRefungibleDisallowsNesting: boolean;2915 readonly isSettingPropertiesNotAllowed: boolean;2916 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2917 }29182919 /** @name PalletNonfungibleItemData (366) */2920 export interface PalletNonfungibleItemData extends Struct {2921 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2922 }29232924 /** @name PalletNonfungibleError (368) */2925 export interface PalletNonfungibleError extends Enum {2926 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2927 readonly isNonfungibleItemsHaveNoAmount: boolean;2928 readonly isCantBurnNftWithChildren: boolean;2929 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2930 }29312932 /** @name PalletStructureError (369) */2933 export interface PalletStructureError extends Enum {2934 readonly isOuroborosDetected: boolean;2935 readonly isDepthLimit: boolean;2936 readonly isTokenNotFound: boolean;2937 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2938 }29392940 /** @name PalletEvmError (372) */2941 export interface PalletEvmError extends Enum {2942 readonly isBalanceLow: boolean;2943 readonly isFeeOverflow: boolean;2944 readonly isPaymentOverflow: boolean;2945 readonly isWithdrawFailed: boolean;2946 readonly isGasPriceTooLow: boolean;2947 readonly isInvalidNonce: boolean;2948 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2949 }29502951 /** @name FpRpcTransactionStatus (375) */2952 export interface FpRpcTransactionStatus extends Struct {2953 readonly transactionHash: H256;2954 readonly transactionIndex: u32;2955 readonly from: H160;2956 readonly to: Option<H160>;2957 readonly contractAddress: Option<H160>;2958 readonly logs: Vec<EthereumLog>;2959 readonly logsBloom: EthbloomBloom;2960 }29612962 /** @name EthbloomBloom (377) */2963 export interface EthbloomBloom extends U8aFixed {}29642965 /** @name EthereumReceiptReceiptV3 (379) */2966 export interface EthereumReceiptReceiptV3 extends Enum {2967 readonly isLegacy: boolean;2968 readonly asLegacy: EthereumReceiptEip658ReceiptData;2969 readonly isEip2930: boolean;2970 readonly asEip2930: EthereumReceiptEip658ReceiptData;2971 readonly isEip1559: boolean;2972 readonly asEip1559: EthereumReceiptEip658ReceiptData;2973 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2974 }29752976 /** @name EthereumReceiptEip658ReceiptData (380) */2977 export interface EthereumReceiptEip658ReceiptData extends Struct {2978 readonly statusCode: u8;2979 readonly usedGas: U256;2980 readonly logsBloom: EthbloomBloom;2981 readonly logs: Vec<EthereumLog>;2982 }29832984 /** @name EthereumBlock (381) */2985 export interface EthereumBlock extends Struct {2986 readonly header: EthereumHeader;2987 readonly transactions: Vec<EthereumTransactionTransactionV2>;2988 readonly ommers: Vec<EthereumHeader>;2989 }29902991 /** @name EthereumHeader (382) */2992 export interface EthereumHeader extends Struct {2993 readonly parentHash: H256;2994 readonly ommersHash: H256;2995 readonly beneficiary: H160;2996 readonly stateRoot: H256;2997 readonly transactionsRoot: H256;2998 readonly receiptsRoot: H256;2999 readonly logsBloom: EthbloomBloom;3000 readonly difficulty: U256;3001 readonly number: U256;3002 readonly gasLimit: U256;3003 readonly gasUsed: U256;3004 readonly timestamp: u64;3005 readonly extraData: Bytes;3006 readonly mixHash: H256;3007 readonly nonce: EthereumTypesHashH64;3008 }30093010 /** @name EthereumTypesHashH64 (383) */3011 export interface EthereumTypesHashH64 extends U8aFixed {}30123013 /** @name PalletEthereumError (388) */3014 export interface PalletEthereumError extends Enum {3015 readonly isInvalidSignature: boolean;3016 readonly isPreLogExists: boolean;3017 readonly type: 'InvalidSignature' | 'PreLogExists';3018 }30193020 /** @name PalletEvmCoderSubstrateError (389) */3021 export interface PalletEvmCoderSubstrateError extends Enum {3022 readonly isOutOfGas: boolean;3023 readonly isOutOfFund: boolean;3024 readonly type: 'OutOfGas' | 'OutOfFund';3025 }30263027 /** @name PalletEvmContractHelpersSponsoringModeT (390) */3028 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3029 readonly isDisabled: boolean;3030 readonly isAllowlisted: boolean;3031 readonly isGenerous: boolean;3032 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3033 }30343035 /** @name PalletEvmContractHelpersError (392) */3036 export interface PalletEvmContractHelpersError extends Enum {3037 readonly isNoPermission: boolean;3038 readonly type: 'NoPermission';3039 }30403041 /** @name PalletEvmMigrationError (393) */3042 export interface PalletEvmMigrationError extends Enum {3043 readonly isAccountNotEmpty: boolean;3044 readonly isAccountIsNotMigrating: boolean;3045 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3046 }30473048 /** @name SpRuntimeMultiSignature (395) */3049 export interface SpRuntimeMultiSignature extends Enum {3050 readonly isEd25519: boolean;3051 readonly asEd25519: SpCoreEd25519Signature;3052 readonly isSr25519: boolean;3053 readonly asSr25519: SpCoreSr25519Signature;3054 readonly isEcdsa: boolean;3055 readonly asEcdsa: SpCoreEcdsaSignature;3056 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3057 }30583059 /** @name SpCoreEd25519Signature (396) */3060 export interface SpCoreEd25519Signature extends U8aFixed {}30613062 /** @name SpCoreSr25519Signature (398) */3063 export interface SpCoreSr25519Signature extends U8aFixed {}30643065 /** @name SpCoreEcdsaSignature (399) */3066 export interface SpCoreEcdsaSignature extends U8aFixed {}30673068 /** @name FrameSystemExtensionsCheckSpecVersion (402) */3069 export type FrameSystemExtensionsCheckSpecVersion = Null;30703071 /** @name FrameSystemExtensionsCheckGenesis (403) */3072 export type FrameSystemExtensionsCheckGenesis = Null;30733074 /** @name FrameSystemExtensionsCheckNonce (406) */3075 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}30763077 /** @name FrameSystemExtensionsCheckWeight (407) */3078 export type FrameSystemExtensionsCheckWeight = Null;30793080 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (408) */3081 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}30823083 /** @name OpalRuntimeRuntime (409) */3084 export type OpalRuntimeRuntime = Null;30853086 /** @name PalletEthereumFakeTransactionFinalizer (410) */3087 export type PalletEthereumFakeTransactionFinalizer = Null;30883089} // declare module