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.tsdiffbeforeafterboth1553 recipient: 'Option<AccountId32>',1553 recipient: 'Option<AccountId32>',1554 royaltyAmount: 'Option<Permill>',1554 royaltyAmount: 'Option<Permill>',1555 metadata: 'Bytes',1555 metadata: 'Bytes',1556 transferable: 'bool',1556 },1557 },1557 burn_nft: {1558 burn_nft: {1558 collectionId: 'u32',1559 collectionId: 'u32',1559 nftId: 'u32',1560 nftId: 'u32',1560 },1561 },1562 send: {1563 rmrkCollectionId: 'u32',1564 rmrkNftId: 'u32',1565 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1566 },1567 accept_nft: {1568 rmrkCollectionId: 'u32',1569 rmrkNftId: 'u32',1570 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1571 },1572 reject_nft: {1573 rmrkCollectionId: 'u32',1574 rmrkNftId: 'u32',1575 },1576 accept_resource: {1577 rmrkCollectionId: 'u32',1578 rmrkNftId: 'u32',1579 rmrkResourceId: 'u32',1580 },1581 accept_resource_removal: {1582 rmrkCollectionId: 'u32',1583 rmrkNftId: 'u32',1584 rmrkResourceId: 'u32',1585 },1561 set_property: {1586 set_property: {1562 rmrkCollectionId: 'Compact<u32>',1587 rmrkCollectionId: 'Compact<u32>',1563 maybeNftId: 'Option<u32>',1588 maybeNftId: 'Option<u32>',1564 key: 'Bytes',1589 key: 'Bytes',1565 value: 'Bytes',1590 value: 'Bytes',1566 },1591 },1592 set_priority: {1593 rmrkCollectionId: 'u32',1594 rmrkNftId: 'u32',1595 priorities: 'Vec<u32>',1596 },1567 add_basic_resource: {1597 add_basic_resource: {1568 collectionId: 'u32',1598 rmrkCollectionId: 'u32',1569 nftId: 'u32',1599 nftId: 'u32',1570 resource: 'UpDataStructsRmrkBasicResource',1600 resource: 'RmrkTraitsResourceBasicResource',1571 },1601 },1572 add_composable_resource: {1602 add_composable_resource: {1573 collectionId: 'u32',1603 rmrkCollectionId: 'u32',1574 nftId: 'u32',1604 nftId: 'u32',1575 resourceId: 'Bytes',1605 resourceId: 'Bytes',1576 resource: 'UpDataStructsRmrkComposableResource',1606 resource: 'RmrkTraitsResourceComposableResource',1577 },1607 },1578 add_slot_resource: {1608 add_slot_resource: {1579 collectionId: 'u32',1609 rmrkCollectionId: 'u32',1580 nftId: 'u32',1610 nftId: 'u32',1581 resource: 'UpDataStructsRmrkSlotResource'1611 resource: 'RmrkTraitsResourceSlotResource',1582 }1612 },1613 remove_resource: {1614 rmrkCollectionId: 'u32',1615 nftId: 'u32',1616 resourceId: 'u32'1617 }1583 }1618 }1584 },1619 },1620 /**1621 * Lookup210: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1622 **/1623 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1624 _enum: {1625 AccountId: 'AccountId32',1626 CollectionAndNftTuple: '(u32,u32)'1627 }1628 },1585 /**1629 /**1586 * Lookup212: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1630 * Lookup214: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1587 **/1631 **/1588 UpDataStructsRmrkBasicResource: {1632 RmrkTraitsResourceBasicResource: {1589 src: 'Option<Bytes>',1633 src: 'Option<Bytes>',1590 metadata: 'Option<Bytes>',1634 metadata: 'Option<Bytes>',1591 license: 'Option<Bytes>',1635 license: 'Option<Bytes>',1592 thumb: 'Option<Bytes>'1636 thumb: 'Option<Bytes>'1593 },1637 },1594 /**1638 /**1595 * Lookup215: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1639 * Lookup217: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1596 **/1640 **/1597 UpDataStructsRmrkComposableResource: {1641 RmrkTraitsResourceComposableResource: {1598 parts: 'Vec<u32>',1642 parts: 'Vec<u32>',1599 base: 'u32',1643 base: 'u32',1600 src: 'Option<Bytes>',1644 src: 'Option<Bytes>',1601 metadata: 'Option<Bytes>',1645 metadata: 'Option<Bytes>',1602 license: 'Option<Bytes>',1646 license: 'Option<Bytes>',1603 thumb: 'Option<Bytes>'1647 thumb: 'Option<Bytes>'1604 },1648 },1605 /**1649 /**1606 * Lookup217: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1650 * Lookup219: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1607 **/1651 **/1608 UpDataStructsRmrkSlotResource: {1652 RmrkTraitsResourceSlotResource: {1609 base: 'u32',1653 base: 'u32',1610 src: 'Option<Bytes>',1654 src: 'Option<Bytes>',1611 metadata: 'Option<Bytes>',1655 metadata: 'Option<Bytes>',1612 slot: 'u32',1656 slot: 'u32',1613 license: 'Option<Bytes>',1657 license: 'Option<Bytes>',1614 thumb: 'Option<Bytes>'1658 thumb: 'Option<Bytes>'1615 },1659 },1616 /**1660 /**1617 * Lookup218: pallet_rmrk_equip::pallet::Call<T>1661 * Lookup220: pallet_rmrk_equip::pallet::Call<T>1618 **/1662 **/1619 PalletRmrkEquipCall: {1663 PalletRmrkEquipCall: {1620 _enum: {1664 _enum: {1621 create_base: {1665 create_base: {1622 baseType: 'Bytes',1666 baseType: 'Bytes',1623 symbol: 'Bytes',1667 symbol: 'Bytes',1624 parts: 'Vec<UpDataStructsRmrkPartType>',1668 parts: 'Vec<RmrkTraitsPartPartType>',1625 },1669 },1626 theme_add: {1670 theme_add: {1627 baseId: 'u32',1671 baseId: 'u32',1628 theme: 'UpDataStructsRmrkTheme'1672 theme: 'RmrkTraitsTheme'1629 }1673 }1630 }1674 }1631 },1675 },1632 /**1676 /**1633 * Lookup220: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1677 * Lookup222: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1634 **/1678 **/1635 UpDataStructsRmrkPartType: {1679 RmrkTraitsPartPartType: {1636 _enum: {1680 _enum: {1637 FixedPart: 'UpDataStructsRmrkFixedPart',1681 FixedPart: 'RmrkTraitsPartFixedPart',1638 SlotPart: 'UpDataStructsRmrkSlotPart'1682 SlotPart: 'RmrkTraitsPartSlotPart'1639 }1683 }1640 },1684 },1641 /**1685 /**1642 * Lookup222: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1686 * Lookup224: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1643 **/1687 **/1644 UpDataStructsRmrkFixedPart: {1688 RmrkTraitsPartFixedPart: {1645 id: 'u32',1689 id: 'u32',1646 z: 'u32',1690 z: 'u32',1647 src: 'Bytes'1691 src: 'Bytes'1648 },1692 },1649 /**1693 /**1650 * Lookup223: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1694 * Lookup225: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1651 **/1695 **/1652 UpDataStructsRmrkSlotPart: {1696 RmrkTraitsPartSlotPart: {1653 id: 'u32',1697 id: 'u32',1654 equippable: 'UpDataStructsRmrkEquippableList',1698 equippable: 'RmrkTraitsPartEquippableList',1655 src: 'Bytes',1699 src: 'Bytes',1656 z: 'u32'1700 z: 'u32'1657 },1701 },1658 /**1702 /**1659 * Lookup224: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1703 * Lookup226: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1660 **/1704 **/1661 UpDataStructsRmrkEquippableList: {1705 RmrkTraitsPartEquippableList: {1662 _enum: {1706 _enum: {1663 All: 'Null',1707 All: 'Null',1664 Empty: 'Null',1708 Empty: 'Null',1665 Custom: 'Vec<u32>'1709 Custom: 'Vec<u32>'1666 }1710 }1667 },1711 },1668 /**1712 /**1669 * Lookup226: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1713 * Lookup228: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1670 **/1714 **/1671 UpDataStructsRmrkTheme: {1715 RmrkTraitsTheme: {1672 name: 'Bytes',1716 name: 'Bytes',1673 properties: 'Vec<UpDataStructsRmrkThemeProperty>',1717 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1674 inherit: 'bool'1718 inherit: 'bool'1675 },1719 },1676 /**1720 /**1677 * Lookup228: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1721 * Lookup230: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1678 **/1722 **/1679 UpDataStructsRmrkThemeProperty: {1723 RmrkTraitsThemeThemeProperty: {1680 key: 'Bytes',1724 key: 'Bytes',1681 value: 'Bytes'1725 value: 'Bytes'1682 },1726 },1683 /**1727 /**1684 * Lookup229: pallet_evm::pallet::Call<T>1728 * Lookup231: pallet_evm::pallet::Call<T>1685 **/1729 **/1686 PalletEvmCall: {1730 PalletEvmCall: {1687 _enum: {1731 _enum: {1688 withdraw: {1732 withdraw: {1723 }1767 }1724 }1768 }1725 },1769 },1726 /**1770 /**1727 * Lookup235: pallet_ethereum::pallet::Call<T>1771 * Lookup237: pallet_ethereum::pallet::Call<T>1728 **/1772 **/1729 PalletEthereumCall: {1773 PalletEthereumCall: {1730 _enum: {1774 _enum: {1731 transact: {1775 transact: {1732 transaction: 'EthereumTransactionTransactionV2'1776 transaction: 'EthereumTransactionTransactionV2'1733 }1777 }1734 }1778 }1735 },1779 },1736 /**1780 /**1737 * Lookup236: ethereum::transaction::TransactionV21781 * Lookup238: ethereum::transaction::TransactionV21738 **/1782 **/1739 EthereumTransactionTransactionV2: {1783 EthereumTransactionTransactionV2: {1740 _enum: {1784 _enum: {1741 Legacy: 'EthereumTransactionLegacyTransaction',1785 Legacy: 'EthereumTransactionLegacyTransaction',1742 EIP2930: 'EthereumTransactionEip2930Transaction',1786 EIP2930: 'EthereumTransactionEip2930Transaction',1743 EIP1559: 'EthereumTransactionEip1559Transaction'1787 EIP1559: 'EthereumTransactionEip1559Transaction'1744 }1788 }1745 },1789 },1746 /**1790 /**1747 * Lookup237: ethereum::transaction::LegacyTransaction1791 * Lookup239: ethereum::transaction::LegacyTransaction1748 **/1792 **/1749 EthereumTransactionLegacyTransaction: {1793 EthereumTransactionLegacyTransaction: {1750 nonce: 'U256',1794 nonce: 'U256',1751 gasPrice: 'U256',1795 gasPrice: 'U256',1755 input: 'Bytes',1799 input: 'Bytes',1756 signature: 'EthereumTransactionTransactionSignature'1800 signature: 'EthereumTransactionTransactionSignature'1757 },1801 },1758 /**1802 /**1759 * Lookup238: ethereum::transaction::TransactionAction1803 * Lookup240: ethereum::transaction::TransactionAction1760 **/1804 **/1761 EthereumTransactionTransactionAction: {1805 EthereumTransactionTransactionAction: {1762 _enum: {1806 _enum: {1763 Call: 'H160',1807 Call: 'H160',1764 Create: 'Null'1808 Create: 'Null'1765 }1809 }1766 },1810 },1767 /**1811 /**1768 * Lookup239: ethereum::transaction::TransactionSignature1812 * Lookup241: ethereum::transaction::TransactionSignature1769 **/1813 **/1770 EthereumTransactionTransactionSignature: {1814 EthereumTransactionTransactionSignature: {1771 v: 'u64',1815 v: 'u64',1772 r: 'H256',1816 r: 'H256',1773 s: 'H256'1817 s: 'H256'1774 },1818 },1775 /**1819 /**1776 * Lookup241: ethereum::transaction::EIP2930Transaction1820 * Lookup243: ethereum::transaction::EIP2930Transaction1777 **/1821 **/1778 EthereumTransactionEip2930Transaction: {1822 EthereumTransactionEip2930Transaction: {1779 chainId: 'u64',1823 chainId: 'u64',1780 nonce: 'U256',1824 nonce: 'U256',1788 r: 'H256',1832 r: 'H256',1789 s: 'H256'1833 s: 'H256'1790 },1834 },1791 /**1835 /**1792 * Lookup243: ethereum::transaction::AccessListItem1836 * Lookup245: ethereum::transaction::AccessListItem1793 **/1837 **/1794 EthereumTransactionAccessListItem: {1838 EthereumTransactionAccessListItem: {1795 address: 'H160',1839 address: 'H160',1796 storageKeys: 'Vec<H256>'1840 storageKeys: 'Vec<H256>'1797 },1841 },1798 /**1842 /**1799 * Lookup244: ethereum::transaction::EIP1559Transaction1843 * Lookup246: ethereum::transaction::EIP1559Transaction1800 **/1844 **/1801 EthereumTransactionEip1559Transaction: {1845 EthereumTransactionEip1559Transaction: {1802 chainId: 'u64',1846 chainId: 'u64',1803 nonce: 'U256',1847 nonce: 'U256',1812 r: 'H256',1856 r: 'H256',1813 s: 'H256'1857 s: 'H256'1814 },1858 },1815 /**1859 /**1816 * Lookup245: pallet_evm_migration::pallet::Call<T>1860 * Lookup247: pallet_evm_migration::pallet::Call<T>1817 **/1861 **/1818 PalletEvmMigrationCall: {1862 PalletEvmMigrationCall: {1819 _enum: {1863 _enum: {1820 begin: {1864 begin: {1830 }1874 }1831 }1875 }1832 },1876 },1833 /**1877 /**1834 * Lookup248: pallet_sudo::pallet::Event<T>1878 * Lookup250: pallet_sudo::pallet::Event<T>1835 **/1879 **/1836 PalletSudoEvent: {1880 PalletSudoEvent: {1837 _enum: {1881 _enum: {1838 Sudid: {1882 Sudid: {1846 }1890 }1847 }1891 }1848 },1892 },1849 /**1893 /**1850 * Lookup250: sp_runtime::DispatchError1894 * Lookup252: sp_runtime::DispatchError1851 **/1895 **/1852 SpRuntimeDispatchError: {1896 SpRuntimeDispatchError: {1853 _enum: {1897 _enum: {1854 Other: 'Null',1898 Other: 'Null',1863 Transactional: 'SpRuntimeTransactionalError'1907 Transactional: 'SpRuntimeTransactionalError'1864 }1908 }1865 },1909 },1866 /**1910 /**1867 * Lookup251: sp_runtime::ModuleError1911 * Lookup253: sp_runtime::ModuleError1868 **/1912 **/1869 SpRuntimeModuleError: {1913 SpRuntimeModuleError: {1870 index: 'u8',1914 index: 'u8',1871 error: '[u8;4]'1915 error: '[u8;4]'1872 },1916 },1873 /**1917 /**1874 * Lookup252: sp_runtime::TokenError1918 * Lookup254: sp_runtime::TokenError1875 **/1919 **/1876 SpRuntimeTokenError: {1920 SpRuntimeTokenError: {1877 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1921 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1878 },1922 },1879 /**1923 /**1880 * Lookup253: sp_runtime::ArithmeticError1924 * Lookup255: sp_runtime::ArithmeticError1881 **/1925 **/1882 SpRuntimeArithmeticError: {1926 SpRuntimeArithmeticError: {1883 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1927 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1884 },1928 },1885 /**1929 /**1886 * Lookup254: sp_runtime::TransactionalError1930 * Lookup256: sp_runtime::TransactionalError1887 **/1931 **/1888 SpRuntimeTransactionalError: {1932 SpRuntimeTransactionalError: {1889 _enum: ['LimitReached', 'NoLayer']1933 _enum: ['LimitReached', 'NoLayer']1890 },1934 },1891 /**1935 /**1892 * Lookup255: pallet_sudo::pallet::Error<T>1936 * Lookup257: pallet_sudo::pallet::Error<T>1893 **/1937 **/1894 PalletSudoError: {1938 PalletSudoError: {1895 _enum: ['RequireSudo']1939 _enum: ['RequireSudo']1896 },1940 },1897 /**1941 /**1898 * Lookup256: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1942 * Lookup258: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1899 **/1943 **/1900 FrameSystemAccountInfo: {1944 FrameSystemAccountInfo: {1901 nonce: 'u32',1945 nonce: 'u32',1902 consumers: 'u32',1946 consumers: 'u32',1903 providers: 'u32',1947 providers: 'u32',1904 sufficients: 'u32',1948 sufficients: 'u32',1905 data: 'PalletBalancesAccountData'1949 data: 'PalletBalancesAccountData'1906 },1950 },1907 /**1951 /**1908 * Lookup257: frame_support::weights::PerDispatchClass<T>1952 * Lookup259: frame_support::weights::PerDispatchClass<T>1909 **/1953 **/1910 FrameSupportWeightsPerDispatchClassU64: {1954 FrameSupportWeightsPerDispatchClassU64: {1911 normal: 'u64',1955 normal: 'u64',1912 operational: 'u64',1956 operational: 'u64',1913 mandatory: 'u64'1957 mandatory: 'u64'1914 },1958 },1915 /**1959 /**1916 * Lookup258: sp_runtime::generic::digest::Digest1960 * Lookup260: sp_runtime::generic::digest::Digest1917 **/1961 **/1918 SpRuntimeDigest: {1962 SpRuntimeDigest: {1919 logs: 'Vec<SpRuntimeDigestDigestItem>'1963 logs: 'Vec<SpRuntimeDigestDigestItem>'1920 },1964 },1921 /**1965 /**1922 * Lookup260: sp_runtime::generic::digest::DigestItem1966 * Lookup262: sp_runtime::generic::digest::DigestItem1923 **/1967 **/1924 SpRuntimeDigestDigestItem: {1968 SpRuntimeDigestDigestItem: {1925 _enum: {1969 _enum: {1926 Other: 'Bytes',1970 Other: 'Bytes',1934 RuntimeEnvironmentUpdated: 'Null'1978 RuntimeEnvironmentUpdated: 'Null'1935 }1979 }1936 },1980 },1937 /**1981 /**1938 * Lookup262: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1982 * Lookup264: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1939 **/1983 **/1940 FrameSystemEventRecord: {1984 FrameSystemEventRecord: {1941 phase: 'FrameSystemPhase',1985 phase: 'FrameSystemPhase',1942 event: 'Event',1986 event: 'Event',1943 topics: 'Vec<H256>'1987 topics: 'Vec<H256>'1944 },1988 },1945 /**1989 /**1946 * Lookup264: frame_system::pallet::Event<T>1990 * Lookup266: frame_system::pallet::Event<T>1947 **/1991 **/1948 FrameSystemEvent: {1992 FrameSystemEvent: {1949 _enum: {1993 _enum: {1950 ExtrinsicSuccess: {1994 ExtrinsicSuccess: {1970 }2014 }1971 }2015 }1972 },2016 },1973 /**2017 /**1974 * Lookup265: frame_support::weights::DispatchInfo2018 * Lookup267: frame_support::weights::DispatchInfo1975 **/2019 **/1976 FrameSupportWeightsDispatchInfo: {2020 FrameSupportWeightsDispatchInfo: {1977 weight: 'u64',2021 weight: 'u64',1978 class: 'FrameSupportWeightsDispatchClass',2022 class: 'FrameSupportWeightsDispatchClass',1979 paysFee: 'FrameSupportWeightsPays'2023 paysFee: 'FrameSupportWeightsPays'1980 },2024 },1981 /**2025 /**1982 * Lookup266: frame_support::weights::DispatchClass2026 * Lookup268: frame_support::weights::DispatchClass1983 **/2027 **/1984 FrameSupportWeightsDispatchClass: {2028 FrameSupportWeightsDispatchClass: {1985 _enum: ['Normal', 'Operational', 'Mandatory']2029 _enum: ['Normal', 'Operational', 'Mandatory']1986 },2030 },1987 /**2031 /**1988 * Lookup267: frame_support::weights::Pays2032 * Lookup269: frame_support::weights::Pays1989 **/2033 **/1990 FrameSupportWeightsPays: {2034 FrameSupportWeightsPays: {1991 _enum: ['Yes', 'No']2035 _enum: ['Yes', 'No']1992 },2036 },1993 /**2037 /**1994 * Lookup268: orml_vesting::module::Event<T>2038 * Lookup270: orml_vesting::module::Event<T>1995 **/2039 **/1996 OrmlVestingModuleEvent: {2040 OrmlVestingModuleEvent: {1997 _enum: {2041 _enum: {1998 VestingScheduleAdded: {2042 VestingScheduleAdded: {2009 }2053 }2010 }2054 }2011 },2055 },2012 /**2056 /**2013 * Lookup269: cumulus_pallet_xcmp_queue::pallet::Event<T>2057 * Lookup271: cumulus_pallet_xcmp_queue::pallet::Event<T>2014 **/2058 **/2015 CumulusPalletXcmpQueueEvent: {2059 CumulusPalletXcmpQueueEvent: {2016 _enum: {2060 _enum: {2017 Success: 'Option<H256>',2061 Success: 'Option<H256>',2024 OverweightServiced: '(u64,u64)'2068 OverweightServiced: '(u64,u64)'2025 }2069 }2026 },2070 },2027 /**2071 /**2028 * Lookup270: pallet_xcm::pallet::Event<T>2072 * Lookup272: pallet_xcm::pallet::Event<T>2029 **/2073 **/2030 PalletXcmEvent: {2074 PalletXcmEvent: {2031 _enum: {2075 _enum: {2032 Attempted: 'XcmV2TraitsOutcome',2076 Attempted: 'XcmV2TraitsOutcome',2047 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2091 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2048 }2092 }2049 },2093 },2050 /**2094 /**2051 * Lookup271: xcm::v2::traits::Outcome2095 * Lookup273: xcm::v2::traits::Outcome2052 **/2096 **/2053 XcmV2TraitsOutcome: {2097 XcmV2TraitsOutcome: {2054 _enum: {2098 _enum: {2055 Complete: 'u64',2099 Complete: 'u64',2056 Incomplete: '(u64,XcmV2TraitsError)',2100 Incomplete: '(u64,XcmV2TraitsError)',2057 Error: 'XcmV2TraitsError'2101 Error: 'XcmV2TraitsError'2058 }2102 }2059 },2103 },2060 /**2104 /**2061 * Lookup273: cumulus_pallet_xcm::pallet::Event<T>2105 * Lookup275: cumulus_pallet_xcm::pallet::Event<T>2062 **/2106 **/2063 CumulusPalletXcmEvent: {2107 CumulusPalletXcmEvent: {2064 _enum: {2108 _enum: {2065 InvalidFormat: '[u8;8]',2109 InvalidFormat: '[u8;8]',2066 UnsupportedVersion: '[u8;8]',2110 UnsupportedVersion: '[u8;8]',2067 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2111 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2068 }2112 }2069 },2113 },2070 /**2114 /**2071 * Lookup274: cumulus_pallet_dmp_queue::pallet::Event<T>2115 * Lookup276: cumulus_pallet_dmp_queue::pallet::Event<T>2072 **/2116 **/2073 CumulusPalletDmpQueueEvent: {2117 CumulusPalletDmpQueueEvent: {2074 _enum: {2118 _enum: {2075 InvalidFormat: '[u8;32]',2119 InvalidFormat: '[u8;32]',2080 OverweightServiced: '(u64,u64)'2124 OverweightServiced: '(u64,u64)'2081 }2125 }2082 },2126 },2083 /**2127 /**2084 * Lookup275: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2128 * Lookup277: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2085 **/2129 **/2086 PalletUniqueRawEvent: {2130 PalletUniqueRawEvent: {2087 _enum: {2131 _enum: {2088 CollectionSponsorRemoved: 'u32',2132 CollectionSponsorRemoved: 'u32',2097 CollectionPermissionSet: 'u32'2141 CollectionPermissionSet: 'u32'2098 }2142 }2099 },2143 },2100 /**2144 /**2101 * Lookup276: pallet_common::pallet::Event<T>2145 * Lookup278: pallet_common::pallet::Event<T>2102 **/2146 **/2103 PalletCommonEvent: {2147 PalletCommonEvent: {2104 _enum: {2148 _enum: {2105 CollectionCreated: '(u32,u8,AccountId32)',2149 CollectionCreated: '(u32,u8,AccountId32)',2115 PropertyPermissionSet: '(u32,Bytes)'2159 PropertyPermissionSet: '(u32,Bytes)'2116 }2160 }2117 },2161 },2118 /**2162 /**2119 * Lookup277: pallet_structure::pallet::Event<T>2163 * Lookup279: pallet_structure::pallet::Event<T>2120 **/2164 **/2121 PalletStructureEvent: {2165 PalletStructureEvent: {2122 _enum: {2166 _enum: {2123 Executed: 'Result<Null, SpRuntimeDispatchError>'2167 Executed: 'Result<Null, SpRuntimeDispatchError>'2124 }2168 }2125 },2169 },2126 /**2170 /**2127 * Lookup278: pallet_rmrk_core::pallet::Event<T>2171 * Lookup280: pallet_rmrk_core::pallet::Event<T>2128 **/2172 **/2129 PalletRmrkCoreEvent: {2173 PalletRmrkCoreEvent: {2130 _enum: {2174 _enum: {2131 CollectionCreated: {2175 CollectionCreated: {2154 owner: 'AccountId32',2198 owner: 'AccountId32',2155 nftId: 'u32',2199 nftId: 'u32',2156 },2200 },2201 NFTSent: {2202 sender: 'AccountId32',2203 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2204 collectionId: 'u32',2205 nftId: 'u32',2206 approvalRequired: 'bool',2207 },2208 NFTAccepted: {2209 sender: 'AccountId32',2210 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2211 collectionId: 'u32',2212 nftId: 'u32',2213 },2214 NFTRejected: {2215 sender: 'AccountId32',2216 collectionId: 'u32',2217 nftId: 'u32',2218 },2157 PropertySet: {2219 PropertySet: {2158 collectionId: 'u32',2220 collectionId: 'u32',2159 maybeNftId: 'Option<u32>',2221 maybeNftId: 'Option<u32>',2163 ResourceAdded: {2225 ResourceAdded: {2164 nftId: 'u32',2226 nftId: 'u32',2165 resourceId: 'u32'2227 resourceId: 'u32',2166 }2228 },2229 ResourceRemoval: {2230 nftId: 'u32',2231 resourceId: 'u32',2232 },2233 ResourceAccepted: {2234 nftId: 'u32',2235 resourceId: 'u32',2236 },2237 ResourceRemovalAccepted: {2238 nftId: 'u32',2239 resourceId: 'u32',2240 },2241 PrioritySet: {2242 collectionId: 'u32',2243 nftId: 'u32'2244 }2167 }2245 }2168 },2246 },2169 /**2247 /**2170 * Lookup279: pallet_rmrk_equip::pallet::Event<T>2248 * Lookup281: pallet_rmrk_equip::pallet::Event<T>2171 **/2249 **/2172 PalletRmrkEquipEvent: {2250 PalletRmrkEquipEvent: {2173 _enum: {2251 _enum: {2174 BaseCreated: {2252 BaseCreated: {2177 }2255 }2178 }2256 }2179 },2257 },2180 /**2258 /**2181 * Lookup280: pallet_evm::pallet::Event<T>2259 * Lookup282: pallet_evm::pallet::Event<T>2182 **/2260 **/2183 PalletEvmEvent: {2261 PalletEvmEvent: {2184 _enum: {2262 _enum: {2185 Log: 'EthereumLog',2263 Log: 'EthereumLog',2191 BalanceWithdraw: '(AccountId32,H160,U256)'2269 BalanceWithdraw: '(AccountId32,H160,U256)'2192 }2270 }2193 },2271 },2194 /**2272 /**2195 * Lookup281: ethereum::log::Log2273 * Lookup283: ethereum::log::Log2196 **/2274 **/2197 EthereumLog: {2275 EthereumLog: {2198 address: 'H160',2276 address: 'H160',2199 topics: 'Vec<H256>',2277 topics: 'Vec<H256>',2200 data: 'Bytes'2278 data: 'Bytes'2201 },2279 },2202 /**2280 /**2203 * Lookup282: pallet_ethereum::pallet::Event2281 * Lookup284: pallet_ethereum::pallet::Event2204 **/2282 **/2205 PalletEthereumEvent: {2283 PalletEthereumEvent: {2206 _enum: {2284 _enum: {2207 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2285 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2208 }2286 }2209 },2287 },2210 /**2288 /**2211 * Lookup283: evm_core::error::ExitReason2289 * Lookup285: evm_core::error::ExitReason2212 **/2290 **/2213 EvmCoreErrorExitReason: {2291 EvmCoreErrorExitReason: {2214 _enum: {2292 _enum: {2215 Succeed: 'EvmCoreErrorExitSucceed',2293 Succeed: 'EvmCoreErrorExitSucceed',2218 Fatal: 'EvmCoreErrorExitFatal'2296 Fatal: 'EvmCoreErrorExitFatal'2219 }2297 }2220 },2298 },2221 /**2299 /**2222 * Lookup284: evm_core::error::ExitSucceed2300 * Lookup286: evm_core::error::ExitSucceed2223 **/2301 **/2224 EvmCoreErrorExitSucceed: {2302 EvmCoreErrorExitSucceed: {2225 _enum: ['Stopped', 'Returned', 'Suicided']2303 _enum: ['Stopped', 'Returned', 'Suicided']2226 },2304 },2227 /**2305 /**2228 * Lookup285: evm_core::error::ExitError2306 * Lookup287: evm_core::error::ExitError2229 **/2307 **/2230 EvmCoreErrorExitError: {2308 EvmCoreErrorExitError: {2231 _enum: {2309 _enum: {2232 StackUnderflow: 'Null',2310 StackUnderflow: 'Null',2246 InvalidCode: 'Null'2324 InvalidCode: 'Null'2247 }2325 }2248 },2326 },2249 /**2327 /**2250 * Lookup288: evm_core::error::ExitRevert2328 * Lookup290: evm_core::error::ExitRevert2251 **/2329 **/2252 EvmCoreErrorExitRevert: {2330 EvmCoreErrorExitRevert: {2253 _enum: ['Reverted']2331 _enum: ['Reverted']2254 },2332 },2255 /**2333 /**2256 * Lookup289: evm_core::error::ExitFatal2334 * Lookup291: evm_core::error::ExitFatal2257 **/2335 **/2258 EvmCoreErrorExitFatal: {2336 EvmCoreErrorExitFatal: {2259 _enum: {2337 _enum: {2260 NotSupported: 'Null',2338 NotSupported: 'Null',2263 Other: 'Text'2341 Other: 'Text'2264 }2342 }2265 },2343 },2266 /**2344 /**2267 * Lookup290: frame_system::Phase2345 * Lookup292: frame_system::Phase2268 **/2346 **/2269 FrameSystemPhase: {2347 FrameSystemPhase: {2270 _enum: {2348 _enum: {2271 ApplyExtrinsic: 'u32',2349 ApplyExtrinsic: 'u32',2272 Finalization: 'Null',2350 Finalization: 'Null',2273 Initialization: 'Null'2351 Initialization: 'Null'2274 }2352 }2275 },2353 },2276 /**2354 /**2277 * Lookup292: frame_system::LastRuntimeUpgradeInfo2355 * Lookup294: frame_system::LastRuntimeUpgradeInfo2278 **/2356 **/2279 FrameSystemLastRuntimeUpgradeInfo: {2357 FrameSystemLastRuntimeUpgradeInfo: {2280 specVersion: 'Compact<u32>',2358 specVersion: 'Compact<u32>',2281 specName: 'Text'2359 specName: 'Text'2282 },2360 },2283 /**2361 /**2284 * Lookup293: frame_system::limits::BlockWeights2362 * Lookup295: frame_system::limits::BlockWeights2285 **/2363 **/2286 FrameSystemLimitsBlockWeights: {2364 FrameSystemLimitsBlockWeights: {2287 baseBlock: 'u64',2365 baseBlock: 'u64',2288 maxBlock: 'u64',2366 maxBlock: 'u64',2289 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2367 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2290 },2368 },2291 /**2369 /**2292 * Lookup294: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2370 * Lookup296: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2293 **/2371 **/2294 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2372 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2295 normal: 'FrameSystemLimitsWeightsPerClass',2373 normal: 'FrameSystemLimitsWeightsPerClass',2296 operational: 'FrameSystemLimitsWeightsPerClass',2374 operational: 'FrameSystemLimitsWeightsPerClass',2297 mandatory: 'FrameSystemLimitsWeightsPerClass'2375 mandatory: 'FrameSystemLimitsWeightsPerClass'2298 },2376 },2299 /**2377 /**2300 * Lookup295: frame_system::limits::WeightsPerClass2378 * Lookup297: frame_system::limits::WeightsPerClass2301 **/2379 **/2302 FrameSystemLimitsWeightsPerClass: {2380 FrameSystemLimitsWeightsPerClass: {2303 baseExtrinsic: 'u64',2381 baseExtrinsic: 'u64',2304 maxExtrinsic: 'Option<u64>',2382 maxExtrinsic: 'Option<u64>',2305 maxTotal: 'Option<u64>',2383 maxTotal: 'Option<u64>',2306 reserved: 'Option<u64>'2384 reserved: 'Option<u64>'2307 },2385 },2308 /**2386 /**2309 * Lookup297: frame_system::limits::BlockLength2387 * Lookup299: frame_system::limits::BlockLength2310 **/2388 **/2311 FrameSystemLimitsBlockLength: {2389 FrameSystemLimitsBlockLength: {2312 max: 'FrameSupportWeightsPerDispatchClassU32'2390 max: 'FrameSupportWeightsPerDispatchClassU32'2313 },2391 },2314 /**2392 /**2315 * Lookup298: frame_support::weights::PerDispatchClass<T>2393 * Lookup300: frame_support::weights::PerDispatchClass<T>2316 **/2394 **/2317 FrameSupportWeightsPerDispatchClassU32: {2395 FrameSupportWeightsPerDispatchClassU32: {2318 normal: 'u32',2396 normal: 'u32',2319 operational: 'u32',2397 operational: 'u32',2320 mandatory: 'u32'2398 mandatory: 'u32'2321 },2399 },2322 /**2400 /**2323 * Lookup299: frame_support::weights::RuntimeDbWeight2401 * Lookup301: frame_support::weights::RuntimeDbWeight2324 **/2402 **/2325 FrameSupportWeightsRuntimeDbWeight: {2403 FrameSupportWeightsRuntimeDbWeight: {2326 read: 'u64',2404 read: 'u64',2327 write: 'u64'2405 write: 'u64'2328 },2406 },2329 /**2407 /**2330 * Lookup300: sp_version::RuntimeVersion2408 * Lookup302: sp_version::RuntimeVersion2331 **/2409 **/2332 SpVersionRuntimeVersion: {2410 SpVersionRuntimeVersion: {2333 specName: 'Text',2411 specName: 'Text',2334 implName: 'Text',2412 implName: 'Text',2339 transactionVersion: 'u32',2417 transactionVersion: 'u32',2340 stateVersion: 'u8'2418 stateVersion: 'u8'2341 },2419 },2342 /**2420 /**2343 * Lookup304: frame_system::pallet::Error<T>2421 * Lookup306: frame_system::pallet::Error<T>2344 **/2422 **/2345 FrameSystemError: {2423 FrameSystemError: {2346 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2424 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2347 },2425 },2348 /**2426 /**2349 * Lookup306: orml_vesting::module::Error<T>2427 * Lookup308: orml_vesting::module::Error<T>2350 **/2428 **/2351 OrmlVestingModuleError: {2429 OrmlVestingModuleError: {2352 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2430 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2353 },2431 },2354 /**2432 /**2355 * Lookup308: cumulus_pallet_xcmp_queue::InboundChannelDetails2433 * Lookup310: cumulus_pallet_xcmp_queue::InboundChannelDetails2356 **/2434 **/2357 CumulusPalletXcmpQueueInboundChannelDetails: {2435 CumulusPalletXcmpQueueInboundChannelDetails: {2358 sender: 'u32',2436 sender: 'u32',2359 state: 'CumulusPalletXcmpQueueInboundState',2437 state: 'CumulusPalletXcmpQueueInboundState',2360 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2438 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2361 },2439 },2362 /**2440 /**2363 * Lookup309: cumulus_pallet_xcmp_queue::InboundState2441 * Lookup311: cumulus_pallet_xcmp_queue::InboundState2364 **/2442 **/2365 CumulusPalletXcmpQueueInboundState: {2443 CumulusPalletXcmpQueueInboundState: {2366 _enum: ['Ok', 'Suspended']2444 _enum: ['Ok', 'Suspended']2367 },2445 },2368 /**2446 /**2369 * Lookup312: polkadot_parachain::primitives::XcmpMessageFormat2447 * Lookup314: polkadot_parachain::primitives::XcmpMessageFormat2370 **/2448 **/2371 PolkadotParachainPrimitivesXcmpMessageFormat: {2449 PolkadotParachainPrimitivesXcmpMessageFormat: {2372 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2450 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2373 },2451 },2374 /**2452 /**2375 * Lookup315: cumulus_pallet_xcmp_queue::OutboundChannelDetails2453 * Lookup317: cumulus_pallet_xcmp_queue::OutboundChannelDetails2376 **/2454 **/2377 CumulusPalletXcmpQueueOutboundChannelDetails: {2455 CumulusPalletXcmpQueueOutboundChannelDetails: {2378 recipient: 'u32',2456 recipient: 'u32',2379 state: 'CumulusPalletXcmpQueueOutboundState',2457 state: 'CumulusPalletXcmpQueueOutboundState',2380 signalsExist: 'bool',2458 signalsExist: 'bool',2381 firstIndex: 'u16',2459 firstIndex: 'u16',2382 lastIndex: 'u16'2460 lastIndex: 'u16'2383 },2461 },2384 /**2462 /**2385 * Lookup316: cumulus_pallet_xcmp_queue::OutboundState2463 * Lookup318: cumulus_pallet_xcmp_queue::OutboundState2386 **/2464 **/2387 CumulusPalletXcmpQueueOutboundState: {2465 CumulusPalletXcmpQueueOutboundState: {2388 _enum: ['Ok', 'Suspended']2466 _enum: ['Ok', 'Suspended']2389 },2467 },2390 /**2468 /**2391 * Lookup318: cumulus_pallet_xcmp_queue::QueueConfigData2469 * Lookup320: cumulus_pallet_xcmp_queue::QueueConfigData2392 **/2470 **/2393 CumulusPalletXcmpQueueQueueConfigData: {2471 CumulusPalletXcmpQueueQueueConfigData: {2394 suspendThreshold: 'u32',2472 suspendThreshold: 'u32',2395 dropThreshold: 'u32',2473 dropThreshold: 'u32',2398 weightRestrictDecay: 'u64',2476 weightRestrictDecay: 'u64',2399 xcmpMaxIndividualWeight: 'u64'2477 xcmpMaxIndividualWeight: 'u64'2400 },2478 },2401 /**2479 /**2402 * Lookup320: cumulus_pallet_xcmp_queue::pallet::Error<T>2480 * Lookup322: cumulus_pallet_xcmp_queue::pallet::Error<T>2403 **/2481 **/2404 CumulusPalletXcmpQueueError: {2482 CumulusPalletXcmpQueueError: {2405 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2483 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2406 },2484 },2407 /**2485 /**2408 * Lookup321: pallet_xcm::pallet::Error<T>2486 * Lookup323: pallet_xcm::pallet::Error<T>2409 **/2487 **/2410 PalletXcmError: {2488 PalletXcmError: {2411 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2489 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2412 },2490 },2413 /**2491 /**2414 * Lookup322: cumulus_pallet_xcm::pallet::Error<T>2492 * Lookup324: cumulus_pallet_xcm::pallet::Error<T>2415 **/2493 **/2416 CumulusPalletXcmError: 'Null',2494 CumulusPalletXcmError: 'Null',2417 /**2495 /**2418 * Lookup323: cumulus_pallet_dmp_queue::ConfigData2496 * Lookup325: cumulus_pallet_dmp_queue::ConfigData2419 **/2497 **/2420 CumulusPalletDmpQueueConfigData: {2498 CumulusPalletDmpQueueConfigData: {2421 maxIndividual: 'u64'2499 maxIndividual: 'u64'2422 },2500 },2423 /**2501 /**2424 * Lookup324: cumulus_pallet_dmp_queue::PageIndexData2502 * Lookup326: cumulus_pallet_dmp_queue::PageIndexData2425 **/2503 **/2426 CumulusPalletDmpQueuePageIndexData: {2504 CumulusPalletDmpQueuePageIndexData: {2427 beginUsed: 'u32',2505 beginUsed: 'u32',2428 endUsed: 'u32',2506 endUsed: 'u32',2429 overweightCount: 'u64'2507 overweightCount: 'u64'2430 },2508 },2431 /**2509 /**2432 * Lookup327: cumulus_pallet_dmp_queue::pallet::Error<T>2510 * Lookup329: cumulus_pallet_dmp_queue::pallet::Error<T>2433 **/2511 **/2434 CumulusPalletDmpQueueError: {2512 CumulusPalletDmpQueueError: {2435 _enum: ['Unknown', 'OverLimit']2513 _enum: ['Unknown', 'OverLimit']2436 },2514 },2437 /**2515 /**2438 * Lookup331: pallet_unique::Error<T>2516 * Lookup333: pallet_unique::Error<T>2439 **/2517 **/2440 PalletUniqueError: {2518 PalletUniqueError: {2441 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2519 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2442 },2520 },2443 /**2521 /**2444 * Lookup332: up_data_structs::Collection<sp_core::crypto::AccountId32>2522 * Lookup334: up_data_structs::Collection<sp_core::crypto::AccountId32>2445 **/2523 **/2446 UpDataStructsCollection: {2524 UpDataStructsCollection: {2447 owner: 'AccountId32',2525 owner: 'AccountId32',2448 mode: 'UpDataStructsCollectionMode',2526 mode: 'UpDataStructsCollectionMode',2451 tokenPrefix: 'Bytes',2529 tokenPrefix: 'Bytes',2452 sponsorship: 'UpDataStructsSponsorshipState',2530 sponsorship: 'UpDataStructsSponsorshipState',2453 limits: 'UpDataStructsCollectionLimits',2531 limits: 'UpDataStructsCollectionLimits',2454 permissions: 'UpDataStructsCollectionPermissions'2532 permissions: 'UpDataStructsCollectionPermissions',2533 externalCollection: 'bool'2455 },2534 },2456 /**2535 /**2457 * Lookup333: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2536 * Lookup335: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2458 **/2537 **/2459 UpDataStructsSponsorshipState: {2538 UpDataStructsSponsorshipState: {2460 _enum: {2539 _enum: {2461 Disabled: 'Null',2540 Disabled: 'Null',2462 Unconfirmed: 'AccountId32',2541 Unconfirmed: 'AccountId32',2463 Confirmed: 'AccountId32'2542 Confirmed: 'AccountId32'2464 }2543 }2465 },2544 },2466 /**2545 /**2467 * Lookup334: up_data_structs::Properties2546 * Lookup336: up_data_structs::Properties2468 **/2547 **/2469 UpDataStructsProperties: {2548 UpDataStructsProperties: {2470 map: 'UpDataStructsPropertiesMapBoundedVec',2549 map: 'UpDataStructsPropertiesMapBoundedVec',2471 consumedSpace: 'u32',2550 consumedSpace: 'u32',2472 spaceLimit: 'u32'2551 spaceLimit: 'u32'2473 },2552 },2474 /**2553 /**2475 * Lookup335: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2554 * Lookup337: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2476 **/2555 **/2477 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2556 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2478 /**2557 /**2479 * Lookup340: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2558 * Lookup342: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2480 **/2559 **/2481 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2560 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2482 /**2561 /**2483 * Lookup347: up_data_structs::CollectionStats2562 * Lookup349: up_data_structs::CollectionStats2484 **/2563 **/2485 UpDataStructsCollectionStats: {2564 UpDataStructsCollectionStats: {2486 created: 'u32',2565 created: 'u32',2487 destroyed: 'u32',2566 destroyed: 'u32',2497 /**2576 /**2498 * Lookup324: PhantomType::up_data_structs<T>2577 * Lookup324: PhantomType::up_data_structs<T>2499 **/2578 **/2500 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpDataStructsRmrkCollectionInfo,UpDataStructsRmrkNftInfo,UpDataStructsRmrkResourceInfo,UpDataStructsRmrkPropertyInfo,UpDataStructsRmrkBaseInfo,UpDataStructsRmrkPartType,UpDataStructsRmrkTheme,UpDataStructsRmrkNftChild);0]',2579 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2501 /**2580 /**2502 * Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2581 * Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2503 **/2582 **/2518 limits: 'UpDataStructsCollectionLimits',2597 limits: 'UpDataStructsCollectionLimits',2519 permissions: 'UpDataStructsCollectionPermissions',2598 permissions: 'UpDataStructsCollectionPermissions',2520 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2599 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2521 properties: 'Vec<UpDataStructsProperty>'2600 properties: 'Vec<UpDataStructsProperty>',2601 readOnly: 'bool'2522 },2602 },2523 /**2603 /**2524 * 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>2604 * 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>2525 **/2605 **/2526 UpDataStructsRmrkCollectionInfo: {2606 RmrkTraitsCollectionCollectionInfo: {2527 issuer: 'AccountId32',2607 issuer: 'AccountId32',2528 metadata: 'Bytes',2608 metadata: 'Bytes',2529 max: 'Option<u32>',2609 max: 'Option<u32>',2533 /**2613 /**2534 * Lookup332: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2614 * Lookup332: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2535 **/2615 **/2536 UpDataStructsRmrkNftInfo: {2616 RmrkTraitsNftNftInfo: {2537 owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',2617 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2538 royalty: 'Option<UpDataStructsRmrkRoyaltyInfo>',2618 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2539 metadata: 'Bytes',2619 metadata: 'Bytes',2540 equipped: 'bool',2620 equipped: 'bool',2541 pending: 'bool'2621 pending: 'bool'2552 /**2632 /**2553 * Lookup335: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2633 * Lookup335: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2554 **/2634 **/2555 UpDataStructsRmrkRoyaltyInfo: {2635 RmrkTraitsNftRoyaltyInfo: {2556 recipient: 'AccountId32',2636 recipient: 'AccountId32',2557 amount: 'Permill'2637 amount: 'Permill'2558 },2638 },2559 /**2639 /**2560 * 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>>2640 * 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>>2561 **/2641 **/2562 UpDataStructsRmrkResourceInfo: {2642 RmrkTraitsResourceResourceInfo: {2563 id: 'u32',2643 id: 'u32',2564 resource: 'UpDataStructsRmrkResourceTypes',2644 resource: 'RmrkTraitsResourceResourceTypes',2565 pending: 'bool',2645 pending: 'bool',2566 pendingRemoval: 'bool'2646 pendingRemoval: 'bool'2567 },2647 },2568 /**2648 /**2569 * Lookup339: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2649 * Lookup339: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2570 **/2650 **/2571 UpDataStructsRmrkResourceTypes: {2651 RmrkTraitsResourceResourceTypes: {2572 _enum: {2652 _enum: {2573 Basic: 'UpDataStructsRmrkBasicResource',2653 Basic: 'RmrkTraitsResourceBasicResource',2574 Composable: 'UpDataStructsRmrkComposableResource',2654 Composable: 'RmrkTraitsResourceComposableResource',2575 Slot: 'UpDataStructsRmrkSlotResource'2655 Slot: 'RmrkTraitsResourceSlotResource'2576 }2656 }2577 },2657 },2578 /**2658 /**2609 /**2689 /**2610 * Lookup344: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2690 * Lookup344: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2611 **/2691 **/2612 UpDataStructsRmrkPropertyInfo: {2692 RmrkTraitsPropertyPropertyInfo: {2613 key: 'Bytes',2693 key: 'Bytes',2614 value: 'Bytes'2694 value: 'Bytes'2615 },2695 },2616 /**2696 /**2617 * Lookup347: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2697 * Lookup347: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2618 **/2698 **/2619 UpDataStructsRmrkBaseInfo: {2699 RmrkTraitsBaseBaseInfo: {2620 issuer: 'AccountId32',2700 issuer: 'AccountId32',2621 baseType: 'Bytes',2701 baseType: 'Bytes',2622 symbol: 'Bytes'2702 symbol: 'Bytes'2675 /**2755 /**2676 * Lookup356: up_data_structs::rmrk::NftChild2756 * Lookup356: up_data_structs::rmrk::NftChild2677 **/2757 **/2678 UpDataStructsRmrkNftChild: {2758 RmrkTraitsNftNftChild: {2679 collectionId: 'u32',2759 collectionId: 'u32',2680 nftId: 'u32'2760 nftId: 'u32'2681 },2761 },2682 /**2762 /**2683 * Lookup358: pallet_common::pallet::Error<T>2763 * Lookup358: pallet_common::pallet::Error<T>2684 **/2764 **/2685 PalletCommonError: {2765 PalletCommonError: {2686 _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']2766 _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']2687 },2767 },2688 /**2768 /**2689 * Lookup360: pallet_fungible::pallet::Error<T>2769 * Lookup360: pallet_fungible::pallet::Error<T>tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -139,6 +139,24 @@
PolkadotPrimitivesV2AbridgedHrmpChannel: PolkadotPrimitivesV2AbridgedHrmpChannel;
PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData;
PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction;
+ RmrkTraitsBaseBaseInfo: RmrkTraitsBaseBaseInfo;
+ RmrkTraitsCollectionCollectionInfo: RmrkTraitsCollectionCollectionInfo;
+ RmrkTraitsNftAccountIdOrCollectionNftTuple: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ RmrkTraitsNftNftChild: RmrkTraitsNftNftChild;
+ RmrkTraitsNftNftInfo: RmrkTraitsNftNftInfo;
+ RmrkTraitsNftRoyaltyInfo: RmrkTraitsNftRoyaltyInfo;
+ RmrkTraitsPartEquippableList: RmrkTraitsPartEquippableList;
+ RmrkTraitsPartFixedPart: RmrkTraitsPartFixedPart;
+ RmrkTraitsPartPartType: RmrkTraitsPartPartType;
+ RmrkTraitsPartSlotPart: RmrkTraitsPartSlotPart;
+ RmrkTraitsPropertyPropertyInfo: RmrkTraitsPropertyPropertyInfo;
+ RmrkTraitsResourceBasicResource: RmrkTraitsResourceBasicResource;
+ RmrkTraitsResourceComposableResource: RmrkTraitsResourceComposableResource;
+ RmrkTraitsResourceResourceInfo: RmrkTraitsResourceResourceInfo;
+ RmrkTraitsResourceResourceTypes: RmrkTraitsResourceResourceTypes;
+ RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
+ RmrkTraitsTheme: RmrkTraitsTheme;
+ RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
SpCoreSr25519Signature: SpCoreSr25519Signature;
@@ -173,24 +191,6 @@
UpDataStructsProperty: UpDataStructsProperty;
UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;
UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
- UpDataStructsRmrkAccountIdOrCollectionNftTuple: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
- UpDataStructsRmrkBaseInfo: UpDataStructsRmrkBaseInfo;
- UpDataStructsRmrkBasicResource: UpDataStructsRmrkBasicResource;
- UpDataStructsRmrkCollectionInfo: UpDataStructsRmrkCollectionInfo;
- UpDataStructsRmrkComposableResource: UpDataStructsRmrkComposableResource;
- UpDataStructsRmrkEquippableList: UpDataStructsRmrkEquippableList;
- UpDataStructsRmrkFixedPart: UpDataStructsRmrkFixedPart;
- UpDataStructsRmrkNftChild: UpDataStructsRmrkNftChild;
- UpDataStructsRmrkNftInfo: UpDataStructsRmrkNftInfo;
- UpDataStructsRmrkPartType: UpDataStructsRmrkPartType;
- UpDataStructsRmrkPropertyInfo: UpDataStructsRmrkPropertyInfo;
- UpDataStructsRmrkResourceInfo: UpDataStructsRmrkResourceInfo;
- UpDataStructsRmrkResourceTypes: UpDataStructsRmrkResourceTypes;
- UpDataStructsRmrkRoyaltyInfo: UpDataStructsRmrkRoyaltyInfo;
- UpDataStructsRmrkSlotPart: UpDataStructsRmrkSlotPart;
- UpDataStructsRmrkSlotResource: UpDataStructsRmrkSlotResource;
- UpDataStructsRmrkTheme: UpDataStructsRmrkTheme;
- UpDataStructsRmrkThemeProperty: UpDataStructsRmrkThemeProperty;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/rmrk/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/rmrk/definitions.ts
+++ b/tests/src/interfaces/rmrk/definitions.ts
@@ -31,14 +31,14 @@
types: {},
rpc: {
lastCollectionIdx: fn('Get the latest created collection id', [], 'u32'),
- collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<UpDataStructsRmrkCollectionInfo>'),
+ collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<RmrkTraitsCollectionCollectionInfo>'),
nftById: fn(
'Get NFT by collection id and NFT id',
[
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Option<UpDataStructsRmrkNftInfo>',
+ 'Option<RmrkTraitsNftNftInfo>',
),
accountTokens: fn(
'Get tokens owned by an account in a collection',
@@ -54,7 +54,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<UpDataStructsRmrkNftChild>',
+ 'Vec<RmrkTraitsNftNftChild>',
),
collectionProperties: fn(
'Get collection properties',
@@ -62,7 +62,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'filterKeys', type: 'Vec<String>', isOptional: true},
],
- 'Vec<UpDataStructsRmrkPropertyInfo>',
+ 'Vec<RmrkTraitsPropertyPropertyInfo>',
),
nftProperties: fn(
'Get NFT properties',
@@ -71,7 +71,7 @@
{name: 'nftId', type: 'u32'},
{name: 'filterKeys', type: 'Vec<String>', isOptional: true},
],
- 'Vec<UpDataStructsRmrkPropertyInfo>',
+ 'Vec<RmrkTraitsPropertyPropertyInfo>',
),
nftResources: fn(
'Get NFT resources',
@@ -79,7 +79,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<UpDataStructsRmrkResourceInfo>',
+ 'Vec<RmrkTraitsResourceResourceInfo>',
),
nftResourcePriorities: fn(
'Get NFT resource priorities',
@@ -92,12 +92,12 @@
base: fn(
'Get base info',
[{name: 'baseId', type: 'u32'}],
- 'Option<UpDataStructsRmrkBaseInfo>',
+ 'Option<RmrkTraitsBaseBaseInfo>',
),
baseParts: fn(
'Get all Base\'s parts',
[{name: 'baseId', type: 'u32'}],
- 'Vec<UpDataStructsRmrkPartType>',
+ 'Vec<RmrkTraitsPartPartType>',
),
themeNames: fn(
'Get Base\'s theme names',
@@ -111,7 +111,7 @@
{name: 'themeName', type: 'String'},
{name: 'keys', type: 'Option<Vec<String>>'},
],
- 'Option<UpDataStructsRmrkTheme>',
+ 'Option<RmrkTraitsTheme>',
),
},
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1677,12 +1677,42 @@
readonly recipient: Option<AccountId32>;
readonly royaltyAmount: Option<Permill>;
readonly metadata: Bytes;
+ readonly transferable: bool;
} & Struct;
readonly isBurnNft: boolean;
readonly asBurnNft: {
readonly collectionId: u32;
readonly nftId: u32;
} & Struct;
+ readonly isSend: boolean;
+ readonly asSend: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ } & Struct;
+ readonly isAcceptNft: boolean;
+ readonly asAcceptNft: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ } & Struct;
+ readonly isRejectNft: boolean;
+ readonly asRejectNft: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ } & Struct;
+ readonly isAcceptResource: boolean;
+ readonly asAcceptResource: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly rmrkResourceId: u32;
+ } & Struct;
+ readonly isAcceptResourceRemoval: boolean;
+ readonly asAcceptResourceRemoval: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly rmrkResourceId: u32;
+ } & Struct;
readonly isSetProperty: boolean;
readonly asSetProperty: {
readonly rmrkCollectionId: Compact<u32>;
@@ -1690,38 +1720,59 @@
readonly key: Bytes;
readonly value: Bytes;
} & Struct;
+ readonly isSetPriority: boolean;
+ readonly asSetPriority: {
+ readonly rmrkCollectionId: u32;
+ readonly rmrkNftId: u32;
+ readonly priorities: Vec<u32>;
+ } & Struct;
readonly isAddBasicResource: boolean;
readonly asAddBasicResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
- readonly resource: UpDataStructsRmrkBasicResource;
+ readonly resource: RmrkTraitsResourceBasicResource;
} & Struct;
readonly isAddComposableResource: boolean;
readonly asAddComposableResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
readonly resourceId: Bytes;
- readonly resource: UpDataStructsRmrkComposableResource;
+ readonly resource: RmrkTraitsResourceComposableResource;
} & Struct;
readonly isAddSlotResource: boolean;
readonly asAddSlotResource: {
- readonly collectionId: u32;
+ readonly rmrkCollectionId: u32;
+ readonly nftId: u32;
+ readonly resource: RmrkTraitsResourceSlotResource;
+ } & Struct;
+ readonly isRemoveResource: boolean;
+ readonly asRemoveResource: {
+ readonly rmrkCollectionId: u32;
readonly nftId: u32;
- readonly resource: UpDataStructsRmrkSlotResource;
+ readonly resourceId: u32;
} & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
+ }
+
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (210) */
+ export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
+ readonly isAccountId: boolean;
+ readonly asAccountId: AccountId32;
+ readonly isCollectionAndNftTuple: boolean;
+ readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
+ readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name UpDataStructsRmrkBasicResource (212) */
- export interface UpDataStructsRmrkBasicResource extends Struct {
+ /** @name RmrkTraitsResourceBasicResource (214) */
+ export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
readonly license: Option<Bytes>;
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkComposableResource (215) */
- export interface UpDataStructsRmrkComposableResource extends Struct {
+ /** @name RmrkTraitsResourceComposableResource (217) */
+ export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
readonly src: Option<Bytes>;
@@ -1730,8 +1781,8 @@
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkSlotResource (217) */
- export interface UpDataStructsRmrkSlotResource extends Struct {
+ /** @name RmrkTraitsResourceSlotResource (219) */
+ export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -1740,48 +1791,48 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (218) */
+ /** @name PalletRmrkEquipCall (220) */
export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
readonly baseType: Bytes;
readonly symbol: Bytes;
- readonly parts: Vec<UpDataStructsRmrkPartType>;
+ readonly parts: Vec<RmrkTraitsPartPartType>;
} & Struct;
readonly isThemeAdd: boolean;
readonly asThemeAdd: {
readonly baseId: u32;
- readonly theme: UpDataStructsRmrkTheme;
+ readonly theme: RmrkTraitsTheme;
} & Struct;
readonly type: 'CreateBase' | 'ThemeAdd';
}
- /** @name UpDataStructsRmrkPartType (220) */
- export interface UpDataStructsRmrkPartType extends Enum {
+ /** @name RmrkTraitsPartPartType (222) */
+ export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
- readonly asFixedPart: UpDataStructsRmrkFixedPart;
+ readonly asFixedPart: RmrkTraitsPartFixedPart;
readonly isSlotPart: boolean;
- readonly asSlotPart: UpDataStructsRmrkSlotPart;
+ readonly asSlotPart: RmrkTraitsPartSlotPart;
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name UpDataStructsRmrkFixedPart (222) */
- export interface UpDataStructsRmrkFixedPart extends Struct {
+ /** @name RmrkTraitsPartFixedPart (224) */
+ export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name UpDataStructsRmrkSlotPart (223) */
- export interface UpDataStructsRmrkSlotPart extends Struct {
+ /** @name RmrkTraitsPartSlotPart (225) */
+ export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
- readonly equippable: UpDataStructsRmrkEquippableList;
+ readonly equippable: RmrkTraitsPartEquippableList;
readonly src: Bytes;
readonly z: u32;
}
- /** @name UpDataStructsRmrkEquippableList (224) */
- export interface UpDataStructsRmrkEquippableList extends Enum {
+ /** @name RmrkTraitsPartEquippableList (226) */
+ export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
readonly isCustom: boolean;
@@ -1789,20 +1840,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name UpDataStructsRmrkTheme (226) */
- export interface UpDataStructsRmrkTheme extends Struct {
+ /** @name RmrkTraitsTheme (228) */
+ export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
- readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
+ readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name UpDataStructsRmrkThemeProperty (228) */
- export interface UpDataStructsRmrkThemeProperty extends Struct {
+ /** @name RmrkTraitsThemeThemeProperty (230) */
+ export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmCall (229) */
+ /** @name PalletEvmCall (231) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -1847,7 +1898,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (235) */
+ /** @name PalletEthereumCall (237) */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -1856,7 +1907,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (236) */
+ /** @name EthereumTransactionTransactionV2 (238) */
export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -1867,7 +1918,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (237) */
+ /** @name EthereumTransactionLegacyTransaction (239) */
export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -1878,7 +1929,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (238) */
+ /** @name EthereumTransactionTransactionAction (240) */
export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -1886,14 +1937,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (239) */
+ /** @name EthereumTransactionTransactionSignature (241) */
export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (241) */
+ /** @name EthereumTransactionEip2930Transaction (243) */
export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1908,13 +1959,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (243) */
+ /** @name EthereumTransactionAccessListItem (245) */
export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (244) */
+ /** @name EthereumTransactionEip1559Transaction (246) */
export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1930,7 +1981,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (245) */
+ /** @name PalletEvmMigrationCall (247) */
export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -1949,7 +2000,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoEvent (248) */
+ /** @name PalletSudoEvent (250) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -1966,7 +2017,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name SpRuntimeDispatchError (250) */
+ /** @name SpRuntimeDispatchError (252) */
export interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
@@ -1985,13 +2036,13 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
}
- /** @name SpRuntimeModuleError (251) */
+ /** @name SpRuntimeModuleError (253) */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
- /** @name SpRuntimeTokenError (252) */
+ /** @name SpRuntimeTokenError (254) */
export interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
@@ -2003,7 +2054,7 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (253) */
+ /** @name SpRuntimeArithmeticError (255) */
export interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
@@ -2011,20 +2062,20 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name SpRuntimeTransactionalError (254) */
+ /** @name SpRuntimeTransactionalError (256) */
export interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
- /** @name PalletSudoError (255) */
+ /** @name PalletSudoError (257) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name FrameSystemAccountInfo (256) */
+ /** @name FrameSystemAccountInfo (258) */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
@@ -2033,19 +2084,19 @@
readonly data: PalletBalancesAccountData;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (257) */
+ /** @name FrameSupportWeightsPerDispatchClassU64 (259) */
export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
- /** @name SpRuntimeDigest (258) */
+ /** @name SpRuntimeDigest (260) */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
- /** @name SpRuntimeDigestDigestItem (260) */
+ /** @name SpRuntimeDigestDigestItem (262) */
export interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
@@ -2059,14 +2110,14 @@
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
- /** @name FrameSystemEventRecord (262) */
+ /** @name FrameSystemEventRecord (264) */
export interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
- /** @name FrameSystemEvent (264) */
+ /** @name FrameSystemEvent (266) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
@@ -2094,14 +2145,14 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (265) */
+ /** @name FrameSupportWeightsDispatchInfo (267) */
export interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
- /** @name FrameSupportWeightsDispatchClass (266) */
+ /** @name FrameSupportWeightsDispatchClass (268) */
export interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
@@ -2109,14 +2160,14 @@
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
- /** @name FrameSupportWeightsPays (267) */
+ /** @name FrameSupportWeightsPays (269) */
export interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
- /** @name OrmlVestingModuleEvent (268) */
+ /** @name OrmlVestingModuleEvent (270) */
export interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -2136,7 +2187,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name CumulusPalletXcmpQueueEvent (269) */
+ /** @name CumulusPalletXcmpQueueEvent (271) */
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
@@ -2157,7 +2208,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletXcmEvent (270) */
+ /** @name PalletXcmEvent (272) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -2194,7 +2245,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
- /** @name XcmV2TraitsOutcome (271) */
+ /** @name XcmV2TraitsOutcome (273) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -2205,7 +2256,7 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name CumulusPalletXcmEvent (273) */
+ /** @name CumulusPalletXcmEvent (275) */
export interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2216,7 +2267,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (274) */
+ /** @name CumulusPalletDmpQueueEvent (276) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2233,7 +2284,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletUniqueRawEvent (275) */
+ /** @name PalletUniqueRawEvent (277) */
export interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
@@ -2258,7 +2309,7 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
- /** @name PalletCommonEvent (276) */
+ /** @name PalletCommonEvent (278) */
export interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -2285,14 +2336,14 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
}
- /** @name PalletStructureEvent (277) */
+ /** @name PalletStructureEvent (279) */
export interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (278) */
+ /** @name PalletRmrkCoreEvent (280) */
export interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
@@ -2326,6 +2377,27 @@
readonly owner: AccountId32;
readonly nftId: u32;
} & Struct;
+ readonly isNftSent: boolean;
+ readonly asNftSent: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly approvalRequired: bool;
+ } & Struct;
+ readonly isNftAccepted: boolean;
+ readonly asNftAccepted: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftRejected: boolean;
+ readonly asNftRejected: {
+ readonly sender: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
readonly isPropertySet: boolean;
readonly asPropertySet: {
readonly collectionId: u32;
@@ -2338,10 +2410,30 @@
readonly nftId: u32;
readonly resourceId: u32;
} & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';
+ readonly isResourceRemoval: boolean;
+ readonly asResourceRemoval: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceAccepted: boolean;
+ readonly asResourceAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceRemovalAccepted: boolean;
+ readonly asResourceRemovalAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isPrioritySet: boolean;
+ readonly asPrioritySet: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
- /** @name PalletRmrkEquipEvent (279) */
+ /** @name PalletRmrkEquipEvent (281) */
export interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
@@ -2351,7 +2443,7 @@
readonly type: 'BaseCreated';
}
- /** @name PalletEvmEvent (280) */
+ /** @name PalletEvmEvent (282) */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -2370,21 +2462,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (281) */
+ /** @name EthereumLog (283) */
export interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (282) */
+ /** @name PalletEthereumEvent (284) */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (283) */
+ /** @name EvmCoreErrorExitReason (285) */
export interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -2397,7 +2489,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (284) */
+ /** @name EvmCoreErrorExitSucceed (286) */
export interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -2405,7 +2497,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (285) */
+ /** @name EvmCoreErrorExitError (287) */
export interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -2426,13 +2518,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (288) */
+ /** @name EvmCoreErrorExitRevert (290) */
export interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (289) */
+ /** @name EvmCoreErrorExitFatal (291) */
export interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -2443,7 +2535,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (290) */
+ /** @name FrameSystemPhase (292) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -2452,27 +2544,27 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (292) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (294) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemLimitsBlockWeights (293) */
+ /** @name FrameSystemLimitsBlockWeights (295) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (296) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (295) */
+ /** @name FrameSystemLimitsWeightsPerClass (297) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -2480,25 +2572,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (297) */
+ /** @name FrameSystemLimitsBlockLength (299) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (298) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (300) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (299) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (301) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (300) */
+ /** @name SpVersionRuntimeVersion (302) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -2510,7 +2602,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (304) */
+ /** @name FrameSystemError (306) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -2521,7 +2613,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name OrmlVestingModuleError (306) */
+ /** @name OrmlVestingModuleError (308) */
export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2532,21 +2624,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (310) */
export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (309) */
+ /** @name CumulusPalletXcmpQueueInboundState (311) */
export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (314) */
export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2554,7 +2646,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (317) */
export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2563,14 +2655,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (316) */
+ /** @name CumulusPalletXcmpQueueOutboundState (318) */
export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (318) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (320) */
export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2580,7 +2672,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (320) */
+ /** @name CumulusPalletXcmpQueueError (322) */
export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2590,7 +2682,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (321) */
+ /** @name PalletXcmError (323) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2608,29 +2700,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (322) */
+ /** @name CumulusPalletXcmError (324) */
export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (323) */
+ /** @name CumulusPalletDmpQueueConfigData (325) */
export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (324) */
+ /** @name CumulusPalletDmpQueuePageIndexData (326) */
export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (327) */
+ /** @name CumulusPalletDmpQueueError (329) */
export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (331) */
+ /** @name PalletUniqueError (333) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2638,7 +2730,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name UpDataStructsCollection (332) */
+ /** @name UpDataStructsCollection (334) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2648,9 +2740,10 @@
readonly sponsorship: UpDataStructsSponsorshipState;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
+ readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (333) */
+ /** @name UpDataStructsSponsorshipState (335) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -2660,20 +2753,20 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (334) */
+ /** @name UpDataStructsProperties (336) */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (335) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (337) */
export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (340) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (342) */
export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (347) */
+ /** @name UpDataStructsCollectionStats (349) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
@@ -2707,6 +2800,7 @@
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
readonly properties: Vec<UpDataStructsProperty>;
+ readonly readOnly: bool;
}
/** @name UpDataStructsRmrkCollectionInfo (329) */
@@ -2745,7 +2839,7 @@
/** @name UpDataStructsRmrkResourceInfo (336) */
export interface UpDataStructsRmrkResourceInfo extends Struct {
readonly id: u32;
- readonly resource: UpDataStructsRmrkResourceTypes;
+ readonly resource: RmrkTraitsResourceResourceTypes;
readonly pending: bool;
readonly pendingRemoval: bool;
}
@@ -2753,11 +2847,11 @@
/** @name UpDataStructsRmrkResourceTypes (339) */
export interface UpDataStructsRmrkResourceTypes extends Enum {
readonly isBasic: boolean;
- readonly asBasic: UpDataStructsRmrkBasicResource;
+ readonly asBasic: RmrkTraitsResourceBasicResource;
readonly isComposable: boolean;
- readonly asComposable: UpDataStructsRmrkComposableResource;
+ readonly asComposable: RmrkTraitsResourceComposableResource;
readonly isSlot: boolean;
- readonly asSlot: UpDataStructsRmrkSlotResource;
+ readonly asSlot: RmrkTraitsResourceSlotResource;
readonly type: 'Basic' | 'Composable' | 'Slot';
}
@@ -2889,7 +2983,9 @@
readonly isPropertyKeyIsTooLong: boolean;
readonly isInvalidCharacterInPropertyKey: boolean;
readonly isEmptyPropertyKey: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
+ readonly isCollectionIsExternal: boolean;
+ readonly isCollectionIsInternal: boolean;
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
/** @name PalletFungibleError (360) */