From 6876d14fc8710ccaf958b1433ce8ac246c40f28f Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 06 Sep 2022 13:04:07 +0000 Subject: [PATCH] chore: regenerate test types --- --- a/tests/src/interfaces/augment-api-consts.ts +++ b/tests/src/interfaces/augment-api-consts.ts @@ -66,22 +66,6 @@ **/ [key: string]: Codec; }; - scheduler: { - /** - * The maximum weight that may be scheduled per block for any dispatchables of less - * priority than `schedule::HARD_DEADLINE`. - **/ - maximumWeight: u64 & AugmentedConst; - /** - * The maximum number of scheduled calls in the queue for a single block. - * Not strictly enforced, but used for weight estimation. - **/ - maxScheduledPerBlock: u32 & AugmentedConst; - /** - * Generic const - **/ - [key: string]: Codec; - }; system: { /** * Maximum number of block number to block hash mappings to keep (oldest pruned first). --- a/tests/src/interfaces/augment-api-errors.ts +++ b/tests/src/interfaces/augment-api-errors.ts @@ -291,29 +291,6 @@ **/ [key: string]: AugmentedError; }; - foreingAssets: { - /** - * AssetId exists - **/ - AssetIdExisted: AugmentedError; - /** - * AssetId not exists - **/ - AssetIdNotExists: AugmentedError; - /** - * The given location could not be used (e.g. because it cannot be expressed in the - * desired version of XCM). - **/ - BadLocation: AugmentedError; - /** - * MultiLocation existed - **/ - MultiLocationExisted: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; fungible: { /** * Fungible token does not support nesting. @@ -453,172 +430,6 @@ * The message's weight could not be determined. **/ UnweighableMessage: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; - refungible: { - /** - * Not Refungible item data used to mint in Refungible collection. - **/ - NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError; - /** - * Refungible token can't nest other tokens. - **/ - RefungibleDisallowsNesting: AugmentedError; - /** - * Refungible token can't be repartitioned by user who isn't owns all pieces. - **/ - RepartitionWhileNotOwningAllPieces: AugmentedError; - /** - * Setting item properties is not allowed. - **/ - SettingPropertiesNotAllowed: AugmentedError; - /** - * Maximum refungibility exceeded. - **/ - WrongRefungiblePieces: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; - rmrkCore: { - /** - * Not the target owner of the sent NFT. - **/ - CannotAcceptNonOwnedNft: AugmentedError; - /** - * Not the target owner of the sent NFT. - **/ - CannotRejectNonOwnedNft: AugmentedError; - /** - * NFT was not sent and is not pending. - **/ - CannotRejectNonPendingNft: AugmentedError; - /** - * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros. - * Sending to self is redundant. - **/ - CannotSendToDescendentOrSelf: AugmentedError; - /** - * Too many tokens created in the collection, no new ones are allowed. - **/ - CollectionFullOrLocked: AugmentedError; - /** - * Only destroying collections without tokens is allowed. - **/ - CollectionNotEmpty: AugmentedError; - /** - * Collection does not exist, has a wrong type, or does not map to a Unique ID. - **/ - CollectionUnknown: AugmentedError; - /** - * Property of the type of RMRK collection could not be read successfully. - **/ - CorruptedCollectionType: AugmentedError; - /** - * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow. - **/ - NoAvailableCollectionId: AugmentedError; - /** - * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow. - **/ - NoAvailableNftId: AugmentedError; - /** - * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow. - **/ - NoAvailableResourceId: AugmentedError; - /** - * Token is marked as non-transferable, and thus cannot be transferred. - **/ - NonTransferable: AugmentedError; - /** - * No permission to perform action. - **/ - NoPermission: AugmentedError; - /** - * No such resource found. - **/ - ResourceDoesntExist: AugmentedError; - /** - * Resource is not pending for the operation. - **/ - ResourceNotPending: AugmentedError; - /** - * Could not find a property by the supplied key. - **/ - RmrkPropertyIsNotFound: AugmentedError; - /** - * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH). - **/ - RmrkPropertyKeyIsTooLong: AugmentedError; - /** - * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH). - **/ - RmrkPropertyValueIsTooLong: AugmentedError; - /** - * Something went wrong when decoding encoded data from the storage. - * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored. - **/ - UnableToDecodeRmrkData: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; - rmrkEquip: { - /** - * Base collection linked to this ID does not exist. - **/ - BaseDoesntExist: AugmentedError; - /** - * No Theme named "default" is associated with the Base. - **/ - NeedsDefaultThemeFirst: AugmentedError; - /** - * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow. - **/ - NoAvailableBaseId: AugmentedError; - /** - * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow - **/ - NoAvailablePartId: AugmentedError; - /** - * Cannot assign equippables to a fixed Part. - **/ - NoEquippableOnFixedPart: AugmentedError; - /** - * Part linked to this ID does not exist. - **/ - PartDoesntExist: AugmentedError; - /** - * No permission to perform action. - **/ - PermissionError: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; - scheduler: { - /** - * Failed to schedule a call - **/ - FailedToSchedule: AugmentedError; - /** - * Cannot find the scheduled call. - **/ - NotFound: AugmentedError; - /** - * Reschedule failed because it does not change scheduled time. - **/ - RescheduleNoChange: AugmentedError; - /** - * Given target block number is in the past. - **/ - TargetBlockNumberInPast: AugmentedError; /** * Generic error **/ --- a/tests/src/interfaces/augment-api-events.ts +++ b/tests/src/interfaces/augment-api-events.ts @@ -6,10 +6,9 @@ import '@polkadot/api-base/types/events'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; -import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; -import type { ITuple } from '@polkadot/types-codec/types'; +import type { Bytes, Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; +import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, SpRuntimeDispatchError, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; export type __AugmentedEvent = AugmentedEvent; @@ -203,28 +202,6 @@ * Ethereum events from contracts. **/ Log: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; - foreingAssets: { - /** - * The asset registered. - **/ - AssetRegistered: AugmentedEvent; - /** - * The asset updated. - **/ - AssetUpdated: AugmentedEvent; - /** - * The foreign asset registered. - **/ - ForeignAssetRegistered: AugmentedEvent; - /** - * The foreign asset updated. - **/ - ForeignAssetUpdated: AugmentedEvent; /** * Generic event **/ @@ -377,57 +354,6 @@ * \[ destination, result \] **/ VersionChangeNotified: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; - rmrkCore: { - CollectionCreated: AugmentedEvent; - CollectionDestroyed: AugmentedEvent; - CollectionLocked: AugmentedEvent; - IssuerChanged: AugmentedEvent; - NFTAccepted: AugmentedEvent; - NFTBurned: AugmentedEvent; - NftMinted: AugmentedEvent; - NFTRejected: AugmentedEvent; - NFTSent: AugmentedEvent; - PrioritySet: AugmentedEvent; - PropertySet: AugmentedEvent, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option, key: Bytes, value: Bytes }>; - ResourceAccepted: AugmentedEvent; - ResourceAdded: AugmentedEvent; - ResourceRemoval: AugmentedEvent; - ResourceRemovalAccepted: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; - rmrkEquip: { - BaseCreated: AugmentedEvent; - EquippablesUpdated: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; - scheduler: { - /** - * The call for the provided hash was not found so the task has been aborted. - **/ - CallLookupFailed: AugmentedEvent, id: Option, error: FrameSupportScheduleLookupError], { task: ITuple<[u32, u32]>, id: Option, error: FrameSupportScheduleLookupError }>; - /** - * Canceled some task. - **/ - Canceled: AugmentedEvent; - /** - * Dispatched some task. - **/ - Dispatched: AugmentedEvent, id: Option, result: Result], { task: ITuple<[u32, u32]>, id: Option, result: Result }>; - /** - * Scheduled some task. - **/ - Scheduled: AugmentedEvent; /** * Generic event **/ @@ -495,57 +421,57 @@ /** * A balance was set by root. **/ - BalanceSet: AugmentedEvent; + BalanceSet: AugmentedEvent; /** * Deposited some balance into an account **/ - Deposited: AugmentedEvent; + Deposited: AugmentedEvent; /** * An account was removed whose balance was non-zero but below * ExistentialDeposit, resulting in an outright loss. **/ - DustLost: AugmentedEvent; + DustLost: AugmentedEvent; /** * An account was created with some free balance. **/ - Endowed: AugmentedEvent; + Endowed: AugmentedEvent; /** * Some locked funds were unlocked **/ - LockRemoved: AugmentedEvent; + LockRemoved: AugmentedEvent; /** * Some funds are locked **/ - LockSet: AugmentedEvent; + LockSet: AugmentedEvent; /** * Some balance was reserved (moved from free to reserved). **/ - Reserved: AugmentedEvent; + Reserved: AugmentedEvent; /** * Some reserved balance was repatriated (moved from reserved to * another account). **/ - ReserveRepatriated: AugmentedEvent; + ReserveRepatriated: AugmentedEvent; /** * Some balances were slashed (e.g. due to mis-behavior) **/ - Slashed: AugmentedEvent; + Slashed: AugmentedEvent; /** * The total issuance of an currency has been set **/ - TotalIssuanceSet: AugmentedEvent; + TotalIssuanceSet: AugmentedEvent; /** * Transfer succeeded. **/ - Transfer: AugmentedEvent; + Transfer: AugmentedEvent; /** * Some balance was unreserved (moved from reserved to free). **/ - Unreserved: AugmentedEvent; + Unreserved: AugmentedEvent; /** * Some balances were withdrawn (e.g. pay for transaction fee) **/ - Withdrawn: AugmentedEvent; + Withdrawn: AugmentedEvent; /** * Generic event **/ --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -6,10 +6,10 @@ import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; -import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; +import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletNonfungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -262,42 +262,7 @@ }; evmMigration: { migrationPending: AugmentedQuery Observable, [H160]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; - foreingAssets: { - /** - * The storages for assets to fungible collection binding - * - **/ - assetBinding: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * The storages for AssetMetadatas. - * - * AssetMetadatas: map AssetIds => Option - **/ - assetMetadatas: AugmentedQuery Observable>, [PalletForeingAssetsAssetIds]> & QueryableStorageEntry; - /** - * The storages for MultiLocations. - * - * ForeignAssetLocations: map ForeignAssetId => Option - **/ - foreignAssetLocations: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * The storages for CurrencyIds. - * - * LocationToCurrencyIds: map MultiLocation => Option - **/ - locationToCurrencyIds: AugmentedQuery Observable>, [XcmV1MultiLocation]> & QueryableStorageEntry; /** - * Next available Foreign AssetId ID. - * - * NextForeignAssetId: ForeignAssetId - **/ - nextForeignAssetId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** * Generic query **/ [key: string]: QueryableStorageEntry; @@ -561,90 +526,6 @@ **/ [key: string]: QueryableStorageEntry; }; - refungible: { - /** - * Amount of tokens (not pieces) partially owned by an account within a collection. - **/ - accountBalance: AugmentedQuery Observable, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry; - /** - * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token. - **/ - allowance: AugmentedQuery Observable, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry; - /** - * Amount of token pieces owned by account. - **/ - balance: AugmentedQuery Observable, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry; - /** - * Used to enumerate tokens owned by account. - **/ - owned: AugmentedQuery Observable, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry; - /** - * Token data, used to partially describe a token. - **/ - tokenData: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; - /** - * Amount of pieces a refungible token is split into. - **/ - tokenProperties: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; - /** - * Amount of tokens burnt in a collection. - **/ - tokensBurnt: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Total amount of minted tokens in a collection. - **/ - tokensMinted: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Total amount of pieces for token - **/ - totalSupply: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; - rmrkCore: { - /** - * Latest yet-unused collection ID. - **/ - collectionIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Mapping from RMRK collection ID to Unique's. - **/ - uniqueCollectionId: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; - rmrkEquip: { - /** - * Checkmark that a Base has a Theme NFT named "default". - **/ - baseHasDefaultTheme: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part. - **/ - inernalPartId: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; - scheduler: { - /** - * Items to be executed, indexed by the block number that they should be executed on. - **/ - agenda: AugmentedQuery Observable>>, [u32]> & QueryableStorageEntry; - /** - * Lookup from identity to the block number and index of the task. - **/ - lookup: AugmentedQuery Observable>>, [U8aFixed]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; structure: { /** * Generic query @@ -770,20 +651,20 @@ * NOTE: This is only used in the case that this module is used to store * balances. **/ - accounts: AugmentedQuery Observable, [AccountId32, PalletForeingAssetsAssetIds]> & QueryableStorageEntry; + accounts: AugmentedQuery Observable, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; /** * Any liquidity locks of a token type under an account. * NOTE: Should only be accessed when setting, changing and freeing a lock. **/ - locks: AugmentedQuery Observable>, [AccountId32, PalletForeingAssetsAssetIds]> & QueryableStorageEntry; + locks: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; /** * Named reserves on some account balances. **/ - reserves: AugmentedQuery Observable>, [AccountId32, PalletForeingAssetsAssetIds]> & QueryableStorageEntry; + reserves: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; /** * The total issuance of a token type. **/ - totalIssuance: AugmentedQuery Observable, [PalletForeingAssetsAssetIds]> & QueryableStorageEntry; + totalIssuance: AugmentedQuery Observable, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry; /** * Generic query **/ --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -6,10 +6,10 @@ import '@polkadot/api-base/types/submittable'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; -import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; -import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime'; +import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -202,14 +202,6 @@ **/ [key: string]: SubmittableExtrinsicFunction; }; - foreingAssets: { - registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>; - updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; inflation: { /** * This method sets the inflation start date. Can be only called once. @@ -378,369 +370,11 @@ * fees. **/ teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; - rmrkCore: { - /** - * Accept an NFT sent from another account to self or an owned NFT. - * - * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first. - * - * # Permissions: - * - Token-owner-to-be - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted. - * - `rmrk_nft_id`: ID of the NFT to be accepted. - * - `new_owner`: Either the sender's account ID or a sender-owned NFT, - * whichever the accepted NFT was sent to. - **/ - acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>; - /** - * Accept the addition of a newly created pending resource to an existing NFT. - * - * This transaction is needed when a resource is created and assigned to an NFT - * by a non-owner, i.e. the collection issuer, with one of the - * [`add_...` transactions](Pallet::add_basic_resource). - * - * # Permissions: - * - Token owner - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted. - * - `resource_id`: ID of the newly created pending resource. - * accept the addition of a new resource to an existing NFT - **/ - acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u32]>; - /** - * Accept the removal of a removal-pending resource from an NFT. - * - * This transaction is needed when a non-owner, i.e. the collection issuer, - * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT. - * - * # Permissions: - * - Token owner - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `rmrk_nft_id`: ID of the NFT with a resource to be removed. - * - `resource_id`: ID of the removal-pending resource. - **/ - acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u32]>; - /** - * Create and set/propose a basic resource for an NFT. - * - * A basic resource is the simplest, lacking a Base and anything that comes with it. - * See RMRK docs for more information and examples. - * - * # Permissions: - * - Collection issuer - if not the token owner, adding the resource will warrant - * the owner's [acceptance](Pallet::accept_resource). - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `nft_id`: ID of the NFT to assign a resource to. - * - `resource`: Data of the resource to be created. - **/ - addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsResourceBasicResource]>; - /** - * Create and set/propose a composable resource for an NFT. - * - * A composable resource links to a Base and has a subset of its Parts it is composed of. - * See RMRK docs for more information and examples. - * - * # Permissions: - * - Collection issuer - if not the token owner, adding the resource will warrant - * the owner's [acceptance](Pallet::accept_resource). - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `nft_id`: ID of the NFT to assign a resource to. - * - `resource`: Data of the resource to be created. - **/ - addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsResourceComposableResource]>; - /** - * Create and set/propose a slot resource for an NFT. - * - * A slot resource links to a Base and a slot ID in it which it can fit into. - * See RMRK docs for more information and examples. - * - * # Permissions: - * - Collection issuer - if not the token owner, adding the resource will warrant - * the owner's [acceptance](Pallet::accept_resource). - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `nft_id`: ID of the NFT to assign a resource to. - * - `resource`: Data of the resource to be created. - **/ - addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsResourceSlotResource]>; - /** - * Burn an NFT, destroying it and its nested tokens up to the specified limit. - * If the burning budget is exceeded, the transaction is reverted. - * - * This is the way to burn a nested token as well. - * - * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively). - * - * # Permissions: - * * Token owner - * - * # Arguments: - * - `origin`: sender of the transaction - * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to. - * - `nft_id`: ID of the NFT to be destroyed. - * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction - * is reverted if there are more tokens to burn in the nesting tree than this number. - * This is primarily a mechanism of transaction weight control. - **/ - burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u32]>; - /** - * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection). - * - * # Permissions: - * * Collection issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `collection_id`: RMRK collection ID to change the issuer of. - * - `new_issuer`: Collection's new issuer. - **/ - changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, MultiAddress]>; - /** - * Create a new collection of NFTs. - * - * # Permissions: - * * Anyone - will be assigned as the issuer of the collection. - * - * # Arguments: - * - `origin`: sender of the transaction - * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed. - * - `max`: Optional maximum number of tokens. - * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs. - * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed. - **/ - createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes, Option, Bytes]>; - /** - * Destroy a collection. - * - * Only empty collections can be destroyed. If it has any tokens, they must be burned first. - * - * # Permissions: - * * Collection issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `collection_id`: RMRK ID of the collection to destroy. - **/ - destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * "Lock" the collection and prevent new token creation. Cannot be undone. - * - * # Permissions: - * * Collection issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `collection_id`: RMRK ID of the collection to lock. - **/ - lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Mint an NFT in a specified collection. - * - * # Permissions: - * * Collection issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer). - * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed. - * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed. - * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed. - * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed. - * - `transferable`: Can this NFT be transferred? Cannot be changed. - * - `resources`: Resource data to be added to the NFT immediately after minting. - **/ - mintNft: AugmentedSubmittable<(owner: Option | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option | null | Uint8Array | AccountId32 | string, royaltyAmount: Option | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option> | null | Uint8Array | Vec | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Option, u32, Option, Option, Bytes, bool, Option>]>; - /** - * Reject an NFT sent from another account to self or owned NFT. - * The NFT in question will not be sent back and burnt instead. - * - * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first. - * - * # Permissions: - * - Token-owner-to-be-not - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected. - * - `rmrk_nft_id`: ID of the NFT to be rejected. - **/ - rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; - /** - * Remove and erase a resource from an NFT. - * - * If the sender does not own the NFT, then it will be pending confirmation, - * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner. - * - * # Permissions - * - Collection issuer - * - * # Arguments - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to. - * - `nft_id`: ID of the NFT with a resource to be removed. - * - `resource_id`: ID of the resource to be removed. - **/ - removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u32]>; - /** - * Transfer an NFT from an account/NFT A to another account/NFT B. - * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`]. - * - * If the target owner is an NFT owned by another account, then the NFT will enter - * the pending state and will have to be accepted by the other account. - * - * # Permissions: - * - Token owner - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred. - * - `rmrk_nft_id`: ID of the NFT to be transferred. - * - `new_owner`: New owner of the nft which can be either an account or a NFT. - **/ - send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>; - /** - * Set a different order of resource priorities for an NFT. Priorities can be used, - * for example, for order of rendering. - * - * Note that the priorities are not updated automatically, and are an empty vector - * by default. There is no pre-set definition for the order to be particular, - * it can be interpreted arbitrarily use-case by use-case. - * - * # Permissions: - * - Token owner - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID of the NFT. - * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for. - * - `priorities`: Ordered vector of resource IDs. - **/ - setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [u32, u32, Vec]>; - /** - * Add or edit a custom user property, a key-value pair, describing the metadata - * of a token or a collection, on either one of these. - * - * Note that in this proxy implementation many details regarding RMRK are stored - * as scoped properties prefixed with "rmrk:", normally inaccessible - * to external transactions and RPCs. - * - * # Permissions: - * - Collection issuer - in case of collection property - * - Token owner - in case of NFT property - * - * # Arguments: - * - `origin`: sender of the transaction - * - `rmrk_collection_id`: RMRK collection ID. - * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection. - * - `key`: Key of the custom property to be referenced by. - * - `value`: Value of the custom property to be stored. - **/ - setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact | AnyNumber | Uint8Array, maybeNftId: Option | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Option, Bytes, Bytes]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; - rmrkEquip: { - /** - * Create a new Base. - * - * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md) - * - * # Permissions - * - Anyone - will be assigned as the issuer of the Base. - * - * # Arguments: - * - `origin`: Caller, will be assigned as the issuer of the Base - * - `base_type`: Arbitrary media type, e.g. "svg". - * - `symbol`: Arbitrary client-chosen symbol. - * - `parts`: Array of Fixed and Slot Parts composing the Base, - * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit). - **/ - createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Bytes, Bytes, Vec]>; - /** - * Update the array of Collections allowed to be equipped to a Base's specified Slot Part. - * - * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md). - * - * # Permissions: - * - Base issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `base_id`: Base containing the Slot Part to be updated. - * - `slot_id`: Slot Part whose Equippable List is being updated . - * - `equippables`: List of equippables that will override the current Equippables list. - **/ - equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, u32, RmrkTraitsPartEquippableList]>; - /** - * Add a Theme to a Base. - * A Theme named "default" is required prior to adding other Themes. - * - * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md). - * - * # Permissions: - * - Base issuer - * - * # Arguments: - * - `origin`: sender of the transaction - * - `base_id`: Base ID containing the Theme to be updated. - * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an - * array of [key, value, inherit]. - * - `key`: Arbitrary BoundedString, defined by client. - * - `value`: Arbitrary BoundedString, defined by client. - * - `inherit`: Optional bool. - **/ - themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, RmrkTraitsTheme]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; - scheduler: { - /** - * Cancel a named scheduled task. - **/ - cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; - /** - * Schedule a named task. - **/ - scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; - /** - * Schedule a named task after a delay. - * - * # - * Same as [`schedule_named`](Self::schedule_named). - * # - **/ - scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, FrameSupportScheduleMaybeHashed]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; structure: { /** * Generic tx @@ -911,7 +545,7 @@ * - `currency_id`: currency type. * - `amount`: free balance amount to tranfer. **/ - forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletForeingAssetsAssetIds, Compact]>; + forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact]>; /** * Set the balances of a given account. * @@ -922,7 +556,7 @@ * * The dispatch origin for this call is `root`. **/ - setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeingAssetsAssetIds, Compact, Compact]>; + setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact, Compact]>; /** * Transfer some liquid free balance to another account. * @@ -938,7 +572,7 @@ * - `currency_id`: currency type. * - `amount`: free balance amount to tranfer. **/ - transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeingAssetsAssetIds, Compact]>; + transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact]>; /** * Transfer all remaining balance to the given account. * @@ -960,7 +594,7 @@ * except at least the existential deposit, which will guarantee to * keep the sender account alive (true). **/ - transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeingAssetsAssetIds, bool]>; + transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, bool]>; /** * Same as the [`transfer`] call, but with a check that the transfer * will not kill the origin account. @@ -974,7 +608,7 @@ * - `currency_id`: currency type. * - `amount`: free balance amount to tranfer. **/ - transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeingAssetsAssetIds, Compact]>; + transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact]>; /** * Generic tx **/ @@ -1655,7 +1289,7 @@ * by the network, and if the receiving chain would handle * messages correctly. **/ - transfer: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletForeingAssetsAssetIds, u128, XcmVersionedMultiLocation, u64]>; + transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, u64]>; /** * Transfer `MultiAsset`. * @@ -1730,7 +1364,7 @@ * by the network, and if the receiving chain would handle * messages correctly. **/ - transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, XcmVersionedMultiLocation, u64]>; + transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, XcmVersionedMultiLocation, u64]>; /** * Transfer native currencies specifying the fee and amount as * separate. @@ -1754,7 +1388,7 @@ * by the network, and if the receiving chain would handle * messages correctly. **/ - transferWithFee: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletForeingAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, u64]>; + transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, u64]>; /** * Generic tx **/ --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; +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, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, 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'; @@ -325,7 +325,6 @@ CumulusPalletXcmCall: CumulusPalletXcmCall; CumulusPalletXcmError: CumulusPalletXcmError; CumulusPalletXcmEvent: CumulusPalletXcmEvent; - CumulusPalletXcmOrigin: CumulusPalletXcmOrigin; CumulusPalletXcmpQueueCall: CumulusPalletXcmpQueueCall; CumulusPalletXcmpQueueError: CumulusPalletXcmpQueueError; CumulusPalletXcmpQueueEvent: CumulusPalletXcmpQueueEvent; @@ -515,10 +514,7 @@ ForkTreePendingChange: ForkTreePendingChange; ForkTreePendingChangeNode: ForkTreePendingChangeNode; FpRpcTransactionStatus: FpRpcTransactionStatus; - FrameSupportDispatchRawOrigin: FrameSupportDispatchRawOrigin; FrameSupportPalletId: FrameSupportPalletId; - FrameSupportScheduleLookupError: FrameSupportScheduleLookupError; - FrameSupportScheduleMaybeHashed: FrameSupportScheduleMaybeHashed; FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass; FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo; @@ -770,8 +766,6 @@ OffenceDetails: OffenceDetails; Offender: Offender; OldV1SessionInfo: OldV1SessionInfo; - OpalRuntimeOriginCaller: OpalRuntimeOriginCaller; - OpalRuntimeRuntime: OpalRuntimeRuntime; OpaqueCall: OpaqueCall; OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; OpaqueMetadata: OpaqueMetadata; @@ -834,7 +828,6 @@ PalletEthereumError: PalletEthereumError; PalletEthereumEvent: PalletEthereumEvent; PalletEthereumFakeTransactionFinalizer: PalletEthereumFakeTransactionFinalizer; - PalletEthereumRawOrigin: PalletEthereumRawOrigin; PalletEventMetadataLatest: PalletEventMetadataLatest; PalletEventMetadataV14: PalletEventMetadataV14; PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr; @@ -846,12 +839,8 @@ PalletEvmEvent: PalletEvmEvent; PalletEvmMigrationCall: PalletEvmMigrationCall; PalletEvmMigrationError: PalletEvmMigrationError; - PalletForeingAssetsAssetIds: PalletForeingAssetsAssetIds; - PalletForeingAssetsModuleAssetMetadata: PalletForeingAssetsModuleAssetMetadata; - PalletForeingAssetsModuleCall: PalletForeingAssetsModuleCall; - PalletForeingAssetsModuleError: PalletForeingAssetsModuleError; - PalletForeingAssetsModuleEvent: PalletForeingAssetsModuleEvent; - PalletForeingAssetsNativeCurrency: PalletForeingAssetsNativeCurrency; + PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; + PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency; PalletFungibleError: PalletFungibleError; PalletId: PalletId; PalletInflationCall: PalletInflationCall; @@ -859,14 +848,6 @@ PalletMetadataV14: PalletMetadataV14; PalletNonfungibleError: PalletNonfungibleError; PalletNonfungibleItemData: PalletNonfungibleItemData; - PalletRefungibleError: PalletRefungibleError; - PalletRefungibleItemData: PalletRefungibleItemData; - PalletRmrkCoreCall: PalletRmrkCoreCall; - PalletRmrkCoreError: PalletRmrkCoreError; - PalletRmrkCoreEvent: PalletRmrkCoreEvent; - PalletRmrkEquipCall: PalletRmrkEquipCall; - PalletRmrkEquipError: PalletRmrkEquipError; - PalletRmrkEquipEvent: PalletRmrkEquipEvent; PalletsOrigin: PalletsOrigin; PalletStorageMetadataLatest: PalletStorageMetadataLatest; PalletStorageMetadataV14: PalletStorageMetadataV14; @@ -888,15 +869,10 @@ PalletUniqueCall: PalletUniqueCall; PalletUniqueError: PalletUniqueError; PalletUniqueRawEvent: PalletUniqueRawEvent; - PalletUniqueSchedulerCall: PalletUniqueSchedulerCall; - PalletUniqueSchedulerError: PalletUniqueSchedulerError; - PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent; - PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3; PalletVersion: PalletVersion; PalletXcmCall: PalletXcmCall; PalletXcmError: PalletXcmError; PalletXcmEvent: PalletXcmEvent; - PalletXcmOrigin: PalletXcmOrigin; ParachainDispatchOrigin: ParachainDispatchOrigin; ParachainInherentData: ParachainInherentData; ParachainProposal: ParachainProposal; @@ -1170,7 +1146,6 @@ SpCoreEcdsaSignature: SpCoreEcdsaSignature; SpCoreEd25519Signature: SpCoreEd25519Signature; SpCoreSr25519Signature: SpCoreSr25519Signature; - SpCoreVoid: SpCoreVoid; SpecVersion: SpecVersion; SpRuntimeArithmeticError: SpRuntimeArithmeticError; SpRuntimeDigest: SpRuntimeDigest; @@ -1280,6 +1255,7 @@ UnappliedSlash: UnappliedSlash; UnappliedSlashOther: UnappliedSlashOther; UncleEntryItem: UncleEntryItem; + UniqueRuntimeRuntime: UniqueRuntimeRuntime; UnknownTransaction: UnknownTransaction; UnlockChunk: UnlockChunk; UnrewardedRelayer: UnrewardedRelayer; --- a/tests/src/interfaces/default/types.ts +++ b/tests/src/interfaces/default/types.ts @@ -153,14 +153,6 @@ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } -/** @name CumulusPalletXcmOrigin */ -export interface CumulusPalletXcmOrigin extends Enum { - readonly isRelay: boolean; - readonly isSiblingParachain: boolean; - readonly asSiblingParachain: u32; - readonly type: 'Relay' | 'SiblingParachain'; -} - /** @name CumulusPalletXcmpQueueCall */ export interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; @@ -499,36 +491,11 @@ readonly contractAddress: Option; readonly logs: Vec; readonly logsBloom: EthbloomBloom; -} - -/** @name FrameSupportDispatchRawOrigin */ -export interface FrameSupportDispatchRawOrigin extends Enum { - readonly isRoot: boolean; - readonly isSigned: boolean; - readonly asSigned: AccountId32; - readonly isNone: boolean; - readonly type: 'Root' | 'Signed' | 'None'; } /** @name FrameSupportPalletId */ export interface FrameSupportPalletId extends U8aFixed {} -/** @name FrameSupportScheduleLookupError */ -export interface FrameSupportScheduleLookupError extends Enum { - readonly isUnknown: boolean; - readonly isBadFormat: boolean; - readonly type: 'Unknown' | 'BadFormat'; -} - -/** @name FrameSupportScheduleMaybeHashed */ -export interface FrameSupportScheduleMaybeHashed extends Enum { - readonly isValue: boolean; - readonly asValue: Call; - readonly isHash: boolean; - readonly asHash: H256; - readonly type: 'Value' | 'Hash'; -} - /** @name FrameSupportTokensMiscBalanceStatus */ export interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; @@ -727,25 +694,7 @@ readonly isFinalization: boolean; readonly isInitialization: boolean; readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; -} - -/** @name OpalRuntimeOriginCaller */ -export interface OpalRuntimeOriginCaller extends Enum { - readonly isSystem: boolean; - readonly asSystem: FrameSupportDispatchRawOrigin; - readonly isVoid: boolean; - readonly asVoid: SpCoreVoid; - readonly isPolkadotXcm: boolean; - readonly asPolkadotXcm: PalletXcmOrigin; - readonly isCumulusXcm: boolean; - readonly asCumulusXcm: CumulusPalletXcmOrigin; - readonly isEthereum: boolean; - readonly asEthereum: PalletEthereumRawOrigin; - readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum'; } - -/** @name OpalRuntimeRuntime */ -export interface OpalRuntimeRuntime extends Null {} /** @name OrmlTokensAccountData */ export interface OrmlTokensAccountData extends Struct { @@ -765,32 +714,32 @@ readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isTransferAll: boolean; readonly asTransferAll: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly keepAlive: bool; } & Struct; readonly isTransferKeepAlive: boolean; readonly asTransferKeepAlive: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isSetBalance: boolean; readonly asSetBalance: { readonly who: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly newFree: Compact; readonly newReserved: Compact; } & Struct; @@ -814,38 +763,38 @@ export interface OrmlTokensModuleEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; @@ -853,46 +802,46 @@ } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly free: u128; readonly reserved: u128; } & Struct; readonly isTotalIssuanceSet: boolean; readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; readonly asWithdrawn: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly freeAmount: u128; readonly reservedAmount: u128; } & Struct; readonly isDeposited: boolean; readonly asDeposited: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockSet: boolean; readonly asLockSet: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockRemoved: boolean; readonly asLockRemoved: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; } & Struct; readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved'; @@ -967,7 +916,7 @@ export interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; readonly dest: XcmVersionedMultiLocation; readonly destWeight: u64; @@ -980,7 +929,7 @@ } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; readonly fee: u128; readonly dest: XcmVersionedMultiLocation; @@ -995,7 +944,7 @@ } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; readonly dest: XcmVersionedMultiLocation; readonly destWeight: u64; @@ -1296,13 +1245,6 @@ /** @name PalletEthereumFakeTransactionFinalizer */ export interface PalletEthereumFakeTransactionFinalizer extends Null {} -/** @name PalletEthereumRawOrigin */ -export interface PalletEthereumRawOrigin extends Enum { - readonly isEthereumTransaction: boolean; - readonly asEthereumTransaction: H160; - readonly type: 'EthereumTransaction'; -} - /** @name PalletEvmAccountBasicCrossAccountIdRepr */ export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum { readonly isSubstrate: boolean; @@ -1435,78 +1377,17 @@ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating'; } -/** @name PalletForeingAssetsAssetIds */ -export interface PalletForeingAssetsAssetIds extends Enum { +/** @name PalletForeignAssetsAssetIds */ +export interface PalletForeignAssetsAssetIds extends Enum { readonly isForeignAssetId: boolean; readonly asForeignAssetId: u32; readonly isNativeAssetId: boolean; - readonly asNativeAssetId: PalletForeingAssetsNativeCurrency; + readonly asNativeAssetId: PalletForeignAssetsNativeCurrency; readonly type: 'ForeignAssetId' | 'NativeAssetId'; } -/** @name PalletForeingAssetsModuleAssetMetadata */ -export interface PalletForeingAssetsModuleAssetMetadata extends Struct { - readonly name: Bytes; - readonly symbol: Bytes; - readonly decimals: u8; - readonly minimalBalance: u128; -} - -/** @name PalletForeingAssetsModuleCall */ -export interface PalletForeingAssetsModuleCall extends Enum { - readonly isRegisterForeignAsset: boolean; - readonly asRegisterForeignAsset: { - readonly owner: AccountId32; - readonly location: XcmVersionedMultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isUpdateForeignAsset: boolean; - readonly asUpdateForeignAsset: { - readonly foreignAssetId: u32; - readonly location: XcmVersionedMultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; -} - -/** @name PalletForeingAssetsModuleError */ -export interface PalletForeingAssetsModuleError extends Enum { - readonly isBadLocation: boolean; - readonly isMultiLocationExisted: boolean; - readonly isAssetIdNotExists: boolean; - readonly isAssetIdExisted: boolean; - readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; -} - -/** @name PalletForeingAssetsModuleEvent */ -export interface PalletForeingAssetsModuleEvent extends Enum { - readonly isForeignAssetRegistered: boolean; - readonly asForeignAssetRegistered: { - readonly assetId: u32; - readonly assetAddress: XcmV1MultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isForeignAssetUpdated: boolean; - readonly asForeignAssetUpdated: { - readonly assetId: u32; - readonly assetAddress: XcmV1MultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetRegistered: boolean; - readonly asAssetRegistered: { - readonly assetId: PalletForeingAssetsAssetIds; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetUpdated: boolean; - readonly asAssetUpdated: { - readonly assetId: PalletForeingAssetsAssetIds; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; -} - -/** @name PalletForeingAssetsNativeCurrency */ -export interface PalletForeingAssetsNativeCurrency extends Enum { +/** @name PalletForeignAssetsNativeCurrency */ +export interface PalletForeignAssetsNativeCurrency extends Enum { readonly isHere: boolean; readonly isParent: boolean; readonly type: 'Here' | 'Parent'; @@ -1542,292 +1423,8 @@ /** @name PalletNonfungibleItemData */ export interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; -} - -/** @name PalletRefungibleError */ -export interface PalletRefungibleError extends Enum { - readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly isWrongRefungiblePieces: boolean; - readonly isRepartitionWhileNotOwningAllPieces: boolean; - readonly isRefungibleDisallowsNesting: boolean; - readonly isSettingPropertiesNotAllowed: boolean; - readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; -} - -/** @name PalletRefungibleItemData */ -export interface PalletRefungibleItemData extends Struct { - readonly constData: Bytes; -} - -/** @name PalletRmrkCoreCall */ -export interface PalletRmrkCoreCall extends Enum { - readonly isCreateCollection: boolean; - readonly asCreateCollection: { - readonly metadata: Bytes; - readonly max: Option; - 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: Option; - readonly collectionId: u32; - readonly recipient: Option; - readonly royaltyAmount: Option; - readonly metadata: Bytes; - readonly transferable: bool; - readonly resources: Option>; - } & Struct; - readonly isBurnNft: boolean; - readonly asBurnNft: { - readonly collectionId: u32; - readonly nftId: u32; - readonly maxBurns: u32; - } & Struct; - readonly isSend: boolean; - readonly asSend: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple; - } & Struct; - readonly isAcceptNft: boolean; - readonly asAcceptNft: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple; - } & Struct; - readonly isRejectNft: boolean; - readonly asRejectNft: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - } & Struct; - readonly isAcceptResource: boolean; - readonly asAcceptResource: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isAcceptResourceRemoval: boolean; - readonly asAcceptResourceRemoval: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isSetProperty: boolean; - readonly asSetProperty: { - readonly rmrkCollectionId: Compact; - readonly maybeNftId: Option; - readonly key: Bytes; - readonly value: Bytes; - } & Struct; - readonly isSetPriority: boolean; - readonly asSetPriority: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly priorities: Vec; - } & Struct; - readonly isAddBasicResource: boolean; - readonly asAddBasicResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceBasicResource; - } & Struct; - readonly isAddComposableResource: boolean; - readonly asAddComposableResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceComposableResource; - } & Struct; - readonly isAddSlotResource: boolean; - readonly asAddSlotResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceSlotResource; - } & Struct; - readonly isRemoveResource: boolean; - readonly asRemoveResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource'; -} - -/** @name PalletRmrkCoreError */ -export interface PalletRmrkCoreError extends Enum { - readonly isCorruptedCollectionType: boolean; - readonly isRmrkPropertyKeyIsTooLong: boolean; - readonly isRmrkPropertyValueIsTooLong: boolean; - readonly isRmrkPropertyIsNotFound: boolean; - readonly isUnableToDecodeRmrkData: boolean; - readonly isCollectionNotEmpty: boolean; - readonly isNoAvailableCollectionId: boolean; - readonly isNoAvailableNftId: boolean; - readonly isCollectionUnknown: boolean; - readonly isNoPermission: boolean; - readonly isNonTransferable: boolean; - readonly isCollectionFullOrLocked: boolean; - readonly isResourceDoesntExist: boolean; - readonly isCannotSendToDescendentOrSelf: boolean; - readonly isCannotAcceptNonOwnedNft: boolean; - readonly isCannotRejectNonOwnedNft: boolean; - readonly isCannotRejectNonPendingNft: boolean; - readonly isResourceNotPending: boolean; - readonly isNoAvailableResourceId: boolean; - readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId'; -} - -/** @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 isNftSent: boolean; - readonly asNftSent: { - readonly sender: AccountId32; - readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple; - readonly collectionId: u32; - readonly nftId: u32; - readonly approvalRequired: bool; - } & Struct; - readonly isNftAccepted: boolean; - readonly asNftAccepted: { - readonly sender: AccountId32; - readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple; - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly isNftRejected: boolean; - readonly asNftRejected: { - readonly sender: AccountId32; - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly isPropertySet: boolean; - readonly asPropertySet: { - readonly collectionId: u32; - readonly maybeNftId: Option; - readonly key: Bytes; - readonly value: Bytes; - } & Struct; - readonly isResourceAdded: boolean; - readonly asResourceAdded: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceRemoval: boolean; - readonly asResourceRemoval: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceAccepted: boolean; - readonly asResourceAccepted: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceRemovalAccepted: boolean; - readonly asResourceRemovalAccepted: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isPrioritySet: boolean; - readonly asPrioritySet: { - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet'; -} - -/** @name PalletRmrkEquipCall */ -export interface PalletRmrkEquipCall extends Enum { - readonly isCreateBase: boolean; - readonly asCreateBase: { - readonly baseType: Bytes; - readonly symbol: Bytes; - readonly parts: Vec; - } & Struct; - readonly isThemeAdd: boolean; - readonly asThemeAdd: { - readonly baseId: u32; - readonly theme: RmrkTraitsTheme; - } & Struct; - readonly isEquippable: boolean; - readonly asEquippable: { - readonly baseId: u32; - readonly slotId: u32; - readonly equippables: RmrkTraitsPartEquippableList; - } & Struct; - readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable'; -} - -/** @name PalletRmrkEquipError */ -export interface PalletRmrkEquipError extends Enum { - readonly isPermissionError: boolean; - readonly isNoAvailableBaseId: boolean; - readonly isNoAvailablePartId: boolean; - readonly isBaseDoesntExist: boolean; - readonly isNeedsDefaultThemeFirst: boolean; - readonly isPartDoesntExist: boolean; - readonly isNoEquippableOnFixedPart: boolean; - readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart'; } -/** @name PalletRmrkEquipEvent */ -export interface PalletRmrkEquipEvent extends Enum { - readonly isBaseCreated: boolean; - readonly asBaseCreated: { - readonly issuer: AccountId32; - readonly baseId: u32; - } & Struct; - readonly isEquippablesUpdated: boolean; - readonly asEquippablesUpdated: { - readonly baseId: u32; - readonly slotId: u32; - } & Struct; - readonly type: 'BaseCreated' | 'EquippablesUpdated'; -} - /** @name PalletStructureCall */ export interface PalletStructureCall extends Null {} @@ -2205,76 +1802,6 @@ readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet'; } -/** @name PalletUniqueSchedulerCall */ -export interface PalletUniqueSchedulerCall extends Enum { - readonly isScheduleNamed: boolean; - readonly asScheduleNamed: { - readonly id: U8aFixed; - readonly when: u32; - readonly maybePeriodic: Option>; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - } & Struct; - readonly isCancelNamed: boolean; - readonly asCancelNamed: { - readonly id: U8aFixed; - } & Struct; - readonly isScheduleNamedAfter: boolean; - readonly asScheduleNamedAfter: { - readonly id: U8aFixed; - readonly after: u32; - readonly maybePeriodic: Option>; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - } & Struct; - readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter'; -} - -/** @name PalletUniqueSchedulerError */ -export interface PalletUniqueSchedulerError extends Enum { - readonly isFailedToSchedule: boolean; - readonly isNotFound: boolean; - readonly isTargetBlockNumberInPast: boolean; - readonly isRescheduleNoChange: boolean; - readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange'; -} - -/** @name PalletUniqueSchedulerEvent */ -export interface PalletUniqueSchedulerEvent extends Enum { - readonly isScheduled: boolean; - readonly asScheduled: { - readonly when: u32; - readonly index: u32; - } & Struct; - readonly isCanceled: boolean; - readonly asCanceled: { - readonly when: u32; - readonly index: u32; - } & Struct; - readonly isDispatched: boolean; - readonly asDispatched: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - readonly result: Result; - } & Struct; - readonly isCallLookupFailed: boolean; - readonly asCallLookupFailed: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - readonly error: FrameSupportScheduleLookupError; - } & Struct; - readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed'; -} - -/** @name PalletUniqueSchedulerScheduledV3 */ -export interface PalletUniqueSchedulerScheduledV3 extends Struct { - readonly maybeId: Option; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - readonly maybePeriodic: Option>; - readonly origin: OpalRuntimeOriginCaller; -} - /** @name PalletXcmCall */ export interface PalletXcmCall extends Enum { readonly isSend: boolean; @@ -2390,15 +1917,6 @@ readonly isNotifyTargetMigrationFail: boolean; readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>; readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail'; -} - -/** @name PalletXcmOrigin */ -export interface PalletXcmOrigin extends Enum { - readonly isXcm: boolean; - readonly asXcm: XcmV1MultiLocation; - readonly isResponse: boolean; - readonly asResponse: XcmV1MultiLocation; - readonly type: 'Xcm' | 'Response'; } /** @name PhantomTypeUpDataStructs */ @@ -2620,9 +2138,6 @@ /** @name SpCoreSr25519Signature */ export interface SpCoreSr25519Signature extends U8aFixed {} - -/** @name SpCoreVoid */ -export interface SpCoreVoid extends Null {} /** @name SpRuntimeArithmeticError */ export interface SpRuntimeArithmeticError extends Enum { @@ -2723,6 +2238,9 @@ readonly stateVersion: u8; } +/** @name UniqueRuntimeRuntime */ +export interface UniqueRuntimeRuntime extends Null {} + /** @name UpDataStructsAccessMode */ export interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; --- a/tests/src/interfaces/lookup.ts +++ b/tests/src/interfaces/lookup.ts @@ -54,7 +54,7 @@ } }, /** - * Lookup16: frame_system::EventRecord + * Lookup16: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -483,90 +483,90 @@ OrmlTokensModuleEvent: { _enum: { Endowed: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, DustLost: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, Transfer: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', from: 'AccountId32', to: 'AccountId32', amount: 'u128', }, Reserved: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, Unreserved: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, ReserveRepatriated: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', from: 'AccountId32', to: 'AccountId32', amount: 'u128', status: 'FrameSupportTokensMiscBalanceStatus', }, BalanceSet: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', free: 'u128', reserved: 'u128', }, TotalIssuanceSet: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'u128', }, Withdrawn: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, Slashed: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', freeAmount: 'u128', reservedAmount: 'u128', }, Deposited: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, LockSet: { lockId: '[u8;8]', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32', amount: 'u128', }, LockRemoved: { lockId: '[u8;8]', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', who: 'AccountId32' } } }, /** - * Lookup59: pallet_foreing_assets::AssetIds + * Lookup59: pallet_foreign_assets::AssetIds **/ - PalletForeingAssetsAssetIds: { + PalletForeignAssetsAssetIds: { _enum: { ForeignAssetId: 'u32', - NativeAssetId: 'PalletForeingAssetsNativeCurrency' + NativeAssetId: 'PalletForeignAssetsNativeCurrency' } }, /** - * Lookup60: pallet_foreing_assets::NativeCurrency + * Lookup60: pallet_foreign_assets::NativeCurrency **/ - PalletForeingAssetsNativeCurrency: { + PalletForeignAssetsNativeCurrency: { _enum: ['Here', 'Parent'] }, /** @@ -1004,38 +1004,7 @@ } }, /** - * Lookup92: pallet_unique_scheduler::pallet::Event - **/ - PalletUniqueSchedulerEvent: { - _enum: { - Scheduled: { - when: 'u32', - index: 'u32', - }, - Canceled: { - when: 'u32', - index: 'u32', - }, - Dispatched: { - task: '(u32,u32)', - id: 'Option<[u8;16]>', - result: 'Result', - }, - CallLookupFailed: { - task: '(u32,u32)', - id: 'Option<[u8;16]>', - error: 'FrameSupportScheduleLookupError' - } - } - }, - /** - * Lookup95: frame_support::traits::schedule::LookupError - **/ - FrameSupportScheduleLookupError: { - _enum: ['Unknown', 'BadFormat'] - }, - /** - * Lookup96: pallet_common::pallet::Event + * Lookup92: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -1053,7 +1022,7 @@ } }, /** - * Lookup99: pallet_structure::pallet::Event + * Lookup95: pallet_structure::pallet::Event **/ PalletStructureEvent: { _enum: { @@ -1061,142 +1030,7 @@ } }, /** - * Lookup100: pallet_rmrk_core::pallet::Event - **/ - 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', - }, - NFTSent: { - sender: 'AccountId32', - recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', - collectionId: 'u32', - nftId: 'u32', - approvalRequired: 'bool', - }, - NFTAccepted: { - sender: 'AccountId32', - recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', - collectionId: 'u32', - nftId: 'u32', - }, - NFTRejected: { - sender: 'AccountId32', - collectionId: 'u32', - nftId: 'u32', - }, - PropertySet: { - collectionId: 'u32', - maybeNftId: 'Option', - key: 'Bytes', - value: 'Bytes', - }, - ResourceAdded: { - nftId: 'u32', - resourceId: 'u32', - }, - ResourceRemoval: { - nftId: 'u32', - resourceId: 'u32', - }, - ResourceAccepted: { - nftId: 'u32', - resourceId: 'u32', - }, - ResourceRemovalAccepted: { - nftId: 'u32', - resourceId: 'u32', - }, - PrioritySet: { - collectionId: 'u32', - nftId: 'u32' - } - } - }, - /** - * Lookup101: rmrk_traits::nft::AccountIdOrCollectionNftTuple - **/ - RmrkTraitsNftAccountIdOrCollectionNftTuple: { - _enum: { - AccountId: 'AccountId32', - CollectionAndNftTuple: '(u32,u32)' - } - }, - /** - * Lookup106: pallet_rmrk_equip::pallet::Event - **/ - PalletRmrkEquipEvent: { - _enum: { - BaseCreated: { - issuer: 'AccountId32', - baseId: 'u32', - }, - EquippablesUpdated: { - baseId: 'u32', - slotId: 'u32' - } - } - }, - /** - * Lookup107: pallet_foreing_assets::module::Event - **/ - PalletForeingAssetsModuleEvent: { - _enum: { - ForeignAssetRegistered: { - assetId: 'u32', - assetAddress: 'XcmV1MultiLocation', - metadata: 'PalletForeingAssetsModuleAssetMetadata', - }, - ForeignAssetUpdated: { - assetId: 'u32', - assetAddress: 'XcmV1MultiLocation', - metadata: 'PalletForeingAssetsModuleAssetMetadata', - }, - AssetRegistered: { - assetId: 'PalletForeingAssetsAssetIds', - metadata: 'PalletForeingAssetsModuleAssetMetadata', - }, - AssetUpdated: { - assetId: 'PalletForeingAssetsAssetIds', - metadata: 'PalletForeingAssetsModuleAssetMetadata' - } - } - }, - /** - * Lookup108: pallet_foreing_assets::module::AssetMetadata - **/ - PalletForeingAssetsModuleAssetMetadata: { - name: 'Bytes', - symbol: 'Bytes', - decimals: 'u8', - minimalBalance: 'u128' - }, - /** - * Lookup109: pallet_evm::pallet::Event + * Lookup96: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -1210,7 +1044,7 @@ } }, /** - * Lookup110: ethereum::log::Log + * Lookup97: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -1218,7 +1052,7 @@ data: 'Bytes' }, /** - * Lookup114: pallet_ethereum::pallet::Event + * Lookup101: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -1226,7 +1060,7 @@ } }, /** - * Lookup115: evm_core::error::ExitReason + * Lookup102: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -1237,13 +1071,13 @@ } }, /** - * Lookup116: evm_core::error::ExitSucceed + * Lookup103: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup117: evm_core::error::ExitError + * Lookup104: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -1265,13 +1099,13 @@ } }, /** - * Lookup120: evm_core::error::ExitRevert + * Lookup107: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup121: evm_core::error::ExitFatal + * Lookup108: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -1282,7 +1116,7 @@ } }, /** - * Lookup122: frame_system::Phase + * Lookup109: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -1292,14 +1126,14 @@ } }, /** - * Lookup124: frame_system::LastRuntimeUpgradeInfo + * Lookup112: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup125: frame_system::pallet::Call + * Lookup114: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -1337,7 +1171,7 @@ } }, /** - * Lookup130: frame_system::limits::BlockWeights + * Lookup119: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'u64', @@ -1345,7 +1179,7 @@ perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass' }, /** - * Lookup131: frame_support::weights::PerDispatchClass + * Lookup120: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -1353,7 +1187,7 @@ mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup132: frame_system::limits::WeightsPerClass + * Lookup121: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'u64', @@ -1362,13 +1196,13 @@ reserved: 'Option' }, /** - * Lookup134: frame_system::limits::BlockLength + * Lookup123: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportWeightsPerDispatchClassU32' }, /** - * Lookup135: frame_support::weights::PerDispatchClass + * Lookup124: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassU32: { normal: 'u32', @@ -1376,14 +1210,14 @@ mandatory: 'u32' }, /** - * Lookup136: frame_support::weights::RuntimeDbWeight + * Lookup125: frame_support::weights::RuntimeDbWeight **/ FrameSupportWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup137: sp_version::RuntimeVersion + * Lookup126: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -1396,13 +1230,13 @@ stateVersion: 'u8' }, /** - * Lookup142: frame_system::pallet::Error + * Lookup131: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'] }, /** - * Lookup143: polkadot_primitives::v2::PersistedValidationData + * Lookup132: polkadot_primitives::v2::PersistedValidationData **/ PolkadotPrimitivesV2PersistedValidationData: { parentHead: 'Bytes', @@ -1411,19 +1245,19 @@ maxPovSize: 'u32' }, /** - * Lookup146: polkadot_primitives::v2::UpgradeRestriction + * Lookup135: polkadot_primitives::v2::UpgradeRestriction **/ PolkadotPrimitivesV2UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup147: sp_trie::storage_proof::StorageProof + * Lookup136: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: 'BTreeSet' }, /** - * Lookup149: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup138: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', @@ -1432,7 +1266,7 @@ egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>' }, /** - * Lookup152: polkadot_primitives::v2::AbridgedHrmpChannel + * Lookup141: polkadot_primitives::v2::AbridgedHrmpChannel **/ PolkadotPrimitivesV2AbridgedHrmpChannel: { maxCapacity: 'u32', @@ -1443,7 +1277,7 @@ mqcHead: 'Option' }, /** - * Lookup153: polkadot_primitives::v2::AbridgedHostConfiguration + * Lookup142: polkadot_primitives::v2::AbridgedHostConfiguration **/ PolkadotPrimitivesV2AbridgedHostConfiguration: { maxCodeSize: 'u32', @@ -1457,14 +1291,14 @@ validationUpgradeDelay: 'u32' }, /** - * Lookup159: polkadot_core_primitives::OutboundHrmpMessage + * Lookup148: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup160: cumulus_pallet_parachain_system::pallet::Call + * Lookup149: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -1483,7 +1317,7 @@ } }, /** - * Lookup161: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup150: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: 'PolkadotPrimitivesV2PersistedValidationData', @@ -1492,27 +1326,27 @@ horizontalMessages: 'BTreeMap>' }, /** - * Lookup163: polkadot_core_primitives::InboundDownwardMessage + * Lookup152: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: 'u32', msg: 'Bytes' }, /** - * Lookup166: polkadot_core_primitives::InboundHrmpMessage + * Lookup155: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: 'u32', data: 'Bytes' }, /** - * Lookup169: cumulus_pallet_parachain_system::pallet::Error + * Lookup158: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup171: pallet_balances::BalanceLock + * Lookup160: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -1520,26 +1354,26 @@ reasons: 'PalletBalancesReasons' }, /** - * Lookup172: pallet_balances::Reasons + * Lookup161: pallet_balances::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup175: pallet_balances::ReserveData + * Lookup164: pallet_balances::ReserveData **/ PalletBalancesReserveData: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup177: pallet_balances::Releases + * Lookup166: pallet_balances::Releases **/ PalletBalancesReleases: { _enum: ['V1_0_0', 'V2_0_0'] }, /** - * Lookup178: pallet_balances::pallet::Call + * Lookup167: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -1572,13 +1406,13 @@ } }, /** - * Lookup181: pallet_balances::pallet::Error + * Lookup170: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup183: pallet_timestamp::pallet::Call + * Lookup172: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -1588,13 +1422,13 @@ } }, /** - * Lookup185: pallet_transaction_payment::Releases + * Lookup174: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup186: pallet_treasury::Proposal + * Lookup175: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -1603,7 +1437,7 @@ bond: 'u128' }, /** - * Lookup189: pallet_treasury::pallet::Call + * Lookup178: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -1627,17 +1461,17 @@ } }, /** - * Lookup192: frame_support::PalletId + * Lookup181: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup193: pallet_treasury::pallet::Error + * Lookup182: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'] }, /** - * Lookup194: pallet_sudo::pallet::Call + * Lookup183: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -1661,7 +1495,7 @@ } }, /** - * Lookup196: orml_vesting::module::Call + * Lookup185: orml_vesting::module::Call **/ OrmlVestingModuleCall: { _enum: { @@ -1680,12 +1514,12 @@ } }, /** - * Lookup198: orml_xtokens::module::Call + * Lookup187: orml_xtokens::module::Call **/ OrmlXtokensModuleCall: { _enum: { transfer: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'u128', dest: 'XcmVersionedMultiLocation', destWeight: 'u64', @@ -1696,7 +1530,7 @@ destWeight: 'u64', }, transfer_with_fee: { - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'u128', fee: 'u128', dest: 'XcmVersionedMultiLocation', @@ -1709,7 +1543,7 @@ destWeight: 'u64', }, transfer_multicurrencies: { - currencies: 'Vec<(PalletForeingAssetsAssetIds,u128)>', + currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>', feeItem: 'u32', dest: 'XcmVersionedMultiLocation', destWeight: 'u64', @@ -1723,7 +1557,7 @@ } }, /** - * Lookup199: xcm::VersionedMultiAsset + * Lookup188: xcm::VersionedMultiAsset **/ XcmVersionedMultiAsset: { _enum: { @@ -1732,41 +1566,41 @@ } }, /** - * Lookup202: orml_tokens::module::Call + * Lookup191: orml_tokens::module::Call **/ OrmlTokensModuleCall: { _enum: { transfer: { dest: 'MultiAddress', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'Compact', }, transfer_all: { dest: 'MultiAddress', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', keepAlive: 'bool', }, transfer_keep_alive: { dest: 'MultiAddress', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'Compact', }, force_transfer: { source: 'MultiAddress', dest: 'MultiAddress', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', amount: 'Compact', }, set_balance: { who: 'MultiAddress', - currencyId: 'PalletForeingAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetIds', newFree: 'Compact', newReserved: 'Compact' } } }, /** - * Lookup203: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup192: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { @@ -1815,7 +1649,7 @@ } }, /** - * Lookup204: pallet_xcm::pallet::Call + * Lookup193: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -1869,7 +1703,7 @@ } }, /** - * Lookup205: xcm::VersionedXcm + * Lookup194: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -1879,7 +1713,7 @@ } }, /** - * Lookup206: xcm::v0::Xcm + * Lookup195: xcm::v0::Xcm **/ XcmV0Xcm: { _enum: { @@ -1933,7 +1767,7 @@ } }, /** - * Lookup208: xcm::v0::order::Order + * Lookup197: xcm::v0::order::Order **/ XcmV0Order: { _enum: { @@ -1976,7 +1810,7 @@ } }, /** - * Lookup210: xcm::v0::Response + * Lookup199: xcm::v0::Response **/ XcmV0Response: { _enum: { @@ -1984,7 +1818,7 @@ } }, /** - * Lookup211: xcm::v1::Xcm + * Lookup200: xcm::v1::Xcm **/ XcmV1Xcm: { _enum: { @@ -2043,7 +1877,7 @@ } }, /** - * Lookup213: xcm::v1::order::Order + * Lookup202: xcm::v1::order::Order **/ XcmV1Order: { _enum: { @@ -2088,7 +1922,7 @@ } }, /** - * Lookup215: xcm::v1::Response + * Lookup204: xcm::v1::Response **/ XcmV1Response: { _enum: { @@ -2097,11 +1931,11 @@ } }, /** - * Lookup229: cumulus_pallet_xcm::pallet::Call + * Lookup219: cumulus_pallet_xcm::pallet::Call **/ CumulusPalletXcmCall: 'Null', /** - * Lookup230: cumulus_pallet_dmp_queue::pallet::Call + * Lookup220: cumulus_pallet_dmp_queue::pallet::Call **/ CumulusPalletDmpQueueCall: { _enum: { @@ -2112,7 +1946,7 @@ } }, /** - * Lookup231: pallet_inflation::pallet::Call + * Lookup221: pallet_inflation::pallet::Call **/ PalletInflationCall: { _enum: { @@ -2122,7 +1956,7 @@ } }, /** - * Lookup232: pallet_unique::Call + * Lookup222: pallet_unique::Call **/ PalletUniqueCall: { _enum: { @@ -2254,7 +2088,7 @@ } }, /** - * Lookup237: up_data_structs::CollectionMode + * Lookup227: up_data_structs::CollectionMode **/ UpDataStructsCollectionMode: { _enum: { @@ -2264,7 +2098,7 @@ } }, /** - * Lookup238: up_data_structs::CreateCollectionData + * Lookup228: up_data_structs::CreateCollectionData **/ UpDataStructsCreateCollectionData: { mode: 'UpDataStructsCollectionMode', @@ -2279,13 +2113,13 @@ properties: 'Vec' }, /** - * Lookup240: up_data_structs::AccessMode + * Lookup230: up_data_structs::AccessMode **/ UpDataStructsAccessMode: { _enum: ['Normal', 'AllowList'] }, /** - * Lookup242: up_data_structs::CollectionLimits + * Lookup232: up_data_structs::CollectionLimits **/ UpDataStructsCollectionLimits: { accountTokenOwnershipLimit: 'Option', @@ -2299,7 +2133,7 @@ transfersEnabled: 'Option' }, /** - * Lookup244: up_data_structs::SponsoringRateLimit + * Lookup234: up_data_structs::SponsoringRateLimit **/ UpDataStructsSponsoringRateLimit: { _enum: { @@ -2308,7 +2142,7 @@ } }, /** - * Lookup247: up_data_structs::CollectionPermissions + * Lookup237: up_data_structs::CollectionPermissions **/ UpDataStructsCollectionPermissions: { access: 'Option', @@ -2316,7 +2150,7 @@ nesting: 'Option' }, /** - * Lookup249: up_data_structs::NestingPermissions + * Lookup239: up_data_structs::NestingPermissions **/ UpDataStructsNestingPermissions: { tokenOwner: 'bool', @@ -2324,18 +2158,18 @@ restricted: 'Option' }, /** - * Lookup251: up_data_structs::OwnerRestrictedSet + * Lookup241: up_data_structs::OwnerRestrictedSet **/ UpDataStructsOwnerRestrictedSet: 'BTreeSet', /** - * Lookup256: up_data_structs::PropertyKeyPermission + * Lookup246: up_data_structs::PropertyKeyPermission **/ UpDataStructsPropertyKeyPermission: { key: 'Bytes', permission: 'UpDataStructsPropertyPermission' }, /** - * Lookup257: up_data_structs::PropertyPermission + * Lookup247: up_data_structs::PropertyPermission **/ UpDataStructsPropertyPermission: { mutable: 'bool', @@ -2343,14 +2177,14 @@ tokenOwner: 'bool' }, /** - * Lookup260: up_data_structs::Property + * Lookup250: up_data_structs::Property **/ UpDataStructsProperty: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup263: up_data_structs::CreateItemData + * Lookup253: up_data_structs::CreateItemData **/ UpDataStructsCreateItemData: { _enum: { @@ -2360,26 +2194,26 @@ } }, /** - * Lookup264: up_data_structs::CreateNftData + * Lookup254: up_data_structs::CreateNftData **/ UpDataStructsCreateNftData: { properties: 'Vec' }, /** - * Lookup265: up_data_structs::CreateFungibleData + * Lookup255: up_data_structs::CreateFungibleData **/ UpDataStructsCreateFungibleData: { value: 'u128' }, /** - * Lookup266: up_data_structs::CreateReFungibleData + * Lookup256: up_data_structs::CreateReFungibleData **/ UpDataStructsCreateReFungibleData: { pieces: 'u128', properties: 'Vec' }, /** - * Lookup269: up_data_structs::CreateItemExData> + * Lookup259: up_data_structs::CreateItemExData> **/ UpDataStructsCreateItemExData: { _enum: { @@ -2390,14 +2224,14 @@ } }, /** - * Lookup271: up_data_structs::CreateNftExData> + * Lookup261: up_data_structs::CreateNftExData> **/ UpDataStructsCreateNftExData: { properties: 'Vec', owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup278: up_data_structs::CreateRefungibleExSingleOwner> + * Lookup268: up_data_structs::CreateRefungibleExSingleOwner> **/ UpDataStructsCreateRefungibleExSingleOwner: { user: 'PalletEvmAccountBasicCrossAccountIdRepr', @@ -2405,47 +2239,14 @@ properties: 'Vec' }, /** - * Lookup280: up_data_structs::CreateRefungibleExMultipleOwners> + * Lookup270: up_data_structs::CreateRefungibleExMultipleOwners> **/ UpDataStructsCreateRefungibleExMultipleOwners: { users: 'BTreeMap', properties: 'Vec' }, /** - * Lookup281: pallet_unique_scheduler::pallet::Call - **/ - PalletUniqueSchedulerCall: { - _enum: { - schedule_named: { - id: '[u8;16]', - when: 'u32', - maybePeriodic: 'Option<(u32,u32)>', - priority: 'u8', - call: 'FrameSupportScheduleMaybeHashed', - }, - cancel_named: { - id: '[u8;16]', - }, - schedule_named_after: { - id: '[u8;16]', - after: 'u32', - maybePeriodic: 'Option<(u32,u32)>', - priority: 'u8', - call: 'FrameSupportScheduleMaybeHashed' - } - } - }, - /** - * Lookup283: frame_support::traits::schedule::MaybeHashed - **/ - FrameSupportScheduleMaybeHashed: { - _enum: { - Value: 'Call', - Hash: 'H256' - } - }, - /** - * Lookup284: pallet_configuration::pallet::Call + * Lookup271: pallet_configuration::pallet::Call **/ PalletConfigurationCall: { _enum: { @@ -2458,237 +2259,16 @@ } }, /** - * Lookup285: pallet_template_transaction_payment::Call + * Lookup272: pallet_template_transaction_payment::Call **/ PalletTemplateTransactionPaymentCall: 'Null', /** - * Lookup286: pallet_structure::pallet::Call + * Lookup273: pallet_structure::pallet::Call **/ PalletStructureCall: 'Null', /** - * Lookup287: pallet_rmrk_core::pallet::Call - **/ - PalletRmrkCoreCall: { - _enum: { - create_collection: { - metadata: 'Bytes', - max: 'Option', - symbol: 'Bytes', - }, - destroy_collection: { - collectionId: 'u32', - }, - change_collection_issuer: { - collectionId: 'u32', - newIssuer: 'MultiAddress', - }, - lock_collection: { - collectionId: 'u32', - }, - mint_nft: { - owner: 'Option', - collectionId: 'u32', - recipient: 'Option', - royaltyAmount: 'Option', - metadata: 'Bytes', - transferable: 'bool', - resources: 'Option>', - }, - burn_nft: { - collectionId: 'u32', - nftId: 'u32', - maxBurns: 'u32', - }, - send: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', - }, - accept_nft: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', - }, - reject_nft: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - }, - accept_resource: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - resourceId: 'u32', - }, - accept_resource_removal: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - resourceId: 'u32', - }, - set_property: { - rmrkCollectionId: 'Compact', - maybeNftId: 'Option', - key: 'Bytes', - value: 'Bytes', - }, - set_priority: { - rmrkCollectionId: 'u32', - rmrkNftId: 'u32', - priorities: 'Vec', - }, - add_basic_resource: { - rmrkCollectionId: 'u32', - nftId: 'u32', - resource: 'RmrkTraitsResourceBasicResource', - }, - add_composable_resource: { - rmrkCollectionId: 'u32', - nftId: 'u32', - resource: 'RmrkTraitsResourceComposableResource', - }, - add_slot_resource: { - rmrkCollectionId: 'u32', - nftId: 'u32', - resource: 'RmrkTraitsResourceSlotResource', - }, - remove_resource: { - rmrkCollectionId: 'u32', - nftId: 'u32', - resourceId: 'u32' - } - } - }, - /** - * Lookup293: rmrk_traits::resource::ResourceTypes, sp_runtime::bounded::bounded_vec::BoundedVec> - **/ - RmrkTraitsResourceResourceTypes: { - _enum: { - Basic: 'RmrkTraitsResourceBasicResource', - Composable: 'RmrkTraitsResourceComposableResource', - Slot: 'RmrkTraitsResourceSlotResource' - } - }, - /** - * Lookup295: rmrk_traits::resource::BasicResource> - **/ - RmrkTraitsResourceBasicResource: { - src: 'Option', - metadata: 'Option', - license: 'Option', - thumb: 'Option' - }, - /** - * Lookup297: rmrk_traits::resource::ComposableResource, sp_runtime::bounded::bounded_vec::BoundedVec> - **/ - RmrkTraitsResourceComposableResource: { - parts: 'Vec', - base: 'u32', - src: 'Option', - metadata: 'Option', - license: 'Option', - thumb: 'Option' - }, - /** - * Lookup298: rmrk_traits::resource::SlotResource> - **/ - RmrkTraitsResourceSlotResource: { - base: 'u32', - src: 'Option', - metadata: 'Option', - slot: 'u32', - license: 'Option', - thumb: 'Option' - }, - /** - * Lookup301: pallet_rmrk_equip::pallet::Call - **/ - PalletRmrkEquipCall: { - _enum: { - create_base: { - baseType: 'Bytes', - symbol: 'Bytes', - parts: 'Vec', - }, - theme_add: { - baseId: 'u32', - theme: 'RmrkTraitsTheme', - }, - equippable: { - baseId: 'u32', - slotId: 'u32', - equippables: 'RmrkTraitsPartEquippableList' - } - } - }, - /** - * Lookup304: rmrk_traits::part::PartType, sp_runtime::bounded::bounded_vec::BoundedVec> - **/ - RmrkTraitsPartPartType: { - _enum: { - FixedPart: 'RmrkTraitsPartFixedPart', - SlotPart: 'RmrkTraitsPartSlotPart' - } - }, - /** - * Lookup306: rmrk_traits::part::FixedPart> - **/ - RmrkTraitsPartFixedPart: { - id: 'u32', - z: 'u32', - src: 'Bytes' - }, - /** - * Lookup307: rmrk_traits::part::SlotPart, sp_runtime::bounded::bounded_vec::BoundedVec> - **/ - RmrkTraitsPartSlotPart: { - id: 'u32', - equippable: 'RmrkTraitsPartEquippableList', - src: 'Bytes', - z: 'u32' - }, - /** - * Lookup308: rmrk_traits::part::EquippableList> - **/ - RmrkTraitsPartEquippableList: { - _enum: { - All: 'Null', - Empty: 'Null', - Custom: 'Vec' - } - }, - /** - * Lookup310: rmrk_traits::theme::Theme, sp_runtime::bounded::bounded_vec::BoundedVec>, S>> - **/ - RmrkTraitsTheme: { - name: 'Bytes', - properties: 'Vec', - inherit: 'bool' - }, - /** - * Lookup312: rmrk_traits::theme::ThemeProperty> - **/ - RmrkTraitsThemeThemeProperty: { - key: 'Bytes', - value: 'Bytes' - }, - /** - * Lookup314: pallet_foreing_assets::module::Call + * Lookup274: pallet_evm::pallet::Call **/ - PalletForeingAssetsModuleCall: { - _enum: { - register_foreign_asset: { - owner: 'AccountId32', - location: 'XcmVersionedMultiLocation', - metadata: 'PalletForeingAssetsModuleAssetMetadata', - }, - update_foreign_asset: { - foreignAssetId: 'u32', - location: 'XcmVersionedMultiLocation', - metadata: 'PalletForeingAssetsModuleAssetMetadata' - } - } - }, - /** - * Lookup315: pallet_evm::pallet::Call - **/ PalletEvmCall: { _enum: { withdraw: { @@ -2730,7 +2310,7 @@ } }, /** - * Lookup319: pallet_ethereum::pallet::Call + * Lookup278: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -2740,7 +2320,7 @@ } }, /** - * Lookup320: ethereum::transaction::TransactionV2 + * Lookup279: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -2750,7 +2330,7 @@ } }, /** - * Lookup321: ethereum::transaction::LegacyTransaction + * Lookup280: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: 'U256', @@ -2762,7 +2342,7 @@ signature: 'EthereumTransactionTransactionSignature' }, /** - * Lookup322: ethereum::transaction::TransactionAction + * Lookup281: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -2771,7 +2351,7 @@ } }, /** - * Lookup323: ethereum::transaction::TransactionSignature + * Lookup282: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: 'u64', @@ -2779,7 +2359,7 @@ s: 'H256' }, /** - * Lookup325: ethereum::transaction::EIP2930Transaction + * Lookup284: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: 'u64', @@ -2795,14 +2375,14 @@ s: 'H256' }, /** - * Lookup327: ethereum::transaction::AccessListItem + * Lookup286: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup328: ethereum::transaction::EIP1559Transaction + * Lookup287: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: 'u64', @@ -2819,7 +2399,7 @@ s: 'H256' }, /** - * Lookup329: pallet_evm_migration::pallet::Call + * Lookup288: pallet_evm_migration::pallet::Call **/ PalletEvmMigrationCall: { _enum: { @@ -2837,32 +2417,32 @@ } }, /** - * Lookup332: pallet_sudo::pallet::Error + * Lookup291: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup334: orml_vesting::module::Error + * Lookup293: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup335: orml_xtokens::module::Error + * Lookup294: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined'] }, /** - * Lookup338: orml_tokens::BalanceLock + * Lookup297: orml_tokens::BalanceLock **/ OrmlTokensBalanceLock: { id: '[u8;8]', amount: 'u128' }, /** - * Lookup340: orml_tokens::AccountData + * Lookup299: orml_tokens::AccountData **/ OrmlTokensAccountData: { free: 'u128', @@ -2870,20 +2450,20 @@ frozen: 'u128' }, /** - * Lookup342: orml_tokens::ReserveData + * Lookup301: orml_tokens::ReserveData **/ OrmlTokensReserveData: { id: 'Null', amount: 'u128' }, /** - * Lookup344: orml_tokens::module::Error + * Lookup303: orml_tokens::module::Error **/ OrmlTokensModuleError: { _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup346: cumulus_pallet_xcmp_queue::InboundChannelDetails + * Lookup305: cumulus_pallet_xcmp_queue::InboundChannelDetails **/ CumulusPalletXcmpQueueInboundChannelDetails: { sender: 'u32', @@ -2891,19 +2471,19 @@ messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>' }, /** - * Lookup347: cumulus_pallet_xcmp_queue::InboundState + * Lookup306: cumulus_pallet_xcmp_queue::InboundState **/ CumulusPalletXcmpQueueInboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup350: polkadot_parachain::primitives::XcmpMessageFormat + * Lookup309: polkadot_parachain::primitives::XcmpMessageFormat **/ PolkadotParachainPrimitivesXcmpMessageFormat: { _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] }, /** - * Lookup353: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup312: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -2913,13 +2493,13 @@ lastIndex: 'u16' }, /** - * Lookup354: cumulus_pallet_xcmp_queue::OutboundState + * Lookup313: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup356: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup315: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -2930,29 +2510,29 @@ xcmpMaxIndividualWeight: 'u64' }, /** - * Lookup358: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup317: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] }, /** - * Lookup359: pallet_xcm::pallet::Error + * Lookup318: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed'] }, /** - * Lookup360: cumulus_pallet_xcm::pallet::Error + * Lookup319: cumulus_pallet_xcm::pallet::Error **/ CumulusPalletXcmError: 'Null', /** - * Lookup361: cumulus_pallet_dmp_queue::ConfigData + * Lookup320: cumulus_pallet_dmp_queue::ConfigData **/ CumulusPalletDmpQueueConfigData: { maxIndividual: 'u64' }, /** - * Lookup362: cumulus_pallet_dmp_queue::PageIndexData + * Lookup321: cumulus_pallet_dmp_queue::PageIndexData **/ CumulusPalletDmpQueuePageIndexData: { beginUsed: 'u32', @@ -2960,184 +2540,19 @@ overweightCount: 'u64' }, /** - * Lookup365: cumulus_pallet_dmp_queue::pallet::Error + * Lookup324: cumulus_pallet_dmp_queue::pallet::Error **/ CumulusPalletDmpQueueError: { _enum: ['Unknown', 'OverLimit'] }, /** - * Lookup369: pallet_unique::Error + * Lookup328: pallet_unique::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup372: pallet_unique_scheduler::ScheduledV3, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> - **/ - PalletUniqueSchedulerScheduledV3: { - maybeId: 'Option<[u8;16]>', - priority: 'u8', - call: 'FrameSupportScheduleMaybeHashed', - maybePeriodic: 'Option<(u32,u32)>', - origin: 'OpalRuntimeOriginCaller' - }, - /** - * Lookup373: opal_runtime::OriginCaller - **/ - OpalRuntimeOriginCaller: { - _enum: { - system: 'FrameSupportDispatchRawOrigin', - __Unused1: 'Null', - __Unused2: 'Null', - __Unused3: 'Null', - Void: 'SpCoreVoid', - __Unused5: 'Null', - __Unused6: 'Null', - __Unused7: 'Null', - __Unused8: 'Null', - __Unused9: 'Null', - __Unused10: 'Null', - __Unused11: 'Null', - __Unused12: 'Null', - __Unused13: 'Null', - __Unused14: 'Null', - __Unused15: 'Null', - __Unused16: 'Null', - __Unused17: 'Null', - __Unused18: 'Null', - __Unused19: 'Null', - __Unused20: 'Null', - __Unused21: 'Null', - __Unused22: 'Null', - __Unused23: 'Null', - __Unused24: 'Null', - __Unused25: 'Null', - __Unused26: 'Null', - __Unused27: 'Null', - __Unused28: 'Null', - __Unused29: 'Null', - __Unused30: 'Null', - __Unused31: 'Null', - __Unused32: 'Null', - __Unused33: 'Null', - __Unused34: 'Null', - __Unused35: 'Null', - __Unused36: 'Null', - __Unused37: 'Null', - __Unused38: 'Null', - __Unused39: 'Null', - __Unused40: 'Null', - __Unused41: 'Null', - __Unused42: 'Null', - __Unused43: 'Null', - __Unused44: 'Null', - __Unused45: 'Null', - __Unused46: 'Null', - __Unused47: 'Null', - __Unused48: 'Null', - __Unused49: 'Null', - __Unused50: 'Null', - PolkadotXcm: 'PalletXcmOrigin', - CumulusXcm: 'CumulusPalletXcmOrigin', - __Unused53: 'Null', - __Unused54: 'Null', - __Unused55: 'Null', - __Unused56: 'Null', - __Unused57: 'Null', - __Unused58: 'Null', - __Unused59: 'Null', - __Unused60: 'Null', - __Unused61: 'Null', - __Unused62: 'Null', - __Unused63: 'Null', - __Unused64: 'Null', - __Unused65: 'Null', - __Unused66: 'Null', - __Unused67: 'Null', - __Unused68: 'Null', - __Unused69: 'Null', - __Unused70: 'Null', - __Unused71: 'Null', - __Unused72: 'Null', - __Unused73: 'Null', - __Unused74: 'Null', - __Unused75: 'Null', - __Unused76: 'Null', - __Unused77: 'Null', - __Unused78: 'Null', - __Unused79: 'Null', - __Unused80: 'Null', - __Unused81: 'Null', - __Unused82: 'Null', - __Unused83: 'Null', - __Unused84: 'Null', - __Unused85: 'Null', - __Unused86: 'Null', - __Unused87: 'Null', - __Unused88: 'Null', - __Unused89: 'Null', - __Unused90: 'Null', - __Unused91: 'Null', - __Unused92: 'Null', - __Unused93: 'Null', - __Unused94: 'Null', - __Unused95: 'Null', - __Unused96: 'Null', - __Unused97: 'Null', - __Unused98: 'Null', - __Unused99: 'Null', - __Unused100: 'Null', - Ethereum: 'PalletEthereumRawOrigin' - } - }, - /** - * Lookup374: frame_support::dispatch::RawOrigin - **/ - FrameSupportDispatchRawOrigin: { - _enum: { - Root: 'Null', - Signed: 'AccountId32', - None: 'Null' - } - }, - /** - * Lookup375: pallet_xcm::pallet::Origin - **/ - PalletXcmOrigin: { - _enum: { - Xcm: 'XcmV1MultiLocation', - Response: 'XcmV1MultiLocation' - } - }, - /** - * Lookup376: cumulus_pallet_xcm::pallet::Origin - **/ - CumulusPalletXcmOrigin: { - _enum: { - Relay: 'Null', - SiblingParachain: 'u32' - } - }, - /** - * Lookup377: pallet_ethereum::RawOrigin - **/ - PalletEthereumRawOrigin: { - _enum: { - EthereumTransaction: 'H160' - } - }, - /** - * Lookup378: sp_core::Void - **/ - SpCoreVoid: 'Null', - /** - * Lookup379: pallet_unique_scheduler::pallet::Error - **/ - PalletUniqueSchedulerError: { - _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange'] - }, - /** - * Lookup380: up_data_structs::Collection + * Lookup329: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -3151,7 +2566,7 @@ externalCollection: 'bool' }, /** - * Lookup381: up_data_structs::SponsorshipState + * Lookup330: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipStateAccountId32: { _enum: { @@ -3161,7 +2576,7 @@ } }, /** - * Lookup382: up_data_structs::Properties + * Lookup331: up_data_structs::Properties **/ UpDataStructsProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', @@ -3169,15 +2584,15 @@ spaceLimit: 'u32' }, /** - * Lookup383: up_data_structs::PropertiesMap> + * Lookup332: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup388: up_data_structs::PropertiesMap + * Lookup337: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup395: up_data_structs::CollectionStats + * Lookup344: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -3185,18 +2600,18 @@ alive: 'u32' }, /** - * Lookup396: up_data_structs::TokenChild + * Lookup345: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup397: PhantomType::up_data_structs + * Lookup346: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]', /** - * Lookup399: up_data_structs::TokenData> + * Lookup348: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', @@ -3204,7 +2619,7 @@ pieces: 'u128' }, /** - * Lookup401: up_data_structs::RpcCollection + * Lookup350: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -3220,7 +2635,7 @@ readOnly: 'bool' }, /** - * Lookup402: rmrk_traits::collection::CollectionInfo, sp_runtime::bounded::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> + * Lookup351: rmrk_traits::collection::CollectionInfo, sp_runtime::bounded::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> **/ RmrkTraitsCollectionCollectionInfo: { issuer: 'AccountId32', @@ -3230,7 +2645,7 @@ nftsCount: 'u32' }, /** - * Lookup403: rmrk_traits::nft::NftInfo> + * Lookup354: rmrk_traits::nft::NftInfo> **/ RmrkTraitsNftNftInfo: { owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', @@ -3240,14 +2655,23 @@ pending: 'bool' }, /** - * Lookup405: rmrk_traits::nft::RoyaltyInfo + * Lookup355: rmrk_traits::nft::AccountIdOrCollectionNftTuple **/ + RmrkTraitsNftAccountIdOrCollectionNftTuple: { + _enum: { + AccountId: 'AccountId32', + CollectionAndNftTuple: '(u32,u32)' + } + }, + /** + * Lookup357: rmrk_traits::nft::RoyaltyInfo + **/ RmrkTraitsNftRoyaltyInfo: { recipient: 'AccountId32', amount: 'Permill' }, /** - * Lookup406: rmrk_traits::resource::ResourceInfo, sp_runtime::bounded::bounded_vec::BoundedVec> + * Lookup358: rmrk_traits::resource::ResourceInfo, sp_runtime::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsResourceResourceInfo: { id: 'u32', @@ -3256,14 +2680,55 @@ pendingRemoval: 'bool' }, /** - * Lookup407: rmrk_traits::property::PropertyInfo, sp_runtime::bounded::bounded_vec::BoundedVec> + * Lookup360: rmrk_traits::resource::ResourceTypes, sp_runtime::bounded::bounded_vec::BoundedVec> + **/ + RmrkTraitsResourceResourceTypes: { + _enum: { + Basic: 'RmrkTraitsResourceBasicResource', + Composable: 'RmrkTraitsResourceComposableResource', + Slot: 'RmrkTraitsResourceSlotResource' + } + }, + /** + * Lookup361: rmrk_traits::resource::BasicResource> + **/ + RmrkTraitsResourceBasicResource: { + src: 'Option', + metadata: 'Option', + license: 'Option', + thumb: 'Option' + }, + /** + * Lookup363: rmrk_traits::resource::ComposableResource, sp_runtime::bounded::bounded_vec::BoundedVec> + **/ + RmrkTraitsResourceComposableResource: { + parts: 'Vec', + base: 'u32', + src: 'Option', + metadata: 'Option', + license: 'Option', + thumb: 'Option' + }, + /** + * Lookup364: rmrk_traits::resource::SlotResource> + **/ + RmrkTraitsResourceSlotResource: { + base: 'u32', + src: 'Option', + metadata: 'Option', + slot: 'u32', + license: 'Option', + thumb: 'Option' + }, + /** + * Lookup365: rmrk_traits::property::PropertyInfo, sp_runtime::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsPropertyPropertyInfo: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup408: rmrk_traits::base::BaseInfo> + * Lookup368: rmrk_traits::base::BaseInfo> **/ RmrkTraitsBaseBaseInfo: { issuer: 'AccountId32', @@ -3271,86 +2736,107 @@ symbol: 'Bytes' }, /** - * Lookup409: rmrk_traits::nft::NftChild + * Lookup369: rmrk_traits::part::PartType, sp_runtime::bounded::bounded_vec::BoundedVec> + **/ + RmrkTraitsPartPartType: { + _enum: { + FixedPart: 'RmrkTraitsPartFixedPart', + SlotPart: 'RmrkTraitsPartSlotPart' + } + }, + /** + * Lookup371: rmrk_traits::part::FixedPart> + **/ + RmrkTraitsPartFixedPart: { + id: 'u32', + z: 'u32', + src: 'Bytes' + }, + /** + * Lookup372: rmrk_traits::part::SlotPart, sp_runtime::bounded::bounded_vec::BoundedVec> + **/ + RmrkTraitsPartSlotPart: { + id: 'u32', + equippable: 'RmrkTraitsPartEquippableList', + src: 'Bytes', + z: 'u32' + }, + /** + * Lookup373: rmrk_traits::part::EquippableList> **/ + RmrkTraitsPartEquippableList: { + _enum: { + All: 'Null', + Empty: 'Null', + Custom: 'Vec' + } + }, + /** + * Lookup374: rmrk_traits::theme::Theme, sp_runtime::bounded::bounded_vec::BoundedVec>, S>> + **/ + RmrkTraitsTheme: { + name: 'Bytes', + properties: 'Vec', + inherit: 'bool' + }, + /** + * Lookup376: rmrk_traits::theme::ThemeProperty> + **/ + RmrkTraitsThemeThemeProperty: { + key: 'Bytes', + value: 'Bytes' + }, + /** + * Lookup378: rmrk_traits::nft::NftChild + **/ RmrkTraitsNftNftChild: { collectionId: 'u32', nftId: 'u32' }, /** - * Lookup411: pallet_common::pallet::Error + * Lookup380: pallet_common::pallet::Error **/ PalletCommonError: { _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal'] }, /** - * Lookup413: pallet_fungible::pallet::Error + * Lookup382: pallet_fungible::pallet::Error **/ PalletFungibleError: { _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup414: pallet_refungible::ItemData - **/ - PalletRefungibleItemData: { - constData: 'Bytes' - }, - /** - * Lookup419: pallet_refungible::pallet::Error - **/ - PalletRefungibleError: { - _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] - }, - /** - * Lookup420: pallet_nonfungible::ItemData> + * Lookup383: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup422: up_data_structs::PropertyScope + * Lookup385: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup424: pallet_nonfungible::pallet::Error + * Lookup389: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup425: pallet_structure::pallet::Error + * Lookup390: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound'] }, /** - * Lookup426: pallet_rmrk_core::pallet::Error - **/ - PalletRmrkCoreError: { - _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId'] - }, - /** - * Lookup428: pallet_rmrk_equip::pallet::Error - **/ - PalletRmrkEquipError: { - _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart'] - }, - /** - * Lookup429: pallet_foreing_assets::module::Error - **/ - PalletForeingAssetsModuleError: { - _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] - }, - /** - * Lookup432: pallet_evm::pallet::Error + * Lookup393: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce'] }, /** - * Lookup435: fp_rpc::TransactionStatus + * Lookup396: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -3362,11 +2848,11 @@ logsBloom: 'EthbloomBloom' }, /** - * Lookup437: ethbloom::Bloom + * Lookup398: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup439: ethereum::receipt::ReceiptV3 + * Lookup400: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -3376,7 +2862,7 @@ } }, /** - * Lookup440: ethereum::receipt::EIP658ReceiptData + * Lookup401: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -3385,7 +2871,7 @@ logs: 'Vec' }, /** - * Lookup441: ethereum::block::Block + * Lookup402: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -3393,7 +2879,7 @@ ommers: 'Vec' }, /** - * Lookup442: ethereum::header::Header + * Lookup403: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -3413,23 +2899,23 @@ nonce: 'EthereumTypesHashH64' }, /** - * Lookup443: ethereum_types::hash::H64 + * Lookup404: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup448: pallet_ethereum::pallet::Error + * Lookup409: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup449: pallet_evm_coder_substrate::pallet::Error + * Lookup410: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup450: up_data_structs::SponsorshipState> + * Lookup411: up_data_structs::SponsorshipState> **/ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: { _enum: { @@ -3439,25 +2925,25 @@ } }, /** - * Lookup451: pallet_evm_contract_helpers::SponsoringModeT + * Lookup412: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup453: pallet_evm_contract_helpers::pallet::Error + * Lookup414: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission', 'NoPendingSponsor'] }, /** - * Lookup454: pallet_evm_migration::pallet::Error + * Lookup415: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating'] }, /** - * Lookup456: sp_runtime::MultiSignature + * Lookup417: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3467,43 +2953,43 @@ } }, /** - * Lookup457: sp_core::ed25519::Signature + * Lookup418: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup459: sp_core::sr25519::Signature + * Lookup420: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup460: sp_core::ecdsa::Signature + * Lookup421: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup463: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup424: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup464: frame_system::extensions::check_genesis::CheckGenesis + * Lookup425: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup467: frame_system::extensions::check_nonce::CheckNonce + * Lookup428: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup468: frame_system::extensions::check_weight::CheckWeight + * Lookup429: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup469: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup430: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup470: opal_runtime::Runtime + * Lookup431: unique_runtime::Runtime **/ - OpalRuntimeRuntime: 'Null', + UniqueRuntimeRuntime: 'Null', /** - * Lookup471: pallet_ethereum::FakeTransactionFinalizer + * Lookup432: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null' }; --- a/tests/src/interfaces/registry.ts +++ b/tests/src/interfaces/registry.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, 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, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeignAssetsAssetIds, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -21,7 +21,6 @@ CumulusPalletXcmCall: CumulusPalletXcmCall; CumulusPalletXcmError: CumulusPalletXcmError; CumulusPalletXcmEvent: CumulusPalletXcmEvent; - CumulusPalletXcmOrigin: CumulusPalletXcmOrigin; CumulusPalletXcmpQueueCall: CumulusPalletXcmpQueueCall; CumulusPalletXcmpQueueError: CumulusPalletXcmpQueueError; CumulusPalletXcmpQueueEvent: CumulusPalletXcmpQueueEvent; @@ -51,10 +50,7 @@ EvmCoreErrorExitRevert: EvmCoreErrorExitRevert; EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed; FpRpcTransactionStatus: FpRpcTransactionStatus; - FrameSupportDispatchRawOrigin: FrameSupportDispatchRawOrigin; FrameSupportPalletId: FrameSupportPalletId; - FrameSupportScheduleLookupError: FrameSupportScheduleLookupError; - FrameSupportScheduleMaybeHashed: FrameSupportScheduleMaybeHashed; FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass; FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo; @@ -77,8 +73,6 @@ FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights; FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass; FrameSystemPhase: FrameSystemPhase; - OpalRuntimeOriginCaller: OpalRuntimeOriginCaller; - OpalRuntimeRuntime: OpalRuntimeRuntime; OrmlTokensAccountData: OrmlTokensAccountData; OrmlTokensBalanceLock: OrmlTokensBalanceLock; OrmlTokensModuleCall: OrmlTokensModuleCall; @@ -107,7 +101,6 @@ PalletEthereumError: PalletEthereumError; PalletEthereumEvent: PalletEthereumEvent; PalletEthereumFakeTransactionFinalizer: PalletEthereumFakeTransactionFinalizer; - PalletEthereumRawOrigin: PalletEthereumRawOrigin; PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr; PalletEvmCall: PalletEvmCall; PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError; @@ -117,24 +110,12 @@ PalletEvmEvent: PalletEvmEvent; PalletEvmMigrationCall: PalletEvmMigrationCall; PalletEvmMigrationError: PalletEvmMigrationError; - PalletForeingAssetsAssetIds: PalletForeingAssetsAssetIds; - PalletForeingAssetsModuleAssetMetadata: PalletForeingAssetsModuleAssetMetadata; - PalletForeingAssetsModuleCall: PalletForeingAssetsModuleCall; - PalletForeingAssetsModuleError: PalletForeingAssetsModuleError; - PalletForeingAssetsModuleEvent: PalletForeingAssetsModuleEvent; - PalletForeingAssetsNativeCurrency: PalletForeingAssetsNativeCurrency; + PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; + PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency; PalletFungibleError: PalletFungibleError; PalletInflationCall: PalletInflationCall; PalletNonfungibleError: PalletNonfungibleError; PalletNonfungibleItemData: PalletNonfungibleItemData; - PalletRefungibleError: PalletRefungibleError; - PalletRefungibleItemData: PalletRefungibleItemData; - PalletRmrkCoreCall: PalletRmrkCoreCall; - PalletRmrkCoreError: PalletRmrkCoreError; - PalletRmrkCoreEvent: PalletRmrkCoreEvent; - PalletRmrkEquipCall: PalletRmrkEquipCall; - PalletRmrkEquipError: PalletRmrkEquipError; - PalletRmrkEquipEvent: PalletRmrkEquipEvent; PalletStructureCall: PalletStructureCall; PalletStructureError: PalletStructureError; PalletStructureEvent: PalletStructureEvent; @@ -153,14 +134,9 @@ PalletUniqueCall: PalletUniqueCall; PalletUniqueError: PalletUniqueError; PalletUniqueRawEvent: PalletUniqueRawEvent; - PalletUniqueSchedulerCall: PalletUniqueSchedulerCall; - PalletUniqueSchedulerError: PalletUniqueSchedulerError; - PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent; - PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3; PalletXcmCall: PalletXcmCall; PalletXcmError: PalletXcmError; PalletXcmEvent: PalletXcmEvent; - PalletXcmOrigin: PalletXcmOrigin; PhantomTypeUpDataStructs: PhantomTypeUpDataStructs; PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage; PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; @@ -191,7 +167,6 @@ SpCoreEcdsaSignature: SpCoreEcdsaSignature; SpCoreEd25519Signature: SpCoreEd25519Signature; SpCoreSr25519Signature: SpCoreSr25519Signature; - SpCoreVoid: SpCoreVoid; SpRuntimeArithmeticError: SpRuntimeArithmeticError; SpRuntimeDigest: SpRuntimeDigest; SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem; @@ -202,6 +177,7 @@ SpRuntimeTransactionalError: SpRuntimeTransactionalError; SpTrieStorageProof: SpTrieStorageProof; SpVersionRuntimeVersion: SpVersionRuntimeVersion; + UniqueRuntimeRuntime: UniqueRuntimeRuntime; UpDataStructsAccessMode: UpDataStructsAccessMode; UpDataStructsCollection: UpDataStructsCollection; UpDataStructsCollectionLimits: UpDataStructsCollectionLimits; --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -523,38 +523,38 @@ interface OrmlTokensModuleEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; @@ -562,62 +562,62 @@ } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly free: u128; readonly reserved: u128; } & Struct; readonly isTotalIssuanceSet: boolean; readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; readonly asWithdrawn: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly freeAmount: u128; readonly reservedAmount: u128; } & Struct; readonly isDeposited: boolean; readonly asDeposited: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockSet: boolean; readonly asLockSet: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockRemoved: boolean; readonly asLockRemoved: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly who: AccountId32; } & Struct; readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved'; } - /** @name PalletForeingAssetsAssetIds (59) */ - interface PalletForeingAssetsAssetIds extends Enum { + /** @name PalletForeignAssetsAssetIds (59) */ + interface PalletForeignAssetsAssetIds extends Enum { readonly isForeignAssetId: boolean; readonly asForeignAssetId: u32; readonly isNativeAssetId: boolean; - readonly asNativeAssetId: PalletForeingAssetsNativeCurrency; + readonly asNativeAssetId: PalletForeignAssetsNativeCurrency; readonly type: 'ForeignAssetId' | 'NativeAssetId'; } - /** @name PalletForeingAssetsNativeCurrency (60) */ - interface PalletForeingAssetsNativeCurrency extends Enum { + /** @name PalletForeignAssetsNativeCurrency (60) */ + interface PalletForeignAssetsNativeCurrency extends Enum { readonly isHere: boolean; readonly isParent: boolean; readonly type: 'Here' | 'Parent'; @@ -1132,41 +1132,7 @@ readonly type: 'Substrate' | 'Ethereum'; } - /** @name PalletUniqueSchedulerEvent (92) */ - interface PalletUniqueSchedulerEvent extends Enum { - readonly isScheduled: boolean; - readonly asScheduled: { - readonly when: u32; - readonly index: u32; - } & Struct; - readonly isCanceled: boolean; - readonly asCanceled: { - readonly when: u32; - readonly index: u32; - } & Struct; - readonly isDispatched: boolean; - readonly asDispatched: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - readonly result: Result; - } & Struct; - readonly isCallLookupFailed: boolean; - readonly asCallLookupFailed: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - readonly error: FrameSupportScheduleLookupError; - } & Struct; - readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed'; - } - - /** @name FrameSupportScheduleLookupError (95) */ - interface FrameSupportScheduleLookupError extends Enum { - readonly isUnknown: boolean; - readonly isBadFormat: boolean; - readonly type: 'Unknown' | 'BadFormat'; - } - - /** @name PalletCommonEvent (96) */ + /** @name PalletCommonEvent (92) */ interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; @@ -1193,163 +1159,14 @@ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet'; } - /** @name PalletStructureEvent (99) */ + /** @name PalletStructureEvent (95) */ interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } - /** @name PalletRmrkCoreEvent (100) */ - 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 isNftSent: boolean; - readonly asNftSent: { - readonly sender: AccountId32; - readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple; - readonly collectionId: u32; - readonly nftId: u32; - readonly approvalRequired: bool; - } & Struct; - readonly isNftAccepted: boolean; - readonly asNftAccepted: { - readonly sender: AccountId32; - readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple; - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly isNftRejected: boolean; - readonly asNftRejected: { - readonly sender: AccountId32; - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly isPropertySet: boolean; - readonly asPropertySet: { - readonly collectionId: u32; - readonly maybeNftId: Option; - readonly key: Bytes; - readonly value: Bytes; - } & Struct; - readonly isResourceAdded: boolean; - readonly asResourceAdded: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceRemoval: boolean; - readonly asResourceRemoval: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceAccepted: boolean; - readonly asResourceAccepted: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isResourceRemovalAccepted: boolean; - readonly asResourceRemovalAccepted: { - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isPrioritySet: boolean; - readonly asPrioritySet: { - readonly collectionId: u32; - readonly nftId: u32; - } & Struct; - readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet'; - } - - /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (101) */ - interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { - readonly isAccountId: boolean; - readonly asAccountId: AccountId32; - readonly isCollectionAndNftTuple: boolean; - readonly asCollectionAndNftTuple: ITuple<[u32, u32]>; - readonly type: 'AccountId' | 'CollectionAndNftTuple'; - } - - /** @name PalletRmrkEquipEvent (106) */ - interface PalletRmrkEquipEvent extends Enum { - readonly isBaseCreated: boolean; - readonly asBaseCreated: { - readonly issuer: AccountId32; - readonly baseId: u32; - } & Struct; - readonly isEquippablesUpdated: boolean; - readonly asEquippablesUpdated: { - readonly baseId: u32; - readonly slotId: u32; - } & Struct; - readonly type: 'BaseCreated' | 'EquippablesUpdated'; - } - - /** @name PalletForeingAssetsModuleEvent (107) */ - interface PalletForeingAssetsModuleEvent extends Enum { - readonly isForeignAssetRegistered: boolean; - readonly asForeignAssetRegistered: { - readonly assetId: u32; - readonly assetAddress: XcmV1MultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isForeignAssetUpdated: boolean; - readonly asForeignAssetUpdated: { - readonly assetId: u32; - readonly assetAddress: XcmV1MultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetRegistered: boolean; - readonly asAssetRegistered: { - readonly assetId: PalletForeingAssetsAssetIds; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isAssetUpdated: boolean; - readonly asAssetUpdated: { - readonly assetId: PalletForeingAssetsAssetIds; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; - } - - /** @name PalletForeingAssetsModuleAssetMetadata (108) */ - interface PalletForeingAssetsModuleAssetMetadata extends Struct { - readonly name: Bytes; - readonly symbol: Bytes; - readonly decimals: u8; - readonly minimalBalance: u128; - } - - /** @name PalletEvmEvent (109) */ + /** @name PalletEvmEvent (96) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: EthereumLog; @@ -1368,21 +1185,21 @@ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw'; } - /** @name EthereumLog (110) */ + /** @name EthereumLog (97) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletEthereumEvent (114) */ + /** @name PalletEthereumEvent (101) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>; readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (115) */ + /** @name EvmCoreErrorExitReason (102) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -1395,7 +1212,7 @@ readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (116) */ + /** @name EvmCoreErrorExitSucceed (103) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -1403,7 +1220,7 @@ readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (117) */ + /** @name EvmCoreErrorExitError (104) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -1424,13 +1241,13 @@ readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (120) */ + /** @name EvmCoreErrorExitRevert (107) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (121) */ + /** @name EvmCoreErrorExitFatal (108) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -1441,7 +1258,7 @@ readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name FrameSystemPhase (122) */ + /** @name FrameSystemPhase (109) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -1450,13 +1267,13 @@ readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (124) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (112) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCall (125) */ + /** @name FrameSystemCall (114) */ interface FrameSystemCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -1498,21 +1315,21 @@ readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (130) */ + /** @name FrameSystemLimitsBlockWeights (119) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: u64; readonly maxBlock: u64; readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass; } - /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (131) */ + /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (120) */ interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (132) */ + /** @name FrameSystemLimitsWeightsPerClass (121) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: u64; readonly maxExtrinsic: Option; @@ -1520,25 +1337,25 @@ readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (134) */ + /** @name FrameSystemLimitsBlockLength (123) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportWeightsPerDispatchClassU32; } - /** @name FrameSupportWeightsPerDispatchClassU32 (135) */ + /** @name FrameSupportWeightsPerDispatchClassU32 (124) */ interface FrameSupportWeightsPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name FrameSupportWeightsRuntimeDbWeight (136) */ + /** @name FrameSupportWeightsRuntimeDbWeight (125) */ interface FrameSupportWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (137) */ + /** @name SpVersionRuntimeVersion (126) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -1550,7 +1367,7 @@ readonly stateVersion: u8; } - /** @name FrameSystemError (142) */ + /** @name FrameSystemError (131) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -1561,7 +1378,7 @@ readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; } - /** @name PolkadotPrimitivesV2PersistedValidationData (143) */ + /** @name PolkadotPrimitivesV2PersistedValidationData (132) */ interface PolkadotPrimitivesV2PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; @@ -1569,18 +1386,18 @@ readonly maxPovSize: u32; } - /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */ + /** @name PolkadotPrimitivesV2UpgradeRestriction (135) */ interface PolkadotPrimitivesV2UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name SpTrieStorageProof (147) */ + /** @name SpTrieStorageProof (136) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (138) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueSize: ITuple<[u32, u32]>; @@ -1588,7 +1405,7 @@ readonly egressChannels: Vec>; } - /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */ + /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (141) */ interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; @@ -1598,7 +1415,7 @@ readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */ + /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (142) */ interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; @@ -1611,13 +1428,13 @@ readonly validationUpgradeDelay: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (148) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemCall (160) */ + /** @name CumulusPalletParachainSystemCall (149) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1638,7 +1455,7 @@ readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade'; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (150) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { readonly validationData: PolkadotPrimitivesV2PersistedValidationData; readonly relayChainState: SpTrieStorageProof; @@ -1646,19 +1463,19 @@ readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (152) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (155) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (169) */ + /** @name CumulusPalletParachainSystemError (158) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -1671,14 +1488,14 @@ readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletBalancesBalanceLock (171) */ + /** @name PalletBalancesBalanceLock (160) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (172) */ + /** @name PalletBalancesReasons (161) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -1686,20 +1503,20 @@ readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (175) */ + /** @name PalletBalancesReserveData (164) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesReleases (177) */ + /** @name PalletBalancesReleases (166) */ interface PalletBalancesReleases extends Enum { readonly isV100: boolean; readonly isV200: boolean; readonly type: 'V100' | 'V200'; } - /** @name PalletBalancesCall (178) */ + /** @name PalletBalancesCall (167) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -1736,7 +1553,7 @@ readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve'; } - /** @name PalletBalancesError (181) */ + /** @name PalletBalancesError (170) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -1749,7 +1566,7 @@ readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves'; } - /** @name PalletTimestampCall (183) */ + /** @name PalletTimestampCall (172) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1758,14 +1575,14 @@ readonly type: 'Set'; } - /** @name PalletTransactionPaymentReleases (185) */ + /** @name PalletTransactionPaymentReleases (174) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTreasuryProposal (186) */ + /** @name PalletTreasuryProposal (175) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -1773,7 +1590,7 @@ readonly bond: u128; } - /** @name PalletTreasuryCall (189) */ + /** @name PalletTreasuryCall (178) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -1800,10 +1617,10 @@ readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval'; } - /** @name FrameSupportPalletId (192) */ + /** @name FrameSupportPalletId (181) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (193) */ + /** @name PalletTreasuryError (182) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -1813,7 +1630,7 @@ readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; } - /** @name PalletSudoCall (194) */ + /** @name PalletSudoCall (183) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -1836,7 +1653,7 @@ readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; } - /** @name OrmlVestingModuleCall (196) */ + /** @name OrmlVestingModuleCall (185) */ interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; @@ -1856,11 +1673,11 @@ readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor'; } - /** @name OrmlXtokensModuleCall (198) */ + /** @name OrmlXtokensModuleCall (187) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; readonly dest: XcmVersionedMultiLocation; readonly destWeight: u64; @@ -1873,7 +1690,7 @@ } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: u128; readonly fee: u128; readonly dest: XcmVersionedMultiLocation; @@ -1888,7 +1705,7 @@ } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; readonly dest: XcmVersionedMultiLocation; readonly destWeight: u64; @@ -1903,7 +1720,7 @@ readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name XcmVersionedMultiAsset (199) */ + /** @name XcmVersionedMultiAsset (188) */ interface XcmVersionedMultiAsset extends Enum { readonly isV0: boolean; readonly asV0: XcmV0MultiAsset; @@ -1912,44 +1729,44 @@ readonly type: 'V0' | 'V1'; } - /** @name OrmlTokensModuleCall (202) */ + /** @name OrmlTokensModuleCall (191) */ interface OrmlTokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isTransferAll: boolean; readonly asTransferAll: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly keepAlive: bool; } & Struct; readonly isTransferKeepAlive: boolean; readonly asTransferKeepAlive: { readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; readonly dest: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly amount: Compact; } & Struct; readonly isSetBalance: boolean; readonly asSetBalance: { readonly who: MultiAddress; - readonly currencyId: PalletForeingAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetIds; readonly newFree: Compact; readonly newReserved: Compact; } & Struct; readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance'; } - /** @name CumulusPalletXcmpQueueCall (203) */ + /** @name CumulusPalletXcmpQueueCall (192) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { @@ -1985,7 +1802,7 @@ readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; } - /** @name PalletXcmCall (204) */ + /** @name PalletXcmCall (193) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -2047,7 +1864,7 @@ readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets'; } - /** @name XcmVersionedXcm (205) */ + /** @name XcmVersionedXcm (194) */ interface XcmVersionedXcm extends Enum { readonly isV0: boolean; readonly asV0: XcmV0Xcm; @@ -2058,7 +1875,7 @@ readonly type: 'V0' | 'V1' | 'V2'; } - /** @name XcmV0Xcm (206) */ + /** @name XcmV0Xcm (195) */ interface XcmV0Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -2121,7 +1938,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom'; } - /** @name XcmV0Order (208) */ + /** @name XcmV0Order (197) */ interface XcmV0Order extends Enum { readonly isNull: boolean; readonly isDepositAsset: boolean; @@ -2169,14 +1986,14 @@ readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV0Response (210) */ + /** @name XcmV0Response (199) */ interface XcmV0Response extends Enum { readonly isAssets: boolean; readonly asAssets: Vec; readonly type: 'Assets'; } - /** @name XcmV1Xcm (211) */ + /** @name XcmV1Xcm (200) */ interface XcmV1Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -2245,7 +2062,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name XcmV1Order (213) */ + /** @name XcmV1Order (202) */ interface XcmV1Order extends Enum { readonly isNoop: boolean; readonly isDepositAsset: boolean; @@ -2295,7 +2112,7 @@ readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV1Response (215) */ + /** @name XcmV1Response (204) */ interface XcmV1Response extends Enum { readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; @@ -2304,10 +2121,10 @@ readonly type: 'Assets' | 'Version'; } - /** @name CumulusPalletXcmCall (229) */ + /** @name CumulusPalletXcmCall (219) */ type CumulusPalletXcmCall = Null; - /** @name CumulusPalletDmpQueueCall (230) */ + /** @name CumulusPalletDmpQueueCall (220) */ interface CumulusPalletDmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { @@ -2317,7 +2134,7 @@ readonly type: 'ServiceOverweight'; } - /** @name PalletInflationCall (231) */ + /** @name PalletInflationCall (221) */ interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { @@ -2326,7 +2143,7 @@ readonly type: 'StartInflation'; } - /** @name PalletUniqueCall (232) */ + /** @name PalletUniqueCall (222) */ interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { @@ -2484,7 +2301,7 @@ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition'; } - /** @name UpDataStructsCollectionMode (237) */ + /** @name UpDataStructsCollectionMode (227) */ interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; @@ -2493,7 +2310,7 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateCollectionData (238) */ + /** @name UpDataStructsCreateCollectionData (228) */ interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; @@ -2507,14 +2324,14 @@ readonly properties: Vec; } - /** @name UpDataStructsAccessMode (240) */ + /** @name UpDataStructsAccessMode (230) */ interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } - /** @name UpDataStructsCollectionLimits (242) */ + /** @name UpDataStructsCollectionLimits (232) */ interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; @@ -2527,7 +2344,7 @@ readonly transfersEnabled: Option; } - /** @name UpDataStructsSponsoringRateLimit (244) */ + /** @name UpDataStructsSponsoringRateLimit (234) */ interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; @@ -2535,43 +2352,43 @@ readonly type: 'SponsoringDisabled' | 'Blocks'; } - /** @name UpDataStructsCollectionPermissions (247) */ + /** @name UpDataStructsCollectionPermissions (237) */ interface UpDataStructsCollectionPermissions extends Struct { readonly access: Option; readonly mintMode: Option; readonly nesting: Option; } - /** @name UpDataStructsNestingPermissions (249) */ + /** @name UpDataStructsNestingPermissions (239) */ interface UpDataStructsNestingPermissions extends Struct { readonly tokenOwner: bool; readonly collectionAdmin: bool; readonly restricted: Option; } - /** @name UpDataStructsOwnerRestrictedSet (251) */ + /** @name UpDataStructsOwnerRestrictedSet (241) */ interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} - /** @name UpDataStructsPropertyKeyPermission (256) */ + /** @name UpDataStructsPropertyKeyPermission (246) */ interface UpDataStructsPropertyKeyPermission extends Struct { readonly key: Bytes; readonly permission: UpDataStructsPropertyPermission; } - /** @name UpDataStructsPropertyPermission (257) */ + /** @name UpDataStructsPropertyPermission (247) */ interface UpDataStructsPropertyPermission extends Struct { readonly mutable: bool; readonly collectionAdmin: bool; readonly tokenOwner: bool; } - /** @name UpDataStructsProperty (260) */ + /** @name UpDataStructsProperty (250) */ interface UpDataStructsProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name UpDataStructsCreateItemData (263) */ + /** @name UpDataStructsCreateItemData (253) */ interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; @@ -2582,23 +2399,23 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateNftData (264) */ + /** @name UpDataStructsCreateNftData (254) */ interface UpDataStructsCreateNftData extends Struct { readonly properties: Vec; } - /** @name UpDataStructsCreateFungibleData (265) */ + /** @name UpDataStructsCreateFungibleData (255) */ interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } - /** @name UpDataStructsCreateReFungibleData (266) */ + /** @name UpDataStructsCreateReFungibleData (256) */ interface UpDataStructsCreateReFungibleData extends Struct { readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateItemExData (269) */ + /** @name UpDataStructsCreateItemExData (259) */ interface UpDataStructsCreateItemExData extends Enum { readonly isNft: boolean; readonly asNft: Vec; @@ -2611,60 +2428,26 @@ readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners'; } - /** @name UpDataStructsCreateNftExData (271) */ + /** @name UpDataStructsCreateNftExData (261) */ interface UpDataStructsCreateNftExData extends Struct { readonly properties: Vec; readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */ + /** @name UpDataStructsCreateRefungibleExSingleOwner (268) */ interface UpDataStructsCreateRefungibleExSingleOwner extends Struct { readonly user: PalletEvmAccountBasicCrossAccountIdRepr; readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */ + /** @name UpDataStructsCreateRefungibleExMultipleOwners (270) */ interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct { readonly users: BTreeMap; readonly properties: Vec; } - /** @name PalletUniqueSchedulerCall (281) */ - interface PalletUniqueSchedulerCall extends Enum { - readonly isScheduleNamed: boolean; - readonly asScheduleNamed: { - readonly id: U8aFixed; - readonly when: u32; - readonly maybePeriodic: Option>; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - } & Struct; - readonly isCancelNamed: boolean; - readonly asCancelNamed: { - readonly id: U8aFixed; - } & Struct; - readonly isScheduleNamedAfter: boolean; - readonly asScheduleNamedAfter: { - readonly id: U8aFixed; - readonly after: u32; - readonly maybePeriodic: Option>; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - } & Struct; - readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter'; - } - - /** @name FrameSupportScheduleMaybeHashed (283) */ - interface FrameSupportScheduleMaybeHashed extends Enum { - readonly isValue: boolean; - readonly asValue: Call; - readonly isHash: boolean; - readonly asHash: H256; - readonly type: 'Value' | 'Hash'; - } - - /** @name PalletConfigurationCall (284) */ + /** @name PalletConfigurationCall (271) */ interface PalletConfigurationCall extends Enum { readonly isSetWeightToFeeCoefficientOverride: boolean; readonly asSetWeightToFeeCoefficientOverride: { @@ -2677,243 +2460,13 @@ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride'; } - /** @name PalletTemplateTransactionPaymentCall (285) */ + /** @name PalletTemplateTransactionPaymentCall (272) */ type PalletTemplateTransactionPaymentCall = Null; - /** @name PalletStructureCall (286) */ + /** @name PalletStructureCall (273) */ type PalletStructureCall = Null; - /** @name PalletRmrkCoreCall (287) */ - interface PalletRmrkCoreCall extends Enum { - readonly isCreateCollection: boolean; - readonly asCreateCollection: { - readonly metadata: Bytes; - readonly max: Option; - 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: Option; - readonly collectionId: u32; - readonly recipient: Option; - readonly royaltyAmount: Option; - readonly metadata: Bytes; - readonly transferable: bool; - readonly resources: Option>; - } & Struct; - readonly isBurnNft: boolean; - readonly asBurnNft: { - readonly collectionId: u32; - readonly nftId: u32; - readonly maxBurns: u32; - } & Struct; - readonly isSend: boolean; - readonly asSend: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple; - } & Struct; - readonly isAcceptNft: boolean; - readonly asAcceptNft: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple; - } & Struct; - readonly isRejectNft: boolean; - readonly asRejectNft: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - } & Struct; - readonly isAcceptResource: boolean; - readonly asAcceptResource: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isAcceptResourceRemoval: boolean; - readonly asAcceptResourceRemoval: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly resourceId: u32; - } & Struct; - readonly isSetProperty: boolean; - readonly asSetProperty: { - readonly rmrkCollectionId: Compact; - readonly maybeNftId: Option; - readonly key: Bytes; - readonly value: Bytes; - } & Struct; - readonly isSetPriority: boolean; - readonly asSetPriority: { - readonly rmrkCollectionId: u32; - readonly rmrkNftId: u32; - readonly priorities: Vec; - } & Struct; - readonly isAddBasicResource: boolean; - readonly asAddBasicResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceBasicResource; - } & Struct; - readonly isAddComposableResource: boolean; - readonly asAddComposableResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceComposableResource; - } & Struct; - readonly isAddSlotResource: boolean; - readonly asAddSlotResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resource: RmrkTraitsResourceSlotResource; - } & Struct; - readonly isRemoveResource: boolean; - readonly asRemoveResource: { - readonly rmrkCollectionId: u32; - readonly nftId: u32; - readonly resourceId: u32; - } & Struct; - readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource'; - } - - /** @name RmrkTraitsResourceResourceTypes (293) */ - interface RmrkTraitsResourceResourceTypes extends Enum { - readonly isBasic: boolean; - readonly asBasic: RmrkTraitsResourceBasicResource; - readonly isComposable: boolean; - readonly asComposable: RmrkTraitsResourceComposableResource; - readonly isSlot: boolean; - readonly asSlot: RmrkTraitsResourceSlotResource; - readonly type: 'Basic' | 'Composable' | 'Slot'; - } - - /** @name RmrkTraitsResourceBasicResource (295) */ - interface RmrkTraitsResourceBasicResource extends Struct { - readonly src: Option; - readonly metadata: Option; - readonly license: Option; - readonly thumb: Option; - } - - /** @name RmrkTraitsResourceComposableResource (297) */ - interface RmrkTraitsResourceComposableResource extends Struct { - readonly parts: Vec; - readonly base: u32; - readonly src: Option; - readonly metadata: Option; - readonly license: Option; - readonly thumb: Option; - } - - /** @name RmrkTraitsResourceSlotResource (298) */ - interface RmrkTraitsResourceSlotResource extends Struct { - readonly base: u32; - readonly src: Option; - readonly metadata: Option; - readonly slot: u32; - readonly license: Option; - readonly thumb: Option; - } - - /** @name PalletRmrkEquipCall (301) */ - interface PalletRmrkEquipCall extends Enum { - readonly isCreateBase: boolean; - readonly asCreateBase: { - readonly baseType: Bytes; - readonly symbol: Bytes; - readonly parts: Vec; - } & Struct; - readonly isThemeAdd: boolean; - readonly asThemeAdd: { - readonly baseId: u32; - readonly theme: RmrkTraitsTheme; - } & Struct; - readonly isEquippable: boolean; - readonly asEquippable: { - readonly baseId: u32; - readonly slotId: u32; - readonly equippables: RmrkTraitsPartEquippableList; - } & Struct; - readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable'; - } - - /** @name RmrkTraitsPartPartType (304) */ - interface RmrkTraitsPartPartType extends Enum { - readonly isFixedPart: boolean; - readonly asFixedPart: RmrkTraitsPartFixedPart; - readonly isSlotPart: boolean; - readonly asSlotPart: RmrkTraitsPartSlotPart; - readonly type: 'FixedPart' | 'SlotPart'; - } - - /** @name RmrkTraitsPartFixedPart (306) */ - interface RmrkTraitsPartFixedPart extends Struct { - readonly id: u32; - readonly z: u32; - readonly src: Bytes; - } - - /** @name RmrkTraitsPartSlotPart (307) */ - interface RmrkTraitsPartSlotPart extends Struct { - readonly id: u32; - readonly equippable: RmrkTraitsPartEquippableList; - readonly src: Bytes; - readonly z: u32; - } - - /** @name RmrkTraitsPartEquippableList (308) */ - interface RmrkTraitsPartEquippableList extends Enum { - readonly isAll: boolean; - readonly isEmpty: boolean; - readonly isCustom: boolean; - readonly asCustom: Vec; - readonly type: 'All' | 'Empty' | 'Custom'; - } - - /** @name RmrkTraitsTheme (310) */ - interface RmrkTraitsTheme extends Struct { - readonly name: Bytes; - readonly properties: Vec; - readonly inherit: bool; - } - - /** @name RmrkTraitsThemeThemeProperty (312) */ - interface RmrkTraitsThemeThemeProperty extends Struct { - readonly key: Bytes; - readonly value: Bytes; - } - - /** @name PalletForeingAssetsModuleCall (314) */ - interface PalletForeingAssetsModuleCall extends Enum { - readonly isRegisterForeignAsset: boolean; - readonly asRegisterForeignAsset: { - readonly owner: AccountId32; - readonly location: XcmVersionedMultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly isUpdateForeignAsset: boolean; - readonly asUpdateForeignAsset: { - readonly foreignAssetId: u32; - readonly location: XcmVersionedMultiLocation; - readonly metadata: PalletForeingAssetsModuleAssetMetadata; - } & Struct; - readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; - } - - /** @name PalletEvmCall (315) */ + /** @name PalletEvmCall (274) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -2958,7 +2511,7 @@ readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2'; } - /** @name PalletEthereumCall (319) */ + /** @name PalletEthereumCall (278) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -2967,7 +2520,7 @@ readonly type: 'Transact'; } - /** @name EthereumTransactionTransactionV2 (320) */ + /** @name EthereumTransactionTransactionV2 (279) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -2978,7 +2531,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumTransactionLegacyTransaction (321) */ + /** @name EthereumTransactionLegacyTransaction (280) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -2989,7 +2542,7 @@ readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (322) */ + /** @name EthereumTransactionTransactionAction (281) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -2997,14 +2550,14 @@ readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionTransactionSignature (323) */ + /** @name EthereumTransactionTransactionSignature (282) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (325) */ + /** @name EthereumTransactionEip2930Transaction (284) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3019,13 +2572,13 @@ readonly s: H256; } - /** @name EthereumTransactionAccessListItem (327) */ + /** @name EthereumTransactionAccessListItem (286) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (328) */ + /** @name EthereumTransactionEip1559Transaction (287) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3041,7 +2594,7 @@ readonly s: H256; } - /** @name PalletEvmMigrationCall (329) */ + /** @name PalletEvmMigrationCall (288) */ interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { @@ -3060,13 +2613,13 @@ readonly type: 'Begin' | 'SetData' | 'Finish'; } - /** @name PalletSudoError (332) */ + /** @name PalletSudoError (291) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name OrmlVestingModuleError (334) */ + /** @name OrmlVestingModuleError (293) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -3077,7 +2630,7 @@ readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name OrmlXtokensModuleError (335) */ + /** @name OrmlXtokensModuleError (294) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -3101,26 +2654,26 @@ readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined'; } - /** @name OrmlTokensBalanceLock (338) */ + /** @name OrmlTokensBalanceLock (297) */ interface OrmlTokensBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OrmlTokensAccountData (340) */ + /** @name OrmlTokensAccountData (299) */ interface OrmlTokensAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; } - /** @name OrmlTokensReserveData (342) */ + /** @name OrmlTokensReserveData (301) */ interface OrmlTokensReserveData extends Struct { readonly id: Null; readonly amount: u128; } - /** @name OrmlTokensModuleError (344) */ + /** @name OrmlTokensModuleError (303) */ interface OrmlTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isAmountIntoBalanceFailed: boolean; @@ -3133,21 +2686,21 @@ readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (346) */ + /** @name CumulusPalletXcmpQueueInboundChannelDetails (305) */ interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; readonly messageMetadata: Vec>; } - /** @name CumulusPalletXcmpQueueInboundState (347) */ + /** @name CumulusPalletXcmpQueueInboundState (306) */ interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name PolkadotParachainPrimitivesXcmpMessageFormat (350) */ + /** @name PolkadotParachainPrimitivesXcmpMessageFormat (309) */ interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; @@ -3155,7 +2708,7 @@ readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (353) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (312) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -3164,14 +2717,14 @@ readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (354) */ + /** @name CumulusPalletXcmpQueueOutboundState (313) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (356) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (315) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; @@ -3181,7 +2734,7 @@ readonly xcmpMaxIndividualWeight: u64; } - /** @name CumulusPalletXcmpQueueError (358) */ + /** @name CumulusPalletXcmpQueueError (317) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; @@ -3191,7 +2744,7 @@ readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; } - /** @name PalletXcmError (359) */ + /** @name PalletXcmError (318) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -3209,29 +2762,29 @@ readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed'; } - /** @name CumulusPalletXcmError (360) */ + /** @name CumulusPalletXcmError (319) */ type CumulusPalletXcmError = Null; - /** @name CumulusPalletDmpQueueConfigData (361) */ + /** @name CumulusPalletDmpQueueConfigData (320) */ interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: u64; } - /** @name CumulusPalletDmpQueuePageIndexData (362) */ + /** @name CumulusPalletDmpQueuePageIndexData (321) */ interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } - /** @name CumulusPalletDmpQueueError (365) */ + /** @name CumulusPalletDmpQueueError (324) */ interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } - /** @name PalletUniqueError (369) */ + /** @name PalletUniqueError (328) */ interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isConfirmUnsetSponsorFail: boolean; @@ -3240,75 +2793,7 @@ readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletUniqueSchedulerScheduledV3 (372) */ - interface PalletUniqueSchedulerScheduledV3 extends Struct { - readonly maybeId: Option; - readonly priority: u8; - readonly call: FrameSupportScheduleMaybeHashed; - readonly maybePeriodic: Option>; - readonly origin: OpalRuntimeOriginCaller; - } - - /** @name OpalRuntimeOriginCaller (373) */ - interface OpalRuntimeOriginCaller extends Enum { - readonly isSystem: boolean; - readonly asSystem: FrameSupportDispatchRawOrigin; - readonly isVoid: boolean; - readonly isPolkadotXcm: boolean; - readonly asPolkadotXcm: PalletXcmOrigin; - readonly isCumulusXcm: boolean; - readonly asCumulusXcm: CumulusPalletXcmOrigin; - readonly isEthereum: boolean; - readonly asEthereum: PalletEthereumRawOrigin; - readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum'; - } - - /** @name FrameSupportDispatchRawOrigin (374) */ - interface FrameSupportDispatchRawOrigin extends Enum { - readonly isRoot: boolean; - readonly isSigned: boolean; - readonly asSigned: AccountId32; - readonly isNone: boolean; - readonly type: 'Root' | 'Signed' | 'None'; - } - - /** @name PalletXcmOrigin (375) */ - interface PalletXcmOrigin extends Enum { - readonly isXcm: boolean; - readonly asXcm: XcmV1MultiLocation; - readonly isResponse: boolean; - readonly asResponse: XcmV1MultiLocation; - readonly type: 'Xcm' | 'Response'; - } - - /** @name CumulusPalletXcmOrigin (376) */ - interface CumulusPalletXcmOrigin extends Enum { - readonly isRelay: boolean; - readonly isSiblingParachain: boolean; - readonly asSiblingParachain: u32; - readonly type: 'Relay' | 'SiblingParachain'; - } - - /** @name PalletEthereumRawOrigin (377) */ - interface PalletEthereumRawOrigin extends Enum { - readonly isEthereumTransaction: boolean; - readonly asEthereumTransaction: H160; - readonly type: 'EthereumTransaction'; - } - - /** @name SpCoreVoid (378) */ - type SpCoreVoid = Null; - - /** @name PalletUniqueSchedulerError (379) */ - interface PalletUniqueSchedulerError extends Enum { - readonly isFailedToSchedule: boolean; - readonly isNotFound: boolean; - readonly isTargetBlockNumberInPast: boolean; - readonly isRescheduleNoChange: boolean; - readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange'; - } - - /** @name UpDataStructsCollection (380) */ + /** @name UpDataStructsCollection (329) */ interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -3321,7 +2806,7 @@ readonly externalCollection: bool; } - /** @name UpDataStructsSponsorshipStateAccountId32 (381) */ + /** @name UpDataStructsSponsorshipStateAccountId32 (330) */ interface UpDataStructsSponsorshipStateAccountId32 extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -3331,43 +2816,43 @@ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (382) */ + /** @name UpDataStructsProperties (331) */ interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly spaceLimit: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (383) */ + /** @name UpDataStructsPropertiesMapBoundedVec (332) */ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (388) */ + /** @name UpDataStructsPropertiesMapPropertyPermission (337) */ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (395) */ + /** @name UpDataStructsCollectionStats (344) */ interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (396) */ + /** @name UpDataStructsTokenChild (345) */ interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (397) */ + /** @name PhantomTypeUpDataStructs (346) */ interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (399) */ + /** @name UpDataStructsTokenData (348) */ interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; readonly pieces: u128; } - /** @name UpDataStructsRpcCollection (401) */ + /** @name UpDataStructsRpcCollection (350) */ interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -3382,7 +2867,7 @@ readonly readOnly: bool; } - /** @name RmrkTraitsCollectionCollectionInfo (402) */ + /** @name RmrkTraitsCollectionCollectionInfo (351) */ interface RmrkTraitsCollectionCollectionInfo extends Struct { readonly issuer: AccountId32; readonly metadata: Bytes; @@ -3391,7 +2876,7 @@ readonly nftsCount: u32; } - /** @name RmrkTraitsNftNftInfo (403) */ + /** @name RmrkTraitsNftNftInfo (354) */ interface RmrkTraitsNftNftInfo extends Struct { readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple; readonly royalty: Option; @@ -3400,13 +2885,22 @@ readonly pending: bool; } - /** @name RmrkTraitsNftRoyaltyInfo (405) */ + /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (355) */ + interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum { + readonly isAccountId: boolean; + readonly asAccountId: AccountId32; + readonly isCollectionAndNftTuple: boolean; + readonly asCollectionAndNftTuple: ITuple<[u32, u32]>; + readonly type: 'AccountId' | 'CollectionAndNftTuple'; + } + + /** @name RmrkTraitsNftRoyaltyInfo (357) */ interface RmrkTraitsNftRoyaltyInfo extends Struct { readonly recipient: AccountId32; readonly amount: Permill; } - /** @name RmrkTraitsResourceResourceInfo (406) */ + /** @name RmrkTraitsResourceResourceInfo (358) */ interface RmrkTraitsResourceResourceInfo extends Struct { readonly id: u32; readonly resource: RmrkTraitsResourceResourceTypes; @@ -3414,26 +2908,111 @@ readonly pendingRemoval: bool; } - /** @name RmrkTraitsPropertyPropertyInfo (407) */ + /** @name RmrkTraitsResourceResourceTypes (360) */ + interface RmrkTraitsResourceResourceTypes extends Enum { + readonly isBasic: boolean; + readonly asBasic: RmrkTraitsResourceBasicResource; + readonly isComposable: boolean; + readonly asComposable: RmrkTraitsResourceComposableResource; + readonly isSlot: boolean; + readonly asSlot: RmrkTraitsResourceSlotResource; + readonly type: 'Basic' | 'Composable' | 'Slot'; + } + + /** @name RmrkTraitsResourceBasicResource (361) */ + interface RmrkTraitsResourceBasicResource extends Struct { + readonly src: Option; + readonly metadata: Option; + readonly license: Option; + readonly thumb: Option; + } + + /** @name RmrkTraitsResourceComposableResource (363) */ + interface RmrkTraitsResourceComposableResource extends Struct { + readonly parts: Vec; + readonly base: u32; + readonly src: Option; + readonly metadata: Option; + readonly license: Option; + readonly thumb: Option; + } + + /** @name RmrkTraitsResourceSlotResource (364) */ + interface RmrkTraitsResourceSlotResource extends Struct { + readonly base: u32; + readonly src: Option; + readonly metadata: Option; + readonly slot: u32; + readonly license: Option; + readonly thumb: Option; + } + + /** @name RmrkTraitsPropertyPropertyInfo (365) */ interface RmrkTraitsPropertyPropertyInfo extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name RmrkTraitsBaseBaseInfo (408) */ + /** @name RmrkTraitsBaseBaseInfo (368) */ interface RmrkTraitsBaseBaseInfo extends Struct { readonly issuer: AccountId32; readonly baseType: Bytes; readonly symbol: Bytes; } - /** @name RmrkTraitsNftNftChild (409) */ + /** @name RmrkTraitsPartPartType (369) */ + interface RmrkTraitsPartPartType extends Enum { + readonly isFixedPart: boolean; + readonly asFixedPart: RmrkTraitsPartFixedPart; + readonly isSlotPart: boolean; + readonly asSlotPart: RmrkTraitsPartSlotPart; + readonly type: 'FixedPart' | 'SlotPart'; + } + + /** @name RmrkTraitsPartFixedPart (371) */ + interface RmrkTraitsPartFixedPart extends Struct { + readonly id: u32; + readonly z: u32; + readonly src: Bytes; + } + + /** @name RmrkTraitsPartSlotPart (372) */ + interface RmrkTraitsPartSlotPart extends Struct { + readonly id: u32; + readonly equippable: RmrkTraitsPartEquippableList; + readonly src: Bytes; + readonly z: u32; + } + + /** @name RmrkTraitsPartEquippableList (373) */ + interface RmrkTraitsPartEquippableList extends Enum { + readonly isAll: boolean; + readonly isEmpty: boolean; + readonly isCustom: boolean; + readonly asCustom: Vec; + readonly type: 'All' | 'Empty' | 'Custom'; + } + + /** @name RmrkTraitsTheme (374) */ + interface RmrkTraitsTheme extends Struct { + readonly name: Bytes; + readonly properties: Vec; + readonly inherit: bool; + } + + /** @name RmrkTraitsThemeThemeProperty (376) */ + interface RmrkTraitsThemeThemeProperty extends Struct { + readonly key: Bytes; + readonly value: Bytes; + } + + /** @name RmrkTraitsNftNftChild (378) */ interface RmrkTraitsNftNftChild extends Struct { readonly collectionId: u32; readonly nftId: u32; } - /** @name PalletCommonError (411) */ + /** @name PalletCommonError (380) */ interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -3472,7 +3051,7 @@ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal'; } - /** @name PalletFungibleError (413) */ + /** @name PalletFungibleError (382) */ interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsHaveNoId: boolean; @@ -3480,36 +3059,21 @@ readonly isFungibleDisallowsNesting: boolean; readonly isSettingPropertiesNotAllowed: boolean; readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; - } - - /** @name PalletRefungibleItemData (414) */ - interface PalletRefungibleItemData extends Struct { - readonly constData: Bytes; } - /** @name PalletRefungibleError (419) */ - interface PalletRefungibleError extends Enum { - readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly isWrongRefungiblePieces: boolean; - readonly isRepartitionWhileNotOwningAllPieces: boolean; - readonly isRefungibleDisallowsNesting: boolean; - readonly isSettingPropertiesNotAllowed: boolean; - readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; - } - - /** @name PalletNonfungibleItemData (420) */ + /** @name PalletNonfungibleItemData (383) */ interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (422) */ + /** @name UpDataStructsPropertyScope (385) */ interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (424) */ + /** @name PalletNonfungibleError (389) */ interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; @@ -3517,7 +3081,7 @@ readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (425) */ + /** @name PalletStructureError (390) */ interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; @@ -3526,52 +3090,7 @@ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound'; } - /** @name PalletRmrkCoreError (426) */ - interface PalletRmrkCoreError extends Enum { - readonly isCorruptedCollectionType: boolean; - readonly isRmrkPropertyKeyIsTooLong: boolean; - readonly isRmrkPropertyValueIsTooLong: boolean; - readonly isRmrkPropertyIsNotFound: boolean; - readonly isUnableToDecodeRmrkData: boolean; - readonly isCollectionNotEmpty: boolean; - readonly isNoAvailableCollectionId: boolean; - readonly isNoAvailableNftId: boolean; - readonly isCollectionUnknown: boolean; - readonly isNoPermission: boolean; - readonly isNonTransferable: boolean; - readonly isCollectionFullOrLocked: boolean; - readonly isResourceDoesntExist: boolean; - readonly isCannotSendToDescendentOrSelf: boolean; - readonly isCannotAcceptNonOwnedNft: boolean; - readonly isCannotRejectNonOwnedNft: boolean; - readonly isCannotRejectNonPendingNft: boolean; - readonly isResourceNotPending: boolean; - readonly isNoAvailableResourceId: boolean; - readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId'; - } - - /** @name PalletRmrkEquipError (428) */ - interface PalletRmrkEquipError extends Enum { - readonly isPermissionError: boolean; - readonly isNoAvailableBaseId: boolean; - readonly isNoAvailablePartId: boolean; - readonly isBaseDoesntExist: boolean; - readonly isNeedsDefaultThemeFirst: boolean; - readonly isPartDoesntExist: boolean; - readonly isNoEquippableOnFixedPart: boolean; - readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart'; - } - - /** @name PalletForeingAssetsModuleError (429) */ - interface PalletForeingAssetsModuleError extends Enum { - readonly isBadLocation: boolean; - readonly isMultiLocationExisted: boolean; - readonly isAssetIdNotExists: boolean; - readonly isAssetIdExisted: boolean; - readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; - } - - /** @name PalletEvmError (432) */ + /** @name PalletEvmError (393) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -3582,7 +3101,7 @@ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce'; } - /** @name FpRpcTransactionStatus (435) */ + /** @name FpRpcTransactionStatus (396) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -3593,10 +3112,10 @@ readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (437) */ + /** @name EthbloomBloom (398) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (439) */ + /** @name EthereumReceiptReceiptV3 (400) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -3607,7 +3126,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (440) */ + /** @name EthereumReceiptEip658ReceiptData (401) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -3615,14 +3134,14 @@ readonly logs: Vec; } - /** @name EthereumBlock (441) */ + /** @name EthereumBlock (402) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (442) */ + /** @name EthereumHeader (403) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -3641,24 +3160,24 @@ readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (443) */ + /** @name EthereumTypesHashH64 (404) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (448) */ + /** @name PalletEthereumError (409) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (449) */ + /** @name PalletEvmCoderSubstrateError (410) */ interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (450) */ + /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (411) */ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -3668,7 +3187,7 @@ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name PalletEvmContractHelpersSponsoringModeT (451) */ + /** @name PalletEvmContractHelpersSponsoringModeT (412) */ interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -3676,21 +3195,21 @@ readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (453) */ + /** @name PalletEvmContractHelpersError (414) */ interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly isNoPendingSponsor: boolean; readonly type: 'NoPermission' | 'NoPendingSponsor'; } - /** @name PalletEvmMigrationError (454) */ + /** @name PalletEvmMigrationError (415) */ interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating'; } - /** @name SpRuntimeMultiSignature (456) */ + /** @name SpRuntimeMultiSignature (417) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -3701,34 +3220,34 @@ readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (457) */ + /** @name SpCoreEd25519Signature (418) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (459) */ + /** @name SpCoreSr25519Signature (420) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (460) */ + /** @name SpCoreEcdsaSignature (421) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name FrameSystemExtensionsCheckSpecVersion (463) */ + /** @name FrameSystemExtensionsCheckSpecVersion (424) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (464) */ + /** @name FrameSystemExtensionsCheckGenesis (425) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (467) */ + /** @name FrameSystemExtensionsCheckNonce (428) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (468) */ + /** @name FrameSystemExtensionsCheckWeight (429) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (469) */ + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (430) */ interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name OpalRuntimeRuntime (470) */ - type OpalRuntimeRuntime = Null; + /** @name UniqueRuntimeRuntime (431) */ + type UniqueRuntimeRuntime = Null; - /** @name PalletEthereumFakeTransactionFinalizer (471) */ + /** @name PalletEthereumFakeTransactionFinalizer (432) */ type PalletEthereumFakeTransactionFinalizer = Null; } // declare module -- gitstuff