difftreelog
fix(tests) rmrk definitions
in: master
12 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
@@ -429,6 +429,33 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ rmrkCore: {
+ CollectionFullOrLocked: AugmentedError<ApiType>;
+ CollectionNotEmpty: AugmentedError<ApiType>;
+ CollectionUnknown: AugmentedError<ApiType>;
+ CorruptedCollectionType: AugmentedError<ApiType>;
+ NftTypeEncodeError: AugmentedError<ApiType>;
+ NoAvailableCollectionId: AugmentedError<ApiType>;
+ NoAvailableNftId: AugmentedError<ApiType>;
+ NoPermission: AugmentedError<ApiType>;
+ RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
+ RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
+ rmrkEquip: {
+ BaseDoesntExist: AugmentedError<ApiType>;
+ NeedsDefaultThemeFirst: AugmentedError<ApiType>;
+ NoAvailableBaseId: AugmentedError<ApiType>;
+ NoAvailablePartId: AugmentedError<ApiType>;
+ PermissionError: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
structure: {
/**
* While searched for owner, encountered depth limit
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -396,6 +396,26 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ rmrkCore: {
+ CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;
+ NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
+ PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
+ rmrkEquip: {
+ BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
structure: {
/**
* Executed call on behalf of token
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -415,6 +415,21 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ rmrkCore: {
+ collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
+ rmrkEquip: {
+ baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
structure: {
/**
* Generic query
@@ -585,6 +600,7 @@
* Collection id (controlled?2), token id (controlled?2)
**/
reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
+ tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* Variable metadata sponsoring
* Collection id (controlled?2), token id (controlled?2)
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTypesBaseInfo, RmrkTypesCollectionInfo, RmrkTypesNftChild, RmrkTypesNftInfo, RmrkTypesPartType, RmrkTypesPropertyInfo, RmrkTypesResourceInfo, RmrkTypesTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './unique';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, PhantomTypeUpDataStructsBaseInfo, PhantomTypeUpDataStructsCollectionInfo, PhantomTypeUpDataStructsNftChild, PhantomTypeUpDataStructsNftInfo, PhantomTypeUpDataStructsPartType, PhantomTypeUpDataStructsPropertyInfo, PhantomTypeUpDataStructsResourceInfo, PhantomTypeUpDataStructsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './unique';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -401,19 +401,19 @@
/**
* Get base info
**/
- base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTypesBaseInfo>>>;
+ base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PhantomTypeUpDataStructsBaseInfo>>>;
/**
* Get all Base's parts
**/
- baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTypesPartType>>>;
+ baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PhantomTypeUpDataStructsPartType>>>;
/**
* Get collection by id
**/
- collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTypesCollectionInfo>>>;
+ collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PhantomTypeUpDataStructsCollectionInfo>>>;
/**
* Get collection properties
**/
- collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTypesPropertyInfo>>>;
+ collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PhantomTypeUpDataStructsPropertyInfo>>>;
/**
* Get the latest created collection id
**/
@@ -421,15 +421,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<RmrkTypesNftInfo>>>;
+ nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PhantomTypeUpDataStructsNftInfo>>>;
/**
* Get NFT children
**/
- nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTypesNftChild>>>;
+ nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PhantomTypeUpDataStructsNftChild>>>;
/**
* Get NFT properties
**/
- nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTypesPropertyInfo>>>;
+ nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PhantomTypeUpDataStructsPropertyInfo>>>;
/**
* Get NFT resource priorities
**/
@@ -437,7 +437,7 @@
/**
* Get NFT resources
**/
- nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTypesResourceInfo>>>;
+ nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PhantomTypeUpDataStructsResourceInfo>>>;
/**
* Get Base's theme names
**/
@@ -445,7 +445,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<RmrkTypesTheme>>>;
+ themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PhantomTypeUpDataStructsTheme>>>;
};
rpc: {
/**
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -4,8 +4,8 @@
import type { ApiTypes } from '@polkadot/api-base/types';
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 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -346,6 +346,27 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ rmrkCore: {
+ 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]>;
+ 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
+ **/
+ [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]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
structure: {
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, 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, PhantomTypeUpDataStructsBaseInfo, PhantomTypeUpDataStructsCollectionInfo, PhantomTypeUpDataStructsNftChild, PhantomTypeUpDataStructsNftInfo, PhantomTypeUpDataStructsPartType, PhantomTypeUpDataStructsPropertyInfo, PhantomTypeUpDataStructsResourceInfo, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTheme, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTypesAccountIdOrCollectionNftTuple, RmrkTypesBaseInfo, RmrkTypesCollectionInfo, RmrkTypesEquippableList, RmrkTypesFixedPart, RmrkTypesNftChild, RmrkTypesNftInfo, RmrkTypesPartType, RmrkTypesPropertyInfo, RmrkTypesResourceInfo, RmrkTypesRoyaltyInfo, RmrkTypesSlotPart, RmrkTypesTheme, RmrkTypesThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, 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, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructsBaseInfo, PhantomTypeUpDataStructsCollectionInfo, PhantomTypeUpDataStructsNftChild, PhantomTypeUpDataStructsNftInfo, PhantomTypeUpDataStructsPartType, PhantomTypeUpDataStructsPropertyInfo, PhantomTypeUpDataStructsResourceInfo, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTheme, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, 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, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 './unique';
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 { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -786,6 +786,12 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
+ PalletRmrkCoreCall: PalletRmrkCoreCall;
+ PalletRmrkCoreError: PalletRmrkCoreError;
+ PalletRmrkCoreEvent: PalletRmrkCoreEvent;
+ PalletRmrkEquipCall: PalletRmrkEquipCall;
+ PalletRmrkEquipError: PalletRmrkEquipError;
+ PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
@@ -950,20 +956,6 @@
Retriable: Retriable;
RewardDestination: RewardDestination;
RewardPoint: RewardPoint;
- RmrkTypesAccountIdOrCollectionNftTuple: RmrkTypesAccountIdOrCollectionNftTuple;
- RmrkTypesBaseInfo: RmrkTypesBaseInfo;
- RmrkTypesCollectionInfo: RmrkTypesCollectionInfo;
- RmrkTypesEquippableList: RmrkTypesEquippableList;
- RmrkTypesFixedPart: RmrkTypesFixedPart;
- RmrkTypesNftChild: RmrkTypesNftChild;
- RmrkTypesNftInfo: RmrkTypesNftInfo;
- RmrkTypesPartType: RmrkTypesPartType;
- RmrkTypesPropertyInfo: RmrkTypesPropertyInfo;
- RmrkTypesResourceInfo: RmrkTypesResourceInfo;
- RmrkTypesRoyaltyInfo: RmrkTypesRoyaltyInfo;
- RmrkTypesSlotPart: RmrkTypesSlotPart;
- RmrkTypesTheme: RmrkTypesTheme;
- RmrkTypesThemeProperty: RmrkTypesThemeProperty;
RoundSnapshot: RoundSnapshot;
RoundState: RoundState;
RpcMethods: RpcMethods;
@@ -1210,6 +1202,24 @@
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;
UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1547,8 +1547,114 @@
**/
PalletStructureCall: 'Null',
/**
- * Lookup207: pallet_evm::pallet::Call<T>
+ * Lookup207: pallet_rmrk_core::pallet::Call<T>
+ **/
+ PalletRmrkCoreCall: {
+ _enum: {
+ create_collection: {
+ metadata: 'Bytes',
+ max: 'Option<u32>',
+ symbol: 'Bytes',
+ },
+ destroy_collection: {
+ collectionId: 'u32',
+ },
+ change_collection_issuer: {
+ collectionId: 'u32',
+ newIssuer: 'MultiAddress',
+ },
+ lock_collection: {
+ collectionId: 'u32',
+ },
+ mint_nft: {
+ owner: 'AccountId32',
+ collectionId: 'u32',
+ recipient: 'Option<AccountId32>',
+ royaltyAmount: 'Option<Permill>',
+ metadata: 'Bytes',
+ },
+ burn_nft: {
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
+ set_property: {
+ rmrkCollectionId: 'Compact<u32>',
+ maybeNftId: 'Option<u32>',
+ key: 'Bytes',
+ value: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup213: pallet_rmrk_equip::pallet::Call<T>
+ **/
+ PalletRmrkEquipCall: {
+ _enum: {
+ create_base: {
+ baseType: 'Bytes',
+ symbol: 'Bytes',
+ parts: 'Vec<UpDataStructsRmrkPartType>',
+ },
+ theme_add: {
+ baseId: 'u32',
+ theme: 'UpDataStructsRmrkTheme'
+ }
+ }
+ },
+ /**
+ * Lookup215: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkPartType: {
+ _enum: {
+ FixedPart: 'UpDataStructsRmrkFixedPart',
+ SlotPart: 'UpDataStructsRmrkSlotPart'
+ }
+ },
+ /**
+ * Lookup217: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkFixedPart: {
+ id: 'u32',
+ z: 'u32',
+ src: 'Bytes'
+ },
+ /**
+ * Lookup218: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkSlotPart: {
+ id: 'u32',
+ equippable: 'UpDataStructsRmrkEquippableList',
+ src: 'Bytes',
+ z: 'u32'
+ },
+ /**
+ * Lookup219: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
+ UpDataStructsRmrkEquippableList: {
+ _enum: {
+ All: 'Null',
+ Empty: 'Null',
+ Custom: 'Vec<u32>'
+ }
+ },
+ /**
+ * Lookup221: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
+ **/
+ UpDataStructsRmrkTheme: {
+ name: 'Bytes',
+ properties: 'Vec<UpDataStructsRmrkThemeProperty>',
+ inherit: 'bool'
+ },
+ /**
+ * Lookup223: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkThemeProperty: {
+ key: 'Bytes',
+ value: 'Bytes'
+ },
+ /**
+ * Lookup224: pallet_evm::pallet::Call<T>
+ **/
PalletEvmCall: {
_enum: {
withdraw: {
@@ -1590,7 +1696,7 @@
}
},
/**
- * Lookup213: pallet_ethereum::pallet::Call<T>
+ * Lookup230: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1600,7 +1706,7 @@
}
},
/**
- * Lookup214: ethereum::transaction::TransactionV2
+ * Lookup231: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1610,7 +1716,7 @@
}
},
/**
- * Lookup215: ethereum::transaction::LegacyTransaction
+ * Lookup232: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1622,7 +1728,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup216: ethereum::transaction::TransactionAction
+ * Lookup233: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1631,7 +1737,7 @@
}
},
/**
- * Lookup217: ethereum::transaction::TransactionSignature
+ * Lookup234: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1639,7 +1745,7 @@
s: 'H256'
},
/**
- * Lookup219: ethereum::transaction::EIP2930Transaction
+ * Lookup236: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1655,14 +1761,14 @@
s: 'H256'
},
/**
- * Lookup221: ethereum::transaction::AccessListItem
+ * Lookup238: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup222: ethereum::transaction::EIP1559Transaction
+ * Lookup239: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1679,7 +1785,7 @@
s: 'H256'
},
/**
- * Lookup223: pallet_evm_migration::pallet::Call<T>
+ * Lookup240: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1697,7 +1803,7 @@
}
},
/**
- * Lookup226: pallet_sudo::pallet::Event<T>
+ * Lookup243: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1713,7 +1819,7 @@
}
},
/**
- * Lookup228: sp_runtime::DispatchError
+ * Lookup245: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1730,38 +1836,38 @@
}
},
/**
- * Lookup229: sp_runtime::ModuleError
+ * Lookup246: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup230: sp_runtime::TokenError
+ * Lookup247: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup231: sp_runtime::ArithmeticError
+ * Lookup248: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup232: sp_runtime::TransactionalError
+ * Lookup249: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup233: pallet_sudo::pallet::Error<T>
+ * Lookup250: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup234: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup251: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1771,7 +1877,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup235: frame_support::weights::PerDispatchClass<T>
+ * Lookup252: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1779,13 +1885,13 @@
mandatory: 'u64'
},
/**
- * Lookup236: sp_runtime::generic::digest::Digest
+ * Lookup253: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup238: sp_runtime::generic::digest::DigestItem
+ * Lookup255: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1801,7 +1907,7 @@
}
},
/**
- * Lookup240: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup257: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1809,7 +1915,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup242: frame_system::pallet::Event<T>
+ * Lookup259: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1837,7 +1943,7 @@
}
},
/**
- * Lookup243: frame_support::weights::DispatchInfo
+ * Lookup260: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1845,19 +1951,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup244: frame_support::weights::DispatchClass
+ * Lookup261: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup245: frame_support::weights::Pays
+ * Lookup262: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup246: orml_vesting::module::Event<T>
+ * Lookup263: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -1876,7 +1982,7 @@
}
},
/**
- * Lookup247: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup264: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -1891,7 +1997,7 @@
}
},
/**
- * Lookup248: pallet_xcm::pallet::Event<T>
+ * Lookup265: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -1914,7 +2020,7 @@
}
},
/**
- * Lookup249: xcm::v2::traits::Outcome
+ * Lookup266: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -1924,7 +2030,7 @@
}
},
/**
- * Lookup251: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup268: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1934,7 +2040,7 @@
}
},
/**
- * Lookup252: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup269: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1947,7 +2053,7 @@
}
},
/**
- * Lookup253: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup270: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -1968,7 +2074,7 @@
}
},
/**
- * Lookup254: pallet_common::pallet::Event<T>
+ * Lookup271: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1986,7 +2092,7 @@
}
},
/**
- * Lookup255: pallet_structure::pallet::Event<T>
+ * Lookup272: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1994,8 +2100,58 @@
}
},
/**
- * Lookup256: pallet_evm::pallet::Event<T>
+ * Lookup273: pallet_rmrk_core::pallet::Event<T>
**/
+ PalletRmrkCoreEvent: {
+ _enum: {
+ CollectionCreated: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ CollectionDestroyed: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ IssuerChanged: {
+ oldIssuer: 'AccountId32',
+ newIssuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ CollectionLocked: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ NftMinted: {
+ owner: 'AccountId32',
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
+ NFTBurned: {
+ owner: 'AccountId32',
+ nftId: 'u32',
+ },
+ PropertySet: {
+ collectionId: 'u32',
+ maybeNftId: 'Option<u32>',
+ key: 'Bytes',
+ value: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup274: pallet_rmrk_equip::pallet::Event<T>
+ **/
+ PalletRmrkEquipEvent: {
+ _enum: {
+ BaseCreated: {
+ issuer: 'AccountId32',
+ baseId: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup275: pallet_evm::pallet::Event<T>
+ **/
PalletEvmEvent: {
_enum: {
Log: 'EthereumLog',
@@ -2008,7 +2164,7 @@
}
},
/**
- * Lookup257: ethereum::log::Log
+ * Lookup276: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -2016,7 +2172,7 @@
data: 'Bytes'
},
/**
- * Lookup258: pallet_ethereum::pallet::Event
+ * Lookup277: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2024,7 +2180,7 @@
}
},
/**
- * Lookup259: evm_core::error::ExitReason
+ * Lookup278: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2035,13 +2191,13 @@
}
},
/**
- * Lookup260: evm_core::error::ExitSucceed
+ * Lookup279: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup261: evm_core::error::ExitError
+ * Lookup280: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2063,13 +2219,13 @@
}
},
/**
- * Lookup264: evm_core::error::ExitRevert
+ * Lookup283: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup265: evm_core::error::ExitFatal
+ * Lookup284: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2080,7 +2236,7 @@
}
},
/**
- * Lookup266: frame_system::Phase
+ * Lookup285: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2090,14 +2246,14 @@
}
},
/**
- * Lookup268: frame_system::LastRuntimeUpgradeInfo
+ * Lookup287: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup269: frame_system::limits::BlockWeights
+ * Lookup288: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2105,7 +2261,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup270: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup289: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2113,7 +2269,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup271: frame_system::limits::WeightsPerClass
+ * Lookup290: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2122,13 +2278,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup273: frame_system::limits::BlockLength
+ * Lookup292: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup274: frame_support::weights::PerDispatchClass<T>
+ * Lookup293: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2136,14 +2292,14 @@
mandatory: 'u32'
},
/**
- * Lookup275: frame_support::weights::RuntimeDbWeight
+ * Lookup294: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup276: sp_version::RuntimeVersion
+ * Lookup295: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2156,19 +2312,19 @@
stateVersion: 'u8'
},
/**
- * Lookup280: frame_system::pallet::Error<T>
+ * Lookup299: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup282: orml_vesting::module::Error<T>
+ * Lookup301: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup284: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup303: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2176,19 +2332,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup285: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup304: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup288: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup307: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup291: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup310: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2198,13 +2354,13 @@
lastIndex: 'u16'
},
/**
- * Lookup292: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup311: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup294: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup313: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2215,29 +2371,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup296: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup315: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup297: pallet_xcm::pallet::Error<T>
+ * Lookup316: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup298: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup317: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup299: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup318: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup300: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup319: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2245,19 +2401,19 @@
overweightCount: 'u64'
},
/**
- * Lookup303: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup322: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup307: pallet_unique::Error<T>
+ * Lookup326: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup308: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup327: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2272,7 +2428,7 @@
limits: 'UpDataStructsCollectionLimits'
},
/**
- * Lookup309: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup328: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2282,7 +2438,7 @@
}
},
/**
- * Lookup310: up_data_structs::Properties
+ * Lookup329: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2290,21 +2446,21 @@
spaceLimit: 'u32'
},
/**
- * Lookup311: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup330: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup316: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup335: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup322: up_data_structs::CollectionField
+ * Lookup341: up_data_structs::CollectionField
**/
UpDataStructsCollectionField: {
_enum: ['ConstOnChainSchema', 'OffchainSchema']
},
/**
- * Lookup325: up_data_structs::CollectionStats
+ * Lookup344: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2312,11 +2468,11 @@
alive: 'u32'
},
/**
- * Lookup326: PhantomType::up_data_structs<up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>>
+ * Lookup345: PhantomType::up_data_structs<up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>>
**/
- PhantomTypeUpDataStructsTokenData: '[Lookup327;0]',
+ PhantomTypeUpDataStructsTokenData: '[Lookup346;0]',
/**
- * Lookup327: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup346: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
constData: 'Bytes',
@@ -2324,11 +2480,11 @@
owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
},
/**
- * Lookup330: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
+ * Lookup349: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
**/
- PhantomTypeUpDataStructsRpcCollection: '[Lookup331;0]',
+ PhantomTypeUpDataStructsRpcCollection: '[Lookup350;0]',
/**
- * Lookup331: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup350: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2347,13 +2503,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup333: PhantomType::up_data_structs<rmrk_types::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>>
+ * Lookup352: PhantomType::up_data_structs<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>>
**/
- PhantomTypeUpDataStructsCollectionInfo: '[Lookup334;0]',
+ PhantomTypeUpDataStructsCollectionInfo: '[Lookup353;0]',
/**
- * Lookup334: rmrk_types::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup353: 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>
**/
- RmrkTypesCollectionInfo: {
+ UpDataStructsRmrkCollectionInfo: {
issuer: 'AccountId32',
metadata: 'Bytes',
max: 'Option<u32>',
@@ -2361,198 +2517,194 @@
nftsCount: 'u32'
},
/**
- * Lookup338: PhantomType::up_data_structs<rmrk_types::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
+ * Lookup355: PhantomType::up_data_structs<up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
**/
- PhantomTypeUpDataStructsNftInfo: '[Lookup339;0]',
+ PhantomTypeUpDataStructsNftInfo: '[Lookup356;0]',
/**
- * Lookup339: rmrk_types::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup356: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesNftInfo: {
- owner: 'RmrkTypesAccountIdOrCollectionNftTuple',
- royalty: 'Option<RmrkTypesRoyaltyInfo>',
+ UpDataStructsRmrkNftInfo: {
+ owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',
+ royalty: 'Option<UpDataStructsRmrkRoyaltyInfo>',
metadata: 'Bytes',
equipped: 'bool',
pending: 'bool'
},
/**
- * Lookup340: rmrk_types::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup357: up_data_structs::rmrk::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
- RmrkTypesAccountIdOrCollectionNftTuple: {
+ UpDataStructsRmrkAccountIdOrCollectionNftTuple: {
_enum: {
AccountId: 'AccountId32',
CollectionAndNftTuple: '(u32,u32)'
}
},
/**
- * Lookup342: rmrk_types::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup359: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
- RmrkTypesRoyaltyInfo: {
+ UpDataStructsRmrkRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup344: PhantomType::up_data_structs<rmrk_types::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>>>
+ * Lookup361: PhantomType::up_data_structs<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>>>
**/
- PhantomTypeUpDataStructsResourceInfo: '[Lookup345;0]',
+ PhantomTypeUpDataStructsResourceInfo: '[Lookup362;0]',
/**
- * Lookup345: rmrk_types::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>>
+ * Lookup362: 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>>
**/
- RmrkTypesResourceInfo: {
+ UpDataStructsRmrkResourceInfo: {
id: 'Bytes',
+ resource: 'UpDataStructsRmrkResourceTypes',
pending: 'bool',
- pendingRemoval: 'bool',
- parts: 'Option<Vec<u32>>',
- base: 'Option<u32>',
- src: 'Option<Bytes>',
- metadata: 'Option<Bytes>',
- slot: 'Option<u32>',
- license: 'Option<Bytes>',
- thumb: 'Option<Bytes>'
+ pendingRemoval: 'bool'
},
/**
- * Lookup351: PhantomType::up_data_structs<rmrk_types::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
- **/
- PhantomTypeUpDataStructsPropertyInfo: '[Lookup352;0]',
- /**
- * Lookup352: rmrk_types::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup365: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesPropertyInfo: {
- key: 'Bytes',
- value: 'Bytes'
+ UpDataStructsRmrkResourceTypes: {
+ _enum: {
+ Basic: 'UpDataStructsRmrkBasicResource',
+ Composable: 'UpDataStructsRmrkComposableResource',
+ Slot: 'UpDataStructsRmrkSlotResource'
+ }
},
/**
- * Lookup356: PhantomType::up_data_structs<rmrk_types::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
- **/
- PhantomTypeUpDataStructsBaseInfo: '[Lookup357;0]',
- /**
- * Lookup357: rmrk_types::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup366: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesBaseInfo: {
- issuer: 'AccountId32',
- baseType: 'Bytes',
- symbol: 'Bytes'
+ UpDataStructsRmrkBasicResource: {
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
},
/**
- * Lookup359: PhantomType::up_data_structs<rmrk_types::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
+ * Lookup368: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- PhantomTypeUpDataStructsPartType: '[Lookup360;0]',
- /**
- * Lookup360: rmrk_types::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTypesPartType: {
- _enum: {
- FixedPart: 'RmrkTypesFixedPart',
- SlotPart: 'RmrkTypesSlotPart'
- }
+ UpDataStructsRmrkComposableResource: {
+ parts: 'Vec<u32>',
+ base: 'u32',
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
},
/**
- * Lookup362: rmrk_types::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup369: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesFixedPart: {
- id: 'u32',
- z: 'u32',
- src: 'Bytes'
+ UpDataStructsRmrkSlotResource: {
+ base: 'u32',
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ slot: 'u32',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
},
/**
- * Lookup363: rmrk_types::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup371: PhantomType::up_data_structs<up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
**/
- RmrkTypesSlotPart: {
- id: 'u32',
- equippable: 'RmrkTypesEquippableList',
- src: 'Bytes',
- z: 'u32'
- },
+ PhantomTypeUpDataStructsPropertyInfo: '[Lookup372;0]',
/**
- * Lookup364: rmrk_types::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup372: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesEquippableList: {
- _enum: {
- All: 'Null',
- Empty: 'Null',
- Custom: 'Vec<u32>'
- }
+ UpDataStructsRmrkPropertyInfo: {
+ key: 'Bytes',
+ value: 'Bytes'
},
/**
- * Lookup366: PhantomType::up_data_structs<rmrk_types::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, BoundedPropertyList>>
+ * Lookup374: PhantomType::up_data_structs<up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
**/
- PhantomTypeUpDataStructsTheme: '[Lookup367;0]',
+ PhantomTypeUpDataStructsBaseInfo: '[Lookup375;0]',
/**
- * Lookup367: rmrk_types::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, BoundedPropertyList>
+ * Lookup375: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
- RmrkTypesTheme: {
- name: 'Bytes',
- properties: 'Vec<RmrkTypesThemeProperty>',
- inherit: 'bool'
+ UpDataStructsRmrkBaseInfo: {
+ issuer: 'AccountId32',
+ baseType: 'Bytes',
+ symbol: 'Bytes'
},
/**
- * Lookup369: rmrk_types::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup377: PhantomType::up_data_structs<up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>>
+ **/
+ PhantomTypeUpDataStructsPartType: '[Lookup215;0]',
+ /**
+ * Lookup379: PhantomType::up_data_structs<up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>>
**/
- RmrkTypesThemeProperty: {
- key: 'Bytes',
- value: 'Bytes'
- },
+ PhantomTypeUpDataStructsTheme: '[Lookup221;0]',
/**
- * Lookup371: PhantomType::up_data_structs<rmrk_types::NftChild>
+ * Lookup381: PhantomType::up_data_structs<up_data_structs::rmrk::NftChild>
**/
- PhantomTypeUpDataStructsNftChild: '[Lookup372;0]',
+ PhantomTypeUpDataStructsNftChild: '[Lookup382;0]',
/**
- * Lookup372: rmrk_types::NftChild
+ * Lookup382: up_data_structs::rmrk::NftChild
**/
- RmrkTypesNftChild: {
+ UpDataStructsRmrkNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup374: pallet_common::pallet::Error<T>
+ * Lookup384: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', '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']
},
/**
- * Lookup376: pallet_fungible::pallet::Error<T>
+ * Lookup386: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup377: pallet_refungible::ItemData
+ * Lookup387: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup381: pallet_refungible::pallet::Error<T>
+ * Lookup391: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup382: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
constData: 'Bytes',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup383: pallet_nonfungible::pallet::Error<T>
+ * Lookup393: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
},
/**
- * Lookup384: pallet_structure::pallet::Error<T>
+ * Lookup394: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
},
/**
- * Lookup387: pallet_evm::pallet::Error<T>
+ * Lookup395: pallet_rmrk_core::pallet::Error<T>
+ **/
+ PalletRmrkCoreError: {
+ _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'CollectionFullOrLocked']
+ },
+ /**
+ * Lookup397: pallet_rmrk_equip::pallet::Error<T>
+ **/
+ PalletRmrkEquipError: {
+ _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']
+ },
+ /**
+ * Lookup400: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup390: fp_rpc::TransactionStatus
+ * Lookup403: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2564,11 +2716,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup392: ethbloom::Bloom
+ * Lookup405: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup394: ethereum::receipt::ReceiptV3
+ * Lookup407: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2578,7 +2730,7 @@
}
},
/**
- * Lookup395: ethereum::receipt::EIP658ReceiptData
+ * Lookup408: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2587,7 +2739,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup396: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup409: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -2595,7 +2747,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup397: ethereum::header::Header
+ * Lookup410: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -2615,41 +2767,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup398: ethereum_types::hash::H64
+ * Lookup411: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup403: pallet_ethereum::pallet::Error<T>
+ * Lookup416: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup404: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup417: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup405: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup418: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup407: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup420: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup408: pallet_evm_migration::pallet::Error<T>
+ * Lookup421: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup410: sp_runtime::MultiSignature
+ * Lookup423: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -2659,43 +2811,43 @@
}
},
/**
- * Lookup411: sp_core::ed25519::Signature
+ * Lookup424: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup413: sp_core::sr25519::Signature
+ * Lookup426: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup414: sp_core::ecdsa::Signature
+ * Lookup427: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup417: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup430: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup418: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup431: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup421: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup434: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup422: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup435: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup423: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup436: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup424: opal_runtime::Runtime
+ * Lookup437: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup425: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup438: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, 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, PhantomTypeUpDataStructsBaseInfo, PhantomTypeUpDataStructsCollectionInfo, PhantomTypeUpDataStructsNftChild, PhantomTypeUpDataStructsNftInfo, PhantomTypeUpDataStructsPartType, PhantomTypeUpDataStructsPropertyInfo, PhantomTypeUpDataStructsResourceInfo, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTheme, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTypesAccountIdOrCollectionNftTuple, RmrkTypesBaseInfo, RmrkTypesCollectionInfo, RmrkTypesEquippableList, RmrkTypesFixedPart, RmrkTypesNftChild, RmrkTypesNftInfo, RmrkTypesPartType, RmrkTypesPropertyInfo, RmrkTypesResourceInfo, RmrkTypesRoyaltyInfo, RmrkTypesSlotPart, RmrkTypesTheme, RmrkTypesThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 '@polkadot/types/lookup';
+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, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructsBaseInfo, PhantomTypeUpDataStructsCollectionInfo, PhantomTypeUpDataStructsNftChild, PhantomTypeUpDataStructsNftInfo, PhantomTypeUpDataStructsPartType, PhantomTypeUpDataStructsPropertyInfo, PhantomTypeUpDataStructsResourceInfo, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTheme, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, 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, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -104,6 +104,12 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
+ PalletRmrkCoreCall: PalletRmrkCoreCall;
+ PalletRmrkCoreError: PalletRmrkCoreError;
+ PalletRmrkCoreEvent: PalletRmrkCoreEvent;
+ PalletRmrkEquipCall: PalletRmrkEquipCall;
+ PalletRmrkEquipError: PalletRmrkEquipError;
+ PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletStructureCall: PalletStructureCall;
PalletStructureError: PalletStructureError;
PalletStructureEvent: PalletStructureEvent;
@@ -142,20 +148,6 @@
PolkadotPrimitivesV2AbridgedHrmpChannel: PolkadotPrimitivesV2AbridgedHrmpChannel;
PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData;
PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction;
- RmrkTypesAccountIdOrCollectionNftTuple: RmrkTypesAccountIdOrCollectionNftTuple;
- RmrkTypesBaseInfo: RmrkTypesBaseInfo;
- RmrkTypesCollectionInfo: RmrkTypesCollectionInfo;
- RmrkTypesEquippableList: RmrkTypesEquippableList;
- RmrkTypesFixedPart: RmrkTypesFixedPart;
- RmrkTypesNftChild: RmrkTypesNftChild;
- RmrkTypesNftInfo: RmrkTypesNftInfo;
- RmrkTypesPartType: RmrkTypesPartType;
- RmrkTypesPropertyInfo: RmrkTypesPropertyInfo;
- RmrkTypesResourceInfo: RmrkTypesResourceInfo;
- RmrkTypesRoyaltyInfo: RmrkTypesRoyaltyInfo;
- RmrkTypesSlotPart: RmrkTypesSlotPart;
- RmrkTypesTheme: RmrkTypesTheme;
- RmrkTypesThemeProperty: RmrkTypesThemeProperty;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
SpCoreSr25519Signature: SpCoreSr25519Signature;
@@ -190,6 +182,24 @@
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;
UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
tests/src/interfaces/rmrk/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/rmrk/definitions.ts
+++ b/tests/src/interfaces/rmrk/definitions.ts
@@ -33,14 +33,14 @@
types,
rpc: {
lastCollectionIdx: fn('Get the latest created collection id', [], 'u32'),
- collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<RmrkTypesCollectionInfo>'),
+ collectionById: fn('Get collection by id', [{name: 'id', type: 'u32'}], 'Option<PhantomTypeUpDataStructsCollectionInfo>'),
nftById: fn(
'Get NFT by collection id and NFT id',
[
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Option<RmrkTypesNftInfo>',
+ 'Option<PhantomTypeUpDataStructsNftInfo>',
),
accountTokens: fn(
'Get tokens owned by an account in a collection',
@@ -56,12 +56,12 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<RmrkTypesNftChild>',
+ 'Vec<PhantomTypeUpDataStructsNftChild>',
),
collectionProperties: fn(
'Get collection properties',
[{name: 'collectionId', type: 'u32'}],
- 'Vec<RmrkTypesPropertyInfo>',
+ 'Vec<PhantomTypeUpDataStructsPropertyInfo>',
),
nftProperties: fn(
'Get NFT properties',
@@ -69,7 +69,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<RmrkTypesPropertyInfo>',
+ 'Vec<PhantomTypeUpDataStructsPropertyInfo>',
),
nftResources: fn(
'Get NFT resources',
@@ -77,7 +77,7 @@
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
],
- 'Vec<RmrkTypesResourceInfo>',
+ 'Vec<PhantomTypeUpDataStructsResourceInfo>',
),
nftResourcePriorities: fn(
'Get NFT resource priorities',
@@ -90,12 +90,12 @@
base: fn(
'Get base info',
[{name: 'baseId', type: 'u32'}],
- 'Option<RmrkTypesBaseInfo>',
+ 'Option<PhantomTypeUpDataStructsBaseInfo>',
),
baseParts: fn(
'Get all Base\'s parts',
[{name: 'baseId', type: 'u32'}],
- 'Vec<RmrkTypesPartType>',
+ 'Vec<PhantomTypeUpDataStructsPartType>',
),
themeNames: fn(
'Get Base\'s theme names',
@@ -109,7 +109,7 @@
{name: 'themeName', type: 'String'},
{name: 'keys', type: 'Option<Vec<String>>'},
],
- 'Option<RmrkTypesTheme>',
+ 'Option<PhantomTypeUpDataStructsTheme>',
),
},
};
tests/src/interfaces/rmrk/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/rmrk/types.ts
+++ b/tests/src/interfaces/rmrk/types.ts
@@ -1128,6 +1128,145 @@
readonly constData: Bytes;
}
+/** @name PalletRmrkCoreCall */
+export interface PalletRmrkCoreCall extends Enum {
+ readonly isCreateCollection: boolean;
+ readonly asCreateCollection: {
+ readonly metadata: Bytes;
+ readonly max: Option<u32>;
+ readonly symbol: Bytes;
+ } & Struct;
+ readonly isDestroyCollection: boolean;
+ readonly asDestroyCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isChangeCollectionIssuer: boolean;
+ readonly asChangeCollectionIssuer: {
+ readonly collectionId: u32;
+ readonly newIssuer: MultiAddress;
+ } & Struct;
+ readonly isLockCollection: boolean;
+ readonly asLockCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isMintNft: boolean;
+ readonly asMintNft: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly recipient: Option<AccountId32>;
+ readonly royaltyAmount: Option<Permill>;
+ readonly metadata: Bytes;
+ } & Struct;
+ readonly isBurnNft: boolean;
+ readonly asBurnNft: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isSetProperty: boolean;
+ readonly asSetProperty: {
+ readonly rmrkCollectionId: Compact<u32>;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';
+}
+
+/** @name PalletRmrkCoreError */
+export interface PalletRmrkCoreError extends Enum {
+ readonly isCorruptedCollectionType: boolean;
+ readonly isNftTypeEncodeError: boolean;
+ readonly isRmrkPropertyKeyIsTooLong: boolean;
+ readonly isRmrkPropertyValueIsTooLong: boolean;
+ readonly isCollectionNotEmpty: boolean;
+ readonly isNoAvailableCollectionId: boolean;
+ readonly isNoAvailableNftId: boolean;
+ readonly isCollectionUnknown: boolean;
+ readonly isNoPermission: boolean;
+ readonly isCollectionFullOrLocked: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
+}
+
+/** @name PalletRmrkCoreEvent */
+export interface PalletRmrkCoreEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isIssuerChanged: boolean;
+ readonly asIssuerChanged: {
+ readonly oldIssuer: AccountId32;
+ readonly newIssuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionLocked: boolean;
+ readonly asCollectionLocked: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isNftMinted: boolean;
+ readonly asNftMinted: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftBurned: boolean;
+ readonly asNftBurned: {
+ readonly owner: AccountId32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isPropertySet: boolean;
+ readonly asPropertySet: {
+ readonly collectionId: u32;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';
+}
+
+/** @name PalletRmrkEquipCall */
+export interface PalletRmrkEquipCall extends Enum {
+ readonly isCreateBase: boolean;
+ readonly asCreateBase: {
+ readonly baseType: Bytes;
+ readonly symbol: Bytes;
+ readonly parts: Vec<UpDataStructsRmrkPartType>;
+ } & Struct;
+ readonly isThemeAdd: boolean;
+ readonly asThemeAdd: {
+ readonly baseId: u32;
+ readonly theme: UpDataStructsRmrkTheme;
+ } & Struct;
+ readonly type: 'CreateBase' | 'ThemeAdd';
+}
+
+/** @name PalletRmrkEquipError */
+export interface PalletRmrkEquipError extends Enum {
+ readonly isPermissionError: boolean;
+ readonly isNoAvailableBaseId: boolean;
+ readonly isNoAvailablePartId: boolean;
+ readonly isBaseDoesntExist: boolean;
+ readonly isNeedsDefaultThemeFirst: boolean;
+ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
+}
+
+/** @name PalletRmrkEquipEvent */
+export interface PalletRmrkEquipEvent extends Enum {
+ readonly isBaseCreated: boolean;
+ readonly asBaseCreated: {
+ readonly issuer: AccountId32;
+ readonly baseId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated';
+}
+
/** @name PalletStructureCall */
export interface PalletStructureCall extends Null {}
@@ -1615,34 +1754,34 @@
}
/** @name PhantomTypeUpDataStructsBaseInfo */
-export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup357> {}
+export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup375> {}
/** @name PhantomTypeUpDataStructsCollectionInfo */
-export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup334> {}
+export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup353> {}
/** @name PhantomTypeUpDataStructsNftChild */
-export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup372> {}
+export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup382> {}
/** @name PhantomTypeUpDataStructsNftInfo */
-export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup339> {}
+export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup356> {}
/** @name PhantomTypeUpDataStructsPartType */
-export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup360> {}
+export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup215> {}
/** @name PhantomTypeUpDataStructsPropertyInfo */
-export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup352> {}
+export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup372> {}
/** @name PhantomTypeUpDataStructsResourceInfo */
-export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup345> {}
+export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup362> {}
/** @name PhantomTypeUpDataStructsRpcCollection */
-export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup331> {}
+export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup350> {}
/** @name PhantomTypeUpDataStructsTheme */
-export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup367> {}
+export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup221> {}
/** @name PhantomTypeUpDataStructsTokenData */
-export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup327> {}
+export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup346> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -1705,120 +1844,8 @@
export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
-}
-
-/** @name RmrkTypesAccountIdOrCollectionNftTuple */
-export interface RmrkTypesAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
-}
-
-/** @name RmrkTypesBaseInfo */
-export interface RmrkTypesBaseInfo extends Struct {
- readonly issuer: AccountId32;
- readonly baseType: Bytes;
- readonly symbol: Bytes;
-}
-
-/** @name RmrkTypesCollectionInfo */
-export interface RmrkTypesCollectionInfo extends Struct {
- readonly issuer: AccountId32;
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- readonly nftsCount: u32;
-}
-
-/** @name RmrkTypesEquippableList */
-export interface RmrkTypesEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
-}
-
-/** @name RmrkTypesFixedPart */
-export interface RmrkTypesFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
-}
-
-/** @name RmrkTypesNftChild */
-export interface RmrkTypesNftChild extends Struct {
- readonly collectionId: u32;
- readonly nftId: u32;
-}
-
-/** @name RmrkTypesNftInfo */
-export interface RmrkTypesNftInfo extends Struct {
- readonly owner: RmrkTypesAccountIdOrCollectionNftTuple;
- readonly royalty: Option<RmrkTypesRoyaltyInfo>;
- readonly metadata: Bytes;
- readonly equipped: bool;
- readonly pending: bool;
-}
-
-/** @name RmrkTypesPartType */
-export interface RmrkTypesPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: RmrkTypesFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: RmrkTypesSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
-}
-
-/** @name RmrkTypesPropertyInfo */
-export interface RmrkTypesPropertyInfo extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
-/** @name RmrkTypesResourceInfo */
-export interface RmrkTypesResourceInfo extends Struct {
- readonly id: Bytes;
- readonly pending: bool;
- readonly pendingRemoval: bool;
- readonly parts: Option<Vec<u32>>;
- readonly base: Option<u32>;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly slot: Option<u32>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name RmrkTypesRoyaltyInfo */
-export interface RmrkTypesRoyaltyInfo extends Struct {
- readonly recipient: AccountId32;
- readonly amount: Permill;
-}
-
-/** @name RmrkTypesSlotPart */
-export interface RmrkTypesSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: RmrkTypesEquippableList;
- readonly src: Bytes;
- readonly z: u32;
-}
-
-/** @name RmrkTypesTheme */
-export interface RmrkTypesTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<RmrkTypesThemeProperty>;
- readonly inherit: bool;
}
-/** @name RmrkTypesThemeProperty */
-export interface RmrkTypesThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
/** @name SpCoreEcdsaSignature */
export interface SpCoreEcdsaSignature extends U8aFixed {}
@@ -2096,6 +2123,151 @@
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: Bytes;
+ 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;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1674 /** @name PalletStructureCall (206) */1674 /** @name PalletStructureCall (206) */1675 export type PalletStructureCall = Null;1675 export type PalletStructureCall = Null;16761677 /** @name PalletRmrkCoreCall (207) */1678 export interface PalletRmrkCoreCall extends Enum {1679 readonly isCreateCollection: boolean;1680 readonly asCreateCollection: {1681 readonly metadata: Bytes;1682 readonly max: Option<u32>;1683 readonly symbol: Bytes;1684 } & Struct;1685 readonly isDestroyCollection: boolean;1686 readonly asDestroyCollection: {1687 readonly collectionId: u32;1688 } & Struct;1689 readonly isChangeCollectionIssuer: boolean;1690 readonly asChangeCollectionIssuer: {1691 readonly collectionId: u32;1692 readonly newIssuer: MultiAddress;1693 } & Struct;1694 readonly isLockCollection: boolean;1695 readonly asLockCollection: {1696 readonly collectionId: u32;1697 } & Struct;1698 readonly isMintNft: boolean;1699 readonly asMintNft: {1700 readonly owner: AccountId32;1701 readonly collectionId: u32;1702 readonly recipient: Option<AccountId32>;1703 readonly royaltyAmount: Option<Permill>;1704 readonly metadata: Bytes;1705 } & Struct;1706 readonly isBurnNft: boolean;1707 readonly asBurnNft: {1708 readonly collectionId: u32;1709 readonly nftId: u32;1710 } & Struct;1711 readonly isSetProperty: boolean;1712 readonly asSetProperty: {1713 readonly rmrkCollectionId: Compact<u32>;1714 readonly maybeNftId: Option<u32>;1715 readonly key: Bytes;1716 readonly value: Bytes;1717 } & Struct;1718 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';1719 }17201721 /** @name PalletRmrkEquipCall (213) */1722 export interface PalletRmrkEquipCall extends Enum {1723 readonly isCreateBase: boolean;1724 readonly asCreateBase: {1725 readonly baseType: Bytes;1726 readonly symbol: Bytes;1727 readonly parts: Vec<UpDataStructsRmrkPartType>;1728 } & Struct;1729 readonly isThemeAdd: boolean;1730 readonly asThemeAdd: {1731 readonly baseId: u32;1732 readonly theme: UpDataStructsRmrkTheme;1733 } & Struct;1734 readonly type: 'CreateBase' | 'ThemeAdd';1735 }17361737 /** @name UpDataStructsRmrkPartType (215) */1738 export interface UpDataStructsRmrkPartType extends Enum {1739 readonly isFixedPart: boolean;1740 readonly asFixedPart: UpDataStructsRmrkFixedPart;1741 readonly isSlotPart: boolean;1742 readonly asSlotPart: UpDataStructsRmrkSlotPart;1743 readonly type: 'FixedPart' | 'SlotPart';1744 }17451746 /** @name UpDataStructsRmrkFixedPart (217) */1747 export interface UpDataStructsRmrkFixedPart extends Struct {1748 readonly id: u32;1749 readonly z: u32;1750 readonly src: Bytes;1751 }17521753 /** @name UpDataStructsRmrkSlotPart (218) */1754 export interface UpDataStructsRmrkSlotPart extends Struct {1755 readonly id: u32;1756 readonly equippable: UpDataStructsRmrkEquippableList;1757 readonly src: Bytes;1758 readonly z: u32;1759 }17601761 /** @name UpDataStructsRmrkEquippableList (219) */1762 export interface UpDataStructsRmrkEquippableList extends Enum {1763 readonly isAll: boolean;1764 readonly isEmpty: boolean;1765 readonly isCustom: boolean;1766 readonly asCustom: Vec<u32>;1767 readonly type: 'All' | 'Empty' | 'Custom';1768 }17691770 /** @name UpDataStructsRmrkTheme (221) */1771 export interface UpDataStructsRmrkTheme extends Struct {1772 readonly name: Bytes;1773 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;1774 readonly inherit: bool;1775 }17761777 /** @name UpDataStructsRmrkThemeProperty (223) */1778 export interface UpDataStructsRmrkThemeProperty extends Struct {1779 readonly key: Bytes;1780 readonly value: Bytes;1781 }167617821677 /** @name PalletEvmCall (207) */1783 /** @name PalletEvmCall (224) */1678 export interface PalletEvmCall extends Enum {1784 export interface PalletEvmCall extends Enum {1679 readonly isWithdraw: boolean;1785 readonly isWithdraw: boolean;1680 readonly asWithdraw: {1786 readonly asWithdraw: {1719 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1825 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1720 }1826 }172118271722 /** @name PalletEthereumCall (213) */1828 /** @name PalletEthereumCall (230) */1723 export interface PalletEthereumCall extends Enum {1829 export interface PalletEthereumCall extends Enum {1724 readonly isTransact: boolean;1830 readonly isTransact: boolean;1725 readonly asTransact: {1831 readonly asTransact: {1728 readonly type: 'Transact';1834 readonly type: 'Transact';1729 }1835 }173018361731 /** @name EthereumTransactionTransactionV2 (214) */1837 /** @name EthereumTransactionTransactionV2 (231) */1732 export interface EthereumTransactionTransactionV2 extends Enum {1838 export interface EthereumTransactionTransactionV2 extends Enum {1733 readonly isLegacy: boolean;1839 readonly isLegacy: boolean;1734 readonly asLegacy: EthereumTransactionLegacyTransaction;1840 readonly asLegacy: EthereumTransactionLegacyTransaction;1739 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1845 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1740 }1846 }174118471742 /** @name EthereumTransactionLegacyTransaction (215) */1848 /** @name EthereumTransactionLegacyTransaction (232) */1743 export interface EthereumTransactionLegacyTransaction extends Struct {1849 export interface EthereumTransactionLegacyTransaction extends Struct {1744 readonly nonce: U256;1850 readonly nonce: U256;1745 readonly gasPrice: U256;1851 readonly gasPrice: U256;1750 readonly signature: EthereumTransactionTransactionSignature;1856 readonly signature: EthereumTransactionTransactionSignature;1751 }1857 }175218581753 /** @name EthereumTransactionTransactionAction (216) */1859 /** @name EthereumTransactionTransactionAction (233) */1754 export interface EthereumTransactionTransactionAction extends Enum {1860 export interface EthereumTransactionTransactionAction extends Enum {1755 readonly isCall: boolean;1861 readonly isCall: boolean;1756 readonly asCall: H160;1862 readonly asCall: H160;1757 readonly isCreate: boolean;1863 readonly isCreate: boolean;1758 readonly type: 'Call' | 'Create';1864 readonly type: 'Call' | 'Create';1759 }1865 }176018661761 /** @name EthereumTransactionTransactionSignature (217) */1867 /** @name EthereumTransactionTransactionSignature (234) */1762 export interface EthereumTransactionTransactionSignature extends Struct {1868 export interface EthereumTransactionTransactionSignature extends Struct {1763 readonly v: u64;1869 readonly v: u64;1764 readonly r: H256;1870 readonly r: H256;1765 readonly s: H256;1871 readonly s: H256;1766 }1872 }176718731768 /** @name EthereumTransactionEip2930Transaction (219) */1874 /** @name EthereumTransactionEip2930Transaction (236) */1769 export interface EthereumTransactionEip2930Transaction extends Struct {1875 export interface EthereumTransactionEip2930Transaction extends Struct {1770 readonly chainId: u64;1876 readonly chainId: u64;1771 readonly nonce: U256;1877 readonly nonce: U256;1780 readonly s: H256;1886 readonly s: H256;1781 }1887 }178218881783 /** @name EthereumTransactionAccessListItem (221) */1889 /** @name EthereumTransactionAccessListItem (238) */1784 export interface EthereumTransactionAccessListItem extends Struct {1890 export interface EthereumTransactionAccessListItem extends Struct {1785 readonly address: H160;1891 readonly address: H160;1786 readonly storageKeys: Vec<H256>;1892 readonly storageKeys: Vec<H256>;1787 }1893 }178818941789 /** @name EthereumTransactionEip1559Transaction (222) */1895 /** @name EthereumTransactionEip1559Transaction (239) */1790 export interface EthereumTransactionEip1559Transaction extends Struct {1896 export interface EthereumTransactionEip1559Transaction extends Struct {1791 readonly chainId: u64;1897 readonly chainId: u64;1792 readonly nonce: U256;1898 readonly nonce: U256;1802 readonly s: H256;1908 readonly s: H256;1803 }1909 }180419101805 /** @name PalletEvmMigrationCall (223) */1911 /** @name PalletEvmMigrationCall (240) */1806 export interface PalletEvmMigrationCall extends Enum {1912 export interface PalletEvmMigrationCall extends Enum {1807 readonly isBegin: boolean;1913 readonly isBegin: boolean;1808 readonly asBegin: {1914 readonly asBegin: {1821 readonly type: 'Begin' | 'SetData' | 'Finish';1927 readonly type: 'Begin' | 'SetData' | 'Finish';1822 }1928 }182319291824 /** @name PalletSudoEvent (226) */1930 /** @name PalletSudoEvent (243) */1825 export interface PalletSudoEvent extends Enum {1931 export interface PalletSudoEvent extends Enum {1826 readonly isSudid: boolean;1932 readonly isSudid: boolean;1827 readonly asSudid: {1933 readonly asSudid: {1838 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1944 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1839 }1945 }184019461841 /** @name SpRuntimeDispatchError (228) */1947 /** @name SpRuntimeDispatchError (245) */1842 export interface SpRuntimeDispatchError extends Enum {1948 export interface SpRuntimeDispatchError extends Enum {1843 readonly isOther: boolean;1949 readonly isOther: boolean;1844 readonly isCannotLookup: boolean;1950 readonly isCannotLookup: boolean;1857 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1963 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1858 }1964 }185919651860 /** @name SpRuntimeModuleError (229) */1966 /** @name SpRuntimeModuleError (246) */1861 export interface SpRuntimeModuleError extends Struct {1967 export interface SpRuntimeModuleError extends Struct {1862 readonly index: u8;1968 readonly index: u8;1863 readonly error: U8aFixed;1969 readonly error: U8aFixed;1864 }1970 }186519711866 /** @name SpRuntimeTokenError (230) */1972 /** @name SpRuntimeTokenError (247) */1867 export interface SpRuntimeTokenError extends Enum {1973 export interface SpRuntimeTokenError extends Enum {1868 readonly isNoFunds: boolean;1974 readonly isNoFunds: boolean;1869 readonly isWouldDie: boolean;1975 readonly isWouldDie: boolean;1875 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1981 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1876 }1982 }187719831878 /** @name SpRuntimeArithmeticError (231) */1984 /** @name SpRuntimeArithmeticError (248) */1879 export interface SpRuntimeArithmeticError extends Enum {1985 export interface SpRuntimeArithmeticError extends Enum {1880 readonly isUnderflow: boolean;1986 readonly isUnderflow: boolean;1881 readonly isOverflow: boolean;1987 readonly isOverflow: boolean;1882 readonly isDivisionByZero: boolean;1988 readonly isDivisionByZero: boolean;1883 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1989 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1884 }1990 }188519911886 /** @name SpRuntimeTransactionalError (232) */1992 /** @name SpRuntimeTransactionalError (249) */1887 export interface SpRuntimeTransactionalError extends Enum {1993 export interface SpRuntimeTransactionalError extends Enum {1888 readonly isLimitReached: boolean;1994 readonly isLimitReached: boolean;1889 readonly isNoLayer: boolean;1995 readonly isNoLayer: boolean;1890 readonly type: 'LimitReached' | 'NoLayer';1996 readonly type: 'LimitReached' | 'NoLayer';1891 }1997 }189219981893 /** @name PalletSudoError (233) */1999 /** @name PalletSudoError (250) */1894 export interface PalletSudoError extends Enum {2000 export interface PalletSudoError extends Enum {1895 readonly isRequireSudo: boolean;2001 readonly isRequireSudo: boolean;1896 readonly type: 'RequireSudo';2002 readonly type: 'RequireSudo';1897 }2003 }189820041899 /** @name FrameSystemAccountInfo (234) */2005 /** @name FrameSystemAccountInfo (251) */1900 export interface FrameSystemAccountInfo extends Struct {2006 export interface FrameSystemAccountInfo extends Struct {1901 readonly nonce: u32;2007 readonly nonce: u32;1902 readonly consumers: u32;2008 readonly consumers: u32;1905 readonly data: PalletBalancesAccountData;2011 readonly data: PalletBalancesAccountData;1906 }2012 }190720131908 /** @name FrameSupportWeightsPerDispatchClassU64 (235) */2014 /** @name FrameSupportWeightsPerDispatchClassU64 (252) */1909 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2015 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1910 readonly normal: u64;2016 readonly normal: u64;1911 readonly operational: u64;2017 readonly operational: u64;1912 readonly mandatory: u64;2018 readonly mandatory: u64;1913 }2019 }191420201915 /** @name SpRuntimeDigest (236) */2021 /** @name SpRuntimeDigest (253) */1916 export interface SpRuntimeDigest extends Struct {2022 export interface SpRuntimeDigest extends Struct {1917 readonly logs: Vec<SpRuntimeDigestDigestItem>;2023 readonly logs: Vec<SpRuntimeDigestDigestItem>;1918 }2024 }191920251920 /** @name SpRuntimeDigestDigestItem (238) */2026 /** @name SpRuntimeDigestDigestItem (255) */1921 export interface SpRuntimeDigestDigestItem extends Enum {2027 export interface SpRuntimeDigestDigestItem extends Enum {1922 readonly isOther: boolean;2028 readonly isOther: boolean;1923 readonly asOther: Bytes;2029 readonly asOther: Bytes;1931 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2037 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1932 }2038 }193320391934 /** @name FrameSystemEventRecord (240) */2040 /** @name FrameSystemEventRecord (257) */1935 export interface FrameSystemEventRecord extends Struct {2041 export interface FrameSystemEventRecord extends Struct {1936 readonly phase: FrameSystemPhase;2042 readonly phase: FrameSystemPhase;1937 readonly event: Event;2043 readonly event: Event;1938 readonly topics: Vec<H256>;2044 readonly topics: Vec<H256>;1939 }2045 }194020461941 /** @name FrameSystemEvent (242) */2047 /** @name FrameSystemEvent (259) */1942 export interface FrameSystemEvent extends Enum {2048 export interface FrameSystemEvent extends Enum {1943 readonly isExtrinsicSuccess: boolean;2049 readonly isExtrinsicSuccess: boolean;1944 readonly asExtrinsicSuccess: {2050 readonly asExtrinsicSuccess: {1966 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2072 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1967 }2073 }196820741969 /** @name FrameSupportWeightsDispatchInfo (243) */2075 /** @name FrameSupportWeightsDispatchInfo (260) */1970 export interface FrameSupportWeightsDispatchInfo extends Struct {2076 export interface FrameSupportWeightsDispatchInfo extends Struct {1971 readonly weight: u64;2077 readonly weight: u64;1972 readonly class: FrameSupportWeightsDispatchClass;2078 readonly class: FrameSupportWeightsDispatchClass;1973 readonly paysFee: FrameSupportWeightsPays;2079 readonly paysFee: FrameSupportWeightsPays;1974 }2080 }197520811976 /** @name FrameSupportWeightsDispatchClass (244) */2082 /** @name FrameSupportWeightsDispatchClass (261) */1977 export interface FrameSupportWeightsDispatchClass extends Enum {2083 export interface FrameSupportWeightsDispatchClass extends Enum {1978 readonly isNormal: boolean;2084 readonly isNormal: boolean;1979 readonly isOperational: boolean;2085 readonly isOperational: boolean;1980 readonly isMandatory: boolean;2086 readonly isMandatory: boolean;1981 readonly type: 'Normal' | 'Operational' | 'Mandatory';2087 readonly type: 'Normal' | 'Operational' | 'Mandatory';1982 }2088 }198320891984 /** @name FrameSupportWeightsPays (245) */2090 /** @name FrameSupportWeightsPays (262) */1985 export interface FrameSupportWeightsPays extends Enum {2091 export interface FrameSupportWeightsPays extends Enum {1986 readonly isYes: boolean;2092 readonly isYes: boolean;1987 readonly isNo: boolean;2093 readonly isNo: boolean;1988 readonly type: 'Yes' | 'No';2094 readonly type: 'Yes' | 'No';1989 }2095 }199020961991 /** @name OrmlVestingModuleEvent (246) */2097 /** @name OrmlVestingModuleEvent (263) */1992 export interface OrmlVestingModuleEvent extends Enum {2098 export interface OrmlVestingModuleEvent extends Enum {1993 readonly isVestingScheduleAdded: boolean;2099 readonly isVestingScheduleAdded: boolean;1994 readonly asVestingScheduleAdded: {2100 readonly asVestingScheduleAdded: {2008 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2114 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2009 }2115 }201021162011 /** @name CumulusPalletXcmpQueueEvent (247) */2117 /** @name CumulusPalletXcmpQueueEvent (264) */2012 export interface CumulusPalletXcmpQueueEvent extends Enum {2118 export interface CumulusPalletXcmpQueueEvent extends Enum {2013 readonly isSuccess: boolean;2119 readonly isSuccess: boolean;2014 readonly asSuccess: Option<H256>;2120 readonly asSuccess: Option<H256>;2029 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2135 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2030 }2136 }203121372032 /** @name PalletXcmEvent (248) */2138 /** @name PalletXcmEvent (265) */2033 export interface PalletXcmEvent extends Enum {2139 export interface PalletXcmEvent extends Enum {2034 readonly isAttempted: boolean;2140 readonly isAttempted: boolean;2035 readonly asAttempted: XcmV2TraitsOutcome;2141 readonly asAttempted: XcmV2TraitsOutcome;2066 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2172 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2067 }2173 }206821742069 /** @name XcmV2TraitsOutcome (249) */2175 /** @name XcmV2TraitsOutcome (266) */2070 export interface XcmV2TraitsOutcome extends Enum {2176 export interface XcmV2TraitsOutcome extends Enum {2071 readonly isComplete: boolean;2177 readonly isComplete: boolean;2072 readonly asComplete: u64;2178 readonly asComplete: u64;2077 readonly type: 'Complete' | 'Incomplete' | 'Error';2183 readonly type: 'Complete' | 'Incomplete' | 'Error';2078 }2184 }207921852080 /** @name CumulusPalletXcmEvent (251) */2186 /** @name CumulusPalletXcmEvent (268) */2081 export interface CumulusPalletXcmEvent extends Enum {2187 export interface CumulusPalletXcmEvent extends Enum {2082 readonly isInvalidFormat: boolean;2188 readonly isInvalidFormat: boolean;2083 readonly asInvalidFormat: U8aFixed;2189 readonly asInvalidFormat: U8aFixed;2088 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2194 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2089 }2195 }209021962091 /** @name CumulusPalletDmpQueueEvent (252) */2197 /** @name CumulusPalletDmpQueueEvent (269) */2092 export interface CumulusPalletDmpQueueEvent extends Enum {2198 export interface CumulusPalletDmpQueueEvent extends Enum {2093 readonly isInvalidFormat: boolean;2199 readonly isInvalidFormat: boolean;2094 readonly asInvalidFormat: U8aFixed;2200 readonly asInvalidFormat: U8aFixed;2105 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2211 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2106 }2212 }210722132108 /** @name PalletUniqueRawEvent (253) */2214 /** @name PalletUniqueRawEvent (270) */2109 export interface PalletUniqueRawEvent extends Enum {2215 export interface PalletUniqueRawEvent extends Enum {2110 readonly isCollectionSponsorRemoved: boolean;2216 readonly isCollectionSponsorRemoved: boolean;2111 readonly asCollectionSponsorRemoved: u32;2217 readonly asCollectionSponsorRemoved: u32;2138 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet';2244 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet';2139 }2245 }214022462141 /** @name PalletCommonEvent (254) */2247 /** @name PalletCommonEvent (271) */2142 export interface PalletCommonEvent extends Enum {2248 export interface PalletCommonEvent extends Enum {2143 readonly isCollectionCreated: boolean;2249 readonly isCollectionCreated: boolean;2144 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2250 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2165 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2271 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2166 }2272 }216722732168 /** @name PalletStructureEvent (255) */2274 /** @name PalletStructureEvent (272) */2169 export interface PalletStructureEvent extends Enum {2275 export interface PalletStructureEvent extends Enum {2170 readonly isExecuted: boolean;2276 readonly isExecuted: boolean;2171 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2277 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2172 readonly type: 'Executed';2278 readonly type: 'Executed';2173 }2279 }22802281 /** @name PalletRmrkCoreEvent (273) */2282 export interface PalletRmrkCoreEvent extends Enum {2283 readonly isCollectionCreated: boolean;2284 readonly asCollectionCreated: {2285 readonly issuer: AccountId32;2286 readonly collectionId: u32;2287 } & Struct;2288 readonly isCollectionDestroyed: boolean;2289 readonly asCollectionDestroyed: {2290 readonly issuer: AccountId32;2291 readonly collectionId: u32;2292 } & Struct;2293 readonly isIssuerChanged: boolean;2294 readonly asIssuerChanged: {2295 readonly oldIssuer: AccountId32;2296 readonly newIssuer: AccountId32;2297 readonly collectionId: u32;2298 } & Struct;2299 readonly isCollectionLocked: boolean;2300 readonly asCollectionLocked: {2301 readonly issuer: AccountId32;2302 readonly collectionId: u32;2303 } & Struct;2304 readonly isNftMinted: boolean;2305 readonly asNftMinted: {2306 readonly owner: AccountId32;2307 readonly collectionId: u32;2308 readonly nftId: u32;2309 } & Struct;2310 readonly isNftBurned: boolean;2311 readonly asNftBurned: {2312 readonly owner: AccountId32;2313 readonly nftId: u32;2314 } & Struct;2315 readonly isPropertySet: boolean;2316 readonly asPropertySet: {2317 readonly collectionId: u32;2318 readonly maybeNftId: Option<u32>;2319 readonly key: Bytes;2320 readonly value: Bytes;2321 } & Struct;2322 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';2323 }23242325 /** @name PalletRmrkEquipEvent (274) */2326 export interface PalletRmrkEquipEvent extends Enum {2327 readonly isBaseCreated: boolean;2328 readonly asBaseCreated: {2329 readonly issuer: AccountId32;2330 readonly baseId: u32;2331 } & Struct;2332 readonly type: 'BaseCreated';2333 }217423342175 /** @name PalletEvmEvent (256) */2335 /** @name PalletEvmEvent (275) */2176 export interface PalletEvmEvent extends Enum {2336 export interface PalletEvmEvent extends Enum {2177 readonly isLog: boolean;2337 readonly isLog: boolean;2178 readonly asLog: EthereumLog;2338 readonly asLog: EthereumLog;2191 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2351 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2192 }2352 }219323532194 /** @name EthereumLog (257) */2354 /** @name EthereumLog (276) */2195 export interface EthereumLog extends Struct {2355 export interface EthereumLog extends Struct {2196 readonly address: H160;2356 readonly address: H160;2197 readonly topics: Vec<H256>;2357 readonly topics: Vec<H256>;2198 readonly data: Bytes;2358 readonly data: Bytes;2199 }2359 }220023602201 /** @name PalletEthereumEvent (258) */2361 /** @name PalletEthereumEvent (277) */2202 export interface PalletEthereumEvent extends Enum {2362 export interface PalletEthereumEvent extends Enum {2203 readonly isExecuted: boolean;2363 readonly isExecuted: boolean;2204 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2364 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2205 readonly type: 'Executed';2365 readonly type: 'Executed';2206 }2366 }220723672208 /** @name EvmCoreErrorExitReason (259) */2368 /** @name EvmCoreErrorExitReason (278) */2209 export interface EvmCoreErrorExitReason extends Enum {2369 export interface EvmCoreErrorExitReason extends Enum {2210 readonly isSucceed: boolean;2370 readonly isSucceed: boolean;2211 readonly asSucceed: EvmCoreErrorExitSucceed;2371 readonly asSucceed: EvmCoreErrorExitSucceed;2218 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2378 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2219 }2379 }222023802221 /** @name EvmCoreErrorExitSucceed (260) */2381 /** @name EvmCoreErrorExitSucceed (279) */2222 export interface EvmCoreErrorExitSucceed extends Enum {2382 export interface EvmCoreErrorExitSucceed extends Enum {2223 readonly isStopped: boolean;2383 readonly isStopped: boolean;2224 readonly isReturned: boolean;2384 readonly isReturned: boolean;2225 readonly isSuicided: boolean;2385 readonly isSuicided: boolean;2226 readonly type: 'Stopped' | 'Returned' | 'Suicided';2386 readonly type: 'Stopped' | 'Returned' | 'Suicided';2227 }2387 }222823882229 /** @name EvmCoreErrorExitError (261) */2389 /** @name EvmCoreErrorExitError (280) */2230 export interface EvmCoreErrorExitError extends Enum {2390 export interface EvmCoreErrorExitError extends Enum {2231 readonly isStackUnderflow: boolean;2391 readonly isStackUnderflow: boolean;2232 readonly isStackOverflow: boolean;2392 readonly isStackOverflow: boolean;2247 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2407 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2248 }2408 }224924092250 /** @name EvmCoreErrorExitRevert (264) */2410 /** @name EvmCoreErrorExitRevert (283) */2251 export interface EvmCoreErrorExitRevert extends Enum {2411 export interface EvmCoreErrorExitRevert extends Enum {2252 readonly isReverted: boolean;2412 readonly isReverted: boolean;2253 readonly type: 'Reverted';2413 readonly type: 'Reverted';2254 }2414 }225524152256 /** @name EvmCoreErrorExitFatal (265) */2416 /** @name EvmCoreErrorExitFatal (284) */2257 export interface EvmCoreErrorExitFatal extends Enum {2417 export interface EvmCoreErrorExitFatal extends Enum {2258 readonly isNotSupported: boolean;2418 readonly isNotSupported: boolean;2259 readonly isUnhandledInterrupt: boolean;2419 readonly isUnhandledInterrupt: boolean;2264 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2424 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2265 }2425 }226624262267 /** @name FrameSystemPhase (266) */2427 /** @name FrameSystemPhase (285) */2268 export interface FrameSystemPhase extends Enum {2428 export interface FrameSystemPhase extends Enum {2269 readonly isApplyExtrinsic: boolean;2429 readonly isApplyExtrinsic: boolean;2270 readonly asApplyExtrinsic: u32;2430 readonly asApplyExtrinsic: u32;2273 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2433 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2274 }2434 }227524352276 /** @name FrameSystemLastRuntimeUpgradeInfo (268) */2436 /** @name FrameSystemLastRuntimeUpgradeInfo (287) */2277 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2437 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2278 readonly specVersion: Compact<u32>;2438 readonly specVersion: Compact<u32>;2279 readonly specName: Text;2439 readonly specName: Text;2280 }2440 }228124412282 /** @name FrameSystemLimitsBlockWeights (269) */2442 /** @name FrameSystemLimitsBlockWeights (288) */2283 export interface FrameSystemLimitsBlockWeights extends Struct {2443 export interface FrameSystemLimitsBlockWeights extends Struct {2284 readonly baseBlock: u64;2444 readonly baseBlock: u64;2285 readonly maxBlock: u64;2445 readonly maxBlock: u64;2286 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2446 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2287 }2447 }228824482289 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (270) */2449 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (289) */2290 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2450 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2291 readonly normal: FrameSystemLimitsWeightsPerClass;2451 readonly normal: FrameSystemLimitsWeightsPerClass;2292 readonly operational: FrameSystemLimitsWeightsPerClass;2452 readonly operational: FrameSystemLimitsWeightsPerClass;2293 readonly mandatory: FrameSystemLimitsWeightsPerClass;2453 readonly mandatory: FrameSystemLimitsWeightsPerClass;2294 }2454 }229524552296 /** @name FrameSystemLimitsWeightsPerClass (271) */2456 /** @name FrameSystemLimitsWeightsPerClass (290) */2297 export interface FrameSystemLimitsWeightsPerClass extends Struct {2457 export interface FrameSystemLimitsWeightsPerClass extends Struct {2298 readonly baseExtrinsic: u64;2458 readonly baseExtrinsic: u64;2299 readonly maxExtrinsic: Option<u64>;2459 readonly maxExtrinsic: Option<u64>;2300 readonly maxTotal: Option<u64>;2460 readonly maxTotal: Option<u64>;2301 readonly reserved: Option<u64>;2461 readonly reserved: Option<u64>;2302 }2462 }230324632304 /** @name FrameSystemLimitsBlockLength (273) */2464 /** @name FrameSystemLimitsBlockLength (292) */2305 export interface FrameSystemLimitsBlockLength extends Struct {2465 export interface FrameSystemLimitsBlockLength extends Struct {2306 readonly max: FrameSupportWeightsPerDispatchClassU32;2466 readonly max: FrameSupportWeightsPerDispatchClassU32;2307 }2467 }230824682309 /** @name FrameSupportWeightsPerDispatchClassU32 (274) */2469 /** @name FrameSupportWeightsPerDispatchClassU32 (293) */2310 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2470 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2311 readonly normal: u32;2471 readonly normal: u32;2312 readonly operational: u32;2472 readonly operational: u32;2313 readonly mandatory: u32;2473 readonly mandatory: u32;2314 }2474 }231524752316 /** @name FrameSupportWeightsRuntimeDbWeight (275) */2476 /** @name FrameSupportWeightsRuntimeDbWeight (294) */2317 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2477 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2318 readonly read: u64;2478 readonly read: u64;2319 readonly write: u64;2479 readonly write: u64;2320 }2480 }232124812322 /** @name SpVersionRuntimeVersion (276) */2482 /** @name SpVersionRuntimeVersion (295) */2323 export interface SpVersionRuntimeVersion extends Struct {2483 export interface SpVersionRuntimeVersion extends Struct {2324 readonly specName: Text;2484 readonly specName: Text;2325 readonly implName: Text;2485 readonly implName: Text;2331 readonly stateVersion: u8;2491 readonly stateVersion: u8;2332 }2492 }233324932334 /** @name FrameSystemError (280) */2494 /** @name FrameSystemError (299) */2335 export interface FrameSystemError extends Enum {2495 export interface FrameSystemError extends Enum {2336 readonly isInvalidSpecName: boolean;2496 readonly isInvalidSpecName: boolean;2337 readonly isSpecVersionNeedsToIncrease: boolean;2497 readonly isSpecVersionNeedsToIncrease: boolean;2342 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2502 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2343 }2503 }234425042345 /** @name OrmlVestingModuleError (282) */2505 /** @name OrmlVestingModuleError (301) */2346 export interface OrmlVestingModuleError extends Enum {2506 export interface OrmlVestingModuleError extends Enum {2347 readonly isZeroVestingPeriod: boolean;2507 readonly isZeroVestingPeriod: boolean;2348 readonly isZeroVestingPeriodCount: boolean;2508 readonly isZeroVestingPeriodCount: boolean;2353 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2513 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2354 }2514 }235525152356 /** @name CumulusPalletXcmpQueueInboundChannelDetails (284) */2516 /** @name CumulusPalletXcmpQueueInboundChannelDetails (303) */2357 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2517 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2358 readonly sender: u32;2518 readonly sender: u32;2359 readonly state: CumulusPalletXcmpQueueInboundState;2519 readonly state: CumulusPalletXcmpQueueInboundState;2360 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2520 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2361 }2521 }236225222363 /** @name CumulusPalletXcmpQueueInboundState (285) */2523 /** @name CumulusPalletXcmpQueueInboundState (304) */2364 export interface CumulusPalletXcmpQueueInboundState extends Enum {2524 export interface CumulusPalletXcmpQueueInboundState extends Enum {2365 readonly isOk: boolean;2525 readonly isOk: boolean;2366 readonly isSuspended: boolean;2526 readonly isSuspended: boolean;2367 readonly type: 'Ok' | 'Suspended';2527 readonly type: 'Ok' | 'Suspended';2368 }2528 }236925292370 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (288) */2530 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (307) */2371 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2531 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2372 readonly isConcatenatedVersionedXcm: boolean;2532 readonly isConcatenatedVersionedXcm: boolean;2373 readonly isConcatenatedEncodedBlob: boolean;2533 readonly isConcatenatedEncodedBlob: boolean;2374 readonly isSignals: boolean;2534 readonly isSignals: boolean;2375 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2535 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2376 }2536 }237725372378 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (291) */2538 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (310) */2379 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2539 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2380 readonly recipient: u32;2540 readonly recipient: u32;2381 readonly state: CumulusPalletXcmpQueueOutboundState;2541 readonly state: CumulusPalletXcmpQueueOutboundState;2384 readonly lastIndex: u16;2544 readonly lastIndex: u16;2385 }2545 }238625462387 /** @name CumulusPalletXcmpQueueOutboundState (292) */2547 /** @name CumulusPalletXcmpQueueOutboundState (311) */2388 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2548 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2389 readonly isOk: boolean;2549 readonly isOk: boolean;2390 readonly isSuspended: boolean;2550 readonly isSuspended: boolean;2391 readonly type: 'Ok' | 'Suspended';2551 readonly type: 'Ok' | 'Suspended';2392 }2552 }239325532394 /** @name CumulusPalletXcmpQueueQueueConfigData (294) */2554 /** @name CumulusPalletXcmpQueueQueueConfigData (313) */2395 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2555 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2396 readonly suspendThreshold: u32;2556 readonly suspendThreshold: u32;2397 readonly dropThreshold: u32;2557 readonly dropThreshold: u32;2401 readonly xcmpMaxIndividualWeight: u64;2561 readonly xcmpMaxIndividualWeight: u64;2402 }2562 }240325632404 /** @name CumulusPalletXcmpQueueError (296) */2564 /** @name CumulusPalletXcmpQueueError (315) */2405 export interface CumulusPalletXcmpQueueError extends Enum {2565 export interface CumulusPalletXcmpQueueError extends Enum {2406 readonly isFailedToSend: boolean;2566 readonly isFailedToSend: boolean;2407 readonly isBadXcmOrigin: boolean;2567 readonly isBadXcmOrigin: boolean;2411 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2571 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2412 }2572 }241325732414 /** @name PalletXcmError (297) */2574 /** @name PalletXcmError (316) */2415 export interface PalletXcmError extends Enum {2575 export interface PalletXcmError extends Enum {2416 readonly isUnreachable: boolean;2576 readonly isUnreachable: boolean;2417 readonly isSendFailure: boolean;2577 readonly isSendFailure: boolean;2429 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2589 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2430 }2590 }243125912432 /** @name CumulusPalletXcmError (298) */2592 /** @name CumulusPalletXcmError (317) */2433 export type CumulusPalletXcmError = Null;2593 export type CumulusPalletXcmError = Null;243425942435 /** @name CumulusPalletDmpQueueConfigData (299) */2595 /** @name CumulusPalletDmpQueueConfigData (318) */2436 export interface CumulusPalletDmpQueueConfigData extends Struct {2596 export interface CumulusPalletDmpQueueConfigData extends Struct {2437 readonly maxIndividual: u64;2597 readonly maxIndividual: u64;2438 }2598 }243925992440 /** @name CumulusPalletDmpQueuePageIndexData (300) */2600 /** @name CumulusPalletDmpQueuePageIndexData (319) */2441 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2601 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2442 readonly beginUsed: u32;2602 readonly beginUsed: u32;2443 readonly endUsed: u32;2603 readonly endUsed: u32;2444 readonly overweightCount: u64;2604 readonly overweightCount: u64;2445 }2605 }244626062447 /** @name CumulusPalletDmpQueueError (303) */2607 /** @name CumulusPalletDmpQueueError (322) */2448 export interface CumulusPalletDmpQueueError extends Enum {2608 export interface CumulusPalletDmpQueueError extends Enum {2449 readonly isUnknown: boolean;2609 readonly isUnknown: boolean;2450 readonly isOverLimit: boolean;2610 readonly isOverLimit: boolean;2451 readonly type: 'Unknown' | 'OverLimit';2611 readonly type: 'Unknown' | 'OverLimit';2452 }2612 }245326132454 /** @name PalletUniqueError (307) */2614 /** @name PalletUniqueError (326) */2455 export interface PalletUniqueError extends Enum {2615 export interface PalletUniqueError extends Enum {2456 readonly isCollectionDecimalPointLimitExceeded: boolean;2616 readonly isCollectionDecimalPointLimitExceeded: boolean;2457 readonly isConfirmUnsetSponsorFail: boolean;2617 readonly isConfirmUnsetSponsorFail: boolean;2458 readonly isEmptyArgument: boolean;2618 readonly isEmptyArgument: boolean;2459 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2619 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2460 }2620 }246126212462 /** @name UpDataStructsCollection (308) */2622 /** @name UpDataStructsCollection (327) */2463 export interface UpDataStructsCollection extends Struct {2623 export interface UpDataStructsCollection extends Struct {2464 readonly owner: AccountId32;2624 readonly owner: AccountId32;2465 readonly mode: UpDataStructsCollectionMode;2625 readonly mode: UpDataStructsCollectionMode;2473 readonly limits: UpDataStructsCollectionLimits;2633 readonly limits: UpDataStructsCollectionLimits;2474 }2634 }247526352476 /** @name UpDataStructsSponsorshipState (309) */2636 /** @name UpDataStructsSponsorshipState (328) */2477 export interface UpDataStructsSponsorshipState extends Enum {2637 export interface UpDataStructsSponsorshipState extends Enum {2478 readonly isDisabled: boolean;2638 readonly isDisabled: boolean;2479 readonly isUnconfirmed: boolean;2639 readonly isUnconfirmed: boolean;2483 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2643 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2484 }2644 }248526452486 /** @name UpDataStructsProperties (310) */2646 /** @name UpDataStructsProperties (329) */2487 export interface UpDataStructsProperties extends Struct {2647 export interface UpDataStructsProperties extends Struct {2488 readonly map: UpDataStructsPropertiesMapBoundedVec;2648 readonly map: UpDataStructsPropertiesMapBoundedVec;2489 readonly consumedSpace: u32;2649 readonly consumedSpace: u32;2490 readonly spaceLimit: u32;2650 readonly spaceLimit: u32;2491 }2651 }249226522493 /** @name UpDataStructsPropertiesMapBoundedVec (311) */2653 /** @name UpDataStructsPropertiesMapBoundedVec (330) */2494 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2654 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}249526552496 /** @name UpDataStructsPropertiesMapPropertyPermission (316) */2656 /** @name UpDataStructsPropertiesMapPropertyPermission (335) */2497 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2657 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}249826582499 /** @name UpDataStructsCollectionField (322) */2659 /** @name UpDataStructsCollectionField (341) */2500 export interface UpDataStructsCollectionField extends Enum {2660 export interface UpDataStructsCollectionField extends Enum {2501 readonly isConstOnChainSchema: boolean;2661 readonly isConstOnChainSchema: boolean;2502 readonly isOffchainSchema: boolean;2662 readonly isOffchainSchema: boolean;2503 readonly type: 'ConstOnChainSchema' | 'OffchainSchema';2663 readonly type: 'ConstOnChainSchema' | 'OffchainSchema';2504 }2664 }250526652506 /** @name UpDataStructsCollectionStats (325) */2666 /** @name UpDataStructsCollectionStats (344) */2507 export interface UpDataStructsCollectionStats extends Struct {2667 export interface UpDataStructsCollectionStats extends Struct {2508 readonly created: u32;2668 readonly created: u32;2509 readonly destroyed: u32;2669 readonly destroyed: u32;2510 readonly alive: u32;2670 readonly alive: u32;2511 }2671 }251226722513 /** @name PhantomTypeUpDataStructsTokenData (326) */2673 /** @name PhantomTypeUpDataStructsTokenData (345) */2514 export interface PhantomTypeUpDataStructsTokenData extends Vec<UpDataStructsTokenData> {}2674 export interface PhantomTypeUpDataStructsTokenData extends Vec<UpDataStructsTokenData> {}251526752516 /** @name UpDataStructsTokenData (327) */2676 /** @name UpDataStructsTokenData (346) */2517 export interface UpDataStructsTokenData extends Struct {2677 export interface UpDataStructsTokenData extends Struct {2518 readonly constData: Bytes;2678 readonly constData: Bytes;2519 readonly properties: Vec<UpDataStructsProperty>;2679 readonly properties: Vec<UpDataStructsProperty>;2520 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2680 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2521 }2681 }252226822523 /** @name PhantomTypeUpDataStructsRpcCollection (330) */2683 /** @name PhantomTypeUpDataStructsRpcCollection (349) */2524 export interface PhantomTypeUpDataStructsRpcCollection extends Vec<UpDataStructsRpcCollection> {}2684 export interface PhantomTypeUpDataStructsRpcCollection extends Vec<UpDataStructsRpcCollection> {}252526852526 /** @name UpDataStructsRpcCollection (331) */2686 /** @name UpDataStructsRpcCollection (350) */2527 export interface UpDataStructsRpcCollection extends Struct {2687 export interface UpDataStructsRpcCollection extends Struct {2528 readonly owner: AccountId32;2688 readonly owner: AccountId32;2529 readonly mode: UpDataStructsCollectionMode;2689 readonly mode: UpDataStructsCollectionMode;2541 readonly properties: Vec<UpDataStructsProperty>;2701 readonly properties: Vec<UpDataStructsProperty>;2542 }2702 }254327032544 /** @name PhantomTypeUpDataStructsCollectionInfo (333) */2704 /** @name PhantomTypeUpDataStructsCollectionInfo (352) */2545 export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<RmrkTypesCollectionInfo> {}2705 export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<UpDataStructsRmrkCollectionInfo> {}254627062547 /** @name RmrkTypesCollectionInfo (334) */2707 /** @name UpDataStructsRmrkCollectionInfo (353) */2548 export interface RmrkTypesCollectionInfo extends Struct {2708 export interface UpDataStructsRmrkCollectionInfo extends Struct {2549 readonly issuer: AccountId32;2709 readonly issuer: AccountId32;2550 readonly metadata: Bytes;2710 readonly metadata: Bytes;2551 readonly max: Option<u32>;2711 readonly max: Option<u32>;2552 readonly symbol: Bytes;2712 readonly symbol: Bytes;2553 readonly nftsCount: u32;2713 readonly nftsCount: u32;2554 }2714 }255527152556 /** @name PhantomTypeUpDataStructsNftInfo (338) */2716 /** @name PhantomTypeUpDataStructsNftInfo (355) */2557 export interface PhantomTypeUpDataStructsNftInfo extends Vec<RmrkTypesNftInfo> {}2717 export interface PhantomTypeUpDataStructsNftInfo extends Vec<UpDataStructsRmrkNftInfo> {}255827182559 /** @name RmrkTypesNftInfo (339) */2719 /** @name UpDataStructsRmrkNftInfo (356) */2560 export interface RmrkTypesNftInfo extends Struct {2720 export interface UpDataStructsRmrkNftInfo extends Struct {2561 readonly owner: RmrkTypesAccountIdOrCollectionNftTuple;2721 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2562 readonly royalty: Option<RmrkTypesRoyaltyInfo>;2722 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2563 readonly metadata: Bytes;2723 readonly metadata: Bytes;2564 readonly equipped: bool;2724 readonly equipped: bool;2565 readonly pending: bool;2725 readonly pending: bool;2566 }2726 }256727272568 /** @name RmrkTypesAccountIdOrCollectionNftTuple (340) */2728 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (357) */2569 export interface RmrkTypesAccountIdOrCollectionNftTuple extends Enum {2729 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2570 readonly isAccountId: boolean;2730 readonly isAccountId: boolean;2571 readonly asAccountId: AccountId32;2731 readonly asAccountId: AccountId32;2572 readonly isCollectionAndNftTuple: boolean;2732 readonly isCollectionAndNftTuple: boolean;2573 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2733 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2574 readonly type: 'AccountId' | 'CollectionAndNftTuple';2734 readonly type: 'AccountId' | 'CollectionAndNftTuple';2575 }2735 }257627362577 /** @name RmrkTypesRoyaltyInfo (342) */2737 /** @name UpDataStructsRmrkRoyaltyInfo (359) */2578 export interface RmrkTypesRoyaltyInfo extends Struct {2738 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2579 readonly recipient: AccountId32;2739 readonly recipient: AccountId32;2580 readonly amount: Permill;2740 readonly amount: Permill;2581 }2741 }258227422583 /** @name PhantomTypeUpDataStructsResourceInfo (344) */2743 /** @name PhantomTypeUpDataStructsResourceInfo (361) */2584 export interface PhantomTypeUpDataStructsResourceInfo extends Vec<RmrkTypesResourceInfo> {}2744 export interface PhantomTypeUpDataStructsResourceInfo extends Vec<UpDataStructsRmrkResourceInfo> {}258527452586 /** @name RmrkTypesResourceInfo (345) */2746 /** @name UpDataStructsRmrkResourceInfo (362) */2587 export interface RmrkTypesResourceInfo extends Struct {2747 export interface UpDataStructsRmrkResourceInfo extends Struct {2588 readonly id: Bytes;2748 readonly id: Bytes;2589 readonly pending: bool;2749 readonly resource: UpDataStructsRmrkResourceTypes;2590 readonly pendingRemoval: bool;2750 readonly pending: bool;2591 readonly parts: Option<Vec<u32>>;2751 readonly pendingRemoval: bool;2592 readonly base: Option<u32>;2593 readonly src: Option<Bytes>;2594 readonly metadata: Option<Bytes>;2595 readonly slot: Option<u32>;2596 readonly license: Option<Bytes>;2597 readonly thumb: Option<Bytes>;2598 }2752 }25992600 /** @name PhantomTypeUpDataStructsPropertyInfo (351) */2601 export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<RmrkTypesPropertyInfo> {}26022603 /** @name RmrkTypesPropertyInfo (352) */2604 export interface RmrkTypesPropertyInfo extends Struct {2605 readonly key: Bytes;2606 readonly value: Bytes;2607 }26082609 /** @name PhantomTypeUpDataStructsBaseInfo (356) */2610 export interface PhantomTypeUpDataStructsBaseInfo extends Vec<RmrkTypesBaseInfo> {}26112612 /** @name RmrkTypesBaseInfo (357) */2613 export interface RmrkTypesBaseInfo extends Struct {2614 readonly issuer: AccountId32;2615 readonly baseType: Bytes;2616 readonly symbol: Bytes;2617 }26182619 /** @name PhantomTypeUpDataStructsPartType (359) */2620 export interface PhantomTypeUpDataStructsPartType extends Vec<RmrkTypesPartType> {}262127532622 /** @name RmrkTypesPartType (360) */2754 /** @name UpDataStructsRmrkResourceTypes (365) */2623 export interface RmrkTypesPartType extends Enum {2755 export interface UpDataStructsRmrkResourceTypes extends Enum {2624 readonly isFixedPart: boolean;2756 readonly isBasic: boolean;2625 readonly asFixedPart: RmrkTypesFixedPart;2757 readonly asBasic: UpDataStructsRmrkBasicResource;2626 readonly isSlotPart: boolean;2758 readonly isComposable: boolean;2627 readonly asSlotPart: RmrkTypesSlotPart;2759 readonly asComposable: UpDataStructsRmrkComposableResource;2760 readonly isSlot: boolean;2761 readonly asSlot: UpDataStructsRmrkSlotResource;2628 readonly type: 'FixedPart' | 'SlotPart';2762 readonly type: 'Basic' | 'Composable' | 'Slot';2629 }2763 }263027642631 /** @name RmrkTypesFixedPart (362) */2765 /** @name UpDataStructsRmrkBasicResource (366) */2632 export interface RmrkTypesFixedPart extends Struct {2766 export interface UpDataStructsRmrkBasicResource extends Struct {2633 readonly id: u32;2767 readonly src: Option<Bytes>;2634 readonly z: u32;2768 readonly metadata: Option<Bytes>;2635 readonly src: Bytes;2769 readonly license: Option<Bytes>;2770 readonly thumb: Option<Bytes>;2636 }2771 }263727722638 /** @name RmrkTypesSlotPart (363) */2773 /** @name UpDataStructsRmrkComposableResource (368) */2639 export interface RmrkTypesSlotPart extends Struct {2774 export interface UpDataStructsRmrkComposableResource extends Struct {2640 readonly id: u32;2775 readonly parts: Vec<u32>;2641 readonly equippable: RmrkTypesEquippableList;2776 readonly base: u32;2642 readonly src: Bytes;2777 readonly src: Option<Bytes>;2643 readonly z: u32;2778 readonly metadata: Option<Bytes>;2779 readonly license: Option<Bytes>;2780 readonly thumb: Option<Bytes>;2644 }2781 }264527822646 /** @name RmrkTypesEquippableList (364) */2783 /** @name UpDataStructsRmrkSlotResource (369) */2647 export interface RmrkTypesEquippableList extends Enum {2784 export interface UpDataStructsRmrkSlotResource extends Struct {2648 readonly isAll: boolean;2785 readonly base: u32;2649 readonly isEmpty: boolean;2786 readonly src: Option<Bytes>;2650 readonly isCustom: boolean;2787 readonly metadata: Option<Bytes>;2788 readonly slot: u32;2651 readonly asCustom: Vec<u32>;2789 readonly license: Option<Bytes>;2652 readonly type: 'All' | 'Empty' | 'Custom';2790 readonly thumb: Option<Bytes>;2653 }2791 }265427922655 /** @name PhantomTypeUpDataStructsTheme (366) */2793 /** @name PhantomTypeUpDataStructsPropertyInfo (371) */2656 export interface PhantomTypeUpDataStructsTheme extends Vec<RmrkTypesTheme> {}2794 export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<UpDataStructsRmrkPropertyInfo> {}265727952658 /** @name RmrkTypesTheme (367) */2796 /** @name UpDataStructsRmrkPropertyInfo (372) */2659 export interface RmrkTypesTheme extends Struct {2797 export interface UpDataStructsRmrkPropertyInfo extends Struct {2660 readonly name: Bytes;2798 readonly key: Bytes;2661 readonly properties: Vec<RmrkTypesThemeProperty>;2799 readonly value: Bytes;2662 readonly inherit: bool;2663 }2800 }266428012665 /** @name RmrkTypesThemeProperty (369) */2802 /** @name PhantomTypeUpDataStructsBaseInfo (374) */2803 export interface PhantomTypeUpDataStructsBaseInfo extends Vec<UpDataStructsRmrkBaseInfo> {}28042805 /** @name UpDataStructsRmrkBaseInfo (375) */2666 export interface RmrkTypesThemeProperty extends Struct {2806 export interface UpDataStructsRmrkBaseInfo extends Struct {2807 readonly issuer: AccountId32;2667 readonly key: Bytes;2808 readonly baseType: Bytes;2668 readonly value: Bytes;2809 readonly symbol: Bytes;2669 }2810 }28112812 /** @name PhantomTypeUpDataStructsPartType (377) */2813 export interface PhantomTypeUpDataStructsPartType extends Vec<UpDataStructsRmrkPartType> {}28142815 /** @name PhantomTypeUpDataStructsTheme (379) */2816 export interface PhantomTypeUpDataStructsTheme extends Vec<UpDataStructsRmrkTheme> {}267028172671 /** @name PhantomTypeUpDataStructsNftChild (371) */2818 /** @name PhantomTypeUpDataStructsNftChild (381) */2672 export interface PhantomTypeUpDataStructsNftChild extends Vec<RmrkTypesNftChild> {}2819 export interface PhantomTypeUpDataStructsNftChild extends Vec<UpDataStructsRmrkNftChild> {}267328202674 /** @name RmrkTypesNftChild (372) */2821 /** @name UpDataStructsRmrkNftChild (382) */2675 export interface RmrkTypesNftChild extends Struct {2822 export interface UpDataStructsRmrkNftChild extends Struct {2676 readonly collectionId: u32;2823 readonly collectionId: u32;2677 readonly nftId: u32;2824 readonly nftId: u32;2678 }2825 }267928262680 /** @name PalletCommonError (374) */2827 /** @name PalletCommonError (384) */2681 export interface PalletCommonError extends Enum {2828 export interface PalletCommonError extends Enum {2682 readonly isCollectionNotFound: boolean;2829 readonly isCollectionNotFound: boolean;2683 readonly isMustBeTokenOwner: boolean;2830 readonly isMustBeTokenOwner: boolean;2714 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | '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';2861 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | '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';2715 }2862 }271628632717 /** @name PalletFungibleError (376) */2864 /** @name PalletFungibleError (386) */2718 export interface PalletFungibleError extends Enum {2865 export interface PalletFungibleError extends Enum {2719 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2866 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2720 readonly isFungibleItemsHaveNoId: boolean;2867 readonly isFungibleItemsHaveNoId: boolean;2724 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2871 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2725 }2872 }272628732727 /** @name PalletRefungibleItemData (377) */2874 /** @name PalletRefungibleItemData (387) */2728 export interface PalletRefungibleItemData extends Struct {2875 export interface PalletRefungibleItemData extends Struct {2729 readonly constData: Bytes;2876 readonly constData: Bytes;2730 }2877 }273128782732 /** @name PalletRefungibleError (381) */2879 /** @name PalletRefungibleError (391) */2733 export interface PalletRefungibleError extends Enum {2880 export interface PalletRefungibleError extends Enum {2734 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2881 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2735 readonly isWrongRefungiblePieces: boolean;2882 readonly isWrongRefungiblePieces: boolean;2738 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2885 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2739 }2886 }274028872741 /** @name PalletNonfungibleItemData (382) */2888 /** @name PalletNonfungibleItemData (392) */2742 export interface PalletNonfungibleItemData extends Struct {2889 export interface PalletNonfungibleItemData extends Struct {2743 readonly constData: Bytes;2890 readonly constData: Bytes;2744 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2891 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2745 }2892 }274628932747 /** @name PalletNonfungibleError (383) */2894 /** @name PalletNonfungibleError (393) */2748 export interface PalletNonfungibleError extends Enum {2895 export interface PalletNonfungibleError extends Enum {2749 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2896 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2750 readonly isNonfungibleItemsHaveNoAmount: boolean;2897 readonly isNonfungibleItemsHaveNoAmount: boolean;2751 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2898 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2752 }2899 }275329002754 /** @name PalletStructureError (384) */2901 /** @name PalletStructureError (394) */2755 export interface PalletStructureError extends Enum {2902 export interface PalletStructureError extends Enum {2756 readonly isOuroborosDetected: boolean;2903 readonly isOuroborosDetected: boolean;2757 readonly isDepthLimit: boolean;2904 readonly isDepthLimit: boolean;2758 readonly isTokenNotFound: boolean;2905 readonly isTokenNotFound: boolean;2759 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2906 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2760 }2907 }29082909 /** @name PalletRmrkCoreError (395) */2910 export interface PalletRmrkCoreError extends Enum {2911 readonly isCorruptedCollectionType: boolean;2912 readonly isNftTypeEncodeError: boolean;2913 readonly isRmrkPropertyKeyIsTooLong: boolean;2914 readonly isRmrkPropertyValueIsTooLong: boolean;2915 readonly isCollectionNotEmpty: boolean;2916 readonly isNoAvailableCollectionId: boolean;2917 readonly isNoAvailableNftId: boolean;2918 readonly isCollectionUnknown: boolean;2919 readonly isNoPermission: boolean;2920 readonly isCollectionFullOrLocked: boolean;2921 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';2922 }29232924 /** @name PalletRmrkEquipError (397) */2925 export interface PalletRmrkEquipError extends Enum {2926 readonly isPermissionError: boolean;2927 readonly isNoAvailableBaseId: boolean;2928 readonly isNoAvailablePartId: boolean;2929 readonly isBaseDoesntExist: boolean;2930 readonly isNeedsDefaultThemeFirst: boolean;2931 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';2932 }276129332762 /** @name PalletEvmError (387) */2934 /** @name PalletEvmError (400) */2763 export interface PalletEvmError extends Enum {2935 export interface PalletEvmError extends Enum {2764 readonly isBalanceLow: boolean;2936 readonly isBalanceLow: boolean;2765 readonly isFeeOverflow: boolean;2937 readonly isFeeOverflow: boolean;2770 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2942 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2771 }2943 }277229442773 /** @name FpRpcTransactionStatus (390) */2945 /** @name FpRpcTransactionStatus (403) */2774 export interface FpRpcTransactionStatus extends Struct {2946 export interface FpRpcTransactionStatus extends Struct {2775 readonly transactionHash: H256;2947 readonly transactionHash: H256;2776 readonly transactionIndex: u32;2948 readonly transactionIndex: u32;2781 readonly logsBloom: EthbloomBloom;2953 readonly logsBloom: EthbloomBloom;2782 }2954 }278329552784 /** @name EthbloomBloom (392) */2956 /** @name EthbloomBloom (405) */2785 export interface EthbloomBloom extends U8aFixed {}2957 export interface EthbloomBloom extends U8aFixed {}278629582787 /** @name EthereumReceiptReceiptV3 (394) */2959 /** @name EthereumReceiptReceiptV3 (407) */2788 export interface EthereumReceiptReceiptV3 extends Enum {2960 export interface EthereumReceiptReceiptV3 extends Enum {2789 readonly isLegacy: boolean;2961 readonly isLegacy: boolean;2790 readonly asLegacy: EthereumReceiptEip658ReceiptData;2962 readonly asLegacy: EthereumReceiptEip658ReceiptData;2795 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2967 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2796 }2968 }279729692798 /** @name EthereumReceiptEip658ReceiptData (395) */2970 /** @name EthereumReceiptEip658ReceiptData (408) */2799 export interface EthereumReceiptEip658ReceiptData extends Struct {2971 export interface EthereumReceiptEip658ReceiptData extends Struct {2800 readonly statusCode: u8;2972 readonly statusCode: u8;2801 readonly usedGas: U256;2973 readonly usedGas: U256;2802 readonly logsBloom: EthbloomBloom;2974 readonly logsBloom: EthbloomBloom;2803 readonly logs: Vec<EthereumLog>;2975 readonly logs: Vec<EthereumLog>;2804 }2976 }280529772806 /** @name EthereumBlock (396) */2978 /** @name EthereumBlock (409) */2807 export interface EthereumBlock extends Struct {2979 export interface EthereumBlock extends Struct {2808 readonly header: EthereumHeader;2980 readonly header: EthereumHeader;2809 readonly transactions: Vec<EthereumTransactionTransactionV2>;2981 readonly transactions: Vec<EthereumTransactionTransactionV2>;2810 readonly ommers: Vec<EthereumHeader>;2982 readonly ommers: Vec<EthereumHeader>;2811 }2983 }281229842813 /** @name EthereumHeader (397) */2985 /** @name EthereumHeader (410) */2814 export interface EthereumHeader extends Struct {2986 export interface EthereumHeader extends Struct {2815 readonly parentHash: H256;2987 readonly parentHash: H256;2816 readonly ommersHash: H256;2988 readonly ommersHash: H256;2829 readonly nonce: EthereumTypesHashH64;3001 readonly nonce: EthereumTypesHashH64;2830 }3002 }283130032832 /** @name EthereumTypesHashH64 (398) */3004 /** @name EthereumTypesHashH64 (411) */2833 export interface EthereumTypesHashH64 extends U8aFixed {}3005 export interface EthereumTypesHashH64 extends U8aFixed {}283430062835 /** @name PalletEthereumError (403) */3007 /** @name PalletEthereumError (416) */2836 export interface PalletEthereumError extends Enum {3008 export interface PalletEthereumError extends Enum {2837 readonly isInvalidSignature: boolean;3009 readonly isInvalidSignature: boolean;2838 readonly isPreLogExists: boolean;3010 readonly isPreLogExists: boolean;2839 readonly type: 'InvalidSignature' | 'PreLogExists';3011 readonly type: 'InvalidSignature' | 'PreLogExists';2840 }3012 }284130132842 /** @name PalletEvmCoderSubstrateError (404) */3014 /** @name PalletEvmCoderSubstrateError (417) */2843 export interface PalletEvmCoderSubstrateError extends Enum {3015 export interface PalletEvmCoderSubstrateError extends Enum {2844 readonly isOutOfGas: boolean;3016 readonly isOutOfGas: boolean;2845 readonly isOutOfFund: boolean;3017 readonly isOutOfFund: boolean;2846 readonly type: 'OutOfGas' | 'OutOfFund';3018 readonly type: 'OutOfGas' | 'OutOfFund';2847 }3019 }284830202849 /** @name PalletEvmContractHelpersSponsoringModeT (405) */3021 /** @name PalletEvmContractHelpersSponsoringModeT (418) */2850 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3022 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2851 readonly isDisabled: boolean;3023 readonly isDisabled: boolean;2852 readonly isAllowlisted: boolean;3024 readonly isAllowlisted: boolean;2853 readonly isGenerous: boolean;3025 readonly isGenerous: boolean;2854 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3026 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2855 }3027 }285630282857 /** @name PalletEvmContractHelpersError (407) */3029 /** @name PalletEvmContractHelpersError (420) */2858 export interface PalletEvmContractHelpersError extends Enum {3030 export interface PalletEvmContractHelpersError extends Enum {2859 readonly isNoPermission: boolean;3031 readonly isNoPermission: boolean;2860 readonly type: 'NoPermission';3032 readonly type: 'NoPermission';2861 }3033 }286230342863 /** @name PalletEvmMigrationError (408) */3035 /** @name PalletEvmMigrationError (421) */2864 export interface PalletEvmMigrationError extends Enum {3036 export interface PalletEvmMigrationError extends Enum {2865 readonly isAccountNotEmpty: boolean;3037 readonly isAccountNotEmpty: boolean;2866 readonly isAccountIsNotMigrating: boolean;3038 readonly isAccountIsNotMigrating: boolean;2867 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3039 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2868 }3040 }286930412870 /** @name SpRuntimeMultiSignature (410) */3042 /** @name SpRuntimeMultiSignature (423) */2871 export interface SpRuntimeMultiSignature extends Enum {3043 export interface SpRuntimeMultiSignature extends Enum {2872 readonly isEd25519: boolean;3044 readonly isEd25519: boolean;2873 readonly asEd25519: SpCoreEd25519Signature;3045 readonly asEd25519: SpCoreEd25519Signature;2878 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3050 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2879 }3051 }288030522881 /** @name SpCoreEd25519Signature (411) */3053 /** @name SpCoreEd25519Signature (424) */2882 export interface SpCoreEd25519Signature extends U8aFixed {}3054 export interface SpCoreEd25519Signature extends U8aFixed {}288330552884 /** @name SpCoreSr25519Signature (413) */3056 /** @name SpCoreSr25519Signature (426) */2885 export interface SpCoreSr25519Signature extends U8aFixed {}3057 export interface SpCoreSr25519Signature extends U8aFixed {}288630582887 /** @name SpCoreEcdsaSignature (414) */3059 /** @name SpCoreEcdsaSignature (427) */2888 export interface SpCoreEcdsaSignature extends U8aFixed {}3060 export interface SpCoreEcdsaSignature extends U8aFixed {}288930612890 /** @name FrameSystemExtensionsCheckSpecVersion (417) */3062 /** @name FrameSystemExtensionsCheckSpecVersion (430) */2891 export type FrameSystemExtensionsCheckSpecVersion = Null;3063 export type FrameSystemExtensionsCheckSpecVersion = Null;289230642893 /** @name FrameSystemExtensionsCheckGenesis (418) */3065 /** @name FrameSystemExtensionsCheckGenesis (431) */2894 export type FrameSystemExtensionsCheckGenesis = Null;3066 export type FrameSystemExtensionsCheckGenesis = Null;289530672896 /** @name FrameSystemExtensionsCheckNonce (421) */3068 /** @name FrameSystemExtensionsCheckNonce (434) */2897 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3069 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}289830702899 /** @name FrameSystemExtensionsCheckWeight (422) */3071 /** @name FrameSystemExtensionsCheckWeight (435) */2900 export type FrameSystemExtensionsCheckWeight = Null;3072 export type FrameSystemExtensionsCheckWeight = Null;290130732902 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (423) */3074 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (436) */2903 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3075 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}290430762905 /** @name OpalRuntimeRuntime (424) */3077 /** @name OpalRuntimeRuntime (437) */2906 export type OpalRuntimeRuntime = Null;3078 export type OpalRuntimeRuntime = Null;290730792908 /** @name PalletEthereumFakeTransactionFinalizer (425) */3080 /** @name PalletEthereumFakeTransactionFinalizer (438) */2909 export type PalletEthereumFakeTransactionFinalizer = Null;3081 export type PalletEthereumFakeTransactionFinalizer = Null;291030822911} // declare module3083} // declare moduletests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -1128,6 +1128,145 @@
readonly constData: Bytes;
}
+/** @name PalletRmrkCoreCall */
+export interface PalletRmrkCoreCall extends Enum {
+ readonly isCreateCollection: boolean;
+ readonly asCreateCollection: {
+ readonly metadata: Bytes;
+ readonly max: Option<u32>;
+ readonly symbol: Bytes;
+ } & Struct;
+ readonly isDestroyCollection: boolean;
+ readonly asDestroyCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isChangeCollectionIssuer: boolean;
+ readonly asChangeCollectionIssuer: {
+ readonly collectionId: u32;
+ readonly newIssuer: MultiAddress;
+ } & Struct;
+ readonly isLockCollection: boolean;
+ readonly asLockCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isMintNft: boolean;
+ readonly asMintNft: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly recipient: Option<AccountId32>;
+ readonly royaltyAmount: Option<Permill>;
+ readonly metadata: Bytes;
+ } & Struct;
+ readonly isBurnNft: boolean;
+ readonly asBurnNft: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isSetProperty: boolean;
+ readonly asSetProperty: {
+ readonly rmrkCollectionId: Compact<u32>;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';
+}
+
+/** @name PalletRmrkCoreError */
+export interface PalletRmrkCoreError extends Enum {
+ readonly isCorruptedCollectionType: boolean;
+ readonly isNftTypeEncodeError: boolean;
+ readonly isRmrkPropertyKeyIsTooLong: boolean;
+ readonly isRmrkPropertyValueIsTooLong: boolean;
+ readonly isCollectionNotEmpty: boolean;
+ readonly isNoAvailableCollectionId: boolean;
+ readonly isNoAvailableNftId: boolean;
+ readonly isCollectionUnknown: boolean;
+ readonly isNoPermission: boolean;
+ readonly isCollectionFullOrLocked: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
+}
+
+/** @name PalletRmrkCoreEvent */
+export interface PalletRmrkCoreEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isIssuerChanged: boolean;
+ readonly asIssuerChanged: {
+ readonly oldIssuer: AccountId32;
+ readonly newIssuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionLocked: boolean;
+ readonly asCollectionLocked: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isNftMinted: boolean;
+ readonly asNftMinted: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftBurned: boolean;
+ readonly asNftBurned: {
+ readonly owner: AccountId32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isPropertySet: boolean;
+ readonly asPropertySet: {
+ readonly collectionId: u32;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';
+}
+
+/** @name PalletRmrkEquipCall */
+export interface PalletRmrkEquipCall extends Enum {
+ readonly isCreateBase: boolean;
+ readonly asCreateBase: {
+ readonly baseType: Bytes;
+ readonly symbol: Bytes;
+ readonly parts: Vec<UpDataStructsRmrkPartType>;
+ } & Struct;
+ readonly isThemeAdd: boolean;
+ readonly asThemeAdd: {
+ readonly baseId: u32;
+ readonly theme: UpDataStructsRmrkTheme;
+ } & Struct;
+ readonly type: 'CreateBase' | 'ThemeAdd';
+}
+
+/** @name PalletRmrkEquipError */
+export interface PalletRmrkEquipError extends Enum {
+ readonly isPermissionError: boolean;
+ readonly isNoAvailableBaseId: boolean;
+ readonly isNoAvailablePartId: boolean;
+ readonly isBaseDoesntExist: boolean;
+ readonly isNeedsDefaultThemeFirst: boolean;
+ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
+}
+
+/** @name PalletRmrkEquipEvent */
+export interface PalletRmrkEquipEvent extends Enum {
+ readonly isBaseCreated: boolean;
+ readonly asBaseCreated: {
+ readonly issuer: AccountId32;
+ readonly baseId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated';
+}
+
/** @name PalletStructureCall */
export interface PalletStructureCall extends Null {}
@@ -1615,34 +1754,34 @@
}
/** @name PhantomTypeUpDataStructsBaseInfo */
-export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup357> {}
+export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup375> {}
/** @name PhantomTypeUpDataStructsCollectionInfo */
-export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup334> {}
+export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup353> {}
/** @name PhantomTypeUpDataStructsNftChild */
-export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup372> {}
+export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup382> {}
/** @name PhantomTypeUpDataStructsNftInfo */
-export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup339> {}
+export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup356> {}
/** @name PhantomTypeUpDataStructsPartType */
-export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup360> {}
+export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup215> {}
/** @name PhantomTypeUpDataStructsPropertyInfo */
-export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup352> {}
+export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup372> {}
/** @name PhantomTypeUpDataStructsResourceInfo */
-export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup345> {}
+export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup362> {}
/** @name PhantomTypeUpDataStructsRpcCollection */
-export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup331> {}
+export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup350> {}
/** @name PhantomTypeUpDataStructsTheme */
-export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup367> {}
+export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup221> {}
/** @name PhantomTypeUpDataStructsTokenData */
-export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup327> {}
+export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup346> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -1705,120 +1844,8 @@
export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
-}
-
-/** @name RmrkTypesAccountIdOrCollectionNftTuple */
-export interface RmrkTypesAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
-}
-
-/** @name RmrkTypesBaseInfo */
-export interface RmrkTypesBaseInfo extends Struct {
- readonly issuer: AccountId32;
- readonly baseType: Bytes;
- readonly symbol: Bytes;
-}
-
-/** @name RmrkTypesCollectionInfo */
-export interface RmrkTypesCollectionInfo extends Struct {
- readonly issuer: AccountId32;
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- readonly nftsCount: u32;
-}
-
-/** @name RmrkTypesEquippableList */
-export interface RmrkTypesEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
-}
-
-/** @name RmrkTypesFixedPart */
-export interface RmrkTypesFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
-}
-
-/** @name RmrkTypesNftChild */
-export interface RmrkTypesNftChild extends Struct {
- readonly collectionId: u32;
- readonly nftId: u32;
-}
-
-/** @name RmrkTypesNftInfo */
-export interface RmrkTypesNftInfo extends Struct {
- readonly owner: RmrkTypesAccountIdOrCollectionNftTuple;
- readonly royalty: Option<RmrkTypesRoyaltyInfo>;
- readonly metadata: Bytes;
- readonly equipped: bool;
- readonly pending: bool;
-}
-
-/** @name RmrkTypesPartType */
-export interface RmrkTypesPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: RmrkTypesFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: RmrkTypesSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
-}
-
-/** @name RmrkTypesPropertyInfo */
-export interface RmrkTypesPropertyInfo extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
-/** @name RmrkTypesResourceInfo */
-export interface RmrkTypesResourceInfo extends Struct {
- readonly id: Bytes;
- readonly pending: bool;
- readonly pendingRemoval: bool;
- readonly parts: Option<Vec<u32>>;
- readonly base: Option<u32>;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly slot: Option<u32>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name RmrkTypesRoyaltyInfo */
-export interface RmrkTypesRoyaltyInfo extends Struct {
- readonly recipient: AccountId32;
- readonly amount: Permill;
-}
-
-/** @name RmrkTypesSlotPart */
-export interface RmrkTypesSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: RmrkTypesEquippableList;
- readonly src: Bytes;
- readonly z: u32;
-}
-
-/** @name RmrkTypesTheme */
-export interface RmrkTypesTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<RmrkTypesThemeProperty>;
- readonly inherit: bool;
}
-/** @name RmrkTypesThemeProperty */
-export interface RmrkTypesThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
/** @name SpCoreEcdsaSignature */
export interface SpCoreEcdsaSignature extends U8aFixed {}
@@ -2096,6 +2123,151 @@
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: Bytes;
+ 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;