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

difftreelog

fix rename method to collectionSponsor

Trubnikov Sergey2022-09-19parent: #280815c.patch.diff
in: master

21 files changed

modifiedpallets/common/src/erc.rsdiffbeforeafterboth
--- a/pallets/common/src/erc.rs
+++ b/pallets/common/src/erc.rs
@@ -194,7 +194,7 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	fn get_collection_sponsor(&self) -> Result<(address, uint256)> {
+	fn collection_sponsor(&self) -> Result<(address, uint256)> {
 		let sponsor = match self.collection.sponsorship.sponsor() {
 			Some(sponsor) => sponsor,
 			None => return Ok(Default::default()),
modifiedpallets/evm-contract-helpers/src/stubs/ContractHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
+++ b/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
@@ -10,11 +10,7 @@
 }
 
 contract ERC165 is Dummy {
-	function supportsInterface(bytes4 interfaceID)
-		external
-		view
-		returns (bool)
-	{
+	function supportsInterface(bytes4 interfaceID) external view returns (bool) {
 		require(false, stub_error);
 		interfaceID;
 		return true;
@@ -24,10 +20,7 @@
 /// @dev inlined interface
 contract ContractHelpersEvents {
 	event ContractSponsorSet(address indexed contractAddress, address sponsor);
-	event ContractSponsorshipConfirmed(
-		address indexed contractAddress,
-		address sponsor
-	);
+	event ContractSponsorshipConfirmed(address indexed contractAddress, address sponsor);
 	event ContractSponsorRemoved(address indexed contractAddress);
 }
 
@@ -43,11 +36,7 @@
 	/// @return address Owner of contract
 	/// @dev EVM selector for this function is: 0x5152b14c,
 	///  or in textual repr: contractOwner(address)
-	function contractOwner(address contractAddress)
-		public
-		view
-		returns (address)
-	{
+	function contractOwner(address contractAddress) public view returns (address) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -107,11 +96,7 @@
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
 	/// @dev EVM selector for this function is: 0x743fc745,
 	///  or in textual repr: getSponsor(address)
-	function getSponsor(address contractAddress)
-		public
-		view
-		returns (Tuple0 memory)
-	{
+	function getSponsor(address contractAddress) public view returns (Tuple0 memory) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -137,11 +122,7 @@
 	/// @return **true** if contract has pending sponsor.
 	/// @dev EVM selector for this function is: 0x39b9b242,
 	///  or in textual repr: hasPendingSponsor(address)
-	function hasPendingSponsor(address contractAddress)
-		public
-		view
-		returns (bool)
-	{
+	function hasPendingSponsor(address contractAddress) public view returns (bool) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -150,11 +131,7 @@
 
 	/// @dev EVM selector for this function is: 0x6027dc61,
 	///  or in textual repr: sponsoringEnabled(address)
-	function sponsoringEnabled(address contractAddress)
-		public
-		view
-		returns (bool)
-	{
+	function sponsoringEnabled(address contractAddress) public view returns (bool) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -175,11 +152,7 @@
 	/// @return uint32 Amount of blocks between two sponsored transactions
 	/// @dev EVM selector for this function is: 0x610cfabd,
 	///  or in textual repr: getSponsoringRateLimit(address)
-	function getSponsoringRateLimit(address contractAddress)
-		public
-		view
-		returns (uint32)
-	{
+	function getSponsoringRateLimit(address contractAddress) public view returns (uint32) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -194,9 +167,7 @@
 	/// @dev Only contract owner can change this setting
 	/// @dev EVM selector for this function is: 0x77b6c908,
 	///  or in textual repr: setSponsoringRateLimit(address,uint32)
-	function setSponsoringRateLimit(address contractAddress, uint32 rateLimit)
-		public
-	{
+	function setSponsoringRateLimit(address contractAddress, uint32 rateLimit) public {
 		require(false, stub_error);
 		contractAddress;
 		rateLimit;
@@ -211,9 +182,7 @@
 	/// @dev Only contract owner can change this setting
 	/// @dev EVM selector for this function is: 0x03aed665,
 	///  or in textual repr: setSponsoringFeeLimit(address,uint256)
-	function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)
-		public
-	{
+	function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit) public {
 		require(false, stub_error);
 		contractAddress;
 		feeLimit;
@@ -226,11 +195,7 @@
 	///  transaction
 	/// @dev EVM selector for this function is: 0xc3fdc9ee,
 	///  or in textual repr: getSponsoringFeeLimit(address)
-	function getSponsoringFeeLimit(address contractAddress)
-		public
-		view
-		returns (uint256)
-	{
+	function getSponsoringFeeLimit(address contractAddress) public view returns (uint256) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
@@ -244,11 +209,7 @@
 	/// @return bool Is specified users exists in contract allowlist
 	/// @dev EVM selector for this function is: 0x5c658165,
 	///  or in textual repr: allowed(address,address)
-	function allowed(address contractAddress, address user)
-		public
-		view
-		returns (bool)
-	{
+	function allowed(address contractAddress, address user) public view returns (bool) {
 		require(false, stub_error);
 		contractAddress;
 		user;
@@ -284,11 +245,7 @@
 	/// @return bool Is specified contract has allowlist access enabled
 	/// @dev EVM selector for this function is: 0xc772ef6c,
 	///  or in textual repr: allowlistEnabled(address)
-	function allowlistEnabled(address contractAddress)
-		public
-		view
-		returns (bool)
-	{
+	function allowlistEnabled(address contractAddress) public view returns (bool) {
 		require(false, stub_error);
 		contractAddress;
 		dummy;
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
@@ -10,11 +10,7 @@
 }
 
 contract ERC165 is Dummy {
-	function supportsInterface(bytes4 interfaceID)
-		external
-		view
-		returns (bool)
-	{
+	function supportsInterface(bytes4 interfaceID) external view returns (bool) {
 		require(false, stub_error);
 		interfaceID;
 		return true;
@@ -22,7 +18,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0x9f70d4e0
+/// @dev the ERC-165 identifier for this interface is 0x47dbc105
 contract Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -30,9 +26,7 @@
 	/// @param value Propery value.
 	/// @dev EVM selector for this function is: 0x2f073f66,
 	///  or in textual repr: setCollectionProperty(string,bytes)
-	function setCollectionProperty(string memory key, bytes memory value)
-		public
-	{
+	function setCollectionProperty(string memory key, bytes memory value) public {
 		require(false, stub_error);
 		key;
 		value;
@@ -58,11 +52,7 @@
 	/// @return bytes The property corresponding to the key.
 	/// @dev EVM selector for this function is: 0xcf24fd6d,
 	///  or in textual repr: collectionProperty(string)
-	function collectionProperty(string memory key)
-		public
-		view
-		returns (bytes memory)
-	{
+	function collectionProperty(string memory key) public view returns (bytes memory) {
 		require(false, stub_error);
 		key;
 		dummy;
@@ -95,6 +85,7 @@
 		dummy = 0;
 	}
 
+	/// Whether there is a pending sponsor.
 	/// @dev EVM selector for this function is: 0x058ac185,
 	///  or in textual repr: hasCollectionPendingSponsor()
 	function hasCollectionPendingSponsor() public view returns (bool) {
@@ -124,9 +115,9 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	/// @dev EVM selector for this function is: 0xb66bbc14,
-	///  or in textual repr: getCollectionSponsor()
-	function getCollectionSponsor() public view returns (Tuple6 memory) {
+	/// @dev EVM selector for this function is: 0x6ec0a9f1,
+	///  or in textual repr: collectionSponsor()
+	function collectionSponsor() public view returns (Tuple6 memory) {
 		require(false, stub_error);
 		dummy;
 		return Tuple6(0x0000000000000000000000000000000000000000, 0);
@@ -234,9 +225,7 @@
 	/// @param collections Addresses of collections that will be available for nesting.
 	/// @dev EVM selector for this function is: 0x64872396,
 	///  or in textual repr: setCollectionNesting(bool,address[])
-	function setCollectionNesting(bool enable, address[] memory collections)
-		public
-	{
+	function setCollectionNesting(bool enable, address[] memory collections) public {
 		require(false, stub_error);
 		enable;
 		collections;
@@ -353,9 +342,9 @@
 	/// @return `Fungible` or `NFT` or `ReFungible`
 	/// @dev EVM selector for this function is: 0xd34b55b8,
 	///  or in textual repr: uniqueCollectionType()
-	function uniqueCollectionType() public returns (string memory) {
+	function uniqueCollectionType() public view returns (string memory) {
 		require(false, stub_error);
-		dummy = 0;
+		dummy;
 		return "";
 	}
 
@@ -450,11 +439,7 @@
 /// @dev inlined interface
 contract ERC20Events {
 	event Transfer(address indexed from, address indexed to, uint256 value);
-	event Approval(
-		address indexed owner,
-		address indexed spender,
-		uint256 value
-	);
+	event Approval(address indexed owner, address indexed spender, uint256 value);
 }
 
 /// @dev the ERC-165 identifier for this interface is 0x942e8b22
@@ -537,11 +522,7 @@
 
 	/// @dev EVM selector for this function is: 0xdd62ed3e,
 	///  or in textual repr: allowance(address,address)
-	function allowance(address owner, address spender)
-		public
-		view
-		returns (uint256)
-	{
+	function allowance(address owner, address spender) public view returns (uint256) {
 		require(false, stub_error);
 		owner;
 		spender;
@@ -550,11 +531,4 @@
 	}
 }
 
-contract UniqueFungible is
-	Dummy,
-	ERC165,
-	ERC20,
-	ERC20Mintable,
-	ERC20UniqueExtensions,
-	Collection
-{}
+contract UniqueFungible is Dummy, ERC165, ERC20, ERC20Mintable, ERC20UniqueExtensions, 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
@@ -10,11 +10,7 @@
 }
 
 contract ERC165 is Dummy {
-	function supportsInterface(bytes4 interfaceID)
-		external
-		view
-		returns (bool)
-	{
+	function supportsInterface(bytes4 interfaceID) external view returns (bool) {
 		require(false, stub_error);
 		interfaceID;
 		return true;
@@ -85,11 +81,7 @@
 	/// @return Property value bytes
 	/// @dev EVM selector for this function is: 0x7228c327,
 	///  or in textual repr: property(uint256,string)
-	function property(uint256 tokenId, string memory key)
-		public
-		view
-		returns (bytes memory)
-	{
+	function property(uint256 tokenId, string memory key) public view returns (bytes memory) {
 		require(false, stub_error);
 		tokenId;
 		key;
@@ -99,7 +91,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0x9f70d4e0
+/// @dev the ERC-165 identifier for this interface is 0x47dbc105
 contract Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -107,9 +99,7 @@
 	/// @param value Propery value.
 	/// @dev EVM selector for this function is: 0x2f073f66,
 	///  or in textual repr: setCollectionProperty(string,bytes)
-	function setCollectionProperty(string memory key, bytes memory value)
-		public
-	{
+	function setCollectionProperty(string memory key, bytes memory value) public {
 		require(false, stub_error);
 		key;
 		value;
@@ -135,11 +125,7 @@
 	/// @return bytes The property corresponding to the key.
 	/// @dev EVM selector for this function is: 0xcf24fd6d,
 	///  or in textual repr: collectionProperty(string)
-	function collectionProperty(string memory key)
-		public
-		view
-		returns (bytes memory)
-	{
+	function collectionProperty(string memory key) public view returns (bytes memory) {
 		require(false, stub_error);
 		key;
 		dummy;
@@ -172,6 +158,7 @@
 		dummy = 0;
 	}
 
+	/// Whether there is a pending sponsor.
 	/// @dev EVM selector for this function is: 0x058ac185,
 	///  or in textual repr: hasCollectionPendingSponsor()
 	function hasCollectionPendingSponsor() public view returns (bool) {
@@ -201,9 +188,9 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	/// @dev EVM selector for this function is: 0xb66bbc14,
-	///  or in textual repr: getCollectionSponsor()
-	function getCollectionSponsor() public view returns (Tuple17 memory) {
+	/// @dev EVM selector for this function is: 0x6ec0a9f1,
+	///  or in textual repr: collectionSponsor()
+	function collectionSponsor() public view returns (Tuple17 memory) {
 		require(false, stub_error);
 		dummy;
 		return Tuple17(0x0000000000000000000000000000000000000000, 0);
@@ -311,9 +298,7 @@
 	/// @param collections Addresses of collections that will be available for nesting.
 	/// @dev EVM selector for this function is: 0x64872396,
 	///  or in textual repr: setCollectionNesting(bool,address[])
-	function setCollectionNesting(bool enable, address[] memory collections)
-		public
-	{
+	function setCollectionNesting(bool enable, address[] memory collections) public {
 		require(false, stub_error);
 		enable;
 		collections;
@@ -430,9 +415,9 @@
 	/// @return `Fungible` or `NFT` or `ReFungible`
 	/// @dev EVM selector for this function is: 0xd34b55b8,
 	///  or in textual repr: uniqueCollectionType()
-	function uniqueCollectionType() public returns (string memory) {
+	function uniqueCollectionType() public view returns (string memory) {
 		require(false, stub_error);
-		dummy = 0;
+		dummy;
 		return "";
 	}
 
@@ -605,10 +590,7 @@
 	/// @param tokenIds IDs of the minted NFTs
 	/// @dev EVM selector for this function is: 0x44a9945e,
 	///  or in textual repr: mintBulk(address,uint256[])
-	function mintBulk(address to, uint256[] memory tokenIds)
-		public
-		returns (bool)
-	{
+	function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
 		require(false, stub_error);
 		to;
 		tokenIds;
@@ -623,10 +605,7 @@
 	/// @param tokens array of pairs of token ID and token URI for minted tokens
 	/// @dev EVM selector for this function is: 0x36543006,
 	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
-	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens)
-		public
-		returns (bool)
-	{
+	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) public returns (bool) {
 		require(false, stub_error);
 		to;
 		tokens;
@@ -661,11 +640,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0x2f745c59,
 	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
+	function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
 		require(false, stub_error);
 		owner;
 		index;
@@ -728,21 +703,9 @@
 
 /// @dev inlined interface
 contract ERC721Events {
-	event Transfer(
-		address indexed from,
-		address indexed to,
-		uint256 indexed tokenId
-	);
-	event Approval(
-		address indexed owner,
-		address indexed approved,
-		uint256 indexed tokenId
-	);
-	event ApprovalForAll(
-		address indexed owner,
-		address indexed operator,
-		bool approved
-	);
+	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
+	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
+	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
 }
 
 /// @title ERC-721 Non-Fungible Token Standard
@@ -870,11 +833,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0xe985e9c5,
 	///  or in textual repr: isApprovedForAll(address,address)
-	function isApprovedForAll(address owner, address operator)
-		public
-		view
-		returns (address)
-	{
+	function isApprovedForAll(address owner, address operator) public view returns (address) {
 		require(false, stub_error);
 		owner;
 		operator;
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
@@ -10,11 +10,7 @@
 }
 
 contract ERC165 is Dummy {
-	function supportsInterface(bytes4 interfaceID)
-		external
-		view
-		returns (bool)
-	{
+	function supportsInterface(bytes4 interfaceID) external view returns (bool) {
 		require(false, stub_error);
 		interfaceID;
 		return true;
@@ -85,11 +81,7 @@
 	/// @return Property value bytes
 	/// @dev EVM selector for this function is: 0x7228c327,
 	///  or in textual repr: property(uint256,string)
-	function property(uint256 tokenId, string memory key)
-		public
-		view
-		returns (bytes memory)
-	{
+	function property(uint256 tokenId, string memory key) public view returns (bytes memory) {
 		require(false, stub_error);
 		tokenId;
 		key;
@@ -99,7 +91,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0x9f70d4e0
+/// @dev the ERC-165 identifier for this interface is 0x47dbc105
 contract Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -107,9 +99,7 @@
 	/// @param value Propery value.
 	/// @dev EVM selector for this function is: 0x2f073f66,
 	///  or in textual repr: setCollectionProperty(string,bytes)
-	function setCollectionProperty(string memory key, bytes memory value)
-		public
-	{
+	function setCollectionProperty(string memory key, bytes memory value) public {
 		require(false, stub_error);
 		key;
 		value;
@@ -135,11 +125,7 @@
 	/// @return bytes The property corresponding to the key.
 	/// @dev EVM selector for this function is: 0xcf24fd6d,
 	///  or in textual repr: collectionProperty(string)
-	function collectionProperty(string memory key)
-		public
-		view
-		returns (bytes memory)
-	{
+	function collectionProperty(string memory key) public view returns (bytes memory) {
 		require(false, stub_error);
 		key;
 		dummy;
@@ -172,6 +158,7 @@
 		dummy = 0;
 	}
 
+	/// Whether there is a pending sponsor.
 	/// @dev EVM selector for this function is: 0x058ac185,
 	///  or in textual repr: hasCollectionPendingSponsor()
 	function hasCollectionPendingSponsor() public view returns (bool) {
@@ -201,9 +188,9 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	/// @dev EVM selector for this function is: 0xb66bbc14,
-	///  or in textual repr: getCollectionSponsor()
-	function getCollectionSponsor() public view returns (Tuple17 memory) {
+	/// @dev EVM selector for this function is: 0x6ec0a9f1,
+	///  or in textual repr: collectionSponsor()
+	function collectionSponsor() public view returns (Tuple17 memory) {
 		require(false, stub_error);
 		dummy;
 		return Tuple17(0x0000000000000000000000000000000000000000, 0);
@@ -311,9 +298,7 @@
 	/// @param collections Addresses of collections that will be available for nesting.
 	/// @dev EVM selector for this function is: 0x64872396,
 	///  or in textual repr: setCollectionNesting(bool,address[])
-	function setCollectionNesting(bool enable, address[] memory collections)
-		public
-	{
+	function setCollectionNesting(bool enable, address[] memory collections) public {
 		require(false, stub_error);
 		enable;
 		collections;
@@ -430,9 +415,9 @@
 	/// @return `Fungible` or `NFT` or `ReFungible`
 	/// @dev EVM selector for this function is: 0xd34b55b8,
 	///  or in textual repr: uniqueCollectionType()
-	function uniqueCollectionType() public returns (string memory) {
+	function uniqueCollectionType() public view returns (string memory) {
 		require(false, stub_error);
-		dummy = 0;
+		dummy;
 		return "";
 	}
 
@@ -607,10 +592,7 @@
 	/// @param tokenIds IDs of the minted RFTs
 	/// @dev EVM selector for this function is: 0x44a9945e,
 	///  or in textual repr: mintBulk(address,uint256[])
-	function mintBulk(address to, uint256[] memory tokenIds)
-		public
-		returns (bool)
-	{
+	function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
 		require(false, stub_error);
 		to;
 		tokenIds;
@@ -625,10 +607,7 @@
 	/// @param tokens array of pairs of token ID and token URI for minted tokens
 	/// @dev EVM selector for this function is: 0x36543006,
 	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
-	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens)
-		public
-		returns (bool)
-	{
+	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) public returns (bool) {
 		require(false, stub_error);
 		to;
 		tokens;
@@ -675,11 +654,7 @@
 	/// Not implemented
 	/// @dev EVM selector for this function is: 0x2f745c59,
 	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
+	function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
 		require(false, stub_error);
 		owner;
 		index;
@@ -740,21 +715,9 @@
 
 /// @dev inlined interface
 contract ERC721Events {
-	event Transfer(
-		address indexed from,
-		address indexed to,
-		uint256 indexed tokenId
-	);
-	event Approval(
-		address indexed owner,
-		address indexed approved,
-		uint256 indexed tokenId
-	);
-	event ApprovalForAll(
-		address indexed owner,
-		address indexed operator,
-		bool approved
-	);
+	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
+	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
+	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
 }
 
 /// @title ERC-721 Non-Fungible Token Standard
@@ -880,11 +843,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0xe985e9c5,
 	///  or in textual repr: isApprovedForAll(address,address)
-	function isApprovedForAll(address owner, address operator)
-		public
-		view
-		returns (address)
-	{
+	function isApprovedForAll(address owner, address operator) public view returns (address) {
 		require(false, stub_error);
 		owner;
 		operator;
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
@@ -10,11 +10,7 @@
 }
 
 contract ERC165 is Dummy {
-	function supportsInterface(bytes4 interfaceID)
-		external
-		view
-		returns (bool)
-	{
+	function supportsInterface(bytes4 interfaceID) external view returns (bool) {
 		require(false, stub_error);
 		interfaceID;
 		return true;
@@ -72,11 +68,7 @@
 /// @dev inlined interface
 contract ERC20Events {
 	event Transfer(address indexed from, address indexed to, uint256 value);
-	event Approval(
-		address indexed owner,
-		address indexed spender,
-		uint256 value
-	);
+	event Approval(address indexed owner, address indexed spender, uint256 value);
 }
 
 /// @title Standard ERC20 token
@@ -188,11 +180,7 @@
 	/// @return A uint256 specifying the amount of tokens still available for the spender.
 	/// @dev EVM selector for this function is: 0xdd62ed3e,
 	///  or in textual repr: allowance(address,address)
-	function allowance(address owner, address spender)
-		public
-		view
-		returns (uint256)
-	{
+	function allowance(address owner, address spender) public view returns (uint256) {
 		require(false, stub_error);
 		owner;
 		spender;
@@ -201,10 +189,4 @@
 	}
 }
 
-contract UniqueRefungibleToken is
-	Dummy,
-	ERC165,
-	ERC20,
-	ERC20UniqueExtensions,
-	ERC1633
-{}
+contract UniqueRefungibleToken is Dummy, ERC165, ERC20, ERC20UniqueExtensions, ERC1633 {}
modifiedpallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedtests/src/eth/api/ContractHelpers.soldiffbeforeafterboth
--- a/tests/src/eth/api/ContractHelpers.sol
+++ b/tests/src/eth/api/ContractHelpers.sol
@@ -15,10 +15,7 @@
 /// @dev inlined interface
 interface ContractHelpersEvents {
 	event ContractSponsorSet(address indexed contractAddress, address sponsor);
-	event ContractSponsorshipConfirmed(
-		address indexed contractAddress,
-		address sponsor
-	);
+	event ContractSponsorshipConfirmed(address indexed contractAddress, address sponsor);
 	event ContractSponsorRemoved(address indexed contractAddress);
 }
 
@@ -34,10 +31,7 @@
 	/// @return address Owner of contract
 	/// @dev EVM selector for this function is: 0x5152b14c,
 	///  or in textual repr: contractOwner(address)
-	function contractOwner(address contractAddress)
-		external
-		view
-		returns (address);
+	function contractOwner(address contractAddress) external view returns (address);
 
 	/// Set sponsor.
 	/// @param contractAddress Contract for which a sponsor is being established.
@@ -75,10 +69,7 @@
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
 	/// @dev EVM selector for this function is: 0x743fc745,
 	///  or in textual repr: getSponsor(address)
-	function getSponsor(address contractAddress)
-		external
-		view
-		returns (Tuple0 memory);
+	function getSponsor(address contractAddress) external view returns (Tuple0 memory);
 
 	/// Check tat contract has confirmed sponsor.
 	///
@@ -94,17 +85,11 @@
 	/// @return **true** if contract has pending sponsor.
 	/// @dev EVM selector for this function is: 0x39b9b242,
 	///  or in textual repr: hasPendingSponsor(address)
-	function hasPendingSponsor(address contractAddress)
-		external
-		view
-		returns (bool);
+	function hasPendingSponsor(address contractAddress) external view returns (bool);
 
 	/// @dev EVM selector for this function is: 0x6027dc61,
 	///  or in textual repr: sponsoringEnabled(address)
-	function sponsoringEnabled(address contractAddress)
-		external
-		view
-		returns (bool);
+	function sponsoringEnabled(address contractAddress) external view returns (bool);
 
 	/// @dev EVM selector for this function is: 0xfde8a560,
 	///  or in textual repr: setSponsoringMode(address,uint8)
@@ -115,10 +100,7 @@
 	/// @return uint32 Amount of blocks between two sponsored transactions
 	/// @dev EVM selector for this function is: 0x610cfabd,
 	///  or in textual repr: getSponsoringRateLimit(address)
-	function getSponsoringRateLimit(address contractAddress)
-		external
-		view
-		returns (uint32);
+	function getSponsoringRateLimit(address contractAddress) external view returns (uint32);
 
 	/// Set contract sponsoring rate limit
 	/// @dev Sponsoring rate limit - is a minimum amount of blocks that should
@@ -128,8 +110,7 @@
 	/// @dev Only contract owner can change this setting
 	/// @dev EVM selector for this function is: 0x77b6c908,
 	///  or in textual repr: setSponsoringRateLimit(address,uint32)
-	function setSponsoringRateLimit(address contractAddress, uint32 rateLimit)
-		external;
+	function setSponsoringRateLimit(address contractAddress, uint32 rateLimit) external;
 
 	/// Set contract sponsoring fee limit
 	/// @dev Sponsoring fee limit - is maximum fee that could be spent by
@@ -139,8 +120,7 @@
 	/// @dev Only contract owner can change this setting
 	/// @dev EVM selector for this function is: 0x03aed665,
 	///  or in textual repr: setSponsoringFeeLimit(address,uint256)
-	function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)
-		external;
+	function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit) external;
 
 	/// Get current contract sponsoring fee limit
 	/// @param contractAddress Contract to get sponsoring fee limit of
@@ -148,10 +128,7 @@
 	///  transaction
 	/// @dev EVM selector for this function is: 0xc3fdc9ee,
 	///  or in textual repr: getSponsoringFeeLimit(address)
-	function getSponsoringFeeLimit(address contractAddress)
-		external
-		view
-		returns (uint256);
+	function getSponsoringFeeLimit(address contractAddress) external view returns (uint256);
 
 	/// Is specified user present in contract allow list
 	/// @dev Contract owner always implicitly included
@@ -160,10 +137,7 @@
 	/// @return bool Is specified users exists in contract allowlist
 	/// @dev EVM selector for this function is: 0x5c658165,
 	///  or in textual repr: allowed(address,address)
-	function allowed(address contractAddress, address user)
-		external
-		view
-		returns (bool);
+	function allowed(address contractAddress, address user) external view returns (bool);
 
 	/// Toggle user presence in contract allowlist
 	/// @param contractAddress Contract to change allowlist of
@@ -187,10 +161,7 @@
 	/// @return bool Is specified contract has allowlist access enabled
 	/// @dev EVM selector for this function is: 0xc772ef6c,
 	///  or in textual repr: allowlistEnabled(address)
-	function allowlistEnabled(address contractAddress)
-		external
-		view
-		returns (bool);
+	function allowlistEnabled(address contractAddress) external view returns (bool);
 
 	/// Toggle contract allowlist access
 	/// @param contractAddress Contract to change allowlist access of
modifiedtests/src/eth/api/UniqueFungible.soldiffbeforeafterboth
before · tests/src/eth/api/UniqueFungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415/// @title A contract that allows you to work with collections.16/// @dev the ERC-165 identifier for this interface is 0x9f70d4e017interface Collection is Dummy, ERC165 {18	/// Set collection property.19	///20	/// @param key Property key.21	/// @param value Propery value.22	/// @dev EVM selector for this function is: 0x2f073f66,23	///  or in textual repr: setCollectionProperty(string,bytes)24	function setCollectionProperty(string memory key, bytes memory value)25		external;2627	/// Delete collection property.28	///29	/// @param key Property key.30	/// @dev EVM selector for this function is: 0x7b7debce,31	///  or in textual repr: deleteCollectionProperty(string)32	function deleteCollectionProperty(string memory key) external;3334	/// Get collection property.35	///36	/// @dev Throws error if key not found.37	///38	/// @param key Property key.39	/// @return bytes The property corresponding to the key.40	/// @dev EVM selector for this function is: 0xcf24fd6d,41	///  or in textual repr: collectionProperty(string)42	function collectionProperty(string memory key)43		external44		view45		returns (bytes memory);4647	/// Set the sponsor of the collection.48	///49	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.50	///51	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.52	/// @dev EVM selector for this function is: 0x7623402e,53	///  or in textual repr: setCollectionSponsor(address)54	function setCollectionSponsor(address sponsor) external;5556	/// Set the substrate sponsor of the collection.57	///58	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.59	///60	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.61	/// @dev EVM selector for this function is: 0xc74d6751,62	///  or in textual repr: setCollectionSponsorSubstrate(uint256)63	function setCollectionSponsorSubstrate(uint256 sponsor) external;6465	/// @dev EVM selector for this function is: 0x058ac185,66	///  or in textual repr: hasCollectionPendingSponsor()67	function hasCollectionPendingSponsor() external view returns (bool);6869	/// Collection sponsorship confirmation.70	///71	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.72	/// @dev EVM selector for this function is: 0x3c50e97a,73	///  or in textual repr: confirmCollectionSponsorship()74	function confirmCollectionSponsorship() external;7576	/// Remove collection sponsor.77	/// @dev EVM selector for this function is: 0x6e0326a3,78	///  or in textual repr: removeCollectionSponsor()79	function removeCollectionSponsor() external;8081	/// Get current sponsor.82	///83	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.84	/// @dev EVM selector for this function is: 0xb66bbc14,85	///  or in textual repr: getCollectionSponsor()86	function getCollectionSponsor() external view returns (Tuple6 memory);8788	/// Set limits for the collection.89	/// @dev Throws error if limit not found.90	/// @param limit Name of the limit. Valid names:91	/// 	"accountTokenOwnershipLimit",92	/// 	"sponsoredDataSize",93	/// 	"sponsoredDataRateLimit",94	/// 	"tokenLimit",95	/// 	"sponsorTransferTimeout",96	/// 	"sponsorApproveTimeout"97	/// @param value Value of the limit.98	/// @dev EVM selector for this function is: 0x6a3841db,99	///  or in textual repr: setCollectionLimit(string,uint32)100	function setCollectionLimit(string memory limit, uint32 value) external;101102	/// Set limits for the collection.103	/// @dev Throws error if limit not found.104	/// @param limit Name of the limit. Valid names:105	/// 	"ownerCanTransfer",106	/// 	"ownerCanDestroy",107	/// 	"transfersEnabled"108	/// @param value Value of the limit.109	/// @dev EVM selector for this function is: 0x993b7fba,110	///  or in textual repr: setCollectionLimit(string,bool)111	function setCollectionLimit(string memory limit, bool value) external;112113	/// Get contract address.114	/// @dev EVM selector for this function is: 0xf6b4dfb4,115	///  or in textual repr: contractAddress()116	function contractAddress() external view returns (address);117118	/// Add collection admin by substrate address.119	/// @param newAdmin Substrate administrator address.120	/// @dev EVM selector for this function is: 0x5730062b,121	///  or in textual repr: addCollectionAdminSubstrate(uint256)122	function addCollectionAdminSubstrate(uint256 newAdmin) external;123124	/// Remove collection admin by substrate address.125	/// @param admin Substrate administrator address.126	/// @dev EVM selector for this function is: 0x4048fcf9,127	///  or in textual repr: removeCollectionAdminSubstrate(uint256)128	function removeCollectionAdminSubstrate(uint256 admin) external;129130	/// Add collection admin.131	/// @param newAdmin Address of the added administrator.132	/// @dev EVM selector for this function is: 0x92e462c7,133	///  or in textual repr: addCollectionAdmin(address)134	function addCollectionAdmin(address newAdmin) external;135136	/// Remove collection admin.137	///138	/// @param admin Address of the removed administrator.139	/// @dev EVM selector for this function is: 0xfafd7b42,140	///  or in textual repr: removeCollectionAdmin(address)141	function removeCollectionAdmin(address admin) external;142143	/// Toggle accessibility of collection nesting.144	///145	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'146	/// @dev EVM selector for this function is: 0x112d4586,147	///  or in textual repr: setCollectionNesting(bool)148	function setCollectionNesting(bool enable) external;149150	/// Toggle accessibility of collection nesting.151	///152	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'153	/// @param collections Addresses of collections that will be available for nesting.154	/// @dev EVM selector for this function is: 0x64872396,155	///  or in textual repr: setCollectionNesting(bool,address[])156	function setCollectionNesting(bool enable, address[] memory collections)157		external;158159	/// Set the collection access method.160	/// @param mode Access mode161	/// 	0 for Normal162	/// 	1 for AllowList163	/// @dev EVM selector for this function is: 0x41835d4c,164	///  or in textual repr: setCollectionAccess(uint8)165	function setCollectionAccess(uint8 mode) external;166167	/// Checks that user allowed to operate with collection.168	///169	/// @param user User address to check.170	/// @dev EVM selector for this function is: 0xd63a8e11,171	///  or in textual repr: allowed(address)172	function allowed(address user) external view returns (bool);173174	/// Add the user to the allowed list.175	///176	/// @param user Address of a trusted user.177	/// @dev EVM selector for this function is: 0x67844fe6,178	///  or in textual repr: addToCollectionAllowList(address)179	function addToCollectionAllowList(address user) external;180181	/// Add substrate user to allowed list.182	///183	/// @param user User substrate address.184	/// @dev EVM selector for this function is: 0xd06ad267,185	///  or in textual repr: addToCollectionAllowListSubstrate(uint256)186	function addToCollectionAllowListSubstrate(uint256 user) external;187188	/// Remove the user from the allowed list.189	///190	/// @param user Address of a removed user.191	/// @dev EVM selector for this function is: 0x85c51acb,192	///  or in textual repr: removeFromCollectionAllowList(address)193	function removeFromCollectionAllowList(address user) external;194195	/// Remove substrate user from allowed list.196	///197	/// @param user User substrate address.198	/// @dev EVM selector for this function is: 0xa31913ed,199	///  or in textual repr: removeFromCollectionAllowListSubstrate(uint256)200	function removeFromCollectionAllowListSubstrate(uint256 user) external;201202	/// Switch permission for minting.203	///204	/// @param mode Enable if "true".205	/// @dev EVM selector for this function is: 0x00018e84,206	///  or in textual repr: setCollectionMintMode(bool)207	function setCollectionMintMode(bool mode) external;208209	/// Check that account is the owner or admin of the collection210	///211	/// @param user account to verify212	/// @return "true" if account is the owner or admin213	/// @dev EVM selector for this function is: 0x9811b0c7,214	///  or in textual repr: isOwnerOrAdmin(address)215	function isOwnerOrAdmin(address user) external view returns (bool);216217	/// Check that substrate account is the owner or admin of the collection218	///219	/// @param user account to verify220	/// @return "true" if account is the owner or admin221	/// @dev EVM selector for this function is: 0x68910e00,222	///  or in textual repr: isOwnerOrAdminSubstrate(uint256)223	function isOwnerOrAdminSubstrate(uint256 user) external view returns (bool);224225	/// Returns collection type226	///227	/// @return `Fungible` or `NFT` or `ReFungible`228	/// @dev EVM selector for this function is: 0xd34b55b8,229	///  or in textual repr: uniqueCollectionType()230	function uniqueCollectionType() external returns (string memory);231232	/// Get collection owner.233	///234	/// @return Tuble with sponsor address and his substrate mirror.235	/// If address is canonical then substrate mirror is zero and vice versa.236	/// @dev EVM selector for this function is: 0xdf727d3b,237	///  or in textual repr: collectionOwner()238	function collectionOwner() external view returns (Tuple6 memory);239240	/// Changes collection owner to another account241	///242	/// @dev Owner can be changed only by current owner243	/// @param newOwner new owner account244	/// @dev EVM selector for this function is: 0x13af4035,245	///  or in textual repr: setOwner(address)246	function setOwner(address newOwner) external;247248	/// Changes collection owner to another substrate account249	///250	/// @dev Owner can be changed only by current owner251	/// @param newOwner new owner substrate account252	/// @dev EVM selector for this function is: 0xb212138f,253	///  or in textual repr: setOwnerSubstrate(uint256)254	function setOwnerSubstrate(uint256 newOwner) external;255}256257/// @dev the ERC-165 identifier for this interface is 0x63034ac5258interface ERC20UniqueExtensions is Dummy, ERC165 {259	/// Burn tokens from account260	/// @dev Function that burns an `amount` of the tokens of a given account,261	/// deducting from the sender's allowance for said account.262	/// @param from The account whose tokens will be burnt.263	/// @param amount The amount that will be burnt.264	/// @dev EVM selector for this function is: 0x79cc6790,265	///  or in textual repr: burnFrom(address,uint256)266	function burnFrom(address from, uint256 amount) external returns (bool);267268	/// Mint tokens for multiple accounts.269	/// @param amounts array of pairs of account address and amount270	/// @dev EVM selector for this function is: 0x1acf2d55,271	///  or in textual repr: mintBulk((address,uint256)[])272	function mintBulk(Tuple6[] memory amounts) external returns (bool);273}274275/// @dev anonymous struct276struct Tuple6 {277	address field_0;278	uint256 field_1;279}280281/// @dev the ERC-165 identifier for this interface is 0x40c10f19282interface ERC20Mintable is Dummy, ERC165 {283	/// Mint tokens for `to` account.284	/// @param to account that will receive minted tokens285	/// @param amount amount of tokens to mint286	/// @dev EVM selector for this function is: 0x40c10f19,287	///  or in textual repr: mint(address,uint256)288	function mint(address to, uint256 amount) external returns (bool);289}290291/// @dev inlined interface292interface ERC20Events {293	event Transfer(address indexed from, address indexed to, uint256 value);294	event Approval(295		address indexed owner,296		address indexed spender,297		uint256 value298	);299}300301/// @dev the ERC-165 identifier for this interface is 0x942e8b22302interface ERC20 is Dummy, ERC165, ERC20Events {303	/// @dev EVM selector for this function is: 0x06fdde03,304	///  or in textual repr: name()305	function name() external view returns (string memory);306307	/// @dev EVM selector for this function is: 0x95d89b41,308	///  or in textual repr: symbol()309	function symbol() external view returns (string memory);310311	/// @dev EVM selector for this function is: 0x18160ddd,312	///  or in textual repr: totalSupply()313	function totalSupply() external view returns (uint256);314315	/// @dev EVM selector for this function is: 0x313ce567,316	///  or in textual repr: decimals()317	function decimals() external view returns (uint8);318319	/// @dev EVM selector for this function is: 0x70a08231,320	///  or in textual repr: balanceOf(address)321	function balanceOf(address owner) external view returns (uint256);322323	/// @dev EVM selector for this function is: 0xa9059cbb,324	///  or in textual repr: transfer(address,uint256)325	function transfer(address to, uint256 amount) external returns (bool);326327	/// @dev EVM selector for this function is: 0x23b872dd,328	///  or in textual repr: transferFrom(address,address,uint256)329	function transferFrom(330		address from,331		address to,332		uint256 amount333	) external returns (bool);334335	/// @dev EVM selector for this function is: 0x095ea7b3,336	///  or in textual repr: approve(address,uint256)337	function approve(address spender, uint256 amount) external returns (bool);338339	/// @dev EVM selector for this function is: 0xdd62ed3e,340	///  or in textual repr: allowance(address,address)341	function allowance(address owner, address spender)342		external343		view344		returns (uint256);345}346347interface UniqueFungible is348	Dummy,349	ERC165,350	ERC20,351	ERC20Mintable,352	ERC20UniqueExtensions,353	Collection354{}
after · tests/src/eth/api/UniqueFungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415/// @title A contract that allows you to work with collections.16/// @dev the ERC-165 identifier for this interface is 0x47dbc10517interface Collection is Dummy, ERC165 {18	/// Set collection property.19	///20	/// @param key Property key.21	/// @param value Propery value.22	/// @dev EVM selector for this function is: 0x2f073f66,23	///  or in textual repr: setCollectionProperty(string,bytes)24	function setCollectionProperty(string memory key, bytes memory value) external;2526	/// Delete collection property.27	///28	/// @param key Property key.29	/// @dev EVM selector for this function is: 0x7b7debce,30	///  or in textual repr: deleteCollectionProperty(string)31	function deleteCollectionProperty(string memory key) external;3233	/// Get collection property.34	///35	/// @dev Throws error if key not found.36	///37	/// @param key Property key.38	/// @return bytes The property corresponding to the key.39	/// @dev EVM selector for this function is: 0xcf24fd6d,40	///  or in textual repr: collectionProperty(string)41	function collectionProperty(string memory key) external view returns (bytes memory);4243	/// Set the sponsor of the collection.44	///45	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.46	///47	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.48	/// @dev EVM selector for this function is: 0x7623402e,49	///  or in textual repr: setCollectionSponsor(address)50	function setCollectionSponsor(address sponsor) external;5152	/// Set the substrate sponsor of the collection.53	///54	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.55	///56	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.57	/// @dev EVM selector for this function is: 0xc74d6751,58	///  or in textual repr: setCollectionSponsorSubstrate(uint256)59	function setCollectionSponsorSubstrate(uint256 sponsor) external;6061	/// Whether there is a pending sponsor.62	/// @dev EVM selector for this function is: 0x058ac185,63	///  or in textual repr: hasCollectionPendingSponsor()64	function hasCollectionPendingSponsor() external view returns (bool);6566	/// Collection sponsorship confirmation.67	///68	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.69	/// @dev EVM selector for this function is: 0x3c50e97a,70	///  or in textual repr: confirmCollectionSponsorship()71	function confirmCollectionSponsorship() external;7273	/// Remove collection sponsor.74	/// @dev EVM selector for this function is: 0x6e0326a3,75	///  or in textual repr: removeCollectionSponsor()76	function removeCollectionSponsor() external;7778	/// Get current sponsor.79	///80	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.81	/// @dev EVM selector for this function is: 0x6ec0a9f1,82	///  or in textual repr: collectionSponsor()83	function collectionSponsor() external view returns (Tuple6 memory);8485	/// Set limits for the collection.86	/// @dev Throws error if limit not found.87	/// @param limit Name of the limit. Valid names:88	/// 	"accountTokenOwnershipLimit",89	/// 	"sponsoredDataSize",90	/// 	"sponsoredDataRateLimit",91	/// 	"tokenLimit",92	/// 	"sponsorTransferTimeout",93	/// 	"sponsorApproveTimeout"94	/// @param value Value of the limit.95	/// @dev EVM selector for this function is: 0x6a3841db,96	///  or in textual repr: setCollectionLimit(string,uint32)97	function setCollectionLimit(string memory limit, uint32 value) external;9899	/// Set limits for the collection.100	/// @dev Throws error if limit not found.101	/// @param limit Name of the limit. Valid names:102	/// 	"ownerCanTransfer",103	/// 	"ownerCanDestroy",104	/// 	"transfersEnabled"105	/// @param value Value of the limit.106	/// @dev EVM selector for this function is: 0x993b7fba,107	///  or in textual repr: setCollectionLimit(string,bool)108	function setCollectionLimit(string memory limit, bool value) external;109110	/// Get contract address.111	/// @dev EVM selector for this function is: 0xf6b4dfb4,112	///  or in textual repr: contractAddress()113	function contractAddress() external view returns (address);114115	/// Add collection admin by substrate address.116	/// @param newAdmin Substrate administrator address.117	/// @dev EVM selector for this function is: 0x5730062b,118	///  or in textual repr: addCollectionAdminSubstrate(uint256)119	function addCollectionAdminSubstrate(uint256 newAdmin) external;120121	/// Remove collection admin by substrate address.122	/// @param admin Substrate administrator address.123	/// @dev EVM selector for this function is: 0x4048fcf9,124	///  or in textual repr: removeCollectionAdminSubstrate(uint256)125	function removeCollectionAdminSubstrate(uint256 admin) external;126127	/// Add collection admin.128	/// @param newAdmin Address of the added administrator.129	/// @dev EVM selector for this function is: 0x92e462c7,130	///  or in textual repr: addCollectionAdmin(address)131	function addCollectionAdmin(address newAdmin) external;132133	/// Remove collection admin.134	///135	/// @param admin Address of the removed administrator.136	/// @dev EVM selector for this function is: 0xfafd7b42,137	///  or in textual repr: removeCollectionAdmin(address)138	function removeCollectionAdmin(address admin) external;139140	/// Toggle accessibility of collection nesting.141	///142	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'143	/// @dev EVM selector for this function is: 0x112d4586,144	///  or in textual repr: setCollectionNesting(bool)145	function setCollectionNesting(bool enable) external;146147	/// Toggle accessibility of collection nesting.148	///149	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'150	/// @param collections Addresses of collections that will be available for nesting.151	/// @dev EVM selector for this function is: 0x64872396,152	///  or in textual repr: setCollectionNesting(bool,address[])153	function setCollectionNesting(bool enable, address[] memory collections) external;154155	/// Set the collection access method.156	/// @param mode Access mode157	/// 	0 for Normal158	/// 	1 for AllowList159	/// @dev EVM selector for this function is: 0x41835d4c,160	///  or in textual repr: setCollectionAccess(uint8)161	function setCollectionAccess(uint8 mode) external;162163	/// Checks that user allowed to operate with collection.164	///165	/// @param user User address to check.166	/// @dev EVM selector for this function is: 0xd63a8e11,167	///  or in textual repr: allowed(address)168	function allowed(address user) external view returns (bool);169170	/// Add the user to the allowed list.171	///172	/// @param user Address of a trusted user.173	/// @dev EVM selector for this function is: 0x67844fe6,174	///  or in textual repr: addToCollectionAllowList(address)175	function addToCollectionAllowList(address user) external;176177	/// Add substrate user to allowed list.178	///179	/// @param user User substrate address.180	/// @dev EVM selector for this function is: 0xd06ad267,181	///  or in textual repr: addToCollectionAllowListSubstrate(uint256)182	function addToCollectionAllowListSubstrate(uint256 user) external;183184	/// Remove the user from the allowed list.185	///186	/// @param user Address of a removed user.187	/// @dev EVM selector for this function is: 0x85c51acb,188	///  or in textual repr: removeFromCollectionAllowList(address)189	function removeFromCollectionAllowList(address user) external;190191	/// Remove substrate user from allowed list.192	///193	/// @param user User substrate address.194	/// @dev EVM selector for this function is: 0xa31913ed,195	///  or in textual repr: removeFromCollectionAllowListSubstrate(uint256)196	function removeFromCollectionAllowListSubstrate(uint256 user) external;197198	/// Switch permission for minting.199	///200	/// @param mode Enable if "true".201	/// @dev EVM selector for this function is: 0x00018e84,202	///  or in textual repr: setCollectionMintMode(bool)203	function setCollectionMintMode(bool mode) external;204205	/// Check that account is the owner or admin of the collection206	///207	/// @param user account to verify208	/// @return "true" if account is the owner or admin209	/// @dev EVM selector for this function is: 0x9811b0c7,210	///  or in textual repr: isOwnerOrAdmin(address)211	function isOwnerOrAdmin(address user) external view returns (bool);212213	/// Check that substrate account is the owner or admin of the collection214	///215	/// @param user account to verify216	/// @return "true" if account is the owner or admin217	/// @dev EVM selector for this function is: 0x68910e00,218	///  or in textual repr: isOwnerOrAdminSubstrate(uint256)219	function isOwnerOrAdminSubstrate(uint256 user) external view returns (bool);220221	/// Returns collection type222	///223	/// @return `Fungible` or `NFT` or `ReFungible`224	/// @dev EVM selector for this function is: 0xd34b55b8,225	///  or in textual repr: uniqueCollectionType()226	function uniqueCollectionType() external view returns (string memory);227228	/// Get collection owner.229	///230	/// @return Tuble with sponsor address and his substrate mirror.231	/// If address is canonical then substrate mirror is zero and vice versa.232	/// @dev EVM selector for this function is: 0xdf727d3b,233	///  or in textual repr: collectionOwner()234	function collectionOwner() external view returns (Tuple6 memory);235236	/// Changes collection owner to another account237	///238	/// @dev Owner can be changed only by current owner239	/// @param newOwner new owner account240	/// @dev EVM selector for this function is: 0x13af4035,241	///  or in textual repr: setOwner(address)242	function setOwner(address newOwner) external;243244	/// Changes collection owner to another substrate account245	///246	/// @dev Owner can be changed only by current owner247	/// @param newOwner new owner substrate account248	/// @dev EVM selector for this function is: 0xb212138f,249	///  or in textual repr: setOwnerSubstrate(uint256)250	function setOwnerSubstrate(uint256 newOwner) external;251}252253/// @dev the ERC-165 identifier for this interface is 0x63034ac5254interface ERC20UniqueExtensions is Dummy, ERC165 {255	/// Burn tokens from account256	/// @dev Function that burns an `amount` of the tokens of a given account,257	/// deducting from the sender's allowance for said account.258	/// @param from The account whose tokens will be burnt.259	/// @param amount The amount that will be burnt.260	/// @dev EVM selector for this function is: 0x79cc6790,261	///  or in textual repr: burnFrom(address,uint256)262	function burnFrom(address from, uint256 amount) external returns (bool);263264	/// Mint tokens for multiple accounts.265	/// @param amounts array of pairs of account address and amount266	/// @dev EVM selector for this function is: 0x1acf2d55,267	///  or in textual repr: mintBulk((address,uint256)[])268	function mintBulk(Tuple6[] memory amounts) external returns (bool);269}270271/// @dev anonymous struct272struct Tuple6 {273	address field_0;274	uint256 field_1;275}276277/// @dev the ERC-165 identifier for this interface is 0x40c10f19278interface ERC20Mintable is Dummy, ERC165 {279	/// Mint tokens for `to` account.280	/// @param to account that will receive minted tokens281	/// @param amount amount of tokens to mint282	/// @dev EVM selector for this function is: 0x40c10f19,283	///  or in textual repr: mint(address,uint256)284	function mint(address to, uint256 amount) external returns (bool);285}286287/// @dev inlined interface288interface ERC20Events {289	event Transfer(address indexed from, address indexed to, uint256 value);290	event Approval(address indexed owner, address indexed spender, uint256 value);291}292293/// @dev the ERC-165 identifier for this interface is 0x942e8b22294interface ERC20 is Dummy, ERC165, ERC20Events {295	/// @dev EVM selector for this function is: 0x06fdde03,296	///  or in textual repr: name()297	function name() external view returns (string memory);298299	/// @dev EVM selector for this function is: 0x95d89b41,300	///  or in textual repr: symbol()301	function symbol() external view returns (string memory);302303	/// @dev EVM selector for this function is: 0x18160ddd,304	///  or in textual repr: totalSupply()305	function totalSupply() external view returns (uint256);306307	/// @dev EVM selector for this function is: 0x313ce567,308	///  or in textual repr: decimals()309	function decimals() external view returns (uint8);310311	/// @dev EVM selector for this function is: 0x70a08231,312	///  or in textual repr: balanceOf(address)313	function balanceOf(address owner) external view returns (uint256);314315	/// @dev EVM selector for this function is: 0xa9059cbb,316	///  or in textual repr: transfer(address,uint256)317	function transfer(address to, uint256 amount) external returns (bool);318319	/// @dev EVM selector for this function is: 0x23b872dd,320	///  or in textual repr: transferFrom(address,address,uint256)321	function transferFrom(322		address from,323		address to,324		uint256 amount325	) external returns (bool);326327	/// @dev EVM selector for this function is: 0x095ea7b3,328	///  or in textual repr: approve(address,uint256)329	function approve(address spender, uint256 amount) external returns (bool);330331	/// @dev EVM selector for this function is: 0xdd62ed3e,332	///  or in textual repr: allowance(address,address)333	function allowance(address owner, address spender) external view returns (uint256);334}335336interface UniqueFungible is Dummy, ERC165, ERC20, ERC20Mintable, ERC20UniqueExtensions, Collection {}
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -58,14 +58,11 @@
 	/// @return Property value bytes
 	/// @dev EVM selector for this function is: 0x7228c327,
 	///  or in textual repr: property(uint256,string)
-	function property(uint256 tokenId, string memory key)
-		external
-		view
-		returns (bytes memory);
+	function property(uint256 tokenId, string memory key) external view returns (bytes memory);
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0x9f70d4e0
+/// @dev the ERC-165 identifier for this interface is 0x47dbc105
 interface Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -73,8 +70,7 @@
 	/// @param value Propery value.
 	/// @dev EVM selector for this function is: 0x2f073f66,
 	///  or in textual repr: setCollectionProperty(string,bytes)
-	function setCollectionProperty(string memory key, bytes memory value)
-		external;
+	function setCollectionProperty(string memory key, bytes memory value) external;
 
 	/// Delete collection property.
 	///
@@ -91,10 +87,7 @@
 	/// @return bytes The property corresponding to the key.
 	/// @dev EVM selector for this function is: 0xcf24fd6d,
 	///  or in textual repr: collectionProperty(string)
-	function collectionProperty(string memory key)
-		external
-		view
-		returns (bytes memory);
+	function collectionProperty(string memory key) external view returns (bytes memory);
 
 	/// Set the sponsor of the collection.
 	///
@@ -114,6 +107,7 @@
 	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
 	function setCollectionSponsorSubstrate(uint256 sponsor) external;
 
+	/// Whether there is a pending sponsor.
 	/// @dev EVM selector for this function is: 0x058ac185,
 	///  or in textual repr: hasCollectionPendingSponsor()
 	function hasCollectionPendingSponsor() external view returns (bool);
@@ -133,9 +127,9 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	/// @dev EVM selector for this function is: 0xb66bbc14,
-	///  or in textual repr: getCollectionSponsor()
-	function getCollectionSponsor() external view returns (Tuple17 memory);
+	/// @dev EVM selector for this function is: 0x6ec0a9f1,
+	///  or in textual repr: collectionSponsor()
+	function collectionSponsor() external view returns (Tuple17 memory);
 
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
@@ -205,8 +199,7 @@
 	/// @param collections Addresses of collections that will be available for nesting.
 	/// @dev EVM selector for this function is: 0x64872396,
 	///  or in textual repr: setCollectionNesting(bool,address[])
-	function setCollectionNesting(bool enable, address[] memory collections)
-		external;
+	function setCollectionNesting(bool enable, address[] memory collections) external;
 
 	/// Set the collection access method.
 	/// @param mode Access mode
@@ -279,7 +272,7 @@
 	/// @return `Fungible` or `NFT` or `ReFungible`
 	/// @dev EVM selector for this function is: 0xd34b55b8,
 	///  or in textual repr: uniqueCollectionType()
-	function uniqueCollectionType() external returns (string memory);
+	function uniqueCollectionType() external view returns (string memory);
 
 	/// Get collection owner.
 	///
@@ -399,9 +392,7 @@
 	/// @param tokenIds IDs of the minted NFTs
 	/// @dev EVM selector for this function is: 0x44a9945e,
 	///  or in textual repr: mintBulk(address,uint256[])
-	function mintBulk(address to, uint256[] memory tokenIds)
-		external
-		returns (bool);
+	function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
 
 	/// @notice Function to mint multiple tokens with the given tokenUris.
 	/// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
@@ -410,9 +401,7 @@
 	/// @param tokens array of pairs of token ID and token URI for minted tokens
 	/// @dev EVM selector for this function is: 0x36543006,
 	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
-	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens)
-		external
-		returns (bool);
+	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) external returns (bool);
 }
 
 /// @dev anonymous struct
@@ -436,10 +425,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0x2f745c59,
 	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
+	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
@@ -479,21 +465,9 @@
 
 /// @dev inlined interface
 interface ERC721Events {
-	event Transfer(
-		address indexed from,
-		address indexed to,
-		uint256 indexed tokenId
-	);
-	event Approval(
-		address indexed owner,
-		address indexed approved,
-		uint256 indexed tokenId
-	);
-	event ApprovalForAll(
-		address indexed owner,
-		address indexed operator,
-		bool approved
-	);
+	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
+	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
+	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
 }
 
 /// @title ERC-721 Non-Fungible Token Standard
@@ -577,10 +551,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0xe985e9c5,
 	///  or in textual repr: isApprovedForAll(address,address)
-	function isApprovedForAll(address owner, address operator)
-		external
-		view
-		returns (address);
+	function isApprovedForAll(address owner, address operator) external view returns (address);
 }
 
 interface UniqueNFT is
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -58,14 +58,11 @@
 	/// @return Property value bytes
 	/// @dev EVM selector for this function is: 0x7228c327,
 	///  or in textual repr: property(uint256,string)
-	function property(uint256 tokenId, string memory key)
-		external
-		view
-		returns (bytes memory);
+	function property(uint256 tokenId, string memory key) external view returns (bytes memory);
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0x9f70d4e0
+/// @dev the ERC-165 identifier for this interface is 0x47dbc105
 interface Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -73,8 +70,7 @@
 	/// @param value Propery value.
 	/// @dev EVM selector for this function is: 0x2f073f66,
 	///  or in textual repr: setCollectionProperty(string,bytes)
-	function setCollectionProperty(string memory key, bytes memory value)
-		external;
+	function setCollectionProperty(string memory key, bytes memory value) external;
 
 	/// Delete collection property.
 	///
@@ -91,10 +87,7 @@
 	/// @return bytes The property corresponding to the key.
 	/// @dev EVM selector for this function is: 0xcf24fd6d,
 	///  or in textual repr: collectionProperty(string)
-	function collectionProperty(string memory key)
-		external
-		view
-		returns (bytes memory);
+	function collectionProperty(string memory key) external view returns (bytes memory);
 
 	/// Set the sponsor of the collection.
 	///
@@ -114,6 +107,7 @@
 	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
 	function setCollectionSponsorSubstrate(uint256 sponsor) external;
 
+	/// Whether there is a pending sponsor.
 	/// @dev EVM selector for this function is: 0x058ac185,
 	///  or in textual repr: hasCollectionPendingSponsor()
 	function hasCollectionPendingSponsor() external view returns (bool);
@@ -133,9 +127,9 @@
 	/// Get current sponsor.
 	///
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	/// @dev EVM selector for this function is: 0xb66bbc14,
-	///  or in textual repr: getCollectionSponsor()
-	function getCollectionSponsor() external view returns (Tuple17 memory);
+	/// @dev EVM selector for this function is: 0x6ec0a9f1,
+	///  or in textual repr: collectionSponsor()
+	function collectionSponsor() external view returns (Tuple17 memory);
 
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
@@ -205,8 +199,7 @@
 	/// @param collections Addresses of collections that will be available for nesting.
 	/// @dev EVM selector for this function is: 0x64872396,
 	///  or in textual repr: setCollectionNesting(bool,address[])
-	function setCollectionNesting(bool enable, address[] memory collections)
-		external;
+	function setCollectionNesting(bool enable, address[] memory collections) external;
 
 	/// Set the collection access method.
 	/// @param mode Access mode
@@ -279,7 +272,7 @@
 	/// @return `Fungible` or `NFT` or `ReFungible`
 	/// @dev EVM selector for this function is: 0xd34b55b8,
 	///  or in textual repr: uniqueCollectionType()
-	function uniqueCollectionType() external returns (string memory);
+	function uniqueCollectionType() external view returns (string memory);
 
 	/// Get collection owner.
 	///
@@ -401,9 +394,7 @@
 	/// @param tokenIds IDs of the minted RFTs
 	/// @dev EVM selector for this function is: 0x44a9945e,
 	///  or in textual repr: mintBulk(address,uint256[])
-	function mintBulk(address to, uint256[] memory tokenIds)
-		external
-		returns (bool);
+	function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
 
 	/// @notice Function to mint multiple tokens with the given tokenUris.
 	/// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
@@ -412,19 +403,14 @@
 	/// @param tokens array of pairs of token ID and token URI for minted tokens
 	/// @dev EVM selector for this function is: 0x36543006,
 	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
-	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens)
-		external
-		returns (bool);
+	function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) external returns (bool);
 
 	/// Returns EVM address for refungible token
 	///
 	/// @param token ID of the token
 	/// @dev EVM selector for this function is: 0xab76fac6,
 	///  or in textual repr: tokenContractAddress(uint256)
-	function tokenContractAddress(uint256 token)
-		external
-		view
-		returns (address);
+	function tokenContractAddress(uint256 token) external view returns (address);
 }
 
 /// @dev anonymous struct
@@ -448,10 +434,7 @@
 	/// Not implemented
 	/// @dev EVM selector for this function is: 0x2f745c59,
 	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
+	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
@@ -489,21 +472,9 @@
 
 /// @dev inlined interface
 interface ERC721Events {
-	event Transfer(
-		address indexed from,
-		address indexed to,
-		uint256 indexed tokenId
-	);
-	event Approval(
-		address indexed owner,
-		address indexed approved,
-		uint256 indexed tokenId
-	);
-	event ApprovalForAll(
-		address indexed owner,
-		address indexed operator,
-		bool approved
-	);
+	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
+	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
+	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
 }
 
 /// @title ERC-721 Non-Fungible Token Standard
@@ -585,10 +556,7 @@
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0xe985e9c5,
 	///  or in textual repr: isApprovedForAll(address,address)
-	function isApprovedForAll(address owner, address operator)
-		external
-		view
-		returns (address);
+	function isApprovedForAll(address owner, address operator) 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
@@ -44,11 +44,7 @@
 /// @dev inlined interface
 interface ERC20Events {
 	event Transfer(address indexed from, address indexed to, uint256 value);
-	event Approval(
-		address indexed owner,
-		address indexed spender,
-		uint256 value
-	);
+	event Approval(address indexed owner, address indexed spender, uint256 value);
 }
 
 /// @title Standard ERC20 token
@@ -120,16 +116,7 @@
 	/// @return A uint256 specifying the amount of tokens still available for the spender.
 	/// @dev EVM selector for this function is: 0xdd62ed3e,
 	///  or in textual repr: allowance(address,address)
-	function allowance(address owner, address spender)
-		external
-		view
-		returns (uint256);
+	function allowance(address owner, address spender) external view returns (uint256);
 }
 
-interface UniqueRefungibleToken is
-	Dummy,
-	ERC165,
-	ERC20,
-	ERC20UniqueExtensions,
-	ERC1633
-{}
+interface UniqueRefungibleToken is Dummy, ERC165, ERC20, ERC20UniqueExtensions, ERC1633 {}
modifiedtests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth
--- a/tests/src/eth/collectionSponsoring.test.ts
+++ b/tests/src/eth/collectionSponsoring.test.ts
@@ -56,7 +56,7 @@
     await submitTransactionAsync(sponsor, confirmTx);
     expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
     
-    const sponsorTuple = await collectionEvm.methods.getCollectionSponsor().call({from: owner});
+    const sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});
     expect(bigIntToSub(api, BigInt(sponsorTuple[1]))).to.be.eq(sponsor.address);
   });
 
@@ -77,7 +77,7 @@
     
     await collectionEvm.methods.removeCollectionSponsor().send({from: owner});
     
-    const sponsorTuple = await collectionEvm.methods.getCollectionSponsor().call({from: owner});
+    const sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});
     expect(sponsorTuple.field_0).to.be.eq('0x0000000000000000000000000000000000000000');
   });
 
modifiedtests/src/eth/fungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/fungibleAbi.json
+++ b/tests/src/eth/fungibleAbi.json
@@ -159,6 +159,23 @@
   },
   {
     "inputs": [],
+    "name": "collectionSponsor",
+    "outputs": [
+      {
+        "components": [
+          { "internalType": "address", "name": "field_0", "type": "address" },
+          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+        ],
+        "internalType": "struct Tuple6",
+        "name": "",
+        "type": "tuple"
+      }
+    ],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
+    "inputs": [],
     "name": "confirmCollectionSponsorship",
     "outputs": [],
     "stateMutability": "nonpayable",
@@ -183,23 +200,6 @@
     "name": "deleteCollectionProperty",
     "outputs": [],
     "stateMutability": "nonpayable",
-    "type": "function"
-  },
-  {
-    "inputs": [],
-    "name": "getCollectionSponsor",
-    "outputs": [
-      {
-        "components": [
-          { "internalType": "address", "name": "field_0", "type": "address" },
-          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
-        ],
-        "internalType": "struct Tuple6",
-        "name": "",
-        "type": "tuple"
-      }
-    ],
-    "stateMutability": "view",
     "type": "function"
   },
   {
@@ -453,7 +453,7 @@
     "inputs": [],
     "name": "uniqueCollectionType",
     "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
-    "stateMutability": "nonpayable",
+    "stateMutability": "view",
     "type": "function"
   }
 ]
modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -189,6 +189,23 @@
   },
   {
     "inputs": [],
+    "name": "collectionSponsor",
+    "outputs": [
+      {
+        "components": [
+          { "internalType": "address", "name": "field_0", "type": "address" },
+          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+        ],
+        "internalType": "struct Tuple17",
+        "name": "",
+        "type": "tuple"
+      }
+    ],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
+    "inputs": [],
     "name": "confirmCollectionSponsorship",
     "outputs": [],
     "stateMutability": "nonpayable",
@@ -231,23 +248,6 @@
     ],
     "name": "getApproved",
     "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
-    "stateMutability": "view",
-    "type": "function"
-  },
-  {
-    "inputs": [],
-    "name": "getCollectionSponsor",
-    "outputs": [
-      {
-        "components": [
-          { "internalType": "address", "name": "field_0", "type": "address" },
-          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
-        ],
-        "internalType": "struct Tuple17",
-        "name": "",
-        "type": "tuple"
-      }
-    ],
     "stateMutability": "view",
     "type": "function"
   },
@@ -651,7 +651,7 @@
     "inputs": [],
     "name": "uniqueCollectionType",
     "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
-    "stateMutability": "nonpayable",
+    "stateMutability": "view",
     "type": "function"
   }
 ]
modifiedtests/src/eth/reFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -189,6 +189,23 @@
   },
   {
     "inputs": [],
+    "name": "collectionSponsor",
+    "outputs": [
+      {
+        "components": [
+          { "internalType": "address", "name": "field_0", "type": "address" },
+          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+        ],
+        "internalType": "struct Tuple17",
+        "name": "",
+        "type": "tuple"
+      }
+    ],
+    "stateMutability": "view",
+    "type": "function"
+  },
+  {
+    "inputs": [],
     "name": "confirmCollectionSponsorship",
     "outputs": [],
     "stateMutability": "nonpayable",
@@ -231,23 +248,6 @@
     ],
     "name": "getApproved",
     "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
-    "stateMutability": "view",
-    "type": "function"
-  },
-  {
-    "inputs": [],
-    "name": "getCollectionSponsor",
-    "outputs": [
-      {
-        "components": [
-          { "internalType": "address", "name": "field_0", "type": "address" },
-          { "internalType": "uint256", "name": "field_1", "type": "uint256" }
-        ],
-        "internalType": "struct Tuple17",
-        "name": "",
-        "type": "tuple"
-      }
-    ],
     "stateMutability": "view",
     "type": "function"
   },
@@ -660,7 +660,7 @@
     "inputs": [],
     "name": "uniqueCollectionType",
     "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
-    "stateMutability": "nonpayable",
+    "stateMutability": "view",
     "type": "function"
   }
 ]