git.delta.rocks / unique-network / refs/commits / fe32b30721a1

difftreelog

Merge remote-tracking branch 'origin/feature/fractionalizer-contract' into develop

Yaroslav Bolyukin2022-08-11parents: #bc60087 #0265731.patch.diff
in: master

50 files changed

modifiedpallets/common/src/erc.rsdiffbeforeafterboth
--- a/pallets/common/src/erc.rs
+++ b/pallets/common/src/erc.rs
@@ -25,7 +25,8 @@
 use pallet_evm_coder_substrate::dispatch_to_evm;
 use sp_std::vec::Vec;
 use up_data_structs::{
-	Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode, CollectionPermissions,
+	AccessMode, CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property,
+	SponsoringRateLimit,
 };
 use alloc::format;
 
@@ -408,6 +409,28 @@
 
 		save(self)
 	}
+
+	/// Check that account is the owner or admin of the collection
+	///
+	/// @param user account to verify
+	/// @return "true" if account is the owner or admin
+	fn verify_owner_or_admin(&self, user: address) -> Result<bool> {
+		Ok(check_is_owner_or_admin(user, self)
+			.map(|_| true)
+			.unwrap_or(false))
+	}
+
+	/// Returns collection type
+	///
+	/// @return `Fungible` or `NFT` or `ReFungible`
+	fn unique_collection_type(&mut self) -> Result<string> {
+		let mode = match self.collection.mode {
+			CollectionMode::Fungible(_) => "Fungible",
+			CollectionMode::NFT => "NFT",
+			CollectionMode::ReFungible => "ReFungible",
+		};
+		Ok(mode.into())
+	}
 }
 
 fn check_is_owner_or_admin<T: Config>(
@@ -462,6 +485,11 @@
 		pub fn suffix() -> up_data_structs::PropertyKey {
 			property_key_from_bytes(b"suffix").expect(EXPECT_CONVERT_ERROR)
 		}
+
+		/// Key "parentNft".
+		pub fn parent_nft() -> up_data_structs::PropertyKey {
+			property_key_from_bytes(b"parentNft").expect(EXPECT_CONVERT_ERROR)
+		}
 	}
 
 	/// Values.
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -1113,6 +1113,26 @@
 		sender: &T::CrossAccountId,
 		property_permission: PropertyKeyPermission,
 	) -> DispatchResult {
+		Self::set_scoped_property_permission(
+			collection,
+			sender,
+			PropertyScope::None,
+			property_permission,
+		)
+	}
+
+	/// Set collection property permission with scope.
+	///
+	/// * `collection` - Collection handler.
+	/// * `sender` - The owner or administrator of the collection.
+	/// * `scope` - Property scope.
+	/// * `property_permission` - Property permission.
+	pub fn set_scoped_property_permission(
+		collection: &CollectionHandle<T>,
+		sender: &T::CrossAccountId,
+		scope: PropertyScope,
+		property_permission: PropertyKeyPermission,
+	) -> DispatchResult {
 		collection.check_is_owner_or_admin(sender)?;
 
 		let all_permissions = CollectionPropertyPermissions::<T>::get(collection.id);
@@ -1126,7 +1146,11 @@
 
 		CollectionPropertyPermissions::<T>::try_mutate(collection.id, |permissions| {
 			let property_permission = property_permission.clone();
-			permissions.try_set(property_permission.key, property_permission.permission)
+			permissions.try_scoped_set(
+				scope,
+				property_permission.key,
+				property_permission.permission,
+			)
 		})
 		.map_err(<Error<T>>::from)?;
 
@@ -1149,8 +1173,29 @@
 		sender: &T::CrossAccountId,
 		property_permissions: Vec<PropertyKeyPermission>,
 	) -> DispatchResult {
+		Self::set_scoped_token_property_permissions(
+			collection,
+			sender,
+			PropertyScope::None,
+			property_permissions,
+		)
+	}
+
+	/// Set token property permission with scope.
+	///
+	/// * `collection` - Collection handler.
+	/// * `sender` - The owner or administrator of the collection.
+	/// * `scope` - Property scope.
+	/// * `property_permissions` - Property permissions.
+	#[transactional]
+	pub fn set_scoped_token_property_permissions(
+		collection: &CollectionHandle<T>,
+		sender: &T::CrossAccountId,
+		scope: PropertyScope,
+		property_permissions: Vec<PropertyKeyPermission>,
+	) -> DispatchResult {
 		for prop_pemission in property_permissions {
-			Self::set_property_permission(collection, sender, prop_pemission)?;
+			Self::set_scoped_property_permission(collection, sender, scope, prop_pemission)?;
 		}
 
 		Ok(())
@@ -1430,6 +1475,9 @@
 			.saturating_mul(max_selfs.max(1) as u64)
 			.saturating_add(Self::burn_recursively_breadth_raw(max_breadth))
 	}
+
+	/// The price of retrieving token owner
+	fn token_owner() -> Weight;
 }
 
 /// Weight info extension trait for refungible pallet.
@@ -1568,7 +1616,7 @@
 	///
 	/// * `sender` - Must be either the owner of the token or its admin.
 	/// * `token_id` - The token for which the properties are being set.
-	/// * `properties` - Properties to be set.
+	/// * `property_permissions` - Property permissions to be set.
 	/// * `budget` - Budget for setting properties.
 	fn set_token_property_permissions(
 		&self,
modifiedpallets/fungible/src/common.rsdiffbeforeafterboth
--- a/pallets/fungible/src/common.rs
+++ b/pallets/fungible/src/common.rs
@@ -103,6 +103,10 @@
 		// Fungible tokens can't have children
 		0
 	}
+
+	fn token_owner() -> Weight {
+		0
+	}
 }
 
 /// Implementation of `CommonCollectionOperations` for `FungibleHandle`. It wraps FungibleHandle Pallete
modifiedpallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth
--- a/pallets/fungible/src/stubs/UniqueFungible.sol
+++ b/pallets/fungible/src/stubs/UniqueFungible.sol
@@ -31,19 +31,7 @@
 	);
 }
 
-// Selector: 79cc6790
-contract ERC20UniqueExtensions is Dummy, ERC165 {
-	// Selector: burnFrom(address,uint256) 79cc6790
-	function burnFrom(address from, uint256 amount) public returns (bool) {
-		require(false, stub_error);
-		from;
-		amount;
-		dummy = 0;
-		return false;
-	}
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 contract Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -268,6 +256,42 @@
 		mode;
 		dummy = 0;
 	}
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) public view returns (bool) {
+		require(false, stub_error);
+		user;
+		dummy;
+		return false;
+	}
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() public returns (string memory) {
+		require(false, stub_error);
+		dummy = 0;
+		return "";
+	}
+}
+
+// Selector: 79cc6790
+contract ERC20UniqueExtensions is Dummy, ERC165 {
+	// Selector: burnFrom(address,uint256) 79cc6790
+	function burnFrom(address from, uint256 amount) public returns (bool) {
+		require(false, stub_error);
+		from;
+		amount;
+		dummy = 0;
+		return false;
+	}
 }
 
 // Selector: 942e8b22
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -17,11 +17,14 @@
 use super::*;
 use crate::{Pallet, Config, NonfungibleHandle};
 
-use sp_std::prelude::*;
-use pallet_common::benchmarking::{create_collection_raw, property_key, property_value};
 use frame_benchmarking::{benchmarks, account};
+use pallet_common::{
+	bench_init,
+	benchmarking::{create_collection_raw, property_key, property_value},
+	CommonCollectionOperations,
+};
+use sp_std::prelude::*;
 use up_data_structs::{CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited};
-use pallet_common::bench_init;
 
 const SEED: u32 = 1;
 
@@ -208,4 +211,13 @@
 		<Pallet<T>>::set_token_properties(&collection, &owner, item, props.into_iter(), false, &Unlimited)?;
 		let to_delete = (0..b).map(|k| property_key(k as usize)).collect::<Vec<_>>();
 	}: {<Pallet<T>>::delete_token_properties(&collection, &owner, item, to_delete.into_iter(), &Unlimited)?}
+
+	token_owner {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			owner: cross_from_sub;
+		};
+		let item = create_max_item(&collection, &owner, owner.clone())?;
+
+	}: {collection.token_owner(item)}
 }
modifiedpallets/nonfungible/src/common.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -118,6 +118,10 @@
 		<SelfWeightOf<T>>::burn_recursively_breadth_plus_self_plus_self_per_each_raw(amount)
 			.saturating_sub(Self::burn_recursively_self_raw().saturating_mul(amount as u64 + 1))
 	}
+
+	fn token_owner() -> Weight {
+		<SelfWeightOf<T>>::token_owner()
+	}
 }
 
 fn map_create_data<T: Config>(
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -784,6 +784,23 @@
 		<PalletCommon<T>>::set_token_property_permissions(collection, sender, property_permissions)
 	}
 
+	/// Set property permissions for the token with scope.
+	///
+	/// Sender should be the owner or admin of token's collection.
+	pub fn set_scoped_token_property_permissions(
+		collection: &CollectionHandle<T>,
+		sender: &T::CrossAccountId,
+		scope: PropertyScope,
+		property_permissions: Vec<PropertyKeyPermission>,
+	) -> DispatchResult {
+		<PalletCommon<T>>::set_scoped_token_property_permissions(
+			collection,
+			sender,
+			scope,
+			property_permissions,
+		)
+	}
+
 	/// Set property permissions for the collection.
 	///
 	/// Sender should be the owner or admin of the collection.
modifiedpallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -373,49 +373,7 @@
 	}
 }
 
-// Selector: 780e9d63
-contract ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid NFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) public view returns (uint256) {
-		require(false, stub_error);
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @dev Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
-		require(false, stub_error);
-		owner;
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @notice Count NFTs tracked by this contract
-	// @return A count of valid NFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() public view returns (uint256) {
-		require(false, stub_error);
-		dummy;
-		return 0;
-	}
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 contract Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -640,6 +598,72 @@
 		mode;
 		dummy = 0;
 	}
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) public view returns (bool) {
+		require(false, stub_error);
+		user;
+		dummy;
+		return false;
+	}
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() public returns (string memory) {
+		require(false, stub_error);
+		dummy = 0;
+		return "";
+	}
+}
+
+// Selector: 780e9d63
+contract ERC721Enumerable is Dummy, ERC165 {
+	// @notice Enumerate valid NFTs
+	// @param index A counter less than `totalSupply()`
+	// @return The token identifier for the `index`th NFT,
+	//  (sort order not specified)
+	//
+	// Selector: tokenByIndex(uint256) 4f6ccce7
+	function tokenByIndex(uint256 index) public view returns (uint256) {
+		require(false, stub_error);
+		index;
+		dummy;
+		return 0;
+	}
+
+	// @dev Not implemented
+	//
+	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+	function tokenOfOwnerByIndex(address owner, uint256 index)
+		public
+		view
+		returns (uint256)
+	{
+		require(false, stub_error);
+		owner;
+		index;
+		dummy;
+		return 0;
+	}
+
+	// @notice Count NFTs tracked by this contract
+	// @return A count of valid NFTs tracked by this contract, where each one of
+	//  them has an assigned and queryable owner not equal to the zero address
+	//
+	// Selector: totalSupply() 18160ddd
+	function totalSupply() public view returns (uint256) {
+		require(false, stub_error);
+		dummy;
+		return 0;
+	}
 }
 
 // Selector: d74d154f
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_nonfungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -46,6 +46,7 @@
 	fn set_token_property_permissions(b: u32, ) -> Weight;
 	fn set_token_properties(b: u32, ) -> Weight;
 	fn delete_token_properties(b: u32, ) -> Weight;
+	fn token_owner() -> Weight;
 }
 
 /// Weights for pallet_nonfungible using the Substrate node and recommended hardware.
