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.tsdiffbeforeafterboth1677 readonly recipient: Option<AccountId32>;1677 readonly recipient: Option<AccountId32>;1678 readonly royaltyAmount: Option<Permill>;1678 readonly royaltyAmount: Option<Permill>;1679 readonly metadata: Bytes;1679 readonly metadata: Bytes;1680 readonly transferable: bool;1680 } & Struct;1681 } & Struct;1681 readonly isBurnNft: boolean;1682 readonly isBurnNft: boolean;1682 readonly asBurnNft: {1683 readonly asBurnNft: {1683 readonly collectionId: u32;1684 readonly collectionId: u32;1684 readonly nftId: u32;1685 readonly nftId: u32;1685 } & Struct;1686 } & Struct;1687 readonly isSend: boolean;1688 readonly asSend: {1689 readonly rmrkCollectionId: u32;1690 readonly rmrkNftId: u32;1691 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1692 } & Struct;1693 readonly isAcceptNft: boolean;1694 readonly asAcceptNft: {1695 readonly rmrkCollectionId: u32;1696 readonly rmrkNftId: u32;1697 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1698 } & Struct;1699 readonly isRejectNft: boolean;1700 readonly asRejectNft: {1701 readonly rmrkCollectionId: u32;1702 readonly rmrkNftId: u32;1703 } & Struct;1704 readonly isAcceptResource: boolean;1705 readonly asAcceptResource: {1706 readonly rmrkCollectionId: u32;1707 readonly rmrkNftId: u32;1708 readonly rmrkResourceId: u32;1709 } & Struct;1710 readonly isAcceptResourceRemoval: boolean;1711 readonly asAcceptResourceRemoval: {1712 readonly rmrkCollectionId: u32;1713 readonly rmrkNftId: u32;1714 readonly rmrkResourceId: u32;1715 } & Struct;1686 readonly isSetProperty: boolean;1716 readonly isSetProperty: boolean;1687 readonly asSetProperty: {1717 readonly asSetProperty: {1688 readonly rmrkCollectionId: Compact<u32>;1718 readonly rmrkCollectionId: Compact<u32>;1689 readonly maybeNftId: Option<u32>;1719 readonly maybeNftId: Option<u32>;1690 readonly key: Bytes;1720 readonly key: Bytes;1691 readonly value: Bytes;1721 readonly value: Bytes;1692 } & Struct;1722 } & Struct;1723 readonly isSetPriority: boolean;1724 readonly asSetPriority: {1725 readonly rmrkCollectionId: u32;1726 readonly rmrkNftId: u32;1727 readonly priorities: Vec<u32>;1728 } & Struct;1693 readonly isAddBasicResource: boolean;1729 readonly isAddBasicResource: boolean;1694 readonly asAddBasicResource: {1730 readonly asAddBasicResource: {1695 readonly collectionId: u32;1731 readonly rmrkCollectionId: u32;1696 readonly nftId: u32;1732 readonly nftId: u32;1697 readonly resource: UpDataStructsRmrkBasicResource;1733 readonly resource: RmrkTraitsResourceBasicResource;1698 } & Struct;1734 } & Struct;1699 readonly isAddComposableResource: boolean;1735 readonly isAddComposableResource: boolean;1700 readonly asAddComposableResource: {1736 readonly asAddComposableResource: {1701 readonly collectionId: u32;1737 readonly rmrkCollectionId: u32;1702 readonly nftId: u32;1738 readonly nftId: u32;1703 readonly resourceId: Bytes;1739 readonly resourceId: Bytes;1704 readonly resource: UpDataStructsRmrkComposableResource;1740 readonly resource: RmrkTraitsResourceComposableResource;1705 } & Struct;1741 } & Struct;1706 readonly isAddSlotResource: boolean;1742 readonly isAddSlotResource: boolean;1707 readonly asAddSlotResource: {1743 readonly asAddSlotResource: {1708 readonly collectionId: u32;1744 readonly rmrkCollectionId: u32;1709 readonly nftId: u32;1745 readonly nftId: u32;1710 readonly resource: UpDataStructsRmrkSlotResource;1746 readonly resource: RmrkTraitsResourceSlotResource;1711 } & Struct;1747 } & Struct;1748 readonly isRemoveResource: boolean;1749 readonly asRemoveResource: {1750 readonly rmrkCollectionId: u32;1751 readonly nftId: u32;1752 readonly resourceId: u32;1753 } & Struct;1712 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';1754 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1713 }1755 }17561757 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (210) */1758 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1759 readonly isAccountId: boolean;1760 readonly asAccountId: AccountId32;1761 readonly isCollectionAndNftTuple: boolean;1762 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1763 readonly type: 'AccountId' | 'CollectionAndNftTuple';1764 }171417651715 /** @name UpDataStructsRmrkBasicResource (212) */1766 /** @name RmrkTraitsResourceBasicResource (214) */1716 export interface UpDataStructsRmrkBasicResource extends Struct {1767 export interface RmrkTraitsResourceBasicResource extends Struct {1717 readonly src: Option<Bytes>;1768 readonly src: Option<Bytes>;1718 readonly metadata: Option<Bytes>;1769 readonly metadata: Option<Bytes>;1719 readonly license: Option<Bytes>;1770 readonly license: Option<Bytes>;1720 readonly thumb: Option<Bytes>;1771 readonly thumb: Option<Bytes>;1721 }1772 }172217731723 /** @name UpDataStructsRmrkComposableResource (215) */1774 /** @name RmrkTraitsResourceComposableResource (217) */1724 export interface UpDataStructsRmrkComposableResource extends Struct {1775 export interface RmrkTraitsResourceComposableResource extends Struct {1725 readonly parts: Vec<u32>;1776 readonly parts: Vec<u32>;1726 readonly base: u32;1777 readonly base: u32;1727 readonly src: Option<Bytes>;1778 readonly src: Option<Bytes>;1730 readonly thumb: Option<Bytes>;1781 readonly thumb: Option<Bytes>;1731 }1782 }173217831733 /** @name UpDataStructsRmrkSlotResource (217) */1784 /** @name RmrkTraitsResourceSlotResource (219) */1734 export interface UpDataStructsRmrkSlotResource extends Struct {1785 export interface RmrkTraitsResourceSlotResource extends Struct {1735 readonly base: u32;1786 readonly base: u32;1736 readonly src: Option<Bytes>;1787 readonly src: Option<Bytes>;1737 readonly metadata: Option<Bytes>;1788 readonly metadata: Option<Bytes>;1740 readonly thumb: Option<Bytes>;1791 readonly thumb: Option<Bytes>;1741 }1792 }174217931743 /** @name PalletRmrkEquipCall (218) */1794 /** @name PalletRmrkEquipCall (220) */1744 export interface PalletRmrkEquipCall extends Enum {1795 export interface PalletRmrkEquipCall extends Enum {1745 readonly isCreateBase: boolean;1796 readonly isCreateBase: boolean;1746 readonly asCreateBase: {1797 readonly asCreateBase: {1747 readonly baseType: Bytes;1798 readonly baseType: Bytes;1748 readonly symbol: Bytes;1799 readonly symbol: Bytes;1749 readonly parts: Vec<UpDataStructsRmrkPartType>;1800 readonly parts: Vec<RmrkTraitsPartPartType>;1750 } & Struct;1801 } & Struct;1751 readonly isThemeAdd: boolean;1802 readonly isThemeAdd: boolean;1752 readonly asThemeAdd: {1803 readonly asThemeAdd: {1753 readonly baseId: u32;1804 readonly baseId: u32;1754 readonly theme: UpDataStructsRmrkTheme;1805 readonly theme: RmrkTraitsTheme;1755 } & Struct;1806 } & Struct;1756 readonly type: 'CreateBase' | 'ThemeAdd';1807 readonly type: 'CreateBase' | 'ThemeAdd';1757 }1808 }175818091759 /** @name UpDataStructsRmrkPartType (220) */1810 /** @name RmrkTraitsPartPartType (222) */1760 export interface UpDataStructsRmrkPartType extends Enum {1811 export interface RmrkTraitsPartPartType extends Enum {1761 readonly isFixedPart: boolean;1812 readonly isFixedPart: boolean;1762 readonly asFixedPart: UpDataStructsRmrkFixedPart;1813 readonly asFixedPart: RmrkTraitsPartFixedPart;1763 readonly isSlotPart: boolean;1814 readonly isSlotPart: boolean;1764 readonly asSlotPart: UpDataStructsRmrkSlotPart;1815 readonly asSlotPart: RmrkTraitsPartSlotPart;1765 readonly type: 'FixedPart' | 'SlotPart';1816 readonly type: 'FixedPart' | 'SlotPart';1766 }1817 }176718181768 /** @name UpDataStructsRmrkFixedPart (222) */1819 /** @name RmrkTraitsPartFixedPart (224) */1769 export interface UpDataStructsRmrkFixedPart extends Struct {1820 export interface RmrkTraitsPartFixedPart extends Struct {1770 readonly id: u32;1821 readonly id: u32;1771 readonly z: u32;1822 readonly z: u32;1772 readonly src: Bytes;1823 readonly src: Bytes;1773 }1824 }177418251775 /** @name UpDataStructsRmrkSlotPart (223) */1826 /** @name RmrkTraitsPartSlotPart (225) */1776 export interface UpDataStructsRmrkSlotPart extends Struct {1827 export interface RmrkTraitsPartSlotPart extends Struct {1777 readonly id: u32;1828 readonly id: u32;1778 readonly equippable: UpDataStructsRmrkEquippableList;1829 readonly equippable: RmrkTraitsPartEquippableList;1779 readonly src: Bytes;1830 readonly src: Bytes;1780 readonly z: u32;1831 readonly z: u32;1781 }1832 }178218331783 /** @name UpDataStructsRmrkEquippableList (224) */1834 /** @name RmrkTraitsPartEquippableList (226) */1784 export interface UpDataStructsRmrkEquippableList extends Enum {1835 export interface RmrkTraitsPartEquippableList extends Enum {1785 readonly isAll: boolean;1836 readonly isAll: boolean;1786 readonly isEmpty: boolean;1837 readonly isEmpty: boolean;1787 readonly isCustom: boolean;1838 readonly isCustom: boolean;1788 readonly asCustom: Vec<u32>;1839 readonly asCustom: Vec<u32>;1789 readonly type: 'All' | 'Empty' | 'Custom';1840 readonly type: 'All' | 'Empty' | 'Custom';1790 }1841 }179118421792 /** @name UpDataStructsRmrkTheme (226) */1843 /** @name RmrkTraitsTheme (228) */1793 export interface UpDataStructsRmrkTheme extends Struct {1844 export interface RmrkTraitsTheme extends Struct {1794 readonly name: Bytes;1845 readonly name: Bytes;1795 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;1846 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1796 readonly inherit: bool;1847 readonly inherit: bool;1797 }1848 }179818491799 /** @name UpDataStructsRmrkThemeProperty (228) */1850 /** @name RmrkTraitsThemeThemeProperty (230) */1800 export interface UpDataStructsRmrkThemeProperty extends Struct {1851 export interface RmrkTraitsThemeThemeProperty extends Struct {1801 readonly key: Bytes;1852 readonly key: Bytes;1802 readonly value: Bytes;1853 readonly value: Bytes;1803 }1854 }180418551805 /** @name PalletEvmCall (229) */1856 /** @name PalletEvmCall (231) */1806 export interface PalletEvmCall extends Enum {1857 export interface PalletEvmCall extends Enum {1807 readonly isWithdraw: boolean;1858 readonly isWithdraw: boolean;1808 readonly asWithdraw: {1859 readonly asWithdraw: {1847 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1898 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1848 }1899 }184919001850 /** @name PalletEthereumCall (235) */1901 /** @name PalletEthereumCall (237) */1851 export interface PalletEthereumCall extends Enum {1902 export interface PalletEthereumCall extends Enum {1852 readonly isTransact: boolean;1903 readonly isTransact: boolean;1853 readonly asTransact: {1904 readonly asTransact: {1856 readonly type: 'Transact';1907 readonly type: 'Transact';1857 }1908 }185819091859 /** @name EthereumTransactionTransactionV2 (236) */1910 /** @name EthereumTransactionTransactionV2 (238) */1860 export interface EthereumTransactionTransactionV2 extends Enum {1911 export interface EthereumTransactionTransactionV2 extends Enum {1861 readonly isLegacy: boolean;1912 readonly isLegacy: boolean;1862 readonly asLegacy: EthereumTransactionLegacyTransaction;1913 readonly asLegacy: EthereumTransactionLegacyTransaction;1867 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1918 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1868 }1919 }186919201870 /** @name EthereumTransactionLegacyTransaction (237) */1921 /** @name EthereumTransactionLegacyTransaction (239) */1871 export interface EthereumTransactionLegacyTransaction extends Struct {1922 export interface EthereumTransactionLegacyTransaction extends Struct {1872 readonly nonce: U256;1923 readonly nonce: U256;1873 readonly gasPrice: U256;1924 readonly gasPrice: U256;1878 readonly signature: EthereumTransactionTransactionSignature;1929 readonly signature: EthereumTransactionTransactionSignature;1879 }1930 }188019311881 /** @name EthereumTransactionTransactionAction (238) */1932 /** @name EthereumTransactionTransactionAction (240) */1882 export interface EthereumTransactionTransactionAction extends Enum {1933 export interface EthereumTransactionTransactionAction extends Enum {1883 readonly isCall: boolean;1934 readonly isCall: boolean;1884 readonly asCall: H160;1935 readonly asCall: H160;1885 readonly isCreate: boolean;1936 readonly isCreate: boolean;1886 readonly type: 'Call' | 'Create';1937 readonly type: 'Call' | 'Create';1887 }1938 }188819391889 /** @name EthereumTransactionTransactionSignature (239) */1940 /** @name EthereumTransactionTransactionSignature (241) */1890 export interface EthereumTransactionTransactionSignature extends Struct {1941 export interface EthereumTransactionTransactionSignature extends Struct {1891 readonly v: u64;1942 readonly v: u64;1892 readonly r: H256;1943 readonly r: H256;1893 readonly s: H256;1944 readonly s: H256;1894 }1945 }189519461896 /** @name EthereumTransactionEip2930Transaction (241) */1947 /** @name EthereumTransactionEip2930Transaction (243) */1897 export interface EthereumTransactionEip2930Transaction extends Struct {1948 export interface EthereumTransactionEip2930Transaction extends Struct {1898 readonly chainId: u64;1949 readonly chainId: u64;1899 readonly nonce: U256;1950 readonly nonce: U256;1908 readonly s: H256;1959 readonly s: H256;1909 }1960 }191019611911 /** @name EthereumTransactionAccessListItem (243) */1962 /** @name EthereumTransactionAccessListItem (245) */1912 export interface EthereumTransactionAccessListItem extends Struct {1963 export interface EthereumTransactionAccessListItem extends Struct {1913 readonly address: H160;1964 readonly address: H160;1914 readonly storageKeys: Vec<H256>;1965 readonly storageKeys: Vec<H256>;1915 }1966 }191619671917 /** @name EthereumTransactionEip1559Transaction (244) */1968 /** @name EthereumTransactionEip1559Transaction (246) */1918 export interface EthereumTransactionEip1559Transaction extends Struct {1969 export interface EthereumTransactionEip1559Transaction extends Struct {1919 readonly chainId: u64;1970 readonly chainId: u64;1920 readonly nonce: U256;1971 readonly nonce: U256;1930 readonly s: H256;1981 readonly s: H256;1931 }1982 }193219831933 /** @name PalletEvmMigrationCall (245) */1984 /** @name PalletEvmMigrationCall (247) */1934 export interface PalletEvmMigrationCall extends Enum {1985 export interface PalletEvmMigrationCall extends Enum {1935 readonly isBegin: boolean;1986 readonly isBegin: boolean;1936 readonly asBegin: {1987 readonly asBegin: {1949 readonly type: 'Begin' | 'SetData' | 'Finish';2000 readonly type: 'Begin' | 'SetData' | 'Finish';1950 }2001 }195120021952 /** @name PalletSudoEvent (248) */2003 /** @name PalletSudoEvent (250) */1953 export interface PalletSudoEvent extends Enum {2004 export interface PalletSudoEvent extends Enum {1954 readonly isSudid: boolean;2005 readonly isSudid: boolean;1955 readonly asSudid: {2006 readonly asSudid: {1966 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2017 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1967 }2018 }196820191969 /** @name SpRuntimeDispatchError (250) */2020 /** @name SpRuntimeDispatchError (252) */1970 export interface SpRuntimeDispatchError extends Enum {2021 export interface SpRuntimeDispatchError extends Enum {1971 readonly isOther: boolean;2022 readonly isOther: boolean;1972 readonly isCannotLookup: boolean;2023 readonly isCannotLookup: boolean;1985 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2036 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1986 }2037 }198720381988 /** @name SpRuntimeModuleError (251) */2039 /** @name SpRuntimeModuleError (253) */1989 export interface SpRuntimeModuleError extends Struct {2040 export interface SpRuntimeModuleError extends Struct {1990 readonly index: u8;2041 readonly index: u8;1991 readonly error: U8aFixed;2042 readonly error: U8aFixed;1992 }2043 }199320441994 /** @name SpRuntimeTokenError (252) */2045 /** @name SpRuntimeTokenError (254) */1995 export interface SpRuntimeTokenError extends Enum {2046 export interface SpRuntimeTokenError extends Enum {1996 readonly isNoFunds: boolean;2047 readonly isNoFunds: boolean;1997 readonly isWouldDie: boolean;2048 readonly isWouldDie: boolean;2003 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2054 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2004 }2055 }200520562006 /** @name SpRuntimeArithmeticError (253) */2057 /** @name SpRuntimeArithmeticError (255) */2007 export interface SpRuntimeArithmeticError extends Enum {2058 export interface SpRuntimeArithmeticError extends Enum {2008 readonly isUnderflow: boolean;2059 readonly isUnderflow: boolean;2009 readonly isOverflow: boolean;2060 readonly isOverflow: boolean;2010 readonly isDivisionByZero: boolean;2061 readonly isDivisionByZero: boolean;2011 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2062 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2012 }2063 }201320642014 /** @name SpRuntimeTransactionalError (254) */2065 /** @name SpRuntimeTransactionalError (256) */2015 export interface SpRuntimeTransactionalError extends Enum {2066 export interface SpRuntimeTransactionalError extends Enum {2016 readonly isLimitReached: boolean;2067 readonly isLimitReached: boolean;2017 readonly isNoLayer: boolean;2068 readonly isNoLayer: boolean;2018 readonly type: 'LimitReached' | 'NoLayer';2069 readonly type: 'LimitReached' | 'NoLayer';2019 }2070 }202020712021 /** @name PalletSudoError (255) */2072 /** @name PalletSudoError (257) */2022 export interface PalletSudoError extends Enum {2073 export interface PalletSudoError extends Enum {2023 readonly isRequireSudo: boolean;2074 readonly isRequireSudo: boolean;2024 readonly type: 'RequireSudo';2075 readonly type: 'RequireSudo';2025 }2076 }202620772027 /** @name FrameSystemAccountInfo (256) */2078 /** @name FrameSystemAccountInfo (258) */2028 export interface FrameSystemAccountInfo extends Struct {2079 export interface FrameSystemAccountInfo extends Struct {2029 readonly nonce: u32;2080 readonly nonce: u32;2030 readonly consumers: u32;2081 readonly consumers: u32;2033 readonly data: PalletBalancesAccountData;2084 readonly data: PalletBalancesAccountData;2034 }2085 }203520862036 /** @name FrameSupportWeightsPerDispatchClassU64 (257) */2087 /** @name FrameSupportWeightsPerDispatchClassU64 (259) */2037 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2088 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2038 readonly normal: u64;2089 readonly normal: u64;2039 readonly operational: u64;2090 readonly operational: u64;2040 readonly mandatory: u64;2091 readonly mandatory: u64;2041 }2092 }204220932043 /** @name SpRuntimeDigest (258) */2094 /** @name SpRuntimeDigest (260) */2044 export interface SpRuntimeDigest extends Struct {2095 export interface SpRuntimeDigest extends Struct {2045 readonly logs: Vec<SpRuntimeDigestDigestItem>;2096 readonly logs: Vec<SpRuntimeDigestDigestItem>;2046 }2097 }204720982048 /** @name SpRuntimeDigestDigestItem (260) */2099 /** @name SpRuntimeDigestDigestItem (262) */2049 export interface SpRuntimeDigestDigestItem extends Enum {2100 export interface SpRuntimeDigestDigestItem extends Enum {2050 readonly isOther: boolean;2101 readonly isOther: boolean;2051 readonly asOther: Bytes;2102 readonly asOther: Bytes;2059 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2110 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2060 }2111 }206121122062 /** @name FrameSystemEventRecord (262) */2113 /** @name FrameSystemEventRecord (264) */2063 export interface FrameSystemEventRecord extends Struct {2114 export interface FrameSystemEventRecord extends Struct {2064 readonly phase: FrameSystemPhase;2115 readonly phase: FrameSystemPhase;2065 readonly event: Event;2116 readonly event: Event;2066 readonly topics: Vec<H256>;2117 readonly topics: Vec<H256>;2067 }2118 }206821192069 /** @name FrameSystemEvent (264) */2120 /** @name FrameSystemEvent (266) */2070 export interface FrameSystemEvent extends Enum {2121 export interface FrameSystemEvent extends Enum {2071 readonly isExtrinsicSuccess: boolean;2122 readonly isExtrinsicSuccess: boolean;2072 readonly asExtrinsicSuccess: {2123 readonly asExtrinsicSuccess: {2094 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2145 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2095 }2146 }209621472097 /** @name FrameSupportWeightsDispatchInfo (265) */2148 /** @name FrameSupportWeightsDispatchInfo (267) */2098 export interface FrameSupportWeightsDispatchInfo extends Struct {2149 export interface FrameSupportWeightsDispatchInfo extends Struct {2099 readonly weight: u64;2150 readonly weight: u64;2100 readonly class: FrameSupportWeightsDispatchClass;2151 readonly class: FrameSupportWeightsDispatchClass;2101 readonly paysFee: FrameSupportWeightsPays;2152 readonly paysFee: FrameSupportWeightsPays;2102 }2153 }210321542104 /** @name FrameSupportWeightsDispatchClass (266) */2155 /** @name FrameSupportWeightsDispatchClass (268) */2105 export interface FrameSupportWeightsDispatchClass extends Enum {2156 export interface FrameSupportWeightsDispatchClass extends Enum {2106 readonly isNormal: boolean;2157 readonly isNormal: boolean;2107 readonly isOperational: boolean;2158 readonly isOperational: boolean;2108 readonly isMandatory: boolean;2159 readonly isMandatory: boolean;2109 readonly type: 'Normal' | 'Operational' | 'Mandatory';2160 readonly type: 'Normal' | 'Operational' | 'Mandatory';2110 }2161 }211121622112 /** @name FrameSupportWeightsPays (267) */2163 /** @name FrameSupportWeightsPays (269) */2113 export interface FrameSupportWeightsPays extends Enum {2164 export interface FrameSupportWeightsPays extends Enum {2114 readonly isYes: boolean;2165 readonly isYes: boolean;2115 readonly isNo: boolean;2166 readonly isNo: boolean;2116 readonly type: 'Yes' | 'No';2167 readonly type: 'Yes' | 'No';2117 }2168 }211821692119 /** @name OrmlVestingModuleEvent (268) */2170 /** @name OrmlVestingModuleEvent (270) */2120 export interface OrmlVestingModuleEvent extends Enum {2171 export interface OrmlVestingModuleEvent extends Enum {2121 readonly isVestingScheduleAdded: boolean;2172 readonly isVestingScheduleAdded: boolean;2122 readonly asVestingScheduleAdded: {2173 readonly asVestingScheduleAdded: {2136 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2187 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2137 }2188 }213821892139 /** @name CumulusPalletXcmpQueueEvent (269) */2190 /** @name CumulusPalletXcmpQueueEvent (271) */2140 export interface CumulusPalletXcmpQueueEvent extends Enum {2191 export interface CumulusPalletXcmpQueueEvent extends Enum {2141 readonly isSuccess: boolean;2192 readonly isSuccess: boolean;2142 readonly asSuccess: Option<H256>;2193 readonly asSuccess: Option<H256>;2157 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2208 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2158 }2209 }215922102160 /** @name PalletXcmEvent (270) */2211 /** @name PalletXcmEvent (272) */2161 export interface PalletXcmEvent extends Enum {2212 export interface PalletXcmEvent extends Enum {2162 readonly isAttempted: boolean;2213 readonly isAttempted: boolean;2163 readonly asAttempted: XcmV2TraitsOutcome;2214 readonly asAttempted: XcmV2TraitsOutcome;2194 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2245 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2195 }2246 }219622472197 /** @name XcmV2TraitsOutcome (271) */2248 /** @name XcmV2TraitsOutcome (273) */2198 export interface XcmV2TraitsOutcome extends Enum {2249 export interface XcmV2TraitsOutcome extends Enum {2199 readonly isComplete: boolean;2250 readonly isComplete: boolean;2200 readonly asComplete: u64;2251 readonly asComplete: u64;2205 readonly type: 'Complete' | 'Incomplete' | 'Error';2256 readonly type: 'Complete' | 'Incomplete' | 'Error';2206 }2257 }220722582208 /** @name CumulusPalletXcmEvent (273) */2259 /** @name CumulusPalletXcmEvent (275) */2209 export interface CumulusPalletXcmEvent extends Enum {2260 export interface CumulusPalletXcmEvent extends Enum {2210 readonly isInvalidFormat: boolean;2261 readonly isInvalidFormat: boolean;2211 readonly asInvalidFormat: U8aFixed;2262 readonly asInvalidFormat: U8aFixed;2216 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2267 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2217 }2268 }221822692219 /** @name CumulusPalletDmpQueueEvent (274) */2270 /** @name CumulusPalletDmpQueueEvent (276) */2220 export interface CumulusPalletDmpQueueEvent extends Enum {2271 export interface CumulusPalletDmpQueueEvent extends Enum {2221 readonly isInvalidFormat: boolean;2272 readonly isInvalidFormat: boolean;2222 readonly asInvalidFormat: U8aFixed;2273 readonly asInvalidFormat: U8aFixed;2233 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2284 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2234 }2285 }223522862236 /** @name PalletUniqueRawEvent (275) */2287 /** @name PalletUniqueRawEvent (277) */2237 export interface PalletUniqueRawEvent extends Enum {2288 export interface PalletUniqueRawEvent extends Enum {2238 readonly isCollectionSponsorRemoved: boolean;2289 readonly isCollectionSponsorRemoved: boolean;2239 readonly asCollectionSponsorRemoved: u32;2290 readonly asCollectionSponsorRemoved: u32;2258 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2309 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2259 }2310 }226023112261 /** @name PalletCommonEvent (276) */2312 /** @name PalletCommonEvent (278) */2262 export interface PalletCommonEvent extends Enum {2313 export interface PalletCommonEvent extends Enum {2263 readonly isCollectionCreated: boolean;2314 readonly isCollectionCreated: boolean;2264 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2315 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2285 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2336 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2286 }2337 }228723382288 /** @name PalletStructureEvent (277) */2339 /** @name PalletStructureEvent (279) */2289 export interface PalletStructureEvent extends Enum {2340 export interface PalletStructureEvent extends Enum {2290 readonly isExecuted: boolean;2341 readonly isExecuted: boolean;2291 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2342 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2292 readonly type: 'Executed';2343 readonly type: 'Executed';2293 }2344 }229423452295 /** @name PalletRmrkCoreEvent (278) */2346 /** @name PalletRmrkCoreEvent (280) */2296 export interface PalletRmrkCoreEvent extends Enum {2347 export interface PalletRmrkCoreEvent extends Enum {2297 readonly isCollectionCreated: boolean;2348 readonly isCollectionCreated: boolean;2298 readonly asCollectionCreated: {2349 readonly asCollectionCreated: {2326 readonly owner: AccountId32;2377 readonly owner: AccountId32;2327 readonly nftId: u32;2378 readonly nftId: u32;2328 } & Struct;2379 } & Struct;2380 readonly isNftSent: boolean;2381 readonly asNftSent: {2382 readonly sender: AccountId32;2383 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2384 readonly collectionId: u32;2385 readonly nftId: u32;2386 readonly approvalRequired: bool;2387 } & Struct;2388 readonly isNftAccepted: boolean;2389 readonly asNftAccepted: {2390 readonly sender: AccountId32;2391 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2392 readonly collectionId: u32;2393 readonly nftId: u32;2394 } & Struct;2395 readonly isNftRejected: boolean;2396 readonly asNftRejected: {2397 readonly sender: AccountId32;2398 readonly collectionId: u32;2399 readonly nftId: u32;2400 } & Struct;2329 readonly isPropertySet: boolean;2401 readonly isPropertySet: boolean;2330 readonly asPropertySet: {2402 readonly asPropertySet: {2331 readonly collectionId: u32;2403 readonly collectionId: u32;2338 readonly nftId: u32;2410 readonly nftId: u32;2339 readonly resourceId: u32;2411 readonly resourceId: u32;2340 } & Struct;2412 } & Struct;2413 readonly isResourceRemoval: boolean;2414 readonly asResourceRemoval: {2415 readonly nftId: u32;2416 readonly resourceId: u32;2417 } & Struct;2418 readonly isResourceAccepted: boolean;2419 readonly asResourceAccepted: {2420 readonly nftId: u32;2421 readonly resourceId: u32;2422 } & Struct;2423 readonly isResourceRemovalAccepted: boolean;2424 readonly asResourceRemovalAccepted: {2425 readonly nftId: u32;2426 readonly resourceId: u32;2427 } & Struct;2428 readonly isPrioritySet: boolean;2429 readonly asPrioritySet: {2430 readonly collectionId: u32;2431 readonly nftId: u32;2432 } & Struct;2341 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';2433 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2342 }2434 }234324352344 /** @name PalletRmrkEquipEvent (279) */2436 /** @name PalletRmrkEquipEvent (281) */2345 export interface PalletRmrkEquipEvent extends Enum {2437 export interface PalletRmrkEquipEvent extends Enum {2346 readonly isBaseCreated: boolean;2438 readonly isBaseCreated: boolean;2347 readonly asBaseCreated: {2439 readonly asBaseCreated: {2351 readonly type: 'BaseCreated';2443 readonly type: 'BaseCreated';2352 }2444 }235324452354 /** @name PalletEvmEvent (280) */2446 /** @name PalletEvmEvent (282) */2355 export interface PalletEvmEvent extends Enum {2447 export interface PalletEvmEvent extends Enum {2356 readonly isLog: boolean;2448 readonly isLog: boolean;2357 readonly asLog: EthereumLog;2449 readonly asLog: EthereumLog;2370 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2462 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2371 }2463 }237224642373 /** @name EthereumLog (281) */2465 /** @name EthereumLog (283) */2374 export interface EthereumLog extends Struct {2466 export interface EthereumLog extends Struct {2375 readonly address: H160;2467 readonly address: H160;2376 readonly topics: Vec<H256>;2468 readonly topics: Vec<H256>;2377 readonly data: Bytes;2469 readonly data: Bytes;2378 }2470 }237924712380 /** @name PalletEthereumEvent (282) */2472 /** @name PalletEthereumEvent (284) */2381 export interface PalletEthereumEvent extends Enum {2473 export interface PalletEthereumEvent extends Enum {2382 readonly isExecuted: boolean;2474 readonly isExecuted: boolean;2383 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2475 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2384 readonly type: 'Executed';2476 readonly type: 'Executed';2385 }2477 }238624782387 /** @name EvmCoreErrorExitReason (283) */2479 /** @name EvmCoreErrorExitReason (285) */2388 export interface EvmCoreErrorExitReason extends Enum {2480 export interface EvmCoreErrorExitReason extends Enum {2389 readonly isSucceed: boolean;2481 readonly isSucceed: boolean;2390 readonly asSucceed: EvmCoreErrorExitSucceed;2482 readonly asSucceed: EvmCoreErrorExitSucceed;2397 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2489 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2398 }2490 }239924912400 /** @name EvmCoreErrorExitSucceed (284) */2492 /** @name EvmCoreErrorExitSucceed (286) */2401 export interface EvmCoreErrorExitSucceed extends Enum {2493 export interface EvmCoreErrorExitSucceed extends Enum {2402 readonly isStopped: boolean;2494 readonly isStopped: boolean;2403 readonly isReturned: boolean;2495 readonly isReturned: boolean;2404 readonly isSuicided: boolean;2496 readonly isSuicided: boolean;2405 readonly type: 'Stopped' | 'Returned' | 'Suicided';2497 readonly type: 'Stopped' | 'Returned' | 'Suicided';2406 }2498 }240724992408 /** @name EvmCoreErrorExitError (285) */2500 /** @name EvmCoreErrorExitError (287) */2409 export interface EvmCoreErrorExitError extends Enum {2501 export interface EvmCoreErrorExitError extends Enum {2410 readonly isStackUnderflow: boolean;2502 readonly isStackUnderflow: boolean;2411 readonly isStackOverflow: boolean;2503 readonly isStackOverflow: boolean;2426 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2518 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2427 }2519 }242825202429 /** @name EvmCoreErrorExitRevert (288) */2521 /** @name EvmCoreErrorExitRevert (290) */2430 export interface EvmCoreErrorExitRevert extends Enum {2522 export interface EvmCoreErrorExitRevert extends Enum {2431 readonly isReverted: boolean;2523 readonly isReverted: boolean;2432 readonly type: 'Reverted';2524 readonly type: 'Reverted';2433 }2525 }243425262435 /** @name EvmCoreErrorExitFatal (289) */2527 /** @name EvmCoreErrorExitFatal (291) */2436 export interface EvmCoreErrorExitFatal extends Enum {2528 export interface EvmCoreErrorExitFatal extends Enum {2437 readonly isNotSupported: boolean;2529 readonly isNotSupported: boolean;2438 readonly isUnhandledInterrupt: boolean;2530 readonly isUnhandledInterrupt: boolean;2443 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2535 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2444 }2536 }244525372446 /** @name FrameSystemPhase (290) */2538 /** @name FrameSystemPhase (292) */2447 export interface FrameSystemPhase extends Enum {2539 export interface FrameSystemPhase extends Enum {2448 readonly isApplyExtrinsic: boolean;2540 readonly isApplyExtrinsic: boolean;2449 readonly asApplyExtrinsic: u32;2541 readonly asApplyExtrinsic: u32;2452 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2544 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2453 }2545 }245425462455 /** @name FrameSystemLastRuntimeUpgradeInfo (292) */2547 /** @name FrameSystemLastRuntimeUpgradeInfo (294) */2456 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2548 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2457 readonly specVersion: Compact<u32>;2549 readonly specVersion: Compact<u32>;2458 readonly specName: Text;2550 readonly specName: Text;2459 }2551 }246025522461 /** @name FrameSystemLimitsBlockWeights (293) */2553 /** @name FrameSystemLimitsBlockWeights (295) */2462 export interface FrameSystemLimitsBlockWeights extends Struct {2554 export interface FrameSystemLimitsBlockWeights extends Struct {2463 readonly baseBlock: u64;2555 readonly baseBlock: u64;2464 readonly maxBlock: u64;2556 readonly maxBlock: u64;2465 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2557 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2466 }2558 }246725592468 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */2560 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (296) */2469 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2561 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2470 readonly normal: FrameSystemLimitsWeightsPerClass;2562 readonly normal: FrameSystemLimitsWeightsPerClass;2471 readonly operational: FrameSystemLimitsWeightsPerClass;2563 readonly operational: FrameSystemLimitsWeightsPerClass;2472 readonly mandatory: FrameSystemLimitsWeightsPerClass;2564 readonly mandatory: FrameSystemLimitsWeightsPerClass;2473 }2565 }247425662475 /** @name FrameSystemLimitsWeightsPerClass (295) */2567 /** @name FrameSystemLimitsWeightsPerClass (297) */2476 export interface FrameSystemLimitsWeightsPerClass extends Struct {2568 export interface FrameSystemLimitsWeightsPerClass extends Struct {2477 readonly baseExtrinsic: u64;2569 readonly baseExtrinsic: u64;2478 readonly maxExtrinsic: Option<u64>;2570 readonly maxExtrinsic: Option<u64>;2479 readonly maxTotal: Option<u64>;2571 readonly maxTotal: Option<u64>;2480 readonly reserved: Option<u64>;2572 readonly reserved: Option<u64>;2481 }2573 }248225742483 /** @name FrameSystemLimitsBlockLength (297) */2575 /** @name FrameSystemLimitsBlockLength (299) */2484 export interface FrameSystemLimitsBlockLength extends Struct {2576 export interface FrameSystemLimitsBlockLength extends Struct {2485 readonly max: FrameSupportWeightsPerDispatchClassU32;2577 readonly max: FrameSupportWeightsPerDispatchClassU32;2486 }2578 }248725792488 /** @name FrameSupportWeightsPerDispatchClassU32 (298) */2580 /** @name FrameSupportWeightsPerDispatchClassU32 (300) */2489 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2581 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2490 readonly normal: u32;2582 readonly normal: u32;2491 readonly operational: u32;2583 readonly operational: u32;2492 readonly mandatory: u32;2584 readonly mandatory: u32;2493 }2585 }249425862495 /** @name FrameSupportWeightsRuntimeDbWeight (299) */2587 /** @name FrameSupportWeightsRuntimeDbWeight (301) */2496 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2588 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2497 readonly read: u64;2589 readonly read: u64;2498 readonly write: u64;2590 readonly write: u64;2499 }2591 }250025922501 /** @name SpVersionRuntimeVersion (300) */2593 /** @name SpVersionRuntimeVersion (302) */2502 export interface SpVersionRuntimeVersion extends Struct {2594 export interface SpVersionRuntimeVersion extends Struct {2503 readonly specName: Text;2595 readonly specName: Text;2504 readonly implName: Text;2596 readonly implName: Text;2510 readonly stateVersion: u8;2602 readonly stateVersion: u8;2511 }2603 }251226042513 /** @name FrameSystemError (304) */2605 /** @name FrameSystemError (306) */2514 export interface FrameSystemError extends Enum {2606 export interface FrameSystemError extends Enum {2515 readonly isInvalidSpecName: boolean;2607 readonly isInvalidSpecName: boolean;2516 readonly isSpecVersionNeedsToIncrease: boolean;2608 readonly isSpecVersionNeedsToIncrease: boolean;2521 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2613 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2522 }2614 }252326152524 /** @name OrmlVestingModuleError (306) */2616 /** @name OrmlVestingModuleError (308) */2525 export interface OrmlVestingModuleError extends Enum {2617 export interface OrmlVestingModuleError extends Enum {2526 readonly isZeroVestingPeriod: boolean;2618 readonly isZeroVestingPeriod: boolean;2527 readonly isZeroVestingPeriodCount: boolean;2619 readonly isZeroVestingPeriodCount: boolean;2532 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2624 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2533 }2625 }253426262535 /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */2627 /** @name CumulusPalletXcmpQueueInboundChannelDetails (310) */2536 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2628 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2537 readonly sender: u32;2629 readonly sender: u32;2538 readonly state: CumulusPalletXcmpQueueInboundState;2630 readonly state: CumulusPalletXcmpQueueInboundState;2539 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2631 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2540 }2632 }254126332542 /** @name CumulusPalletXcmpQueueInboundState (309) */2634 /** @name CumulusPalletXcmpQueueInboundState (311) */2543 export interface CumulusPalletXcmpQueueInboundState extends Enum {2635 export interface CumulusPalletXcmpQueueInboundState extends Enum {2544 readonly isOk: boolean;2636 readonly isOk: boolean;2545 readonly isSuspended: boolean;2637 readonly isSuspended: boolean;2546 readonly type: 'Ok' | 'Suspended';2638 readonly type: 'Ok' | 'Suspended';2547 }2639 }254826402549 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */2641 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (314) */2550 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2642 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2551 readonly isConcatenatedVersionedXcm: boolean;2643 readonly isConcatenatedVersionedXcm: boolean;2552 readonly isConcatenatedEncodedBlob: boolean;2644 readonly isConcatenatedEncodedBlob: boolean;2553 readonly isSignals: boolean;2645 readonly isSignals: boolean;2554 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2646 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2555 }2647 }255626482557 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */2649 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (317) */2558 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2650 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2559 readonly recipient: u32;2651 readonly recipient: u32;2560 readonly state: CumulusPalletXcmpQueueOutboundState;2652 readonly state: CumulusPalletXcmpQueueOutboundState;2563 readonly lastIndex: u16;2655 readonly lastIndex: u16;2564 }2656 }256526572566 /** @name CumulusPalletXcmpQueueOutboundState (316) */2658 /** @name CumulusPalletXcmpQueueOutboundState (318) */2567 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2659 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2568 readonly isOk: boolean;2660 readonly isOk: boolean;2569 readonly isSuspended: boolean;2661 readonly isSuspended: boolean;2570 readonly type: 'Ok' | 'Suspended';2662 readonly type: 'Ok' | 'Suspended';2571 }2663 }257226642573 /** @name CumulusPalletXcmpQueueQueueConfigData (318) */2665 /** @name CumulusPalletXcmpQueueQueueConfigData (320) */2574 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2666 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2575 readonly suspendThreshold: u32;2667 readonly suspendThreshold: u32;2576 readonly dropThreshold: u32;2668 readonly dropThreshold: u32;2580 readonly xcmpMaxIndividualWeight: u64;2672 readonly xcmpMaxIndividualWeight: u64;2581 }2673 }258226742583 /** @name CumulusPalletXcmpQueueError (320) */2675 /** @name CumulusPalletXcmpQueueError (322) */2584 export interface CumulusPalletXcmpQueueError extends Enum {2676 export interface CumulusPalletXcmpQueueError extends Enum {2585 readonly isFailedToSend: boolean;2677 readonly isFailedToSend: boolean;2586 readonly isBadXcmOrigin: boolean;2678 readonly isBadXcmOrigin: boolean;2590 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2682 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2591 }2683 }259226842593 /** @name PalletXcmError (321) */2685 /** @name PalletXcmError (323) */2594 export interface PalletXcmError extends Enum {2686 export interface PalletXcmError extends Enum {2595 readonly isUnreachable: boolean;2687 readonly isUnreachable: boolean;2596 readonly isSendFailure: boolean;2688 readonly isSendFailure: boolean;2608 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2700 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2609 }2701 }261027022611 /** @name CumulusPalletXcmError (322) */2703 /** @name CumulusPalletXcmError (324) */2612 export type CumulusPalletXcmError = Null;2704 export type CumulusPalletXcmError = Null;261327052614 /** @name CumulusPalletDmpQueueConfigData (323) */2706 /** @name CumulusPalletDmpQueueConfigData (325) */2615 export interface CumulusPalletDmpQueueConfigData extends Struct {2707 export interface CumulusPalletDmpQueueConfigData extends Struct {2616 readonly maxIndividual: u64;2708 readonly maxIndividual: u64;2617 }2709 }261827102619 /** @name CumulusPalletDmpQueuePageIndexData (324) */2711 /** @name CumulusPalletDmpQueuePageIndexData (326) */2620 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2712 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2621 readonly beginUsed: u32;2713 readonly beginUsed: u32;2622 readonly endUsed: u32;2714 readonly endUsed: u32;2623 readonly overweightCount: u64;2715 readonly overweightCount: u64;2624 }2716 }262527172626 /** @name CumulusPalletDmpQueueError (327) */2718 /** @name CumulusPalletDmpQueueError (329) */2627 export interface CumulusPalletDmpQueueError extends Enum {2719 export interface CumulusPalletDmpQueueError extends Enum {2628 readonly isUnknown: boolean;2720 readonly isUnknown: boolean;2629 readonly isOverLimit: boolean;2721 readonly isOverLimit: boolean;2630 readonly type: 'Unknown' | 'OverLimit';2722 readonly type: 'Unknown' | 'OverLimit';2631 }2723 }263227242633 /** @name PalletUniqueError (331) */2725 /** @name PalletUniqueError (333) */2634 export interface PalletUniqueError extends Enum {2726 export interface PalletUniqueError extends Enum {2635 readonly isCollectionDecimalPointLimitExceeded: boolean;2727 readonly isCollectionDecimalPointLimitExceeded: boolean;2636 readonly isConfirmUnsetSponsorFail: boolean;2728 readonly isConfirmUnsetSponsorFail: boolean;2637 readonly isEmptyArgument: boolean;2729 readonly isEmptyArgument: boolean;2638 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2730 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2639 }2731 }264027322641 /** @name UpDataStructsCollection (332) */2733 /** @name UpDataStructsCollection (334) */2642 export interface UpDataStructsCollection extends Struct {2734 export interface UpDataStructsCollection extends Struct {2643 readonly owner: AccountId32;2735 readonly owner: AccountId32;2644 readonly mode: UpDataStructsCollectionMode;2736 readonly mode: UpDataStructsCollectionMode;2648 readonly sponsorship: UpDataStructsSponsorshipState;2740 readonly sponsorship: UpDataStructsSponsorshipState;2649 readonly limits: UpDataStructsCollectionLimits;2741 readonly limits: UpDataStructsCollectionLimits;2650 readonly permissions: UpDataStructsCollectionPermissions;2742 readonly permissions: UpDataStructsCollectionPermissions;2743 readonly externalCollection: bool;2651 }2744 }265227452653 /** @name UpDataStructsSponsorshipState (333) */2746 /** @name UpDataStructsSponsorshipState (335) */2654 export interface UpDataStructsSponsorshipState extends Enum {2747 export interface UpDataStructsSponsorshipState extends Enum {2655 readonly isDisabled: boolean;2748 readonly isDisabled: boolean;2656 readonly isUnconfirmed: boolean;2749 readonly isUnconfirmed: boolean;2660 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2753 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2661 }2754 }266227552663 /** @name UpDataStructsProperties (334) */2756 /** @name UpDataStructsProperties (336) */2664 export interface UpDataStructsProperties extends Struct {2757 export interface UpDataStructsProperties extends Struct {2665 readonly map: UpDataStructsPropertiesMapBoundedVec;2758 readonly map: UpDataStructsPropertiesMapBoundedVec;2666 readonly consumedSpace: u32;2759 readonly consumedSpace: u32;2667 readonly spaceLimit: u32;2760 readonly spaceLimit: u32;2668 }2761 }266927622670 /** @name UpDataStructsPropertiesMapBoundedVec (335) */2763 /** @name UpDataStructsPropertiesMapBoundedVec (337) */2671 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2764 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}267227652673 /** @name UpDataStructsPropertiesMapPropertyPermission (340) */2766 /** @name UpDataStructsPropertiesMapPropertyPermission (342) */2674 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2767 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}267527682676 /** @name UpDataStructsCollectionStats (347) */2769 /** @name UpDataStructsCollectionStats (349) */2677 export interface UpDataStructsCollectionStats extends Struct {2770 export interface UpDataStructsCollectionStats extends Struct {2678 readonly created: u32;2771 readonly created: u32;2679 readonly destroyed: u32;2772 readonly destroyed: u32;2707 readonly permissions: UpDataStructsCollectionPermissions;2800 readonly permissions: UpDataStructsCollectionPermissions;2708 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2801 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2709 readonly properties: Vec<UpDataStructsProperty>;2802 readonly properties: Vec<UpDataStructsProperty>;2803 readonly readOnly: bool;2710 }2804 }271128052712 /** @name UpDataStructsRmrkCollectionInfo (329) */2806 /** @name UpDataStructsRmrkCollectionInfo (329) */2745 /** @name UpDataStructsRmrkResourceInfo (336) */2839 /** @name UpDataStructsRmrkResourceInfo (336) */2746 export interface UpDataStructsRmrkResourceInfo extends Struct {2840 export interface UpDataStructsRmrkResourceInfo extends Struct {2747 readonly id: u32;2841 readonly id: u32;2748 readonly resource: UpDataStructsRmrkResourceTypes;2842 readonly resource: RmrkTraitsResourceResourceTypes;2749 readonly pending: bool;2843 readonly pending: bool;2750 readonly pendingRemoval: bool;2844 readonly pendingRemoval: bool;2751 }2845 }275228462753 /** @name UpDataStructsRmrkResourceTypes (339) */2847 /** @name UpDataStructsRmrkResourceTypes (339) */2754 export interface UpDataStructsRmrkResourceTypes extends Enum {2848 export interface UpDataStructsRmrkResourceTypes extends Enum {2755 readonly isBasic: boolean;2849 readonly isBasic: boolean;2756 readonly asBasic: UpDataStructsRmrkBasicResource;2850 readonly asBasic: RmrkTraitsResourceBasicResource;2757 readonly isComposable: boolean;2851 readonly isComposable: boolean;2758 readonly asComposable: UpDataStructsRmrkComposableResource;2852 readonly asComposable: RmrkTraitsResourceComposableResource;2759 readonly isSlot: boolean;2853 readonly isSlot: boolean;2760 readonly asSlot: UpDataStructsRmrkSlotResource;2854 readonly asSlot: RmrkTraitsResourceSlotResource;2761 readonly type: 'Basic' | 'Composable' | 'Slot';2855 readonly type: 'Basic' | 'Composable' | 'Slot';2762 }2856 }276328572889 readonly isPropertyKeyIsTooLong: boolean;2983 readonly isPropertyKeyIsTooLong: boolean;2890 readonly isInvalidCharacterInPropertyKey: boolean;2984 readonly isInvalidCharacterInPropertyKey: boolean;2891 readonly isEmptyPropertyKey: boolean;2985 readonly isEmptyPropertyKey: boolean;2986 readonly isCollectionIsExternal: boolean;2987 readonly isCollectionIsInternal: 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';2988 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';2893 }2989 }289429902895 /** @name PalletFungibleError (360) */2991 /** @name PalletFungibleError (360) */