difftreelog
Merge pull request #383 from UniqueNetwork/test/nesting-admin
in: master
11 files changed
pallets/common/src/benchmarking.rsdiffbeforeafterboth96 permissions: Some(CollectionPermissions {96 permissions: Some(CollectionPermissions {97 nesting: Some(NestingPermissions {97 nesting: Some(NestingPermissions {98 token_owner: false,98 token_owner: false,99 admin: false,99 collection_admin: false,100 restricted: None,100 restricted: None,101 permissive: true,101 permissive: true,102 }),102 }),pallets/nonfungible/src/lib.rsdiffbeforeafterboth1008 nesting_budget,1008 nesting_budget,1009 )? {1009 )? {1010 // Pass1010 // Pass1011 } else if nesting.admin && handle.is_owner_or_admin(&sender) {1011 } else if nesting.collection_admin && handle.is_owner_or_admin(&sender) {1012 // Pass1012 // Pass1013 } else {1013 } else {1014 fail!(<CommonError<T>>::UserIsNotAllowedToNest);1014 fail!(<CommonError<T>>::UserIsNotAllowedToNest);pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth199 permissions: Some(CollectionPermissions {199 permissions: Some(CollectionPermissions {200 nesting: Some(NestingPermissions {200 nesting: Some(NestingPermissions {201 token_owner: true,201 token_owner: true,202 admin: false,202 collection_admin: false,203 restricted: None,203 restricted: None,204204205 permissive: false,205 permissive: false,primitives/data-structs/src/lib.rsdiffbeforeafterboth447 pub fn nesting(&self) -> &NestingPermissions {447 pub fn nesting(&self) -> &NestingPermissions {448 static DEFAULT: NestingPermissions = NestingPermissions {448 static DEFAULT: NestingPermissions = NestingPermissions {449 token_owner: false,449 token_owner: false,450 admin: false,450 collection_admin: false,451 restricted: None,451 restricted: None,452452453 permissive: false,453 permissive: false,490 /// Owner of token can nest tokens under it490 /// Owner of token can nest tokens under it491 pub token_owner: bool,491 pub token_owner: bool,492 /// Admin of token collection can nest tokens under token492 /// Admin of token collection can nest tokens under token493 pub admin: bool,493 pub collection_admin: bool,494 /// If set - only tokens from specified collections can be nested494 /// If set - only tokens from specified collections can be nested495 pub restricted: Option<OwnerRestrictedSet>,495 pub restricted: Option<OwnerRestrictedSet>,496496tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth458 ResourceNotPending: AugmentedError<ApiType>;458 ResourceNotPending: AugmentedError<ApiType>;459 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;459 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;460 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;460 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;461 UnableToDecodeRmrkData: AugmentedError<ApiType>;461 /**462 /**462 * Generic error463 * Generic error463 **/464 **/tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth417 };417 };418 rmrkCore: {418 rmrkCore: {419 collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;419 collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;420 rmrkInernalCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;421 uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;420 uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;422 /**421 /**423 * Generic query422 * Generic querytests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth5import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';9910declare module '@polkadot/api-base/types/submittable' {10declare module '@polkadot/api-base/types/submittable' {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {373 /**373 /**374 * Create composable resource374 * Create composable resource375 **/375 **/376 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, RmrkTraitsResourceComposableResource]>;376 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<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;377 /**377 /**378 * Create slot resource378 * Create slot resource379 **/379 **/380 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;380 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;381 /**381 /**382 * burn nft382 * burn nft383 **/383 **/384 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;384 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;385 /**385 /**386 * Change the issuer of a collection386 * Change the issuer of a collection387 * 387 * 415 * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash415 * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash416 * - `transferable`: Ability to transfer this NFT416 * - `transferable`: Ability to transfer this NFT417 **/417 **/418 mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool]>;418 mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;419 /**419 /**420 * Rejects an NFT sent from another account to self or owned NFT420 * Rejects an NFT sent from another account to self or owned NFT421 * 421 * tests/src/interfaces/default/types.tsdiffbeforeafterboth1214 readonly royaltyAmount: Option<Permill>;1214 readonly royaltyAmount: Option<Permill>;1215 readonly metadata: Bytes;1215 readonly metadata: Bytes;1216 readonly transferable: bool;1216 readonly transferable: bool;1217 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1217 } & Struct;1218 } & Struct;1218 readonly isBurnNft: boolean;1219 readonly isBurnNft: boolean;1219 readonly asBurnNft: {1220 readonly asBurnNft: {1220 readonly collectionId: u32;1221 readonly collectionId: u32;1221 readonly nftId: u32;1222 readonly nftId: u32;1223 readonly maxBurns: u32;1222 } & Struct;1224 } & Struct;1223 readonly isSend: boolean;1225 readonly isSend: boolean;1224 readonly asSend: {1226 readonly asSend: {1272 readonly asAddComposableResource: {1274 readonly asAddComposableResource: {1273 readonly rmrkCollectionId: u32;1275 readonly rmrkCollectionId: u32;1274 readonly nftId: u32;1276 readonly nftId: u32;1275 readonly resourceId: Bytes;1276 readonly resource: RmrkTraitsResourceComposableResource;1277 readonly resource: RmrkTraitsResourceComposableResource;1277 } & Struct;1278 } & Struct;1278 readonly isAddSlotResource: boolean;1279 readonly isAddSlotResource: boolean;1296 readonly isNftTypeEncodeError: boolean;1297 readonly isNftTypeEncodeError: boolean;1297 readonly isRmrkPropertyKeyIsTooLong: boolean;1298 readonly isRmrkPropertyKeyIsTooLong: boolean;1298 readonly isRmrkPropertyValueIsTooLong: boolean;1299 readonly isRmrkPropertyValueIsTooLong: boolean;1300 readonly isUnableToDecodeRmrkData: boolean;1299 readonly isCollectionNotEmpty: boolean;1301 readonly isCollectionNotEmpty: boolean;1300 readonly isNoAvailableCollectionId: boolean;1302 readonly isNoAvailableCollectionId: boolean;1301 readonly isNoAvailableNftId: boolean;1303 readonly isNoAvailableNftId: boolean;1308 readonly isCannotAcceptNonOwnedNft: boolean;1310 readonly isCannotAcceptNonOwnedNft: boolean;1309 readonly isCannotRejectNonOwnedNft: boolean;1311 readonly isCannotRejectNonOwnedNft: boolean;1310 readonly isResourceNotPending: boolean;1312 readonly isResourceNotPending: boolean;1311 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';1313 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';1312}1314}131313151314/** @name PalletRmrkCoreEvent */1316/** @name PalletRmrkCoreEvent */2427/** @name UpDataStructsNestingPermissions */2429/** @name UpDataStructsNestingPermissions */2428export interface UpDataStructsNestingPermissions extends Struct {2430export interface UpDataStructsNestingPermissions extends Struct {2429 readonly tokenOwner: bool;2431 readonly tokenOwner: bool;2430 readonly admin: bool;2432 readonly collectionAdmin: bool;2431 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2433 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2432 readonly permissive: bool;2434 readonly permissive: bool;2433}2435}tests/src/interfaces/lookup.tsdiffbeforeafterboth1432 **/1432 **/1433 UpDataStructsNestingPermissions: {1433 UpDataStructsNestingPermissions: {1434 tokenOwner: 'bool',1434 tokenOwner: 'bool',1435 admin: 'bool',1435 collectionAdmin: 'bool',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1437 permissive: 'bool'1437 permissive: 'bool'1438 },1438 },1593 royaltyAmount: 'Option<Permill>',1593 royaltyAmount: 'Option<Permill>',1594 metadata: 'Bytes',1594 metadata: 'Bytes',1595 transferable: 'bool',1595 transferable: 'bool',1596 resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',1596 },1597 },1597 burn_nft: {1598 burn_nft: {1598 collectionId: 'u32',1599 collectionId: 'u32',1599 nftId: 'u32',1600 nftId: 'u32',1601 maxBurns: 'u32',1600 },1602 },1601 send: {1603 send: {1602 rmrkCollectionId: 'u32',1604 rmrkCollectionId: 'u32',1641 add_composable_resource: {1643 add_composable_resource: {1642 rmrkCollectionId: 'u32',1644 rmrkCollectionId: 'u32',1643 nftId: 'u32',1645 nftId: 'u32',1644 resourceId: 'Bytes',1645 resource: 'RmrkTraitsResourceComposableResource',1646 resource: 'RmrkTraitsResourceComposableResource',1646 },1647 },1647 add_slot_resource: {1648 add_slot_resource: {1656 }1657 }1657 }1658 }1658 },1659 },1659 /**1660 /**1660 * Lookup215: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1661 * Lookup217: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1661 **/1662 **/1662 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1663 RmrkTraitsResourceResourceTypes: {1663 _enum: {1664 _enum: {1664 AccountId: 'AccountId32',1665 Basic: 'RmrkTraitsResourceBasicResource',1666 Composable: 'RmrkTraitsResourceComposableResource',1665 CollectionAndNftTuple: '(u32,u32)'1667 Slot: 'RmrkTraitsResourceSlotResource'1666 }1668 }1667 },1669 },1668 /**1670 /**1674 license: 'Option<Bytes>',1676 license: 'Option<Bytes>',1675 thumb: 'Option<Bytes>'1677 thumb: 'Option<Bytes>'1676 },1678 },1677 /**1679 /**1678 * Lookup222: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1680 * Lookup221: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1679 **/1681 **/1680 RmrkTraitsResourceComposableResource: {1682 RmrkTraitsResourceComposableResource: {1681 parts: 'Vec<u32>',1683 parts: 'Vec<u32>',1682 base: 'u32',1684 base: 'u32',1685 license: 'Option<Bytes>',1687 license: 'Option<Bytes>',1686 thumb: 'Option<Bytes>'1688 thumb: 'Option<Bytes>'1687 },1689 },1688 /**1690 /**1689 * Lookup224: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1691 * Lookup222: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1690 **/1692 **/1691 RmrkTraitsResourceSlotResource: {1693 RmrkTraitsResourceSlotResource: {1692 base: 'u32',1694 base: 'u32',1693 src: 'Option<Bytes>',1695 src: 'Option<Bytes>',1696 license: 'Option<Bytes>',1698 license: 'Option<Bytes>',1697 thumb: 'Option<Bytes>'1699 thumb: 'Option<Bytes>'1698 },1700 },1701 /**1702 * Lookup224: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1703 **/1704 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1705 _enum: {1706 AccountId: 'AccountId32',1707 CollectionAndNftTuple: '(u32,u32)'1708 }1709 },1699 /**1710 /**1700 * Lookup225: pallet_rmrk_equip::pallet::Call<T>1711 * Lookup228: pallet_rmrk_equip::pallet::Call<T>1701 **/1712 **/1702 PalletRmrkEquipCall: {1713 PalletRmrkEquipCall: {1703 _enum: {1714 _enum: {1704 create_base: {1715 create_base: {1712 }1723 }1713 }1724 }1714 },1725 },1715 /**1726 /**1716 * Lookup227: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1727 * Lookup230: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1717 **/1728 **/1718 RmrkTraitsPartPartType: {1729 RmrkTraitsPartPartType: {1719 _enum: {1730 _enum: {1720 FixedPart: 'RmrkTraitsPartFixedPart',1731 FixedPart: 'RmrkTraitsPartFixedPart',1721 SlotPart: 'RmrkTraitsPartSlotPart'1732 SlotPart: 'RmrkTraitsPartSlotPart'1722 }1733 }1723 },1734 },1724 /**1735 /**1725 * Lookup229: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1736 * Lookup232: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1726 **/1737 **/1727 RmrkTraitsPartFixedPart: {1738 RmrkTraitsPartFixedPart: {1728 id: 'u32',1739 id: 'u32',1729 z: 'u32',1740 z: 'u32',1730 src: 'Bytes'1741 src: 'Bytes'1731 },1742 },1732 /**1743 /**1733 * Lookup230: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1744 * Lookup233: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1734 **/1745 **/1735 RmrkTraitsPartSlotPart: {1746 RmrkTraitsPartSlotPart: {1736 id: 'u32',1747 id: 'u32',1737 equippable: 'RmrkTraitsPartEquippableList',1748 equippable: 'RmrkTraitsPartEquippableList',1738 src: 'Bytes',1749 src: 'Bytes',1739 z: 'u32'1750 z: 'u32'1740 },1751 },1741 /**1752 /**1742 * Lookup231: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1753 * Lookup234: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1743 **/1754 **/1744 RmrkTraitsPartEquippableList: {1755 RmrkTraitsPartEquippableList: {1745 _enum: {1756 _enum: {1746 All: 'Null',1757 All: 'Null',1747 Empty: 'Null',1758 Empty: 'Null',1748 Custom: 'Vec<u32>'1759 Custom: 'Vec<u32>'1749 }1760 }1750 },1761 },1751 /**1762 /**1752 * Lookup233: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1763 * Lookup236: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1753 **/1764 **/1754 RmrkTraitsTheme: {1765 RmrkTraitsTheme: {1755 name: 'Bytes',1766 name: 'Bytes',1756 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1767 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1757 inherit: 'bool'1768 inherit: 'bool'1758 },1769 },1759 /**1770 /**1760 * Lookup235: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1771 * Lookup238: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1761 **/1772 **/1762 RmrkTraitsThemeThemeProperty: {1773 RmrkTraitsThemeThemeProperty: {1763 key: 'Bytes',1774 key: 'Bytes',1764 value: 'Bytes'1775 value: 'Bytes'1765 },1776 },1766 /**1777 /**1767 * Lookup236: pallet_evm::pallet::Call<T>1778 * Lookup239: pallet_evm::pallet::Call<T>1768 **/1779 **/1769 PalletEvmCall: {1780 PalletEvmCall: {1770 _enum: {1781 _enum: {1771 withdraw: {1782 withdraw: {1806 }1817 }1807 }1818 }1808 },1819 },1809 /**1820 /**1810 * Lookup242: pallet_ethereum::pallet::Call<T>1821 * Lookup245: pallet_ethereum::pallet::Call<T>1811 **/1822 **/1812 PalletEthereumCall: {1823 PalletEthereumCall: {1813 _enum: {1824 _enum: {1814 transact: {1825 transact: {1815 transaction: 'EthereumTransactionTransactionV2'1826 transaction: 'EthereumTransactionTransactionV2'1816 }1827 }1817 }1828 }1818 },1829 },1819 /**1830 /**1820 * Lookup243: ethereum::transaction::TransactionV21831 * Lookup246: ethereum::transaction::TransactionV21821 **/1832 **/1822 EthereumTransactionTransactionV2: {1833 EthereumTransactionTransactionV2: {1823 _enum: {1834 _enum: {1824 Legacy: 'EthereumTransactionLegacyTransaction',1835 Legacy: 'EthereumTransactionLegacyTransaction',1825 EIP2930: 'EthereumTransactionEip2930Transaction',1836 EIP2930: 'EthereumTransactionEip2930Transaction',1826 EIP1559: 'EthereumTransactionEip1559Transaction'1837 EIP1559: 'EthereumTransactionEip1559Transaction'1827 }1838 }1828 },1839 },1829 /**1840 /**1830 * Lookup244: ethereum::transaction::LegacyTransaction1841 * Lookup247: ethereum::transaction::LegacyTransaction1831 **/1842 **/1832 EthereumTransactionLegacyTransaction: {1843 EthereumTransactionLegacyTransaction: {1833 nonce: 'U256',1844 nonce: 'U256',1834 gasPrice: 'U256',1845 gasPrice: 'U256',1838 input: 'Bytes',1849 input: 'Bytes',1839 signature: 'EthereumTransactionTransactionSignature'1850 signature: 'EthereumTransactionTransactionSignature'1840 },1851 },1841 /**1852 /**1842 * Lookup245: ethereum::transaction::TransactionAction1853 * Lookup248: ethereum::transaction::TransactionAction1843 **/1854 **/1844 EthereumTransactionTransactionAction: {1855 EthereumTransactionTransactionAction: {1845 _enum: {1856 _enum: {1846 Call: 'H160',1857 Call: 'H160',1847 Create: 'Null'1858 Create: 'Null'1848 }1859 }1849 },1860 },1850 /**1861 /**1851 * Lookup246: ethereum::transaction::TransactionSignature1862 * Lookup249: ethereum::transaction::TransactionSignature1852 **/1863 **/1853 EthereumTransactionTransactionSignature: {1864 EthereumTransactionTransactionSignature: {1854 v: 'u64',1865 v: 'u64',1855 r: 'H256',1866 r: 'H256',1856 s: 'H256'1867 s: 'H256'1857 },1868 },1858 /**1869 /**1859 * Lookup248: ethereum::transaction::EIP2930Transaction1870 * Lookup251: ethereum::transaction::EIP2930Transaction1860 **/1871 **/1861 EthereumTransactionEip2930Transaction: {1872 EthereumTransactionEip2930Transaction: {1862 chainId: 'u64',1873 chainId: 'u64',1863 nonce: 'U256',1874 nonce: 'U256',1871 r: 'H256',1882 r: 'H256',1872 s: 'H256'1883 s: 'H256'1873 },1884 },1874 /**1885 /**1875 * Lookup250: ethereum::transaction::AccessListItem1886 * Lookup253: ethereum::transaction::AccessListItem1876 **/1887 **/1877 EthereumTransactionAccessListItem: {1888 EthereumTransactionAccessListItem: {1878 address: 'H160',1889 address: 'H160',1879 storageKeys: 'Vec<H256>'1890 storageKeys: 'Vec<H256>'1880 },1891 },1881 /**1892 /**1882 * Lookup251: ethereum::transaction::EIP1559Transaction1893 * Lookup254: ethereum::transaction::EIP1559Transaction1883 **/1894 **/1884 EthereumTransactionEip1559Transaction: {1895 EthereumTransactionEip1559Transaction: {1885 chainId: 'u64',1896 chainId: 'u64',1886 nonce: 'U256',1897 nonce: 'U256',1895 r: 'H256',1906 r: 'H256',1896 s: 'H256'1907 s: 'H256'1897 },1908 },1898 /**1909 /**1899 * Lookup252: pallet_evm_migration::pallet::Call<T>1910 * Lookup255: pallet_evm_migration::pallet::Call<T>1900 **/1911 **/1901 PalletEvmMigrationCall: {1912 PalletEvmMigrationCall: {1902 _enum: {1913 _enum: {1903 begin: {1914 begin: {1913 }1924 }1914 }1925 }1915 },1926 },1916 /**1927 /**1917 * Lookup255: pallet_sudo::pallet::Event<T>1928 * Lookup258: pallet_sudo::pallet::Event<T>1918 **/1929 **/1919 PalletSudoEvent: {1930 PalletSudoEvent: {1920 _enum: {1931 _enum: {1921 Sudid: {1932 Sudid: {1929 }1940 }1930 }1941 }1931 },1942 },1932 /**1943 /**1933 * Lookup257: sp_runtime::DispatchError1944 * Lookup260: sp_runtime::DispatchError1934 **/1945 **/1935 SpRuntimeDispatchError: {1946 SpRuntimeDispatchError: {1936 _enum: {1947 _enum: {1937 Other: 'Null',1948 Other: 'Null',1946 Transactional: 'SpRuntimeTransactionalError'1957 Transactional: 'SpRuntimeTransactionalError'1947 }1958 }1948 },1959 },1949 /**1960 /**1950 * Lookup258: sp_runtime::ModuleError1961 * Lookup261: sp_runtime::ModuleError1951 **/1962 **/1952 SpRuntimeModuleError: {1963 SpRuntimeModuleError: {1953 index: 'u8',1964 index: 'u8',1954 error: '[u8;4]'1965 error: '[u8;4]'1955 },1966 },1956 /**1967 /**1957 * Lookup259: sp_runtime::TokenError1968 * Lookup262: sp_runtime::TokenError1958 **/1969 **/1959 SpRuntimeTokenError: {1970 SpRuntimeTokenError: {1960 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1971 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1961 },1972 },1962 /**1973 /**1963 * Lookup260: sp_runtime::ArithmeticError1974 * Lookup263: sp_runtime::ArithmeticError1964 **/1975 **/1965 SpRuntimeArithmeticError: {1976 SpRuntimeArithmeticError: {1966 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1977 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1967 },1978 },1968 /**1979 /**1969 * Lookup261: sp_runtime::TransactionalError1980 * Lookup264: sp_runtime::TransactionalError1970 **/1981 **/1971 SpRuntimeTransactionalError: {1982 SpRuntimeTransactionalError: {1972 _enum: ['LimitReached', 'NoLayer']1983 _enum: ['LimitReached', 'NoLayer']1973 },1984 },1974 /**1985 /**1975 * Lookup262: pallet_sudo::pallet::Error<T>1986 * Lookup265: pallet_sudo::pallet::Error<T>1976 **/1987 **/1977 PalletSudoError: {1988 PalletSudoError: {1978 _enum: ['RequireSudo']1989 _enum: ['RequireSudo']1979 },1990 },1980 /**1991 /**1981 * Lookup263: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1992 * Lookup266: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1982 **/1993 **/1983 FrameSystemAccountInfo: {1994 FrameSystemAccountInfo: {1984 nonce: 'u32',1995 nonce: 'u32',1985 consumers: 'u32',1996 consumers: 'u32',1986 providers: 'u32',1997 providers: 'u32',1987 sufficients: 'u32',1998 sufficients: 'u32',1988 data: 'PalletBalancesAccountData'1999 data: 'PalletBalancesAccountData'1989 },2000 },1990 /**2001 /**1991 * Lookup264: frame_support::weights::PerDispatchClass<T>2002 * Lookup267: frame_support::weights::PerDispatchClass<T>1992 **/2003 **/1993 FrameSupportWeightsPerDispatchClassU64: {2004 FrameSupportWeightsPerDispatchClassU64: {1994 normal: 'u64',2005 normal: 'u64',1995 operational: 'u64',2006 operational: 'u64',1996 mandatory: 'u64'2007 mandatory: 'u64'1997 },2008 },1998 /**2009 /**1999 * Lookup265: sp_runtime::generic::digest::Digest2010 * Lookup268: sp_runtime::generic::digest::Digest2000 **/2011 **/2001 SpRuntimeDigest: {2012 SpRuntimeDigest: {2002 logs: 'Vec<SpRuntimeDigestDigestItem>'2013 logs: 'Vec<SpRuntimeDigestDigestItem>'2003 },2014 },2004 /**2015 /**2005 * Lookup267: sp_runtime::generic::digest::DigestItem2016 * Lookup270: sp_runtime::generic::digest::DigestItem2006 **/2017 **/2007 SpRuntimeDigestDigestItem: {2018 SpRuntimeDigestDigestItem: {2008 _enum: {2019 _enum: {2009 Other: 'Bytes',2020 Other: 'Bytes',2017 RuntimeEnvironmentUpdated: 'Null'2028 RuntimeEnvironmentUpdated: 'Null'2018 }2029 }2019 },2030 },2020 /**2031 /**2021 * Lookup269: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2032 * Lookup272: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2022 **/2033 **/2023 FrameSystemEventRecord: {2034 FrameSystemEventRecord: {2024 phase: 'FrameSystemPhase',2035 phase: 'FrameSystemPhase',2025 event: 'Event',2036 event: 'Event',2026 topics: 'Vec<H256>'2037 topics: 'Vec<H256>'2027 },2038 },2028 /**2039 /**2029 * Lookup271: frame_system::pallet::Event<T>2040 * Lookup274: frame_system::pallet::Event<T>2030 **/2041 **/2031 FrameSystemEvent: {2042 FrameSystemEvent: {2032 _enum: {2043 _enum: {2033 ExtrinsicSuccess: {2044 ExtrinsicSuccess: {2053 }2064 }2054 }2065 }2055 },2066 },2056 /**2067 /**2057 * Lookup272: frame_support::weights::DispatchInfo2068 * Lookup275: frame_support::weights::DispatchInfo2058 **/2069 **/2059 FrameSupportWeightsDispatchInfo: {2070 FrameSupportWeightsDispatchInfo: {2060 weight: 'u64',2071 weight: 'u64',2061 class: 'FrameSupportWeightsDispatchClass',2072 class: 'FrameSupportWeightsDispatchClass',2062 paysFee: 'FrameSupportWeightsPays'2073 paysFee: 'FrameSupportWeightsPays'2063 },2074 },2064 /**2075 /**2065 * Lookup273: frame_support::weights::DispatchClass2076 * Lookup276: frame_support::weights::DispatchClass2066 **/2077 **/2067 FrameSupportWeightsDispatchClass: {2078 FrameSupportWeightsDispatchClass: {2068 _enum: ['Normal', 'Operational', 'Mandatory']2079 _enum: ['Normal', 'Operational', 'Mandatory']2069 },2080 },2070 /**2081 /**2071 * Lookup274: frame_support::weights::Pays2082 * Lookup277: frame_support::weights::Pays2072 **/2083 **/2073 FrameSupportWeightsPays: {2084 FrameSupportWeightsPays: {2074 _enum: ['Yes', 'No']2085 _enum: ['Yes', 'No']2075 },2086 },2076 /**2087 /**2077 * Lookup275: orml_vesting::module::Event<T>2088 * Lookup278: orml_vesting::module::Event<T>2078 **/2089 **/2079 OrmlVestingModuleEvent: {2090 OrmlVestingModuleEvent: {2080 _enum: {2091 _enum: {2081 VestingScheduleAdded: {2092 VestingScheduleAdded: {2092 }2103 }2093 }2104 }2094 },2105 },2095 /**2106 /**2096 * Lookup276: cumulus_pallet_xcmp_queue::pallet::Event<T>2107 * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event<T>2097 **/2108 **/2098 CumulusPalletXcmpQueueEvent: {2109 CumulusPalletXcmpQueueEvent: {2099 _enum: {2110 _enum: {2100 Success: 'Option<H256>',2111 Success: 'Option<H256>',2107 OverweightServiced: '(u64,u64)'2118 OverweightServiced: '(u64,u64)'2108 }2119 }2109 },2120 },2110 /**2121 /**2111 * Lookup277: pallet_xcm::pallet::Event<T>2122 * Lookup280: pallet_xcm::pallet::Event<T>2112 **/2123 **/2113 PalletXcmEvent: {2124 PalletXcmEvent: {2114 _enum: {2125 _enum: {2115 Attempted: 'XcmV2TraitsOutcome',2126 Attempted: 'XcmV2TraitsOutcome',2130 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2141 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2131 }2142 }2132 },2143 },2133 /**2144 /**2134 * Lookup278: xcm::v2::traits::Outcome2145 * Lookup281: xcm::v2::traits::Outcome2135 **/2146 **/2136 XcmV2TraitsOutcome: {2147 XcmV2TraitsOutcome: {2137 _enum: {2148 _enum: {2138 Complete: 'u64',2149 Complete: 'u64',2139 Incomplete: '(u64,XcmV2TraitsError)',2150 Incomplete: '(u64,XcmV2TraitsError)',2140 Error: 'XcmV2TraitsError'2151 Error: 'XcmV2TraitsError'2141 }2152 }2142 },2153 },2143 /**2154 /**2144 * Lookup280: cumulus_pallet_xcm::pallet::Event<T>2155 * Lookup283: cumulus_pallet_xcm::pallet::Event<T>2145 **/2156 **/2146 CumulusPalletXcmEvent: {2157 CumulusPalletXcmEvent: {2147 _enum: {2158 _enum: {2148 InvalidFormat: '[u8;8]',2159 InvalidFormat: '[u8;8]',2149 UnsupportedVersion: '[u8;8]',2160 UnsupportedVersion: '[u8;8]',2150 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2161 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2151 }2162 }2152 },2163 },2153 /**2164 /**2154 * Lookup281: cumulus_pallet_dmp_queue::pallet::Event<T>2165 * Lookup284: cumulus_pallet_dmp_queue::pallet::Event<T>2155 **/2166 **/2156 CumulusPalletDmpQueueEvent: {2167 CumulusPalletDmpQueueEvent: {2157 _enum: {2168 _enum: {2158 InvalidFormat: '[u8;32]',2169 InvalidFormat: '[u8;32]',2163 OverweightServiced: '(u64,u64)'2174 OverweightServiced: '(u64,u64)'2164 }2175 }2165 },2176 },2166 /**2177 /**2167 * Lookup282: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2178 * Lookup285: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2168 **/2179 **/2169 PalletUniqueRawEvent: {2180 PalletUniqueRawEvent: {2170 _enum: {2181 _enum: {2171 CollectionSponsorRemoved: 'u32',2182 CollectionSponsorRemoved: 'u32',2180 CollectionPermissionSet: 'u32'2191 CollectionPermissionSet: 'u32'2181 }2192 }2182 },2193 },2183 /**2194 /**2184 * Lookup283: pallet_unique_scheduler::pallet::Event<T>2195 * Lookup286: pallet_unique_scheduler::pallet::Event<T>2185 **/2196 **/2186 PalletUniqueSchedulerEvent: {2197 PalletUniqueSchedulerEvent: {2187 _enum: {2198 _enum: {2188 Scheduled: {2199 Scheduled: {2205 }2216 }2206 }2217 }2207 },2218 },2208 /**2219 /**2209 * Lookup285: frame_support::traits::schedule::LookupError2220 * Lookup288: frame_support::traits::schedule::LookupError2210 **/2221 **/2211 FrameSupportScheduleLookupError: {2222 FrameSupportScheduleLookupError: {2212 _enum: ['Unknown', 'BadFormat']2223 _enum: ['Unknown', 'BadFormat']2213 },2224 },2214 /**2225 /**2215 * Lookup286: pallet_common::pallet::Event<T>2226 * Lookup289: pallet_common::pallet::Event<T>2216 **/2227 **/2217 PalletCommonEvent: {2228 PalletCommonEvent: {2218 _enum: {2229 _enum: {2219 CollectionCreated: '(u32,u8,AccountId32)',2230 CollectionCreated: '(u32,u8,AccountId32)',2229 PropertyPermissionSet: '(u32,Bytes)'2240 PropertyPermissionSet: '(u32,Bytes)'2230 }2241 }2231 },2242 },2232 /**2243 /**2233 * Lookup287: pallet_structure::pallet::Event<T>2244 * Lookup290: pallet_structure::pallet::Event<T>2234 **/2245 **/2235 PalletStructureEvent: {2246 PalletStructureEvent: {2236 _enum: {2247 _enum: {2237 Executed: 'Result<Null, SpRuntimeDispatchError>'2248 Executed: 'Result<Null, SpRuntimeDispatchError>'2238 }2249 }2239 },2250 },2240 /**2251 /**2241 * Lookup288: pallet_rmrk_core::pallet::Event<T>2252 * Lookup291: pallet_rmrk_core::pallet::Event<T>2242 **/2253 **/2243 PalletRmrkCoreEvent: {2254 PalletRmrkCoreEvent: {2244 _enum: {2255 _enum: {2245 CollectionCreated: {2256 CollectionCreated: {2314 }2325 }2315 }2326 }2316 },2327 },2317 /**2328 /**2318 * Lookup289: pallet_rmrk_equip::pallet::Event<T>2329 * Lookup292: pallet_rmrk_equip::pallet::Event<T>2319 **/2330 **/2320 PalletRmrkEquipEvent: {2331 PalletRmrkEquipEvent: {2321 _enum: {2332 _enum: {2322 BaseCreated: {2333 BaseCreated: {2325 }2336 }2326 }2337 }2327 },2338 },2328 /**2339 /**2329 * Lookup290: pallet_evm::pallet::Event<T>2340 * Lookup293: pallet_evm::pallet::Event<T>2330 **/2341 **/2331 PalletEvmEvent: {2342 PalletEvmEvent: {2332 _enum: {2343 _enum: {2333 Log: 'EthereumLog',2344 Log: 'EthereumLog',2339 BalanceWithdraw: '(AccountId32,H160,U256)'2350 BalanceWithdraw: '(AccountId32,H160,U256)'2340 }2351 }2341 },2352 },2342 /**2353 /**2343 * Lookup291: ethereum::log::Log2354 * Lookup294: ethereum::log::Log2344 **/2355 **/2345 EthereumLog: {2356 EthereumLog: {2346 address: 'H160',2357 address: 'H160',2347 topics: 'Vec<H256>',2358 topics: 'Vec<H256>',2348 data: 'Bytes'2359 data: 'Bytes'2349 },2360 },2350 /**2361 /**2351 * Lookup292: pallet_ethereum::pallet::Event2362 * Lookup295: pallet_ethereum::pallet::Event2352 **/2363 **/2353 PalletEthereumEvent: {2364 PalletEthereumEvent: {2354 _enum: {2365 _enum: {2355 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2366 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2356 }2367 }2357 },2368 },2358 /**2369 /**2359 * Lookup293: evm_core::error::ExitReason2370 * Lookup296: evm_core::error::ExitReason2360 **/2371 **/2361 EvmCoreErrorExitReason: {2372 EvmCoreErrorExitReason: {2362 _enum: {2373 _enum: {2363 Succeed: 'EvmCoreErrorExitSucceed',2374 Succeed: 'EvmCoreErrorExitSucceed',2366 Fatal: 'EvmCoreErrorExitFatal'2377 Fatal: 'EvmCoreErrorExitFatal'2367 }2378 }2368 },2379 },2369 /**2380 /**2370 * Lookup294: evm_core::error::ExitSucceed2381 * Lookup297: evm_core::error::ExitSucceed2371 **/2382 **/2372 EvmCoreErrorExitSucceed: {2383 EvmCoreErrorExitSucceed: {2373 _enum: ['Stopped', 'Returned', 'Suicided']2384 _enum: ['Stopped', 'Returned', 'Suicided']2374 },2385 },2375 /**2386 /**2376 * Lookup295: evm_core::error::ExitError2387 * Lookup298: evm_core::error::ExitError2377 **/2388 **/2378 EvmCoreErrorExitError: {2389 EvmCoreErrorExitError: {2379 _enum: {2390 _enum: {2380 StackUnderflow: 'Null',2391 StackUnderflow: 'Null',2394 InvalidCode: 'Null'2405 InvalidCode: 'Null'2395 }2406 }2396 },2407 },2397 /**2408 /**2398 * Lookup298: evm_core::error::ExitRevert2409 * Lookup301: evm_core::error::ExitRevert2399 **/2410 **/2400 EvmCoreErrorExitRevert: {2411 EvmCoreErrorExitRevert: {2401 _enum: ['Reverted']2412 _enum: ['Reverted']2402 },2413 },2403 /**2414 /**2404 * Lookup299: evm_core::error::ExitFatal2415 * Lookup302: evm_core::error::ExitFatal2405 **/2416 **/2406 EvmCoreErrorExitFatal: {2417 EvmCoreErrorExitFatal: {2407 _enum: {2418 _enum: {2408 NotSupported: 'Null',2419 NotSupported: 'Null',2411 Other: 'Text'2422 Other: 'Text'2412 }2423 }2413 },2424 },2414 /**2425 /**2415 * Lookup300: frame_system::Phase2426 * Lookup303: frame_system::Phase2416 **/2427 **/2417 FrameSystemPhase: {2428 FrameSystemPhase: {2418 _enum: {2429 _enum: {2419 ApplyExtrinsic: 'u32',2430 ApplyExtrinsic: 'u32',2420 Finalization: 'Null',2431 Finalization: 'Null',2421 Initialization: 'Null'2432 Initialization: 'Null'2422 }2433 }2423 },2434 },2424 /**2435 /**2425 * Lookup302: frame_system::LastRuntimeUpgradeInfo2436 * Lookup305: frame_system::LastRuntimeUpgradeInfo2426 **/2437 **/2427 FrameSystemLastRuntimeUpgradeInfo: {2438 FrameSystemLastRuntimeUpgradeInfo: {2428 specVersion: 'Compact<u32>',2439 specVersion: 'Compact<u32>',2429 specName: 'Text'2440 specName: 'Text'2430 },2441 },2431 /**2442 /**2432 * Lookup303: frame_system::limits::BlockWeights2443 * Lookup306: frame_system::limits::BlockWeights2433 **/2444 **/2434 FrameSystemLimitsBlockWeights: {2445 FrameSystemLimitsBlockWeights: {2435 baseBlock: 'u64',2446 baseBlock: 'u64',2436 maxBlock: 'u64',2447 maxBlock: 'u64',2437 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2448 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2438 },2449 },2439 /**2450 /**2440 * Lookup304: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2451 * Lookup307: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2441 **/2452 **/2442 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2453 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2443 normal: 'FrameSystemLimitsWeightsPerClass',2454 normal: 'FrameSystemLimitsWeightsPerClass',2444 operational: 'FrameSystemLimitsWeightsPerClass',2455 operational: 'FrameSystemLimitsWeightsPerClass',2445 mandatory: 'FrameSystemLimitsWeightsPerClass'2456 mandatory: 'FrameSystemLimitsWeightsPerClass'2446 },2457 },2447 /**2458 /**2448 * Lookup305: frame_system::limits::WeightsPerClass2459 * Lookup308: frame_system::limits::WeightsPerClass2449 **/2460 **/2450 FrameSystemLimitsWeightsPerClass: {2461 FrameSystemLimitsWeightsPerClass: {2451 baseExtrinsic: 'u64',2462 baseExtrinsic: 'u64',2452 maxExtrinsic: 'Option<u64>',2463 maxExtrinsic: 'Option<u64>',2453 maxTotal: 'Option<u64>',2464 maxTotal: 'Option<u64>',2454 reserved: 'Option<u64>'2465 reserved: 'Option<u64>'2455 },2466 },2456 /**2467 /**2457 * Lookup307: frame_system::limits::BlockLength2468 * Lookup310: frame_system::limits::BlockLength2458 **/2469 **/2459 FrameSystemLimitsBlockLength: {2470 FrameSystemLimitsBlockLength: {2460 max: 'FrameSupportWeightsPerDispatchClassU32'2471 max: 'FrameSupportWeightsPerDispatchClassU32'2461 },2472 },2462 /**2473 /**2463 * Lookup308: frame_support::weights::PerDispatchClass<T>2474 * Lookup311: frame_support::weights::PerDispatchClass<T>2464 **/2475 **/2465 FrameSupportWeightsPerDispatchClassU32: {2476 FrameSupportWeightsPerDispatchClassU32: {2466 normal: 'u32',2477 normal: 'u32',2467 operational: 'u32',2478 operational: 'u32',2468 mandatory: 'u32'2479 mandatory: 'u32'2469 },2480 },2470 /**2481 /**2471 * Lookup309: frame_support::weights::RuntimeDbWeight2482 * Lookup312: frame_support::weights::RuntimeDbWeight2472 **/2483 **/2473 FrameSupportWeightsRuntimeDbWeight: {2484 FrameSupportWeightsRuntimeDbWeight: {2474 read: 'u64',2485 read: 'u64',2475 write: 'u64'2486 write: 'u64'2476 },2487 },2477 /**2488 /**2478 * Lookup310: sp_version::RuntimeVersion2489 * Lookup313: sp_version::RuntimeVersion2479 **/2490 **/2480 SpVersionRuntimeVersion: {2491 SpVersionRuntimeVersion: {2481 specName: 'Text',2492 specName: 'Text',2482 implName: 'Text',2493 implName: 'Text',2487 transactionVersion: 'u32',2498 transactionVersion: 'u32',2488 stateVersion: 'u8'2499 stateVersion: 'u8'2489 },2500 },2490 /**2501 /**2491 * Lookup314: frame_system::pallet::Error<T>2502 * Lookup317: frame_system::pallet::Error<T>2492 **/2503 **/2493 FrameSystemError: {2504 FrameSystemError: {2494 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2505 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2495 },2506 },2496 /**2507 /**2497 * Lookup316: orml_vesting::module::Error<T>2508 * Lookup319: orml_vesting::module::Error<T>2498 **/2509 **/2499 OrmlVestingModuleError: {2510 OrmlVestingModuleError: {2500 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2511 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2501 },2512 },2502 /**2513 /**2503 * Lookup318: cumulus_pallet_xcmp_queue::InboundChannelDetails2514 * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails2504 **/2515 **/2505 CumulusPalletXcmpQueueInboundChannelDetails: {2516 CumulusPalletXcmpQueueInboundChannelDetails: {2506 sender: 'u32',2517 sender: 'u32',2507 state: 'CumulusPalletXcmpQueueInboundState',2518 state: 'CumulusPalletXcmpQueueInboundState',2508 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2519 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2509 },2520 },2510 /**2521 /**2511 * Lookup319: cumulus_pallet_xcmp_queue::InboundState2522 * Lookup322: cumulus_pallet_xcmp_queue::InboundState2512 **/2523 **/2513 CumulusPalletXcmpQueueInboundState: {2524 CumulusPalletXcmpQueueInboundState: {2514 _enum: ['Ok', 'Suspended']2525 _enum: ['Ok', 'Suspended']2515 },2526 },2516 /**2527 /**2517 * Lookup322: polkadot_parachain::primitives::XcmpMessageFormat2528 * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat2518 **/2529 **/2519 PolkadotParachainPrimitivesXcmpMessageFormat: {2530 PolkadotParachainPrimitivesXcmpMessageFormat: {2520 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2531 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2521 },2532 },2522 /**2533 /**2523 * Lookup325: cumulus_pallet_xcmp_queue::OutboundChannelDetails2534 * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails2524 **/2535 **/2525 CumulusPalletXcmpQueueOutboundChannelDetails: {2536 CumulusPalletXcmpQueueOutboundChannelDetails: {2526 recipient: 'u32',2537 recipient: 'u32',2527 state: 'CumulusPalletXcmpQueueOutboundState',2538 state: 'CumulusPalletXcmpQueueOutboundState',2528 signalsExist: 'bool',2539 signalsExist: 'bool',2529 firstIndex: 'u16',2540 firstIndex: 'u16',2530 lastIndex: 'u16'2541 lastIndex: 'u16'2531 },2542 },2532 /**2543 /**2533 * Lookup326: cumulus_pallet_xcmp_queue::OutboundState2544 * Lookup329: cumulus_pallet_xcmp_queue::OutboundState2534 **/2545 **/2535 CumulusPalletXcmpQueueOutboundState: {2546 CumulusPalletXcmpQueueOutboundState: {2536 _enum: ['Ok', 'Suspended']2547 _enum: ['Ok', 'Suspended']2537 },2548 },2538 /**2549 /**2539 * Lookup328: cumulus_pallet_xcmp_queue::QueueConfigData2550 * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData2540 **/2551 **/2541 CumulusPalletXcmpQueueQueueConfigData: {2552 CumulusPalletXcmpQueueQueueConfigData: {2542 suspendThreshold: 'u32',2553 suspendThreshold: 'u32',2543 dropThreshold: 'u32',2554 dropThreshold: 'u32',2546 weightRestrictDecay: 'u64',2557 weightRestrictDecay: 'u64',2547 xcmpMaxIndividualWeight: 'u64'2558 xcmpMaxIndividualWeight: 'u64'2548 },2559 },2549 /**2560 /**2550 * Lookup330: cumulus_pallet_xcmp_queue::pallet::Error<T>2561 * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error<T>2551 **/2562 **/2552 CumulusPalletXcmpQueueError: {2563 CumulusPalletXcmpQueueError: {2553 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2564 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2554 },2565 },2555 /**2566 /**2556 * Lookup331: pallet_xcm::pallet::Error<T>2567 * Lookup334: pallet_xcm::pallet::Error<T>2557 **/2568 **/2558 PalletXcmError: {2569 PalletXcmError: {2559 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2570 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2560 },2571 },2561 /**2572 /**2562 * Lookup332: cumulus_pallet_xcm::pallet::Error<T>2573 * Lookup335: cumulus_pallet_xcm::pallet::Error<T>2563 **/2574 **/2564 CumulusPalletXcmError: 'Null',2575 CumulusPalletXcmError: 'Null',2565 /**2576 /**2566 * Lookup333: cumulus_pallet_dmp_queue::ConfigData2577 * Lookup336: cumulus_pallet_dmp_queue::ConfigData2567 **/2578 **/2568 CumulusPalletDmpQueueConfigData: {2579 CumulusPalletDmpQueueConfigData: {2569 maxIndividual: 'u64'2580 maxIndividual: 'u64'2570 },2581 },2571 /**2582 /**2572 * Lookup334: cumulus_pallet_dmp_queue::PageIndexData2583 * Lookup337: cumulus_pallet_dmp_queue::PageIndexData2573 **/2584 **/2574 CumulusPalletDmpQueuePageIndexData: {2585 CumulusPalletDmpQueuePageIndexData: {2575 beginUsed: 'u32',2586 beginUsed: 'u32',2576 endUsed: 'u32',2587 endUsed: 'u32',2577 overweightCount: 'u64'2588 overweightCount: 'u64'2578 },2589 },2579 /**2590 /**2580 * Lookup337: cumulus_pallet_dmp_queue::pallet::Error<T>2591 * Lookup340: cumulus_pallet_dmp_queue::pallet::Error<T>2581 **/2592 **/2582 CumulusPalletDmpQueueError: {2593 CumulusPalletDmpQueueError: {2583 _enum: ['Unknown', 'OverLimit']2594 _enum: ['Unknown', 'OverLimit']2584 },2595 },2585 /**2596 /**2586 * Lookup341: pallet_unique::Error<T>2597 * Lookup344: pallet_unique::Error<T>2587 **/2598 **/2588 PalletUniqueError: {2599 PalletUniqueError: {2589 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2600 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2590 },2601 },2591 /**2602 /**2592 * Lookup344: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2603 * Lookup347: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2593 **/2604 **/2594 PalletUniqueSchedulerScheduledV3: {2605 PalletUniqueSchedulerScheduledV3: {2595 maybeId: 'Option<[u8;16]>',2606 maybeId: 'Option<[u8;16]>',2596 priority: 'u8',2607 priority: 'u8',2597 call: 'FrameSupportScheduleMaybeHashed',2608 call: 'FrameSupportScheduleMaybeHashed',2598 maybePeriodic: 'Option<(u32,u32)>',2609 maybePeriodic: 'Option<(u32,u32)>',2599 origin: 'OpalRuntimeOriginCaller'2610 origin: 'OpalRuntimeOriginCaller'2600 },2611 },2601 /**2612 /**2602 * Lookup345: opal_runtime::OriginCaller2613 * Lookup348: opal_runtime::OriginCaller2603 **/2614 **/2604 OpalRuntimeOriginCaller: {2615 OpalRuntimeOriginCaller: {2605 _enum: {2616 _enum: {2606 __Unused0: 'Null',2617 __Unused0: 'Null',2707 Ethereum: 'PalletEthereumRawOrigin'2718 Ethereum: 'PalletEthereumRawOrigin'2708 }2719 }2709 },2720 },2710 /**2721 /**2711 * Lookup346: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2722 * Lookup349: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2712 **/2723 **/2713 FrameSupportDispatchRawOrigin: {2724 FrameSupportDispatchRawOrigin: {2714 _enum: {2725 _enum: {2715 Root: 'Null',2726 Root: 'Null',2716 Signed: 'AccountId32',2727 Signed: 'AccountId32',2717 None: 'Null'2728 None: 'Null'2718 }2729 }2719 },2730 },2720 /**2731 /**2721 * Lookup347: pallet_xcm::pallet::Origin2732 * Lookup350: pallet_xcm::pallet::Origin2722 **/2733 **/2723 PalletXcmOrigin: {2734 PalletXcmOrigin: {2724 _enum: {2735 _enum: {2725 Xcm: 'XcmV1MultiLocation',2736 Xcm: 'XcmV1MultiLocation',2726 Response: 'XcmV1MultiLocation'2737 Response: 'XcmV1MultiLocation'2727 }2738 }2728 },2739 },2729 /**2740 /**2730 * Lookup348: cumulus_pallet_xcm::pallet::Origin2741 * Lookup351: cumulus_pallet_xcm::pallet::Origin2731 **/2742 **/2732 CumulusPalletXcmOrigin: {2743 CumulusPalletXcmOrigin: {2733 _enum: {2744 _enum: {2734 Relay: 'Null',2745 Relay: 'Null',2735 SiblingParachain: 'u32'2746 SiblingParachain: 'u32'2736 }2747 }2737 },2748 },2738 /**2749 /**2739 * Lookup349: pallet_ethereum::RawOrigin2750 * Lookup352: pallet_ethereum::RawOrigin2740 **/2751 **/2741 PalletEthereumRawOrigin: {2752 PalletEthereumRawOrigin: {2742 _enum: {2753 _enum: {2743 EthereumTransaction: 'H160'2754 EthereumTransaction: 'H160'2744 }2755 }2745 },2756 },2746 /**2757 /**2747 * Lookup350: sp_core::Void2758 * Lookup353: sp_core::Void2748 **/2759 **/2749 SpCoreVoid: 'Null',2760 SpCoreVoid: 'Null',2750 /**2761 /**2751 * Lookup351: pallet_unique_scheduler::pallet::Error<T>2762 * Lookup354: pallet_unique_scheduler::pallet::Error<T>2752 **/2763 **/2753 PalletUniqueSchedulerError: {2764 PalletUniqueSchedulerError: {2754 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2765 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2755 },2766 },2756 /**2767 /**2757 * Lookup352: up_data_structs::Collection<sp_core::crypto::AccountId32>2768 * Lookup355: up_data_structs::Collection<sp_core::crypto::AccountId32>2758 **/2769 **/2759 UpDataStructsCollection: {2770 UpDataStructsCollection: {2760 owner: 'AccountId32',2771 owner: 'AccountId32',2761 mode: 'UpDataStructsCollectionMode',2772 mode: 'UpDataStructsCollectionMode',2767 permissions: 'UpDataStructsCollectionPermissions',2778 permissions: 'UpDataStructsCollectionPermissions',2768 externalCollection: 'bool'2779 externalCollection: 'bool'2769 },2780 },2770 /**2781 /**2771 * Lookup353: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2782 * Lookup356: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2772 **/2783 **/2773 UpDataStructsSponsorshipState: {2784 UpDataStructsSponsorshipState: {2774 _enum: {2785 _enum: {2775 Disabled: 'Null',2786 Disabled: 'Null',2776 Unconfirmed: 'AccountId32',2787 Unconfirmed: 'AccountId32',2777 Confirmed: 'AccountId32'2788 Confirmed: 'AccountId32'2778 }2789 }2779 },2790 },2780 /**2791 /**2781 * Lookup354: up_data_structs::Properties2792 * Lookup357: up_data_structs::Properties2782 **/2793 **/2783 UpDataStructsProperties: {2794 UpDataStructsProperties: {2784 map: 'UpDataStructsPropertiesMapBoundedVec',2795 map: 'UpDataStructsPropertiesMapBoundedVec',2785 consumedSpace: 'u32',2796 consumedSpace: 'u32',2786 spaceLimit: 'u32'2797 spaceLimit: 'u32'2787 },2798 },2788 /**2799 /**2789 * Lookup355: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2800 * Lookup358: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2790 **/2801 **/2791 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2802 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2792 /**2803 /**2793 * Lookup360: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2804 * Lookup363: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2794 **/2805 **/2795 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2806 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2796 /**2807 /**2797 * Lookup367: up_data_structs::CollectionStats2808 * Lookup370: up_data_structs::CollectionStats2798 **/2809 **/2799 UpDataStructsCollectionStats: {2810 UpDataStructsCollectionStats: {2800 created: 'u32',2811 created: 'u32',2801 destroyed: 'u32',2812 destroyed: 'u32',2802 alive: 'u32'2813 alive: 'u32'2803 },2814 },2804 /**2815 /**2805 * Lookup368: up_data_structs::TokenChild2816 * Lookup371: up_data_structs::TokenChild2806 **/2817 **/2807 UpDataStructsTokenChild: {2818 UpDataStructsTokenChild: {2808 token: 'u32',2819 token: 'u32',2809 collection: 'u32'2820 collection: 'u32'2810 },2821 },2811 /**2822 /**2812 * Lookup369: PhantomType::up_data_structs<T>2823 * Lookup372: PhantomType::up_data_structs<T>2813 **/2824 **/2814 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2825 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2815 /**2826 /**2816 * Lookup371: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2827 * Lookup374: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2817 **/2828 **/2818 UpDataStructsTokenData: {2829 UpDataStructsTokenData: {2819 properties: 'Vec<UpDataStructsProperty>',2830 properties: 'Vec<UpDataStructsProperty>',2820 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2831 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2821 },2832 },2822 /**2833 /**2823 * Lookup373: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2834 * Lookup376: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2824 **/2835 **/2825 UpDataStructsRpcCollection: {2836 UpDataStructsRpcCollection: {2826 owner: 'AccountId32',2837 owner: 'AccountId32',2827 mode: 'UpDataStructsCollectionMode',2838 mode: 'UpDataStructsCollectionMode',2835 properties: 'Vec<UpDataStructsProperty>',2846 properties: 'Vec<UpDataStructsProperty>',2836 readOnly: 'bool'2847 readOnly: 'bool'2837 },2848 },2838 /**2849 /**2839 * Lookup374: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2850 * Lookup377: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2840 **/2851 **/2841 RmrkTraitsCollectionCollectionInfo: {2852 RmrkTraitsCollectionCollectionInfo: {2842 issuer: 'AccountId32',2853 issuer: 'AccountId32',2843 metadata: 'Bytes',2854 metadata: 'Bytes',2844 max: 'Option<u32>',2855 max: 'Option<u32>',2845 symbol: 'Bytes',2856 symbol: 'Bytes',2846 nftsCount: 'u32'2857 nftsCount: 'u32'2847 },2858 },2848 /**2859 /**2849 * Lookup375: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2860 * Lookup378: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2850 **/2861 **/2851 RmrkTraitsNftNftInfo: {2862 RmrkTraitsNftNftInfo: {2852 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2863 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2853 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2864 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2854 metadata: 'Bytes',2865 metadata: 'Bytes',2855 equipped: 'bool',2866 equipped: 'bool',2856 pending: 'bool'2867 pending: 'bool'2857 },2868 },2858 /**2869 /**2859 * Lookup377: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2870 * Lookup380: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2860 **/2871 **/2861 RmrkTraitsNftRoyaltyInfo: {2872 RmrkTraitsNftRoyaltyInfo: {2862 recipient: 'AccountId32',2873 recipient: 'AccountId32',2863 amount: 'Permill'2874 amount: 'Permill'2864 },2875 },2865 /**2876 /**2866 * Lookup378: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2877 * Lookup381: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2867 **/2878 **/2868 RmrkTraitsResourceResourceInfo: {2879 RmrkTraitsResourceResourceInfo: {2869 id: 'u32',2880 id: 'u32',2870 resource: 'RmrkTraitsResourceResourceTypes',2881 resource: 'RmrkTraitsResourceResourceTypes',2871 pending: 'bool',2882 pending: 'bool',2872 pendingRemoval: 'bool'2883 pendingRemoval: 'bool'2873 },2884 },2874 /**2875 * Lookup379: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2876 **/2877 RmrkTraitsResourceResourceTypes: {2878 _enum: {2879 Basic: 'RmrkTraitsResourceBasicResource',2880 Composable: 'RmrkTraitsResourceComposableResource',2881 Slot: 'RmrkTraitsResourceSlotResource'2882 }2883 },2884 /**2885 /**2885 * Lookup380: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2886 * Lookup382: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2886 **/2887 **/2887 RmrkTraitsPropertyPropertyInfo: {2888 RmrkTraitsPropertyPropertyInfo: {2888 key: 'Bytes',2889 key: 'Bytes',2889 value: 'Bytes'2890 value: 'Bytes'2890 },2891 },2891 /**2892 /**2892 * Lookup381: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2893 * Lookup383: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2893 **/2894 **/2894 RmrkTraitsBaseBaseInfo: {2895 RmrkTraitsBaseBaseInfo: {2895 issuer: 'AccountId32',2896 issuer: 'AccountId32',2896 baseType: 'Bytes',2897 baseType: 'Bytes',2897 symbol: 'Bytes'2898 symbol: 'Bytes'2898 },2899 },2899 /**2900 /**2900 * Lookup382: rmrk_traits::nft::NftChild2901 * Lookup384: rmrk_traits::nft::NftChild2901 **/2902 **/2902 RmrkTraitsNftNftChild: {2903 RmrkTraitsNftNftChild: {2903 collectionId: 'u32',2904 collectionId: 'u32',2904 nftId: 'u32'2905 nftId: 'u32'2905 },2906 },2906 /**2907 /**2907 * Lookup384: pallet_common::pallet::Error<T>2908 * Lookup386: pallet_common::pallet::Error<T>2908 **/2909 **/2909 PalletCommonError: {2910 PalletCommonError: {2910 _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']2911 _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']2911 },2912 },2912 /**2913 /**2913 * Lookup386: pallet_fungible::pallet::Error<T>2914 * Lookup388: pallet_fungible::pallet::Error<T>2914 **/2915 **/2915 PalletFungibleError: {2916 PalletFungibleError: {2916 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2917 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2917 },2918 },2918 /**2919 /**2919 * Lookup387: pallet_refungible::ItemData2920 * Lookup389: pallet_refungible::ItemData2920 **/2921 **/2921 PalletRefungibleItemData: {2922 PalletRefungibleItemData: {2922 constData: 'Bytes'2923 constData: 'Bytes'2923 },2924 },2924 /**2925 /**2925 * Lookup391: pallet_refungible::pallet::Error<T>2926 * Lookup393: pallet_refungible::pallet::Error<T>2926 **/2927 **/2927 PalletRefungibleError: {2928 PalletRefungibleError: {2928 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2929 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2929 },2930 },2930 /**2931 /**2931 * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2932 * Lookup394: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2932 **/2933 **/2933 PalletNonfungibleItemData: {2934 PalletNonfungibleItemData: {2934 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2935 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2935 },2936 },2936 /**2937 /**2937 * Lookup394: pallet_nonfungible::pallet::Error<T>2938 * Lookup396: pallet_nonfungible::pallet::Error<T>2938 **/2939 **/2939 PalletNonfungibleError: {2940 PalletNonfungibleError: {2940 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2941 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2941 },2942 },2942 /**2943 /**2943 * Lookup395: pallet_structure::pallet::Error<T>2944 * Lookup397: pallet_structure::pallet::Error<T>2944 **/2945 **/2945 PalletStructureError: {2946 PalletStructureError: {2946 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2947 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2947 },2948 },2948 /**2949 /**2949 * Lookup396: pallet_rmrk_core::pallet::Error<T>2950 * Lookup398: pallet_rmrk_core::pallet::Error<T>2950 **/2951 **/2951 PalletRmrkCoreError: {2952 PalletRmrkCoreError: {2952 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2953 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2953 },2954 },2954 /**2955 /**2955 * Lookup398: pallet_rmrk_equip::pallet::Error<T>2956 * Lookup400: pallet_rmrk_equip::pallet::Error<T>2956 **/2957 **/2957 PalletRmrkEquipError: {2958 PalletRmrkEquipError: {2958 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2959 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2959 },2960 },2960 /**2961 /**2961 * Lookup401: pallet_evm::pallet::Error<T>2962 * Lookup403: pallet_evm::pallet::Error<T>2962 **/2963 **/2963 PalletEvmError: {2964 PalletEvmError: {2964 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2965 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2965 },2966 },2966 /**2967 /**2967 * Lookup404: fp_rpc::TransactionStatus2968 * Lookup406: fp_rpc::TransactionStatus2968 **/2969 **/2969 FpRpcTransactionStatus: {2970 FpRpcTransactionStatus: {2970 transactionHash: 'H256',2971 transactionHash: 'H256',2971 transactionIndex: 'u32',2972 transactionIndex: 'u32',2975 logs: 'Vec<EthereumLog>',2976 logs: 'Vec<EthereumLog>',2976 logsBloom: 'EthbloomBloom'2977 logsBloom: 'EthbloomBloom'2977 },2978 },2978 /**2979 /**2979 * Lookup406: ethbloom::Bloom2980 * Lookup408: ethbloom::Bloom2980 **/2981 **/2981 EthbloomBloom: '[u8;256]',2982 EthbloomBloom: '[u8;256]',2982 /**2983 /**2983 * Lookup408: ethereum::receipt::ReceiptV32984 * Lookup410: ethereum::receipt::ReceiptV32984 **/2985 **/2985 EthereumReceiptReceiptV3: {2986 EthereumReceiptReceiptV3: {2986 _enum: {2987 _enum: {2987 Legacy: 'EthereumReceiptEip658ReceiptData',2988 Legacy: 'EthereumReceiptEip658ReceiptData',2988 EIP2930: 'EthereumReceiptEip658ReceiptData',2989 EIP2930: 'EthereumReceiptEip658ReceiptData',2989 EIP1559: 'EthereumReceiptEip658ReceiptData'2990 EIP1559: 'EthereumReceiptEip658ReceiptData'2990 }2991 }2991 },2992 },2992 /**2993 /**2993 * Lookup409: ethereum::receipt::EIP658ReceiptData2994 * Lookup411: ethereum::receipt::EIP658ReceiptData2994 **/2995 **/2995 EthereumReceiptEip658ReceiptData: {2996 EthereumReceiptEip658ReceiptData: {2996 statusCode: 'u8',2997 statusCode: 'u8',2997 usedGas: 'U256',2998 usedGas: 'U256',2998 logsBloom: 'EthbloomBloom',2999 logsBloom: 'EthbloomBloom',2999 logs: 'Vec<EthereumLog>'3000 logs: 'Vec<EthereumLog>'3000 },3001 },3001 /**3002 /**3002 * Lookup410: ethereum::block::Block<ethereum::transaction::TransactionV2>3003 * Lookup412: ethereum::block::Block<ethereum::transaction::TransactionV2>3003 **/3004 **/3004 EthereumBlock: {3005 EthereumBlock: {3005 header: 'EthereumHeader',3006 header: 'EthereumHeader',3006 transactions: 'Vec<EthereumTransactionTransactionV2>',3007 transactions: 'Vec<EthereumTransactionTransactionV2>',3007 ommers: 'Vec<EthereumHeader>'3008 ommers: 'Vec<EthereumHeader>'3008 },3009 },3009 /**3010 /**3010 * Lookup411: ethereum::header::Header3011 * Lookup413: ethereum::header::Header3011 **/3012 **/3012 EthereumHeader: {3013 EthereumHeader: {3013 parentHash: 'H256',3014 parentHash: 'H256',3014 ommersHash: 'H256',3015 ommersHash: 'H256',3026 mixHash: 'H256',3027 mixHash: 'H256',3027 nonce: 'EthereumTypesHashH64'3028 nonce: 'EthereumTypesHashH64'3028 },3029 },3029 /**3030 /**3030 * Lookup412: ethereum_types::hash::H643031 * Lookup414: ethereum_types::hash::H643031 **/3032 **/3032 EthereumTypesHashH64: '[u8;8]',3033 EthereumTypesHashH64: '[u8;8]',3033 /**3034 /**3034 * Lookup417: pallet_ethereum::pallet::Error<T>3035 * Lookup419: pallet_ethereum::pallet::Error<T>3035 **/3036 **/3036 PalletEthereumError: {3037 PalletEthereumError: {3037 _enum: ['InvalidSignature', 'PreLogExists']3038 _enum: ['InvalidSignature', 'PreLogExists']3038 },3039 },3039 /**3040 /**3040 * Lookup418: pallet_evm_coder_substrate::pallet::Error<T>3041 * Lookup420: pallet_evm_coder_substrate::pallet::Error<T>3041 **/3042 **/3042 PalletEvmCoderSubstrateError: {3043 PalletEvmCoderSubstrateError: {3043 _enum: ['OutOfGas', 'OutOfFund']3044 _enum: ['OutOfGas', 'OutOfFund']3044 },3045 },3045 /**3046 /**3046 * Lookup419: pallet_evm_contract_helpers::SponsoringModeT3047 * Lookup421: pallet_evm_contract_helpers::SponsoringModeT3047 **/3048 **/3048 PalletEvmContractHelpersSponsoringModeT: {3049 PalletEvmContractHelpersSponsoringModeT: {3049 _enum: ['Disabled', 'Allowlisted', 'Generous']3050 _enum: ['Disabled', 'Allowlisted', 'Generous']3050 },3051 },3051 /**3052 /**3052 * Lookup421: pallet_evm_contract_helpers::pallet::Error<T>3053 * Lookup423: pallet_evm_contract_helpers::pallet::Error<T>3053 **/3054 **/3054 PalletEvmContractHelpersError: {3055 PalletEvmContractHelpersError: {3055 _enum: ['NoPermission']3056 _enum: ['NoPermission']3056 },3057 },3057 /**3058 /**3058 * Lookup422: pallet_evm_migration::pallet::Error<T>3059 * Lookup424: pallet_evm_migration::pallet::Error<T>3059 **/3060 **/3060 PalletEvmMigrationError: {3061 PalletEvmMigrationError: {3061 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3062 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3062 },3063 },3063 /**3064 /**3064 * Lookup424: sp_runtime::MultiSignature3065 * Lookup426: sp_runtime::MultiSignature3065 **/3066 **/3066 SpRuntimeMultiSignature: {3067 SpRuntimeMultiSignature: {3067 _enum: {3068 _enum: {3068 Ed25519: 'SpCoreEd25519Signature',3069 Ed25519: 'SpCoreEd25519Signature',3069 Sr25519: 'SpCoreSr25519Signature',3070 Sr25519: 'SpCoreSr25519Signature',3070 Ecdsa: 'SpCoreEcdsaSignature'3071 Ecdsa: 'SpCoreEcdsaSignature'3071 }3072 }3072 },3073 },3073 /**3074 /**3074 * Lookup425: sp_core::ed25519::Signature3075 * Lookup427: sp_core::ed25519::Signature3075 **/3076 **/3076 SpCoreEd25519Signature: '[u8;64]',3077 SpCoreEd25519Signature: '[u8;64]',3077 /**3078 /**3078 * Lookup427: sp_core::sr25519::Signature3079 * Lookup429: sp_core::sr25519::Signature3079 **/3080 **/3080 SpCoreSr25519Signature: '[u8;64]',3081 SpCoreSr25519Signature: '[u8;64]',3081 /**3082 /**3082 * Lookup428: sp_core::ecdsa::Signature3083 * Lookup430: sp_core::ecdsa::Signature3083 **/3084 **/3084 SpCoreEcdsaSignature: '[u8;65]',3085 SpCoreEcdsaSignature: '[u8;65]',3085 /**3086 /**3086 * Lookup431: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3087 * Lookup433: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3087 **/3088 **/3088 FrameSystemExtensionsCheckSpecVersion: 'Null',3089 FrameSystemExtensionsCheckSpecVersion: 'Null',3089 /**3090 /**3090 * Lookup432: frame_system::extensions::check_genesis::CheckGenesis<T>3091 * Lookup434: frame_system::extensions::check_genesis::CheckGenesis<T>3091 **/3092 **/3092 FrameSystemExtensionsCheckGenesis: 'Null',3093 FrameSystemExtensionsCheckGenesis: 'Null',3093 /**3094 /**3094 * Lookup435: frame_system::extensions::check_nonce::CheckNonce<T>3095 * Lookup437: frame_system::extensions::check_nonce::CheckNonce<T>3095 **/3096 **/3096 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3097 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3097 /**3098 /**3098 * Lookup436: frame_system::extensions::check_weight::CheckWeight<T>3099 * Lookup438: frame_system::extensions::check_weight::CheckWeight<T>3099 **/3100 **/3100 FrameSystemExtensionsCheckWeight: 'Null',3101 FrameSystemExtensionsCheckWeight: 'Null',3101 /**3102 /**3102 * Lookup437: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3103 * Lookup439: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3103 **/3104 **/3104 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3105 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3105 /**3106 /**3106 * Lookup438: opal_runtime::Runtime3107 * Lookup440: opal_runtime::Runtime3107 **/3108 **/3108 OpalRuntimeRuntime: 'Null',3109 OpalRuntimeRuntime: 'Null',3109 /**3110 /**3110 * Lookup439: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3111 * Lookup441: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3111 **/3112 **/3112 PalletEthereumFakeTransactionFinalizer: 'Null'3113 PalletEthereumFakeTransactionFinalizer: 'Null'3113};3114};31143115tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1562 /** @name UpDataStructsNestingPermissions (169) */1562 /** @name UpDataStructsNestingPermissions (169) */1563 export interface UpDataStructsNestingPermissions extends Struct {1563 export interface UpDataStructsNestingPermissions extends Struct {1564 readonly tokenOwner: bool;1564 readonly tokenOwner: bool;1565 readonly admin: bool;1565 readonly collectionAdmin: bool;1566 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;1566 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;1567 readonly permissive: bool;1567 readonly permissive: bool;1568 }1568 }1719 readonly royaltyAmount: Option<Permill>;1719 readonly royaltyAmount: Option<Permill>;1720 readonly metadata: Bytes;1720 readonly metadata: Bytes;1721 readonly transferable: bool;1721 readonly transferable: bool;1722 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1722 } & Struct;1723 } & Struct;1723 readonly isBurnNft: boolean;1724 readonly isBurnNft: boolean;1724 readonly asBurnNft: {1725 readonly asBurnNft: {1725 readonly collectionId: u32;1726 readonly collectionId: u32;1726 readonly nftId: u32;1727 readonly nftId: u32;1728 readonly maxBurns: u32;1727 } & Struct;1729 } & Struct;1728 readonly isSend: boolean;1730 readonly isSend: boolean;1729 readonly asSend: {1731 readonly asSend: {1777 readonly asAddComposableResource: {1779 readonly asAddComposableResource: {1778 readonly rmrkCollectionId: u32;1780 readonly rmrkCollectionId: u32;1779 readonly nftId: u32;1781 readonly nftId: u32;1780 readonly resourceId: Bytes;1781 readonly resource: RmrkTraitsResourceComposableResource;1782 readonly resource: RmrkTraitsResourceComposableResource;1782 } & Struct;1783 } & Struct;1783 readonly isAddSlotResource: boolean;1784 readonly isAddSlotResource: boolean;1795 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1796 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1796 }1797 }179717981798 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (215) */1799 /** @name RmrkTraitsResourceResourceTypes (217) */1799 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1800 export interface RmrkTraitsResourceResourceTypes extends Enum {1800 readonly isAccountId: boolean;1801 readonly isBasic: boolean;1801 readonly asAccountId: AccountId32;1802 readonly asBasic: RmrkTraitsResourceBasicResource;1802 readonly isCollectionAndNftTuple: boolean;1803 readonly isComposable: boolean;1803 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1804 readonly asComposable: RmrkTraitsResourceComposableResource;1805 readonly isSlot: boolean;1806 readonly asSlot: RmrkTraitsResourceSlotResource;1804 readonly type: 'AccountId' | 'CollectionAndNftTuple';1807 readonly type: 'Basic' | 'Composable' | 'Slot';1805 }1808 }180618091807 /** @name RmrkTraitsResourceBasicResource (219) */1810 /** @name RmrkTraitsResourceBasicResource (219) */1812 readonly thumb: Option<Bytes>;1815 readonly thumb: Option<Bytes>;1813 }1816 }181418171815 /** @name RmrkTraitsResourceComposableResource (222) */1818 /** @name RmrkTraitsResourceComposableResource (221) */1816 export interface RmrkTraitsResourceComposableResource extends Struct {1819 export interface RmrkTraitsResourceComposableResource extends Struct {1817 readonly parts: Vec<u32>;1820 readonly parts: Vec<u32>;1818 readonly base: u32;1821 readonly base: u32;1822 readonly thumb: Option<Bytes>;1825 readonly thumb: Option<Bytes>;1823 }1826 }182418271825 /** @name RmrkTraitsResourceSlotResource (224) */1828 /** @name RmrkTraitsResourceSlotResource (222) */1826 export interface RmrkTraitsResourceSlotResource extends Struct {1829 export interface RmrkTraitsResourceSlotResource extends Struct {1827 readonly base: u32;1830 readonly base: u32;1828 readonly src: Option<Bytes>;1831 readonly src: Option<Bytes>;1832 readonly thumb: Option<Bytes>;1835 readonly thumb: Option<Bytes>;1833 }1836 }18371838 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (224) */1839 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1840 readonly isAccountId: boolean;1841 readonly asAccountId: AccountId32;1842 readonly isCollectionAndNftTuple: boolean;1843 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1844 readonly type: 'AccountId' | 'CollectionAndNftTuple';1845 }183418461835 /** @name PalletRmrkEquipCall (225) */1847 /** @name PalletRmrkEquipCall (228) */1836 export interface PalletRmrkEquipCall extends Enum {1848 export interface PalletRmrkEquipCall extends Enum {1837 readonly isCreateBase: boolean;1849 readonly isCreateBase: boolean;1838 readonly asCreateBase: {1850 readonly asCreateBase: {1848 readonly type: 'CreateBase' | 'ThemeAdd';1860 readonly type: 'CreateBase' | 'ThemeAdd';1849 }1861 }185018621851 /** @name RmrkTraitsPartPartType (227) */1863 /** @name RmrkTraitsPartPartType (230) */1852 export interface RmrkTraitsPartPartType extends Enum {1864 export interface RmrkTraitsPartPartType extends Enum {1853 readonly isFixedPart: boolean;1865 readonly isFixedPart: boolean;1854 readonly asFixedPart: RmrkTraitsPartFixedPart;1866 readonly asFixedPart: RmrkTraitsPartFixedPart;1857 readonly type: 'FixedPart' | 'SlotPart';1869 readonly type: 'FixedPart' | 'SlotPart';1858 }1870 }185918711860 /** @name RmrkTraitsPartFixedPart (229) */1872 /** @name RmrkTraitsPartFixedPart (232) */1861 export interface RmrkTraitsPartFixedPart extends Struct {1873 export interface RmrkTraitsPartFixedPart extends Struct {1862 readonly id: u32;1874 readonly id: u32;1863 readonly z: u32;1875 readonly z: u32;1864 readonly src: Bytes;1876 readonly src: Bytes;1865 }1877 }186618781867 /** @name RmrkTraitsPartSlotPart (230) */1879 /** @name RmrkTraitsPartSlotPart (233) */1868 export interface RmrkTraitsPartSlotPart extends Struct {1880 export interface RmrkTraitsPartSlotPart extends Struct {1869 readonly id: u32;1881 readonly id: u32;1870 readonly equippable: RmrkTraitsPartEquippableList;1882 readonly equippable: RmrkTraitsPartEquippableList;1871 readonly src: Bytes;1883 readonly src: Bytes;1872 readonly z: u32;1884 readonly z: u32;1873 }1885 }187418861875 /** @name RmrkTraitsPartEquippableList (231) */1887 /** @name RmrkTraitsPartEquippableList (234) */1876 export interface RmrkTraitsPartEquippableList extends Enum {1888 export interface RmrkTraitsPartEquippableList extends Enum {1877 readonly isAll: boolean;1889 readonly isAll: boolean;1878 readonly isEmpty: boolean;1890 readonly isEmpty: boolean;1881 readonly type: 'All' | 'Empty' | 'Custom';1893 readonly type: 'All' | 'Empty' | 'Custom';1882 }1894 }188318951884 /** @name RmrkTraitsTheme (233) */1896 /** @name RmrkTraitsTheme (236) */1885 export interface RmrkTraitsTheme extends Struct {1897 export interface RmrkTraitsTheme extends Struct {1886 readonly name: Bytes;1898 readonly name: Bytes;1887 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1899 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1888 readonly inherit: bool;1900 readonly inherit: bool;1889 }1901 }189019021891 /** @name RmrkTraitsThemeThemeProperty (235) */1903 /** @name RmrkTraitsThemeThemeProperty (238) */1892 export interface RmrkTraitsThemeThemeProperty extends Struct {1904 export interface RmrkTraitsThemeThemeProperty extends Struct {1893 readonly key: Bytes;1905 readonly key: Bytes;1894 readonly value: Bytes;1906 readonly value: Bytes;1895 }1907 }189619081897 /** @name PalletEvmCall (236) */1909 /** @name PalletEvmCall (239) */1898 export interface PalletEvmCall extends Enum {1910 export interface PalletEvmCall extends Enum {1899 readonly isWithdraw: boolean;1911 readonly isWithdraw: boolean;1900 readonly asWithdraw: {1912 readonly asWithdraw: {1939 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1951 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1940 }1952 }194119531942 /** @name PalletEthereumCall (242) */1954 /** @name PalletEthereumCall (245) */1943 export interface PalletEthereumCall extends Enum {1955 export interface PalletEthereumCall extends Enum {1944 readonly isTransact: boolean;1956 readonly isTransact: boolean;1945 readonly asTransact: {1957 readonly asTransact: {1948 readonly type: 'Transact';1960 readonly type: 'Transact';1949 }1961 }195019621951 /** @name EthereumTransactionTransactionV2 (243) */1963 /** @name EthereumTransactionTransactionV2 (246) */1952 export interface EthereumTransactionTransactionV2 extends Enum {1964 export interface EthereumTransactionTransactionV2 extends Enum {1953 readonly isLegacy: boolean;1965 readonly isLegacy: boolean;1954 readonly asLegacy: EthereumTransactionLegacyTransaction;1966 readonly asLegacy: EthereumTransactionLegacyTransaction;1959 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1971 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1960 }1972 }196119731962 /** @name EthereumTransactionLegacyTransaction (244) */1974 /** @name EthereumTransactionLegacyTransaction (247) */1963 export interface EthereumTransactionLegacyTransaction extends Struct {1975 export interface EthereumTransactionLegacyTransaction extends Struct {1964 readonly nonce: U256;1976 readonly nonce: U256;1965 readonly gasPrice: U256;1977 readonly gasPrice: U256;1970 readonly signature: EthereumTransactionTransactionSignature;1982 readonly signature: EthereumTransactionTransactionSignature;1971 }1983 }197219841973 /** @name EthereumTransactionTransactionAction (245) */1985 /** @name EthereumTransactionTransactionAction (248) */1974 export interface EthereumTransactionTransactionAction extends Enum {1986 export interface EthereumTransactionTransactionAction extends Enum {1975 readonly isCall: boolean;1987 readonly isCall: boolean;1976 readonly asCall: H160;1988 readonly asCall: H160;1977 readonly isCreate: boolean;1989 readonly isCreate: boolean;1978 readonly type: 'Call' | 'Create';1990 readonly type: 'Call' | 'Create';1979 }1991 }198019921981 /** @name EthereumTransactionTransactionSignature (246) */1993 /** @name EthereumTransactionTransactionSignature (249) */1982 export interface EthereumTransactionTransactionSignature extends Struct {1994 export interface EthereumTransactionTransactionSignature extends Struct {1983 readonly v: u64;1995 readonly v: u64;1984 readonly r: H256;1996 readonly r: H256;1985 readonly s: H256;1997 readonly s: H256;1986 }1998 }198719991988 /** @name EthereumTransactionEip2930Transaction (248) */2000 /** @name EthereumTransactionEip2930Transaction (251) */1989 export interface EthereumTransactionEip2930Transaction extends Struct {2001 export interface EthereumTransactionEip2930Transaction extends Struct {1990 readonly chainId: u64;2002 readonly chainId: u64;1991 readonly nonce: U256;2003 readonly nonce: U256;2000 readonly s: H256;2012 readonly s: H256;2001 }2013 }200220142003 /** @name EthereumTransactionAccessListItem (250) */2015 /** @name EthereumTransactionAccessListItem (253) */2004 export interface EthereumTransactionAccessListItem extends Struct {2016 export interface EthereumTransactionAccessListItem extends Struct {2005 readonly address: H160;2017 readonly address: H160;2006 readonly storageKeys: Vec<H256>;2018 readonly storageKeys: Vec<H256>;2007 }2019 }200820202009 /** @name EthereumTransactionEip1559Transaction (251) */2021 /** @name EthereumTransactionEip1559Transaction (254) */2010 export interface EthereumTransactionEip1559Transaction extends Struct {2022 export interface EthereumTransactionEip1559Transaction extends Struct {2011 readonly chainId: u64;2023 readonly chainId: u64;2012 readonly nonce: U256;2024 readonly nonce: U256;2022 readonly s: H256;2034 readonly s: H256;2023 }2035 }202420362025 /** @name PalletEvmMigrationCall (252) */2037 /** @name PalletEvmMigrationCall (255) */2026 export interface PalletEvmMigrationCall extends Enum {2038 export interface PalletEvmMigrationCall extends Enum {2027 readonly isBegin: boolean;2039 readonly isBegin: boolean;2028 readonly asBegin: {2040 readonly asBegin: {2041 readonly type: 'Begin' | 'SetData' | 'Finish';2053 readonly type: 'Begin' | 'SetData' | 'Finish';2042 }2054 }204320552044 /** @name PalletSudoEvent (255) */2056 /** @name PalletSudoEvent (258) */2045 export interface PalletSudoEvent extends Enum {2057 export interface PalletSudoEvent extends Enum {2046 readonly isSudid: boolean;2058 readonly isSudid: boolean;2047 readonly asSudid: {2059 readonly asSudid: {2058 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2070 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2059 }2071 }206020722061 /** @name SpRuntimeDispatchError (257) */2073 /** @name SpRuntimeDispatchError (260) */2062 export interface SpRuntimeDispatchError extends Enum {2074 export interface SpRuntimeDispatchError extends Enum {2063 readonly isOther: boolean;2075 readonly isOther: boolean;2064 readonly isCannotLookup: boolean;2076 readonly isCannotLookup: boolean;2077 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2089 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2078 }2090 }207920912080 /** @name SpRuntimeModuleError (258) */2092 /** @name SpRuntimeModuleError (261) */2081 export interface SpRuntimeModuleError extends Struct {2093 export interface SpRuntimeModuleError extends Struct {2082 readonly index: u8;2094 readonly index: u8;2083 readonly error: U8aFixed;2095 readonly error: U8aFixed;2084 }2096 }208520972086 /** @name SpRuntimeTokenError (259) */2098 /** @name SpRuntimeTokenError (262) */2087 export interface SpRuntimeTokenError extends Enum {2099 export interface SpRuntimeTokenError extends Enum {2088 readonly isNoFunds: boolean;2100 readonly isNoFunds: boolean;2089 readonly isWouldDie: boolean;2101 readonly isWouldDie: boolean;2095 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2107 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2096 }2108 }209721092098 /** @name SpRuntimeArithmeticError (260) */2110 /** @name SpRuntimeArithmeticError (263) */2099 export interface SpRuntimeArithmeticError extends Enum {2111 export interface SpRuntimeArithmeticError extends Enum {2100 readonly isUnderflow: boolean;2112 readonly isUnderflow: boolean;2101 readonly isOverflow: boolean;2113 readonly isOverflow: boolean;2102 readonly isDivisionByZero: boolean;2114 readonly isDivisionByZero: boolean;2103 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2115 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2104 }2116 }210521172106 /** @name SpRuntimeTransactionalError (261) */2118 /** @name SpRuntimeTransactionalError (264) */2107 export interface SpRuntimeTransactionalError extends Enum {2119 export interface SpRuntimeTransactionalError extends Enum {2108 readonly isLimitReached: boolean;2120 readonly isLimitReached: boolean;2109 readonly isNoLayer: boolean;2121 readonly isNoLayer: boolean;2110 readonly type: 'LimitReached' | 'NoLayer';2122 readonly type: 'LimitReached' | 'NoLayer';2111 }2123 }211221242113 /** @name PalletSudoError (262) */2125 /** @name PalletSudoError (265) */2114 export interface PalletSudoError extends Enum {2126 export interface PalletSudoError extends Enum {2115 readonly isRequireSudo: boolean;2127 readonly isRequireSudo: boolean;2116 readonly type: 'RequireSudo';2128 readonly type: 'RequireSudo';2117 }2129 }211821302119 /** @name FrameSystemAccountInfo (263) */2131 /** @name FrameSystemAccountInfo (266) */2120 export interface FrameSystemAccountInfo extends Struct {2132 export interface FrameSystemAccountInfo extends Struct {2121 readonly nonce: u32;2133 readonly nonce: u32;2122 readonly consumers: u32;2134 readonly consumers: u32;2125 readonly data: PalletBalancesAccountData;2137 readonly data: PalletBalancesAccountData;2126 }2138 }212721392128 /** @name FrameSupportWeightsPerDispatchClassU64 (264) */2140 /** @name FrameSupportWeightsPerDispatchClassU64 (267) */2129 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2141 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2130 readonly normal: u64;2142 readonly normal: u64;2131 readonly operational: u64;2143 readonly operational: u64;2132 readonly mandatory: u64;2144 readonly mandatory: u64;2133 }2145 }213421462135 /** @name SpRuntimeDigest (265) */2147 /** @name SpRuntimeDigest (268) */2136 export interface SpRuntimeDigest extends Struct {2148 export interface SpRuntimeDigest extends Struct {2137 readonly logs: Vec<SpRuntimeDigestDigestItem>;2149 readonly logs: Vec<SpRuntimeDigestDigestItem>;2138 }2150 }213921512140 /** @name SpRuntimeDigestDigestItem (267) */2152 /** @name SpRuntimeDigestDigestItem (270) */2141 export interface SpRuntimeDigestDigestItem extends Enum {2153 export interface SpRuntimeDigestDigestItem extends Enum {2142 readonly isOther: boolean;2154 readonly isOther: boolean;2143 readonly asOther: Bytes;2155 readonly asOther: Bytes;2151 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2163 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2152 }2164 }215321652154 /** @name FrameSystemEventRecord (269) */2166 /** @name FrameSystemEventRecord (272) */2155 export interface FrameSystemEventRecord extends Struct {2167 export interface FrameSystemEventRecord extends Struct {2156 readonly phase: FrameSystemPhase;2168 readonly phase: FrameSystemPhase;2157 readonly event: Event;2169 readonly event: Event;2158 readonly topics: Vec<H256>;2170 readonly topics: Vec<H256>;2159 }2171 }216021722161 /** @name FrameSystemEvent (271) */2173 /** @name FrameSystemEvent (274) */2162 export interface FrameSystemEvent extends Enum {2174 export interface FrameSystemEvent extends Enum {2163 readonly isExtrinsicSuccess: boolean;2175 readonly isExtrinsicSuccess: boolean;2164 readonly asExtrinsicSuccess: {2176 readonly asExtrinsicSuccess: {2186 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2198 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2187 }2199 }218822002189 /** @name FrameSupportWeightsDispatchInfo (272) */2201 /** @name FrameSupportWeightsDispatchInfo (275) */2190 export interface FrameSupportWeightsDispatchInfo extends Struct {2202 export interface FrameSupportWeightsDispatchInfo extends Struct {2191 readonly weight: u64;2203 readonly weight: u64;2192 readonly class: FrameSupportWeightsDispatchClass;2204 readonly class: FrameSupportWeightsDispatchClass;2193 readonly paysFee: FrameSupportWeightsPays;2205 readonly paysFee: FrameSupportWeightsPays;2194 }2206 }219522072196 /** @name FrameSupportWeightsDispatchClass (273) */2208 /** @name FrameSupportWeightsDispatchClass (276) */2197 export interface FrameSupportWeightsDispatchClass extends Enum {2209 export interface FrameSupportWeightsDispatchClass extends Enum {2198 readonly isNormal: boolean;2210 readonly isNormal: boolean;2199 readonly isOperational: boolean;2211 readonly isOperational: boolean;2200 readonly isMandatory: boolean;2212 readonly isMandatory: boolean;2201 readonly type: 'Normal' | 'Operational' | 'Mandatory';2213 readonly type: 'Normal' | 'Operational' | 'Mandatory';2202 }2214 }220322152204 /** @name FrameSupportWeightsPays (274) */2216 /** @name FrameSupportWeightsPays (277) */2205 export interface FrameSupportWeightsPays extends Enum {2217 export interface FrameSupportWeightsPays extends Enum {2206 readonly isYes: boolean;2218 readonly isYes: boolean;2207 readonly isNo: boolean;2219 readonly isNo: boolean;2208 readonly type: 'Yes' | 'No';2220 readonly type: 'Yes' | 'No';2209 }2221 }221022222211 /** @name OrmlVestingModuleEvent (275) */2223 /** @name OrmlVestingModuleEvent (278) */2212 export interface OrmlVestingModuleEvent extends Enum {2224 export interface OrmlVestingModuleEvent extends Enum {2213 readonly isVestingScheduleAdded: boolean;2225 readonly isVestingScheduleAdded: boolean;2214 readonly asVestingScheduleAdded: {2226 readonly asVestingScheduleAdded: {2228 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2240 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2229 }2241 }223022422231 /** @name CumulusPalletXcmpQueueEvent (276) */2243 /** @name CumulusPalletXcmpQueueEvent (279) */2232 export interface CumulusPalletXcmpQueueEvent extends Enum {2244 export interface CumulusPalletXcmpQueueEvent extends Enum {2233 readonly isSuccess: boolean;2245 readonly isSuccess: boolean;2234 readonly asSuccess: Option<H256>;2246 readonly asSuccess: Option<H256>;2249 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2261 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2250 }2262 }225122632252 /** @name PalletXcmEvent (277) */2264 /** @name PalletXcmEvent (280) */2253 export interface PalletXcmEvent extends Enum {2265 export interface PalletXcmEvent extends Enum {2254 readonly isAttempted: boolean;2266 readonly isAttempted: boolean;2255 readonly asAttempted: XcmV2TraitsOutcome;2267 readonly asAttempted: XcmV2TraitsOutcome;2286 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2298 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2287 }2299 }228823002289 /** @name XcmV2TraitsOutcome (278) */2301 /** @name XcmV2TraitsOutcome (281) */2290 export interface XcmV2TraitsOutcome extends Enum {2302 export interface XcmV2TraitsOutcome extends Enum {2291 readonly isComplete: boolean;2303 readonly isComplete: boolean;2292 readonly asComplete: u64;2304 readonly asComplete: u64;2297 readonly type: 'Complete' | 'Incomplete' | 'Error';2309 readonly type: 'Complete' | 'Incomplete' | 'Error';2298 }2310 }229923112300 /** @name CumulusPalletXcmEvent (280) */2312 /** @name CumulusPalletXcmEvent (283) */2301 export interface CumulusPalletXcmEvent extends Enum {2313 export interface CumulusPalletXcmEvent extends Enum {2302 readonly isInvalidFormat: boolean;2314 readonly isInvalidFormat: boolean;2303 readonly asInvalidFormat: U8aFixed;2315 readonly asInvalidFormat: U8aFixed;2308 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2320 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2309 }2321 }231023222311 /** @name CumulusPalletDmpQueueEvent (281) */2323 /** @name CumulusPalletDmpQueueEvent (284) */2312 export interface CumulusPalletDmpQueueEvent extends Enum {2324 export interface CumulusPalletDmpQueueEvent extends Enum {2313 readonly isInvalidFormat: boolean;2325 readonly isInvalidFormat: boolean;2314 readonly asInvalidFormat: U8aFixed;2326 readonly asInvalidFormat: U8aFixed;2325 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2337 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2326 }2338 }232723392328 /** @name PalletUniqueRawEvent (282) */2340 /** @name PalletUniqueRawEvent (285) */2329 export interface PalletUniqueRawEvent extends Enum {2341 export interface PalletUniqueRawEvent extends Enum {2330 readonly isCollectionSponsorRemoved: boolean;2342 readonly isCollectionSponsorRemoved: boolean;2331 readonly asCollectionSponsorRemoved: u32;2343 readonly asCollectionSponsorRemoved: u32;2350 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2362 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2351 }2363 }235223642353 /** @name PalletUniqueSchedulerEvent (283) */2365 /** @name PalletUniqueSchedulerEvent (286) */2354 export interface PalletUniqueSchedulerEvent extends Enum {2366 export interface PalletUniqueSchedulerEvent extends Enum {2355 readonly isScheduled: boolean;2367 readonly isScheduled: boolean;2356 readonly asScheduled: {2368 readonly asScheduled: {2377 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2389 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2378 }2390 }237923912380 /** @name FrameSupportScheduleLookupError (285) */2392 /** @name FrameSupportScheduleLookupError (288) */2381 export interface FrameSupportScheduleLookupError extends Enum {2393 export interface FrameSupportScheduleLookupError extends Enum {2382 readonly isUnknown: boolean;2394 readonly isUnknown: boolean;2383 readonly isBadFormat: boolean;2395 readonly isBadFormat: boolean;2384 readonly type: 'Unknown' | 'BadFormat';2396 readonly type: 'Unknown' | 'BadFormat';2385 }2397 }238623982387 /** @name PalletCommonEvent (286) */2399 /** @name PalletCommonEvent (289) */2388 export interface PalletCommonEvent extends Enum {2400 export interface PalletCommonEvent extends Enum {2389 readonly isCollectionCreated: boolean;2401 readonly isCollectionCreated: boolean;2390 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2402 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2411 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2423 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2412 }2424 }241324252414 /** @name PalletStructureEvent (287) */2426 /** @name PalletStructureEvent (290) */2415 export interface PalletStructureEvent extends Enum {2427 export interface PalletStructureEvent extends Enum {2416 readonly isExecuted: boolean;2428 readonly isExecuted: boolean;2417 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2429 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2418 readonly type: 'Executed';2430 readonly type: 'Executed';2419 }2431 }242024322421 /** @name PalletRmrkCoreEvent (288) */2433 /** @name PalletRmrkCoreEvent (291) */2422 export interface PalletRmrkCoreEvent extends Enum {2434 export interface PalletRmrkCoreEvent extends Enum {2423 readonly isCollectionCreated: boolean;2435 readonly isCollectionCreated: boolean;2424 readonly asCollectionCreated: {2436 readonly asCollectionCreated: {2508 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2520 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2509 }2521 }251025222511 /** @name PalletRmrkEquipEvent (289) */2523 /** @name PalletRmrkEquipEvent (292) */2512 export interface PalletRmrkEquipEvent extends Enum {2524 export interface PalletRmrkEquipEvent extends Enum {2513 readonly isBaseCreated: boolean;2525 readonly isBaseCreated: boolean;2514 readonly asBaseCreated: {2526 readonly asBaseCreated: {2518 readonly type: 'BaseCreated';2530 readonly type: 'BaseCreated';2519 }2531 }252025322521 /** @name PalletEvmEvent (290) */2533 /** @name PalletEvmEvent (293) */2522 export interface PalletEvmEvent extends Enum {2534 export interface PalletEvmEvent extends Enum {2523 readonly isLog: boolean;2535 readonly isLog: boolean;2524 readonly asLog: EthereumLog;2536 readonly asLog: EthereumLog;2537 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2549 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2538 }2550 }253925512540 /** @name EthereumLog (291) */2552 /** @name EthereumLog (294) */2541 export interface EthereumLog extends Struct {2553 export interface EthereumLog extends Struct {2542 readonly address: H160;2554 readonly address: H160;2543 readonly topics: Vec<H256>;2555 readonly topics: Vec<H256>;2544 readonly data: Bytes;2556 readonly data: Bytes;2545 }2557 }254625582547 /** @name PalletEthereumEvent (292) */2559 /** @name PalletEthereumEvent (295) */2548 export interface PalletEthereumEvent extends Enum {2560 export interface PalletEthereumEvent extends Enum {2549 readonly isExecuted: boolean;2561 readonly isExecuted: boolean;2550 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2562 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2551 readonly type: 'Executed';2563 readonly type: 'Executed';2552 }2564 }255325652554 /** @name EvmCoreErrorExitReason (293) */2566 /** @name EvmCoreErrorExitReason (296) */2555 export interface EvmCoreErrorExitReason extends Enum {2567 export interface EvmCoreErrorExitReason extends Enum {2556 readonly isSucceed: boolean;2568 readonly isSucceed: boolean;2557 readonly asSucceed: EvmCoreErrorExitSucceed;2569 readonly asSucceed: EvmCoreErrorExitSucceed;2564 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2576 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2565 }2577 }256625782567 /** @name EvmCoreErrorExitSucceed (294) */2579 /** @name EvmCoreErrorExitSucceed (297) */2568 export interface EvmCoreErrorExitSucceed extends Enum {2580 export interface EvmCoreErrorExitSucceed extends Enum {2569 readonly isStopped: boolean;2581 readonly isStopped: boolean;2570 readonly isReturned: boolean;2582 readonly isReturned: boolean;2571 readonly isSuicided: boolean;2583 readonly isSuicided: boolean;2572 readonly type: 'Stopped' | 'Returned' | 'Suicided';2584 readonly type: 'Stopped' | 'Returned' | 'Suicided';2573 }2585 }257425862575 /** @name EvmCoreErrorExitError (295) */2587 /** @name EvmCoreErrorExitError (298) */2576 export interface EvmCoreErrorExitError extends Enum {2588 export interface EvmCoreErrorExitError extends Enum {2577 readonly isStackUnderflow: boolean;2589 readonly isStackUnderflow: boolean;2578 readonly isStackOverflow: boolean;2590 readonly isStackOverflow: boolean;2593 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2605 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2594 }2606 }259526072596 /** @name EvmCoreErrorExitRevert (298) */2608 /** @name EvmCoreErrorExitRevert (301) */2597 export interface EvmCoreErrorExitRevert extends Enum {2609 export interface EvmCoreErrorExitRevert extends Enum {2598 readonly isReverted: boolean;2610 readonly isReverted: boolean;2599 readonly type: 'Reverted';2611 readonly type: 'Reverted';2600 }2612 }260126132602 /** @name EvmCoreErrorExitFatal (299) */2614 /** @name EvmCoreErrorExitFatal (302) */2603 export interface EvmCoreErrorExitFatal extends Enum {2615 export interface EvmCoreErrorExitFatal extends Enum {2604 readonly isNotSupported: boolean;2616 readonly isNotSupported: boolean;2605 readonly isUnhandledInterrupt: boolean;2617 readonly isUnhandledInterrupt: boolean;2610 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2622 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2611 }2623 }261226242613 /** @name FrameSystemPhase (300) */2625 /** @name FrameSystemPhase (303) */2614 export interface FrameSystemPhase extends Enum {2626 export interface FrameSystemPhase extends Enum {2615 readonly isApplyExtrinsic: boolean;2627 readonly isApplyExtrinsic: boolean;2616 readonly asApplyExtrinsic: u32;2628 readonly asApplyExtrinsic: u32;2619 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2631 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2620 }2632 }262126332622 /** @name FrameSystemLastRuntimeUpgradeInfo (302) */2634 /** @name FrameSystemLastRuntimeUpgradeInfo (305) */2623 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2635 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2624 readonly specVersion: Compact<u32>;2636 readonly specVersion: Compact<u32>;2625 readonly specName: Text;2637 readonly specName: Text;2626 }2638 }262726392628 /** @name FrameSystemLimitsBlockWeights (303) */2640 /** @name FrameSystemLimitsBlockWeights (306) */2629 export interface FrameSystemLimitsBlockWeights extends Struct {2641 export interface FrameSystemLimitsBlockWeights extends Struct {2630 readonly baseBlock: u64;2642 readonly baseBlock: u64;2631 readonly maxBlock: u64;2643 readonly maxBlock: u64;2632 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2644 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2633 }2645 }263426462635 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (304) */2647 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (307) */2636 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2648 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2637 readonly normal: FrameSystemLimitsWeightsPerClass;2649 readonly normal: FrameSystemLimitsWeightsPerClass;2638 readonly operational: FrameSystemLimitsWeightsPerClass;2650 readonly operational: FrameSystemLimitsWeightsPerClass;2639 readonly mandatory: FrameSystemLimitsWeightsPerClass;2651 readonly mandatory: FrameSystemLimitsWeightsPerClass;2640 }2652 }264126532642 /** @name FrameSystemLimitsWeightsPerClass (305) */2654 /** @name FrameSystemLimitsWeightsPerClass (308) */2643 export interface FrameSystemLimitsWeightsPerClass extends Struct {2655 export interface FrameSystemLimitsWeightsPerClass extends Struct {2644 readonly baseExtrinsic: u64;2656 readonly baseExtrinsic: u64;2645 readonly maxExtrinsic: Option<u64>;2657 readonly maxExtrinsic: Option<u64>;2646 readonly maxTotal: Option<u64>;2658 readonly maxTotal: Option<u64>;2647 readonly reserved: Option<u64>;2659 readonly reserved: Option<u64>;2648 }2660 }264926612650 /** @name FrameSystemLimitsBlockLength (307) */2662 /** @name FrameSystemLimitsBlockLength (310) */2651 export interface FrameSystemLimitsBlockLength extends Struct {2663 export interface FrameSystemLimitsBlockLength extends Struct {2652 readonly max: FrameSupportWeightsPerDispatchClassU32;2664 readonly max: FrameSupportWeightsPerDispatchClassU32;2653 }2665 }265426662655 /** @name FrameSupportWeightsPerDispatchClassU32 (308) */2667 /** @name FrameSupportWeightsPerDispatchClassU32 (311) */2656 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2668 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2657 readonly normal: u32;2669 readonly normal: u32;2658 readonly operational: u32;2670 readonly operational: u32;2659 readonly mandatory: u32;2671 readonly mandatory: u32;2660 }2672 }266126732662 /** @name FrameSupportWeightsRuntimeDbWeight (309) */2674 /** @name FrameSupportWeightsRuntimeDbWeight (312) */2663 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2675 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2664 readonly read: u64;2676 readonly read: u64;2665 readonly write: u64;2677 readonly write: u64;2666 }2678 }266726792668 /** @name SpVersionRuntimeVersion (310) */2680 /** @name SpVersionRuntimeVersion (313) */2669 export interface SpVersionRuntimeVersion extends Struct {2681 export interface SpVersionRuntimeVersion extends Struct {2670 readonly specName: Text;2682 readonly specName: Text;2671 readonly implName: Text;2683 readonly implName: Text;2677 readonly stateVersion: u8;2689 readonly stateVersion: u8;2678 }2690 }267926912680 /** @name FrameSystemError (314) */2692 /** @name FrameSystemError (317) */2681 export interface FrameSystemError extends Enum {2693 export interface FrameSystemError extends Enum {2682 readonly isInvalidSpecName: boolean;2694 readonly isInvalidSpecName: boolean;2683 readonly isSpecVersionNeedsToIncrease: boolean;2695 readonly isSpecVersionNeedsToIncrease: boolean;2688 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2700 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2689 }2701 }269027022691 /** @name OrmlVestingModuleError (316) */2703 /** @name OrmlVestingModuleError (319) */2692 export interface OrmlVestingModuleError extends Enum {2704 export interface OrmlVestingModuleError extends Enum {2693 readonly isZeroVestingPeriod: boolean;2705 readonly isZeroVestingPeriod: boolean;2694 readonly isZeroVestingPeriodCount: boolean;2706 readonly isZeroVestingPeriodCount: boolean;2699 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2711 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2700 }2712 }270127132702 /** @name CumulusPalletXcmpQueueInboundChannelDetails (318) */2714 /** @name CumulusPalletXcmpQueueInboundChannelDetails (321) */2703 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2715 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2704 readonly sender: u32;2716 readonly sender: u32;2705 readonly state: CumulusPalletXcmpQueueInboundState;2717 readonly state: CumulusPalletXcmpQueueInboundState;2706 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2718 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2707 }2719 }270827202709 /** @name CumulusPalletXcmpQueueInboundState (319) */2721 /** @name CumulusPalletXcmpQueueInboundState (322) */2710 export interface CumulusPalletXcmpQueueInboundState extends Enum {2722 export interface CumulusPalletXcmpQueueInboundState extends Enum {2711 readonly isOk: boolean;2723 readonly isOk: boolean;2712 readonly isSuspended: boolean;2724 readonly isSuspended: boolean;2713 readonly type: 'Ok' | 'Suspended';2725 readonly type: 'Ok' | 'Suspended';2714 }2726 }271527272716 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (322) */2728 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (325) */2717 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2729 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2718 readonly isConcatenatedVersionedXcm: boolean;2730 readonly isConcatenatedVersionedXcm: boolean;2719 readonly isConcatenatedEncodedBlob: boolean;2731 readonly isConcatenatedEncodedBlob: boolean;2720 readonly isSignals: boolean;2732 readonly isSignals: boolean;2721 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2733 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2722 }2734 }272327352724 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (325) */2736 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (328) */2725 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2737 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2726 readonly recipient: u32;2738 readonly recipient: u32;2727 readonly state: CumulusPalletXcmpQueueOutboundState;2739 readonly state: CumulusPalletXcmpQueueOutboundState;2730 readonly lastIndex: u16;2742 readonly lastIndex: u16;2731 }2743 }273227442733 /** @name CumulusPalletXcmpQueueOutboundState (326) */2745 /** @name CumulusPalletXcmpQueueOutboundState (329) */2734 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2746 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2735 readonly isOk: boolean;2747 readonly isOk: boolean;2736 readonly isSuspended: boolean;2748 readonly isSuspended: boolean;2737 readonly type: 'Ok' | 'Suspended';2749 readonly type: 'Ok' | 'Suspended';2738 }2750 }273927512740 /** @name CumulusPalletXcmpQueueQueueConfigData (328) */2752 /** @name CumulusPalletXcmpQueueQueueConfigData (331) */2741 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2753 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2742 readonly suspendThreshold: u32;2754 readonly suspendThreshold: u32;2743 readonly dropThreshold: u32;2755 readonly dropThreshold: u32;2747 readonly xcmpMaxIndividualWeight: u64;2759 readonly xcmpMaxIndividualWeight: u64;2748 }2760 }274927612750 /** @name CumulusPalletXcmpQueueError (330) */2762 /** @name CumulusPalletXcmpQueueError (333) */2751 export interface CumulusPalletXcmpQueueError extends Enum {2763 export interface CumulusPalletXcmpQueueError extends Enum {2752 readonly isFailedToSend: boolean;2764 readonly isFailedToSend: boolean;2753 readonly isBadXcmOrigin: boolean;2765 readonly isBadXcmOrigin: boolean;2757 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2769 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2758 }2770 }275927712760 /** @name PalletXcmError (331) */2772 /** @name PalletXcmError (334) */2761 export interface PalletXcmError extends Enum {2773 export interface PalletXcmError extends Enum {2762 readonly isUnreachable: boolean;2774 readonly isUnreachable: boolean;2763 readonly isSendFailure: boolean;2775 readonly isSendFailure: boolean;2775 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2787 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2776 }2788 }277727892778 /** @name CumulusPalletXcmError (332) */2790 /** @name CumulusPalletXcmError (335) */2779 export type CumulusPalletXcmError = Null;2791 export type CumulusPalletXcmError = Null;278027922781 /** @name CumulusPalletDmpQueueConfigData (333) */2793 /** @name CumulusPalletDmpQueueConfigData (336) */2782 export interface CumulusPalletDmpQueueConfigData extends Struct {2794 export interface CumulusPalletDmpQueueConfigData extends Struct {2783 readonly maxIndividual: u64;2795 readonly maxIndividual: u64;2784 }2796 }278527972786 /** @name CumulusPalletDmpQueuePageIndexData (334) */2798 /** @name CumulusPalletDmpQueuePageIndexData (337) */2787 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2799 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2788 readonly beginUsed: u32;2800 readonly beginUsed: u32;2789 readonly endUsed: u32;2801 readonly endUsed: u32;2790 readonly overweightCount: u64;2802 readonly overweightCount: u64;2791 }2803 }279228042793 /** @name CumulusPalletDmpQueueError (337) */2805 /** @name CumulusPalletDmpQueueError (340) */2794 export interface CumulusPalletDmpQueueError extends Enum {2806 export interface CumulusPalletDmpQueueError extends Enum {2795 readonly isUnknown: boolean;2807 readonly isUnknown: boolean;2796 readonly isOverLimit: boolean;2808 readonly isOverLimit: boolean;2797 readonly type: 'Unknown' | 'OverLimit';2809 readonly type: 'Unknown' | 'OverLimit';2798 }2810 }279928112800 /** @name PalletUniqueError (341) */2812 /** @name PalletUniqueError (344) */2801 export interface PalletUniqueError extends Enum {2813 export interface PalletUniqueError extends Enum {2802 readonly isCollectionDecimalPointLimitExceeded: boolean;2814 readonly isCollectionDecimalPointLimitExceeded: boolean;2803 readonly isConfirmUnsetSponsorFail: boolean;2815 readonly isConfirmUnsetSponsorFail: boolean;2804 readonly isEmptyArgument: boolean;2816 readonly isEmptyArgument: boolean;2805 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2817 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2806 }2818 }280728192808 /** @name PalletUniqueSchedulerScheduledV3 (344) */2820 /** @name PalletUniqueSchedulerScheduledV3 (347) */2809 export interface PalletUniqueSchedulerScheduledV3 extends Struct {2821 export interface PalletUniqueSchedulerScheduledV3 extends Struct {2810 readonly maybeId: Option<U8aFixed>;2822 readonly maybeId: Option<U8aFixed>;2811 readonly priority: u8;2823 readonly priority: u8;2814 readonly origin: OpalRuntimeOriginCaller;2826 readonly origin: OpalRuntimeOriginCaller;2815 }2827 }281628282817 /** @name OpalRuntimeOriginCaller (345) */2829 /** @name OpalRuntimeOriginCaller (348) */2818 export interface OpalRuntimeOriginCaller extends Enum {2830 export interface OpalRuntimeOriginCaller extends Enum {2819 readonly isVoid: boolean;2831 readonly isVoid: boolean;2820 readonly isSystem: boolean;2832 readonly isSystem: boolean;2828 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2840 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2829 }2841 }283028422831 /** @name FrameSupportDispatchRawOrigin (346) */2843 /** @name FrameSupportDispatchRawOrigin (349) */2832 export interface FrameSupportDispatchRawOrigin extends Enum {2844 export interface FrameSupportDispatchRawOrigin extends Enum {2833 readonly isRoot: boolean;2845 readonly isRoot: boolean;2834 readonly isSigned: boolean;2846 readonly isSigned: boolean;2837 readonly type: 'Root' | 'Signed' | 'None';2849 readonly type: 'Root' | 'Signed' | 'None';2838 }2850 }283928512840 /** @name PalletXcmOrigin (347) */2852 /** @name PalletXcmOrigin (350) */2841 export interface PalletXcmOrigin extends Enum {2853 export interface PalletXcmOrigin extends Enum {2842 readonly isXcm: boolean;2854 readonly isXcm: boolean;2843 readonly asXcm: XcmV1MultiLocation;2855 readonly asXcm: XcmV1MultiLocation;2846 readonly type: 'Xcm' | 'Response';2858 readonly type: 'Xcm' | 'Response';2847 }2859 }284828602849 /** @name CumulusPalletXcmOrigin (348) */2861 /** @name CumulusPalletXcmOrigin (351) */2850 export interface CumulusPalletXcmOrigin extends Enum {2862 export interface CumulusPalletXcmOrigin extends Enum {2851 readonly isRelay: boolean;2863 readonly isRelay: boolean;2852 readonly isSiblingParachain: boolean;2864 readonly isSiblingParachain: boolean;2853 readonly asSiblingParachain: u32;2865 readonly asSiblingParachain: u32;2854 readonly type: 'Relay' | 'SiblingParachain';2866 readonly type: 'Relay' | 'SiblingParachain';2855 }2867 }285628682857 /** @name PalletEthereumRawOrigin (349) */2869 /** @name PalletEthereumRawOrigin (352) */2858 export interface PalletEthereumRawOrigin extends Enum {2870 export interface PalletEthereumRawOrigin extends Enum {2859 readonly isEthereumTransaction: boolean;2871 readonly isEthereumTransaction: boolean;2860 readonly asEthereumTransaction: H160;2872 readonly asEthereumTransaction: H160;2861 readonly type: 'EthereumTransaction';2873 readonly type: 'EthereumTransaction';2862 }2874 }286328752864 /** @name SpCoreVoid (350) */2876 /** @name SpCoreVoid (353) */2865 export type SpCoreVoid = Null;2877 export type SpCoreVoid = Null;286628782867 /** @name PalletUniqueSchedulerError (351) */2879 /** @name PalletUniqueSchedulerError (354) */2868 export interface PalletUniqueSchedulerError extends Enum {2880 export interface PalletUniqueSchedulerError extends Enum {2869 readonly isFailedToSchedule: boolean;2881 readonly isFailedToSchedule: boolean;2870 readonly isNotFound: boolean;2882 readonly isNotFound: boolean;2873 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2885 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2874 }2886 }287528872876 /** @name UpDataStructsCollection (352) */2888 /** @name UpDataStructsCollection (355) */2877 export interface UpDataStructsCollection extends Struct {2889 export interface UpDataStructsCollection extends Struct {2878 readonly owner: AccountId32;2890 readonly owner: AccountId32;2879 readonly mode: UpDataStructsCollectionMode;2891 readonly mode: UpDataStructsCollectionMode;2886 readonly externalCollection: bool;2898 readonly externalCollection: bool;2887 }2899 }288829002889 /** @name UpDataStructsSponsorshipState (353) */2901 /** @name UpDataStructsSponsorshipState (356) */2890 export interface UpDataStructsSponsorshipState extends Enum {2902 export interface UpDataStructsSponsorshipState extends Enum {2891 readonly isDisabled: boolean;2903 readonly isDisabled: boolean;2892 readonly isUnconfirmed: boolean;2904 readonly isUnconfirmed: boolean;2896 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2908 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2897 }2909 }289829102899 /** @name UpDataStructsProperties (354) */2911 /** @name UpDataStructsProperties (357) */2900 export interface UpDataStructsProperties extends Struct {2912 export interface UpDataStructsProperties extends Struct {2901 readonly map: UpDataStructsPropertiesMapBoundedVec;2913 readonly map: UpDataStructsPropertiesMapBoundedVec;2902 readonly consumedSpace: u32;2914 readonly consumedSpace: u32;2903 readonly spaceLimit: u32;2915 readonly spaceLimit: u32;2904 }2916 }290529172906 /** @name UpDataStructsPropertiesMapBoundedVec (355) */2918 /** @name UpDataStructsPropertiesMapBoundedVec (358) */2907 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2919 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}290829202909 /** @name UpDataStructsPropertiesMapPropertyPermission (360) */2921 /** @name UpDataStructsPropertiesMapPropertyPermission (363) */2910 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2922 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}291129232912 /** @name UpDataStructsCollectionStats (367) */2924 /** @name UpDataStructsCollectionStats (370) */2913 export interface UpDataStructsCollectionStats extends Struct {2925 export interface UpDataStructsCollectionStats extends Struct {2914 readonly created: u32;2926 readonly created: u32;2915 readonly destroyed: u32;2927 readonly destroyed: u32;2916 readonly alive: u32;2928 readonly alive: u32;2917 }2929 }291829302919 /** @name UpDataStructsTokenChild (368) */2931 /** @name UpDataStructsTokenChild (371) */2920 export interface UpDataStructsTokenChild extends Struct {2932 export interface UpDataStructsTokenChild extends Struct {2921 readonly token: u32;2933 readonly token: u32;2922 readonly collection: u32;2934 readonly collection: u32;2923 }2935 }292429362925 /** @name PhantomTypeUpDataStructs (369) */2937 /** @name PhantomTypeUpDataStructs (372) */2926 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}2938 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}292729392928 /** @name UpDataStructsTokenData (371) */2940 /** @name UpDataStructsTokenData (374) */2929 export interface UpDataStructsTokenData extends Struct {2941 export interface UpDataStructsTokenData extends Struct {2930 readonly properties: Vec<UpDataStructsProperty>;2942 readonly properties: Vec<UpDataStructsProperty>;2931 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2943 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2932 }2944 }293329452934 /** @name UpDataStructsRpcCollection (373) */2946 /** @name UpDataStructsRpcCollection (376) */2935 export interface UpDataStructsRpcCollection extends Struct {2947 export interface UpDataStructsRpcCollection extends Struct {2936 readonly owner: AccountId32;2948 readonly owner: AccountId32;2937 readonly mode: UpDataStructsCollectionMode;2949 readonly mode: UpDataStructsCollectionMode;2946 readonly readOnly: bool;2958 readonly readOnly: bool;2947 }2959 }294829602949 /** @name RmrkTraitsCollectionCollectionInfo (374) */2961 /** @name RmrkTraitsCollectionCollectionInfo (377) */2950 export interface RmrkTraitsCollectionCollectionInfo extends Struct {2962 export interface RmrkTraitsCollectionCollectionInfo extends Struct {2951 readonly issuer: AccountId32;2963 readonly issuer: AccountId32;2952 readonly metadata: Bytes;2964 readonly metadata: Bytes;2955 readonly nftsCount: u32;2967 readonly nftsCount: u32;2956 }2968 }295729692958 /** @name RmrkTraitsNftNftInfo (375) */2970 /** @name RmrkTraitsNftNftInfo (378) */2959 export interface RmrkTraitsNftNftInfo extends Struct {2971 export interface RmrkTraitsNftNftInfo extends Struct {2960 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2972 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2961 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2973 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2964 readonly pending: bool;2976 readonly pending: bool;2965 }2977 }296629782967 /** @name RmrkTraitsNftRoyaltyInfo (377) */2979 /** @name RmrkTraitsNftRoyaltyInfo (380) */2968 export interface RmrkTraitsNftRoyaltyInfo extends Struct {2980 export interface RmrkTraitsNftRoyaltyInfo extends Struct {2969 readonly recipient: AccountId32;2981 readonly recipient: AccountId32;2970 readonly amount: Permill;2982 readonly amount: Permill;2971 }2983 }297229842973 /** @name RmrkTraitsResourceResourceInfo (378) */2985 /** @name RmrkTraitsResourceResourceInfo (381) */2974 export interface RmrkTraitsResourceResourceInfo extends Struct {2986 export interface RmrkTraitsResourceResourceInfo extends Struct {2975 readonly id: u32;2987 readonly id: u32;2976 readonly resource: RmrkTraitsResourceResourceTypes;2988 readonly resource: RmrkTraitsResourceResourceTypes;2977 readonly pending: bool;2989 readonly pending: bool;2978 readonly pendingRemoval: bool;2990 readonly pendingRemoval: bool;2979 }2991 }29802981 /** @name RmrkTraitsResourceResourceTypes (379) */2982 export interface RmrkTraitsResourceResourceTypes extends Enum {2983 readonly isBasic: boolean;2984 readonly asBasic: RmrkTraitsResourceBasicResource;2985 readonly isComposable: boolean;2986 readonly asComposable: RmrkTraitsResourceComposableResource;2987 readonly isSlot: boolean;2988 readonly asSlot: RmrkTraitsResourceSlotResource;2989 readonly type: 'Basic' | 'Composable' | 'Slot';2990 }299129922992 /** @name RmrkTraitsPropertyPropertyInfo (380) */2993 /** @name RmrkTraitsPropertyPropertyInfo (382) */2993 export interface RmrkTraitsPropertyPropertyInfo extends Struct {2994 export interface RmrkTraitsPropertyPropertyInfo extends Struct {2994 readonly key: Bytes;2995 readonly key: Bytes;2995 readonly value: Bytes;2996 readonly value: Bytes;2996 }2997 }299729982998 /** @name RmrkTraitsBaseBaseInfo (381) */2999 /** @name RmrkTraitsBaseBaseInfo (383) */2999 export interface RmrkTraitsBaseBaseInfo extends Struct {3000 export interface RmrkTraitsBaseBaseInfo extends Struct {3000 readonly issuer: AccountId32;3001 readonly issuer: AccountId32;3001 readonly baseType: Bytes;3002 readonly baseType: Bytes;3002 readonly symbol: Bytes;3003 readonly symbol: Bytes;3003 }3004 }300430053005 /** @name RmrkTraitsNftNftChild (382) */3006 /** @name RmrkTraitsNftNftChild (384) */3006 export interface RmrkTraitsNftNftChild extends Struct {3007 export interface RmrkTraitsNftNftChild extends Struct {3007 readonly collectionId: u32;3008 readonly collectionId: u32;3008 readonly nftId: u32;3009 readonly nftId: u32;3009 }3010 }301030113011 /** @name PalletCommonError (384) */3012 /** @name PalletCommonError (386) */3012 export interface PalletCommonError extends Enum {3013 export interface PalletCommonError extends Enum {3013 readonly isCollectionNotFound: boolean;3014 readonly isCollectionNotFound: boolean;3014 readonly isMustBeTokenOwner: boolean;3015 readonly isMustBeTokenOwner: boolean;3047 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';3048 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';3048 }3049 }304930503050 /** @name PalletFungibleError (386) */3051 /** @name PalletFungibleError (388) */3051 export interface PalletFungibleError extends Enum {3052 export interface PalletFungibleError extends Enum {3052 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3053 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3053 readonly isFungibleItemsHaveNoId: boolean;3054 readonly isFungibleItemsHaveNoId: boolean;3057 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3058 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3058 }3059 }305930603060 /** @name PalletRefungibleItemData (387) */3061 /** @name PalletRefungibleItemData (389) */3061 export interface PalletRefungibleItemData extends Struct {3062 export interface PalletRefungibleItemData extends Struct {3062 readonly constData: Bytes;3063 readonly constData: Bytes;3063 }3064 }306430653065 /** @name PalletRefungibleError (391) */3066 /** @name PalletRefungibleError (393) */3066 export interface PalletRefungibleError extends Enum {3067 export interface PalletRefungibleError extends Enum {3067 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3068 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3068 readonly isWrongRefungiblePieces: boolean;3069 readonly isWrongRefungiblePieces: boolean;3071 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3072 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3072 }3073 }307330743074 /** @name PalletNonfungibleItemData (392) */3075 /** @name PalletNonfungibleItemData (394) */3075 export interface PalletNonfungibleItemData extends Struct {3076 export interface PalletNonfungibleItemData extends Struct {3076 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3077 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3077 }3078 }307830793079 /** @name PalletNonfungibleError (394) */3080 /** @name PalletNonfungibleError (396) */3080 export interface PalletNonfungibleError extends Enum {3081 export interface PalletNonfungibleError extends Enum {3081 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3082 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3082 readonly isNonfungibleItemsHaveNoAmount: boolean;3083 readonly isNonfungibleItemsHaveNoAmount: boolean;3083 readonly isCantBurnNftWithChildren: boolean;3084 readonly isCantBurnNftWithChildren: boolean;3084 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3085 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3085 }3086 }308630873087 /** @name PalletStructureError (395) */3088 /** @name PalletStructureError (397) */3088 export interface PalletStructureError extends Enum {3089 export interface PalletStructureError extends Enum {3089 readonly isOuroborosDetected: boolean;3090 readonly isOuroborosDetected: boolean;3090 readonly isDepthLimit: boolean;3091 readonly isDepthLimit: boolean;3093 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3094 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3094 }3095 }309530963096 /** @name PalletRmrkCoreError (396) */3097 /** @name PalletRmrkCoreError (398) */3097 export interface PalletRmrkCoreError extends Enum {3098 export interface PalletRmrkCoreError extends Enum {3098 readonly isCorruptedCollectionType: boolean;3099 readonly isCorruptedCollectionType: boolean;3099 readonly isNftTypeEncodeError: boolean;3100 readonly isNftTypeEncodeError: boolean;3100 readonly isRmrkPropertyKeyIsTooLong: boolean;3101 readonly isRmrkPropertyKeyIsTooLong: boolean;3101 readonly isRmrkPropertyValueIsTooLong: boolean;3102 readonly isRmrkPropertyValueIsTooLong: boolean;3103 readonly isUnableToDecodeRmrkData: boolean;3102 readonly isCollectionNotEmpty: boolean;3104 readonly isCollectionNotEmpty: boolean;3103 readonly isNoAvailableCollectionId: boolean;3105 readonly isNoAvailableCollectionId: boolean;3104 readonly isNoAvailableNftId: boolean;3106 readonly isNoAvailableNftId: boolean;3111 readonly isCannotAcceptNonOwnedNft: boolean;3113 readonly isCannotAcceptNonOwnedNft: boolean;3112 readonly isCannotRejectNonOwnedNft: boolean;3114 readonly isCannotRejectNonOwnedNft: boolean;3113 readonly isResourceNotPending: boolean;3115 readonly isResourceNotPending: boolean;3114 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';3116 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';3115 }3117 }311631183117 /** @name PalletRmrkEquipError (398) */3119 /** @name PalletRmrkEquipError (400) */3118 export interface PalletRmrkEquipError extends Enum {3120 export interface PalletRmrkEquipError extends Enum {3119 readonly isPermissionError: boolean;3121 readonly isPermissionError: boolean;3120 readonly isNoAvailableBaseId: boolean;3122 readonly isNoAvailableBaseId: boolean;3124 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';3126 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';3125 }3127 }312631283127 /** @name PalletEvmError (401) */3129 /** @name PalletEvmError (403) */3128 export interface PalletEvmError extends Enum {3130 export interface PalletEvmError extends Enum {3129 readonly isBalanceLow: boolean;3131 readonly isBalanceLow: boolean;3130 readonly isFeeOverflow: boolean;3132 readonly isFeeOverflow: boolean;3135 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3137 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3136 }3138 }313731393138 /** @name FpRpcTransactionStatus (404) */3140 /** @name FpRpcTransactionStatus (406) */3139 export interface FpRpcTransactionStatus extends Struct {3141 export interface FpRpcTransactionStatus extends Struct {3140 readonly transactionHash: H256;3142 readonly transactionHash: H256;3141 readonly transactionIndex: u32;3143 readonly transactionIndex: u32;3146 readonly logsBloom: EthbloomBloom;3148 readonly logsBloom: EthbloomBloom;3147 }3149 }314831503149 /** @name EthbloomBloom (406) */3151 /** @name EthbloomBloom (408) */3150 export interface EthbloomBloom extends U8aFixed {}3152 export interface EthbloomBloom extends U8aFixed {}315131533152 /** @name EthereumReceiptReceiptV3 (408) */3154 /** @name EthereumReceiptReceiptV3 (410) */3153 export interface EthereumReceiptReceiptV3 extends Enum {3155 export interface EthereumReceiptReceiptV3 extends Enum {3154 readonly isLegacy: boolean;3156 readonly isLegacy: boolean;3155 readonly asLegacy: EthereumReceiptEip658ReceiptData;3157 readonly asLegacy: EthereumReceiptEip658ReceiptData;3160 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3162 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3161 }3163 }316231643163 /** @name EthereumReceiptEip658ReceiptData (409) */3165 /** @name EthereumReceiptEip658ReceiptData (411) */3164 export interface EthereumReceiptEip658ReceiptData extends Struct {3166 export interface EthereumReceiptEip658ReceiptData extends Struct {3165 readonly statusCode: u8;3167 readonly statusCode: u8;3166 readonly usedGas: U256;3168 readonly usedGas: U256;3167 readonly logsBloom: EthbloomBloom;3169 readonly logsBloom: EthbloomBloom;3168 readonly logs: Vec<EthereumLog>;3170 readonly logs: Vec<EthereumLog>;3169 }3171 }317031723171 /** @name EthereumBlock (410) */3173 /** @name EthereumBlock (412) */3172 export interface EthereumBlock extends Struct {3174 export interface EthereumBlock extends Struct {3173 readonly header: EthereumHeader;3175 readonly header: EthereumHeader;3174 readonly transactions: Vec<EthereumTransactionTransactionV2>;3176 readonly transactions: Vec<EthereumTransactionTransactionV2>;3175 readonly ommers: Vec<EthereumHeader>;3177 readonly ommers: Vec<EthereumHeader>;3176 }3178 }317731793178 /** @name EthereumHeader (411) */3180 /** @name EthereumHeader (413) */3179 export interface EthereumHeader extends Struct {3181 export interface EthereumHeader extends Struct {3180 readonly parentHash: H256;3182 readonly parentHash: H256;3181 readonly ommersHash: H256;3183 readonly ommersHash: H256;3194 readonly nonce: EthereumTypesHashH64;3196 readonly nonce: EthereumTypesHashH64;3195 }3197 }319631983197 /** @name EthereumTypesHashH64 (412) */3199 /** @name EthereumTypesHashH64 (414) */3198 export interface EthereumTypesHashH64 extends U8aFixed {}3200 export interface EthereumTypesHashH64 extends U8aFixed {}319932013200 /** @name PalletEthereumError (417) */3202 /** @name PalletEthereumError (419) */3201 export interface PalletEthereumError extends Enum {3203 export interface PalletEthereumError extends Enum {3202 readonly isInvalidSignature: boolean;3204 readonly isInvalidSignature: boolean;3203 readonly isPreLogExists: boolean;3205 readonly isPreLogExists: boolean;3204 readonly type: 'InvalidSignature' | 'PreLogExists';3206 readonly type: 'InvalidSignature' | 'PreLogExists';3205 }3207 }320632083207 /** @name PalletEvmCoderSubstrateError (418) */3209 /** @name PalletEvmCoderSubstrateError (420) */3208 export interface PalletEvmCoderSubstrateError extends Enum {3210 export interface PalletEvmCoderSubstrateError extends Enum {3209 readonly isOutOfGas: boolean;3211 readonly isOutOfGas: boolean;3210 readonly isOutOfFund: boolean;3212 readonly isOutOfFund: boolean;3211 readonly type: 'OutOfGas' | 'OutOfFund';3213 readonly type: 'OutOfGas' | 'OutOfFund';3212 }3214 }321332153214 /** @name PalletEvmContractHelpersSponsoringModeT (419) */3216 /** @name PalletEvmContractHelpersSponsoringModeT (421) */3215 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3217 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3216 readonly isDisabled: boolean;3218 readonly isDisabled: boolean;3217 readonly isAllowlisted: boolean;3219 readonly isAllowlisted: boolean;3218 readonly isGenerous: boolean;3220 readonly isGenerous: boolean;3219 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3221 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3220 }3222 }322132233222 /** @name PalletEvmContractHelpersError (421) */3224 /** @name PalletEvmContractHelpersError (423) */3223 export interface PalletEvmContractHelpersError extends Enum {3225 export interface PalletEvmContractHelpersError extends Enum {3224 readonly isNoPermission: boolean;3226 readonly isNoPermission: boolean;3225 readonly type: 'NoPermission';3227 readonly type: 'NoPermission';3226 }3228 }322732293228 /** @name PalletEvmMigrationError (422) */3230 /** @name PalletEvmMigrationError (424) */3229 export interface PalletEvmMigrationError extends Enum {3231 export interface PalletEvmMigrationError extends Enum {3230 readonly isAccountNotEmpty: boolean;3232 readonly isAccountNotEmpty: boolean;3231 readonly isAccountIsNotMigrating: boolean;3233 readonly isAccountIsNotMigrating: boolean;3232 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3234 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3233 }3235 }323432363235 /** @name SpRuntimeMultiSignature (424) */3237 /** @name SpRuntimeMultiSignature (426) */3236 export interface SpRuntimeMultiSignature extends Enum {3238 export interface SpRuntimeMultiSignature extends Enum {3237 readonly isEd25519: boolean;3239 readonly isEd25519: boolean;3238 readonly asEd25519: SpCoreEd25519Signature;3240 readonly asEd25519: SpCoreEd25519Signature;3243 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3245 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3244 }3246 }324532473246 /** @name SpCoreEd25519Signature (425) */3248 /** @name SpCoreEd25519Signature (427) */3247 export interface SpCoreEd25519Signature extends U8aFixed {}3249 export interface SpCoreEd25519Signature extends U8aFixed {}324832503249 /** @name SpCoreSr25519Signature (427) */3251 /** @name SpCoreSr25519Signature (429) */3250 export interface SpCoreSr25519Signature extends U8aFixed {}3252 export interface SpCoreSr25519Signature extends U8aFixed {}325132533252 /** @name SpCoreEcdsaSignature (428) */3254 /** @name SpCoreEcdsaSignature (430) */3253 export interface SpCoreEcdsaSignature extends U8aFixed {}3255 export interface SpCoreEcdsaSignature extends U8aFixed {}325432563255 /** @name FrameSystemExtensionsCheckSpecVersion (431) */3257 /** @name FrameSystemExtensionsCheckSpecVersion (433) */3256 export type FrameSystemExtensionsCheckSpecVersion = Null;3258 export type FrameSystemExtensionsCheckSpecVersion = Null;325732593258 /** @name FrameSystemExtensionsCheckGenesis (432) */3260 /** @name FrameSystemExtensionsCheckGenesis (434) */3259 export type FrameSystemExtensionsCheckGenesis = Null;3261 export type FrameSystemExtensionsCheckGenesis = Null;326032623261 /** @name FrameSystemExtensionsCheckNonce (435) */3263 /** @name FrameSystemExtensionsCheckNonce (437) */3262 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3264 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}326332653264 /** @name FrameSystemExtensionsCheckWeight (436) */3266 /** @name FrameSystemExtensionsCheckWeight (438) */3265 export type FrameSystemExtensionsCheckWeight = Null;3267 export type FrameSystemExtensionsCheckWeight = Null;326632683267 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (437) */3269 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (439) */3268 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3270 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}326932713270 /** @name OpalRuntimeRuntime (438) */3272 /** @name OpalRuntimeRuntime (440) */3271 export type OpalRuntimeRuntime = Null;3273 export type OpalRuntimeRuntime = Null;327232743273 /** @name PalletEthereumFakeTransactionFinalizer (439) */3275 /** @name PalletEthereumFakeTransactionFinalizer (441) */3274 export type PalletEthereumFakeTransactionFinalizer = Null;3276 export type PalletEthereumFakeTransactionFinalizer = Null;327532773276} // declare module3278} // declare moduletests/src/nesting/nest.test.tsdiffbeforeafterboth2import {tokenIdToAddress} from '../eth/util/helpers';2import {tokenIdToAddress} from '../eth/util/helpers';3import usingApi, {executeTransaction} from '../substrate/substrate-api';3import usingApi, {executeTransaction} from '../substrate/substrate-api';4import {4import {5 addCollectionAdminExpectSuccess,5 addToAllowListExpectSuccess,6 addToAllowListExpectSuccess,6 createCollectionExpectSuccess,7 createCollectionExpectSuccess,7 createItemExpectSuccess,8 createItemExpectSuccess,202121let alice: IKeyringPair;22let alice: IKeyringPair;22let bob: IKeyringPair;23let bob: IKeyringPair;24let charlie: IKeyringPair;232524describe('Integration Test: Nesting', () => {26describe('Integration Test: Composite nesting tests', () => {25 before(async () => {27 before(async () => {26 await usingApi(async (api, privateKeyWrapper) => {28 await usingApi(async (_, privateKeyWrapper) => {27 alice = privateKeyWrapper('//Alice');29 alice = privateKeyWrapper('//Alice');28 bob = privateKeyWrapper('//Bob');30 bob = privateKeyWrapper('//Bob');29 });31 });145 ], 'Children contents check at deeper nesting');147 ], 'Children contents check at deeper nesting');146 });148 });147 });149 });150});148151152describe('Integration Test: Various token type nesting', async () => {153 before(async () => {154 await usingApi(async (_, privateKeyWrapper) => {155 alice = privateKeyWrapper('//Alice');156 bob = privateKeyWrapper('//Bob');157 charlie = privateKeyWrapper('//Charlie');158 });159 });160161 it('Admin (NFT): allows an Admin to nest a token', async () => {162 await usingApi(async api => {163 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});164 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {collectionAdmin: true}});165 await addCollectionAdminExpectSuccess(alice, collection, bob.address);166 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT', charlie.address);167168 // Create a nested token169 const nestedToken = await createItemExpectSuccess(bob, collection, 'NFT', {Ethereum: tokenIdToAddress(collection, targetToken)});170 expect(await getTopmostTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Substrate: charlie.address});171 expect(await getTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()});172173 // Create a token to be nested and nest174 const newToken = await createItemExpectSuccess(bob, collection, 'NFT');175 await transferExpectSuccess(collection, newToken, bob, {Ethereum: tokenIdToAddress(collection, targetToken)});176 expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: charlie.address});177 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()});178 });179 });180181 it('Admin (NFT): Admin and Token Owner can operate together', async () => {182 await usingApi(async api => {183 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});184 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, collectionAdmin: true}});185 await addCollectionAdminExpectSuccess(alice, collection, bob.address);186 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT', charlie.address);187188 // Create a nested token by an administrator189 const nestedToken = await createItemExpectSuccess(bob, collection, 'NFT', {Ethereum: tokenIdToAddress(collection, targetToken)});190 expect(await getTopmostTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Substrate: charlie.address});191 expect(await getTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()});192193 // Create a token and allow the owner to nest too194 const newToken = await createItemExpectSuccess(alice, collection, 'NFT', charlie.address);195 await transferExpectSuccess(collection, newToken, charlie, {Ethereum: tokenIdToAddress(collection, nestedToken)});196 expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: charlie.address});197 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, nestedToken).toLowerCase()});198 });199 });200201 it('Admin (NFT): allows an Admin to nest a token (Restricted nesting)', async () => {202 await usingApi(async api => {203 const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});204 await addCollectionAdminExpectSuccess(alice, collectionA, bob.address);205 const collectionB = await createCollectionExpectSuccess({mode: {type: 'NFT'}});206 await addCollectionAdminExpectSuccess(alice, collectionB, bob.address);207 await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: {collectionAdmin: true, restricted:[collectionA, collectionB]}});208 const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT', charlie.address);209210 // Create a nested token211 const nestedToken = await createItemExpectSuccess(bob, collectionB, 'NFT', {Ethereum: tokenIdToAddress(collectionA, targetToken)});212 expect(await getTopmostTokenOwner(api, collectionB, nestedToken)).to.be.deep.equal({Substrate: charlie.address});213 expect(await getTokenOwner(api, collectionB, nestedToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collectionA, targetToken).toLowerCase()});214215 // Create a token to be nested and nest216 const newToken = await createItemExpectSuccess(bob, collectionB, 'NFT');217 await transferExpectSuccess(collectionB, newToken, bob, {Ethereum: tokenIdToAddress(collectionA, targetToken)});218 expect(await getTopmostTokenOwner(api, collectionB, newToken)).to.be.deep.equal({Substrate: charlie.address});219 expect(await getTokenOwner(api, collectionB, newToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collectionA, targetToken).toLowerCase()});220 });221 });222149 // ---------- Non-Fungible ----------223 // ---------- Non-Fungible ----------150224248 await expect(executeTransaction(api, alice, api.tx.unique.createItem(322 await expect(executeTransaction(api, alice, api.tx.unique.createItem(249 collectionRFT,323 collectionRFT,250 targetAddress,324 targetAddress,251 {ReFungible: {const_data: [], pieces: 100}},325 {ReFungible: {pieces: 100}},252 ))).to.not.be.rejected;326 ))).to.not.be.rejected;253327254 // Nest a new token328 // Nest a new token271 await expect(executeTransaction(api, alice, api.tx.unique.createItem(345 await expect(executeTransaction(api, alice, api.tx.unique.createItem(272 collectionRFT,346 collectionRFT,273 targetAddress,347 targetAddress,274 {ReFungible: {const_data: [], pieces: 100}},348 {ReFungible: {pieces: 100}},275 ))).to.not.be.rejected;349 ))).to.not.be.rejected;276350277 // Nest a new token351 // Nest a new token283357284describe('Negative Test: Nesting', async() => {358describe('Negative Test: Nesting', async() => {285 before(async () => {359 before(async () => {286 await usingApi(async (api, privateKeyWrapper) => {360 await usingApi(async (_, privateKeyWrapper) => {287 alice = privateKeyWrapper('//Alice');361 alice = privateKeyWrapper('//Alice');288 bob = privateKeyWrapper('//Bob');362 bob = privateKeyWrapper('//Bob');289 });363 });314 await expect(executeTransaction(api, alice, api.tx.unique.createItem(388 await expect(executeTransaction(api, alice, api.tx.unique.createItem(315 collection,389 collection,316 {Ethereum: tokenIdToAddress(collection, prevToken)},390 {Ethereum: tokenIdToAddress(collection, prevToken)},317 {nft: {const_data: [], variable_data: []}} as any,391 {nft: {}} as any,318 )), 'while creating nested token').to.be.rejectedWith(/^structure\.DepthLimit$/);392 )), 'while creating nested token').to.be.rejectedWith(/^structure\.DepthLimit$/);319393320 expect(await getTopmostTokenOwner(api, collection, prevToken)).to.be.deep.equal({Substrate: alice.address});394 expect(await getTopmostTokenOwner(api, collection, prevToken)).to.be.deep.equal({Substrate: alice.address});395 });396 });397398 // ---------- Admin ------------399400 it('Admin (NFT): disallows an Admin to operate nesting when only TokenOwner is allowed', async () => {401 await usingApi(async api => {402 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});403 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});404 await addCollectionAdminExpectSuccess(alice, collection, bob.address);405 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');406407 // Try to create a nested token as collection admin when it's disallowed408 await expect(executeTransaction(api, bob, api.tx.unique.createItem(409 collection,410 {Ethereum: tokenIdToAddress(collection, targetToken)},411 {nft: {}} as any,412 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);413414 // Try to create and nest a token in the wrong collection415 const newToken = await createItemExpectSuccess(bob, collection, 'NFT');416 await expect(executeTransaction(417 api, 418 bob, 419 api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1),420 ), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);421 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: bob.address});422 });423 });424425 it('Admin (NFT): disallows a Token Owner to operate nesting when only Admin is allowed', async () => {426 await usingApi(async api => {427 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});428 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {collectionAdmin: true}});429 await addToAllowListExpectSuccess(alice, collection, bob.address);430 await enableAllowListExpectSuccess(alice, collection);431 await enablePublicMintingExpectSuccess(alice, collection);432 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');433434 // Try to create a nested token as collection admin when it's disallowed435 await expect(executeTransaction(api, bob, api.tx.unique.createItem(436 collection,437 {Ethereum: tokenIdToAddress(collection, targetToken)},438 {nft: {}} as any,439 )), 'while creating nested token').to.be.rejectedWith(/common\.AddressNotInAllowlist/); 440441 // Try to create and nest a token in the wrong collection442 const newToken = await createItemExpectSuccess(bob, collection, 'NFT');443 await expect(executeTransaction(444 api, 445 bob, 446 api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1),447 ), 'while nesting new token').to.be.rejectedWith(/common\.AddressNotInAllowlist/);448 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: bob.address});449 });450 });451452 it('Admin (NFT): disallows an Admin to nest and unnest someone else\'s token', async () => {453 await usingApi(async api => {454 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});455 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {collectionAdmin: true}});456457 await addToAllowListExpectSuccess(alice, collection, bob.address);458 await enableAllowListExpectSuccess(alice, collection);459 await enablePublicMintingExpectSuccess(alice, collection);460461 // Create a token to attempt to be nested into462 const targetToken = await createItemExpectSuccess(bob, collection, 'NFT');463 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()};464465 // Try to nest somebody else's token466 const newToken = await createItemExpectSuccess(bob, collection, 'NFT');467 await expect(executeTransaction(468 api, 469 alice, 470 api.tx.unique.transfer(targetAddress, collection, newToken, 1),471 ), 'while nesting another\'s token token').to.be.rejectedWith(/common\.AddressNotInAllowlist/);472 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: bob.address});473474 // Nest a token as admin and try to unnest it, now belonging to someone else475 const nestedToken = await createItemExpectSuccess(alice, collection, 'NFT', targetAddress);476 await expect(executeTransaction(477 api, 478 alice, 479 api.tx.unique.transferFrom(targetAddress, normalizeAccountId(alice), collection, nestedToken, 1),480 ), 'while unnesting another\'s token').to.be.rejectedWith(/common\.AddressNotInAllowlist/);481 expect(await getTokenOwner(api, collection, nestedToken)).to.be.deep.equal(targetAddress);482 expect(await getTopmostTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Substrate: bob.address});483 });484 });485486 it('Admin (NFT): disallows an Admin to nest a token from an unlisted collection (Restricted nesting)', async () => {487 await usingApi(async api => {488 const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});489 const collectionB = await createCollectionExpectSuccess({mode: {type: 'NFT'}});490 await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: {collectionAdmin: true, restricted:[collectionA]}});491492 // Create a token to attempt to be nested into493 const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');494495 // Try to create and nest a token in the wrong collection496 const newToken = await createItemExpectSuccess(alice, collectionB, 'NFT');497 await expect(executeTransaction(498 api, 499 alice, 500 api.tx.unique.transfer({Ethereum: tokenIdToAddress(collectionA, targetToken)}, collectionB, newToken, 1),501 ), 'while nesting a foreign token').to.be.rejectedWith(/common\.SourceCollectionIsNotAllowedToNest/);502 expect(await getTokenOwner(api, collectionB, newToken)).to.be.deep.equal({Substrate: alice.address});321 });503 });322 });504 });323505333 await expect(executeTransaction(api, alice, api.tx.unique.createItem(515 await expect(executeTransaction(api, alice, api.tx.unique.createItem(334 collection,516 collection,335 {Ethereum: tokenIdToAddress(collection, targetToken)},517 {Ethereum: tokenIdToAddress(collection, targetToken)},336 {nft: {const_data: [], variable_data: []}} as any,518 {nft: {}} as any,337 )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);519 )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);338520339 // Create a token to be nested521 // Create a token to be nested361 await expect(executeTransaction(api, alice, api.tx.unique.createItem(543 await expect(executeTransaction(api, alice, api.tx.unique.createItem(362 collection,544 collection,363 {Ethereum: tokenIdToAddress(collection, targetToken)},545 {Ethereum: tokenIdToAddress(collection, targetToken)},364 {nft: {const_data: [], variable_data: []}} as any,546 {nft: {}} as any,365 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);547 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);366548367 // Try to create and nest a token in the wrong collection549 // Try to create and nest a token in the wrong collection387 await expect(executeTransaction(api, alice, api.tx.unique.createItem(569 await expect(executeTransaction(api, alice, api.tx.unique.createItem(388 collection,570 collection,389 {Ethereum: tokenIdToAddress(collection, targetToken)},571 {Ethereum: tokenIdToAddress(collection, targetToken)},390 {nft: {const_data: [], variable_data: []}} as any,572 {nft: {}} as any,391 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);573 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);392574393 // Try to create and nest a token in the wrong collection575 // Try to create and nest a token in the wrong collection409 await expect(executeTransaction(api, alice, api.tx.unique.createItem(591 await expect(executeTransaction(api, alice, api.tx.unique.createItem(410 collection,592 collection,411 {Ethereum: tokenIdToAddress(collection, targetToken)},593 {Ethereum: tokenIdToAddress(collection, targetToken)},412 {nft: {const_data: [], variable_data: []}} as any,594 {nft: {}} as any,413 )), 'while creating nested token').to.be.rejectedWith(/common\.SourceCollectionIsNotAllowedToNest/);595 )), 'while creating nested token').to.be.rejectedWith(/common\.SourceCollectionIsNotAllowedToNest/);414596415 // Try to create and nest a token in the wrong collection597 // Try to create and nest a token in the wrong collection543 await expect(executeTransaction(api, alice, api.tx.unique.createItem(725 await expect(executeTransaction(api, alice, api.tx.unique.createItem(544 collectionRFT,726 collectionRFT,545 targetAddress,727 targetAddress,546 {ReFungible: {const_data: [], pieces: 100}},728 {ReFungible: {pieces: 100}},547 )), 'while creating a nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);729 )), 'while creating a nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);548730549 // Create a token to be nested731 // Create a token to be nested579 await expect(executeTransaction(api, alice, api.tx.unique.createItem(761 await expect(executeTransaction(api, alice, api.tx.unique.createItem(580 collectionRFT,762 collectionRFT,581 targetAddress,763 targetAddress,582 {ReFungible: {const_data: [], pieces: 100}},764 {ReFungible: {pieces: 100}},583 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);765 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);584766585 // Try to create and nest a token in the wrong collection767 // Try to create and nest a token in the wrong collection606 await expect(executeTransaction(api, alice, api.tx.unique.createItem(788 await expect(executeTransaction(api, alice, api.tx.unique.createItem(607 collectionRFT,789 collectionRFT,608 targetAddress,790 targetAddress,609 {ReFungible: {const_data: [], pieces: 100}},791 {ReFungible: {pieces: 100}},610 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);792 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);611793612 // Try to create and nest a token in the wrong collection794 // Try to create and nest a token in the wrong collection630 await expect(executeTransaction(api, alice, api.tx.unique.createItem(812 await expect(executeTransaction(api, alice, api.tx.unique.createItem(631 collectionRFT,813 collectionRFT,632 targetAddress,814 targetAddress,633 {ReFungible: {const_data: [], pieces: 100}},815 {ReFungible: {pieces: 100}},634 )), 'while creating a nested token').to.be.rejectedWith(/common\.SourceCollectionIsNotAllowedToNest/);816 )), 'while creating a nested token').to.be.rejectedWith(/common\.SourceCollectionIsNotAllowedToNest/);635817636 // Try to create and nest a token in the wrong collection818 // Try to create and nest a token in the wrong collection