@@ -56,7 +57,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(20_328_000 as Weight)
+		(20_909_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -65,9 +66,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(10_134_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((4_927_000 as Weight).saturating_mul(b as Weight))
+		(12_601_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -77,9 +78,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(5_710_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((7_578_000 as Weight).saturating_mul(b as Weight))
+		(0 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -93,7 +94,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		(28_433_000 as Weight)
+		(29_746_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -105,7 +106,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		(34_435_000 as Weight)
+		(36_077_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -119,8 +120,8 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_539_000
-			.saturating_add((304_456_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_605_000
+			.saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(7 as Weight))
 			.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -131,14 +132,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(24_376_000 as Weight)
+		(25_248_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		(15_890_000 as Weight)
+		(16_321_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -147,7 +148,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(28_634_000 as Weight)
+		(29_325_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
@@ -159,15 +160,15 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(32_201_000 as Weight)
+		(33_323_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 57_000
-			.saturating_add((15_232_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 62_000
+			.saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -175,8 +176,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_648_000
-			.saturating_add((288_654_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_750_000
+			.saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -184,11 +185,16 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_632_000
-			.saturating_add((289_190_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_638_000
+			.saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
+	// Storage: Nonfungible TokenData (r:1 w:0)
+	fn token_owner() -> Weight {
+		(2_986_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(1 as Weight))
+	}
 }
 
 // For backwards compatibility and tests
@@ -198,7 +204,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(20_328_000 as Weight)
+		(20_909_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -207,9 +213,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(10_134_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((4_927_000 as Weight).saturating_mul(b as Weight))
+		(12_601_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -219,9 +225,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(5_710_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((7_578_000 as Weight).saturating_mul(b as Weight))
+		(0 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -235,7 +241,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		(28_433_000 as Weight)
+		(29_746_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -247,7 +253,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		(34_435_000 as Weight)
+		(36_077_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -261,8 +267,8 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_539_000
-			.saturating_add((304_456_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_605_000
+			.saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(7 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -273,14 +279,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(24_376_000 as Weight)
+		(25_248_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		(15_890_000 as Weight)
+		(16_321_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -289,7 +295,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(28_634_000 as Weight)
+		(29_325_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
@@ -301,15 +307,15 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(32_201_000 as Weight)
+		(33_323_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 57_000
-			.saturating_add((15_232_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 62_000
+			.saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -317,8 +323,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_648_000
-			.saturating_add((288_654_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_750_000
+			.saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -326,9 +332,14 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_632_000
-			.saturating_add((289_190_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_638_000
+			.saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
+	// Storage: Nonfungible TokenData (r:1 w:0)
+	fn token_owner() -> Weight {
+		(2_986_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
+	}
 }
modifiedpallets/refungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -17,25 +17,26 @@
 use super::*;
 use crate::{Pallet, Config, RefungibleHandle};
 
+use core::convert::TryInto;
+use core::iter::IntoIterator;
+use frame_benchmarking::{benchmarks, account};
+use pallet_common::{
+	bench_init,
+	benchmarking::{create_collection_raw, property_key, property_value, create_data},
+};
+use sp_core::H160;
 use sp_std::prelude::*;
-use pallet_common::benchmarking::{create_collection_raw, property_key, property_value, create_data};
-use frame_benchmarking::{benchmarks, account};
 use up_data_structs::{
 	CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, CUSTOM_DATA_LIMIT,
 	budget::Unlimited,
 };
-use pallet_common::bench_init;
-use core::convert::TryInto;
-use core::iter::IntoIterator;
 
 const SEED: u32 = 1;
 
 fn create_max_item_data<CrossAccountId: Ord>(
 	users: impl IntoIterator<Item = (CrossAccountId, u128)>,
 ) -> CreateRefungibleExData<CrossAccountId> {
-	let const_data = create_data::<CUSTOM_DATA_LIMIT>();
 	CreateRefungibleExData {
-		const_data,
 		users: users
 			.into_iter()
 			.collect::<BTreeMap<_, _>>()
@@ -44,6 +45,7 @@
 		properties: Default::default(),
 	}
 }
+
 fn create_max_item<T: Config>(
 	collection: &RefungibleHandle<T>,
 	sender: &T::CrossAccountId,
@@ -59,11 +61,12 @@
 ) -> Result<RefungibleHandle<T>, DispatchError> {
 	create_collection_raw(
 		owner,
-		CollectionMode::NFT,
+		CollectionMode::ReFungible,
 		<Pallet<T>>::init_collection,
 		RefungibleHandle::cast,
 	)
 }
+
 benchmarks! {
 	create_item {
 		bench_init!{
@@ -277,4 +280,21 @@
 		};
 		let item = create_max_item(&collection, &sender, [(owner.clone(), 100)])?;
 	}: {<Pallet<T>>::repartition(&collection, &owner, item, 200)?}
+
+	set_parent_nft_unchecked {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			sender: cross_from_sub(owner); owner: cross_sub;
+		};
+		let item = create_max_item(&collection, &sender, [(owner.clone(), 100)])?;
+
+	}: {<Pallet<T>>::set_parent_nft_unchecked(&collection, item, owner,  T::CrossAccountId::from_eth(H160::default()))?}
+
+	token_owner {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			sender: cross_from_sub(owner); owner: cross_sub;
+		};
+		let item = create_max_item(&collection, &sender, [(owner.clone(), 100)])?;
+	}: {<Pallet<T>>::token_owner(collection.id, item)}
 }
modifiedpallets/refungible/src/common.rsdiffbeforeafterboth
--- a/pallets/refungible/src/common.rs
+++ b/pallets/refungible/src/common.rs
@@ -148,6 +148,10 @@
 		// Refungible token can't have children
 		0
 	}
+
+	fn token_owner() -> Weight {
+		<SelfWeightOf<T>>::token_owner()
+	}
 }
 
 fn map_create_data<T: Config>(
modifiedpallets/refungible/src/erc.rsdiffbeforeafterboth
--- a/pallets/refungible/src/erc.rs
+++ b/pallets/refungible/src/erc.rs
@@ -41,8 +41,8 @@
 use sp_core::H160;
 use sp_std::{collections::btree_map::BTreeMap, vec::Vec, vec};
 use up_data_structs::{
-	CollectionId, CollectionPropertiesVec, Property, PropertyKey, PropertyKeyPermission,
-	PropertyPermission, TokenId,
+	CollectionId, CollectionPropertiesVec, mapping::TokenAddressMapping, Property, PropertyKey,
+	PropertyKeyPermission, PropertyPermission, TokenId,
 };
 
 use crate::{
@@ -413,7 +413,7 @@
 }
 
 /// Returns amount of pieces of `token` that `owner` have
-fn balance<T: Config>(
+pub fn balance<T: Config>(
 	collection: &RefungibleHandle<T>,
 	token: TokenId,
 	owner: &T::CrossAccountId,
@@ -424,7 +424,7 @@
 }
 
 /// Throws if `owner_balance` is lower than total amount of `token` pieces
-fn ensure_single_owner<T: Config>(
+pub fn ensure_single_owner<T: Config>(
 	collection: &RefungibleHandle<T>,
 	token: TokenId,
 	owner_balance: u128,
@@ -788,6 +788,16 @@
 			.map_err(dispatch_to_evm::<T>)?;
 		Ok(true)
 	}
+
+	/// Returns EVM address for refungible token
+	///
+	/// @param token ID of the token
+	fn token_contract_address(&self, token: uint256) -> Result<address> {
+		Ok(T::EvmTokenAddressMapping::token_to_address(
+			self.id,
+			token.try_into().map_err(|_| "token id overflow")?,
+		))
+	}
 }
 
 #[solidity_interface(
modifiedpallets/refungible/src/erc_token.rsdiffbeforeafterboth
--- a/pallets/refungible/src/erc_token.rs
+++ b/pallets/refungible/src/erc_token.rs
@@ -20,29 +20,95 @@
 //! Method implementations are mostly doing parameter conversion and calling Nonfungible Pallet methods.
 
 extern crate alloc;
+
+#[cfg(not(feature = "std"))]
+use alloc::format;
+
 use core::{
 	char::{REPLACEMENT_CHARACTER, decode_utf16},
 	convert::TryInto,
 	ops::Deref,
 };
-use evm_coder::{ToLog, execution::*, generate_stubgen, solidity_interface, types::*, weight};
+use evm_coder::{ToLog, execution::*, generate_stubgen, solidity, solidity_interface, types::*, weight};
 use pallet_common::{
 	CommonWeightInfo,
-	erc::{CommonEvmHandler, PrecompileResult},
+	erc::{CommonEvmHandler, PrecompileResult, static_property::key},
+	eth::map_eth_to_id,
 };
 use pallet_evm::{account::CrossAccountId, PrecompileHandle};
 use pallet_evm_coder_substrate::{call, dispatch_to_evm, WithRecorder};
 use pallet_structure::{SelfWeightOf as StructureWeight, weights::WeightInfo as _};
+use sp_core::H160;
 use sp_std::vec::Vec;
-use up_data_structs::TokenId;
+use up_data_structs::{mapping::TokenAddressMapping, PropertyScope, TokenId};
 
 use crate::{
 	Allowance, Balance, common::CommonWeights, Config, Pallet, RefungibleHandle, SelfWeightOf,
-	weights::WeightInfo, TotalSupply,
+	TokenProperties, TotalSupply, weights::WeightInfo,
 };
 
 pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);
 
+#[solidity_interface(name = "ERC1633")]
+impl<T: Config> RefungibleTokenHandle<T> {
+	fn parent_token(&self) -> Result<address> {
+		self.consume_store_reads(2)?;
+		let props = <TokenProperties<T>>::get((self.id, self.1));
+		let key = key::parent_nft();
+
+		let key_scoped = PropertyScope::Eth
+			.apply(key)
+			.expect("property key shouldn't exceed length limit");
+		if let Some(value) = props.get(&key_scoped) {
+			Ok(H160::from_slice(value.as_slice()))
+		} else {
+			Ok(*T::CrossTokenAddressMapping::token_to_address(self.id, self.1).as_eth())
+		}
+	}
+
+	fn parent_token_id(&self) -> Result<uint256> {
+		self.consume_store_reads(2)?;
+		let props = <TokenProperties<T>>::get((self.id, self.1));
+		let key = key::parent_nft();
+
+		let key_scoped = PropertyScope::Eth
+			.apply(key)
+			.expect("property key shouldn't exceed length limit");
+		if let Some(value) = props.get(&key_scoped) {
+			let nft_token_address = H160::from_slice(value.as_slice());
+			let nft_token_account = T::CrossAccountId::from_eth(nft_token_address);
+			let (_, token_id) = T::CrossTokenAddressMapping::address_to_token(&nft_token_account)
+				.ok_or("parent NFT should contain NFT token address")?;
+
+			Ok(token_id.into())
+		} else {
+			Ok(self.1.into())
+		}
+	}
+}
+
+#[solidity_interface(name = "ERC1633UniqueExtensions")]
+impl<T: Config> RefungibleTokenHandle<T> {
+	#[solidity(rename_selector = "setParentNFT")]
+	#[weight(<CommonWeights<T>>::token_owner() + <SelfWeightOf<T>>::set_parent_nft_unchecked())]
+	fn set_parent_nft(
+		&mut self,
+		caller: caller,
+		collection: address,
+		nft_id: uint256,
+	) -> Result<bool> {
+		self.consume_store_reads(1)?;
+		let caller = T::CrossAccountId::from_eth(caller);
+		let nft_collection = map_eth_to_id(&collection).ok_or("collection not found")?;
+		let nft_token = nft_id.try_into()?;
+
+		<Pallet<T>>::set_parent_nft(&self.0, self.1, caller, nft_collection, nft_token)
+			.map_err(dispatch_to_evm::<T>)?;
+
+		Ok(true)
+	}
+}
+
 #[derive(ToLog)]
 pub enum ERC20Events {
 	/// @dev This event is emitted when the amount of tokens (value) is sent
@@ -120,7 +186,7 @@
 			.weight_calls_budget(<StructureWeight<T>>::find_parent());
 
 		<Pallet<T>>::transfer(self, &caller, &to, self.1, amount, &budget)
-			.map_err(|_| "transfer error")?;
+			.map_err(dispatch_to_evm::<T>)?;
 		Ok(true)
 	}
 
@@ -239,7 +305,10 @@
 	}
 }
 
-#[solidity_interface(name = "UniqueRefungibleToken", is(ERC20, ERC20UniqueExtensions,))]
+#[solidity_interface(
+	name = "UniqueRefungibleToken",
+	is(ERC20, ERC20UniqueExtensions, ERC1633, ERC1633UniqueExtensions)
+)]
 impl<T: Config> RefungibleTokenHandle<T> where T::AccountId: From<[u8; 32]> {}
 
 generate_stubgen!(gen_impl, UniqueRefungibleTokenCall<()>, true);
modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/refungible/src/lib.rs
+++ b/pallets/refungible/src/lib.rs
@@ -99,8 +99,12 @@
 use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
 use pallet_evm_coder_substrate::WithRecorder;
 use pallet_common::{
-	CommonCollectionOperations, Error as CommonError, Event as CommonEvent,
-	eth::collection_id_to_address, Pallet as PalletCommon,
+	CollectionHandle, CommonCollectionOperations,
+	dispatch::CollectionDispatch,
+	erc::static_property::{key, property_value_from_bytes},
+	Error as CommonError,
+	eth::collection_id_to_address,
+	Event as CommonEvent, Pallet as PalletCommon,
 };
 use pallet_structure::Pallet as PalletStructure;
 use scale_info::TypeInfo;
@@ -108,10 +112,10 @@
 use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome};
 use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};
 use up_data_structs::{
-	AccessMode, budget::Budget, CollectionId, CreateCollectionData, CustomDataLimit,
-	mapping::TokenAddressMapping, MAX_REFUNGIBLE_PIECES, MAX_ITEMS_PER_BATCH, TokenId, Property,
-	PropertyKey, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue,
-	TrySetProperty, CollectionPropertiesVec,
+	AccessMode, budget::Budget, CollectionId, CollectionMode, CollectionPropertiesVec,
+	CreateCollectionData, CustomDataLimit, mapping::TokenAddressMapping, MAX_ITEMS_PER_BATCH,
+	MAX_REFUNGIBLE_PIECES, Property, PropertyKey, PropertyKeyPermission, PropertyPermission,
+	PropertyScope, PropertyValue, TokenId, TrySetProperty,
 };
 use frame_support::BoundedBTreeMap;
 use derivative::Derivative;
@@ -1341,6 +1345,20 @@
 		<PalletCommon<T>>::set_token_property_permissions(collection, sender, property_permissions)
 	}
 
+	pub fn set_scoped_token_property_permissions(
+		collection: &RefungibleHandle<T>,
+		sender: &T::CrossAccountId,
+		scope: PropertyScope,
+		property_permissions: Vec<PropertyKeyPermission>,
+	) -> DispatchResult {
+		<PalletCommon<T>>::set_scoped_token_property_permissions(
+			collection,
+			sender,
+			scope,
+			property_permissions,
+		)
+	}
+
 	/// Returns 10 token in no particular order.
 	///
 	/// There is no direct way to get token holders in ascending order,
@@ -1362,4 +1380,68 @@
 			Some(res)
 		}
 	}
+
+	/// Sets the NFT token as a parent for the RFT token
+	///
+	/// Throws if `sender` is not the owner of the NFT token.
+	/// Throws if `sender` is not the owner of all of the RFT token pieces.
+	pub fn set_parent_nft(
+		collection: &RefungibleHandle<T>,
+		rft_token_id: TokenId,
+		sender: T::CrossAccountId,
+		nft_collection: CollectionId,
+		nft_token: TokenId,
+	) -> DispatchResult {
+		let handle = <CollectionHandle<T>>::try_get(nft_collection)?;
+		if handle.mode != CollectionMode::NFT {
+			return Err("Only NFT token could be parent to RFT".into());
+		}
+		let dispatch = T::CollectionDispatch::dispatch(handle);
+		let dispatch = dispatch.as_dyn();
+
+		let owner = dispatch.token_owner(nft_token).ok_or("owner not found")?;
+		if owner != sender {
+			return Err("Only owned token could be set as parent".into());
+		}
+
+		let nft_token_address =
+			T::CrossTokenAddressMapping::token_to_address(nft_collection, nft_token);
+
+		Self::set_parent_nft_unchecked(collection, rft_token_id, sender, nft_token_address)
+	}
+
+	/// Sets the NFT token as a parent for the RFT token
+	///
+	/// `sender` should be the owner of the NFT token.
+	/// Throws if `sender` is not the owner of all of the RFT token pieces.
+	pub fn set_parent_nft_unchecked(
+		collection: &RefungibleHandle<T>,
+		rft_token_id: TokenId,
+		sender: T::CrossAccountId,
+		nft_token_address: T::CrossAccountId,
+	) -> DispatchResult {
+		let owner_balance = <Balance<T>>::get((collection.id, rft_token_id, &sender));
+		let total_supply = <TotalSupply<T>>::get((collection.id, rft_token_id));
+		if total_supply != owner_balance {
+			return Err("token has multiple owners".into());
+		}
+
+		let parent_nft_property_key = key::parent_nft();
+
+		let parent_nft_property_value =
+			property_value_from_bytes(&nft_token_address.as_eth().to_fixed_bytes())
+				.expect("address should fit in value length limit");
+
+		<Pallet<T>>::set_scoped_token_property(
+			collection.id,
+			rft_token_id,
+			PropertyScope::Eth,
+			Property {
+				key: parent_nft_property_key,
+				value: parent_nft_property_value,
+			},
+		)?;
+
+		Ok(())
+	}
 }
modifiedpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -371,49 +371,7 @@
 	}
 }
 
-// Selector: 780e9d63
-contract ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid RFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) public view returns (uint256) {
-		require(false, stub_error);
-		index;
-		dummy;
-		return 0;
-	}
-
-	// Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
-		require(false, stub_error);
-		owner;
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @notice Count RFTs tracked by this contract
-	// @return A count of valid RFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() public view returns (uint256) {
-		require(false, stub_error);
-		dummy;
-		return 0;
-	}
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 contract Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -638,9 +596,75 @@
 		mode;
 		dummy = 0;
 	}
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) public view returns (bool) {
+		require(false, stub_error);
+		user;
+		dummy;
+		return false;
+	}
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() public returns (string memory) {
+		require(false, stub_error);
+		dummy = 0;
+		return "";
+	}
+}
+
+// Selector: 780e9d63
+contract ERC721Enumerable is Dummy, ERC165 {
+	// @notice Enumerate valid RFTs
+	// @param index A counter less than `totalSupply()`
+	// @return The token identifier for the `index`th NFT,
+	//  (sort order not specified)
+	//
+	// Selector: tokenByIndex(uint256) 4f6ccce7
+	function tokenByIndex(uint256 index) public view returns (uint256) {
+		require(false, stub_error);
+		index;
+		dummy;
+		return 0;
+	}
+
+	// Not implemented
+	//
+	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+	function tokenOfOwnerByIndex(address owner, uint256 index)
+		public
+		view
+		returns (uint256)
+	{
+		require(false, stub_error);
+		owner;
+		index;
+		dummy;
+		return 0;
+	}
+
+	// @notice Count RFTs tracked by this contract
+	// @return A count of valid RFTs tracked by this contract, where each one of
+	//  them has an assigned and queryable owner not equal to the zero address
+	//
+	// Selector: totalSupply() 18160ddd
+	function totalSupply() public view returns (uint256) {
+		require(false, stub_error);
+		dummy;
+		return 0;
+	}
 }
 
-// Selector: d74d154f
+// Selector: 7c3bef89
 contract ERC721UniqueExtensions is Dummy, ERC165 {
 	// @notice Transfer ownership of an RFT
 	// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -719,6 +743,18 @@
 		dummy = 0;
 		return false;
 	}
+
+	// Returns EVM address for refungible token
+	//
+	// @param token ID of the token
+	//
+	// Selector: tokenContractAddress(uint256) ab76fac6
+	function tokenContractAddress(uint256 token) public view returns (address) {
+		require(false, stub_error);
+		token;
+		dummy;
+		return 0x0000000000000000000000000000000000000000;
+	}
 }
 
 contract UniqueRefungible is
modifiedpallets/refungible/src/stubs/UniqueRefungibleToken.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungibleToken.soldiffbeforeafterboth
--- a/pallets/refungible/src/stubs/UniqueRefungibleToken.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungibleToken.sol
@@ -31,6 +31,38 @@
 	);
 }
 
+// Selector: 042f1106
+contract ERC1633UniqueExtensions is Dummy, ERC165 {
+	// Selector: setParentNFT(address,uint256) 042f1106
+	function setParentNFT(address collection, uint256 nftId)
+		public
+		returns (bool)
+	{
+		require(false, stub_error);
+		collection;
+		nftId;
+		dummy = 0;
+		return false;
+	}
+}
+
+// Selector: 5755c3f2
+contract ERC1633 is Dummy, ERC165 {
+	// Selector: parentToken() 80a54001
+	function parentToken() public view returns (address) {
+		require(false, stub_error);
+		dummy;
+		return 0x0000000000000000000000000000000000000000;
+	}
+
+	// Selector: parentTokenId() d7f083f3
+	function parentTokenId() public view returns (uint256) {
+		require(false, stub_error);
+		dummy;
+		return 0;
+	}
+}
+
 // Selector: 942e8b22
 contract ERC20 is Dummy, ERC165, ERC20Events {
 	// @return the name of the token.
@@ -178,4 +210,11 @@
 	}
 }
 
-contract UniqueRefungibleToken is Dummy, ERC165, ERC20, ERC20UniqueExtensions {}
+contract UniqueRefungibleToken is
+	Dummy,
+	ERC165,
+	ERC20,
+	ERC20UniqueExtensions,
+	ERC1633,
+	ERC1633UniqueExtensions
+{}
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_refungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-20, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -53,6 +53,8 @@
 	fn set_token_properties(b: u32, ) -> Weight;
 	fn delete_token_properties(b: u32, ) -> Weight;
 	fn repartition_item() -> Weight;
+	fn set_parent_nft_unchecked() -> Weight;
+	fn token_owner() -> Weight;
 }
 
 /// Weights for pallet_refungible using the Substrate node and recommended hardware.
@@ -65,7 +67,7 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(21_310_000 as Weight)
+		(25_197_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
@@ -76,9 +78,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(9_552_000 as Weight)
+		(10_852_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((7_056_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
@@ -90,9 +92,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		(4_857_000 as Weight)
+		(9_978_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((9_838_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -105,9 +107,9 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		(11_335_000 as Weight)
+		(15_419_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((6_784_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
@@ -118,7 +120,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		(21_239_000 as Weight)
+		(25_578_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -130,13 +132,13 @@
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		(29_426_000 as Weight)
+		(33_593_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(7 as Weight))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_normal() -> Weight {
-		(17_743_000 as Weight)
+		(21_049_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -144,7 +146,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		(20_699_000 as Weight)
+		(24_646_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -152,7 +154,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		(22_833_000 as Weight)
+		(26_570_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -160,21 +162,21 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		(24_936_000 as Weight)
+		(28_906_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(13_446_000 as Weight)
+		(16_451_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_from_normal() -> Weight {
-		(24_777_000 as Weight)
+		(29_545_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -183,7 +185,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		(28_483_000 as Weight)
+		(33_392_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -192,7 +194,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		(29_896_000 as Weight)
+		(35_446_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -201,7 +203,7 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		(32_070_000 as Weight)
+		(37_762_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(7 as Weight))
 	}
@@ -214,15 +216,15 @@
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(36_789_000 as Weight)
+		(42_620_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(8 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 62_000
-			.saturating_add((15_803_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 65_000
+			.saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -230,8 +232,8 @@
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_668_000
-			.saturating_add((302_308_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_583_000
+			.saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -239,18 +241,31 @@
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_619_000
-			.saturating_add((294_574_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_699_000
+			.saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible Balance (r:1 w:1)
 	fn repartition_item() -> Weight {
-		(8_325_000 as Weight)
+		(19_206_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
+	// Storage: Refungible Balance (r:1 w:0)
+	// Storage: Refungible TotalSupply (r:1 w:0)
+	// Storage: Refungible TokenProperties (r:1 w:1)
+	fn set_parent_nft_unchecked() -> Weight {
+		(10_189_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(3 as Weight))
+			.saturating_add(T::DbWeight::get().writes(1 as Weight))
+	}
+	// Storage: Refungible Balance (r:2 w:0)
+	fn token_owner() -> Weight {
+		(8_205_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(2 as Weight))
+	}
 }
 
 // For backwards compatibility and tests
@@ -262,7 +277,7 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(21_310_000 as Weight)
+		(25_197_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
@@ -273,9 +288,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(9_552_000 as Weight)
+		(10_852_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((7_056_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
@@ -287,9 +302,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		(4_857_000 as Weight)
+		(9_978_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((9_838_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -302,9 +317,9 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		(11_335_000 as Weight)
+		(15_419_000 as Weight)
 			// Standard Error: 2_000
-			.saturating_add((6_784_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
@@ -315,7 +330,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		(21_239_000 as Weight)
+		(25_578_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -327,13 +342,13 @@
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		(29_426_000 as Weight)
+		(33_593_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(7 as Weight))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_normal() -> Weight {
-		(17_743_000 as Weight)
+		(21_049_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
@@ -341,7 +356,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		(20_699_000 as Weight)
+		(24_646_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -349,7 +364,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		(22_833_000 as Weight)
+		(26_570_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -357,21 +372,21 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		(24_936_000 as Weight)
+		(28_906_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(13_446_000 as Weight)
+		(16_451_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_from_normal() -> Weight {
-		(24_777_000 as Weight)
+		(29_545_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
@@ -380,7 +395,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		(28_483_000 as Weight)
+		(33_392_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -389,7 +404,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		(29_896_000 as Weight)
+		(35_446_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -398,7 +413,7 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		(32_070_000 as Weight)
+		(37_762_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(7 as Weight))
 	}
@@ -411,15 +426,15 @@
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(36_789_000 as Weight)
+		(42_620_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(8 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 62_000
-			.saturating_add((15_803_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 65_000
+			.saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -427,8 +442,8 @@
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_668_000
-			.saturating_add((302_308_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_583_000
+			.saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -436,16 +451,29 @@
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 1_619_000
-			.saturating_add((294_574_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 1_699_000
+			.saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible Balance (r:1 w:1)
 	fn repartition_item() -> Weight {
-		(8_325_000 as Weight)
+		(19_206_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
+	// Storage: Refungible Balance (r:1 w:0)
+	// Storage: Refungible TotalSupply (r:1 w:0)
+	// Storage: Refungible TokenProperties (r:1 w:1)
+	fn set_parent_nft_unchecked() -> Weight {
+		(10_189_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
+	}
+	// Storage: Refungible Balance (r:2 w:0)
+	fn token_owner() -> Weight {
+		(8_205_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
+	}
 }
modifiedpallets/unique/src/eth/mod.rsdiffbeforeafterboth
--- a/pallets/unique/src/eth/mod.rs
+++ b/pallets/unique/src/eth/mod.rs
@@ -17,26 +17,29 @@
 //! Implementation of CollectionHelpers contract.
 
 use core::marker::PhantomData;
-use evm_coder::{execution::*, generate_stubgen, solidity_interface, solidity, weight, types::*};
 use ethereum as _;
-use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
-use pallet_evm::{OnMethodCall, PrecompileResult, account::CrossAccountId, PrecompileHandle};
-use up_data_structs::{
-	CollectionName, CollectionDescription, CollectionTokenPrefix, CreateCollectionData,
-	CollectionMode, PropertyValue,
-};
+use evm_coder::{execution::*, generate_stubgen, solidity_interface, solidity, weight, types::*};
 use frame_support::traits::Get;
 use pallet_common::{
-	CollectionById,
+	CollectionById, CollectionHandle,
+	dispatch::CollectionDispatch,
 	erc::{
+		CollectionHelpersEvents,
 		static_property::{key, value as property_value},
-		CollectionHelpersEvents,
 	},
-	dispatch::CollectionDispatch,
+	Pallet as PalletCommon,
 };
-use crate::{SelfWeightOf, Config, weights::WeightInfo};
+use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
+use pallet_evm::{account::CrossAccountId, OnMethodCall, PrecompileHandle, PrecompileResult};
+use pallet_evm_coder_substrate::dispatch_to_evm;
+use up_data_structs::{
+	CollectionName, CollectionDescription, CollectionTokenPrefix, CreateCollectionData,
+	CollectionMode, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue,
+};
+
+use crate::{Config, SelfWeightOf, weights::WeightInfo};
 
-use sp_std::vec::Vec;
+use sp_std::{vec, vec::Vec};
 use alloc::format;
 
 /// See [`CollectionHelpersCall`]
@@ -151,6 +154,54 @@
 	Ok(data)
 }
 
+fn parent_nft_property_permissions() -> PropertyKeyPermission {
+	PropertyKeyPermission {
+		key: key::parent_nft(),
+		permission: PropertyPermission {
+			mutable: false,
+			collection_admin: false,
+			token_owner: true,
+		},
+	}
+}
+
+fn create_refungible_collection_internal<
+	T: Config + pallet_nonfungible::Config + pallet_refungible::Config,
+>(
+	caller: caller,
+	name: string,
+	description: string,
+	token_prefix: string,
+	base_uri: string,
+	add_properties: bool,
+) -> Result<address> {
+	let (caller, name, description, token_prefix, base_uri_value) =
+		convert_data::<T>(caller, name, description, token_prefix, base_uri)?;
+	let data = make_data::<T>(
+		name,
+		CollectionMode::ReFungible,
+		description,
+		token_prefix,
+		base_uri_value,
+		add_properties,
+	)?;
+
+	let collection_id = T::CollectionDispatch::create(caller.clone(), data)
+		.map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
+
+	let handle = <CollectionHandle<T>>::try_get(collection_id).map_err(dispatch_to_evm::<T>)?;
+	<PalletCommon<T>>::set_scoped_token_property_permissions(
+		&handle,
+		&caller,
+		PropertyScope::Eth,
+		vec![parent_nft_property_permissions()],
+	)
+	.map_err(dispatch_to_evm::<T>)?;
+
+	let address = pallet_common::eth::collection_id_to_address(collection_id);
+	Ok(address)
+}
+
 /// @title Contract, which allows users to operate with collections
 #[solidity_interface(name = "CollectionHelpers", events(CollectionHelpersEvents))]
 impl<T> EvmCollectionHelpers<T>
@@ -216,27 +267,20 @@
 
 	#[weight(<SelfWeightOf<T>>::create_collection())]
 	fn create_refungible_collection(
-		&self,
+		&mut self,
 		caller: caller,
 		name: string,
 		description: string,
 		token_prefix: string,
 	) -> Result<address> {
-		let (caller, name, description, token_prefix, _base_uri) =
-			convert_data::<T>(caller, name, description, token_prefix, "".into())?;
-		let data = make_data::<T>(
+		create_refungible_collection_internal::<T>(
+			caller,
 			name,
-			CollectionMode::ReFungible,
 			description,
 			token_prefix,
 			Default::default(),
 			false,
-		)?;
-		let collection_id = T::CollectionDispatch::create(caller, data)
-			.map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
-
-		let address = pallet_common::eth::collection_id_to_address(collection_id);
-		Ok(address)
+		)
 	}
 
 	#[weight(<SelfWeightOf<T>>::create_collection())]
@@ -249,21 +293,14 @@
 		token_prefix: string,
 		base_uri: string,
 	) -> Result<address> {
-		let (caller, name, description, token_prefix, base_uri_value) =
-			convert_data::<T>(caller, name, description, token_prefix, base_uri)?;
-		let data = make_data::<T>(
+		create_refungible_collection_internal::<T>(
+			caller,
 			name,
-			CollectionMode::NFT,
 			description,
 			token_prefix,
-			base_uri_value,
+			base_uri,
 			true,
-		)?;
-		let collection_id = T::CollectionDispatch::create(caller, data)
-			.map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
-
-		let address = pallet_common::eth::collection_id_to_address(collection_id);
-		Ok(address)
+		)
 	}
 
 	/// Check if a collection exists
modifiedpallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth
--- a/pallets/unique/src/eth/stubs/CollectionHelpers.sol
+++ b/pallets/unique/src/eth/stubs/CollectionHelpers.sol
@@ -72,12 +72,12 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) public view returns (address) {
+	) public returns (address) {
 		require(false, stub_error);
 		name;
 		description;
 		tokenPrefix;
-		dummy;
+		dummy = 0;
 		return 0x0000000000000000000000000000000000000000;
 	}
 
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -1050,6 +1050,7 @@
 pub enum PropertyScope {
 	None,
 	Rmrk,
+	Eth,
 }
 
 impl PropertyScope {
@@ -1058,6 +1059,7 @@
 		let scope_str: &[u8] = match self {
 			Self::None => return Ok(key),
 			Self::Rmrk => b"rmrk",
+			Self::Eth => b"eth",
 		};
 
 		[scope_str, b":", key.as_slice()]
modifiedruntime/common/weights.rsdiffbeforeafterboth
--- a/runtime/common/weights.rs
+++ b/runtime/common/weights.rs
@@ -116,6 +116,10 @@
 	fn burn_recursively_breadth_raw(amount: u32) -> Weight {
 		max_weight_of!(burn_recursively_breadth_raw(amount))
 	}
+
+	fn token_owner() -> Weight {
+		max_weight_of!(token_owner())
+	}
 }
 
 #[cfg(feature = "refungible")]
modifiedtests/package.jsondiffbeforeafterboth
--- a/tests/package.json
+++ b/tests/package.json
@@ -8,6 +8,7 @@
     "@polkadot/typegen": "8.7.2-15",
     "@types/chai": "^4.3.1",
     "@types/chai-as-promised": "^7.1.5",
+    "@types/chai-like": "^1.1.1",
     "@types/mocha": "^9.1.1",
     "@types/node": "^17.0.35",
     "@typescript-eslint/eslint-plugin": "^5.26.0",
@@ -96,6 +97,7 @@
     "@polkadot/util-crypto": "9.4.1",
     "bignumber.js": "^9.0.2",
     "chai-as-promised": "^7.1.1",
+    "chai-like": "^1.1.1",
     "find-process": "^1.4.7",
     "solc": "0.8.14-fixed",
     "web3": "^1.7.3"
modifiedtests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth
--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -48,7 +48,7 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) external view returns (address);
+	) external returns (address);
 
 	// Selector: createERC721MetadataCompatibleRFTCollection(string,string,string,string) a5596388
 	function createERC721MetadataCompatibleRFTCollection(
modifiedtests/src/eth/api/UniqueFungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueFungible.sol
+++ b/tests/src/eth/api/UniqueFungible.sol
@@ -22,13 +22,7 @@
 	);
 }
 
-// Selector: 79cc6790
-interface ERC20UniqueExtensions is Dummy, ERC165 {
-	// Selector: burnFrom(address,uint256) 79cc6790
-	function burnFrom(address from, uint256 amount) external returns (bool);
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 interface Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -174,6 +168,27 @@
 	//
 	// Selector: setCollectionMintMode(bool) 00018e84
 	function setCollectionMintMode(bool mode) external;
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) external view returns (bool);
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() external returns (string memory);
+}
+
+// Selector: 79cc6790
+interface ERC20UniqueExtensions is Dummy, ERC165 {
+	// Selector: burnFrom(address,uint256) 79cc6790
+	function burnFrom(address from, uint256 amount) external returns (bool);
 }
 
 // Selector: 942e8b22
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -250,33 +250,7 @@
 	function finishMinting() external returns (bool);
 }
 
-// Selector: 780e9d63
-interface ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid NFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) external view returns (uint256);
-
-	// @dev Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
-
-	// @notice Count NFTs tracked by this contract
-	// @return A count of valid NFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() external view returns (uint256);
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 interface Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -422,6 +396,47 @@
 	//
 	// Selector: setCollectionMintMode(bool) 00018e84
 	function setCollectionMintMode(bool mode) external;
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) external view returns (bool);
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() external returns (string memory);
+}
+
+// Selector: 780e9d63
+interface ERC721Enumerable is Dummy, ERC165 {
+	// @notice Enumerate valid NFTs
+	// @param index A counter less than `totalSupply()`
+	// @return The token identifier for the `index`th NFT,
+	//  (sort order not specified)
+	//
+	// Selector: tokenByIndex(uint256) 4f6ccce7
+	function tokenByIndex(uint256 index) external view returns (uint256);
+
+	// @dev Not implemented
+	//
+	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+	function tokenOfOwnerByIndex(address owner, uint256 index)
+		external
+		view
+		returns (uint256);
+
+	// @notice Count NFTs tracked by this contract
+	// @return A count of valid NFTs tracked by this contract, where each one of
+	//  them has an assigned and queryable owner not equal to the zero address
+	//
+	// Selector: totalSupply() 18160ddd
+	function totalSupply() external view returns (uint256);
 }
 
 // Selector: d74d154f
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -248,33 +248,7 @@
 	function finishMinting() external returns (bool);
 }
 
-// Selector: 780e9d63
-interface ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid RFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) external view returns (uint256);
-
-	// Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
-
-	// @notice Count RFTs tracked by this contract
-	// @return A count of valid RFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() external view returns (uint256);
-}
-
-// Selector: 7d9262e6
+// Selector: 6cf113cd
 interface Collection is Dummy, ERC165 {
 	// Set collection property.
 	//
@@ -420,9 +394,50 @@
 	//
 	// Selector: setCollectionMintMode(bool) 00018e84
 	function setCollectionMintMode(bool mode) external;
+
+	// Check that account is the owner or admin of the collection
+	//
+	// @param user account to verify
+	// @return "true" if account is the owner or admin
+	//
+	// Selector: verifyOwnerOrAdmin(address) c2282493
+	function verifyOwnerOrAdmin(address user) external view returns (bool);
+
+	// Returns collection type
+	//
+	// @return `Fungible` or `NFT` or `ReFungible`
+	//
+	// Selector: uniqueCollectionType() d34b55b8
+	function uniqueCollectionType() external returns (string memory);
+}
+
+// Selector: 780e9d63
+interface ERC721Enumerable is Dummy, ERC165 {
+	// @notice Enumerate valid RFTs
+	// @param index A counter less than `totalSupply()`
+	// @return The token identifier for the `index`th NFT,
+	//  (sort order not specified)
+	//
+	// Selector: tokenByIndex(uint256) 4f6ccce7
+	function tokenByIndex(uint256 index) external view returns (uint256);
+
+	// Not implemented
+	//
+	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+	function tokenOfOwnerByIndex(address owner, uint256 index)
+		external
+		view
+		returns (uint256);
+
+	// @notice Count RFTs tracked by this contract
+	// @return A count of valid RFTs tracked by this contract, where each one of
+	//  them has an assigned and queryable owner not equal to the zero address
+	//
+	// Selector: totalSupply() 18160ddd
+	function totalSupply() external view returns (uint256);
 }
 
-// Selector: d74d154f
+// Selector: 7c3bef89
 interface ERC721UniqueExtensions is Dummy, ERC165 {
 	// @notice Transfer ownership of an RFT
 	// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -473,6 +488,16 @@
 	function mintBulkWithTokenURI(address to, Tuple0[] memory tokens)
 		external
 		returns (bool);
+
+	// Returns EVM address for refungible token
+	//
+	// @param token ID of the token
+	//
+	// Selector: tokenContractAddress(uint256) ab76fac6
+	function tokenContractAddress(uint256 token)
+		external
+		view
+		returns (address);
 }
 
 interface UniqueRefungible is
modifiedtests/src/eth/api/UniqueRefungibleToken.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungibleToken.sol
+++ b/tests/src/eth/api/UniqueRefungibleToken.sol
@@ -22,6 +22,23 @@
 	);
 }
 
+// Selector: 042f1106
+interface ERC1633UniqueExtensions is Dummy, ERC165 {
+	// Selector: setParentNFT(address,uint256) 042f1106
+	function setParentNFT(address collection, uint256 nftId)
+		external
+		returns (bool);
+}
+
+// Selector: 5755c3f2
+interface ERC1633 is Dummy, ERC165 {
+	// Selector: parentToken() 80a54001
+	function parentToken() external view returns (address);
+
+	// Selector: parentTokenId() d7f083f3
+	function parentTokenId() external view returns (uint256);
+}
+
 // Selector: 942e8b22
 interface ERC20 is Dummy, ERC165, ERC20Events {
 	// @return the name of the token.
@@ -115,5 +132,7 @@
 	Dummy,
 	ERC165,
 	ERC20,
-	ERC20UniqueExtensions
+	ERC20UniqueExtensions,
+	ERC1633,
+	ERC1633UniqueExtensions
 {}
modifiedtests/src/eth/collectionAdmin.test.tsdiffbeforeafterboth
--- a/tests/src/eth/collectionAdmin.test.ts
+++ b/tests/src/eth/collectionAdmin.test.ts
@@ -59,6 +59,22 @@
     expect(adminList[0].asSubstrate.toString().toLocaleLowerCase())
       .to.be.eq(newAdmin.address.toLocaleLowerCase());
   });
+  
+  itWeb3('Verify owner or admin', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const collectionHelper = evmCollectionHelpers(web3, owner);
+        
+    const result = await collectionHelper.methods
+      .createNonfungibleCollection('A', 'B', 'C')
+      .send();
+    const {collectionIdAddress} = await getCollectionAddressFromResult(api, result);
+
+    const newAdmin = createEthAccount(web3);
+    const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+    expect(await collectionEvm.methods.verifyOwnerOrAdmin(newAdmin).call()).to.be.false;
+    await collectionEvm.methods.addCollectionAdmin(newAdmin).send();
+    expect(await collectionEvm.methods.verifyOwnerOrAdmin(newAdmin).call()).to.be.true;
+  });
 
   itWeb3('(!negative tests!) Add admin by ADMIN is not allowed', async ({api, web3, privateKeyWrapper}) => {
     const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
modifiedtests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -61,7 +61,7 @@
     ],
     "name": "createRefungibleCollection",
     "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
-    "stateMutability": "view",
+    "stateMutability": "nonpayable",
     "type": "function"
   },
   {
addedtests/src/eth/fractionalizer/Fractionalizer.bindiffbeforeafterboth
--- /dev/null
+++ b/tests/src/eth/fractionalizer/Fractionalizer.bin
@@ -0,0 +1 @@
+60c0604052600a60805269526546756e6769626c6560b01b60a0527fcdb72fd4e1d0d6d4eebd7ab142113ec2b4b06ddb24324db5c287ef01ab484d6b60055534801561004a57600080fd5b50600480546001600160a01b0319163317905561137a8061006c6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063115091401461005c5780631b191ea214610071578063d470e60f14610084578063dbc38ad214610097578063eb292412146100aa575b600080fd5b61006f61006a366004610f85565b6100bd565b005b61006f61007f366004610ff2565b61035b565b61006f61009236600461108c565b6104c0565b61006f6100a53660046110b8565b61089d565b61006f6100b8366004611114565b610ee0565b6004546001600160a01b031633146100f05760405162461bcd60e51b81526004016100e79061114d565b60405180910390fd5b6000546001600160a01b0316156101495760405162461bcd60e51b815260206004820152601d60248201527f52465420636f6c6c656374696f6e20697320616c72656164792073657400000060448201526064016100e7565b60008190506000816001600160a01b031663d34b55b86040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610190573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101b8919081019061118b565b905060055481805190602001201461022f5760405162461bcd60e51b815260206004820152603460248201527f57726f6e6720636f6c6c656374696f6e20747970652e20436f6c6c656374696f604482015273371034b9903737ba103932b33ab733b4b136329760611b60648201526084016100e7565b816001600160a01b03166304a460536040518163ffffffff1660e01b81526004016020604051808303816000875af115801561026f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610293919061125b565b6103055760405162461bcd60e51b815260206004820152603c60248201527f4672616374696f6e616c697a657220636f6e74726163742073686f756c64206260448201527f6520616e2061646d696e206f662074686520636f6c6c656374696f6e0000000060648201526084016100e7565b600080546001600160a01b0319166001600160a01b0385169081179091556040519081527f7186a599bf2297b1f4c8957d30b0965291eee0021a5f9a0aeb54dcbd1ffdceef9060200160405180910390a1505050565b6004546001600160a01b031633146103855760405162461bcd60e51b81526004016100e79061114d565b6000546001600160a01b0316156103de5760405162461bcd60e51b815260206004820152601d60248201527f52465420636f6c6c656374696f6e20697320616c72656164792073657400000060448201526064016100e7565b6040516344a68ad560e01b8152736c4e9fe1ae37a41e93cee429e8e1881abdcbb54f9081906344a68ad590610421908a908a908a908a908a908a906004016112a1565b6020604051808303816000875af1158015610440573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046491906112ea565b600080546001600160a01b0319166001600160a01b039290921691821790556040519081527f7186a599bf2297b1f4c8957d30b0965291eee0021a5f9a0aeb54dcbd1ffdceef906020015b60405180910390a150505050505050565b6000546001600160a01b03166105145760405162461bcd60e51b81526020600482015260196024820152781491950818dbdb1b1958dd1a5bdb881a5cc81b9bdd081cd95d603a1b60448201526064016100e7565b6000546001600160a01b038381169116146105685760405162461bcd60e51b81526020600482015260146024820152732bb937b7339029232a1031b7b63632b1ba34b7b760611b60448201526064016100e7565b600080546040516355bb7d6360e11b8152600481018490526001600160a01b039091169190829063ab76fac690602401602060405180830381865afa1580156105b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d991906112ea565b6001600160a01b03808216600090815260036020908152604091829020825180840190935280549093168083526001909301549082015291925061065f5760405162461bcd60e51b815260206004820181905260248201527f4e6f20636f72726573706f6e64696e67204e465420746f6b656e20666f756e6460448201526064016100e7565b6000829050806001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c69190611307565b6040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190611307565b1461078a5760405162461bcd60e51b815260206004820152602660248201527f4e6f7420616c6c2070696563657320617265206f776e6564206279207468652060448201526531b0b63632b960d11b60648201526084016100e7565b6040516323b872dd60e01b81526001600160a01b038516906323b872dd906107ba90339030908a90600401611320565b600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b5050835160208501516040516323b872dd60e01b81526001600160a01b0390921693506323b872dd92506108229130913391600401611320565b600060405180830381600087803b15801561083c57600080fd5b505af1158015610850573d6000803e3d6000fd5b5050835160208501516040517fe9e9808d24ff79ccc3b1ecf48be7b2d11591adccc452150d0d7947cb48eb0d53945061088d935087929190611320565b60405180910390a1505050505050565b6000546001600160a01b03166108f15760405162461bcd60e51b81526020600482015260196024820152781491950818dbdb1b1958dd1a5bdb881a5cc81b9bdd081cd95d603a1b60448201526064016100e7565b600080546001600160a01b0385811683526001602081905260409093205491169160ff90911615151461098c5760405162461bcd60e51b815260206004820152603c60248201527f4672616374696f6e616c697a6174696f6e206f66207468697320636f6c6c656360448201527f74696f6e206973206e6f7420616c6c6f7765642062792061646d696e0000000060648201526084016100e7565b6040516331a9108f60e11b81526004810184905233906001600160a01b03861690636352211e90602401602060405180830381865afa1580156109d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f791906112ea565b6001600160a01b031614610a5d5760405162461bcd60e51b815260206004820152602760248201527f4f6e6c7920746f6b656e206f776e657220636f756c64206672616374696f6e616044820152661b1a5e99481a5d60ca1b60648201526084016100e7565b6040516323b872dd60e01b81526001600160a01b038516906323b872dd90610a8d90339030908890600401611320565b600060405180830381600087803b158015610aa757600080fd5b505af1158015610abb573d6000803e3d6000fd5b505050506001600160a01b0384166000908152600260209081526040808320868452909152812054819081908103610d0757836001600160a01b03166375794a3c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4f9190611307565b6040516340c10f1960e01b8152306004820152602481018290529093506001600160a01b038516906340c10f19906044016020604051808303816000875af1158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc3919061125b565b506040516355bb7d6360e11b8152600481018490526001600160a01b0385169063ab76fac690602401602060405180830381865afa158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d91906112ea565b6001600160a01b0388811660008181526002602090815260408083208c84528252808320899055805180820182528481528083018d8152878716808652600390945293829020905181546001600160a01b0319169616959095178555915160019094019390935551630217888360e11b81526004810191909152602481018990529193508392509063042f1106906044016020604051808303816000875af1158015610cdd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d01919061125b565b50610d98565b6001600160a01b0387811660009081526002602090815260408083208a8452909152908190205490516355bb7d6360e11b8152600481018290529094509085169063ab76fac690602401602060405180830381865afa158015610d6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9291906112ea565b91508190505b60405163d2418ca760e01b81526001600160801b03861660048201526001600160a01b0382169063d2418ca7906024016020604051808303816000875af1158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b919061125b565b5060405163a9059cbb60e01b81523360048201526001600160801b03861660248201526001600160a01b0382169063a9059cbb906044016020604051808303816000875af1158015610e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e85919061125b565b50604080516001600160a01b03808a168252602082018990528416918101919091526001600160801b03861660608201527f29f372538523984f33874da1b50e596ce0f180a6eb04d7ff22bb2ce80e1576b6906080016104af565b6004546001600160a01b03163314610f0a5760405162461bcd60e51b81526004016100e79061114d565b6001600160a01b038216600081815260016020908152604091829020805460ff19168515159081179091558251938452908301527f6dad0aed33f4b7f07095619b668698e17943fd9f4c83e7cfcc7f6dd880a11588910160405180910390a15050565b6001600160a01b0381168114610f8257600080fd5b50565b600060208284031215610f9757600080fd5b8135610fa281610f6d565b9392505050565b60008083601f840112610fbb57600080fd5b50813567ffffffffffffffff811115610fd357600080fd5b602083019150836020828501011115610feb57600080fd5b9250929050565b6000806000806000806060878903121561100b57600080fd5b863567ffffffffffffffff8082111561102357600080fd5b61102f8a838b01610fa9565b9098509650602089013591508082111561104857600080fd5b6110548a838b01610fa9565b9096509450604089013591508082111561106d57600080fd5b5061107a89828a01610fa9565b979a9699509497509295939492505050565b6000806040838503121561109f57600080fd5b82356110aa81610f6d565b946020939093013593505050565b6000806000606084860312156110cd57600080fd5b83356110d881610f6d565b92506020840135915060408401356001600160801b03811681146110fb57600080fd5b809150509250925092565b8015158114610f8257600080fd5b6000806040838503121561112757600080fd5b823561113281610f6d565b9150602083013561114281611106565b809150509250929050565b6020808252600e908201526d27b7363c9037bbb732b91031b0b760911b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561119e57600080fd5b825167ffffffffffffffff808211156111b657600080fd5b818501915085601f8301126111ca57600080fd5b8151818111156111dc576111dc611175565b604051601f8201601f19908116603f0116810190838211818310171561120457611204611175565b81604052828152888684870101111561121c57600080fd5b600093505b8284101561123e5784840186015181850187015292850192611221565b8284111561124f5760008684830101525b98975050505050505050565b60006020828403121561126d57600080fd5b8151610fa281611106565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6060815260006112b560608301888a611278565b82810360208401526112c8818789611278565b905082810360408401526112dd818587611278565b9998505050505050505050565b6000602082840312156112fc57600080fd5b8151610fa281610f6d565b60006020828403121561131957600080fd5b5051919050565b6001600160a01b03938416815291909216602082015260408101919091526060019056fea2646970667358221220a118fe8c3b83b3933baa7bfe084ed165a014ec509367252e5c99e1a3332d000364736f6c634300080f0033
\ No newline at end of file
addedtests/src/eth/fractionalizer/Fractionalizer.soldiffbeforeafterboth
--- /dev/null
+++ b/tests/src/eth/fractionalizer/Fractionalizer.sol
@@ -0,0 +1,189 @@
+// SPDX-License-Identifier:  Apache License
+pragma solidity >=0.8.0;
+import {CollectionHelpers} from "../api/CollectionHelpers.sol";
+import {ContractHelpers} from "../api/ContractHelpers.sol";
+import {UniqueRefungibleToken} from "../api/UniqueRefungibleToken.sol";
+import {UniqueRefungible} from "../api/UniqueRefungible.sol";
+import {UniqueNFT} from "../api/UniqueNFT.sol";
+
+/// @dev Fractionalization contract. It stores mappings between NFT and RFT tokens,
+///  stores allowlist of NFT tokens available for fractionalization, has methods
+///  for fractionalization and defractionalization of NFT tokens.
+contract Fractionalizer {
+    struct Token {
+        address _collection;
+        uint256 _tokenId;
+    }
+    address rftCollection;
+    mapping(address => bool) nftCollectionAllowList;
+    mapping(address => mapping(uint256 => uint256)) nft2rftMapping;
+    mapping(address => Token) rft2nftMapping;
+    bytes32 refungibleCollectionType = keccak256(bytes("ReFungible"));
+
+    receive() external payable onlyOwner {}
+
+    /// @dev Method modifier to only allow contract owner to call it.
+    modifier onlyOwner() {
+        address contracthelpersAddress = 0x842899ECF380553E8a4de75bF534cdf6fBF64049;
+        ContractHelpers contractHelpers = ContractHelpers(contracthelpersAddress);
+        address contractOwner = contractHelpers.contractOwner(address(this));
+        require(msg.sender == contractOwner, "Only owner can");
+        _;
+    }
+
+    /// @dev This emits when RFT collection setting is changed.
+    event RFTCollectionSet(address _collection);
+
+    /// @dev This emits when NFT collection is allowed or disallowed.
+    event AllowListSet(address _collection, bool _status);
+
+    /// @dev This emits when NFT token is fractionalized by contract.
+    event Fractionalized(address _collection, uint256 _tokenId, address _rftToken, uint128 _amount);
+
+    /// @dev This emits when NFT token is defractionalized by contract.
+    event Defractionalized(address _rftToken, address _nftCollection, uint256 _nftTokenId);
+
+    /// Set RFT collection that contract will work with. RFT tokens for fractionalized NFT tokens
+    /// would be created in this collection.
+    /// @dev Throws if RFT collection is already configured for this contract.
+    ///  Throws if collection of wrong type (NFT, Fungible) is provided instead
+    ///  of RFT collection.
+    ///  Throws if `msg.sender` is not owner or admin of provided RFT collection.
+    ///  Can only be called by contract owner.
+    /// @param _collection address of RFT collection.
+    function setRFTCollection(address _collection) public onlyOwner {
+        require(
+            rftCollection == address(0),
+            "RFT collection is already set"
+        );
+        UniqueRefungible refungibleContract = UniqueRefungible(_collection);
+        string memory collectionType = refungibleContract.uniqueCollectionType();
+        
+        require(
+            keccak256(bytes(collectionType)) == refungibleCollectionType,
+            "Wrong collection type. Collection is not refungible."
+        );
+        require(
+            refungibleContract.verifyOwnerOrAdmin(address(this)),
+            "Fractionalizer contract should be an admin of the collection"
+        );
+        rftCollection = _collection;
+        emit RFTCollectionSet(rftCollection);
+    }
+
+    /// Creates and sets RFT collection that contract will work with. RFT tokens for fractionalized NFT tokens
+    /// would be created in this collection.
+    /// @dev Throws if RFT collection is already configured for this contract.
+    ///  Can only be called by contract owner.
+    /// @param _name name for created RFT collection.
+    /// @param _description description for created RFT collection.
+    /// @param _tokenPrefix token prefix for created RFT collection.
+    function createAndSetRFTCollection(string calldata _name, string calldata _description, string calldata _tokenPrefix) public onlyOwner {
+        require(
+            rftCollection == address(0),
+            "RFT collection is already set"
+        );
+        address collectionHelpers = 0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F;
+        rftCollection = CollectionHelpers(collectionHelpers).createRefungibleCollection(_name, _description, _tokenPrefix);
+        emit RFTCollectionSet(rftCollection);
+    }
+
+    /// Allow or disallow NFT collection tokens from being fractionalized by this contract.
+    /// @dev Can only be called by contract owner.
+    /// @param collection NFT token address.
+    /// @param status `true` to allow and `false` to disallow NFT token.
+    function setNftCollectionIsAllowed(address collection, bool status) public onlyOwner {
+        nftCollectionAllowList[collection] = status;
+        emit AllowListSet(collection, status);
+    }
+
+    /// Fractionilize NFT token.
+    /// @dev Takes NFT token from `msg.sender` and transfers RFT token to `msg.sender`
+    ///  instead. Creates new RFT token if provided NFT token never was fractionalized
+    ///  by this contract or existing RFT token if it was.
+    ///  Throws if RFT collection isn't configured for this contract.
+    ///  Throws if fractionalization of provided NFT token is not allowed
+    ///  Throws if `msg.sender` is not owner of provided NFT token
+    /// @param  _collection NFT collection address
+    /// @param  _token id of NFT token to be fractionalized
+    /// @param  _pieces number of pieces new RFT token would have
+    function nft2rft(address _collection, uint256 _token, uint128 _pieces) public {
+        require(
+            rftCollection != address(0),
+            "RFT collection is not set"
+        );
+        UniqueRefungible rftCollectionContract = UniqueRefungible(rftCollection);
+        require(
+            nftCollectionAllowList[_collection] == true,
+            "Fractionalization of this collection is not allowed by admin"
+        );
+        require(
+            UniqueNFT(_collection).ownerOf(_token) == msg.sender,
+            "Only token owner could fractionalize it"
+        );
+        UniqueNFT(_collection).transferFrom(
+            msg.sender,
+            address(this),
+            _token
+        );
+        uint256 rftTokenId;
+        address rftTokenAddress;
+        UniqueRefungibleToken rftTokenContract;
+        if (nft2rftMapping[_collection][_token] == 0) {
+            rftTokenId = rftCollectionContract.nextTokenId();
+            rftCollectionContract.mint(address(this), rftTokenId);
+            rftTokenAddress = rftCollectionContract.tokenContractAddress(rftTokenId);
+            nft2rftMapping[_collection][_token] = rftTokenId;
+            rft2nftMapping[rftTokenAddress] = Token(_collection, _token);
+
+            rftTokenContract = UniqueRefungibleToken(rftTokenAddress);
+            rftTokenContract.setParentNFT(_collection, _token);
+        } else {
+            rftTokenId = nft2rftMapping[_collection][_token];
+            rftTokenAddress = rftCollectionContract.tokenContractAddress(rftTokenId);
+            rftTokenContract = UniqueRefungibleToken(rftTokenAddress);
+        }
+        rftTokenContract.repartition(_pieces);
+        rftTokenContract.transfer(msg.sender, _pieces);
+        emit Fractionalized(_collection, _token, rftTokenAddress, _pieces);
+    }
+
+    /// Defrationalize NFT token.
+    /// @dev Takes RFT token from `msg.sender` and transfers corresponding NFT token
+    ///  to `msg.sender` instead.
+    ///  Throws if RFT collection isn't configured for this contract.
+    ///  Throws if provided RFT token is no from configured RFT collection.
+    ///  Throws if RFT token was not created by this contract.
+    ///  Throws if `msg.sender` isn't owner of all RFT token pieces.
+    /// @param _collection RFT collection address
+    /// @param _token id of RFT token
+    function rft2nft(address _collection, uint256 _token) public {
+        require(
+            rftCollection != address(0),
+            "RFT collection is not set"
+        );
+        require(
+            rftCollection == _collection,
+            "Wrong RFT collection"
+        );
+        UniqueRefungible rftCollectionContract = UniqueRefungible(rftCollection);
+        address rftTokenAddress = rftCollectionContract.tokenContractAddress(_token);
+        Token memory nftToken = rft2nftMapping[rftTokenAddress];
+        require(
+            nftToken._collection != address(0),
+            "No corresponding NFT token found"
+        );
+        UniqueRefungibleToken rftTokenContract = UniqueRefungibleToken(rftTokenAddress);
+        require(
+            rftTokenContract.balanceOf(msg.sender) == rftTokenContract.totalSupply(),
+            "Not all pieces are owned by the caller"
+        );
+        rftCollectionContract.transferFrom(msg.sender, address(this), _token);
+        UniqueNFT(nftToken._collection).transferFrom(
+            address(this),
+            msg.sender,
+            nftToken._tokenId
+        );
+        emit Defractionalized(rftTokenAddress, nftToken._collection, nftToken._tokenId);
+    }
+}
\ No newline at end of file
addedtests/src/eth/fractionalizer/FractionalizerAbi.jsondiffbeforeafterboth
--- /dev/null
+++ b/tests/src/eth/fractionalizer/FractionalizerAbi.json
@@ -0,0 +1,142 @@
+[
+  { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
+  {
+    "anonymous": false,
+    "inputs": [
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_collection",
+        "type": "address"
+      },
+      {
+        "indexed": false,
+        "internalType": "bool",
+        "name": "_status",
+        "type": "bool"
+      }
+    ],
+    "name": "AllowListSet",
+    "type": "event"
+  },
+  {
+    "anonymous": false,
+    "inputs": [
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_rftToken",
+        "type": "address"
+      },
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_nftCollection",
+        "type": "address"
+      },
+      {
+        "indexed": false,
+        "internalType": "uint256",
+        "name": "_nftTokenId",
+        "type": "uint256"
+      }
+    ],
+    "name": "Defractionalized",
+    "type": "event"
+  },
+  {
+    "anonymous": false,
+    "inputs": [
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_collection",
+        "type": "address"
+      },
+      {
+        "indexed": false,
+        "internalType": "uint256",
+        "name": "_tokenId",
+        "type": "uint256"
+      },
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_rftToken",
+        "type": "address"
+      },
+      {
+        "indexed": false,
+        "internalType": "uint128",
+        "name": "_amount",
+        "type": "uint128"
+      }
+    ],
+    "name": "Fractionalized",
+    "type": "event"
+  },
+  {
+    "anonymous": false,
+    "inputs": [
+      {
+        "indexed": false,
+        "internalType": "address",
+        "name": "_collection",
+        "type": "address"
+      }
+    ],
+    "name": "RFTCollectionSet",
+    "type": "event"
+  },
+  {
+    "inputs": [
+      { "internalType": "string", "name": "_name", "type": "string" },
+      { "internalType": "string", "name": "_description", "type": "string" },
+      { "internalType": "string", "name": "_tokenPrefix", "type": "string" }
+    ],
+    "name": "createAndSetRFTCollection",
+    "outputs": [],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "_collection", "type": "address" },
+      { "internalType": "uint256", "name": "_token", "type": "uint256" },
+      { "internalType": "uint128", "name": "_pieces", "type": "uint128" }
+    ],
+    "name": "nft2rft",
+    "outputs": [],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "_collection", "type": "address" },
+      { "internalType": "uint256", "name": "_token", "type": "uint256" }
+    ],
+    "name": "rft2nft",
+    "outputs": [],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "collection", "type": "address" },
+      { "internalType": "bool", "name": "status", "type": "bool" }
+    ],
+    "name": "setNftCollectionIsAllowed",
+    "outputs": [],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "_collection", "type": "address" }
+    ],
+    "name": "setRFTCollection",
+    "outputs": [],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  }
+]
addedtests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth
--- /dev/null
+++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts
@@ -0,0 +1,470 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+
+import Web3 from 'web3';
+import {ApiPromise} from '@polkadot/api';
+import {evmToAddress} from '@polkadot/util-crypto';
+import {readFile} from 'fs/promises';
+import {executeTransaction, submitTransactionAsync} from '../../substrate/substrate-api';
+import {getCreateCollectionResult, getCreateItemResult, UNIQUE} from '../../util/helpers';
+import {collectionIdToAddress, CompiledContract, createEthAccountWithBalance, createNonfungibleCollection, createRefungibleCollection, GAS_ARGS, itWeb3, tokenIdFromAddress, uniqueNFT, uniqueRefungible, uniqueRefungibleToken} from '../util/helpers';
+import {Contract} from 'web3-eth-contract';
+import * as solc from 'solc';
+
+import chai from 'chai';
+import chaiLike from 'chai-like';
+import {IKeyringPair} from '@polkadot/types/types';
+chai.use(chaiLike);
+const expect = chai.expect;
+let fractionalizer: CompiledContract;
+
+async function compileFractionalizer() {
+  if (!fractionalizer) {
+    const input = {
+      language: 'Solidity',
+      sources: {
+        ['Fractionalizer.sol']: {
+          content: (await readFile(`${__dirname}/Fractionalizer.sol`)).toString(),
+        },
+      },
+      settings: {
+        outputSelection: {
+          '*': {
+            '*': ['*'],
+          },
+        },
+      },
+    };
+    const json = JSON.parse(solc.compile(JSON.stringify(input), {import: await findImports()}));
+    const out = json.contracts['Fractionalizer.sol']['Fractionalizer'];
+
+    fractionalizer = {
+      abi: out.abi,
+      object: '0x' + out.evm.bytecode.object,
+    };
+  }
+  return fractionalizer;
+}
+
+async function findImports() {
+  const collectionHelpers = (await readFile(`${__dirname}/../api/CollectionHelpers.sol`)).toString();
+  const contractHelpers = (await readFile(`${__dirname}/../api/ContractHelpers.sol`)).toString();
+  const uniqueRefungibleToken = (await readFile(`${__dirname}/../api/UniqueRefungibleToken.sol`)).toString();
+  const uniqueRefungible = (await readFile(`${__dirname}/../api/UniqueRefungible.sol`)).toString();
+  const uniqueNFT = (await readFile(`${__dirname}/../api/UniqueNFT.sol`)).toString();
+
+  return function(path: string) {
+    switch (path) {
+      case 'api/CollectionHelpers.sol': return {contents: `${collectionHelpers}`};
+      case 'api/ContractHelpers.sol': return {contents: `${contractHelpers}`};
+      case 'api/UniqueRefungibleToken.sol': return {contents: `${uniqueRefungibleToken}`};
+      case 'api/UniqueRefungible.sol': return {contents: `${uniqueRefungible}`};
+      case 'api/UniqueNFT.sol': return {contents: `${uniqueNFT}`};
+      default: return {error: 'File not found'};
+    }
+  };
+}
+
+async function deployFractionalizer(web3: Web3, owner: string) {
+  const compiled = await compileFractionalizer();
+  const fractionalizerContract = new web3.eth.Contract(compiled.abi, undefined, {
+    data: compiled.object,
+    from: owner,
+    ...GAS_ARGS,
+  });
+  return await fractionalizerContract.deploy({data: compiled.object}).send({from: owner});
+}
+
+async function initFractionalizer(api: ApiPromise, web3: Web3, privateKeyWrapper: (account: string) => IKeyringPair, owner: string) {
+  const fractionalizer = await deployFractionalizer(web3, owner);
+  const amount = 10n * UNIQUE;
+  await web3.eth.sendTransaction({from: owner, to: fractionalizer.options.address, value: `${amount}`, ...GAS_ARGS});
+  const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send();
+  const rftCollectionAddress = result.events.RFTCollectionSet.returnValues._collection;
+  return {fractionalizer, rftCollectionAddress};
+}
+
+async function createRFTToken(api: ApiPromise, web3: Web3, owner: string, fractionalizer: Contract, amount: bigint) {
+  const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+  const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+  const nftTokenId = await nftContract.methods.nextTokenId().call();
+  await nftContract.methods.mint(owner, nftTokenId).send();
+
+  await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+  await nftContract.methods.approve(fractionalizer.options.address, nftTokenId).send();
+  const result = await fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, amount).send();
+  const {_collection, _tokenId, _rftToken} = result.events.Fractionalized.returnValues;
+  return {
+    nftCollectionAddress: _collection,
+    nftTokenId: _tokenId,
+    rftTokenAddress: _rftToken,
+  };
+}
+
+describe('Fractionalizer contract usage', () => {
+  itWeb3('Set RFT collection', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const {collectionIdAddress} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, collectionIdAddress, owner);
+    await refungibleContract.methods.addCollectionAdmin(fractionalizer.options.address).send();
+    const result = await fractionalizer.methods.setRFTCollection(collectionIdAddress).send();
+    expect(result.events).to.be.like({
+      RFTCollectionSet: {
+        returnValues: {
+          _collection: collectionIdAddress,
+        },
+      },
+    });
+  });
+
+  itWeb3('Mint RFT collection', async ({api, web3, privateKeyWrapper}) => {
+    const alice = privateKeyWrapper('//Alice');
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const tx = api.tx.balances.transfer(evmToAddress(fractionalizer.options.address), 10n * UNIQUE);
+    await submitTransactionAsync(alice, tx);
+
+    const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner});
+    expect(result.events).to.be.like({
+      RFTCollectionSet: {},
+    });
+    expect(result.events.RFTCollectionSet.returnValues._collection).to.be.ok;
+  });
+
+  itWeb3('Set Allowlist', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const result1 = await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send({from: owner});
+    expect(result1.events).to.be.like({
+      AllowListSet: {
+        returnValues: {
+          _collection: nftCollectionAddress,
+          _status: true,
+        },
+      },
+    });
+    const result2 = await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, false).send({from: owner});
+    expect(result2.events).to.be.like({
+      AllowListSet: {
+        returnValues: {
+          _collection: nftCollectionAddress,
+          _status: false,
+        },
+      },
+    });
+  });
+
+  itWeb3('NFT to RFT', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+
+    await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+    await nftContract.methods.approve(fractionalizer.options.address, nftTokenId).send();
+    const result = await fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).send();
+    expect(result.events).to.be.like({
+      Fractionalized: {
+        returnValues: {
+          _collection: nftCollectionAddress,
+          _tokenId: nftTokenId,
+          _amount: '100',
+        },
+      },
+    });
+    const rftTokenAddress = result.events.Fractionalized.returnValues._rftToken;
+    const rftTokenContract = uniqueRefungibleToken(web3, rftTokenAddress, owner);
+    expect(await rftTokenContract.methods.balanceOf(owner).call()).to.equal('100');
+  });
+
+  itWeb3('RFT to NFT', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {fractionalizer, rftCollectionAddress} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    const {rftTokenAddress, nftCollectionAddress, nftTokenId} = await createRFTToken(api, web3, owner, fractionalizer, 100n);
+
+    const {collectionId, tokenId} = tokenIdFromAddress(rftTokenAddress);
+    const refungibleAddress = collectionIdToAddress(collectionId);
+    expect(rftCollectionAddress).to.be.equal(refungibleAddress);
+    const refungibleTokenContract = uniqueRefungibleToken(web3, rftTokenAddress, owner);
+    await refungibleTokenContract.methods.approve(fractionalizer.options.address, 100).send();
+    const result = await fractionalizer.methods.rft2nft(refungibleAddress, tokenId).send();
+    expect(result.events).to.be.like({
+      Defractionalized: {
+        returnValues: {
+          _rftToken: rftTokenAddress,
+          _nftCollection: nftCollectionAddress,
+          _nftTokenId: nftTokenId,
+        },
+      },
+    });
+  });
+});
+
+
+
+describe('Negative Integration Tests for fractionalizer', () => {
+  itWeb3('call setRFTCollection twice', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const {collectionIdAddress} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, collectionIdAddress, owner);
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    await refungibleContract.methods.addCollectionAdmin(fractionalizer.options.address).send();
+    await fractionalizer.methods.setRFTCollection(collectionIdAddress).send();
+
+    await expect(fractionalizer.methods.setRFTCollection(collectionIdAddress).call())
+      .to.be.rejectedWith(/RFT collection is already set$/g);
+  });
+
+  itWeb3('call setRFTCollection with NFT collection', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const {collectionIdAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, collectionIdAddress, owner);
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    await nftContract.methods.addCollectionAdmin(fractionalizer.options.address).send();
+
+    await expect(fractionalizer.methods.setRFTCollection(collectionIdAddress).call())
+      .to.be.rejectedWith(/Wrong collection type. Collection is not refungible.$/g);
+  });
+
+  itWeb3('call setRFTCollection while not collection admin', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const {collectionIdAddress} = await createRefungibleCollection(api, web3, owner);
+
+    await expect(fractionalizer.methods.setRFTCollection(collectionIdAddress).call())
+      .to.be.rejectedWith(/Fractionalizer contract should be an admin of the collection$/g);
+  });
+
+  itWeb3('call setRFTCollection after createAndSetRFTCollection', async ({api, web3, privateKeyWrapper}) => {
+    const alice = privateKeyWrapper('//Alice');
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const tx = api.tx.balances.transfer(evmToAddress(fractionalizer.options.address), 10n * UNIQUE);
+    await submitTransactionAsync(alice, tx);
+
+    const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({from: owner});
+    const collectionIdAddress = result.events.RFTCollectionSet.returnValues._collection;
+
+    await expect(fractionalizer.methods.setRFTCollection(collectionIdAddress).call())
+      .to.be.rejectedWith(/RFT collection is already set$/g);
+  });
+
+  itWeb3('call nft2rft without setting RFT collection for contract', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).call())
+      .to.be.rejectedWith(/RFT collection is not set$/g);
+  });
+
+  itWeb3('call nft2rft while not owner of NFT token', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const nftOwner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+    await nftContract.methods.transfer(nftOwner, 1).send();
+
+
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).call())
+      .to.be.rejectedWith(/Only token owner could fractionalize it$/g);
+  });
+
+  itWeb3('call nft2rft while not in list of allowed accounts', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+
+    await nftContract.methods.approve(fractionalizer.options.address, nftTokenId).send();
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).call())
+      .to.be.rejectedWith(/Fractionalization of this collection is not allowed by admin$/g);
+  });
+
+  itWeb3('call nft2rft while fractionalizer doesnt have approval for nft token', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+
+    await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).call())
+      .to.be.rejectedWith(/ApprovedValueTooLow$/g);
+  });
+
+  itWeb3('call rft2nft without setting RFT collection for contract', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const {collectionIdAddress: rftCollectionAddress} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, rftCollectionAddress, owner);
+    const rftTokenId = await refungibleContract.methods.nextTokenId().call();
+    await refungibleContract.methods.mint(owner, rftTokenId).send();
+    
+    await expect(fractionalizer.methods.rft2nft(rftCollectionAddress, rftTokenId).call())
+      .to.be.rejectedWith(/RFT collection is not set$/g);
+  });
+
+  itWeb3('call rft2nft for RFT token that is not from configured RFT collection', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    const {collectionIdAddress: rftCollectionAddress} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, rftCollectionAddress, owner);
+    const rftTokenId = await refungibleContract.methods.nextTokenId().call();
+    await refungibleContract.methods.mint(owner, rftTokenId).send();
+    
+    await expect(fractionalizer.methods.rft2nft(rftCollectionAddress, rftTokenId).call())
+      .to.be.rejectedWith(/Wrong RFT collection$/g);
+  });
+
+  itWeb3('call rft2nft for RFT token that was not minted by fractionalizer contract', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const {collectionIdAddress: rftCollectionAddress} = await createRefungibleCollection(api, web3, owner);
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const refungibleContract = uniqueRefungible(web3, rftCollectionAddress, owner);
+
+    await refungibleContract.methods.addCollectionAdmin(fractionalizer.options.address).send();
+    await fractionalizer.methods.setRFTCollection(rftCollectionAddress).send();
+
+    const rftTokenId = await refungibleContract.methods.nextTokenId().call();
+    await refungibleContract.methods.mint(owner, rftTokenId).send();
+    
+    await expect(fractionalizer.methods.rft2nft(rftCollectionAddress, rftTokenId).call())
+      .to.be.rejectedWith(/No corresponding NFT token found$/g);
+  });
+
+  itWeb3('call rft2nft without owning all RFT pieces', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const receiver = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {fractionalizer, rftCollectionAddress} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    const {rftTokenAddress} = await createRFTToken(api, web3, owner, fractionalizer, 100n);
+    
+    const {tokenId} = tokenIdFromAddress(rftTokenAddress);
+    const refungibleTokenContract = uniqueRefungibleToken(web3, rftTokenAddress, owner);
+    await refungibleTokenContract.methods.transfer(receiver, 50).send();
+    await refungibleTokenContract.methods.approve(fractionalizer.options.address, 50).send();
+    await expect(fractionalizer.methods.rft2nft(rftCollectionAddress, tokenId).call())
+      .to.be.rejectedWith(/Not all pieces are owned by the caller$/g);
+  });
+
+  itWeb3('send QTZ/UNQ to contract from non owner', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const payer = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    const amount = 10n * UNIQUE;
+    await expect(web3.eth.sendTransaction({from: payer, to: fractionalizer.options.address, value: `${amount}`, ...GAS_ARGS})).to.be.rejected;
+  });
+
+  itWeb3('fractionalize NFT with NFT transfers disallowed', async ({api, web3, privateKeyWrapper}) => {
+    const alice = privateKeyWrapper('//Alice');
+    let collectionId;
+    {
+      const tx = api.tx.unique.createCollectionEx({name: 'A', description: 'B', tokenPrefix: 'C', mode: 'NFT'});
+      const events = await submitTransactionAsync(alice, tx);
+      const result = getCreateCollectionResult(events);
+      collectionId = result.collectionId;
+    }
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    let nftTokenId;
+    {
+      const createData = {nft: {}};
+      const tx = api.tx.unique.createItem(collectionId, {Ethereum: owner}, createData as any);
+      const events = await executeTransaction(api, alice, tx);
+      const result = getCreateItemResult(events);
+      nftTokenId = result.itemId;
+    }
+    {
+      const tx = api.tx.unique.setTransfersEnabledFlag(collectionId, false);
+      await executeTransaction(api, alice, tx);
+    }
+    const nftCollectionAddress = collectionIdToAddress(collectionId);
+    const {fractionalizer} = await initFractionalizer(api, web3, privateKeyWrapper, owner);
+    await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    await nftContract.methods.approve(fractionalizer.options.address, nftTokenId).send();
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100).call())
+      .to.be.rejectedWith(/TransferNotAllowed$/g);
+  });
+  
+  itWeb3('fractionalize NFT with RFT transfers disallowed', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+    const alice = privateKeyWrapper('//Alice');
+
+    let collectionId;
+    {
+      const tx = api.tx.unique.createCollectionEx({name: 'A', description: 'B', tokenPrefix: 'C', mode: 'ReFungible'});
+      const events = await submitTransactionAsync(alice, tx);
+      const result = getCreateCollectionResult(events);
+      collectionId = result.collectionId;
+    }
+    const rftCollectionAddress = collectionIdToAddress(collectionId);
+    const fractionalizer = await deployFractionalizer(web3, owner);
+    {
+      const changeAdminTx = api.tx.unique.addCollectionAdmin(collectionId, {Ethereum: fractionalizer.options.address});
+      await submitTransactionAsync(alice, changeAdminTx);
+    }
+    await fractionalizer.methods.setRFTCollection(rftCollectionAddress).send();
+    {
+      const tx = api.tx.unique.setTransfersEnabledFlag(collectionId, false);
+      await executeTransaction(api, alice, tx);
+    }
+
+    const {collectionIdAddress: nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+
+    await fractionalizer.methods.setNftCollectionIsAllowed(nftCollectionAddress, true).send();
+    await nftContract.methods.approve(fractionalizer.options.address, nftTokenId).send();
+
+    await expect(fractionalizer.methods.nft2rft(nftCollectionAddress, nftTokenId, 100n).call())
+      .to.be.rejectedWith(/TransferNotAllowed$/g);
+  });
+});
\ No newline at end of file
modifiedtests/src/eth/fungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/fungibleAbi.json
+++ b/tests/src/eth/fungibleAbi.json
@@ -301,5 +301,21 @@
     "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
     "stateMutability": "nonpayable",
     "type": "function"
+  },
+  {
+    "inputs": [],
+    "name": "uniqueCollectionType",
+    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "user", "type": "address" }
+    ],
+    "name": "verifyOwnerOrAdmin",
+    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "stateMutability": "view",
+    "type": "function"
   }
 ]
modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -526,5 +526,21 @@
     "outputs": [],
     "stateMutability": "nonpayable",
     "type": "function"
+  },
+  {
+    "inputs": [],
+    "name": "uniqueCollectionType",
+    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "user", "type": "address" }
+    ],
+    "name": "verifyOwnerOrAdmin",
+    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "stateMutability": "view",
+    "type": "function"
   }
 ]
modifiedtests/src/eth/reFungible.test.tsdiffbeforeafterboth
--- a/tests/src/eth/reFungible.test.ts
+++ b/tests/src/eth/reFungible.test.ts
@@ -15,8 +15,7 @@
 // along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
 
 import {createCollectionExpectSuccess, UNIQUE, requirePallets, Pallets} from '../util/helpers';
-import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, GAS_ARGS, getCollectionAddressFromResult, itWeb3, normalizeEvents, recordEthFee, recordEvents, tokenIdToAddress} from './util/helpers';
-import reFungibleTokenAbi from './reFungibleTokenAbi.json';
+import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3, normalizeEvents, recordEthFee, recordEvents, tokenIdToAddress, uniqueRefungibleToken} from './util/helpers';
 import {expect} from 'chai';
 
 describe('Refungible: Information getting', () => {
@@ -88,7 +87,7 @@
     await contract.methods.mint(caller, tokenId).send();
 
     const tokenAddress = tokenIdToAddress(collectionId, tokenId);
-    const tokenContract = new web3.eth.Contract(reFungibleTokenAbi as any, tokenAddress, {from: caller, ...GAS_ARGS});
+    const tokenContract = uniqueRefungibleToken(web3, tokenAddress, caller);
 
     await tokenContract.methods.repartition(2).send();
     await tokenContract.methods.transfer(receiver, 1).send();
@@ -112,7 +111,7 @@
     await contract.methods.mint(caller, tokenId).send();
 
     const tokenAddress = tokenIdToAddress(collectionId, tokenId);
-    const tokenContract = new web3.eth.Contract(reFungibleTokenAbi as any, tokenAddress, {from: caller, ...GAS_ARGS});
+    const tokenContract = uniqueRefungibleToken(web3, tokenAddress, caller);
 
     await tokenContract.methods.repartition(2).send();
     await tokenContract.methods.transfer(receiver, 1).send();
@@ -258,7 +257,7 @@
     await contract.methods.mint(caller, tokenId).send();
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const tokenContract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: caller, ...GAS_ARGS});
+    const tokenContract = uniqueRefungibleToken(web3, address, caller);
     await tokenContract.methods.repartition(15).send();
 
     {
@@ -277,7 +276,7 @@
           },
         ]);
       });
-      
+
       expect(erc20Events).to.include.deep.members([
         {
           address,
@@ -353,12 +352,12 @@
     await contract.methods.mint(caller, tokenId).send();
 
     const tokenAddress = tokenIdToAddress(collectionId, tokenId);
-    const tokenContract = new web3.eth.Contract(reFungibleTokenAbi as any, tokenAddress, {from: caller, ...GAS_ARGS});
+    const tokenContract = uniqueRefungibleToken(web3, tokenAddress, caller);
 
     await tokenContract.methods.repartition(2).send();
     await tokenContract.methods.transfer(receiver, 1).send();
 
-    const events =  await recordEvents(contract, async () => 
+    const events =  await recordEvents(contract, async () =>
       await tokenContract.methods.transfer(receiver, 1).send());
     expect(events).to.deep.equal([
       {
@@ -385,13 +384,13 @@
     await contract.methods.mint(caller, tokenId).send();
 
     const tokenAddress = tokenIdToAddress(collectionId, tokenId);
-    const tokenContract = new web3.eth.Contract(reFungibleTokenAbi as any, tokenAddress, {from: caller, ...GAS_ARGS});
+    const tokenContract = uniqueRefungibleToken(web3, tokenAddress, caller);
 
     await tokenContract.methods.repartition(2).send();
-    
-    const events =  await recordEvents(contract, async () => 
+
+    const events =  await recordEvents(contract, async () =>
       await tokenContract.methods.transfer(receiver, 1).send());
-      
+
     expect(events).to.deep.equal([
       {
         address: collectionIdAddress,
modifiedtests/src/eth/reFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -482,6 +482,15 @@
   },
   {
     "inputs": [
+      { "internalType": "uint256", "name": "token", "type": "uint256" }
+    ],
+    "name": "tokenContractAddress",
+    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
+    "inputs": [
       { "internalType": "address", "name": "owner", "type": "address" },
       { "internalType": "uint256", "name": "index", "type": "uint256" }
     ],
@@ -526,5 +535,21 @@
     "outputs": [],
     "stateMutability": "nonpayable",
     "type": "function"
+  },
+  {
+    "inputs": [],
+    "name": "uniqueCollectionType",
+    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
+      { "internalType": "address", "name": "user", "type": "address" }
+    ],
+    "name": "verifyOwnerOrAdmin",
+    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "stateMutability": "view",
+    "type": "function"
   }
 ]
modifiedtests/src/eth/reFungibleToken.test.tsdiffbeforeafterboth
--- a/tests/src/eth/reFungibleToken.test.ts
+++ b/tests/src/eth/reFungibleToken.test.ts
@@ -15,8 +15,7 @@
 // along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
 
 import {approve, createCollection, createRefungibleToken, transfer, transferFrom, UNIQUE, requirePallets, Pallets} from '../util/helpers';
-import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, evmCollection, evmCollectionHelpers, GAS_ARGS, getCollectionAddressFromResult, itWeb3, normalizeEvents, recordEthFee, recordEvents, subToEth, tokenIdToAddress, transferBalanceToEth} from './util/helpers';
-import reFungibleTokenAbi from './reFungibleTokenAbi.json';
+import {collectionIdFromAddress, collectionIdToAddress, createEthAccount, createEthAccountWithBalance, createNonfungibleCollection, createRefungibleCollection, evmCollection, evmCollectionHelpers, getCollectionAddressFromResult, itWeb3, normalizeEvents, recordEthFee, recordEvents, subToEth, tokenIdToAddress, transferBalanceToEth, uniqueNFT, uniqueRefungible, uniqueRefungibleToken} from './util/helpers';
 
 import chai from 'chai';
 import chaiAsPromised from 'chai-as-promised';
@@ -38,7 +37,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: caller})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: caller, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, caller);
     const totalSupply = await contract.methods.totalSupply().call();
 
     expect(totalSupply).to.equal('200');
@@ -54,7 +53,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: caller})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: caller, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, caller);
     const balance = await contract.methods.balanceOf(caller).call();
 
     expect(balance).to.equal('200');
@@ -70,7 +69,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: caller})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: caller, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, caller);
     const decimals = await contract.methods.decimals().call();
 
     expect(decimals).to.equal('0');
@@ -90,7 +89,7 @@
     const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
     const receiver = createEthAccount(web3);
     const contract = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
-    
+
     const nextTokenId = await contract.methods.nextTokenId().call();
     expect(nextTokenId).to.be.equal('1');
     result = await contract.methods.mint(
@@ -123,17 +122,17 @@
     const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
     const receiver = createEthAccount(web3);
     const contract = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
-    
+
     const nextTokenId = await contract.methods.nextTokenId().call();
     expect(nextTokenId).to.be.equal('1');
     result = await contract.methods.mint(
       receiver,
       nextTokenId,
     ).send();
-    
+
     // Set URL
     await contract.methods.setProperty(nextTokenId, 'url', Buffer.from('Token URI')).send();
-      
+
     const events = normalizeEvents(result.events);
     const address = collectionIdToAddress(collectionId);
 
@@ -159,14 +158,14 @@
     const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
     const receiver = createEthAccount(web3);
     const contract = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
-    
+
     const nextTokenId = await contract.methods.nextTokenId().call();
     expect(nextTokenId).to.be.equal('1');
     result = await contract.methods.mint(
       receiver,
       nextTokenId,
     ).send();
-          
+
     const events = normalizeEvents(result.events);
     const address = collectionIdToAddress(collectionId);
 
@@ -192,14 +191,14 @@
     const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
     const receiver = createEthAccount(web3);
     const contract = evmCollection(web3, owner, collectionIdAddress, {type: 'ReFungible'});
-    
+
     const nextTokenId = await contract.methods.nextTokenId().call();
     expect(nextTokenId).to.be.equal('1');
     result = await contract.methods.mint(
       receiver,
       nextTokenId,
     ).send();
-          
+
     // Set suffix
     const suffix = '/some/suffix';
     await contract.methods.setProperty(nextTokenId, 'suffix', Buffer.from(suffix)).send();
@@ -241,7 +240,7 @@
 
     const spender = createEthAccount(web3);
 
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     {
       const result = await contract.methods.approve(spender, 100).send({from: owner});
@@ -282,7 +281,7 @@
     const receiver = createEthAccount(web3);
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     await contract.methods.approve(spender, 100).send();
 
@@ -336,7 +335,7 @@
     await transferBalanceToEth(api, alice, receiver);
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     {
       const result = await contract.methods.transfer(receiver, 50).send({from: owner});
@@ -379,14 +378,14 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 100n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     await contract.methods.repartition(200).send({from: owner});
     expect(+await contract.methods.balanceOf(owner).call()).to.be.equal(200);
     await contract.methods.transfer(receiver, 110).send({from: owner});
     expect(+await contract.methods.balanceOf(owner).call()).to.be.equal(90);
     expect(+await contract.methods.balanceOf(receiver).call()).to.be.equal(110);
-    
+
     await expect(contract.methods.repartition(80).send({from: owner})).to.eventually.be.rejected;
 
     await contract.methods.transfer(receiver, 90).send({from: owner});
@@ -409,7 +408,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 100n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     const result = await contract.methods.repartition(200).send();
     const events = normalizeEvents(result.events);
@@ -438,7 +437,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 100n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     const result = await contract.methods.repartition(50).send();
     const events = normalizeEvents(result.events);
@@ -468,11 +467,11 @@
 
     const address = tokenIdToAddress(collectionId, tokenId);
 
-    const tokenContract =  new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: caller, ...GAS_ARGS});
+    const tokenContract =  uniqueRefungibleToken(web3, address, caller);
     await tokenContract.methods.repartition(2).send();
     await tokenContract.methods.transfer(receiver, 1).send();
 
-    const events =  await recordEvents(contract, async () => 
+    const events =  await recordEvents(contract, async () =>
       await tokenContract.methods.burnFrom(caller, 1).send());
     expect(events).to.deep.equal([
       {
@@ -504,7 +503,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     const cost = await recordEthFee(api, owner, () => contract.methods.approve(spender, 100).send({from: owner}));
     expect(cost < BigInt(0.2 * Number(UNIQUE)));
@@ -521,7 +520,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     await contract.methods.approve(spender, 100).send({from: owner});
 
@@ -540,7 +539,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n, {Ethereum: owner})).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address, {from: owner, ...GAS_ARGS});
+    const contract = uniqueRefungibleToken(web3, address, owner);
 
     const cost = await recordEthFee(api, owner, () => contract.methods.transfer(receiver, 100).send({from: owner}));
     expect(cost < BigInt(0.2 * Number(UNIQUE)));
@@ -562,7 +561,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n)).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address);
+    const contract = uniqueRefungibleToken(web3, address);
 
     const events = await recordEvents(contract, async () => {
       expect(await approve(api, collectionId, tokenId, alice, {Ethereum: receiver}, 100n)).to.be.true;
@@ -593,7 +592,7 @@
     expect(await approve(api, collectionId, tokenId, alice, bob.address, 100n)).to.be.true;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address);
+    const contract = uniqueRefungibleToken(web3, address);
 
     const events = await recordEvents(contract, async () => {
       expect(await transferFrom(api, collectionId, tokenId, bob, alice, {Ethereum: receiver},  51n)).to.be.true;
@@ -631,7 +630,7 @@
     const tokenId = (await createRefungibleToken(api, alice, collectionId, 200n)).itemId;
 
     const address = tokenIdToAddress(collectionId, tokenId);
-    const contract = new web3.eth.Contract(reFungibleTokenAbi as any, address);
+    const contract = uniqueRefungibleToken(web3, address);
 
     const events = await recordEvents(contract, async () => {
       expect(await transfer(api, collectionId, tokenId, alice, {Ethereum: receiver},  51n)).to.be.true;
@@ -650,3 +649,47 @@
     ]);
   });
 });
+
+describe('ERC 1633 implementation', () => {
+  itWeb3('Parent NFT token address and id', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress:  nftCollectionAddress} = await createNonfungibleCollection(api, web3, owner);
+    const nftContract = uniqueNFT(web3, nftCollectionAddress, owner);
+    const nftTokenId = await nftContract.methods.nextTokenId().call();
+    await nftContract.methods.mint(owner, nftTokenId).send();
+    const nftCollectionId = collectionIdFromAddress(nftCollectionAddress);
+
+    const {collectionIdAddress, collectionId} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, collectionIdAddress, owner);
+    const refungibleTokenId = await refungibleContract.methods.nextTokenId().call();
+    await refungibleContract.methods.mint(owner, refungibleTokenId).send();
+
+    const rftTokenAddress = tokenIdToAddress(collectionId, refungibleTokenId);
+    const refungibleTokenContract = uniqueRefungibleToken(web3, rftTokenAddress, owner);
+    await refungibleTokenContract.methods.setParentNFT(nftCollectionAddress, nftTokenId).send();
+
+    const tokenAddress = await refungibleTokenContract.methods.parentToken().call();
+    const tokenId = await refungibleTokenContract.methods.parentTokenId().call();
+    const nftTokenAddress = tokenIdToAddress(nftCollectionId, nftTokenId);
+    expect(tokenAddress).to.be.equal(nftTokenAddress);
+    expect(tokenId).to.be.equal(nftTokenId);
+  });
+
+  itWeb3('Default parent token address and id', async ({api, web3, privateKeyWrapper}) => {
+    const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+    const {collectionIdAddress, collectionId} = await createRefungibleCollection(api, web3, owner);
+    const refungibleContract = uniqueRefungible(web3, collectionIdAddress, owner);
+    const refungibleTokenId = await refungibleContract.methods.nextTokenId().call();
+    await refungibleContract.methods.mint(owner, refungibleTokenId).send();
+
+    const rftTokenAddress = tokenIdToAddress(collectionId, refungibleTokenId);
+    const refungibleTokenContract = uniqueRefungibleToken(web3, rftTokenAddress, owner);
+
+    const tokenAddress = await refungibleTokenContract.methods.parentToken().call();
+    const tokenId = await refungibleTokenContract.methods.parentTokenId().call();
+    expect(tokenAddress).to.be.equal(rftTokenAddress);
+    expect(tokenId).to.be.equal(refungibleTokenId);
+  });
+});
modifiedtests/src/eth/reFungibleTokenAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/reFungibleTokenAbi.json
+++ b/tests/src/eth/reFungibleTokenAbi.json
@@ -103,6 +103,20 @@
     "type": "function"
   },
   {
+    "inputs": [],
+    "name": "parentToken",
+    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
+    "inputs": [],
+    "name": "parentTokenId",
+    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
     "inputs": [
       { "internalType": "uint256", "name": "amount", "type": "uint256" }
     ],
@@ -113,6 +127,16 @@
   },
   {
     "inputs": [
+      { "internalType": "address", "name": "collection", "type": "address" },
+      { "internalType": "uint256", "name": "nftId", "type": "uint256" }
+    ],
+    "name": "setParentNFT",
+    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "stateMutability": "nonpayable",
+    "type": "function"
+  },
+  {
+    "inputs": [
       { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }
     ],
     "name": "supportsInterface",
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
--- a/tests/src/eth/util/helpers.ts
+++ b/tests/src/eth/util/helpers.ts
@@ -32,6 +32,7 @@
 import fungibleAbi from '../fungibleAbi.json';
 import nonFungibleAbi from '../nonFungibleAbi.json';
 import refungibleAbi from '../reFungibleAbi.json';
+import refungibleTokenAbi from '../reFungibleTokenAbi.json';
 import contractHelpersAbi from './contractHelpersAbi.json';
 
 export const GAS_ARGS = {gas: 2500000};
@@ -101,6 +102,18 @@
   ]);
   return Web3.utils.toChecksumAddress('0x' + buf.toString('hex'));
 }
+
+export function tokenIdFromAddress(address: string) {
+  if (!address.startsWith('0x'))
+    throw 'address not starts with "0x"';
+  if (address.length > 42)
+    throw 'address length is more than 20 bytes';
+  return {
+    collectionId: Number('0x' + address.substring(address.length - 16, address.length - 8)),
+    tokenId: Number('0x' + address.substring(address.length - 8)),
+  };
+}
+
 export function tokenIdToCross(collection: number, token: number): CrossAccountId {
   return {
     Ethereum: tokenIdToAddress(collection, token),
@@ -128,6 +141,44 @@
   expect(result.success).to.be.true;
 }
 
+export async function createRefungibleCollection(api: ApiPromise, web3: Web3, owner: string) {
+  const collectionHelper = evmCollectionHelpers(web3, owner);
+  const result = await collectionHelper.methods
+    .createRefungibleCollection('A', 'B', 'C')
+    .send();
+  return await getCollectionAddressFromResult(api, result);
+}
+
+
+export async function createNonfungibleCollection(api: ApiPromise, web3: Web3, owner: string) {
+  const collectionHelper = evmCollectionHelpers(web3, owner);
+  const result = await collectionHelper.methods
+    .createNonfungibleCollection('A', 'B', 'C')
+    .send();
+  return await getCollectionAddressFromResult(api, result);
+}
+
+export function uniqueNFT(web3: Web3, address: string, owner: string) {
+  return new web3.eth.Contract(nonFungibleAbi as any, address, {
+    from: owner,
+    ...GAS_ARGS,
+  });
+}
+
+export function uniqueRefungible(web3: Web3, collectionAddress: string, owner: string) {
+  return new web3.eth.Contract(refungibleAbi as any, collectionAddress, {
+    from: owner,
+    ...GAS_ARGS,
+  });
+}
+
+export function uniqueRefungibleToken(web3: Web3, tokenAddress: string, owner: string | undefined = undefined) {
+  return new web3.eth.Contract(refungibleTokenAbi as any, tokenAddress, {
+    from: owner,
+    ...GAS_ARGS,
+  });
+}
+
 export async function itWeb3(name: string, cb: (apis: { web3: Web3, api: ApiPromise, privateKeyWrapper: (account: string) => IKeyringPair }) => any, opts: { only?: boolean, skip?: boolean } = {}) {
   let i: any = it;
   if (opts.only) i = i.only;
@@ -199,7 +250,12 @@
   return Web3.utils.toChecksumAddress(subToEthLowercase(eth));
 }
 
-export function compileContract(name: string, src: string) {
+export interface CompiledContract {
+  abi: any,
+  object: string,
+}
+
+export function compileContract(name: string, src: string) : CompiledContract {
   const out = JSON.parse(solc.compile(JSON.stringify({
     language: 'Solidity',
     sources: {
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -266,7 +266,7 @@
        * 
        * Currently used to store RMRK data.
        **/
-      tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
+      tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | 'Eth' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
       /**
        * Used to enumerate token's children.
        **/
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -2521,7 +2521,8 @@
 export interface UpDataStructsPropertyScope extends Enum {
   readonly isNone: boolean;
   readonly isRmrk: boolean;
-  readonly type: 'None' | 'Rmrk';
+  readonly isEth: boolean;
+  readonly type: 'None' | 'Rmrk' | 'Eth';
 }
 
 /** @name UpDataStructsRpcCollection */
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
before · tests/src/interfaces/lookup.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7  /**8   * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9   **/10  PolkadotPrimitivesV2PersistedValidationData: {11    parentHead: 'Bytes',12    relayParentNumber: 'u32',13    relayParentStorageRoot: 'H256',14    maxPovSize: 'u32'15  },16  /**17   * Lookup9: polkadot_primitives::v2::UpgradeRestriction18   **/19  PolkadotPrimitivesV2UpgradeRestriction: {20    _enum: ['Present']21  },22  /**23   * Lookup10: sp_trie::storage_proof::StorageProof24   **/25  SpTrieStorageProof: {26    trieNodes: 'BTreeSet<Bytes>'27  },28  /**29   * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30   **/31  CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {32    dmqMqcHead: 'H256',33    relayDispatchQueueSize: '(u32,u32)',34    ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',35    egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'36  },37  /**38   * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel39   **/40  PolkadotPrimitivesV2AbridgedHrmpChannel: {41    maxCapacity: 'u32',42    maxTotalSize: 'u32',43    maxMessageSize: 'u32',44    msgCount: 'u32',45    totalSize: 'u32',46    mqcHead: 'Option<H256>'47  },48  /**49   * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration50   **/51  PolkadotPrimitivesV2AbridgedHostConfiguration: {52    maxCodeSize: 'u32',53    maxHeadDataSize: 'u32',54    maxUpwardQueueCount: 'u32',55    maxUpwardQueueSize: 'u32',56    maxUpwardMessageSize: 'u32',57    maxUpwardMessageNumPerCandidate: 'u32',58    hrmpMaxMessageNumPerCandidate: 'u32',59    validationUpgradeCooldown: 'u32',60    validationUpgradeDelay: 'u32'61  },62  /**63   * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>64   **/65  PolkadotCorePrimitivesOutboundHrmpMessage: {66    recipient: 'u32',67    data: 'Bytes'68  },69  /**70   * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>71   **/72  CumulusPalletParachainSystemCall: {73    _enum: {74      set_validation_data: {75        data: 'CumulusPrimitivesParachainInherentParachainInherentData',76      },77      sudo_send_upward_message: {78        message: 'Bytes',79      },80      authorize_upgrade: {81        codeHash: 'H256',82      },83      enact_authorized_upgrade: {84        code: 'Bytes'85      }86    }87  },88  /**89   * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData90   **/91  CumulusPrimitivesParachainInherentParachainInherentData: {92    validationData: 'PolkadotPrimitivesV2PersistedValidationData',93    relayChainState: 'SpTrieStorageProof',94    downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',95    horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'96  },97  /**98   * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99   **/100  PolkadotCorePrimitivesInboundDownwardMessage: {101    sentAt: 'u32',102    msg: 'Bytes'103  },104  /**105   * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106   **/107  PolkadotCorePrimitivesInboundHrmpMessage: {108    sentAt: 'u32',109    data: 'Bytes'110  },111  /**112   * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>113   **/114  CumulusPalletParachainSystemEvent: {115    _enum: {116      ValidationFunctionStored: 'Null',117      ValidationFunctionApplied: {118        relayChainBlockNum: 'u32',119      },120      ValidationFunctionDiscarded: 'Null',121      UpgradeAuthorized: {122        codeHash: 'H256',123      },124      DownwardMessagesReceived: {125        count: 'u32',126      },127      DownwardMessagesProcessed: {128        weightUsed: 'u64',129        dmqHead: 'H256'130      }131    }132  },133  /**134   * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>135   **/136  CumulusPalletParachainSystemError: {137    _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']138  },139  /**140   * Lookup41: pallet_balances::AccountData<Balance>141   **/142  PalletBalancesAccountData: {143    free: 'u128',144    reserved: 'u128',145    miscFrozen: 'u128',146    feeFrozen: 'u128'147  },148  /**149   * Lookup43: pallet_balances::BalanceLock<Balance>150   **/151  PalletBalancesBalanceLock: {152    id: '[u8;8]',153    amount: 'u128',154    reasons: 'PalletBalancesReasons'155  },156  /**157   * Lookup45: pallet_balances::Reasons158   **/159  PalletBalancesReasons: {160    _enum: ['Fee', 'Misc', 'All']161  },162  /**163   * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>164   **/165  PalletBalancesReserveData: {166    id: '[u8;16]',167    amount: 'u128'168  },169  /**170   * Lookup51: pallet_balances::Releases171   **/172  PalletBalancesReleases: {173    _enum: ['V1_0_0', 'V2_0_0']174  },175  /**176   * Lookup52: pallet_balances::pallet::Call<T, I>177   **/178  PalletBalancesCall: {179    _enum: {180      transfer: {181        dest: 'MultiAddress',182        value: 'Compact<u128>',183      },184      set_balance: {185        who: 'MultiAddress',186        newFree: 'Compact<u128>',187        newReserved: 'Compact<u128>',188      },189      force_transfer: {190        source: 'MultiAddress',191        dest: 'MultiAddress',192        value: 'Compact<u128>',193      },194      transfer_keep_alive: {195        dest: 'MultiAddress',196        value: 'Compact<u128>',197      },198      transfer_all: {199        dest: 'MultiAddress',200        keepAlive: 'bool',201      },202      force_unreserve: {203        who: 'MultiAddress',204        amount: 'u128'205      }206    }207  },208  /**209   * Lookup58: pallet_balances::pallet::Event<T, I>210   **/211  PalletBalancesEvent: {212    _enum: {213      Endowed: {214        account: 'AccountId32',215        freeBalance: 'u128',216      },217      DustLost: {218        account: 'AccountId32',219        amount: 'u128',220      },221      Transfer: {222        from: 'AccountId32',223        to: 'AccountId32',224        amount: 'u128',225      },226      BalanceSet: {227        who: 'AccountId32',228        free: 'u128',229        reserved: 'u128',230      },231      Reserved: {232        who: 'AccountId32',233        amount: 'u128',234      },235      Unreserved: {236        who: 'AccountId32',237        amount: 'u128',238      },239      ReserveRepatriated: {240        from: 'AccountId32',241        to: 'AccountId32',242        amount: 'u128',243        destinationStatus: 'FrameSupportTokensMiscBalanceStatus',244      },245      Deposit: {246        who: 'AccountId32',247        amount: 'u128',248      },249      Withdraw: {250        who: 'AccountId32',251        amount: 'u128',252      },253      Slashed: {254        who: 'AccountId32',255        amount: 'u128'256      }257    }258  },259  /**260   * Lookup59: frame_support::traits::tokens::misc::BalanceStatus261   **/262  FrameSupportTokensMiscBalanceStatus: {263    _enum: ['Free', 'Reserved']264  },265  /**266   * Lookup60: pallet_balances::pallet::Error<T, I>267   **/268  PalletBalancesError: {269    _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']270  },271  /**272   * Lookup63: pallet_timestamp::pallet::Call<T>273   **/274  PalletTimestampCall: {275    _enum: {276      set: {277        now: 'Compact<u64>'278      }279    }280  },281  /**282   * Lookup66: pallet_transaction_payment::Releases283   **/284  PalletTransactionPaymentReleases: {285    _enum: ['V1Ancient', 'V2']286  },287  /**288   * Lookup67: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289   **/290  PalletTreasuryProposal: {291    proposer: 'AccountId32',292    value: 'u128',293    beneficiary: 'AccountId32',294    bond: 'u128'295  },296  /**297   * Lookup70: pallet_treasury::pallet::Call<T, I>298   **/299  PalletTreasuryCall: {300    _enum: {301      propose_spend: {302        value: 'Compact<u128>',303        beneficiary: 'MultiAddress',304      },305      reject_proposal: {306        proposalId: 'Compact<u32>',307      },308      approve_proposal: {309        proposalId: 'Compact<u32>',310      },311      remove_approval: {312        proposalId: 'Compact<u32>'313      }314    }315  },316  /**317   * Lookup72: pallet_treasury::pallet::Event<T, I>318   **/319  PalletTreasuryEvent: {320    _enum: {321      Proposed: {322        proposalIndex: 'u32',323      },324      Spending: {325        budgetRemaining: 'u128',326      },327      Awarded: {328        proposalIndex: 'u32',329        award: 'u128',330        account: 'AccountId32',331      },332      Rejected: {333        proposalIndex: 'u32',334        slashed: 'u128',335      },336      Burnt: {337        burntFunds: 'u128',338      },339      Rollover: {340        rolloverBalance: 'u128',341      },342      Deposit: {343        value: 'u128'344      }345    }346  },347  /**348   * Lookup75: frame_support::PalletId349   **/350  FrameSupportPalletId: '[u8;8]',351  /**352   * Lookup76: pallet_treasury::pallet::Error<T, I>353   **/354  PalletTreasuryError: {355    _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'ProposalNotApproved']356  },357  /**358   * Lookup77: pallet_sudo::pallet::Call<T>359   **/360  PalletSudoCall: {361    _enum: {362      sudo: {363        call: 'Call',364      },365      sudo_unchecked_weight: {366        call: 'Call',367        weight: 'u64',368      },369      set_key: {370        _alias: {371          new_: 'new',372        },373        new_: 'MultiAddress',374      },375      sudo_as: {376        who: 'MultiAddress',377        call: 'Call'378      }379    }380  },381  /**382   * Lookup79: frame_system::pallet::Call<T>383   **/384  FrameSystemCall: {385    _enum: {386      fill_block: {387        ratio: 'Perbill',388      },389      remark: {390        remark: 'Bytes',391      },392      set_heap_pages: {393        pages: 'u64',394      },395      set_code: {396        code: 'Bytes',397      },398      set_code_without_checks: {399        code: 'Bytes',400      },401      set_storage: {402        items: 'Vec<(Bytes,Bytes)>',403      },404      kill_storage: {405        _alias: {406          keys_: 'keys',407        },408        keys_: 'Vec<Bytes>',409      },410      kill_prefix: {411        prefix: 'Bytes',412        subkeys: 'u32',413      },414      remark_with_event: {415        remark: 'Bytes'416      }417    }418  },419  /**420   * Lookup83: orml_vesting::module::Call<T>421   **/422  OrmlVestingModuleCall: {423    _enum: {424      claim: 'Null',425      vested_transfer: {426        dest: 'MultiAddress',427        schedule: 'OrmlVestingVestingSchedule',428      },429      update_vesting_schedules: {430        who: 'MultiAddress',431        vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',432      },433      claim_for: {434        dest: 'MultiAddress'435      }436    }437  },438  /**439   * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>440   **/441  OrmlVestingVestingSchedule: {442    start: 'u32',443    period: 'u32',444    periodCount: 'u32',445    perPeriod: 'Compact<u128>'446  },447  /**448   * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>449   **/450  CumulusPalletXcmpQueueCall: {451    _enum: {452      service_overweight: {453        index: 'u64',454        weightLimit: 'u64',455      },456      suspend_xcm_execution: 'Null',457      resume_xcm_execution: 'Null',458      update_suspend_threshold: {459        _alias: {460          new_: 'new',461        },462        new_: 'u32',463      },464      update_drop_threshold: {465        _alias: {466          new_: 'new',467        },468        new_: 'u32',469      },470      update_resume_threshold: {471        _alias: {472          new_: 'new',473        },474        new_: 'u32',475      },476      update_threshold_weight: {477        _alias: {478          new_: 'new',479        },480        new_: 'u64',481      },482      update_weight_restrict_decay: {483        _alias: {484          new_: 'new',485        },486        new_: 'u64',487      },488      update_xcmp_max_individual_weight: {489        _alias: {490          new_: 'new',491        },492        new_: 'u64'493      }494    }495  },496  /**497   * Lookup87: pallet_xcm::pallet::Call<T>498   **/499  PalletXcmCall: {500    _enum: {501      send: {502        dest: 'XcmVersionedMultiLocation',503        message: 'XcmVersionedXcm',504      },505      teleport_assets: {506        dest: 'XcmVersionedMultiLocation',507        beneficiary: 'XcmVersionedMultiLocation',508        assets: 'XcmVersionedMultiAssets',509        feeAssetItem: 'u32',510      },511      reserve_transfer_assets: {512        dest: 'XcmVersionedMultiLocation',513        beneficiary: 'XcmVersionedMultiLocation',514        assets: 'XcmVersionedMultiAssets',515        feeAssetItem: 'u32',516      },517      execute: {518        message: 'XcmVersionedXcm',519        maxWeight: 'u64',520      },521      force_xcm_version: {522        location: 'XcmV1MultiLocation',523        xcmVersion: 'u32',524      },525      force_default_xcm_version: {526        maybeXcmVersion: 'Option<u32>',527      },528      force_subscribe_version_notify: {529        location: 'XcmVersionedMultiLocation',530      },531      force_unsubscribe_version_notify: {532        location: 'XcmVersionedMultiLocation',533      },534      limited_reserve_transfer_assets: {535        dest: 'XcmVersionedMultiLocation',536        beneficiary: 'XcmVersionedMultiLocation',537        assets: 'XcmVersionedMultiAssets',538        feeAssetItem: 'u32',539        weightLimit: 'XcmV2WeightLimit',540      },541      limited_teleport_assets: {542        dest: 'XcmVersionedMultiLocation',543        beneficiary: 'XcmVersionedMultiLocation',544        assets: 'XcmVersionedMultiAssets',545        feeAssetItem: 'u32',546        weightLimit: 'XcmV2WeightLimit'547      }548    }549  },550  /**551   * Lookup88: xcm::VersionedMultiLocation552   **/553  XcmVersionedMultiLocation: {554    _enum: {555      V0: 'XcmV0MultiLocation',556      V1: 'XcmV1MultiLocation'557    }558  },559  /**560   * Lookup89: xcm::v0::multi_location::MultiLocation561   **/562  XcmV0MultiLocation: {563    _enum: {564      Null: 'Null',565      X1: 'XcmV0Junction',566      X2: '(XcmV0Junction,XcmV0Junction)',567      X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',568      X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569      X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570      X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571      X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572      X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573    }574  },575  /**576   * Lookup90: xcm::v0::junction::Junction577   **/578  XcmV0Junction: {579    _enum: {580      Parent: 'Null',581      Parachain: 'Compact<u32>',582      AccountId32: {583        network: 'XcmV0JunctionNetworkId',584        id: '[u8;32]',585      },586      AccountIndex64: {587        network: 'XcmV0JunctionNetworkId',588        index: 'Compact<u64>',589      },590      AccountKey20: {591        network: 'XcmV0JunctionNetworkId',592        key: '[u8;20]',593      },594      PalletInstance: 'u8',595      GeneralIndex: 'Compact<u128>',596      GeneralKey: 'Bytes',597      OnlyChild: 'Null',598      Plurality: {599        id: 'XcmV0JunctionBodyId',600        part: 'XcmV0JunctionBodyPart'601      }602    }603  },604  /**605   * Lookup91: xcm::v0::junction::NetworkId606   **/607  XcmV0JunctionNetworkId: {608    _enum: {609      Any: 'Null',610      Named: 'Bytes',611      Polkadot: 'Null',612      Kusama: 'Null'613    }614  },615  /**616   * Lookup92: xcm::v0::junction::BodyId617   **/618  XcmV0JunctionBodyId: {619    _enum: {620      Unit: 'Null',621      Named: 'Bytes',622      Index: 'Compact<u32>',623      Executive: 'Null',624      Technical: 'Null',625      Legislative: 'Null',626      Judicial: 'Null'627    }628  },629  /**630   * Lookup93: xcm::v0::junction::BodyPart631   **/632  XcmV0JunctionBodyPart: {633    _enum: {634      Voice: 'Null',635      Members: {636        count: 'Compact<u32>',637      },638      Fraction: {639        nom: 'Compact<u32>',640        denom: 'Compact<u32>',641      },642      AtLeastProportion: {643        nom: 'Compact<u32>',644        denom: 'Compact<u32>',645      },646      MoreThanProportion: {647        nom: 'Compact<u32>',648        denom: 'Compact<u32>'649      }650    }651  },652  /**653   * Lookup94: xcm::v1::multilocation::MultiLocation654   **/655  XcmV1MultiLocation: {656    parents: 'u8',657    interior: 'XcmV1MultilocationJunctions'658  },659  /**660   * Lookup95: xcm::v1::multilocation::Junctions661   **/662  XcmV1MultilocationJunctions: {663    _enum: {664      Here: 'Null',665      X1: 'XcmV1Junction',666      X2: '(XcmV1Junction,XcmV1Junction)',667      X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',668      X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669      X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670      X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671      X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672      X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673    }674  },675  /**676   * Lookup96: xcm::v1::junction::Junction677   **/678  XcmV1Junction: {679    _enum: {680      Parachain: 'Compact<u32>',681      AccountId32: {682        network: 'XcmV0JunctionNetworkId',683        id: '[u8;32]',684      },685      AccountIndex64: {686        network: 'XcmV0JunctionNetworkId',687        index: 'Compact<u64>',688      },689      AccountKey20: {690        network: 'XcmV0JunctionNetworkId',691        key: '[u8;20]',692      },693      PalletInstance: 'u8',694      GeneralIndex: 'Compact<u128>',695      GeneralKey: 'Bytes',696      OnlyChild: 'Null',697      Plurality: {698        id: 'XcmV0JunctionBodyId',699        part: 'XcmV0JunctionBodyPart'700      }701    }702  },703  /**704   * Lookup97: xcm::VersionedXcm<Call>705   **/706  XcmVersionedXcm: {707    _enum: {708      V0: 'XcmV0Xcm',709      V1: 'XcmV1Xcm',710      V2: 'XcmV2Xcm'711    }712  },713  /**714   * Lookup98: xcm::v0::Xcm<Call>715   **/716  XcmV0Xcm: {717    _enum: {718      WithdrawAsset: {719        assets: 'Vec<XcmV0MultiAsset>',720        effects: 'Vec<XcmV0Order>',721      },722      ReserveAssetDeposit: {723        assets: 'Vec<XcmV0MultiAsset>',724        effects: 'Vec<XcmV0Order>',725      },726      TeleportAsset: {727        assets: 'Vec<XcmV0MultiAsset>',728        effects: 'Vec<XcmV0Order>',729      },730      QueryResponse: {731        queryId: 'Compact<u64>',732        response: 'XcmV0Response',733      },734      TransferAsset: {735        assets: 'Vec<XcmV0MultiAsset>',736        dest: 'XcmV0MultiLocation',737      },738      TransferReserveAsset: {739        assets: 'Vec<XcmV0MultiAsset>',740        dest: 'XcmV0MultiLocation',741        effects: 'Vec<XcmV0Order>',742      },743      Transact: {744        originType: 'XcmV0OriginKind',745        requireWeightAtMost: 'u64',746        call: 'XcmDoubleEncoded',747      },748      HrmpNewChannelOpenRequest: {749        sender: 'Compact<u32>',750        maxMessageSize: 'Compact<u32>',751        maxCapacity: 'Compact<u32>',752      },753      HrmpChannelAccepted: {754        recipient: 'Compact<u32>',755      },756      HrmpChannelClosing: {757        initiator: 'Compact<u32>',758        sender: 'Compact<u32>',759        recipient: 'Compact<u32>',760      },761      RelayedFrom: {762        who: 'XcmV0MultiLocation',763        message: 'XcmV0Xcm'764      }765    }766  },767  /**768   * Lookup100: xcm::v0::multi_asset::MultiAsset769   **/770  XcmV0MultiAsset: {771    _enum: {772      None: 'Null',773      All: 'Null',774      AllFungible: 'Null',775      AllNonFungible: 'Null',776      AllAbstractFungible: {777        id: 'Bytes',778      },779      AllAbstractNonFungible: {780        class: 'Bytes',781      },782      AllConcreteFungible: {783        id: 'XcmV0MultiLocation',784      },785      AllConcreteNonFungible: {786        class: 'XcmV0MultiLocation',787      },788      AbstractFungible: {789        id: 'Bytes',790        amount: 'Compact<u128>',791      },792      AbstractNonFungible: {793        class: 'Bytes',794        instance: 'XcmV1MultiassetAssetInstance',795      },796      ConcreteFungible: {797        id: 'XcmV0MultiLocation',798        amount: 'Compact<u128>',799      },800      ConcreteNonFungible: {801        class: 'XcmV0MultiLocation',802        instance: 'XcmV1MultiassetAssetInstance'803      }804    }805  },806  /**807   * Lookup101: xcm::v1::multiasset::AssetInstance808   **/809  XcmV1MultiassetAssetInstance: {810    _enum: {811      Undefined: 'Null',812      Index: 'Compact<u128>',813      Array4: '[u8;4]',814      Array8: '[u8;8]',815      Array16: '[u8;16]',816      Array32: '[u8;32]',817      Blob: 'Bytes'818    }819  },820  /**821   * Lookup104: xcm::v0::order::Order<Call>822   **/823  XcmV0Order: {824    _enum: {825      Null: 'Null',826      DepositAsset: {827        assets: 'Vec<XcmV0MultiAsset>',828        dest: 'XcmV0MultiLocation',829      },830      DepositReserveAsset: {831        assets: 'Vec<XcmV0MultiAsset>',832        dest: 'XcmV0MultiLocation',833        effects: 'Vec<XcmV0Order>',834      },835      ExchangeAsset: {836        give: 'Vec<XcmV0MultiAsset>',837        receive: 'Vec<XcmV0MultiAsset>',838      },839      InitiateReserveWithdraw: {840        assets: 'Vec<XcmV0MultiAsset>',841        reserve: 'XcmV0MultiLocation',842        effects: 'Vec<XcmV0Order>',843      },844      InitiateTeleport: {845        assets: 'Vec<XcmV0MultiAsset>',846        dest: 'XcmV0MultiLocation',847        effects: 'Vec<XcmV0Order>',848      },849      QueryHolding: {850        queryId: 'Compact<u64>',851        dest: 'XcmV0MultiLocation',852        assets: 'Vec<XcmV0MultiAsset>',853      },854      BuyExecution: {855        fees: 'XcmV0MultiAsset',856        weight: 'u64',857        debt: 'u64',858        haltOnError: 'bool',859        xcm: 'Vec<XcmV0Xcm>'860      }861    }862  },863  /**864   * Lookup106: xcm::v0::Response865   **/866  XcmV0Response: {867    _enum: {868      Assets: 'Vec<XcmV0MultiAsset>'869    }870  },871  /**872   * Lookup107: xcm::v0::OriginKind873   **/874  XcmV0OriginKind: {875    _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876  },877  /**878   * Lookup108: xcm::double_encoded::DoubleEncoded<T>879   **/880  XcmDoubleEncoded: {881    encoded: 'Bytes'882  },883  /**884   * Lookup109: xcm::v1::Xcm<Call>885   **/886  XcmV1Xcm: {887    _enum: {888      WithdrawAsset: {889        assets: 'XcmV1MultiassetMultiAssets',890        effects: 'Vec<XcmV1Order>',891      },892      ReserveAssetDeposited: {893        assets: 'XcmV1MultiassetMultiAssets',894        effects: 'Vec<XcmV1Order>',895      },896      ReceiveTeleportedAsset: {897        assets: 'XcmV1MultiassetMultiAssets',898        effects: 'Vec<XcmV1Order>',899      },900      QueryResponse: {901        queryId: 'Compact<u64>',902        response: 'XcmV1Response',903      },904      TransferAsset: {905        assets: 'XcmV1MultiassetMultiAssets',906        beneficiary: 'XcmV1MultiLocation',907      },908      TransferReserveAsset: {909        assets: 'XcmV1MultiassetMultiAssets',910        dest: 'XcmV1MultiLocation',911        effects: 'Vec<XcmV1Order>',912      },913      Transact: {914        originType: 'XcmV0OriginKind',915        requireWeightAtMost: 'u64',916        call: 'XcmDoubleEncoded',917      },918      HrmpNewChannelOpenRequest: {919        sender: 'Compact<u32>',920        maxMessageSize: 'Compact<u32>',921        maxCapacity: 'Compact<u32>',922      },923      HrmpChannelAccepted: {924        recipient: 'Compact<u32>',925      },926      HrmpChannelClosing: {927        initiator: 'Compact<u32>',928        sender: 'Compact<u32>',929        recipient: 'Compact<u32>',930      },931      RelayedFrom: {932        who: 'XcmV1MultilocationJunctions',933        message: 'XcmV1Xcm',934      },935      SubscribeVersion: {936        queryId: 'Compact<u64>',937        maxResponseWeight: 'Compact<u64>',938      },939      UnsubscribeVersion: 'Null'940    }941  },942  /**943   * Lookup110: xcm::v1::multiasset::MultiAssets944   **/945  XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946  /**947   * Lookup112: xcm::v1::multiasset::MultiAsset948   **/949  XcmV1MultiAsset: {950    id: 'XcmV1MultiassetAssetId',951    fun: 'XcmV1MultiassetFungibility'952  },953  /**954   * Lookup113: xcm::v1::multiasset::AssetId955   **/956  XcmV1MultiassetAssetId: {957    _enum: {958      Concrete: 'XcmV1MultiLocation',959      Abstract: 'Bytes'960    }961  },962  /**963   * Lookup114: xcm::v1::multiasset::Fungibility964   **/965  XcmV1MultiassetFungibility: {966    _enum: {967      Fungible: 'Compact<u128>',968      NonFungible: 'XcmV1MultiassetAssetInstance'969    }970  },971  /**972   * Lookup116: xcm::v1::order::Order<Call>973   **/974  XcmV1Order: {975    _enum: {976      Noop: 'Null',977      DepositAsset: {978        assets: 'XcmV1MultiassetMultiAssetFilter',979        maxAssets: 'u32',980        beneficiary: 'XcmV1MultiLocation',981      },982      DepositReserveAsset: {983        assets: 'XcmV1MultiassetMultiAssetFilter',984        maxAssets: 'u32',985        dest: 'XcmV1MultiLocation',986        effects: 'Vec<XcmV1Order>',987      },988      ExchangeAsset: {989        give: 'XcmV1MultiassetMultiAssetFilter',990        receive: 'XcmV1MultiassetMultiAssets',991      },992      InitiateReserveWithdraw: {993        assets: 'XcmV1MultiassetMultiAssetFilter',994        reserve: 'XcmV1MultiLocation',995        effects: 'Vec<XcmV1Order>',996      },997      InitiateTeleport: {998        assets: 'XcmV1MultiassetMultiAssetFilter',999        dest: 'XcmV1MultiLocation',1000        effects: 'Vec<XcmV1Order>',1001      },1002      QueryHolding: {1003        queryId: 'Compact<u64>',1004        dest: 'XcmV1MultiLocation',1005        assets: 'XcmV1MultiassetMultiAssetFilter',1006      },1007      BuyExecution: {1008        fees: 'XcmV1MultiAsset',1009        weight: 'u64',1010        debt: 'u64',1011        haltOnError: 'bool',1012        instructions: 'Vec<XcmV1Xcm>'1013      }1014    }1015  },1016  /**1017   * Lookup117: xcm::v1::multiasset::MultiAssetFilter1018   **/1019  XcmV1MultiassetMultiAssetFilter: {1020    _enum: {1021      Definite: 'XcmV1MultiassetMultiAssets',1022      Wild: 'XcmV1MultiassetWildMultiAsset'1023    }1024  },1025  /**1026   * Lookup118: xcm::v1::multiasset::WildMultiAsset1027   **/1028  XcmV1MultiassetWildMultiAsset: {1029    _enum: {1030      All: 'Null',1031      AllOf: {1032        id: 'XcmV1MultiassetAssetId',1033        fun: 'XcmV1MultiassetWildFungibility'1034      }1035    }1036  },1037  /**1038   * Lookup119: xcm::v1::multiasset::WildFungibility1039   **/1040  XcmV1MultiassetWildFungibility: {1041    _enum: ['Fungible', 'NonFungible']1042  },1043  /**1044   * Lookup121: xcm::v1::Response1045   **/1046  XcmV1Response: {1047    _enum: {1048      Assets: 'XcmV1MultiassetMultiAssets',1049      Version: 'u32'1050    }1051  },1052  /**1053   * Lookup122: xcm::v2::Xcm<Call>1054   **/1055  XcmV2Xcm: 'Vec<XcmV2Instruction>',1056  /**1057   * Lookup124: xcm::v2::Instruction<Call>1058   **/1059  XcmV2Instruction: {1060    _enum: {1061      WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062      ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1063      ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1064      QueryResponse: {1065        queryId: 'Compact<u64>',1066        response: 'XcmV2Response',1067        maxWeight: 'Compact<u64>',1068      },1069      TransferAsset: {1070        assets: 'XcmV1MultiassetMultiAssets',1071        beneficiary: 'XcmV1MultiLocation',1072      },1073      TransferReserveAsset: {1074        assets: 'XcmV1MultiassetMultiAssets',1075        dest: 'XcmV1MultiLocation',1076        xcm: 'XcmV2Xcm',1077      },1078      Transact: {1079        originType: 'XcmV0OriginKind',1080        requireWeightAtMost: 'Compact<u64>',1081        call: 'XcmDoubleEncoded',1082      },1083      HrmpNewChannelOpenRequest: {1084        sender: 'Compact<u32>',1085        maxMessageSize: 'Compact<u32>',1086        maxCapacity: 'Compact<u32>',1087      },1088      HrmpChannelAccepted: {1089        recipient: 'Compact<u32>',1090      },1091      HrmpChannelClosing: {1092        initiator: 'Compact<u32>',1093        sender: 'Compact<u32>',1094        recipient: 'Compact<u32>',1095      },1096      ClearOrigin: 'Null',1097      DescendOrigin: 'XcmV1MultilocationJunctions',1098      ReportError: {1099        queryId: 'Compact<u64>',1100        dest: 'XcmV1MultiLocation',1101        maxResponseWeight: 'Compact<u64>',1102      },1103      DepositAsset: {1104        assets: 'XcmV1MultiassetMultiAssetFilter',1105        maxAssets: 'Compact<u32>',1106        beneficiary: 'XcmV1MultiLocation',1107      },1108      DepositReserveAsset: {1109        assets: 'XcmV1MultiassetMultiAssetFilter',1110        maxAssets: 'Compact<u32>',1111        dest: 'XcmV1MultiLocation',1112        xcm: 'XcmV2Xcm',1113      },1114      ExchangeAsset: {1115        give: 'XcmV1MultiassetMultiAssetFilter',1116        receive: 'XcmV1MultiassetMultiAssets',1117      },1118      InitiateReserveWithdraw: {1119        assets: 'XcmV1MultiassetMultiAssetFilter',1120        reserve: 'XcmV1MultiLocation',1121        xcm: 'XcmV2Xcm',1122      },1123      InitiateTeleport: {1124        assets: 'XcmV1MultiassetMultiAssetFilter',1125        dest: 'XcmV1MultiLocation',1126        xcm: 'XcmV2Xcm',1127      },1128      QueryHolding: {1129        queryId: 'Compact<u64>',1130        dest: 'XcmV1MultiLocation',1131        assets: 'XcmV1MultiassetMultiAssetFilter',1132        maxResponseWeight: 'Compact<u64>',1133      },1134      BuyExecution: {1135        fees: 'XcmV1MultiAsset',1136        weightLimit: 'XcmV2WeightLimit',1137      },1138      RefundSurplus: 'Null',1139      SetErrorHandler: 'XcmV2Xcm',1140      SetAppendix: 'XcmV2Xcm',1141      ClearError: 'Null',1142      ClaimAsset: {1143        assets: 'XcmV1MultiassetMultiAssets',1144        ticket: 'XcmV1MultiLocation',1145      },1146      Trap: 'Compact<u64>',1147      SubscribeVersion: {1148        queryId: 'Compact<u64>',1149        maxResponseWeight: 'Compact<u64>',1150      },1151      UnsubscribeVersion: 'Null'1152    }1153  },1154  /**1155   * Lookup125: xcm::v2::Response1156   **/1157  XcmV2Response: {1158    _enum: {1159      Null: 'Null',1160      Assets: 'XcmV1MultiassetMultiAssets',1161      ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1162      Version: 'u32'1163    }1164  },1165  /**1166   * Lookup128: xcm::v2::traits::Error1167   **/1168  XcmV2TraitsError: {1169    _enum: {1170      Overflow: 'Null',1171      Unimplemented: 'Null',1172      UntrustedReserveLocation: 'Null',1173      UntrustedTeleportLocation: 'Null',1174      MultiLocationFull: 'Null',1175      MultiLocationNotInvertible: 'Null',1176      BadOrigin: 'Null',1177      InvalidLocation: 'Null',1178      AssetNotFound: 'Null',1179      FailedToTransactAsset: 'Null',1180      NotWithdrawable: 'Null',1181      LocationCannotHold: 'Null',1182      ExceedsMaxMessageSize: 'Null',1183      DestinationUnsupported: 'Null',1184      Transport: 'Null',1185      Unroutable: 'Null',1186      UnknownClaim: 'Null',1187      FailedToDecode: 'Null',1188      MaxWeightInvalid: 'Null',1189      NotHoldingFees: 'Null',1190      TooExpensive: 'Null',1191      Trap: 'u64',1192      UnhandledXcmVersion: 'Null',1193      WeightLimitReached: 'u64',1194      Barrier: 'Null',1195      WeightNotComputable: 'Null'1196    }1197  },1198  /**1199   * Lookup129: xcm::v2::WeightLimit1200   **/1201  XcmV2WeightLimit: {1202    _enum: {1203      Unlimited: 'Null',1204      Limited: 'Compact<u64>'1205    }1206  },1207  /**1208   * Lookup130: xcm::VersionedMultiAssets1209   **/1210  XcmVersionedMultiAssets: {1211    _enum: {1212      V0: 'Vec<XcmV0MultiAsset>',1213      V1: 'XcmV1MultiassetMultiAssets'1214    }1215  },1216  /**1217   * Lookup145: cumulus_pallet_xcm::pallet::Call<T>1218   **/1219  CumulusPalletXcmCall: 'Null',1220  /**1221   * Lookup146: cumulus_pallet_dmp_queue::pallet::Call<T>1222   **/1223  CumulusPalletDmpQueueCall: {1224    _enum: {1225      service_overweight: {1226        index: 'u64',1227        weightLimit: 'u64'1228      }1229    }1230  },1231  /**1232   * Lookup147: pallet_inflation::pallet::Call<T>1233   **/1234  PalletInflationCall: {1235    _enum: {1236      start_inflation: {1237        inflationStartRelayBlock: 'u32'1238      }1239    }1240  },1241  /**1242   * Lookup148: pallet_unique::Call<T>1243   **/1244  PalletUniqueCall: {1245    _enum: {1246      create_collection: {1247        collectionName: 'Vec<u16>',1248        collectionDescription: 'Vec<u16>',1249        tokenPrefix: 'Bytes',1250        mode: 'UpDataStructsCollectionMode',1251      },1252      create_collection_ex: {1253        data: 'UpDataStructsCreateCollectionData',1254      },1255      destroy_collection: {1256        collectionId: 'u32',1257      },1258      add_to_allow_list: {1259        collectionId: 'u32',1260        address: 'PalletEvmAccountBasicCrossAccountIdRepr',1261      },1262      remove_from_allow_list: {1263        collectionId: 'u32',1264        address: 'PalletEvmAccountBasicCrossAccountIdRepr',1265      },1266      change_collection_owner: {1267        collectionId: 'u32',1268        newOwner: 'AccountId32',1269      },1270      add_collection_admin: {1271        collectionId: 'u32',1272        newAdmin: 'PalletEvmAccountBasicCrossAccountIdRepr',1273      },1274      remove_collection_admin: {1275        collectionId: 'u32',1276        accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1277      },1278      set_collection_sponsor: {1279        collectionId: 'u32',1280        newSponsor: 'AccountId32',1281      },1282      confirm_sponsorship: {1283        collectionId: 'u32',1284      },1285      remove_collection_sponsor: {1286        collectionId: 'u32',1287      },1288      create_item: {1289        collectionId: 'u32',1290        owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1291        data: 'UpDataStructsCreateItemData',1292      },1293      create_multiple_items: {1294        collectionId: 'u32',1295        owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296        itemsData: 'Vec<UpDataStructsCreateItemData>',1297      },1298      set_collection_properties: {1299        collectionId: 'u32',1300        properties: 'Vec<UpDataStructsProperty>',1301      },1302      delete_collection_properties: {1303        collectionId: 'u32',1304        propertyKeys: 'Vec<Bytes>',1305      },1306      set_token_properties: {1307        collectionId: 'u32',1308        tokenId: 'u32',1309        properties: 'Vec<UpDataStructsProperty>',1310      },1311      delete_token_properties: {1312        collectionId: 'u32',1313        tokenId: 'u32',1314        propertyKeys: 'Vec<Bytes>',1315      },1316      set_token_property_permissions: {1317        collectionId: 'u32',1318        propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1319      },1320      create_multiple_items_ex: {1321        collectionId: 'u32',1322        data: 'UpDataStructsCreateItemExData',1323      },1324      set_transfers_enabled_flag: {1325        collectionId: 'u32',1326        value: 'bool',1327      },1328      burn_item: {1329        collectionId: 'u32',1330        itemId: 'u32',1331        value: 'u128',1332      },1333      burn_from: {1334        collectionId: 'u32',1335        from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336        itemId: 'u32',1337        value: 'u128',1338      },1339      transfer: {1340        recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341        collectionId: 'u32',1342        itemId: 'u32',1343        value: 'u128',1344      },1345      approve: {1346        spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1347        collectionId: 'u32',1348        itemId: 'u32',1349        amount: 'u128',1350      },1351      transfer_from: {1352        from: 'PalletEvmAccountBasicCrossAccountIdRepr',1353        recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1354        collectionId: 'u32',1355        itemId: 'u32',1356        value: 'u128',1357      },1358      set_collection_limits: {1359        collectionId: 'u32',1360        newLimit: 'UpDataStructsCollectionLimits',1361      },1362      set_collection_permissions: {1363        collectionId: 'u32',1364        newPermission: 'UpDataStructsCollectionPermissions',1365      },1366      repartition: {1367        collectionId: 'u32',1368        tokenId: 'u32',1369        amount: 'u128'1370      }1371    }1372  },1373  /**1374   * Lookup154: up_data_structs::CollectionMode1375   **/1376  UpDataStructsCollectionMode: {1377    _enum: {1378      NFT: 'Null',1379      Fungible: 'u8',1380      ReFungible: 'Null'1381    }1382  },1383  /**1384   * Lookup155: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1385   **/1386  UpDataStructsCreateCollectionData: {1387    mode: 'UpDataStructsCollectionMode',1388    access: 'Option<UpDataStructsAccessMode>',1389    name: 'Vec<u16>',1390    description: 'Vec<u16>',1391    tokenPrefix: 'Bytes',1392    pendingSponsor: 'Option<AccountId32>',1393    limits: 'Option<UpDataStructsCollectionLimits>',1394    permissions: 'Option<UpDataStructsCollectionPermissions>',1395    tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1396    properties: 'Vec<UpDataStructsProperty>'1397  },1398  /**1399   * Lookup157: up_data_structs::AccessMode1400   **/1401  UpDataStructsAccessMode: {1402    _enum: ['Normal', 'AllowList']1403  },1404  /**1405   * Lookup160: up_data_structs::CollectionLimits1406   **/1407  UpDataStructsCollectionLimits: {1408    accountTokenOwnershipLimit: 'Option<u32>',1409    sponsoredDataSize: 'Option<u32>',1410    sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1411    tokenLimit: 'Option<u32>',1412    sponsorTransferTimeout: 'Option<u32>',1413    sponsorApproveTimeout: 'Option<u32>',1414    ownerCanTransfer: 'Option<bool>',1415    ownerCanDestroy: 'Option<bool>',1416    transfersEnabled: 'Option<bool>'1417  },1418  /**1419   * Lookup162: up_data_structs::SponsoringRateLimit1420   **/1421  UpDataStructsSponsoringRateLimit: {1422    _enum: {1423      SponsoringDisabled: 'Null',1424      Blocks: 'u32'1425    }1426  },1427  /**1428   * Lookup165: up_data_structs::CollectionPermissions1429   **/1430  UpDataStructsCollectionPermissions: {1431    access: 'Option<UpDataStructsAccessMode>',1432    mintMode: 'Option<bool>',1433    nesting: 'Option<UpDataStructsNestingPermissions>'1434  },1435  /**1436   * Lookup167: up_data_structs::NestingPermissions1437   **/1438  UpDataStructsNestingPermissions: {1439    tokenOwner: 'bool',1440    collectionAdmin: 'bool',1441    restricted: 'Option<UpDataStructsOwnerRestrictedSet>'1442  },1443  /**1444   * Lookup169: up_data_structs::OwnerRestrictedSet1445   **/1446  UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1447  /**1448   * Lookup175: up_data_structs::PropertyKeyPermission1449   **/1450  UpDataStructsPropertyKeyPermission: {1451    key: 'Bytes',1452    permission: 'UpDataStructsPropertyPermission'1453  },1454  /**1455   * Lookup177: up_data_structs::PropertyPermission1456   **/1457  UpDataStructsPropertyPermission: {1458    mutable: 'bool',1459    collectionAdmin: 'bool',1460    tokenOwner: 'bool'1461  },1462  /**1463   * Lookup180: up_data_structs::Property1464   **/1465  UpDataStructsProperty: {1466    key: 'Bytes',1467    value: 'Bytes'1468  },1469  /**1470   * Lookup183: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1471   **/1472  PalletEvmAccountBasicCrossAccountIdRepr: {1473    _enum: {1474      Substrate: 'AccountId32',1475      Ethereum: 'H160'1476    }1477  },1478  /**1479   * Lookup185: up_data_structs::CreateItemData1480   **/1481  UpDataStructsCreateItemData: {1482    _enum: {1483      NFT: 'UpDataStructsCreateNftData',1484      Fungible: 'UpDataStructsCreateFungibleData',1485      ReFungible: 'UpDataStructsCreateReFungibleData'1486    }1487  },1488  /**1489   * Lookup186: up_data_structs::CreateNftData1490   **/1491  UpDataStructsCreateNftData: {1492    properties: 'Vec<UpDataStructsProperty>'1493  },1494  /**1495   * Lookup187: up_data_structs::CreateFungibleData1496   **/1497  UpDataStructsCreateFungibleData: {1498    value: 'u128'1499  },1500  /**1501   * Lookup188: up_data_structs::CreateReFungibleData1502   **/1503  UpDataStructsCreateReFungibleData: {1504    pieces: 'u128',1505    properties: 'Vec<UpDataStructsProperty>'1506  },1507  /**1508   * Lookup192: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1509   **/1510  UpDataStructsCreateItemExData: {1511    _enum: {1512      NFT: 'Vec<UpDataStructsCreateNftExData>',1513      Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1514      RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExSingleOwner>',1515      RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'1516    }1517  },1518  /**1519   * Lookup194: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1520   **/1521  UpDataStructsCreateNftExData: {1522    properties: 'Vec<UpDataStructsProperty>',1523    owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1524  },1525  /**1526   * Lookup201: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1527   **/1528  UpDataStructsCreateRefungibleExSingleOwner: {1529    user: 'PalletEvmAccountBasicCrossAccountIdRepr',1530    pieces: 'u128',1531    properties: 'Vec<UpDataStructsProperty>'1532  },1533  /**1534   * Lookup203: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1535   **/1536  UpDataStructsCreateRefungibleExMultipleOwners: {1537    users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1538    properties: 'Vec<UpDataStructsProperty>'1539  },1540  /**1541   * Lookup204: pallet_unique_scheduler::pallet::Call<T>1542   **/1543  PalletUniqueSchedulerCall: {1544    _enum: {1545      schedule_named: {1546        id: '[u8;16]',1547        when: 'u32',1548        maybePeriodic: 'Option<(u32,u32)>',1549        priority: 'u8',1550        call: 'FrameSupportScheduleMaybeHashed',1551      },1552      cancel_named: {1553        id: '[u8;16]',1554      },1555      schedule_named_after: {1556        id: '[u8;16]',1557        after: 'u32',1558        maybePeriodic: 'Option<(u32,u32)>',1559        priority: 'u8',1560        call: 'FrameSupportScheduleMaybeHashed'1561      }1562    }1563  },1564  /**1565   * Lookup206: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1566   **/1567  FrameSupportScheduleMaybeHashed: {1568    _enum: {1569      Value: 'Call',1570      Hash: 'H256'1571    }1572  },1573  /**1574   * Lookup207: pallet_template_transaction_payment::Call<T>1575   **/1576  PalletTemplateTransactionPaymentCall: 'Null',1577  /**1578   * Lookup208: pallet_structure::pallet::Call<T>1579   **/1580  PalletStructureCall: 'Null',1581  /**1582   * Lookup209: pallet_rmrk_core::pallet::Call<T>1583   **/1584  PalletRmrkCoreCall: {1585    _enum: {1586      create_collection: {1587        metadata: 'Bytes',1588        max: 'Option<u32>',1589        symbol: 'Bytes',1590      },1591      destroy_collection: {1592        collectionId: 'u32',1593      },1594      change_collection_issuer: {1595        collectionId: 'u32',1596        newIssuer: 'MultiAddress',1597      },1598      lock_collection: {1599        collectionId: 'u32',1600      },1601      mint_nft: {1602        owner: 'Option<AccountId32>',1603        collectionId: 'u32',1604        recipient: 'Option<AccountId32>',1605        royaltyAmount: 'Option<Permill>',1606        metadata: 'Bytes',1607        transferable: 'bool',1608        resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',1609      },1610      burn_nft: {1611        collectionId: 'u32',1612        nftId: 'u32',1613        maxBurns: 'u32',1614      },1615      send: {1616        rmrkCollectionId: 'u32',1617        rmrkNftId: 'u32',1618        newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1619      },1620      accept_nft: {1621        rmrkCollectionId: 'u32',1622        rmrkNftId: 'u32',1623        newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1624      },1625      reject_nft: {1626        rmrkCollectionId: 'u32',1627        rmrkNftId: 'u32',1628      },1629      accept_resource: {1630        rmrkCollectionId: 'u32',1631        rmrkNftId: 'u32',1632        resourceId: 'u32',1633      },1634      accept_resource_removal: {1635        rmrkCollectionId: 'u32',1636        rmrkNftId: 'u32',1637        resourceId: 'u32',1638      },1639      set_property: {1640        rmrkCollectionId: 'Compact<u32>',1641        maybeNftId: 'Option<u32>',1642        key: 'Bytes',1643        value: 'Bytes',1644      },1645      set_priority: {1646        rmrkCollectionId: 'u32',1647        rmrkNftId: 'u32',1648        priorities: 'Vec<u32>',1649      },1650      add_basic_resource: {1651        rmrkCollectionId: 'u32',1652        nftId: 'u32',1653        resource: 'RmrkTraitsResourceBasicResource',1654      },1655      add_composable_resource: {1656        rmrkCollectionId: 'u32',1657        nftId: 'u32',1658        resource: 'RmrkTraitsResourceComposableResource',1659      },1660      add_slot_resource: {1661        rmrkCollectionId: 'u32',1662        nftId: 'u32',1663        resource: 'RmrkTraitsResourceSlotResource',1664      },1665      remove_resource: {1666        rmrkCollectionId: 'u32',1667        nftId: 'u32',1668        resourceId: 'u32'1669      }1670    }1671  },1672  /**1673   * Lookup215: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1674   **/1675  RmrkTraitsResourceResourceTypes: {1676    _enum: {1677      Basic: 'RmrkTraitsResourceBasicResource',1678      Composable: 'RmrkTraitsResourceComposableResource',1679      Slot: 'RmrkTraitsResourceSlotResource'1680    }1681  },1682  /**1683   * Lookup217: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1684   **/1685  RmrkTraitsResourceBasicResource: {1686    src: 'Option<Bytes>',1687    metadata: 'Option<Bytes>',1688    license: 'Option<Bytes>',1689    thumb: 'Option<Bytes>'1690  },1691  /**1692   * Lookup219: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1693   **/1694  RmrkTraitsResourceComposableResource: {1695    parts: 'Vec<u32>',1696    base: 'u32',1697    src: 'Option<Bytes>',1698    metadata: 'Option<Bytes>',1699    license: 'Option<Bytes>',1700    thumb: 'Option<Bytes>'1701  },1702  /**1703   * Lookup220: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1704   **/1705  RmrkTraitsResourceSlotResource: {1706    base: 'u32',1707    src: 'Option<Bytes>',1708    metadata: 'Option<Bytes>',1709    slot: 'u32',1710    license: 'Option<Bytes>',1711    thumb: 'Option<Bytes>'1712  },1713  /**1714   * Lookup222: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1715   **/1716  RmrkTraitsNftAccountIdOrCollectionNftTuple: {1717    _enum: {1718      AccountId: 'AccountId32',1719      CollectionAndNftTuple: '(u32,u32)'1720    }1721  },1722  /**1723   * Lookup226: pallet_rmrk_equip::pallet::Call<T>1724   **/1725  PalletRmrkEquipCall: {1726    _enum: {1727      create_base: {1728        baseType: 'Bytes',1729        symbol: 'Bytes',1730        parts: 'Vec<RmrkTraitsPartPartType>',1731      },1732      theme_add: {1733        baseId: 'u32',1734        theme: 'RmrkTraitsTheme',1735      },1736      equippable: {1737        baseId: 'u32',1738        slotId: 'u32',1739        equippables: 'RmrkTraitsPartEquippableList'1740      }1741    }1742  },1743  /**1744   * Lookup229: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1745   **/1746  RmrkTraitsPartPartType: {1747    _enum: {1748      FixedPart: 'RmrkTraitsPartFixedPart',1749      SlotPart: 'RmrkTraitsPartSlotPart'1750    }1751  },1752  /**1753   * Lookup231: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1754   **/1755  RmrkTraitsPartFixedPart: {1756    id: 'u32',1757    z: 'u32',1758    src: 'Bytes'1759  },1760  /**1761   * Lookup232: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1762   **/1763  RmrkTraitsPartSlotPart: {1764    id: 'u32',1765    equippable: 'RmrkTraitsPartEquippableList',1766    src: 'Bytes',1767    z: 'u32'1768  },1769  /**1770   * Lookup233: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1771   **/1772  RmrkTraitsPartEquippableList: {1773    _enum: {1774      All: 'Null',1775      Empty: 'Null',1776      Custom: 'Vec<u32>'1777    }1778  },1779  /**1780   * Lookup235: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>, S>>1781   **/1782  RmrkTraitsTheme: {1783    name: 'Bytes',1784    properties: 'Vec<RmrkTraitsThemeThemeProperty>',1785    inherit: 'bool'1786  },1787  /**1788   * Lookup237: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1789   **/1790  RmrkTraitsThemeThemeProperty: {1791    key: 'Bytes',1792    value: 'Bytes'1793  },1794  /**1795   * Lookup239: pallet_evm::pallet::Call<T>1796   **/1797  PalletEvmCall: {1798    _enum: {1799      withdraw: {1800        address: 'H160',1801        value: 'u128',1802      },1803      call: {1804        source: 'H160',1805        target: 'H160',1806        input: 'Bytes',1807        value: 'U256',1808        gasLimit: 'u64',1809        maxFeePerGas: 'U256',1810        maxPriorityFeePerGas: 'Option<U256>',1811        nonce: 'Option<U256>',1812        accessList: 'Vec<(H160,Vec<H256>)>',1813      },1814      create: {1815        source: 'H160',1816        init: 'Bytes',1817        value: 'U256',1818        gasLimit: 'u64',1819        maxFeePerGas: 'U256',1820        maxPriorityFeePerGas: 'Option<U256>',1821        nonce: 'Option<U256>',1822        accessList: 'Vec<(H160,Vec<H256>)>',1823      },1824      create2: {1825        source: 'H160',1826        init: 'Bytes',1827        salt: 'H256',1828        value: 'U256',1829        gasLimit: 'u64',1830        maxFeePerGas: 'U256',1831        maxPriorityFeePerGas: 'Option<U256>',1832        nonce: 'Option<U256>',1833        accessList: 'Vec<(H160,Vec<H256>)>'1834      }1835    }1836  },1837  /**1838   * Lookup245: pallet_ethereum::pallet::Call<T>1839   **/1840  PalletEthereumCall: {1841    _enum: {1842      transact: {1843        transaction: 'EthereumTransactionTransactionV2'1844      }1845    }1846  },1847  /**1848   * Lookup246: ethereum::transaction::TransactionV21849   **/1850  EthereumTransactionTransactionV2: {1851    _enum: {1852      Legacy: 'EthereumTransactionLegacyTransaction',1853      EIP2930: 'EthereumTransactionEip2930Transaction',1854      EIP1559: 'EthereumTransactionEip1559Transaction'1855    }1856  },1857  /**1858   * Lookup247: ethereum::transaction::LegacyTransaction1859   **/1860  EthereumTransactionLegacyTransaction: {1861    nonce: 'U256',1862    gasPrice: 'U256',1863    gasLimit: 'U256',1864    action: 'EthereumTransactionTransactionAction',1865    value: 'U256',1866    input: 'Bytes',1867    signature: 'EthereumTransactionTransactionSignature'1868  },1869  /**1870   * Lookup248: ethereum::transaction::TransactionAction1871   **/1872  EthereumTransactionTransactionAction: {1873    _enum: {1874      Call: 'H160',1875      Create: 'Null'1876    }1877  },1878  /**1879   * Lookup249: ethereum::transaction::TransactionSignature1880   **/1881  EthereumTransactionTransactionSignature: {1882    v: 'u64',1883    r: 'H256',1884    s: 'H256'1885  },1886  /**1887   * Lookup251: ethereum::transaction::EIP2930Transaction1888   **/1889  EthereumTransactionEip2930Transaction: {1890    chainId: 'u64',1891    nonce: 'U256',1892    gasPrice: 'U256',1893    gasLimit: 'U256',1894    action: 'EthereumTransactionTransactionAction',1895    value: 'U256',1896    input: 'Bytes',1897    accessList: 'Vec<EthereumTransactionAccessListItem>',1898    oddYParity: 'bool',1899    r: 'H256',1900    s: 'H256'1901  },1902  /**1903   * Lookup253: ethereum::transaction::AccessListItem1904   **/1905  EthereumTransactionAccessListItem: {1906    address: 'H160',1907    storageKeys: 'Vec<H256>'1908  },1909  /**1910   * Lookup254: ethereum::transaction::EIP1559Transaction1911   **/1912  EthereumTransactionEip1559Transaction: {1913    chainId: 'u64',1914    nonce: 'U256',1915    maxPriorityFeePerGas: 'U256',1916    maxFeePerGas: 'U256',1917    gasLimit: 'U256',1918    action: 'EthereumTransactionTransactionAction',1919    value: 'U256',1920    input: 'Bytes',1921    accessList: 'Vec<EthereumTransactionAccessListItem>',1922    oddYParity: 'bool',1923    r: 'H256',1924    s: 'H256'1925  },1926  /**1927   * Lookup255: pallet_evm_migration::pallet::Call<T>1928   **/1929  PalletEvmMigrationCall: {1930    _enum: {1931      begin: {1932        address: 'H160',1933      },1934      set_data: {1935        address: 'H160',1936        data: 'Vec<(H256,H256)>',1937      },1938      finish: {1939        address: 'H160',1940        code: 'Bytes'1941      }1942    }1943  },1944  /**1945   * Lookup258: pallet_sudo::pallet::Event<T>1946   **/1947  PalletSudoEvent: {1948    _enum: {1949      Sudid: {1950        sudoResult: 'Result<Null, SpRuntimeDispatchError>',1951      },1952      KeyChanged: {1953        oldSudoer: 'Option<AccountId32>',1954      },1955      SudoAsDone: {1956        sudoResult: 'Result<Null, SpRuntimeDispatchError>'1957      }1958    }1959  },1960  /**1961   * Lookup260: sp_runtime::DispatchError1962   **/1963  SpRuntimeDispatchError: {1964    _enum: {1965      Other: 'Null',1966      CannotLookup: 'Null',1967      BadOrigin: 'Null',1968      Module: 'SpRuntimeModuleError',1969      ConsumerRemaining: 'Null',1970      NoProviders: 'Null',1971      TooManyConsumers: 'Null',1972      Token: 'SpRuntimeTokenError',1973      Arithmetic: 'SpRuntimeArithmeticError',1974      Transactional: 'SpRuntimeTransactionalError'1975    }1976  },1977  /**1978   * Lookup261: sp_runtime::ModuleError1979   **/1980  SpRuntimeModuleError: {1981    index: 'u8',1982    error: '[u8;4]'1983  },1984  /**1985   * Lookup262: sp_runtime::TokenError1986   **/1987  SpRuntimeTokenError: {1988    _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1989  },1990  /**1991   * Lookup263: sp_runtime::ArithmeticError1992   **/1993  SpRuntimeArithmeticError: {1994    _enum: ['Underflow', 'Overflow', 'DivisionByZero']1995  },1996  /**1997   * Lookup264: sp_runtime::TransactionalError1998   **/1999  SpRuntimeTransactionalError: {2000    _enum: ['LimitReached', 'NoLayer']2001  },2002  /**2003   * Lookup265: pallet_sudo::pallet::Error<T>2004   **/2005  PalletSudoError: {2006    _enum: ['RequireSudo']2007  },2008  /**2009   * Lookup266: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>2010   **/2011  FrameSystemAccountInfo: {2012    nonce: 'u32',2013    consumers: 'u32',2014    providers: 'u32',2015    sufficients: 'u32',2016    data: 'PalletBalancesAccountData'2017  },2018  /**2019   * Lookup267: frame_support::weights::PerDispatchClass<T>2020   **/2021  FrameSupportWeightsPerDispatchClassU64: {2022    normal: 'u64',2023    operational: 'u64',2024    mandatory: 'u64'2025  },2026  /**2027   * Lookup268: sp_runtime::generic::digest::Digest2028   **/2029  SpRuntimeDigest: {2030    logs: 'Vec<SpRuntimeDigestDigestItem>'2031  },2032  /**2033   * Lookup270: sp_runtime::generic::digest::DigestItem2034   **/2035  SpRuntimeDigestDigestItem: {2036    _enum: {2037      Other: 'Bytes',2038      __Unused1: 'Null',2039      __Unused2: 'Null',2040      __Unused3: 'Null',2041      Consensus: '([u8;4],Bytes)',2042      Seal: '([u8;4],Bytes)',2043      PreRuntime: '([u8;4],Bytes)',2044      __Unused7: 'Null',2045      RuntimeEnvironmentUpdated: 'Null'2046    }2047  },2048  /**2049   * Lookup272: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2050   **/2051  FrameSystemEventRecord: {2052    phase: 'FrameSystemPhase',2053    event: 'Event',2054    topics: 'Vec<H256>'2055  },2056  /**2057   * Lookup274: frame_system::pallet::Event<T>2058   **/2059  FrameSystemEvent: {2060    _enum: {2061      ExtrinsicSuccess: {2062        dispatchInfo: 'FrameSupportWeightsDispatchInfo',2063      },2064      ExtrinsicFailed: {2065        dispatchError: 'SpRuntimeDispatchError',2066        dispatchInfo: 'FrameSupportWeightsDispatchInfo',2067      },2068      CodeUpdated: 'Null',2069      NewAccount: {2070        account: 'AccountId32',2071      },2072      KilledAccount: {2073        account: 'AccountId32',2074      },2075      Remarked: {2076        _alias: {2077          hash_: 'hash',2078        },2079        sender: 'AccountId32',2080        hash_: 'H256'2081      }2082    }2083  },2084  /**2085   * Lookup275: frame_support::weights::DispatchInfo2086   **/2087  FrameSupportWeightsDispatchInfo: {2088    weight: 'u64',2089    class: 'FrameSupportWeightsDispatchClass',2090    paysFee: 'FrameSupportWeightsPays'2091  },2092  /**2093   * Lookup276: frame_support::weights::DispatchClass2094   **/2095  FrameSupportWeightsDispatchClass: {2096    _enum: ['Normal', 'Operational', 'Mandatory']2097  },2098  /**2099   * Lookup277: frame_support::weights::Pays2100   **/2101  FrameSupportWeightsPays: {2102    _enum: ['Yes', 'No']2103  },2104  /**2105   * Lookup278: orml_vesting::module::Event<T>2106   **/2107  OrmlVestingModuleEvent: {2108    _enum: {2109      VestingScheduleAdded: {2110        from: 'AccountId32',2111        to: 'AccountId32',2112        vestingSchedule: 'OrmlVestingVestingSchedule',2113      },2114      Claimed: {2115        who: 'AccountId32',2116        amount: 'u128',2117      },2118      VestingSchedulesUpdated: {2119        who: 'AccountId32'2120      }2121    }2122  },2123  /**2124   * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event<T>2125   **/2126  CumulusPalletXcmpQueueEvent: {2127    _enum: {2128      Success: 'Option<H256>',2129      Fail: '(Option<H256>,XcmV2TraitsError)',2130      BadVersion: 'Option<H256>',2131      BadFormat: 'Option<H256>',2132      UpwardMessageSent: 'Option<H256>',2133      XcmpMessageSent: 'Option<H256>',2134      OverweightEnqueued: '(u32,u32,u64,u64)',2135      OverweightServiced: '(u64,u64)'2136    }2137  },2138  /**2139   * Lookup280: pallet_xcm::pallet::Event<T>2140   **/2141  PalletXcmEvent: {2142    _enum: {2143      Attempted: 'XcmV2TraitsOutcome',2144      Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',2145      UnexpectedResponse: '(XcmV1MultiLocation,u64)',2146      ResponseReady: '(u64,XcmV2Response)',2147      Notified: '(u64,u8,u8)',2148      NotifyOverweight: '(u64,u8,u8,u64,u64)',2149      NotifyDispatchError: '(u64,u8,u8)',2150      NotifyDecodeFailed: '(u64,u8,u8)',2151      InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',2152      InvalidResponderVersion: '(XcmV1MultiLocation,u64)',2153      ResponseTaken: 'u64',2154      AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',2155      VersionChangeNotified: '(XcmV1MultiLocation,u32)',2156      SupportedVersionChanged: '(XcmV1MultiLocation,u32)',2157      NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',2158      NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2159    }2160  },2161  /**2162   * Lookup281: xcm::v2::traits::Outcome2163   **/2164  XcmV2TraitsOutcome: {2165    _enum: {2166      Complete: 'u64',2167      Incomplete: '(u64,XcmV2TraitsError)',2168      Error: 'XcmV2TraitsError'2169    }2170  },2171  /**2172   * Lookup283: cumulus_pallet_xcm::pallet::Event<T>2173   **/2174  CumulusPalletXcmEvent: {2175    _enum: {2176      InvalidFormat: '[u8;8]',2177      UnsupportedVersion: '[u8;8]',2178      ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2179    }2180  },2181  /**2182   * Lookup284: cumulus_pallet_dmp_queue::pallet::Event<T>2183   **/2184  CumulusPalletDmpQueueEvent: {2185    _enum: {2186      InvalidFormat: {2187        messageId: '[u8;32]',2188      },2189      UnsupportedVersion: {2190        messageId: '[u8;32]',2191      },2192      ExecutedDownward: {2193        messageId: '[u8;32]',2194        outcome: 'XcmV2TraitsOutcome',2195      },2196      WeightExhausted: {2197        messageId: '[u8;32]',2198        remainingWeight: 'u64',2199        requiredWeight: 'u64',2200      },2201      OverweightEnqueued: {2202        messageId: '[u8;32]',2203        overweightIndex: 'u64',2204        requiredWeight: 'u64',2205      },2206      OverweightServiced: {2207        overweightIndex: 'u64',2208        weightUsed: 'u64'2209      }2210    }2211  },2212  /**2213   * Lookup285: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2214   **/2215  PalletUniqueRawEvent: {2216    _enum: {2217      CollectionSponsorRemoved: 'u32',2218      CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2219      CollectionOwnedChanged: '(u32,AccountId32)',2220      CollectionSponsorSet: '(u32,AccountId32)',2221      SponsorshipConfirmed: '(u32,AccountId32)',2222      CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2223      AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2224      AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2225      CollectionLimitSet: 'u32',2226      CollectionPermissionSet: 'u32'2227    }2228  },2229  /**2230   * Lookup286: pallet_unique_scheduler::pallet::Event<T>2231   **/2232  PalletUniqueSchedulerEvent: {2233    _enum: {2234      Scheduled: {2235        when: 'u32',2236        index: 'u32',2237      },2238      Canceled: {2239        when: 'u32',2240        index: 'u32',2241      },2242      Dispatched: {2243        task: '(u32,u32)',2244        id: 'Option<[u8;16]>',2245        result: 'Result<Null, SpRuntimeDispatchError>',2246      },2247      CallLookupFailed: {2248        task: '(u32,u32)',2249        id: 'Option<[u8;16]>',2250        error: 'FrameSupportScheduleLookupError'2251      }2252    }2253  },2254  /**2255   * Lookup288: frame_support::traits::schedule::LookupError2256   **/2257  FrameSupportScheduleLookupError: {2258    _enum: ['Unknown', 'BadFormat']2259  },2260  /**2261   * Lookup289: pallet_common::pallet::Event<T>2262   **/2263  PalletCommonEvent: {2264    _enum: {2265      CollectionCreated: '(u32,u8,AccountId32)',2266      CollectionDestroyed: 'u32',2267      ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2268      ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2269      Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2270      Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2271      CollectionPropertySet: '(u32,Bytes)',2272      CollectionPropertyDeleted: '(u32,Bytes)',2273      TokenPropertySet: '(u32,u32,Bytes)',2274      TokenPropertyDeleted: '(u32,u32,Bytes)',2275      PropertyPermissionSet: '(u32,Bytes)'2276    }2277  },2278  /**2279   * Lookup290: pallet_structure::pallet::Event<T>2280   **/2281  PalletStructureEvent: {2282    _enum: {2283      Executed: 'Result<Null, SpRuntimeDispatchError>'2284    }2285  },2286  /**2287   * Lookup291: pallet_rmrk_core::pallet::Event<T>2288   **/2289  PalletRmrkCoreEvent: {2290    _enum: {2291      CollectionCreated: {2292        issuer: 'AccountId32',2293        collectionId: 'u32',2294      },2295      CollectionDestroyed: {2296        issuer: 'AccountId32',2297        collectionId: 'u32',2298      },2299      IssuerChanged: {2300        oldIssuer: 'AccountId32',2301        newIssuer: 'AccountId32',2302        collectionId: 'u32',2303      },2304      CollectionLocked: {2305        issuer: 'AccountId32',2306        collectionId: 'u32',2307      },2308      NftMinted: {2309        owner: 'AccountId32',2310        collectionId: 'u32',2311        nftId: 'u32',2312      },2313      NFTBurned: {2314        owner: 'AccountId32',2315        nftId: 'u32',2316      },2317      NFTSent: {2318        sender: 'AccountId32',2319        recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2320        collectionId: 'u32',2321        nftId: 'u32',2322        approvalRequired: 'bool',2323      },2324      NFTAccepted: {2325        sender: 'AccountId32',2326        recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2327        collectionId: 'u32',2328        nftId: 'u32',2329      },2330      NFTRejected: {2331        sender: 'AccountId32',2332        collectionId: 'u32',2333        nftId: 'u32',2334      },2335      PropertySet: {2336        collectionId: 'u32',2337        maybeNftId: 'Option<u32>',2338        key: 'Bytes',2339        value: 'Bytes',2340      },2341      ResourceAdded: {2342        nftId: 'u32',2343        resourceId: 'u32',2344      },2345      ResourceRemoval: {2346        nftId: 'u32',2347        resourceId: 'u32',2348      },2349      ResourceAccepted: {2350        nftId: 'u32',2351        resourceId: 'u32',2352      },2353      ResourceRemovalAccepted: {2354        nftId: 'u32',2355        resourceId: 'u32',2356      },2357      PrioritySet: {2358        collectionId: 'u32',2359        nftId: 'u32'2360      }2361    }2362  },2363  /**2364   * Lookup292: pallet_rmrk_equip::pallet::Event<T>2365   **/2366  PalletRmrkEquipEvent: {2367    _enum: {2368      BaseCreated: {2369        issuer: 'AccountId32',2370        baseId: 'u32',2371      },2372      EquippablesUpdated: {2373        baseId: 'u32',2374        slotId: 'u32'2375      }2376    }2377  },2378  /**2379   * Lookup293: pallet_evm::pallet::Event<T>2380   **/2381  PalletEvmEvent: {2382    _enum: {2383      Log: 'EthereumLog',2384      Created: 'H160',2385      CreatedFailed: 'H160',2386      Executed: 'H160',2387      ExecutedFailed: 'H160',2388      BalanceDeposit: '(AccountId32,H160,U256)',2389      BalanceWithdraw: '(AccountId32,H160,U256)'2390    }2391  },2392  /**2393   * Lookup294: ethereum::log::Log2394   **/2395  EthereumLog: {2396    address: 'H160',2397    topics: 'Vec<H256>',2398    data: 'Bytes'2399  },2400  /**2401   * Lookup295: pallet_ethereum::pallet::Event2402   **/2403  PalletEthereumEvent: {2404    _enum: {2405      Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2406    }2407  },2408  /**2409   * Lookup296: evm_core::error::ExitReason2410   **/2411  EvmCoreErrorExitReason: {2412    _enum: {2413      Succeed: 'EvmCoreErrorExitSucceed',2414      Error: 'EvmCoreErrorExitError',2415      Revert: 'EvmCoreErrorExitRevert',2416      Fatal: 'EvmCoreErrorExitFatal'2417    }2418  },2419  /**2420   * Lookup297: evm_core::error::ExitSucceed2421   **/2422  EvmCoreErrorExitSucceed: {2423    _enum: ['Stopped', 'Returned', 'Suicided']2424  },2425  /**2426   * Lookup298: evm_core::error::ExitError2427   **/2428  EvmCoreErrorExitError: {2429    _enum: {2430      StackUnderflow: 'Null',2431      StackOverflow: 'Null',2432      InvalidJump: 'Null',2433      InvalidRange: 'Null',2434      DesignatedInvalid: 'Null',2435      CallTooDeep: 'Null',2436      CreateCollision: 'Null',2437      CreateContractLimit: 'Null',2438      OutOfOffset: 'Null',2439      OutOfGas: 'Null',2440      OutOfFund: 'Null',2441      PCUnderflow: 'Null',2442      CreateEmpty: 'Null',2443      Other: 'Text',2444      InvalidCode: 'Null'2445    }2446  },2447  /**2448   * Lookup301: evm_core::error::ExitRevert2449   **/2450  EvmCoreErrorExitRevert: {2451    _enum: ['Reverted']2452  },2453  /**2454   * Lookup302: evm_core::error::ExitFatal2455   **/2456  EvmCoreErrorExitFatal: {2457    _enum: {2458      NotSupported: 'Null',2459      UnhandledInterrupt: 'Null',2460      CallErrorAsFatal: 'EvmCoreErrorExitError',2461      Other: 'Text'2462    }2463  },2464  /**2465   * Lookup303: frame_system::Phase2466   **/2467  FrameSystemPhase: {2468    _enum: {2469      ApplyExtrinsic: 'u32',2470      Finalization: 'Null',2471      Initialization: 'Null'2472    }2473  },2474  /**2475   * Lookup305: frame_system::LastRuntimeUpgradeInfo2476   **/2477  FrameSystemLastRuntimeUpgradeInfo: {2478    specVersion: 'Compact<u32>',2479    specName: 'Text'2480  },2481  /**2482   * Lookup306: frame_system::limits::BlockWeights2483   **/2484  FrameSystemLimitsBlockWeights: {2485    baseBlock: 'u64',2486    maxBlock: 'u64',2487    perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2488  },2489  /**2490   * Lookup307: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2491   **/2492  FrameSupportWeightsPerDispatchClassWeightsPerClass: {2493    normal: 'FrameSystemLimitsWeightsPerClass',2494    operational: 'FrameSystemLimitsWeightsPerClass',2495    mandatory: 'FrameSystemLimitsWeightsPerClass'2496  },2497  /**2498   * Lookup308: frame_system::limits::WeightsPerClass2499   **/2500  FrameSystemLimitsWeightsPerClass: {2501    baseExtrinsic: 'u64',2502    maxExtrinsic: 'Option<u64>',2503    maxTotal: 'Option<u64>',2504    reserved: 'Option<u64>'2505  },2506  /**2507   * Lookup310: frame_system::limits::BlockLength2508   **/2509  FrameSystemLimitsBlockLength: {2510    max: 'FrameSupportWeightsPerDispatchClassU32'2511  },2512  /**2513   * Lookup311: frame_support::weights::PerDispatchClass<T>2514   **/2515  FrameSupportWeightsPerDispatchClassU32: {2516    normal: 'u32',2517    operational: 'u32',2518    mandatory: 'u32'2519  },2520  /**2521   * Lookup312: frame_support::weights::RuntimeDbWeight2522   **/2523  FrameSupportWeightsRuntimeDbWeight: {2524    read: 'u64',2525    write: 'u64'2526  },2527  /**2528   * Lookup313: sp_version::RuntimeVersion2529   **/2530  SpVersionRuntimeVersion: {2531    specName: 'Text',2532    implName: 'Text',2533    authoringVersion: 'u32',2534    specVersion: 'u32',2535    implVersion: 'u32',2536    apis: 'Vec<([u8;8],u32)>',2537    transactionVersion: 'u32',2538    stateVersion: 'u8'2539  },2540  /**2541   * Lookup317: frame_system::pallet::Error<T>2542   **/2543  FrameSystemError: {2544    _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2545  },2546  /**2547   * Lookup319: orml_vesting::module::Error<T>2548   **/2549  OrmlVestingModuleError: {2550    _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2551  },2552  /**2553   * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails2554   **/2555  CumulusPalletXcmpQueueInboundChannelDetails: {2556    sender: 'u32',2557    state: 'CumulusPalletXcmpQueueInboundState',2558    messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2559  },2560  /**2561   * Lookup322: cumulus_pallet_xcmp_queue::InboundState2562   **/2563  CumulusPalletXcmpQueueInboundState: {2564    _enum: ['Ok', 'Suspended']2565  },2566  /**2567   * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat2568   **/2569  PolkadotParachainPrimitivesXcmpMessageFormat: {2570    _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2571  },2572  /**2573   * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails2574   **/2575  CumulusPalletXcmpQueueOutboundChannelDetails: {2576    recipient: 'u32',2577    state: 'CumulusPalletXcmpQueueOutboundState',2578    signalsExist: 'bool',2579    firstIndex: 'u16',2580    lastIndex: 'u16'2581  },2582  /**2583   * Lookup329: cumulus_pallet_xcmp_queue::OutboundState2584   **/2585  CumulusPalletXcmpQueueOutboundState: {2586    _enum: ['Ok', 'Suspended']2587  },2588  /**2589   * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData2590   **/2591  CumulusPalletXcmpQueueQueueConfigData: {2592    suspendThreshold: 'u32',2593    dropThreshold: 'u32',2594    resumeThreshold: 'u32',2595    thresholdWeight: 'u64',2596    weightRestrictDecay: 'u64',2597    xcmpMaxIndividualWeight: 'u64'2598  },2599  /**2600   * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error<T>2601   **/2602  CumulusPalletXcmpQueueError: {2603    _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2604  },2605  /**2606   * Lookup334: pallet_xcm::pallet::Error<T>2607   **/2608  PalletXcmError: {2609    _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2610  },2611  /**2612   * Lookup335: cumulus_pallet_xcm::pallet::Error<T>2613   **/2614  CumulusPalletXcmError: 'Null',2615  /**2616   * Lookup336: cumulus_pallet_dmp_queue::ConfigData2617   **/2618  CumulusPalletDmpQueueConfigData: {2619    maxIndividual: 'u64'2620  },2621  /**2622   * Lookup337: cumulus_pallet_dmp_queue::PageIndexData2623   **/2624  CumulusPalletDmpQueuePageIndexData: {2625    beginUsed: 'u32',2626    endUsed: 'u32',2627    overweightCount: 'u64'2628  },2629  /**2630   * Lookup340: cumulus_pallet_dmp_queue::pallet::Error<T>2631   **/2632  CumulusPalletDmpQueueError: {2633    _enum: ['Unknown', 'OverLimit']2634  },2635  /**2636   * Lookup344: pallet_unique::Error<T>2637   **/2638  PalletUniqueError: {2639    _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2640  },2641  /**2642   * Lookup347: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2643   **/2644  PalletUniqueSchedulerScheduledV3: {2645    maybeId: 'Option<[u8;16]>',2646    priority: 'u8',2647    call: 'FrameSupportScheduleMaybeHashed',2648    maybePeriodic: 'Option<(u32,u32)>',2649    origin: 'OpalRuntimeOriginCaller'2650  },2651  /**2652   * Lookup348: opal_runtime::OriginCaller2653   **/2654  OpalRuntimeOriginCaller: {2655    _enum: {2656      __Unused0: 'Null',2657      __Unused1: 'Null',2658      __Unused2: 'Null',2659      __Unused3: 'Null',2660      Void: 'SpCoreVoid',2661      __Unused5: 'Null',2662      __Unused6: 'Null',2663      __Unused7: 'Null',2664      __Unused8: 'Null',2665      __Unused9: 'Null',2666      __Unused10: 'Null',2667      __Unused11: 'Null',2668      __Unused12: 'Null',2669      __Unused13: 'Null',2670      __Unused14: 'Null',2671      __Unused15: 'Null',2672      __Unused16: 'Null',2673      __Unused17: 'Null',2674      __Unused18: 'Null',2675      __Unused19: 'Null',2676      __Unused20: 'Null',2677      __Unused21: 'Null',2678      __Unused22: 'Null',2679      __Unused23: 'Null',2680      __Unused24: 'Null',2681      __Unused25: 'Null',2682      __Unused26: 'Null',2683      __Unused27: 'Null',2684      __Unused28: 'Null',2685      __Unused29: 'Null',2686      __Unused30: 'Null',2687      __Unused31: 'Null',2688      __Unused32: 'Null',2689      __Unused33: 'Null',2690      __Unused34: 'Null',2691      __Unused35: 'Null',2692      system: 'FrameSupportDispatchRawOrigin',2693      __Unused37: 'Null',2694      __Unused38: 'Null',2695      __Unused39: 'Null',2696      __Unused40: 'Null',2697      __Unused41: 'Null',2698      __Unused42: 'Null',2699      __Unused43: 'Null',2700      __Unused44: 'Null',2701      __Unused45: 'Null',2702      __Unused46: 'Null',2703      __Unused47: 'Null',2704      __Unused48: 'Null',2705      __Unused49: 'Null',2706      __Unused50: 'Null',2707      PolkadotXcm: 'PalletXcmOrigin',2708      CumulusXcm: 'CumulusPalletXcmOrigin',2709      __Unused53: 'Null',2710      __Unused54: 'Null',2711      __Unused55: 'Null',2712      __Unused56: 'Null',2713      __Unused57: 'Null',2714      __Unused58: 'Null',2715      __Unused59: 'Null',2716      __Unused60: 'Null',2717      __Unused61: 'Null',2718      __Unused62: 'Null',2719      __Unused63: 'Null',2720      __Unused64: 'Null',2721      __Unused65: 'Null',2722      __Unused66: 'Null',2723      __Unused67: 'Null',2724      __Unused68: 'Null',2725      __Unused69: 'Null',2726      __Unused70: 'Null',2727      __Unused71: 'Null',2728      __Unused72: 'Null',2729      __Unused73: 'Null',2730      __Unused74: 'Null',2731      __Unused75: 'Null',2732      __Unused76: 'Null',2733      __Unused77: 'Null',2734      __Unused78: 'Null',2735      __Unused79: 'Null',2736      __Unused80: 'Null',2737      __Unused81: 'Null',2738      __Unused82: 'Null',2739      __Unused83: 'Null',2740      __Unused84: 'Null',2741      __Unused85: 'Null',2742      __Unused86: 'Null',2743      __Unused87: 'Null',2744      __Unused88: 'Null',2745      __Unused89: 'Null',2746      __Unused90: 'Null',2747      __Unused91: 'Null',2748      __Unused92: 'Null',2749      __Unused93: 'Null',2750      __Unused94: 'Null',2751      __Unused95: 'Null',2752      __Unused96: 'Null',2753      __Unused97: 'Null',2754      __Unused98: 'Null',2755      __Unused99: 'Null',2756      __Unused100: 'Null',2757      Ethereum: 'PalletEthereumRawOrigin'2758    }2759  },2760  /**2761   * Lookup349: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2762   **/2763  FrameSupportDispatchRawOrigin: {2764    _enum: {2765      Root: 'Null',2766      Signed: 'AccountId32',2767      None: 'Null'2768    }2769  },2770  /**2771   * Lookup350: pallet_xcm::pallet::Origin2772   **/2773  PalletXcmOrigin: {2774    _enum: {2775      Xcm: 'XcmV1MultiLocation',2776      Response: 'XcmV1MultiLocation'2777    }2778  },2779  /**2780   * Lookup351: cumulus_pallet_xcm::pallet::Origin2781   **/2782  CumulusPalletXcmOrigin: {2783    _enum: {2784      Relay: 'Null',2785      SiblingParachain: 'u32'2786    }2787  },2788  /**2789   * Lookup352: pallet_ethereum::RawOrigin2790   **/2791  PalletEthereumRawOrigin: {2792    _enum: {2793      EthereumTransaction: 'H160'2794    }2795  },2796  /**2797   * Lookup353: sp_core::Void2798   **/2799  SpCoreVoid: 'Null',2800  /**2801   * Lookup354: pallet_unique_scheduler::pallet::Error<T>2802   **/2803  PalletUniqueSchedulerError: {2804    _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2805  },2806  /**2807   * Lookup355: up_data_structs::Collection<sp_core::crypto::AccountId32>2808   **/2809  UpDataStructsCollection: {2810    owner: 'AccountId32',2811    mode: 'UpDataStructsCollectionMode',2812    name: 'Vec<u16>',2813    description: 'Vec<u16>',2814    tokenPrefix: 'Bytes',2815    sponsorship: 'UpDataStructsSponsorshipState',2816    limits: 'UpDataStructsCollectionLimits',2817    permissions: 'UpDataStructsCollectionPermissions',2818    externalCollection: 'bool'2819  },2820  /**2821   * Lookup356: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2822   **/2823  UpDataStructsSponsorshipState: {2824    _enum: {2825      Disabled: 'Null',2826      Unconfirmed: 'AccountId32',2827      Confirmed: 'AccountId32'2828    }2829  },2830  /**2831   * Lookup357: up_data_structs::Properties2832   **/2833  UpDataStructsProperties: {2834    map: 'UpDataStructsPropertiesMapBoundedVec',2835    consumedSpace: 'u32',2836    spaceLimit: 'u32'2837  },2838  /**2839   * Lookup358: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2840   **/2841  UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2842  /**2843   * Lookup363: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2844   **/2845  UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2846  /**2847   * Lookup370: up_data_structs::CollectionStats2848   **/2849  UpDataStructsCollectionStats: {2850    created: 'u32',2851    destroyed: 'u32',2852    alive: 'u32'2853  },2854  /**2855   * Lookup371: up_data_structs::TokenChild2856   **/2857  UpDataStructsTokenChild: {2858    token: 'u32',2859    collection: 'u32'2860  },2861  /**2862   * Lookup372: PhantomType::up_data_structs<T>2863   **/2864  PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2865  /**2866   * Lookup374: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2867   **/2868  UpDataStructsTokenData: {2869    properties: 'Vec<UpDataStructsProperty>',2870    owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2871    pieces: 'u128'2872  },2873  /**2874   * Lookup376: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2875   **/2876  UpDataStructsRpcCollection: {2877    owner: 'AccountId32',2878    mode: 'UpDataStructsCollectionMode',2879    name: 'Vec<u16>',2880    description: 'Vec<u16>',2881    tokenPrefix: 'Bytes',2882    sponsorship: 'UpDataStructsSponsorshipState',2883    limits: 'UpDataStructsCollectionLimits',2884    permissions: 'UpDataStructsCollectionPermissions',2885    tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2886    properties: 'Vec<UpDataStructsProperty>',2887    readOnly: 'bool'2888  },2889  /**2890   * 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>2891   **/2892  RmrkTraitsCollectionCollectionInfo: {2893    issuer: 'AccountId32',2894    metadata: 'Bytes',2895    max: 'Option<u32>',2896    symbol: 'Bytes',2897    nftsCount: 'u32'2898  },2899  /**2900   * Lookup378: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2901   **/2902  RmrkTraitsNftNftInfo: {2903    owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2904    royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2905    metadata: 'Bytes',2906    equipped: 'bool',2907    pending: 'bool'2908  },2909  /**2910   * Lookup380: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2911   **/2912  RmrkTraitsNftRoyaltyInfo: {2913    recipient: 'AccountId32',2914    amount: 'Permill'2915  },2916  /**2917   * Lookup381: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2918   **/2919  RmrkTraitsResourceResourceInfo: {2920    id: 'u32',2921    resource: 'RmrkTraitsResourceResourceTypes',2922    pending: 'bool',2923    pendingRemoval: 'bool'2924  },2925  /**2926   * Lookup382: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2927   **/2928  RmrkTraitsPropertyPropertyInfo: {2929    key: 'Bytes',2930    value: 'Bytes'2931  },2932  /**2933   * Lookup383: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2934   **/2935  RmrkTraitsBaseBaseInfo: {2936    issuer: 'AccountId32',2937    baseType: 'Bytes',2938    symbol: 'Bytes'2939  },2940  /**2941   * Lookup384: rmrk_traits::nft::NftChild2942   **/2943  RmrkTraitsNftNftChild: {2944    collectionId: 'u32',2945    nftId: 'u32'2946  },2947  /**2948   * Lookup386: pallet_common::pallet::Error<T>2949   **/2950  PalletCommonError: {2951    _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']2952  },2953  /**2954   * Lookup388: pallet_fungible::pallet::Error<T>2955   **/2956  PalletFungibleError: {2957    _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2958  },2959  /**2960   * Lookup389: pallet_refungible::ItemData2961   **/2962  PalletRefungibleItemData: {2963    constData: 'Bytes'2964  },2965  /**2966   * Lookup394: pallet_refungible::pallet::Error<T>2967   **/2968  PalletRefungibleError: {2969    _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2970  },2971  /**2972   * Lookup395: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2973   **/2974  PalletNonfungibleItemData: {2975    owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2976  },2977  /**2978   * Lookup397: up_data_structs::PropertyScope2979   **/2980  UpDataStructsPropertyScope: {2981    _enum: ['None', 'Rmrk']2982  },2983  /**2984   * Lookup399: pallet_nonfungible::pallet::Error<T>2985   **/2986  PalletNonfungibleError: {2987    _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2988  },2989  /**2990   * Lookup400: pallet_structure::pallet::Error<T>2991   **/2992  PalletStructureError: {2993    _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2994  },2995  /**2996   * Lookup401: pallet_rmrk_core::pallet::Error<T>2997   **/2998  PalletRmrkCoreError: {2999    _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3000  },3001  /**3002   * Lookup403: pallet_rmrk_equip::pallet::Error<T>3003   **/3004  PalletRmrkEquipError: {3005    _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3006  },3007  /**3008   * Lookup406: pallet_evm::pallet::Error<T>3009   **/3010  PalletEvmError: {3011    _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3012  },3013  /**3014   * Lookup409: fp_rpc::TransactionStatus3015   **/3016  FpRpcTransactionStatus: {3017    transactionHash: 'H256',3018    transactionIndex: 'u32',3019    from: 'H160',3020    to: 'Option<H160>',3021    contractAddress: 'Option<H160>',3022    logs: 'Vec<EthereumLog>',3023    logsBloom: 'EthbloomBloom'3024  },3025  /**3026   * Lookup411: ethbloom::Bloom3027   **/3028  EthbloomBloom: '[u8;256]',3029  /**3030   * Lookup413: ethereum::receipt::ReceiptV33031   **/3032  EthereumReceiptReceiptV3: {3033    _enum: {3034      Legacy: 'EthereumReceiptEip658ReceiptData',3035      EIP2930: 'EthereumReceiptEip658ReceiptData',3036      EIP1559: 'EthereumReceiptEip658ReceiptData'3037    }3038  },3039  /**3040   * Lookup414: ethereum::receipt::EIP658ReceiptData3041   **/3042  EthereumReceiptEip658ReceiptData: {3043    statusCode: 'u8',3044    usedGas: 'U256',3045    logsBloom: 'EthbloomBloom',3046    logs: 'Vec<EthereumLog>'3047  },3048  /**3049   * Lookup415: ethereum::block::Block<ethereum::transaction::TransactionV2>3050   **/3051  EthereumBlock: {3052    header: 'EthereumHeader',3053    transactions: 'Vec<EthereumTransactionTransactionV2>',3054    ommers: 'Vec<EthereumHeader>'3055  },3056  /**3057   * Lookup416: ethereum::header::Header3058   **/3059  EthereumHeader: {3060    parentHash: 'H256',3061    ommersHash: 'H256',3062    beneficiary: 'H160',3063    stateRoot: 'H256',3064    transactionsRoot: 'H256',3065    receiptsRoot: 'H256',3066    logsBloom: 'EthbloomBloom',3067    difficulty: 'U256',3068    number: 'U256',3069    gasLimit: 'U256',3070    gasUsed: 'U256',3071    timestamp: 'u64',3072    extraData: 'Bytes',3073    mixHash: 'H256',3074    nonce: 'EthereumTypesHashH64'3075  },3076  /**3077   * Lookup417: ethereum_types::hash::H643078   **/3079  EthereumTypesHashH64: '[u8;8]',3080  /**3081   * Lookup422: pallet_ethereum::pallet::Error<T>3082   **/3083  PalletEthereumError: {3084    _enum: ['InvalidSignature', 'PreLogExists']3085  },3086  /**3087   * Lookup423: pallet_evm_coder_substrate::pallet::Error<T>3088   **/3089  PalletEvmCoderSubstrateError: {3090    _enum: ['OutOfGas', 'OutOfFund']3091  },3092  /**3093   * Lookup424: pallet_evm_contract_helpers::SponsoringModeT3094   **/3095  PalletEvmContractHelpersSponsoringModeT: {3096    _enum: ['Disabled', 'Allowlisted', 'Generous']3097  },3098  /**3099   * Lookup426: pallet_evm_contract_helpers::pallet::Error<T>3100   **/3101  PalletEvmContractHelpersError: {3102    _enum: ['NoPermission']3103  },3104  /**3105   * Lookup427: pallet_evm_migration::pallet::Error<T>3106   **/3107  PalletEvmMigrationError: {3108    _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3109  },3110  /**3111   * Lookup429: sp_runtime::MultiSignature3112   **/3113  SpRuntimeMultiSignature: {3114    _enum: {3115      Ed25519: 'SpCoreEd25519Signature',3116      Sr25519: 'SpCoreSr25519Signature',3117      Ecdsa: 'SpCoreEcdsaSignature'3118    }3119  },3120  /**3121   * Lookup430: sp_core::ed25519::Signature3122   **/3123  SpCoreEd25519Signature: '[u8;64]',3124  /**3125   * Lookup432: sp_core::sr25519::Signature3126   **/3127  SpCoreSr25519Signature: '[u8;64]',3128  /**3129   * Lookup433: sp_core::ecdsa::Signature3130   **/3131  SpCoreEcdsaSignature: '[u8;65]',3132  /**3133   * Lookup436: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3134   **/3135  FrameSystemExtensionsCheckSpecVersion: 'Null',3136  /**3137   * Lookup437: frame_system::extensions::check_genesis::CheckGenesis<T>3138   **/3139  FrameSystemExtensionsCheckGenesis: 'Null',3140  /**3141   * Lookup440: frame_system::extensions::check_nonce::CheckNonce<T>3142   **/3143  FrameSystemExtensionsCheckNonce: 'Compact<u32>',3144  /**3145   * Lookup441: frame_system::extensions::check_weight::CheckWeight<T>3146   **/3147  FrameSystemExtensionsCheckWeight: 'Null',3148  /**3149   * Lookup442: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3150   **/3151  PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3152  /**3153   * Lookup443: opal_runtime::Runtime3154   **/3155  OpalRuntimeRuntime: 'Null',3156  /**3157   * Lookup444: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3158   **/3159  PalletEthereumFakeTransactionFinalizer: 'Null'3160};
after · tests/src/interfaces/lookup.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7  /**8   * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9   **/10  PolkadotPrimitivesV2PersistedValidationData: {11    parentHead: 'Bytes',12    relayParentNumber: 'u32',13    relayParentStorageRoot: 'H256',14    maxPovSize: 'u32'15  },16  /**17   * Lookup9: polkadot_primitives::v2::UpgradeRestriction18   **/19  PolkadotPrimitivesV2UpgradeRestriction: {20    _enum: ['Present']21  },22  /**23   * Lookup10: sp_trie::storage_proof::StorageProof24   **/25  SpTrieStorageProof: {26    trieNodes: 'BTreeSet<Bytes>'27  },28  /**29   * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30   **/31  CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {32    dmqMqcHead: 'H256',33    relayDispatchQueueSize: '(u32,u32)',34    ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',35    egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'36  },37  /**38   * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel39   **/40  PolkadotPrimitivesV2AbridgedHrmpChannel: {41    maxCapacity: 'u32',42    maxTotalSize: 'u32',43    maxMessageSize: 'u32',44    msgCount: 'u32',45    totalSize: 'u32',46    mqcHead: 'Option<H256>'47  },48  /**49   * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration50   **/51  PolkadotPrimitivesV2AbridgedHostConfiguration: {52    maxCodeSize: 'u32',53    maxHeadDataSize: 'u32',54    maxUpwardQueueCount: 'u32',55    maxUpwardQueueSize: 'u32',56    maxUpwardMessageSize: 'u32',57    maxUpwardMessageNumPerCandidate: 'u32',58    hrmpMaxMessageNumPerCandidate: 'u32',59    validationUpgradeCooldown: 'u32',60    validationUpgradeDelay: 'u32'61  },62  /**63   * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>64   **/65  PolkadotCorePrimitivesOutboundHrmpMessage: {66    recipient: 'u32',67    data: 'Bytes'68  },69  /**70   * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>71   **/72  CumulusPalletParachainSystemCall: {73    _enum: {74      set_validation_data: {75        data: 'CumulusPrimitivesParachainInherentParachainInherentData',76      },77      sudo_send_upward_message: {78        message: 'Bytes',79      },80      authorize_upgrade: {81        codeHash: 'H256',82      },83      enact_authorized_upgrade: {84        code: 'Bytes'85      }86    }87  },88  /**89   * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData90   **/91  CumulusPrimitivesParachainInherentParachainInherentData: {92    validationData: 'PolkadotPrimitivesV2PersistedValidationData',93    relayChainState: 'SpTrieStorageProof',94    downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',95    horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'96  },97  /**98   * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99   **/100  PolkadotCorePrimitivesInboundDownwardMessage: {101    sentAt: 'u32',102    msg: 'Bytes'103  },104  /**105   * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106   **/107  PolkadotCorePrimitivesInboundHrmpMessage: {108    sentAt: 'u32',109    data: 'Bytes'110  },111  /**112   * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>113   **/114  CumulusPalletParachainSystemEvent: {115    _enum: {116      ValidationFunctionStored: 'Null',117      ValidationFunctionApplied: {118        relayChainBlockNum: 'u32',119      },120      ValidationFunctionDiscarded: 'Null',121      UpgradeAuthorized: {122        codeHash: 'H256',123      },124      DownwardMessagesReceived: {125        count: 'u32',126      },127      DownwardMessagesProcessed: {128        weightUsed: 'u64',129        dmqHead: 'H256'130      }131    }132  },133  /**134   * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>135   **/136  CumulusPalletParachainSystemError: {137    _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']138  },139  /**140   * Lookup41: pallet_balances::AccountData<Balance>141   **/142  PalletBalancesAccountData: {143    free: 'u128',144    reserved: 'u128',145    miscFrozen: 'u128',146    feeFrozen: 'u128'147  },148  /**149   * Lookup43: pallet_balances::BalanceLock<Balance>150   **/151  PalletBalancesBalanceLock: {152    id: '[u8;8]',153    amount: 'u128',154    reasons: 'PalletBalancesReasons'155  },156  /**157   * Lookup45: pallet_balances::Reasons158   **/159  PalletBalancesReasons: {160    _enum: ['Fee', 'Misc', 'All']161  },162  /**163   * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>164   **/165  PalletBalancesReserveData: {166    id: '[u8;16]',167    amount: 'u128'168  },169  /**170   * Lookup51: pallet_balances::Releases171   **/172  PalletBalancesReleases: {173    _enum: ['V1_0_0', 'V2_0_0']174  },175  /**176   * Lookup52: pallet_balances::pallet::Call<T, I>177   **/178  PalletBalancesCall: {179    _enum: {180      transfer: {181        dest: 'MultiAddress',182        value: 'Compact<u128>',183      },184      set_balance: {185        who: 'MultiAddress',186        newFree: 'Compact<u128>',187        newReserved: 'Compact<u128>',188      },189      force_transfer: {190        source: 'MultiAddress',191        dest: 'MultiAddress',192        value: 'Compact<u128>',193      },194      transfer_keep_alive: {195        dest: 'MultiAddress',196        value: 'Compact<u128>',197      },198      transfer_all: {199        dest: 'MultiAddress',200        keepAlive: 'bool',201      },202      force_unreserve: {203        who: 'MultiAddress',204        amount: 'u128'205      }206    }207  },208  /**209   * Lookup58: pallet_balances::pallet::Event<T, I>210   **/211  PalletBalancesEvent: {212    _enum: {213      Endowed: {214        account: 'AccountId32',215        freeBalance: 'u128',216      },217      DustLost: {218        account: 'AccountId32',219        amount: 'u128',220      },221      Transfer: {222        from: 'AccountId32',223        to: 'AccountId32',224        amount: 'u128',225      },226      BalanceSet: {227        who: 'AccountId32',228        free: 'u128',229        reserved: 'u128',230      },231      Reserved: {232        who: 'AccountId32',233        amount: 'u128',234      },235      Unreserved: {236        who: 'AccountId32',237        amount: 'u128',238      },239      ReserveRepatriated: {240        from: 'AccountId32',241        to: 'AccountId32',242        amount: 'u128',243        destinationStatus: 'FrameSupportTokensMiscBalanceStatus',244      },245      Deposit: {246        who: 'AccountId32',247        amount: 'u128',248      },249      Withdraw: {250        who: 'AccountId32',251        amount: 'u128',252      },253      Slashed: {254        who: 'AccountId32',255        amount: 'u128'256      }257    }258  },259  /**260   * Lookup59: frame_support::traits::tokens::misc::BalanceStatus261   **/262  FrameSupportTokensMiscBalanceStatus: {263    _enum: ['Free', 'Reserved']264  },265  /**266   * Lookup60: pallet_balances::pallet::Error<T, I>267   **/268  PalletBalancesError: {269    _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']270  },271  /**272   * Lookup63: pallet_timestamp::pallet::Call<T>273   **/274  PalletTimestampCall: {275    _enum: {276      set: {277        now: 'Compact<u64>'278      }279    }280  },281  /**282   * Lookup66: pallet_transaction_payment::Releases283   **/284  PalletTransactionPaymentReleases: {285    _enum: ['V1Ancient', 'V2']286  },287  /**288   * Lookup67: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289   **/290  PalletTreasuryProposal: {291    proposer: 'AccountId32',292    value: 'u128',293    beneficiary: 'AccountId32',294    bond: 'u128'295  },296  /**297   * Lookup70: pallet_treasury::pallet::Call<T, I>298   **/299  PalletTreasuryCall: {300    _enum: {301      propose_spend: {302        value: 'Compact<u128>',303        beneficiary: 'MultiAddress',304      },305      reject_proposal: {306        proposalId: 'Compact<u32>',307      },308      approve_proposal: {309        proposalId: 'Compact<u32>',310      },311      remove_approval: {312        proposalId: 'Compact<u32>'313      }314    }315  },316  /**317   * Lookup72: pallet_treasury::pallet::Event<T, I>318   **/319  PalletTreasuryEvent: {320    _enum: {321      Proposed: {322        proposalIndex: 'u32',323      },324      Spending: {325        budgetRemaining: 'u128',326      },327      Awarded: {328        proposalIndex: 'u32',329        award: 'u128',330        account: 'AccountId32',331      },332      Rejected: {333        proposalIndex: 'u32',334        slashed: 'u128',335      },336      Burnt: {337        burntFunds: 'u128',338      },339      Rollover: {340        rolloverBalance: 'u128',341      },342      Deposit: {343        value: 'u128'344      }345    }346  },347  /**348   * Lookup75: frame_support::PalletId349   **/350  FrameSupportPalletId: '[u8;8]',351  /**352   * Lookup76: pallet_treasury::pallet::Error<T, I>353   **/354  PalletTreasuryError: {355    _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'ProposalNotApproved']356  },357  /**358   * Lookup77: pallet_sudo::pallet::Call<T>359   **/360  PalletSudoCall: {361    _enum: {362      sudo: {363        call: 'Call',364      },365      sudo_unchecked_weight: {366        call: 'Call',367        weight: 'u64',368      },369      set_key: {370        _alias: {371          new_: 'new',372        },373        new_: 'MultiAddress',374      },375      sudo_as: {376        who: 'MultiAddress',377        call: 'Call'378      }379    }380  },381  /**382   * Lookup79: frame_system::pallet::Call<T>383   **/384  FrameSystemCall: {385    _enum: {386      fill_block: {387        ratio: 'Perbill',388      },389      remark: {390        remark: 'Bytes',391      },392      set_heap_pages: {393        pages: 'u64',394      },395      set_code: {396        code: 'Bytes',397      },398      set_code_without_checks: {399        code: 'Bytes',400      },401      set_storage: {402        items: 'Vec<(Bytes,Bytes)>',403      },404      kill_storage: {405        _alias: {406          keys_: 'keys',407        },408        keys_: 'Vec<Bytes>',409      },410      kill_prefix: {411        prefix: 'Bytes',412        subkeys: 'u32',413      },414      remark_with_event: {415        remark: 'Bytes'416      }417    }418  },419  /**420   * Lookup83: orml_vesting::module::Call<T>421   **/422  OrmlVestingModuleCall: {423    _enum: {424      claim: 'Null',425      vested_transfer: {426        dest: 'MultiAddress',427        schedule: 'OrmlVestingVestingSchedule',428      },429      update_vesting_schedules: {430        who: 'MultiAddress',431        vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',432      },433      claim_for: {434        dest: 'MultiAddress'435      }436    }437  },438  /**439   * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>440   **/441  OrmlVestingVestingSchedule: {442    start: 'u32',443    period: 'u32',444    periodCount: 'u32',445    perPeriod: 'Compact<u128>'446  },447  /**448   * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>449   **/450  CumulusPalletXcmpQueueCall: {451    _enum: {452      service_overweight: {453        index: 'u64',454        weightLimit: 'u64',455      },456      suspend_xcm_execution: 'Null',457      resume_xcm_execution: 'Null',458      update_suspend_threshold: {459        _alias: {460          new_: 'new',461        },462        new_: 'u32',463      },464      update_drop_threshold: {465        _alias: {466          new_: 'new',467        },468        new_: 'u32',469      },470      update_resume_threshold: {471        _alias: {472          new_: 'new',473        },474        new_: 'u32',475      },476      update_threshold_weight: {477        _alias: {478          new_: 'new',479        },480        new_: 'u64',481      },482      update_weight_restrict_decay: {483        _alias: {484          new_: 'new',485        },486        new_: 'u64',487      },488      update_xcmp_max_individual_weight: {489        _alias: {490          new_: 'new',491        },492        new_: 'u64'493      }494    }495  },496  /**497   * Lookup87: pallet_xcm::pallet::Call<T>498   **/499  PalletXcmCall: {500    _enum: {501      send: {502        dest: 'XcmVersionedMultiLocation',503        message: 'XcmVersionedXcm',504      },505      teleport_assets: {506        dest: 'XcmVersionedMultiLocation',507        beneficiary: 'XcmVersionedMultiLocation',508        assets: 'XcmVersionedMultiAssets',509        feeAssetItem: 'u32',510      },511      reserve_transfer_assets: {512        dest: 'XcmVersionedMultiLocation',513        beneficiary: 'XcmVersionedMultiLocation',514        assets: 'XcmVersionedMultiAssets',515        feeAssetItem: 'u32',516      },517      execute: {518        message: 'XcmVersionedXcm',519        maxWeight: 'u64',520      },521      force_xcm_version: {522        location: 'XcmV1MultiLocation',523        xcmVersion: 'u32',524      },525      force_default_xcm_version: {526        maybeXcmVersion: 'Option<u32>',527      },528      force_subscribe_version_notify: {529        location: 'XcmVersionedMultiLocation',530      },531      force_unsubscribe_version_notify: {532        location: 'XcmVersionedMultiLocation',533      },534      limited_reserve_transfer_assets: {535        dest: 'XcmVersionedMultiLocation',536        beneficiary: 'XcmVersionedMultiLocation',537        assets: 'XcmVersionedMultiAssets',538        feeAssetItem: 'u32',539        weightLimit: 'XcmV2WeightLimit',540      },541      limited_teleport_assets: {542        dest: 'XcmVersionedMultiLocation',543        beneficiary: 'XcmVersionedMultiLocation',544        assets: 'XcmVersionedMultiAssets',545        feeAssetItem: 'u32',546        weightLimit: 'XcmV2WeightLimit'547      }548    }549  },550  /**551   * Lookup88: xcm::VersionedMultiLocation552   **/553  XcmVersionedMultiLocation: {554    _enum: {555      V0: 'XcmV0MultiLocation',556      V1: 'XcmV1MultiLocation'557    }558  },559  /**560   * Lookup89: xcm::v0::multi_location::MultiLocation561   **/562  XcmV0MultiLocation: {563    _enum: {564      Null: 'Null',565      X1: 'XcmV0Junction',566      X2: '(XcmV0Junction,XcmV0Junction)',567      X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',568      X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569      X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570      X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571      X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572      X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573    }574  },575  /**576   * Lookup90: xcm::v0::junction::Junction577   **/578  XcmV0Junction: {579    _enum: {580      Parent: 'Null',581      Parachain: 'Compact<u32>',582      AccountId32: {583        network: 'XcmV0JunctionNetworkId',584        id: '[u8;32]',585      },586      AccountIndex64: {587        network: 'XcmV0JunctionNetworkId',588        index: 'Compact<u64>',589      },590      AccountKey20: {591        network: 'XcmV0JunctionNetworkId',592        key: '[u8;20]',593      },594      PalletInstance: 'u8',595      GeneralIndex: 'Compact<u128>',596      GeneralKey: 'Bytes',597      OnlyChild: 'Null',598      Plurality: {599        id: 'XcmV0JunctionBodyId',600        part: 'XcmV0JunctionBodyPart'601      }602    }603  },604  /**605   * Lookup91: xcm::v0::junction::NetworkId606   **/607  XcmV0JunctionNetworkId: {608    _enum: {609      Any: 'Null',610      Named: 'Bytes',611      Polkadot: 'Null',612      Kusama: 'Null'613    }614  },615  /**616   * Lookup92: xcm::v0::junction::BodyId617   **/618  XcmV0JunctionBodyId: {619    _enum: {620      Unit: 'Null',621      Named: 'Bytes',622      Index: 'Compact<u32>',623      Executive: 'Null',624      Technical: 'Null',625      Legislative: 'Null',626      Judicial: 'Null'627    }628  },629  /**630   * Lookup93: xcm::v0::junction::BodyPart631   **/632  XcmV0JunctionBodyPart: {633    _enum: {634      Voice: 'Null',635      Members: {636        count: 'Compact<u32>',637      },638      Fraction: {639        nom: 'Compact<u32>',640        denom: 'Compact<u32>',641      },642      AtLeastProportion: {643        nom: 'Compact<u32>',644        denom: 'Compact<u32>',645      },646      MoreThanProportion: {647        nom: 'Compact<u32>',648        denom: 'Compact<u32>'649      }650    }651  },652  /**653   * Lookup94: xcm::v1::multilocation::MultiLocation654   **/655  XcmV1MultiLocation: {656    parents: 'u8',657    interior: 'XcmV1MultilocationJunctions'658  },659  /**660   * Lookup95: xcm::v1::multilocation::Junctions661   **/662  XcmV1MultilocationJunctions: {663    _enum: {664      Here: 'Null',665      X1: 'XcmV1Junction',666      X2: '(XcmV1Junction,XcmV1Junction)',667      X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',668      X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669      X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670      X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671      X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672      X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673    }674  },675  /**676   * Lookup96: xcm::v1::junction::Junction677   **/678  XcmV1Junction: {679    _enum: {680      Parachain: 'Compact<u32>',681      AccountId32: {682        network: 'XcmV0JunctionNetworkId',683        id: '[u8;32]',684      },685      AccountIndex64: {686        network: 'XcmV0JunctionNetworkId',687        index: 'Compact<u64>',688      },689      AccountKey20: {690        network: 'XcmV0JunctionNetworkId',691        key: '[u8;20]',692      },693      PalletInstance: 'u8',694      GeneralIndex: 'Compact<u128>',695      GeneralKey: 'Bytes',696      OnlyChild: 'Null',697      Plurality: {698        id: 'XcmV0JunctionBodyId',699        part: 'XcmV0JunctionBodyPart'700      }701    }702  },703  /**704   * Lookup97: xcm::VersionedXcm<Call>705   **/706  XcmVersionedXcm: {707    _enum: {708      V0: 'XcmV0Xcm',709      V1: 'XcmV1Xcm',710      V2: 'XcmV2Xcm'711    }712  },713  /**714   * Lookup98: xcm::v0::Xcm<Call>715   **/716  XcmV0Xcm: {717    _enum: {718      WithdrawAsset: {719        assets: 'Vec<XcmV0MultiAsset>',720        effects: 'Vec<XcmV0Order>',721      },722      ReserveAssetDeposit: {723        assets: 'Vec<XcmV0MultiAsset>',724        effects: 'Vec<XcmV0Order>',725      },726      TeleportAsset: {727        assets: 'Vec<XcmV0MultiAsset>',728        effects: 'Vec<XcmV0Order>',729      },730      QueryResponse: {731        queryId: 'Compact<u64>',732        response: 'XcmV0Response',733      },734      TransferAsset: {735        assets: 'Vec<XcmV0MultiAsset>',736        dest: 'XcmV0MultiLocation',737      },738      TransferReserveAsset: {739        assets: 'Vec<XcmV0MultiAsset>',740        dest: 'XcmV0MultiLocation',741        effects: 'Vec<XcmV0Order>',742      },743      Transact: {744        originType: 'XcmV0OriginKind',745        requireWeightAtMost: 'u64',746        call: 'XcmDoubleEncoded',747      },748      HrmpNewChannelOpenRequest: {749        sender: 'Compact<u32>',750        maxMessageSize: 'Compact<u32>',751        maxCapacity: 'Compact<u32>',752      },753      HrmpChannelAccepted: {754        recipient: 'Compact<u32>',755      },756      HrmpChannelClosing: {757        initiator: 'Compact<u32>',758        sender: 'Compact<u32>',759        recipient: 'Compact<u32>',760      },761      RelayedFrom: {762        who: 'XcmV0MultiLocation',763        message: 'XcmV0Xcm'764      }765    }766  },767  /**768   * Lookup100: xcm::v0::multi_asset::MultiAsset769   **/770  XcmV0MultiAsset: {771    _enum: {772      None: 'Null',773      All: 'Null',774      AllFungible: 'Null',775      AllNonFungible: 'Null',776      AllAbstractFungible: {777        id: 'Bytes',778      },779      AllAbstractNonFungible: {780        class: 'Bytes',781      },782      AllConcreteFungible: {783        id: 'XcmV0MultiLocation',784      },785      AllConcreteNonFungible: {786        class: 'XcmV0MultiLocation',787      },788      AbstractFungible: {789        id: 'Bytes',790        amount: 'Compact<u128>',791      },792      AbstractNonFungible: {793        class: 'Bytes',794        instance: 'XcmV1MultiassetAssetInstance',795      },796      ConcreteFungible: {797        id: 'XcmV0MultiLocation',798        amount: 'Compact<u128>',799      },800      ConcreteNonFungible: {801        class: 'XcmV0MultiLocation',802        instance: 'XcmV1MultiassetAssetInstance'803      }804    }805  },806  /**807   * Lookup101: xcm::v1::multiasset::AssetInstance808   **/809  XcmV1MultiassetAssetInstance: {810    _enum: {811      Undefined: 'Null',812      Index: 'Compact<u128>',813      Array4: '[u8;4]',814      Array8: '[u8;8]',815      Array16: '[u8;16]',816      Array32: '[u8;32]',817      Blob: 'Bytes'818    }819  },820  /**821   * Lookup104: xcm::v0::order::Order<Call>822   **/823  XcmV0Order: {824    _enum: {825      Null: 'Null',826      DepositAsset: {827        assets: 'Vec<XcmV0MultiAsset>',828        dest: 'XcmV0MultiLocation',829      },830      DepositReserveAsset: {831        assets: 'Vec<XcmV0MultiAsset>',832        dest: 'XcmV0MultiLocation',833        effects: 'Vec<XcmV0Order>',834      },835      ExchangeAsset: {836        give: 'Vec<XcmV0MultiAsset>',837        receive: 'Vec<XcmV0MultiAsset>',838      },839      InitiateReserveWithdraw: {840        assets: 'Vec<XcmV0MultiAsset>',841        reserve: 'XcmV0MultiLocation',842        effects: 'Vec<XcmV0Order>',843      },844      InitiateTeleport: {845        assets: 'Vec<XcmV0MultiAsset>',846        dest: 'XcmV0MultiLocation',847        effects: 'Vec<XcmV0Order>',848      },849      QueryHolding: {850        queryId: 'Compact<u64>',851        dest: 'XcmV0MultiLocation',852        assets: 'Vec<XcmV0MultiAsset>',853      },854      BuyExecution: {855        fees: 'XcmV0MultiAsset',856        weight: 'u64',857        debt: 'u64',858        haltOnError: 'bool',859        xcm: 'Vec<XcmV0Xcm>'860      }861    }862  },863  /**864   * Lookup106: xcm::v0::Response865   **/866  XcmV0Response: {867    _enum: {868      Assets: 'Vec<XcmV0MultiAsset>'869    }870  },871  /**872   * Lookup107: xcm::v0::OriginKind873   **/874  XcmV0OriginKind: {875    _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876  },877  /**878   * Lookup108: xcm::double_encoded::DoubleEncoded<T>879   **/880  XcmDoubleEncoded: {881    encoded: 'Bytes'882  },883  /**884   * Lookup109: xcm::v1::Xcm<Call>885   **/886  XcmV1Xcm: {887    _enum: {888      WithdrawAsset: {889        assets: 'XcmV1MultiassetMultiAssets',890        effects: 'Vec<XcmV1Order>',891      },892      ReserveAssetDeposited: {893        assets: 'XcmV1MultiassetMultiAssets',894        effects: 'Vec<XcmV1Order>',895      },896      ReceiveTeleportedAsset: {897        assets: 'XcmV1MultiassetMultiAssets',898        effects: 'Vec<XcmV1Order>',899      },900      QueryResponse: {901        queryId: 'Compact<u64>',902        response: 'XcmV1Response',903      },904      TransferAsset: {905        assets: 'XcmV1MultiassetMultiAssets',906        beneficiary: 'XcmV1MultiLocation',907      },908      TransferReserveAsset: {909        assets: 'XcmV1MultiassetMultiAssets',910        dest: 'XcmV1MultiLocation',911        effects: 'Vec<XcmV1Order>',912      },913      Transact: {914        originType: 'XcmV0OriginKind',915        requireWeightAtMost: 'u64',916        call: 'XcmDoubleEncoded',917      },918      HrmpNewChannelOpenRequest: {919        sender: 'Compact<u32>',920        maxMessageSize: 'Compact<u32>',921        maxCapacity: 'Compact<u32>',922      },923      HrmpChannelAccepted: {924        recipient: 'Compact<u32>',925      },926      HrmpChannelClosing: {927        initiator: 'Compact<u32>',928        sender: 'Compact<u32>',929        recipient: 'Compact<u32>',930      },931      RelayedFrom: {932        who: 'XcmV1MultilocationJunctions',933        message: 'XcmV1Xcm',934      },935      SubscribeVersion: {936        queryId: 'Compact<u64>',937        maxResponseWeight: 'Compact<u64>',938      },939      UnsubscribeVersion: 'Null'940    }941  },942  /**943   * Lookup110: xcm::v1::multiasset::MultiAssets944   **/945  XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946  /**947   * Lookup112: xcm::v1::multiasset::MultiAsset948   **/949  XcmV1MultiAsset: {950    id: 'XcmV1MultiassetAssetId',951    fun: 'XcmV1MultiassetFungibility'952  },953  /**954   * Lookup113: xcm::v1::multiasset::AssetId955   **/956  XcmV1MultiassetAssetId: {957    _enum: {958      Concrete: 'XcmV1MultiLocation',959      Abstract: 'Bytes'960    }961  },962  /**963   * Lookup114: xcm::v1::multiasset::Fungibility964   **/965  XcmV1MultiassetFungibility: {966    _enum: {967      Fungible: 'Compact<u128>',968      NonFungible: 'XcmV1MultiassetAssetInstance'969    }970  },971  /**972   * Lookup116: xcm::v1::order::Order<Call>973   **/974  XcmV1Order: {975    _enum: {976      Noop: 'Null',977      DepositAsset: {978        assets: 'XcmV1MultiassetMultiAssetFilter',979        maxAssets: 'u32',980        beneficiary: 'XcmV1MultiLocation',981      },982      DepositReserveAsset: {983        assets: 'XcmV1MultiassetMultiAssetFilter',984        maxAssets: 'u32',985        dest: 'XcmV1MultiLocation',986        effects: 'Vec<XcmV1Order>',987      },988      ExchangeAsset: {989        give: 'XcmV1MultiassetMultiAssetFilter',990        receive: 'XcmV1MultiassetMultiAssets',991      },992      InitiateReserveWithdraw: {993        assets: 'XcmV1MultiassetMultiAssetFilter',994        reserve: 'XcmV1MultiLocation',995        effects: 'Vec<XcmV1Order>',996      },997      InitiateTeleport: {998        assets: 'XcmV1MultiassetMultiAssetFilter',999        dest: 'XcmV1MultiLocation',1000        effects: 'Vec<XcmV1Order>',1001      },1002      QueryHolding: {1003        queryId: 'Compact<u64>',1004        dest: 'XcmV1MultiLocation',1005        assets: 'XcmV1MultiassetMultiAssetFilter',1006      },1007      BuyExecution: {1008        fees: 'XcmV1MultiAsset',1009        weight: 'u64',1010        debt: 'u64',1011        haltOnError: 'bool',1012        instructions: 'Vec<XcmV1Xcm>'1013      }1014    }1015  },1016  /**1017   * Lookup117: xcm::v1::multiasset::MultiAssetFilter1018   **/1019  XcmV1MultiassetMultiAssetFilter: {1020    _enum: {1021      Definite: 'XcmV1MultiassetMultiAssets',1022      Wild: 'XcmV1MultiassetWildMultiAsset'1023    }1024  },1025  /**1026   * Lookup118: xcm::v1::multiasset::WildMultiAsset1027   **/1028  XcmV1MultiassetWildMultiAsset: {1029    _enum: {1030      All: 'Null',1031      AllOf: {1032        id: 'XcmV1MultiassetAssetId',1033        fun: 'XcmV1MultiassetWildFungibility'1034      }1035    }1036  },1037  /**1038   * Lookup119: xcm::v1::multiasset::WildFungibility1039   **/1040  XcmV1MultiassetWildFungibility: {1041    _enum: ['Fungible', 'NonFungible']1042  },1043  /**1044   * Lookup121: xcm::v1::Response1045   **/1046  XcmV1Response: {1047    _enum: {1048      Assets: 'XcmV1MultiassetMultiAssets',1049      Version: 'u32'1050    }1051  },1052  /**1053   * Lookup122: xcm::v2::Xcm<Call>1054   **/1055  XcmV2Xcm: 'Vec<XcmV2Instruction>',1056  /**1057   * Lookup124: xcm::v2::Instruction<Call>1058   **/1059  XcmV2Instruction: {1060    _enum: {1061      WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062      ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1063      ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1064      QueryResponse: {1065        queryId: 'Compact<u64>',1066        response: 'XcmV2Response',1067        maxWeight: 'Compact<u64>',1068      },1069      TransferAsset: {1070        assets: 'XcmV1MultiassetMultiAssets',1071        beneficiary: 'XcmV1MultiLocation',1072      },1073      TransferReserveAsset: {1074        assets: 'XcmV1MultiassetMultiAssets',1075        dest: 'XcmV1MultiLocation',1076        xcm: 'XcmV2Xcm',1077      },1078      Transact: {1079        originType: 'XcmV0OriginKind',1080        requireWeightAtMost: 'Compact<u64>',1081        call: 'XcmDoubleEncoded',1082      },1083      HrmpNewChannelOpenRequest: {1084        sender: 'Compact<u32>',1085        maxMessageSize: 'Compact<u32>',1086        maxCapacity: 'Compact<u32>',1087      },1088      HrmpChannelAccepted: {1089        recipient: 'Compact<u32>',1090      },1091      HrmpChannelClosing: {1092        initiator: 'Compact<u32>',1093        sender: 'Compact<u32>',1094        recipient: 'Compact<u32>',1095      },1096      ClearOrigin: 'Null',1097      DescendOrigin: 'XcmV1MultilocationJunctions',1098      ReportError: {1099        queryId: 'Compact<u64>',1100        dest: 'XcmV1MultiLocation',1101        maxResponseWeight: 'Compact<u64>',1102      },1103      DepositAsset: {1104        assets: 'XcmV1MultiassetMultiAssetFilter',1105        maxAssets: 'Compact<u32>',1106        beneficiary: 'XcmV1MultiLocation',1107      },1108      DepositReserveAsset: {1109        assets: 'XcmV1MultiassetMultiAssetFilter',1110        maxAssets: 'Compact<u32>',1111        dest: 'XcmV1MultiLocation',1112        xcm: 'XcmV2Xcm',1113      },1114      ExchangeAsset: {1115        give: 'XcmV1MultiassetMultiAssetFilter',1116        receive: 'XcmV1MultiassetMultiAssets',1117      },1118      InitiateReserveWithdraw: {1119        assets: 'XcmV1MultiassetMultiAssetFilter',1120        reserve: 'XcmV1MultiLocation',1121        xcm: 'XcmV2Xcm',1122      },1123      InitiateTeleport: {1124        assets: 'XcmV1MultiassetMultiAssetFilter',1125        dest: 'XcmV1MultiLocation',1126        xcm: 'XcmV2Xcm',1127      },1128      QueryHolding: {1129        queryId: 'Compact<u64>',1130        dest: 'XcmV1MultiLocation',1131        assets: 'XcmV1MultiassetMultiAssetFilter',1132        maxResponseWeight: 'Compact<u64>',1133      },1134      BuyExecution: {1135        fees: 'XcmV1MultiAsset',1136        weightLimit: 'XcmV2WeightLimit',1137      },1138      RefundSurplus: 'Null',1139      SetErrorHandler: 'XcmV2Xcm',1140      SetAppendix: 'XcmV2Xcm',1141      ClearError: 'Null',1142      ClaimAsset: {1143        assets: 'XcmV1MultiassetMultiAssets',1144        ticket: 'XcmV1MultiLocation',1145      },1146      Trap: 'Compact<u64>',1147      SubscribeVersion: {1148        queryId: 'Compact<u64>',1149        maxResponseWeight: 'Compact<u64>',1150      },1151      UnsubscribeVersion: 'Null'1152    }1153  },1154  /**1155   * Lookup125: xcm::v2::Response1156   **/1157  XcmV2Response: {1158    _enum: {1159      Null: 'Null',1160      Assets: 'XcmV1MultiassetMultiAssets',1161      ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1162      Version: 'u32'1163    }1164  },1165  /**1166   * Lookup128: xcm::v2::traits::Error1167   **/1168  XcmV2TraitsError: {1169    _enum: {1170      Overflow: 'Null',1171      Unimplemented: 'Null',1172      UntrustedReserveLocation: 'Null',1173      UntrustedTeleportLocation: 'Null',1174      MultiLocationFull: 'Null',1175      MultiLocationNotInvertible: 'Null',1176      BadOrigin: 'Null',1177      InvalidLocation: 'Null',1178      AssetNotFound: 'Null',1179      FailedToTransactAsset: 'Null',1180      NotWithdrawable: 'Null',1181      LocationCannotHold: 'Null',1182      ExceedsMaxMessageSize: 'Null',1183      DestinationUnsupported: 'Null',1184      Transport: 'Null',1185      Unroutable: 'Null',1186      UnknownClaim: 'Null',1187      FailedToDecode: 'Null',1188      MaxWeightInvalid: 'Null',1189      NotHoldingFees: 'Null',1190      TooExpensive: 'Null',1191      Trap: 'u64',1192      UnhandledXcmVersion: 'Null',1193      WeightLimitReached: 'u64',1194      Barrier: 'Null',1195      WeightNotComputable: 'Null'1196    }1197  },1198  /**1199   * Lookup129: xcm::v2::WeightLimit1200   **/1201  XcmV2WeightLimit: {1202    _enum: {1203      Unlimited: 'Null',1204      Limited: 'Compact<u64>'1205    }1206  },1207  /**1208   * Lookup130: xcm::VersionedMultiAssets1209   **/1210  XcmVersionedMultiAssets: {1211    _enum: {1212      V0: 'Vec<XcmV0MultiAsset>',1213      V1: 'XcmV1MultiassetMultiAssets'1214    }1215  },1216  /**1217   * Lookup145: cumulus_pallet_xcm::pallet::Call<T>1218   **/1219  CumulusPalletXcmCall: 'Null',1220  /**1221   * Lookup146: cumulus_pallet_dmp_queue::pallet::Call<T>1222   **/1223  CumulusPalletDmpQueueCall: {1224    _enum: {1225      service_overweight: {1226        index: 'u64',1227        weightLimit: 'u64'1228      }1229    }1230  },1231  /**1232   * Lookup147: pallet_inflation::pallet::Call<T>1233   **/1234  PalletInflationCall: {1235    _enum: {1236      start_inflation: {1237        inflationStartRelayBlock: 'u32'1238      }1239    }1240  },1241  /**1242   * Lookup148: pallet_unique::Call<T>1243   **/1244  PalletUniqueCall: {1245    _enum: {1246      create_collection: {1247        collectionName: 'Vec<u16>',1248        collectionDescription: 'Vec<u16>',1249        tokenPrefix: 'Bytes',1250        mode: 'UpDataStructsCollectionMode',1251      },1252      create_collection_ex: {1253        data: 'UpDataStructsCreateCollectionData',1254      },1255      destroy_collection: {1256        collectionId: 'u32',1257      },1258      add_to_allow_list: {1259        collectionId: 'u32',1260        address: 'PalletEvmAccountBasicCrossAccountIdRepr',1261      },1262      remove_from_allow_list: {1263        collectionId: 'u32',1264        address: 'PalletEvmAccountBasicCrossAccountIdRepr',1265      },1266      change_collection_owner: {1267        collectionId: 'u32',1268        newOwner: 'AccountId32',1269      },1270      add_collection_admin: {1271        collectionId: 'u32',1272        newAdmin: 'PalletEvmAccountBasicCrossAccountIdRepr',1273      },1274      remove_collection_admin: {1275        collectionId: 'u32',1276        accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1277      },1278      set_collection_sponsor: {1279        collectionId: 'u32',1280        newSponsor: 'AccountId32',1281      },1282      confirm_sponsorship: {1283        collectionId: 'u32',1284      },1285      remove_collection_sponsor: {1286        collectionId: 'u32',1287      },1288      create_item: {1289        collectionId: 'u32',1290        owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1291        data: 'UpDataStructsCreateItemData',1292      },1293      create_multiple_items: {1294        collectionId: 'u32',1295        owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296        itemsData: 'Vec<UpDataStructsCreateItemData>',1297      },1298      set_collection_properties: {1299        collectionId: 'u32',1300        properties: 'Vec<UpDataStructsProperty>',1301      },1302      delete_collection_properties: {1303        collectionId: 'u32',1304        propertyKeys: 'Vec<Bytes>',1305      },1306      set_token_properties: {1307        collectionId: 'u32',1308        tokenId: 'u32',1309        properties: 'Vec<UpDataStructsProperty>',1310      },1311      delete_token_properties: {1312        collectionId: 'u32',1313        tokenId: 'u32',1314        propertyKeys: 'Vec<Bytes>',1315      },1316      set_token_property_permissions: {1317        collectionId: 'u32',1318        propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1319      },1320      create_multiple_items_ex: {1321        collectionId: 'u32',1322        data: 'UpDataStructsCreateItemExData',1323      },1324      set_transfers_enabled_flag: {1325        collectionId: 'u32',1326        value: 'bool',1327      },1328      burn_item: {1329        collectionId: 'u32',1330        itemId: 'u32',1331        value: 'u128',1332      },1333      burn_from: {1334        collectionId: 'u32',1335        from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336        itemId: 'u32',1337        value: 'u128',1338      },1339      transfer: {1340        recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341        collectionId: 'u32',1342        itemId: 'u32',1343        value: 'u128',1344      },1345      approve: {1346        spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1347        collectionId: 'u32',1348        itemId: 'u32',1349        amount: 'u128',1350      },1351      transfer_from: {1352        from: 'PalletEvmAccountBasicCrossAccountIdRepr',1353        recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1354        collectionId: 'u32',1355        itemId: 'u32',1356        value: 'u128',1357      },1358      set_collection_limits: {1359        collectionId: 'u32',1360        newLimit: 'UpDataStructsCollectionLimits',1361      },1362      set_collection_permissions: {1363        collectionId: 'u32',1364        newPermission: 'UpDataStructsCollectionPermissions',1365      },1366      repartition: {1367        collectionId: 'u32',1368        tokenId: 'u32',1369        amount: 'u128'1370      }1371    }1372  },1373  /**1374   * Lookup154: up_data_structs::CollectionMode1375   **/1376  UpDataStructsCollectionMode: {1377    _enum: {1378      NFT: 'Null',1379      Fungible: 'u8',1380      ReFungible: 'Null'1381    }1382  },1383  /**1384   * Lookup155: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1385   **/1386  UpDataStructsCreateCollectionData: {1387    mode: 'UpDataStructsCollectionMode',1388    access: 'Option<UpDataStructsAccessMode>',1389    name: 'Vec<u16>',1390    description: 'Vec<u16>',1391    tokenPrefix: 'Bytes',1392    pendingSponsor: 'Option<AccountId32>',1393    limits: 'Option<UpDataStructsCollectionLimits>',1394    permissions: 'Option<UpDataStructsCollectionPermissions>',1395    tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1396    properties: 'Vec<UpDataStructsProperty>'1397  },1398  /**1399   * Lookup157: up_data_structs::AccessMode1400   **/1401  UpDataStructsAccessMode: {1402    _enum: ['Normal', 'AllowList']1403  },1404  /**1405   * Lookup160: up_data_structs::CollectionLimits1406   **/1407  UpDataStructsCollectionLimits: {1408    accountTokenOwnershipLimit: 'Option<u32>',1409    sponsoredDataSize: 'Option<u32>',1410    sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1411    tokenLimit: 'Option<u32>',1412    sponsorTransferTimeout: 'Option<u32>',1413    sponsorApproveTimeout: 'Option<u32>',1414    ownerCanTransfer: 'Option<bool>',1415    ownerCanDestroy: 'Option<bool>',1416    transfersEnabled: 'Option<bool>'1417  },1418  /**1419   * Lookup162: up_data_structs::SponsoringRateLimit1420   **/1421  UpDataStructsSponsoringRateLimit: {1422    _enum: {1423      SponsoringDisabled: 'Null',1424      Blocks: 'u32'1425    }1426  },1427  /**1428   * Lookup165: up_data_structs::CollectionPermissions1429   **/1430  UpDataStructsCollectionPermissions: {1431    access: 'Option<UpDataStructsAccessMode>',1432    mintMode: 'Option<bool>',1433    nesting: 'Option<UpDataStructsNestingPermissions>'1434  },1435  /**1436   * Lookup167: up_data_structs::NestingPermissions1437   **/1438  UpDataStructsNestingPermissions: {1439    tokenOwner: 'bool',1440    collectionAdmin: 'bool',1441    restricted: 'Option<UpDataStructsOwnerRestrictedSet>'1442  },1443  /**1444   * Lookup169: up_data_structs::OwnerRestrictedSet1445   **/1446  UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1447  /**1448   * Lookup175: up_data_structs::PropertyKeyPermission1449   **/1450  UpDataStructsPropertyKeyPermission: {1451    key: 'Bytes',1452    permission: 'UpDataStructsPropertyPermission'1453  },1454  /**1455   * Lookup177: up_data_structs::PropertyPermission1456   **/1457  UpDataStructsPropertyPermission: {1458    mutable: 'bool',1459    collectionAdmin: 'bool',1460    tokenOwner: 'bool'1461  },1462  /**1463   * Lookup180: up_data_structs::Property1464   **/1465  UpDataStructsProperty: {1466    key: 'Bytes',1467    value: 'Bytes'1468  },1469  /**1470   * Lookup183: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1471   **/1472  PalletEvmAccountBasicCrossAccountIdRepr: {1473    _enum: {1474      Substrate: 'AccountId32',1475      Ethereum: 'H160'1476    }1477  },1478  /**1479   * Lookup185: up_data_structs::CreateItemData1480   **/1481  UpDataStructsCreateItemData: {1482    _enum: {1483      NFT: 'UpDataStructsCreateNftData',1484      Fungible: 'UpDataStructsCreateFungibleData',1485      ReFungible: 'UpDataStructsCreateReFungibleData'1486    }1487  },1488  /**1489   * Lookup186: up_data_structs::CreateNftData1490   **/1491  UpDataStructsCreateNftData: {1492    properties: 'Vec<UpDataStructsProperty>'1493  },1494  /**1495   * Lookup187: up_data_structs::CreateFungibleData1496   **/1497  UpDataStructsCreateFungibleData: {1498    value: 'u128'1499  },1500  /**1501   * Lookup188: up_data_structs::CreateReFungibleData1502   **/1503  UpDataStructsCreateReFungibleData: {1504    pieces: 'u128',1505    properties: 'Vec<UpDataStructsProperty>'1506  },1507  /**1508   * Lookup192: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1509   **/1510  UpDataStructsCreateItemExData: {1511    _enum: {1512      NFT: 'Vec<UpDataStructsCreateNftExData>',1513      Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1514      RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExSingleOwner>',1515      RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'1516    }1517  },1518  /**1519   * Lookup194: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1520   **/1521  UpDataStructsCreateNftExData: {1522    properties: 'Vec<UpDataStructsProperty>',1523    owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1524  },1525  /**1526   * Lookup201: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1527   **/1528  UpDataStructsCreateRefungibleExSingleOwner: {1529    user: 'PalletEvmAccountBasicCrossAccountIdRepr',1530    pieces: 'u128',1531    properties: 'Vec<UpDataStructsProperty>'1532  },1533  /**1534   * Lookup203: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1535   **/1536  UpDataStructsCreateRefungibleExMultipleOwners: {1537    users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1538    properties: 'Vec<UpDataStructsProperty>'1539  },1540  /**1541   * Lookup204: pallet_unique_scheduler::pallet::Call<T>1542   **/1543  PalletUniqueSchedulerCall: {1544    _enum: {1545      schedule_named: {1546        id: '[u8;16]',1547        when: 'u32',1548        maybePeriodic: 'Option<(u32,u32)>',1549        priority: 'u8',1550        call: 'FrameSupportScheduleMaybeHashed',1551      },1552      cancel_named: {1553        id: '[u8;16]',1554      },1555      schedule_named_after: {1556        id: '[u8;16]',1557        after: 'u32',1558        maybePeriodic: 'Option<(u32,u32)>',1559        priority: 'u8',1560        call: 'FrameSupportScheduleMaybeHashed'1561      }1562    }1563  },1564  /**1565   * Lookup206: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1566   **/1567  FrameSupportScheduleMaybeHashed: {1568    _enum: {1569      Value: 'Call',1570      Hash: 'H256'1571    }1572  },1573  /**1574   * Lookup207: pallet_template_transaction_payment::Call<T>1575   **/1576  PalletTemplateTransactionPaymentCall: 'Null',1577  /**1578   * Lookup208: pallet_structure::pallet::Call<T>1579   **/1580  PalletStructureCall: 'Null',1581  /**1582   * Lookup209: pallet_rmrk_core::pallet::Call<T>1583   **/1584  PalletRmrkCoreCall: {1585    _enum: {1586      create_collection: {1587        metadata: 'Bytes',1588        max: 'Option<u32>',1589        symbol: 'Bytes',1590      },1591      destroy_collection: {1592        collectionId: 'u32',1593      },1594      change_collection_issuer: {1595        collectionId: 'u32',1596        newIssuer: 'MultiAddress',1597      },1598      lock_collection: {1599        collectionId: 'u32',1600      },1601      mint_nft: {1602        owner: 'Option<AccountId32>',1603        collectionId: 'u32',1604        recipient: 'Option<AccountId32>',1605        royaltyAmount: 'Option<Permill>',1606        metadata: 'Bytes',1607        transferable: 'bool',1608        resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',1609      },1610      burn_nft: {1611        collectionId: 'u32',1612        nftId: 'u32',1613        maxBurns: 'u32',1614      },1615      send: {1616        rmrkCollectionId: 'u32',1617        rmrkNftId: 'u32',1618        newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1619      },1620      accept_nft: {1621        rmrkCollectionId: 'u32',1622        rmrkNftId: 'u32',1623        newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1624      },1625      reject_nft: {1626        rmrkCollectionId: 'u32',1627        rmrkNftId: 'u32',1628      },1629      accept_resource: {1630        rmrkCollectionId: 'u32',1631        rmrkNftId: 'u32',1632        resourceId: 'u32',1633      },1634      accept_resource_removal: {1635        rmrkCollectionId: 'u32',1636        rmrkNftId: 'u32',1637        resourceId: 'u32',1638      },1639      set_property: {1640        rmrkCollectionId: 'Compact<u32>',1641        maybeNftId: 'Option<u32>',1642        key: 'Bytes',1643        value: 'Bytes',1644      },1645      set_priority: {1646        rmrkCollectionId: 'u32',1647        rmrkNftId: 'u32',1648        priorities: 'Vec<u32>',1649      },1650      add_basic_resource: {1651        rmrkCollectionId: 'u32',1652        nftId: 'u32',1653        resource: 'RmrkTraitsResourceBasicResource',1654      },1655      add_composable_resource: {1656        rmrkCollectionId: 'u32',1657        nftId: 'u32',1658        resource: 'RmrkTraitsResourceComposableResource',1659      },1660      add_slot_resource: {1661        rmrkCollectionId: 'u32',1662        nftId: 'u32',1663        resource: 'RmrkTraitsResourceSlotResource',1664      },1665      remove_resource: {1666        rmrkCollectionId: 'u32',1667        nftId: 'u32',1668        resourceId: 'u32'1669      }1670    }1671  },1672  /**1673   * Lookup215: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1674   **/1675  RmrkTraitsResourceResourceTypes: {1676    _enum: {1677      Basic: 'RmrkTraitsResourceBasicResource',1678      Composable: 'RmrkTraitsResourceComposableResource',1679      Slot: 'RmrkTraitsResourceSlotResource'1680    }1681  },1682  /**1683   * Lookup217: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1684   **/1685  RmrkTraitsResourceBasicResource: {1686    src: 'Option<Bytes>',1687    metadata: 'Option<Bytes>',1688    license: 'Option<Bytes>',1689    thumb: 'Option<Bytes>'1690  },1691  /**1692   * Lookup219: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1693   **/1694  RmrkTraitsResourceComposableResource: {1695    parts: 'Vec<u32>',1696    base: 'u32',1697    src: 'Option<Bytes>',1698    metadata: 'Option<Bytes>',1699    license: 'Option<Bytes>',1700    thumb: 'Option<Bytes>'1701  },1702  /**1703   * Lookup220: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1704   **/1705  RmrkTraitsResourceSlotResource: {1706    base: 'u32',1707    src: 'Option<Bytes>',1708    metadata: 'Option<Bytes>',1709    slot: 'u32',1710    license: 'Option<Bytes>',1711    thumb: 'Option<Bytes>'1712  },1713  /**1714   * Lookup222: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1715   **/1716  RmrkTraitsNftAccountIdOrCollectionNftTuple: {1717    _enum: {1718      AccountId: 'AccountId32',1719      CollectionAndNftTuple: '(u32,u32)'1720    }1721  },1722  /**1723   * Lookup226: pallet_rmrk_equip::pallet::Call<T>1724   **/1725  PalletRmrkEquipCall: {1726    _enum: {1727      create_base: {1728        baseType: 'Bytes',1729        symbol: 'Bytes',1730        parts: 'Vec<RmrkTraitsPartPartType>',1731      },1732      theme_add: {1733        baseId: 'u32',1734        theme: 'RmrkTraitsTheme',1735      },1736      equippable: {1737        baseId: 'u32',1738        slotId: 'u32',1739        equippables: 'RmrkTraitsPartEquippableList'1740      }1741    }1742  },1743  /**1744   * Lookup229: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1745   **/1746  RmrkTraitsPartPartType: {1747    _enum: {1748      FixedPart: 'RmrkTraitsPartFixedPart',1749      SlotPart: 'RmrkTraitsPartSlotPart'1750    }1751  },1752  /**1753   * Lookup231: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1754   **/1755  RmrkTraitsPartFixedPart: {1756    id: 'u32',1757    z: 'u32',1758    src: 'Bytes'1759  },1760  /**1761   * Lookup232: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1762   **/1763  RmrkTraitsPartSlotPart: {1764    id: 'u32',1765    equippable: 'RmrkTraitsPartEquippableList',1766    src: 'Bytes',1767    z: 'u32'1768  },1769  /**1770   * Lookup233: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1771   **/1772  RmrkTraitsPartEquippableList: {1773    _enum: {1774      All: 'Null',1775      Empty: 'Null',1776      Custom: 'Vec<u32>'1777    }1778  },1779  /**1780   * Lookup235: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>, S>>1781   **/1782  RmrkTraitsTheme: {1783    name: 'Bytes',1784    properties: 'Vec<RmrkTraitsThemeThemeProperty>',1785    inherit: 'bool'1786  },1787  /**1788   * Lookup237: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1789   **/1790  RmrkTraitsThemeThemeProperty: {1791    key: 'Bytes',1792    value: 'Bytes'1793  },1794  /**1795   * Lookup239: pallet_evm::pallet::Call<T>1796   **/1797  PalletEvmCall: {1798    _enum: {1799      withdraw: {1800        address: 'H160',1801        value: 'u128',1802      },1803      call: {1804        source: 'H160',1805        target: 'H160',1806        input: 'Bytes',1807        value: 'U256',1808        gasLimit: 'u64',1809        maxFeePerGas: 'U256',1810        maxPriorityFeePerGas: 'Option<U256>',1811        nonce: 'Option<U256>',1812        accessList: 'Vec<(H160,Vec<H256>)>',1813      },1814      create: {1815        source: 'H160',1816        init: 'Bytes',1817        value: 'U256',1818        gasLimit: 'u64',1819        maxFeePerGas: 'U256',1820        maxPriorityFeePerGas: 'Option<U256>',1821        nonce: 'Option<U256>',1822        accessList: 'Vec<(H160,Vec<H256>)>',1823      },1824      create2: {1825        source: 'H160',1826        init: 'Bytes',1827        salt: 'H256',1828        value: 'U256',1829        gasLimit: 'u64',1830        maxFeePerGas: 'U256',1831        maxPriorityFeePerGas: 'Option<U256>',1832        nonce: 'Option<U256>',1833        accessList: 'Vec<(H160,Vec<H256>)>'1834      }1835    }1836  },1837  /**1838   * Lookup245: pallet_ethereum::pallet::Call<T>1839   **/1840  PalletEthereumCall: {1841    _enum: {1842      transact: {1843        transaction: 'EthereumTransactionTransactionV2'1844      }1845    }1846  },1847  /**1848   * Lookup246: ethereum::transaction::TransactionV21849   **/1850  EthereumTransactionTransactionV2: {1851    _enum: {1852      Legacy: 'EthereumTransactionLegacyTransaction',1853      EIP2930: 'EthereumTransactionEip2930Transaction',1854      EIP1559: 'EthereumTransactionEip1559Transaction'1855    }1856  },1857  /**1858   * Lookup247: ethereum::transaction::LegacyTransaction1859   **/1860  EthereumTransactionLegacyTransaction: {1861    nonce: 'U256',1862    gasPrice: 'U256',1863    gasLimit: 'U256',1864    action: 'EthereumTransactionTransactionAction',1865    value: 'U256',1866    input: 'Bytes',1867    signature: 'EthereumTransactionTransactionSignature'1868  },1869  /**1870   * Lookup248: ethereum::transaction::TransactionAction1871   **/1872  EthereumTransactionTransactionAction: {1873    _enum: {1874      Call: 'H160',1875      Create: 'Null'1876    }1877  },1878  /**1879   * Lookup249: ethereum::transaction::TransactionSignature1880   **/1881  EthereumTransactionTransactionSignature: {1882    v: 'u64',1883    r: 'H256',1884    s: 'H256'1885  },1886  /**1887   * Lookup251: ethereum::transaction::EIP2930Transaction1888   **/1889  EthereumTransactionEip2930Transaction: {1890    chainId: 'u64',1891    nonce: 'U256',1892    gasPrice: 'U256',1893    gasLimit: 'U256',1894    action: 'EthereumTransactionTransactionAction',1895    value: 'U256',1896    input: 'Bytes',1897    accessList: 'Vec<EthereumTransactionAccessListItem>',1898    oddYParity: 'bool',1899    r: 'H256',1900    s: 'H256'1901  },1902  /**1903   * Lookup253: ethereum::transaction::AccessListItem1904   **/1905  EthereumTransactionAccessListItem: {1906    address: 'H160',1907    storageKeys: 'Vec<H256>'1908  },1909  /**1910   * Lookup254: ethereum::transaction::EIP1559Transaction1911   **/1912  EthereumTransactionEip1559Transaction: {1913    chainId: 'u64',1914    nonce: 'U256',1915    maxPriorityFeePerGas: 'U256',1916    maxFeePerGas: 'U256',1917    gasLimit: 'U256',1918    action: 'EthereumTransactionTransactionAction',1919    value: 'U256',1920    input: 'Bytes',1921    accessList: 'Vec<EthereumTransactionAccessListItem>',1922    oddYParity: 'bool',1923    r: 'H256',1924    s: 'H256'1925  },1926  /**1927   * Lookup255: pallet_evm_migration::pallet::Call<T>1928   **/1929  PalletEvmMigrationCall: {1930    _enum: {1931      begin: {1932        address: 'H160',1933      },1934      set_data: {1935        address: 'H160',1936        data: 'Vec<(H256,H256)>',1937      },1938      finish: {1939        address: 'H160',1940        code: 'Bytes'1941      }1942    }1943  },1944  /**1945   * Lookup258: pallet_sudo::pallet::Event<T>1946   **/1947  PalletSudoEvent: {1948    _enum: {1949      Sudid: {1950        sudoResult: 'Result<Null, SpRuntimeDispatchError>',1951      },1952      KeyChanged: {1953        oldSudoer: 'Option<AccountId32>',1954      },1955      SudoAsDone: {1956        sudoResult: 'Result<Null, SpRuntimeDispatchError>'1957      }1958    }1959  },1960  /**1961   * Lookup260: sp_runtime::DispatchError1962   **/1963  SpRuntimeDispatchError: {1964    _enum: {1965      Other: 'Null',1966      CannotLookup: 'Null',1967      BadOrigin: 'Null',1968      Module: 'SpRuntimeModuleError',1969      ConsumerRemaining: 'Null',1970      NoProviders: 'Null',1971      TooManyConsumers: 'Null',1972      Token: 'SpRuntimeTokenError',1973      Arithmetic: 'SpRuntimeArithmeticError',1974      Transactional: 'SpRuntimeTransactionalError'1975    }1976  },1977  /**1978   * Lookup261: sp_runtime::ModuleError1979   **/1980  SpRuntimeModuleError: {1981    index: 'u8',1982    error: '[u8;4]'1983  },1984  /**1985   * Lookup262: sp_runtime::TokenError1986   **/1987  SpRuntimeTokenError: {1988    _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1989  },1990  /**1991   * Lookup263: sp_runtime::ArithmeticError1992   **/1993  SpRuntimeArithmeticError: {1994    _enum: ['Underflow', 'Overflow', 'DivisionByZero']1995  },1996  /**1997   * Lookup264: sp_runtime::TransactionalError1998   **/1999  SpRuntimeTransactionalError: {2000    _enum: ['LimitReached', 'NoLayer']2001  },2002  /**2003   * Lookup265: pallet_sudo::pallet::Error<T>2004   **/2005  PalletSudoError: {2006    _enum: ['RequireSudo']2007  },2008  /**2009   * Lookup266: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>2010   **/2011  FrameSystemAccountInfo: {2012    nonce: 'u32',2013    consumers: 'u32',2014    providers: 'u32',2015    sufficients: 'u32',2016    data: 'PalletBalancesAccountData'2017  },2018  /**2019   * Lookup267: frame_support::weights::PerDispatchClass<T>2020   **/2021  FrameSupportWeightsPerDispatchClassU64: {2022    normal: 'u64',2023    operational: 'u64',2024    mandatory: 'u64'2025  },2026  /**2027   * Lookup268: sp_runtime::generic::digest::Digest2028   **/2029  SpRuntimeDigest: {2030    logs: 'Vec<SpRuntimeDigestDigestItem>'2031  },2032  /**2033   * Lookup270: sp_runtime::generic::digest::DigestItem2034   **/2035  SpRuntimeDigestDigestItem: {2036    _enum: {2037      Other: 'Bytes',2038      __Unused1: 'Null',2039      __Unused2: 'Null',2040      __Unused3: 'Null',2041      Consensus: '([u8;4],Bytes)',2042      Seal: '([u8;4],Bytes)',2043      PreRuntime: '([u8;4],Bytes)',2044      __Unused7: 'Null',2045      RuntimeEnvironmentUpdated: 'Null'2046    }2047  },2048  /**2049   * Lookup272: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2050   **/2051  FrameSystemEventRecord: {2052    phase: 'FrameSystemPhase',2053    event: 'Event',2054    topics: 'Vec<H256>'2055  },2056  /**2057   * Lookup274: frame_system::pallet::Event<T>2058   **/2059  FrameSystemEvent: {2060    _enum: {2061      ExtrinsicSuccess: {2062        dispatchInfo: 'FrameSupportWeightsDispatchInfo',2063      },2064      ExtrinsicFailed: {2065        dispatchError: 'SpRuntimeDispatchError',2066        dispatchInfo: 'FrameSupportWeightsDispatchInfo',2067      },2068      CodeUpdated: 'Null',2069      NewAccount: {2070        account: 'AccountId32',2071      },2072      KilledAccount: {2073        account: 'AccountId32',2074      },2075      Remarked: {2076        _alias: {2077          hash_: 'hash',2078        },2079        sender: 'AccountId32',2080        hash_: 'H256'2081      }2082    }2083  },2084  /**2085   * Lookup275: frame_support::weights::DispatchInfo2086   **/2087  FrameSupportWeightsDispatchInfo: {2088    weight: 'u64',2089    class: 'FrameSupportWeightsDispatchClass',2090    paysFee: 'FrameSupportWeightsPays'2091  },2092  /**2093   * Lookup276: frame_support::weights::DispatchClass2094   **/2095  FrameSupportWeightsDispatchClass: {2096    _enum: ['Normal', 'Operational', 'Mandatory']2097  },2098  /**2099   * Lookup277: frame_support::weights::Pays2100   **/2101  FrameSupportWeightsPays: {2102    _enum: ['Yes', 'No']2103  },2104  /**2105   * Lookup278: orml_vesting::module::Event<T>2106   **/2107  OrmlVestingModuleEvent: {2108    _enum: {2109      VestingScheduleAdded: {2110        from: 'AccountId32',2111        to: 'AccountId32',2112        vestingSchedule: 'OrmlVestingVestingSchedule',2113      },2114      Claimed: {2115        who: 'AccountId32',2116        amount: 'u128',2117      },2118      VestingSchedulesUpdated: {2119        who: 'AccountId32'2120      }2121    }2122  },2123  /**2124   * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event<T>2125   **/2126  CumulusPalletXcmpQueueEvent: {2127    _enum: {2128      Success: 'Option<H256>',2129      Fail: '(Option<H256>,XcmV2TraitsError)',2130      BadVersion: 'Option<H256>',2131      BadFormat: 'Option<H256>',2132      UpwardMessageSent: 'Option<H256>',2133      XcmpMessageSent: 'Option<H256>',2134      OverweightEnqueued: '(u32,u32,u64,u64)',2135      OverweightServiced: '(u64,u64)'2136    }2137  },2138  /**2139   * Lookup280: pallet_xcm::pallet::Event<T>2140   **/2141  PalletXcmEvent: {2142    _enum: {2143      Attempted: 'XcmV2TraitsOutcome',2144      Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',2145      UnexpectedResponse: '(XcmV1MultiLocation,u64)',2146      ResponseReady: '(u64,XcmV2Response)',2147      Notified: '(u64,u8,u8)',2148      NotifyOverweight: '(u64,u8,u8,u64,u64)',2149      NotifyDispatchError: '(u64,u8,u8)',2150      NotifyDecodeFailed: '(u64,u8,u8)',2151      InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',2152      InvalidResponderVersion: '(XcmV1MultiLocation,u64)',2153      ResponseTaken: 'u64',2154      AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',2155      VersionChangeNotified: '(XcmV1MultiLocation,u32)',2156      SupportedVersionChanged: '(XcmV1MultiLocation,u32)',2157      NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',2158      NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2159    }2160  },2161  /**2162   * Lookup281: xcm::v2::traits::Outcome2163   **/2164  XcmV2TraitsOutcome: {2165    _enum: {2166      Complete: 'u64',2167      Incomplete: '(u64,XcmV2TraitsError)',2168      Error: 'XcmV2TraitsError'2169    }2170  },2171  /**2172   * Lookup283: cumulus_pallet_xcm::pallet::Event<T>2173   **/2174  CumulusPalletXcmEvent: {2175    _enum: {2176      InvalidFormat: '[u8;8]',2177      UnsupportedVersion: '[u8;8]',2178      ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2179    }2180  },2181  /**2182   * Lookup284: cumulus_pallet_dmp_queue::pallet::Event<T>2183   **/2184  CumulusPalletDmpQueueEvent: {2185    _enum: {2186      InvalidFormat: {2187        messageId: '[u8;32]',2188      },2189      UnsupportedVersion: {2190        messageId: '[u8;32]',2191      },2192      ExecutedDownward: {2193        messageId: '[u8;32]',2194        outcome: 'XcmV2TraitsOutcome',2195      },2196      WeightExhausted: {2197        messageId: '[u8;32]',2198        remainingWeight: 'u64',2199        requiredWeight: 'u64',2200      },2201      OverweightEnqueued: {2202        messageId: '[u8;32]',2203        overweightIndex: 'u64',2204        requiredWeight: 'u64',2205      },2206      OverweightServiced: {2207        overweightIndex: 'u64',2208        weightUsed: 'u64'2209      }2210    }2211  },2212  /**2213   * Lookup285: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2214   **/2215  PalletUniqueRawEvent: {2216    _enum: {2217      CollectionSponsorRemoved: 'u32',2218      CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2219      CollectionOwnedChanged: '(u32,AccountId32)',2220      CollectionSponsorSet: '(u32,AccountId32)',2221      SponsorshipConfirmed: '(u32,AccountId32)',2222      CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2223      AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2224      AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2225      CollectionLimitSet: 'u32',2226      CollectionPermissionSet: 'u32'2227    }2228  },2229  /**2230   * Lookup286: pallet_unique_scheduler::pallet::Event<T>2231   **/2232  PalletUniqueSchedulerEvent: {2233    _enum: {2234      Scheduled: {2235        when: 'u32',2236        index: 'u32',2237      },2238      Canceled: {2239        when: 'u32',2240        index: 'u32',2241      },2242      Dispatched: {2243        task: '(u32,u32)',2244        id: 'Option<[u8;16]>',2245        result: 'Result<Null, SpRuntimeDispatchError>',2246      },2247      CallLookupFailed: {2248        task: '(u32,u32)',2249        id: 'Option<[u8;16]>',2250        error: 'FrameSupportScheduleLookupError'2251      }2252    }2253  },2254  /**2255   * Lookup288: frame_support::traits::schedule::LookupError2256   **/2257  FrameSupportScheduleLookupError: {2258    _enum: ['Unknown', 'BadFormat']2259  },2260  /**2261   * Lookup289: pallet_common::pallet::Event<T>2262   **/2263  PalletCommonEvent: {2264    _enum: {2265      CollectionCreated: '(u32,u8,AccountId32)',2266      CollectionDestroyed: 'u32',2267      ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2268      ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2269      Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2270      Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2271      CollectionPropertySet: '(u32,Bytes)',2272      CollectionPropertyDeleted: '(u32,Bytes)',2273      TokenPropertySet: '(u32,u32,Bytes)',2274      TokenPropertyDeleted: '(u32,u32,Bytes)',2275      PropertyPermissionSet: '(u32,Bytes)'2276    }2277  },2278  /**2279   * Lookup290: pallet_structure::pallet::Event<T>2280   **/2281  PalletStructureEvent: {2282    _enum: {2283      Executed: 'Result<Null, SpRuntimeDispatchError>'2284    }2285  },2286  /**2287   * Lookup291: pallet_rmrk_core::pallet::Event<T>2288   **/2289  PalletRmrkCoreEvent: {2290    _enum: {2291      CollectionCreated: {2292        issuer: 'AccountId32',2293        collectionId: 'u32',2294      },2295      CollectionDestroyed: {2296        issuer: 'AccountId32',2297        collectionId: 'u32',2298      },2299      IssuerChanged: {2300        oldIssuer: 'AccountId32',2301        newIssuer: 'AccountId32',2302        collectionId: 'u32',2303      },2304      CollectionLocked: {2305        issuer: 'AccountId32',2306        collectionId: 'u32',2307      },2308      NftMinted: {2309        owner: 'AccountId32',2310        collectionId: 'u32',2311        nftId: 'u32',2312      },2313      NFTBurned: {2314        owner: 'AccountId32',2315        nftId: 'u32',2316      },2317      NFTSent: {2318        sender: 'AccountId32',2319        recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2320        collectionId: 'u32',2321        nftId: 'u32',2322        approvalRequired: 'bool',2323      },2324      NFTAccepted: {2325        sender: 'AccountId32',2326        recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2327        collectionId: 'u32',2328        nftId: 'u32',2329      },2330      NFTRejected: {2331        sender: 'AccountId32',2332        collectionId: 'u32',2333        nftId: 'u32',2334      },2335      PropertySet: {2336        collectionId: 'u32',2337        maybeNftId: 'Option<u32>',2338        key: 'Bytes',2339        value: 'Bytes',2340      },2341      ResourceAdded: {2342        nftId: 'u32',2343        resourceId: 'u32',2344      },2345      ResourceRemoval: {2346        nftId: 'u32',2347        resourceId: 'u32',2348      },2349      ResourceAccepted: {2350        nftId: 'u32',2351        resourceId: 'u32',2352      },2353      ResourceRemovalAccepted: {2354        nftId: 'u32',2355        resourceId: 'u32',2356      },2357      PrioritySet: {2358        collectionId: 'u32',2359        nftId: 'u32'2360      }2361    }2362  },2363  /**2364   * Lookup292: pallet_rmrk_equip::pallet::Event<T>2365   **/2366  PalletRmrkEquipEvent: {2367    _enum: {2368      BaseCreated: {2369        issuer: 'AccountId32',2370        baseId: 'u32',2371      },2372      EquippablesUpdated: {2373        baseId: 'u32',2374        slotId: 'u32'2375      }2376    }2377  },2378  /**2379   * Lookup293: pallet_evm::pallet::Event<T>2380   **/2381  PalletEvmEvent: {2382    _enum: {2383      Log: 'EthereumLog',2384      Created: 'H160',2385      CreatedFailed: 'H160',2386      Executed: 'H160',2387      ExecutedFailed: 'H160',2388      BalanceDeposit: '(AccountId32,H160,U256)',2389      BalanceWithdraw: '(AccountId32,H160,U256)'2390    }2391  },2392  /**2393   * Lookup294: ethereum::log::Log2394   **/2395  EthereumLog: {2396    address: 'H160',2397    topics: 'Vec<H256>',2398    data: 'Bytes'2399  },2400  /**2401   * Lookup295: pallet_ethereum::pallet::Event2402   **/2403  PalletEthereumEvent: {2404    _enum: {2405      Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2406    }2407  },2408  /**2409   * Lookup296: evm_core::error::ExitReason2410   **/2411  EvmCoreErrorExitReason: {2412    _enum: {2413      Succeed: 'EvmCoreErrorExitSucceed',2414      Error: 'EvmCoreErrorExitError',2415      Revert: 'EvmCoreErrorExitRevert',2416      Fatal: 'EvmCoreErrorExitFatal'2417    }2418  },2419  /**2420   * Lookup297: evm_core::error::ExitSucceed2421   **/2422  EvmCoreErrorExitSucceed: {2423    _enum: ['Stopped', 'Returned', 'Suicided']2424  },2425  /**2426   * Lookup298: evm_core::error::ExitError2427   **/2428  EvmCoreErrorExitError: {2429    _enum: {2430      StackUnderflow: 'Null',2431      StackOverflow: 'Null',2432      InvalidJump: 'Null',2433      InvalidRange: 'Null',2434      DesignatedInvalid: 'Null',2435      CallTooDeep: 'Null',2436      CreateCollision: 'Null',2437      CreateContractLimit: 'Null',2438      OutOfOffset: 'Null',2439      OutOfGas: 'Null',2440      OutOfFund: 'Null',2441      PCUnderflow: 'Null',2442      CreateEmpty: 'Null',2443      Other: 'Text',2444      InvalidCode: 'Null'2445    }2446  },2447  /**2448   * Lookup301: evm_core::error::ExitRevert2449   **/2450  EvmCoreErrorExitRevert: {2451    _enum: ['Reverted']2452  },2453  /**2454   * Lookup302: evm_core::error::ExitFatal2455   **/2456  EvmCoreErrorExitFatal: {2457    _enum: {2458      NotSupported: 'Null',2459      UnhandledInterrupt: 'Null',2460      CallErrorAsFatal: 'EvmCoreErrorExitError',2461      Other: 'Text'2462    }2463  },2464  /**2465   * Lookup303: frame_system::Phase2466   **/2467  FrameSystemPhase: {2468    _enum: {2469      ApplyExtrinsic: 'u32',2470      Finalization: 'Null',2471      Initialization: 'Null'2472    }2473  },2474  /**2475   * Lookup305: frame_system::LastRuntimeUpgradeInfo2476   **/2477  FrameSystemLastRuntimeUpgradeInfo: {2478    specVersion: 'Compact<u32>',2479    specName: 'Text'2480  },2481  /**2482   * Lookup306: frame_system::limits::BlockWeights2483   **/2484  FrameSystemLimitsBlockWeights: {2485    baseBlock: 'u64',2486    maxBlock: 'u64',2487    perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2488  },2489  /**2490   * Lookup307: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2491   **/2492  FrameSupportWeightsPerDispatchClassWeightsPerClass: {2493    normal: 'FrameSystemLimitsWeightsPerClass',2494    operational: 'FrameSystemLimitsWeightsPerClass',2495    mandatory: 'FrameSystemLimitsWeightsPerClass'2496  },2497  /**2498   * Lookup308: frame_system::limits::WeightsPerClass2499   **/2500  FrameSystemLimitsWeightsPerClass: {2501    baseExtrinsic: 'u64',2502    maxExtrinsic: 'Option<u64>',2503    maxTotal: 'Option<u64>',2504    reserved: 'Option<u64>'2505  },2506  /**2507   * Lookup310: frame_system::limits::BlockLength2508   **/2509  FrameSystemLimitsBlockLength: {2510    max: 'FrameSupportWeightsPerDispatchClassU32'2511  },2512  /**2513   * Lookup311: frame_support::weights::PerDispatchClass<T>2514   **/2515  FrameSupportWeightsPerDispatchClassU32: {2516    normal: 'u32',2517    operational: 'u32',2518    mandatory: 'u32'2519  },2520  /**2521   * Lookup312: frame_support::weights::RuntimeDbWeight2522   **/2523  FrameSupportWeightsRuntimeDbWeight: {2524    read: 'u64',2525    write: 'u64'2526  },2527  /**2528   * Lookup313: sp_version::RuntimeVersion2529   **/2530  SpVersionRuntimeVersion: {2531    specName: 'Text',2532    implName: 'Text',2533    authoringVersion: 'u32',2534    specVersion: 'u32',2535    implVersion: 'u32',2536    apis: 'Vec<([u8;8],u32)>',2537    transactionVersion: 'u32',2538    stateVersion: 'u8'2539  },2540  /**2541   * Lookup317: frame_system::pallet::Error<T>2542   **/2543  FrameSystemError: {2544    _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2545  },2546  /**2547   * Lookup319: orml_vesting::module::Error<T>2548   **/2549  OrmlVestingModuleError: {2550    _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2551  },2552  /**2553   * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails2554   **/2555  CumulusPalletXcmpQueueInboundChannelDetails: {2556    sender: 'u32',2557    state: 'CumulusPalletXcmpQueueInboundState',2558    messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2559  },2560  /**2561   * Lookup322: cumulus_pallet_xcmp_queue::InboundState2562   **/2563  CumulusPalletXcmpQueueInboundState: {2564    _enum: ['Ok', 'Suspended']2565  },2566  /**2567   * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat2568   **/2569  PolkadotParachainPrimitivesXcmpMessageFormat: {2570    _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2571  },2572  /**2573   * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails2574   **/2575  CumulusPalletXcmpQueueOutboundChannelDetails: {2576    recipient: 'u32',2577    state: 'CumulusPalletXcmpQueueOutboundState',2578    signalsExist: 'bool',2579    firstIndex: 'u16',2580    lastIndex: 'u16'2581  },2582  /**2583   * Lookup329: cumulus_pallet_xcmp_queue::OutboundState2584   **/2585  CumulusPalletXcmpQueueOutboundState: {2586    _enum: ['Ok', 'Suspended']2587  },2588  /**2589   * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData2590   **/2591  CumulusPalletXcmpQueueQueueConfigData: {2592    suspendThreshold: 'u32',2593    dropThreshold: 'u32',2594    resumeThreshold: 'u32',2595    thresholdWeight: 'u64',2596    weightRestrictDecay: 'u64',2597    xcmpMaxIndividualWeight: 'u64'2598  },2599  /**2600   * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error<T>2601   **/2602  CumulusPalletXcmpQueueError: {2603    _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2604  },2605  /**2606   * Lookup334: pallet_xcm::pallet::Error<T>2607   **/2608  PalletXcmError: {2609    _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2610  },2611  /**2612   * Lookup335: cumulus_pallet_xcm::pallet::Error<T>2613   **/2614  CumulusPalletXcmError: 'Null',2615  /**2616   * Lookup336: cumulus_pallet_dmp_queue::ConfigData2617   **/2618  CumulusPalletDmpQueueConfigData: {2619    maxIndividual: 'u64'2620  },2621  /**2622   * Lookup337: cumulus_pallet_dmp_queue::PageIndexData2623   **/2624  CumulusPalletDmpQueuePageIndexData: {2625    beginUsed: 'u32',2626    endUsed: 'u32',2627    overweightCount: 'u64'2628  },2629  /**2630   * Lookup340: cumulus_pallet_dmp_queue::pallet::Error<T>2631   **/2632  CumulusPalletDmpQueueError: {2633    _enum: ['Unknown', 'OverLimit']2634  },2635  /**2636   * Lookup344: pallet_unique::Error<T>2637   **/2638  PalletUniqueError: {2639    _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2640  },2641  /**2642   * Lookup347: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2643   **/2644  PalletUniqueSchedulerScheduledV3: {2645    maybeId: 'Option<[u8;16]>',2646    priority: 'u8',2647    call: 'FrameSupportScheduleMaybeHashed',2648    maybePeriodic: 'Option<(u32,u32)>',2649    origin: 'OpalRuntimeOriginCaller'2650  },2651  /**2652   * Lookup348: opal_runtime::OriginCaller2653   **/2654  OpalRuntimeOriginCaller: {2655    _enum: {2656      __Unused0: 'Null',2657      __Unused1: 'Null',2658      __Unused2: 'Null',2659      __Unused3: 'Null',2660      Void: 'SpCoreVoid',2661      __Unused5: 'Null',2662      __Unused6: 'Null',2663      __Unused7: 'Null',2664      __Unused8: 'Null',2665      __Unused9: 'Null',2666      __Unused10: 'Null',2667      __Unused11: 'Null',2668      __Unused12: 'Null',2669      __Unused13: 'Null',2670      __Unused14: 'Null',2671      __Unused15: 'Null',2672      __Unused16: 'Null',2673      __Unused17: 'Null',2674      __Unused18: 'Null',2675      __Unused19: 'Null',2676      __Unused20: 'Null',2677      __Unused21: 'Null',2678      __Unused22: 'Null',2679      __Unused23: 'Null',2680      __Unused24: 'Null',2681      __Unused25: 'Null',2682      __Unused26: 'Null',2683      __Unused27: 'Null',2684      __Unused28: 'Null',2685      __Unused29: 'Null',2686      __Unused30: 'Null',2687      __Unused31: 'Null',2688      __Unused32: 'Null',2689      __Unused33: 'Null',2690      __Unused34: 'Null',2691      __Unused35: 'Null',2692      system: 'FrameSupportDispatchRawOrigin',2693      __Unused37: 'Null',2694      __Unused38: 'Null',2695      __Unused39: 'Null',2696      __Unused40: 'Null',2697      __Unused41: 'Null',2698      __Unused42: 'Null',2699      __Unused43: 'Null',2700      __Unused44: 'Null',2701      __Unused45: 'Null',2702      __Unused46: 'Null',2703      __Unused47: 'Null',2704      __Unused48: 'Null',2705      __Unused49: 'Null',2706      __Unused50: 'Null',2707      PolkadotXcm: 'PalletXcmOrigin',2708      CumulusXcm: 'CumulusPalletXcmOrigin',2709      __Unused53: 'Null',2710      __Unused54: 'Null',2711      __Unused55: 'Null',2712      __Unused56: 'Null',2713      __Unused57: 'Null',2714      __Unused58: 'Null',2715      __Unused59: 'Null',2716      __Unused60: 'Null',2717      __Unused61: 'Null',2718      __Unused62: 'Null',2719      __Unused63: 'Null',2720      __Unused64: 'Null',2721      __Unused65: 'Null',2722      __Unused66: 'Null',2723      __Unused67: 'Null',2724      __Unused68: 'Null',2725      __Unused69: 'Null',2726      __Unused70: 'Null',2727      __Unused71: 'Null',2728      __Unused72: 'Null',2729      __Unused73: 'Null',2730      __Unused74: 'Null',2731      __Unused75: 'Null',2732      __Unused76: 'Null',2733      __Unused77: 'Null',2734      __Unused78: 'Null',2735      __Unused79: 'Null',2736      __Unused80: 'Null',2737      __Unused81: 'Null',2738      __Unused82: 'Null',2739      __Unused83: 'Null',2740      __Unused84: 'Null',2741      __Unused85: 'Null',2742      __Unused86: 'Null',2743      __Unused87: 'Null',2744      __Unused88: 'Null',2745      __Unused89: 'Null',2746      __Unused90: 'Null',2747      __Unused91: 'Null',2748      __Unused92: 'Null',2749      __Unused93: 'Null',2750      __Unused94: 'Null',2751      __Unused95: 'Null',2752      __Unused96: 'Null',2753      __Unused97: 'Null',2754      __Unused98: 'Null',2755      __Unused99: 'Null',2756      __Unused100: 'Null',2757      Ethereum: 'PalletEthereumRawOrigin'2758    }2759  },2760  /**2761   * Lookup349: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2762   **/2763  FrameSupportDispatchRawOrigin: {2764    _enum: {2765      Root: 'Null',2766      Signed: 'AccountId32',2767      None: 'Null'2768    }2769  },2770  /**2771   * Lookup350: pallet_xcm::pallet::Origin2772   **/2773  PalletXcmOrigin: {2774    _enum: {2775      Xcm: 'XcmV1MultiLocation',2776      Response: 'XcmV1MultiLocation'2777    }2778  },2779  /**2780   * Lookup351: cumulus_pallet_xcm::pallet::Origin2781   **/2782  CumulusPalletXcmOrigin: {2783    _enum: {2784      Relay: 'Null',2785      SiblingParachain: 'u32'2786    }2787  },2788  /**2789   * Lookup352: pallet_ethereum::RawOrigin2790   **/2791  PalletEthereumRawOrigin: {2792    _enum: {2793      EthereumTransaction: 'H160'2794    }2795  },2796  /**2797   * Lookup353: sp_core::Void2798   **/2799  SpCoreVoid: 'Null',2800  /**2801   * Lookup354: pallet_unique_scheduler::pallet::Error<T>2802   **/2803  PalletUniqueSchedulerError: {2804    _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2805  },2806  /**2807   * Lookup355: up_data_structs::Collection<sp_core::crypto::AccountId32>2808   **/2809  UpDataStructsCollection: {2810    owner: 'AccountId32',2811    mode: 'UpDataStructsCollectionMode',2812    name: 'Vec<u16>',2813    description: 'Vec<u16>',2814    tokenPrefix: 'Bytes',2815    sponsorship: 'UpDataStructsSponsorshipState',2816    limits: 'UpDataStructsCollectionLimits',2817    permissions: 'UpDataStructsCollectionPermissions',2818    externalCollection: 'bool'2819  },2820  /**2821   * Lookup356: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2822   **/2823  UpDataStructsSponsorshipState: {2824    _enum: {2825      Disabled: 'Null',2826      Unconfirmed: 'AccountId32',2827      Confirmed: 'AccountId32'2828    }2829  },2830  /**2831   * Lookup357: up_data_structs::Properties2832   **/2833  UpDataStructsProperties: {2834    map: 'UpDataStructsPropertiesMapBoundedVec',2835    consumedSpace: 'u32',2836    spaceLimit: 'u32'2837  },2838  /**2839   * Lookup358: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2840   **/2841  UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2842  /**2843   * Lookup363: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2844   **/2845  UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2846  /**2847   * Lookup370: up_data_structs::CollectionStats2848   **/2849  UpDataStructsCollectionStats: {2850    created: 'u32',2851    destroyed: 'u32',2852    alive: 'u32'2853  },2854  /**2855   * Lookup371: up_data_structs::TokenChild2856   **/2857  UpDataStructsTokenChild: {2858    token: 'u32',2859    collection: 'u32'2860  },2861  /**2862   * Lookup372: PhantomType::up_data_structs<T>2863   **/2864  PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2865  /**2866   * Lookup374: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2867   **/2868  UpDataStructsTokenData: {2869    properties: 'Vec<UpDataStructsProperty>',2870    owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2871    pieces: 'u128'2872  },2873  /**2874   * Lookup376: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2875   **/2876  UpDataStructsRpcCollection: {2877    owner: 'AccountId32',2878    mode: 'UpDataStructsCollectionMode',2879    name: 'Vec<u16>',2880    description: 'Vec<u16>',2881    tokenPrefix: 'Bytes',2882    sponsorship: 'UpDataStructsSponsorshipState',2883    limits: 'UpDataStructsCollectionLimits',2884    permissions: 'UpDataStructsCollectionPermissions',2885    tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2886    properties: 'Vec<UpDataStructsProperty>',2887    readOnly: 'bool'2888  },2889  /**2890   * 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>2891   **/2892  RmrkTraitsCollectionCollectionInfo: {2893    issuer: 'AccountId32',2894    metadata: 'Bytes',2895    max: 'Option<u32>',2896    symbol: 'Bytes',2897    nftsCount: 'u32'2898  },2899  /**2900   * Lookup378: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2901   **/2902  RmrkTraitsNftNftInfo: {2903    owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2904    royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2905    metadata: 'Bytes',2906    equipped: 'bool',2907    pending: 'bool'2908  },2909  /**2910   * Lookup380: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2911   **/2912  RmrkTraitsNftRoyaltyInfo: {2913    recipient: 'AccountId32',2914    amount: 'Permill'2915  },2916  /**2917   * Lookup381: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2918   **/2919  RmrkTraitsResourceResourceInfo: {2920    id: 'u32',2921    resource: 'RmrkTraitsResourceResourceTypes',2922    pending: 'bool',2923    pendingRemoval: 'bool'2924  },2925  /**2926   * Lookup382: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2927   **/2928  RmrkTraitsPropertyPropertyInfo: {2929    key: 'Bytes',2930    value: 'Bytes'2931  },2932  /**2933   * Lookup383: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2934   **/2935  RmrkTraitsBaseBaseInfo: {2936    issuer: 'AccountId32',2937    baseType: 'Bytes',2938    symbol: 'Bytes'2939  },2940  /**2941   * Lookup384: rmrk_traits::nft::NftChild2942   **/2943  RmrkTraitsNftNftChild: {2944    collectionId: 'u32',2945    nftId: 'u32'2946  },2947  /**2948   * Lookup386: pallet_common::pallet::Error<T>2949   **/2950  PalletCommonError: {2951    _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']2952  },2953  /**2954   * Lookup388: pallet_fungible::pallet::Error<T>2955   **/2956  PalletFungibleError: {2957    _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2958  },2959  /**2960   * Lookup389: pallet_refungible::ItemData2961   **/2962  PalletRefungibleItemData: {2963    constData: 'Bytes'2964  },2965  /**2966   * Lookup394: pallet_refungible::pallet::Error<T>2967   **/2968  PalletRefungibleError: {2969    _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2970  },2971  /**2972   * Lookup395: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2973   **/2974  PalletNonfungibleItemData: {2975    owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2976  },2977  /**2978   * Lookup397: up_data_structs::PropertyScope2979   **/2980  UpDataStructsPropertyScope: {2981    _enum: ['None', 'Rmrk', 'Eth']2982  },2983  /**2984   * Lookup399: pallet_nonfungible::pallet::Error<T>2985   **/2986  PalletNonfungibleError: {2987    _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2988  },2989  /**2990   * Lookup400: pallet_structure::pallet::Error<T>2991   **/2992  PalletStructureError: {2993    _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2994  },2995  /**2996   * Lookup401: pallet_rmrk_core::pallet::Error<T>2997   **/2998  PalletRmrkCoreError: {2999    _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3000  },3001  /**3002   * Lookup403: pallet_rmrk_equip::pallet::Error<T>3003   **/3004  PalletRmrkEquipError: {3005    _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3006  },3007  /**3008   * Lookup406: pallet_evm::pallet::Error<T>3009   **/3010  PalletEvmError: {3011    _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3012  },3013  /**3014   * Lookup409: fp_rpc::TransactionStatus3015   **/3016  FpRpcTransactionStatus: {3017    transactionHash: 'H256',3018    transactionIndex: 'u32',3019    from: 'H160',3020    to: 'Option<H160>',3021    contractAddress: 'Option<H160>',3022    logs: 'Vec<EthereumLog>',3023    logsBloom: 'EthbloomBloom'3024  },3025  /**3026   * Lookup411: ethbloom::Bloom3027   **/3028  EthbloomBloom: '[u8;256]',3029  /**3030   * Lookup413: ethereum::receipt::ReceiptV33031   **/3032  EthereumReceiptReceiptV3: {3033    _enum: {3034      Legacy: 'EthereumReceiptEip658ReceiptData',3035      EIP2930: 'EthereumReceiptEip658ReceiptData',3036      EIP1559: 'EthereumReceiptEip658ReceiptData'3037    }3038  },3039  /**3040   * Lookup414: ethereum::receipt::EIP658ReceiptData3041   **/3042  EthereumReceiptEip658ReceiptData: {3043    statusCode: 'u8',3044    usedGas: 'U256',3045    logsBloom: 'EthbloomBloom',3046    logs: 'Vec<EthereumLog>'3047  },3048  /**3049   * Lookup415: ethereum::block::Block<ethereum::transaction::TransactionV2>3050   **/3051  EthereumBlock: {3052    header: 'EthereumHeader',3053    transactions: 'Vec<EthereumTransactionTransactionV2>',3054    ommers: 'Vec<EthereumHeader>'3055  },3056  /**3057   * Lookup416: ethereum::header::Header3058   **/3059  EthereumHeader: {3060    parentHash: 'H256',3061    ommersHash: 'H256',3062    beneficiary: 'H160',3063    stateRoot: 'H256',3064    transactionsRoot: 'H256',3065    receiptsRoot: 'H256',3066    logsBloom: 'EthbloomBloom',3067    difficulty: 'U256',3068    number: 'U256',3069    gasLimit: 'U256',3070    gasUsed: 'U256',3071    timestamp: 'u64',3072    extraData: 'Bytes',3073    mixHash: 'H256',3074    nonce: 'EthereumTypesHashH64'3075  },3076  /**3077   * Lookup417: ethereum_types::hash::H643078   **/3079  EthereumTypesHashH64: '[u8;8]',3080  /**3081   * Lookup422: pallet_ethereum::pallet::Error<T>3082   **/3083  PalletEthereumError: {3084    _enum: ['InvalidSignature', 'PreLogExists']3085  },3086  /**3087   * Lookup423: pallet_evm_coder_substrate::pallet::Error<T>3088   **/3089  PalletEvmCoderSubstrateError: {3090    _enum: ['OutOfGas', 'OutOfFund']3091  },3092  /**3093   * Lookup424: pallet_evm_contract_helpers::SponsoringModeT3094   **/3095  PalletEvmContractHelpersSponsoringModeT: {3096    _enum: ['Disabled', 'Allowlisted', 'Generous']3097  },3098  /**3099   * Lookup426: pallet_evm_contract_helpers::pallet::Error<T>3100   **/3101  PalletEvmContractHelpersError: {3102    _enum: ['NoPermission']3103  },3104  /**3105   * Lookup427: pallet_evm_migration::pallet::Error<T>3106   **/3107  PalletEvmMigrationError: {3108    _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3109  },3110  /**3111   * Lookup429: sp_runtime::MultiSignature3112   **/3113  SpRuntimeMultiSignature: {3114    _enum: {3115      Ed25519: 'SpCoreEd25519Signature',3116      Sr25519: 'SpCoreSr25519Signature',3117      Ecdsa: 'SpCoreEcdsaSignature'3118    }3119  },3120  /**3121   * Lookup430: sp_core::ed25519::Signature3122   **/3123  SpCoreEd25519Signature: '[u8;64]',3124  /**3125   * Lookup432: sp_core::sr25519::Signature3126   **/3127  SpCoreSr25519Signature: '[u8;64]',3128  /**3129   * Lookup433: sp_core::ecdsa::Signature3130   **/3131  SpCoreEcdsaSignature: '[u8;65]',3132  /**3133   * Lookup436: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3134   **/3135  FrameSystemExtensionsCheckSpecVersion: 'Null',3136  /**3137   * Lookup437: frame_system::extensions::check_genesis::CheckGenesis<T>3138   **/3139  FrameSystemExtensionsCheckGenesis: 'Null',3140  /**3141   * Lookup440: frame_system::extensions::check_nonce::CheckNonce<T>3142   **/3143  FrameSystemExtensionsCheckNonce: 'Compact<u32>',3144  /**3145   * Lookup441: frame_system::extensions::check_weight::CheckWeight<T>3146   **/3147  FrameSystemExtensionsCheckWeight: 'Null',3148  /**3149   * Lookup442: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3150   **/3151  PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3152  /**3153   * Lookup443: opal_runtime::Runtime3154   **/3155  OpalRuntimeRuntime: 'Null',3156  /**3157   * Lookup444: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3158   **/3159  PalletEthereumFakeTransactionFinalizer: 'Null'3160};
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3126,7 +3126,8 @@
   export interface UpDataStructsPropertyScope extends Enum {
     readonly isNone: boolean;
     readonly isRmrk: boolean;
-    readonly type: 'None' | 'Rmrk';
+    readonly isEth: boolean;
+    readonly type: 'None' | 'Rmrk' | 'Eth';
   }
 
   /** @name PalletNonfungibleError (399) */
modifiedtests/yarn.lockdiffbeforeafterboth
--- a/tests/yarn.lock
+++ b/tests/yarn.lock
@@ -963,6 +963,20 @@
   dependencies:
     "@types/chai" "*"
 
+"@types/chai-like@^1.1.1":
+  version "1.1.1"
+  resolved "https://registry.yarnpkg.com/@types/chai-like/-/chai-like-1.1.1.tgz#c454039b0a2f92664fb5b7b7a2a66c3358783ae7"
+  integrity sha512-s46EZsupBuVhLn66DbRee5B0SELLmL4nFXVrBiV29BxLGm9Sh7Bful623j3AfiQRu2zAP4cnlZ3ETWB3eWc4bA==
+  dependencies:
+    "@types/chai" "*"
+
+"@types/chai-things@^0.0.35":
+  version "0.0.35"
+  resolved "https://registry.yarnpkg.com/@types/chai-things/-/chai-things-0.0.35.tgz#4b5d9ec032067faa62b3bf7bb40dc0bec941945f"
+  integrity sha512-BC8FwMf9FHj87XT4dgTwbdb8dNRilGqYWGmwLPdJ54YNk6K2PlcFTt68NGHjgPDnms8zIYcOtmPePd0mPNTo/Q==
+  dependencies:
+    "@types/chai" "*"
+
 "@types/chai@*", "@types/chai@^4.3.1":
   version "4.3.1"
   resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.1.tgz#e2c6e73e0bdeb2521d00756d099218e9f5d90a04"
@@ -1545,6 +1559,16 @@
   dependencies:
     check-error "^1.0.2"
 
+chai-like@^1.1.1:
+  version "1.1.1"
+  resolved "https://registry.yarnpkg.com/chai-like/-/chai-like-1.1.1.tgz#8c558a414c34514e814d497c772547ceb7958f64"
+  integrity sha512-VKa9z/SnhXhkT1zIjtPACFWSoWsqVoaz1Vg+ecrKo5DCKVlgL30F/pEyEvXPBOVwCgLZcWUleCM/C1okaKdTTA==
+
+chai-things@^0.2.0:
+  version "0.2.0"
+  resolved "https://registry.yarnpkg.com/chai-things/-/chai-things-0.2.0.tgz#c55128378f9bb399e994f00052151984ed6ebe70"
+  integrity sha512-6ns0SU21xdRCoEXVKH3HGbwnsgfVMXQ+sU5V8PI9rfxaITos8lss1vUxbF1FAcJKjfqmmmLVlr/z3sLes00w+A==
+
 chai@^4.3.6:
   version "4.3.6"
   resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.6.tgz#ffe4ba2d9fa9d6680cc0b370adae709ec9011e9c"