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

difftreelog

chore regenerate stubs

Yaroslav Bolyukin2022-10-13parent: #ae73107.patch.diff
in: master

8 files changed

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
@@ -444,13 +444,13 @@
 }
 
 /// @dev inlined interface
-contract ERC721MintableEvents {
+contract ERC721UniqueMintableEvents {
 	event MintingFinished();
 }
 
 /// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
 	/// @dev EVM selector for this function is: 0x05d2035b,
 	///  or in textual repr: mintingFinished()
 	function mintingFinished() public view returns (bool) {
@@ -460,41 +460,63 @@
 	}
 
 	/// @notice Function to mint token.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted NFT
-	/// @dev EVM selector for this function is: 0x40c10f19,
-	///  or in textual repr: mint(address,uint256)
-	function mint(address to, uint256 tokenId) public returns (bool) {
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x6a627842,
+	///  or in textual repr: mint(address)
+	function mint(address to) public returns (uint256) {
 		require(false, stub_error);
 		to;
-		tokenId;
 		dummy = 0;
-		return false;
+		return 0;
 	}
 
+	// /// @notice Function to mint token.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted NFT
+	// /// @dev EVM selector for this function is: 0x40c10f19,
+	// ///  or in textual repr: mint(address,uint256)
+	// function mint(address to, uint256 tokenId) public returns (bool) {
+	// 	require(false, stub_error);
+	// 	to;
+	// 	tokenId;
+	// 	dummy = 0;
+	// 	return false;
+	// }
+
 	/// @notice Function to mint token with the given tokenUri.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted NFT
 	/// @param tokenUri Token URI that would be stored in the NFT properties
-	/// @dev EVM selector for this function is: 0x50bb4e7f,
-	///  or in textual repr: mintWithTokenURI(address,uint256,string)
-	function mintWithTokenURI(
-		address to,
-		uint256 tokenId,
-		string memory tokenUri
-	) public returns (bool) {
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x45c17782,
+	///  or in textual repr: mintWithTokenURI(address,string)
+	function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {
 		require(false, stub_error);
 		to;
-		tokenId;
 		tokenUri;
 		dummy = 0;
-		return false;
+		return 0;
 	}
 
+	// /// @notice Function to mint token with the given tokenUri.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted NFT
+	// /// @param tokenUri Token URI that would be stored in the NFT properties
+	// /// @dev EVM selector for this function is: 0x50bb4e7f,
+	// ///  or in textual repr: mintWithTokenURI(address,uint256,string)
+	// function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {
+	// 	require(false, stub_error);
+	// 	to;
+	// 	tokenId;
+	// 	tokenUri;
+	// 	dummy = 0;
+	// 	return false;
+	// }
+
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0x7d64bcb4,
 	///  or in textual repr: finishMinting()
@@ -563,36 +585,36 @@
 		dummy;
 		return 0;
 	}
+	// /// @notice Function to mint multiple tokens.
+	// /// @dev `tokenIds` should be an array of consecutive numbers and first number
+	// ///  should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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) {
+	// 	require(false, stub_error);
+	// 	to;
+	// 	tokenIds;
+	// 	dummy = 0;
+	// 	return false;
+	// }
 
-	/// @notice Function to mint multiple tokens.
-	/// @dev `tokenIds` should be an array of consecutive numbers and first number
-	///  should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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) {
-		require(false, stub_error);
-		to;
-		tokenIds;
-		dummy = 0;
-		return false;
-	}
+	// /// @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
+	// ///  numbers and first number should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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, Tuple6[] memory tokens) public returns (bool) {
+	// 	require(false, stub_error);
+	// 	to;
+	// 	tokens;
+	// 	dummy = 0;
+	// 	return false;
+	// }
 
-	/// @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
-	///  numbers and first number should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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, Tuple6[] memory tokens) public returns (bool) {
-		require(false, stub_error);
-		to;
-		tokens;
-		dummy = 0;
-		return false;
-	}
 }
 
 /// @dev anonymous struct
@@ -788,7 +810,7 @@
 	ERC721,
 	ERC721Enumerable,
 	ERC721UniqueExtensions,
-	ERC721Mintable,
+	ERC721UniqueMintable,
 	ERC721Burnable,
 	ERC721Metadata,
 	Collection,
modifiedpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
before · pallets/refungible/src/stubs/UniqueRefungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7contract Dummy {8	uint8 dummy;9	string stub_error = "this contract is implemented in native";10}1112contract ERC165 is Dummy {13	function supportsInterface(bytes4 interfaceID) external view returns (bool) {14		require(false, stub_error);15		interfaceID;16		return true;17	}18}1920/// @title A contract that allows to set and delete token properties and change token property permissions.21/// @dev the ERC-165 identifier for this interface is 0x4136937722contract TokenProperties is Dummy, ERC165 {23	/// @notice Set permissions for token property.24	/// @dev Throws error if `msg.sender` is not admin or owner of the collection.25	/// @param key Property key.26	/// @param isMutable Permission to mutate property.27	/// @param collectionAdmin Permission to mutate property by collection admin if property is mutable.28	/// @param tokenOwner Permission to mutate property by token owner if property is mutable.29	/// @dev EVM selector for this function is: 0x222d97fa,30	///  or in textual repr: setTokenPropertyPermission(string,bool,bool,bool)31	function setTokenPropertyPermission(32		string memory key,33		bool isMutable,34		bool collectionAdmin,35		bool tokenOwner36	) public {37		require(false, stub_error);38		key;39		isMutable;40		collectionAdmin;41		tokenOwner;42		dummy = 0;43	}4445	/// @notice Set token property value.46	/// @dev Throws error if `msg.sender` has no permission to edit the property.47	/// @param tokenId ID of the token.48	/// @param key Property key.49	/// @param value Property value.50	/// @dev EVM selector for this function is: 0x1752d67b,51	///  or in textual repr: setProperty(uint256,string,bytes)52	function setProperty(53		uint256 tokenId,54		string memory key,55		bytes memory value56	) public {57		require(false, stub_error);58		tokenId;59		key;60		value;61		dummy = 0;62	}6364	/// @notice Delete token property value.65	/// @dev Throws error if `msg.sender` has no permission to edit the property.66	/// @param tokenId ID of the token.67	/// @param key Property key.68	/// @dev EVM selector for this function is: 0x066111d1,69	///  or in textual repr: deleteProperty(uint256,string)70	function deleteProperty(uint256 tokenId, string memory key) public {71		require(false, stub_error);72		tokenId;73		key;74		dummy = 0;75	}7677	/// @notice Get token property value.78	/// @dev Throws error if key not found79	/// @param tokenId ID of the token.80	/// @param key Property key.81	/// @return Property value bytes82	/// @dev EVM selector for this function is: 0x7228c327,83	///  or in textual repr: property(uint256,string)84	function property(uint256 tokenId, string memory key) public view returns (bytes memory) {85		require(false, stub_error);86		tokenId;87		key;88		dummy;89		return hex"";90	}91}9293/// @title A contract that allows you to work with collections.94/// @dev the ERC-165 identifier for this interface is 0x3e1e808395contract Collection is Dummy, ERC165 {96	/// Set collection property.97	///98	/// @param key Property key.99	/// @param value Propery value.100	/// @dev EVM selector for this function is: 0x2f073f66,101	///  or in textual repr: setCollectionProperty(string,bytes)102	function setCollectionProperty(string memory key, bytes memory value) public {103		require(false, stub_error);104		key;105		value;106		dummy = 0;107	}108109	/// Delete collection property.110	///111	/// @param key Property key.112	/// @dev EVM selector for this function is: 0x7b7debce,113	///  or in textual repr: deleteCollectionProperty(string)114	function deleteCollectionProperty(string memory key) public {115		require(false, stub_error);116		key;117		dummy = 0;118	}119120	/// Get collection property.121	///122	/// @dev Throws error if key not found.123	///124	/// @param key Property key.125	/// @return bytes The property corresponding to the key.126	/// @dev EVM selector for this function is: 0xcf24fd6d,127	///  or in textual repr: collectionProperty(string)128	function collectionProperty(string memory key) public view returns (bytes memory) {129		require(false, stub_error);130		key;131		dummy;132		return hex"";133	}134135	/// Set the sponsor of the collection.136	///137	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.138	///139	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.140	/// @dev EVM selector for this function is: 0x7623402e,141	///  or in textual repr: setCollectionSponsor(address)142	function setCollectionSponsor(address sponsor) public {143		require(false, stub_error);144		sponsor;145		dummy = 0;146	}147148	/// Whether there is a pending sponsor.149	/// @dev EVM selector for this function is: 0x058ac185,150	///  or in textual repr: hasCollectionPendingSponsor()151	function hasCollectionPendingSponsor() public view returns (bool) {152		require(false, stub_error);153		dummy;154		return false;155	}156157	/// Collection sponsorship confirmation.158	///159	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.160	/// @dev EVM selector for this function is: 0x3c50e97a,161	///  or in textual repr: confirmCollectionSponsorship()162	function confirmCollectionSponsorship() public {163		require(false, stub_error);164		dummy = 0;165	}166167	/// Remove collection sponsor.168	/// @dev EVM selector for this function is: 0x6e0326a3,169	///  or in textual repr: removeCollectionSponsor()170	function removeCollectionSponsor() public {171		require(false, stub_error);172		dummy = 0;173	}174175	/// Get current sponsor.176	///177	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.178	/// @dev EVM selector for this function is: 0x6ec0a9f1,179	///  or in textual repr: collectionSponsor()180	function collectionSponsor() public view returns (Tuple17 memory) {181		require(false, stub_error);182		dummy;183		return Tuple17(0x0000000000000000000000000000000000000000, 0);184	}185186	/// Set limits for the collection.187	/// @dev Throws error if limit not found.188	/// @param limit Name of the limit. Valid names:189	/// 	"accountTokenOwnershipLimit",190	/// 	"sponsoredDataSize",191	/// 	"sponsoredDataRateLimit",192	/// 	"tokenLimit",193	/// 	"sponsorTransferTimeout",194	/// 	"sponsorApproveTimeout"195	/// @param value Value of the limit.196	/// @dev EVM selector for this function is: 0x6a3841db,197	///  or in textual repr: setCollectionLimit(string,uint32)198	function setCollectionLimit(string memory limit, uint32 value) public {199		require(false, stub_error);200		limit;201		value;202		dummy = 0;203	}204205	/// Set limits for the collection.206	/// @dev Throws error if limit not found.207	/// @param limit Name of the limit. Valid names:208	/// 	"ownerCanTransfer",209	/// 	"ownerCanDestroy",210	/// 	"transfersEnabled"211	/// @param value Value of the limit.212	/// @dev EVM selector for this function is: 0x993b7fba,213	///  or in textual repr: setCollectionLimit(string,bool)214	function setCollectionLimit(string memory limit, bool value) public {215		require(false, stub_error);216		limit;217		value;218		dummy = 0;219	}220221	/// Get contract address.222	/// @dev EVM selector for this function is: 0xf6b4dfb4,223	///  or in textual repr: contractAddress()224	function contractAddress() public view returns (address) {225		require(false, stub_error);226		dummy;227		return 0x0000000000000000000000000000000000000000;228	}229230	/// Add collection admin.231	/// @param newAdmin Address of the added administrator.232	/// @dev EVM selector for this function is: 0x92e462c7,233	///  or in textual repr: addCollectionAdmin(address)234	function addCollectionAdmin(address newAdmin) public {235		require(false, stub_error);236		newAdmin;237		dummy = 0;238	}239240	/// Remove collection admin.241	///242	/// @param admin Address of the removed administrator.243	/// @dev EVM selector for this function is: 0xfafd7b42,244	///  or in textual repr: removeCollectionAdmin(address)245	function removeCollectionAdmin(address admin) public {246		require(false, stub_error);247		admin;248		dummy = 0;249	}250251	/// Toggle accessibility of collection nesting.252	///253	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'254	/// @dev EVM selector for this function is: 0x112d4586,255	///  or in textual repr: setCollectionNesting(bool)256	function setCollectionNesting(bool enable) public {257		require(false, stub_error);258		enable;259		dummy = 0;260	}261262	/// Toggle accessibility of collection nesting.263	///264	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'265	/// @param collections Addresses of collections that will be available for nesting.266	/// @dev EVM selector for this function is: 0x64872396,267	///  or in textual repr: setCollectionNesting(bool,address[])268	function setCollectionNesting(bool enable, address[] memory collections) public {269		require(false, stub_error);270		enable;271		collections;272		dummy = 0;273	}274275	/// Set the collection access method.276	/// @param mode Access mode277	/// 	0 for Normal278	/// 	1 for AllowList279	/// @dev EVM selector for this function is: 0x41835d4c,280	///  or in textual repr: setCollectionAccess(uint8)281	function setCollectionAccess(uint8 mode) public {282		require(false, stub_error);283		mode;284		dummy = 0;285	}286287	/// Checks that user allowed to operate with collection.288	///289	/// @param user User address to check.290	/// @dev EVM selector for this function is: 0xd63a8e11,291	///  or in textual repr: allowed(address)292	function allowed(address user) public view returns (bool) {293		require(false, stub_error);294		user;295		dummy;296		return false;297	}298299	/// Add the user to the allowed list.300	///301	/// @param user Address of a trusted user.302	/// @dev EVM selector for this function is: 0x67844fe6,303	///  or in textual repr: addToCollectionAllowList(address)304	function addToCollectionAllowList(address user) public {305		require(false, stub_error);306		user;307		dummy = 0;308	}309310	/// Remove the user from the allowed list.311	///312	/// @param user Address of a removed user.313	/// @dev EVM selector for this function is: 0x85c51acb,314	///  or in textual repr: removeFromCollectionAllowList(address)315	function removeFromCollectionAllowList(address user) public {316		require(false, stub_error);317		user;318		dummy = 0;319	}320321	/// Switch permission for minting.322	///323	/// @param mode Enable if "true".324	/// @dev EVM selector for this function is: 0x00018e84,325	///  or in textual repr: setCollectionMintMode(bool)326	function setCollectionMintMode(bool mode) public {327		require(false, stub_error);328		mode;329		dummy = 0;330	}331332	/// Check that account is the owner or admin of the collection333	///334	/// @param user account to verify335	/// @return "true" if account is the owner or admin336	/// @dev EVM selector for this function is: 0x9811b0c7,337	///  or in textual repr: isOwnerOrAdmin(address)338	function isOwnerOrAdmin(address user) public view returns (bool) {339		require(false, stub_error);340		user;341		dummy;342		return false;343	}344345	/// Returns collection type346	///347	/// @return `Fungible` or `NFT` or `ReFungible`348	/// @dev EVM selector for this function is: 0xd34b55b8,349	///  or in textual repr: uniqueCollectionType()350	function uniqueCollectionType() public view returns (string memory) {351		require(false, stub_error);352		dummy;353		return "";354	}355356	/// Get collection owner.357	///358	/// @return Tuble with sponsor address and his substrate mirror.359	/// If address is canonical then substrate mirror is zero and vice versa.360	/// @dev EVM selector for this function is: 0xdf727d3b,361	///  or in textual repr: collectionOwner()362	function collectionOwner() public view returns (Tuple17 memory) {363		require(false, stub_error);364		dummy;365		return Tuple17(0x0000000000000000000000000000000000000000, 0);366	}367368	/// Changes collection owner to another account369	///370	/// @dev Owner can be changed only by current owner371	/// @param newOwner new owner account372	/// @dev EVM selector for this function is: 0x13af4035,373	///  or in textual repr: setOwner(address)374	function setOwner(address newOwner) public {375		require(false, stub_error);376		newOwner;377		dummy = 0;378	}379}380381/// @dev anonymous struct382struct Tuple17 {383	address field_0;384	uint256 field_1;385}386387/// @dev the ERC-165 identifier for this interface is 0x5b5e139f388contract ERC721Metadata is Dummy, ERC165 {389	// /// @notice A descriptive name for a collection of NFTs in this contract390	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`391	// /// @dev EVM selector for this function is: 0x06fdde03,392	// ///  or in textual repr: name()393	// function name() public view returns (string memory) {394	// 	require(false, stub_error);395	// 	dummy;396	// 	return "";397	// }398399	// /// @notice An abbreviated name for NFTs in this contract400	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`401	// /// @dev EVM selector for this function is: 0x95d89b41,402	// ///  or in textual repr: symbol()403	// function symbol() public view returns (string memory) {404	// 	require(false, stub_error);405	// 	dummy;406	// 	return "";407	// }408409	/// @notice A distinct Uniform Resource Identifier (URI) for a given asset.410	///411	/// @dev If the token has a `url` property and it is not empty, it is returned.412	///  Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.413	///  If the collection property `baseURI` is empty or absent, return "" (empty string)414	///  otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix415	///  otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).416	///417	/// @return token's const_metadata418	/// @dev EVM selector for this function is: 0xc87b56dd,419	///  or in textual repr: tokenURI(uint256)420	function tokenURI(uint256 tokenId) public view returns (string memory) {421		require(false, stub_error);422		tokenId;423		dummy;424		return "";425	}426}427428/// @title ERC721 Token that can be irreversibly burned (destroyed).429/// @dev the ERC-165 identifier for this interface is 0x42966c68430contract ERC721Burnable is Dummy, ERC165 {431	/// @notice Burns a specific ERC721 token.432	/// @dev Throws unless `msg.sender` is the current RFT owner, or an authorized433	///  operator of the current owner.434	/// @param tokenId The RFT to approve435	/// @dev EVM selector for this function is: 0x42966c68,436	///  or in textual repr: burn(uint256)437	function burn(uint256 tokenId) public {438		require(false, stub_error);439		tokenId;440		dummy = 0;441	}442}443444/// @dev inlined interface445contract ERC721MintableEvents {446	event MintingFinished();447}448449/// @title ERC721 minting logic.450/// @dev the ERC-165 identifier for this interface is 0x68ccfe89451contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {452	/// @dev EVM selector for this function is: 0x05d2035b,453	///  or in textual repr: mintingFinished()454	function mintingFinished() public view returns (bool) {455		require(false, stub_error);456		dummy;457		return false;458	}459460	/// @notice Function to mint token.461	/// @dev `tokenId` should be obtained with `nextTokenId` method,462	///  unlike standard, you can't specify it manually463	/// @param to The new owner464	/// @param tokenId ID of the minted RFT465	/// @dev EVM selector for this function is: 0x40c10f19,466	///  or in textual repr: mint(address,uint256)467	function mint(address to, uint256 tokenId) public returns (bool) {468		require(false, stub_error);469		to;470		tokenId;471		dummy = 0;472		return false;473	}474475	/// @notice Function to mint token with the given tokenUri.476	/// @dev `tokenId` should be obtained with `nextTokenId` method,477	///  unlike standard, you can't specify it manually478	/// @param to The new owner479	/// @param tokenId ID of the minted RFT480	/// @param tokenUri Token URI that would be stored in the RFT properties481	/// @dev EVM selector for this function is: 0x50bb4e7f,482	///  or in textual repr: mintWithTokenURI(address,uint256,string)483	function mintWithTokenURI(484		address to,485		uint256 tokenId,486		string memory tokenUri487	) public returns (bool) {488		require(false, stub_error);489		to;490		tokenId;491		tokenUri;492		dummy = 0;493		return false;494	}495496	/// @dev Not implemented497	/// @dev EVM selector for this function is: 0x7d64bcb4,498	///  or in textual repr: finishMinting()499	function finishMinting() public returns (bool) {500		require(false, stub_error);501		dummy = 0;502		return false;503	}504}505506/// @title Unique extensions for ERC721.507/// @dev the ERC-165 identifier for this interface is 0xef1eaacb508contract ERC721UniqueExtensions is Dummy, ERC165 {509	/// @notice A descriptive name for a collection of NFTs in this contract510	/// @dev EVM selector for this function is: 0x06fdde03,511	///  or in textual repr: name()512	function name() public view returns (string memory) {513		require(false, stub_error);514		dummy;515		return "";516	}517518	/// @notice An abbreviated name for NFTs in this contract519	/// @dev EVM selector for this function is: 0x95d89b41,520	///  or in textual repr: symbol()521	function symbol() public view returns (string memory) {522		require(false, stub_error);523		dummy;524		return "";525	}526527	/// @notice Transfer ownership of an RFT528	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`529	///  is the zero address. Throws if `tokenId` is not a valid RFT.530	///  Throws if RFT pieces have multiple owners.531	/// @param to The new owner532	/// @param tokenId The RFT to transfer533	/// @dev EVM selector for this function is: 0xa9059cbb,534	///  or in textual repr: transfer(address,uint256)535	function transfer(address to, uint256 tokenId) public {536		require(false, stub_error);537		to;538		tokenId;539		dummy = 0;540	}541542	/// @notice Burns a specific ERC721 token.543	/// @dev Throws unless `msg.sender` is the current owner or an authorized544	///  operator for this RFT. Throws if `from` is not the current owner. Throws545	///  if `to` is the zero address. Throws if `tokenId` is not a valid RFT.546	///  Throws if RFT pieces have multiple owners.547	/// @param from The current owner of the RFT548	/// @param tokenId The RFT to transfer549	/// @dev EVM selector for this function is: 0x79cc6790,550	///  or in textual repr: burnFrom(address,uint256)551	function burnFrom(address from, uint256 tokenId) public {552		require(false, stub_error);553		from;554		tokenId;555		dummy = 0;556	}557558	/// @notice Returns next free RFT ID.559	/// @dev EVM selector for this function is: 0x75794a3c,560	///  or in textual repr: nextTokenId()561	function nextTokenId() public view returns (uint256) {562		require(false, stub_error);563		dummy;564		return 0;565	}566567	/// @notice Function to mint multiple tokens.568	/// @dev `tokenIds` should be an array of consecutive numbers and first number569	///  should be obtained with `nextTokenId` method570	/// @param to The new owner571	/// @param tokenIds IDs of the minted RFTs572	/// @dev EVM selector for this function is: 0x44a9945e,573	///  or in textual repr: mintBulk(address,uint256[])574	function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {575		require(false, stub_error);576		to;577		tokenIds;578		dummy = 0;579		return false;580	}581582	/// @notice Function to mint multiple tokens with the given tokenUris.583	/// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive584	///  numbers and first number should be obtained with `nextTokenId` method585	/// @param to The new owner586	/// @param tokens array of pairs of token ID and token URI for minted tokens587	/// @dev EVM selector for this function is: 0x36543006,588	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])589	function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {590		require(false, stub_error);591		to;592		tokens;593		dummy = 0;594		return false;595	}596597	/// Returns EVM address for refungible token598	///599	/// @param token ID of the token600	/// @dev EVM selector for this function is: 0xab76fac6,601	///  or in textual repr: tokenContractAddress(uint256)602	function tokenContractAddress(uint256 token) public view returns (address) {603		require(false, stub_error);604		token;605		dummy;606		return 0x0000000000000000000000000000000000000000;607	}608}609610/// @dev anonymous struct611struct Tuple6 {612	uint256 field_0;613	string field_1;614}615616/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension617/// @dev See https://eips.ethereum.org/EIPS/eip-721618/// @dev the ERC-165 identifier for this interface is 0x780e9d63619contract ERC721Enumerable is Dummy, ERC165 {620	/// @notice Enumerate valid RFTs621	/// @param index A counter less than `totalSupply()`622	/// @return The token identifier for the `index`th NFT,623	///  (sort order not specified)624	/// @dev EVM selector for this function is: 0x4f6ccce7,625	///  or in textual repr: tokenByIndex(uint256)626	function tokenByIndex(uint256 index) public view returns (uint256) {627		require(false, stub_error);628		index;629		dummy;630		return 0;631	}632633	/// Not implemented634	/// @dev EVM selector for this function is: 0x2f745c59,635	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)636	function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {637		require(false, stub_error);638		owner;639		index;640		dummy;641		return 0;642	}643644	/// @notice Count RFTs tracked by this contract645	/// @return A count of valid RFTs tracked by this contract, where each one of646	///  them has an assigned and queryable owner not equal to the zero address647	/// @dev EVM selector for this function is: 0x18160ddd,648	///  or in textual repr: totalSupply()649	function totalSupply() public view returns (uint256) {650		require(false, stub_error);651		dummy;652		return 0;653	}654}655656/// @dev inlined interface657contract ERC721Events {658	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);659	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);660	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);661}662663/// @title ERC-721 Non-Fungible Token Standard664/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md665/// @dev the ERC-165 identifier for this interface is 0x58800161666contract ERC721 is Dummy, ERC165, ERC721Events {667	/// @notice Count all RFTs assigned to an owner668	/// @dev RFTs assigned to the zero address are considered invalid, and this669	///  function throws for queries about the zero address.670	/// @param owner An address for whom to query the balance671	/// @return The number of RFTs owned by `owner`, possibly zero672	/// @dev EVM selector for this function is: 0x70a08231,673	///  or in textual repr: balanceOf(address)674	function balanceOf(address owner) public view returns (uint256) {675		require(false, stub_error);676		owner;677		dummy;678		return 0;679	}680681	/// @notice Find the owner of an RFT682	/// @dev RFTs assigned to zero address are considered invalid, and queries683	///  about them do throw.684	///  Returns special 0xffffffffffffffffffffffffffffffffffffffff address for685	///  the tokens that are partially owned.686	/// @param tokenId The identifier for an RFT687	/// @return The address of the owner of the RFT688	/// @dev EVM selector for this function is: 0x6352211e,689	///  or in textual repr: ownerOf(uint256)690	function ownerOf(uint256 tokenId) public view returns (address) {691		require(false, stub_error);692		tokenId;693		dummy;694		return 0x0000000000000000000000000000000000000000;695	}696697	/// @dev Not implemented698	/// @dev EVM selector for this function is: 0x60a11672,699	///  or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)700	function safeTransferFromWithData(701		address from,702		address to,703		uint256 tokenId,704		bytes memory data705	) public {706		require(false, stub_error);707		from;708		to;709		tokenId;710		data;711		dummy = 0;712	}713714	/// @dev Not implemented715	/// @dev EVM selector for this function is: 0x42842e0e,716	///  or in textual repr: safeTransferFrom(address,address,uint256)717	function safeTransferFrom(718		address from,719		address to,720		uint256 tokenId721	) public {722		require(false, stub_error);723		from;724		to;725		tokenId;726		dummy = 0;727	}728729	/// @notice Transfer ownership of an RFT -- THE CALLER IS RESPONSIBLE730	///  TO CONFIRM THAT `to` IS CAPABLE OF RECEIVING NFTS OR ELSE731	///  THEY MAY BE PERMANENTLY LOST732	/// @dev Throws unless `msg.sender` is the current owner or an authorized733	///  operator for this RFT. Throws if `from` is not the current owner. Throws734	///  if `to` is the zero address. Throws if `tokenId` is not a valid RFT.735	///  Throws if RFT pieces have multiple owners.736	/// @param from The current owner of the NFT737	/// @param to The new owner738	/// @param tokenId The NFT to transfer739	/// @dev EVM selector for this function is: 0x23b872dd,740	///  or in textual repr: transferFrom(address,address,uint256)741	function transferFrom(742		address from,743		address to,744		uint256 tokenId745	) public {746		require(false, stub_error);747		from;748		to;749		tokenId;750		dummy = 0;751	}752753	/// @dev Not implemented754	/// @dev EVM selector for this function is: 0x095ea7b3,755	///  or in textual repr: approve(address,uint256)756	function approve(address approved, uint256 tokenId) public {757		require(false, stub_error);758		approved;759		tokenId;760		dummy = 0;761	}762763	/// @dev Not implemented764	/// @dev EVM selector for this function is: 0xa22cb465,765	///  or in textual repr: setApprovalForAll(address,bool)766	function setApprovalForAll(address operator, bool approved) public {767		require(false, stub_error);768		operator;769		approved;770		dummy = 0;771	}772773	/// @dev Not implemented774	/// @dev EVM selector for this function is: 0x081812fc,775	///  or in textual repr: getApproved(uint256)776	function getApproved(uint256 tokenId) public view returns (address) {777		require(false, stub_error);778		tokenId;779		dummy;780		return 0x0000000000000000000000000000000000000000;781	}782783	/// @dev Not implemented784	/// @dev EVM selector for this function is: 0xe985e9c5,785	///  or in textual repr: isApprovedForAll(address,address)786	function isApprovedForAll(address owner, address operator) public view returns (address) {787		require(false, stub_error);788		owner;789		operator;790		dummy;791		return 0x0000000000000000000000000000000000000000;792	}793}794795contract UniqueRefungible is796	Dummy,797	ERC165,798	ERC721,799	ERC721Enumerable,800	ERC721UniqueExtensions,801	ERC721Mintable,802	ERC721Burnable,803	ERC721Metadata,804	Collection,805	TokenProperties806{}
after · pallets/refungible/src/stubs/UniqueRefungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7contract Dummy {8	uint8 dummy;9	string stub_error = "this contract is implemented in native";10}1112contract ERC165 is Dummy {13	function supportsInterface(bytes4 interfaceID) external view returns (bool) {14		require(false, stub_error);15		interfaceID;16		return true;17	}18}1920/// @title A contract that allows to set and delete token properties and change token property permissions.21/// @dev the ERC-165 identifier for this interface is 0x4136937722contract TokenProperties is Dummy, ERC165 {23	/// @notice Set permissions for token property.24	/// @dev Throws error if `msg.sender` is not admin or owner of the collection.25	/// @param key Property key.26	/// @param isMutable Permission to mutate property.27	/// @param collectionAdmin Permission to mutate property by collection admin if property is mutable.28	/// @param tokenOwner Permission to mutate property by token owner if property is mutable.29	/// @dev EVM selector for this function is: 0x222d97fa,30	///  or in textual repr: setTokenPropertyPermission(string,bool,bool,bool)31	function setTokenPropertyPermission(32		string memory key,33		bool isMutable,34		bool collectionAdmin,35		bool tokenOwner36	) public {37		require(false, stub_error);38		key;39		isMutable;40		collectionAdmin;41		tokenOwner;42		dummy = 0;43	}4445	/// @notice Set token property value.46	/// @dev Throws error if `msg.sender` has no permission to edit the property.47	/// @param tokenId ID of the token.48	/// @param key Property key.49	/// @param value Property value.50	/// @dev EVM selector for this function is: 0x1752d67b,51	///  or in textual repr: setProperty(uint256,string,bytes)52	function setProperty(53		uint256 tokenId,54		string memory key,55		bytes memory value56	) public {57		require(false, stub_error);58		tokenId;59		key;60		value;61		dummy = 0;62	}6364	/// @notice Delete token property value.65	/// @dev Throws error if `msg.sender` has no permission to edit the property.66	/// @param tokenId ID of the token.67	/// @param key Property key.68	/// @dev EVM selector for this function is: 0x066111d1,69	///  or in textual repr: deleteProperty(uint256,string)70	function deleteProperty(uint256 tokenId, string memory key) public {71		require(false, stub_error);72		tokenId;73		key;74		dummy = 0;75	}7677	/// @notice Get token property value.78	/// @dev Throws error if key not found79	/// @param tokenId ID of the token.80	/// @param key Property key.81	/// @return Property value bytes82	/// @dev EVM selector for this function is: 0x7228c327,83	///  or in textual repr: property(uint256,string)84	function property(uint256 tokenId, string memory key) public view returns (bytes memory) {85		require(false, stub_error);86		tokenId;87		key;88		dummy;89		return hex"";90	}91}9293/// @title A contract that allows you to work with collections.94/// @dev the ERC-165 identifier for this interface is 0x3e1e808395contract Collection is Dummy, ERC165 {96	/// Set collection property.97	///98	/// @param key Property key.99	/// @param value Propery value.100	/// @dev EVM selector for this function is: 0x2f073f66,101	///  or in textual repr: setCollectionProperty(string,bytes)102	function setCollectionProperty(string memory key, bytes memory value) public {103		require(false, stub_error);104		key;105		value;106		dummy = 0;107	}108109	/// Delete collection property.110	///111	/// @param key Property key.112	/// @dev EVM selector for this function is: 0x7b7debce,113	///  or in textual repr: deleteCollectionProperty(string)114	function deleteCollectionProperty(string memory key) public {115		require(false, stub_error);116		key;117		dummy = 0;118	}119120	/// Get collection property.121	///122	/// @dev Throws error if key not found.123	///124	/// @param key Property key.125	/// @return bytes The property corresponding to the key.126	/// @dev EVM selector for this function is: 0xcf24fd6d,127	///  or in textual repr: collectionProperty(string)128	function collectionProperty(string memory key) public view returns (bytes memory) {129		require(false, stub_error);130		key;131		dummy;132		return hex"";133	}134135	/// Set the sponsor of the collection.136	///137	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.138	///139	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.140	/// @dev EVM selector for this function is: 0x7623402e,141	///  or in textual repr: setCollectionSponsor(address)142	function setCollectionSponsor(address sponsor) public {143		require(false, stub_error);144		sponsor;145		dummy = 0;146	}147148	/// Whether there is a pending sponsor.149	/// @dev EVM selector for this function is: 0x058ac185,150	///  or in textual repr: hasCollectionPendingSponsor()151	function hasCollectionPendingSponsor() public view returns (bool) {152		require(false, stub_error);153		dummy;154		return false;155	}156157	/// Collection sponsorship confirmation.158	///159	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.160	/// @dev EVM selector for this function is: 0x3c50e97a,161	///  or in textual repr: confirmCollectionSponsorship()162	function confirmCollectionSponsorship() public {163		require(false, stub_error);164		dummy = 0;165	}166167	/// Remove collection sponsor.168	/// @dev EVM selector for this function is: 0x6e0326a3,169	///  or in textual repr: removeCollectionSponsor()170	function removeCollectionSponsor() public {171		require(false, stub_error);172		dummy = 0;173	}174175	/// Get current sponsor.176	///177	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.178	/// @dev EVM selector for this function is: 0x6ec0a9f1,179	///  or in textual repr: collectionSponsor()180	function collectionSponsor() public view returns (Tuple17 memory) {181		require(false, stub_error);182		dummy;183		return Tuple17(0x0000000000000000000000000000000000000000, 0);184	}185186	/// Set limits for the collection.187	/// @dev Throws error if limit not found.188	/// @param limit Name of the limit. Valid names:189	/// 	"accountTokenOwnershipLimit",190	/// 	"sponsoredDataSize",191	/// 	"sponsoredDataRateLimit",192	/// 	"tokenLimit",193	/// 	"sponsorTransferTimeout",194	/// 	"sponsorApproveTimeout"195	/// @param value Value of the limit.196	/// @dev EVM selector for this function is: 0x6a3841db,197	///  or in textual repr: setCollectionLimit(string,uint32)198	function setCollectionLimit(string memory limit, uint32 value) public {199		require(false, stub_error);200		limit;201		value;202		dummy = 0;203	}204205	/// Set limits for the collection.206	/// @dev Throws error if limit not found.207	/// @param limit Name of the limit. Valid names:208	/// 	"ownerCanTransfer",209	/// 	"ownerCanDestroy",210	/// 	"transfersEnabled"211	/// @param value Value of the limit.212	/// @dev EVM selector for this function is: 0x993b7fba,213	///  or in textual repr: setCollectionLimit(string,bool)214	function setCollectionLimit(string memory limit, bool value) public {215		require(false, stub_error);216		limit;217		value;218		dummy = 0;219	}220221	/// Get contract address.222	/// @dev EVM selector for this function is: 0xf6b4dfb4,223	///  or in textual repr: contractAddress()224	function contractAddress() public view returns (address) {225		require(false, stub_error);226		dummy;227		return 0x0000000000000000000000000000000000000000;228	}229230	/// Add collection admin.231	/// @param newAdmin Address of the added administrator.232	/// @dev EVM selector for this function is: 0x92e462c7,233	///  or in textual repr: addCollectionAdmin(address)234	function addCollectionAdmin(address newAdmin) public {235		require(false, stub_error);236		newAdmin;237		dummy = 0;238	}239240	/// Remove collection admin.241	///242	/// @param admin Address of the removed administrator.243	/// @dev EVM selector for this function is: 0xfafd7b42,244	///  or in textual repr: removeCollectionAdmin(address)245	function removeCollectionAdmin(address admin) public {246		require(false, stub_error);247		admin;248		dummy = 0;249	}250251	/// Toggle accessibility of collection nesting.252	///253	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'254	/// @dev EVM selector for this function is: 0x112d4586,255	///  or in textual repr: setCollectionNesting(bool)256	function setCollectionNesting(bool enable) public {257		require(false, stub_error);258		enable;259		dummy = 0;260	}261262	/// Toggle accessibility of collection nesting.263	///264	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'265	/// @param collections Addresses of collections that will be available for nesting.266	/// @dev EVM selector for this function is: 0x64872396,267	///  or in textual repr: setCollectionNesting(bool,address[])268	function setCollectionNesting(bool enable, address[] memory collections) public {269		require(false, stub_error);270		enable;271		collections;272		dummy = 0;273	}274275	/// Set the collection access method.276	/// @param mode Access mode277	/// 	0 for Normal278	/// 	1 for AllowList279	/// @dev EVM selector for this function is: 0x41835d4c,280	///  or in textual repr: setCollectionAccess(uint8)281	function setCollectionAccess(uint8 mode) public {282		require(false, stub_error);283		mode;284		dummy = 0;285	}286287	/// Checks that user allowed to operate with collection.288	///289	/// @param user User address to check.290	/// @dev EVM selector for this function is: 0xd63a8e11,291	///  or in textual repr: allowed(address)292	function allowed(address user) public view returns (bool) {293		require(false, stub_error);294		user;295		dummy;296		return false;297	}298299	/// Add the user to the allowed list.300	///301	/// @param user Address of a trusted user.302	/// @dev EVM selector for this function is: 0x67844fe6,303	///  or in textual repr: addToCollectionAllowList(address)304	function addToCollectionAllowList(address user) public {305		require(false, stub_error);306		user;307		dummy = 0;308	}309310	/// Remove the user from the allowed list.311	///312	/// @param user Address of a removed user.313	/// @dev EVM selector for this function is: 0x85c51acb,314	///  or in textual repr: removeFromCollectionAllowList(address)315	function removeFromCollectionAllowList(address user) public {316		require(false, stub_error);317		user;318		dummy = 0;319	}320321	/// Switch permission for minting.322	///323	/// @param mode Enable if "true".324	/// @dev EVM selector for this function is: 0x00018e84,325	///  or in textual repr: setCollectionMintMode(bool)326	function setCollectionMintMode(bool mode) public {327		require(false, stub_error);328		mode;329		dummy = 0;330	}331332	/// Check that account is the owner or admin of the collection333	///334	/// @param user account to verify335	/// @return "true" if account is the owner or admin336	/// @dev EVM selector for this function is: 0x9811b0c7,337	///  or in textual repr: isOwnerOrAdmin(address)338	function isOwnerOrAdmin(address user) public view returns (bool) {339		require(false, stub_error);340		user;341		dummy;342		return false;343	}344345	/// Returns collection type346	///347	/// @return `Fungible` or `NFT` or `ReFungible`348	/// @dev EVM selector for this function is: 0xd34b55b8,349	///  or in textual repr: uniqueCollectionType()350	function uniqueCollectionType() public view returns (string memory) {351		require(false, stub_error);352		dummy;353		return "";354	}355356	/// Get collection owner.357	///358	/// @return Tuble with sponsor address and his substrate mirror.359	/// If address is canonical then substrate mirror is zero and vice versa.360	/// @dev EVM selector for this function is: 0xdf727d3b,361	///  or in textual repr: collectionOwner()362	function collectionOwner() public view returns (Tuple17 memory) {363		require(false, stub_error);364		dummy;365		return Tuple17(0x0000000000000000000000000000000000000000, 0);366	}367368	/// Changes collection owner to another account369	///370	/// @dev Owner can be changed only by current owner371	/// @param newOwner new owner account372	/// @dev EVM selector for this function is: 0x13af4035,373	///  or in textual repr: setOwner(address)374	function setOwner(address newOwner) public {375		require(false, stub_error);376		newOwner;377		dummy = 0;378	}379}380381/// @dev anonymous struct382struct Tuple17 {383	address field_0;384	uint256 field_1;385}386387/// @dev the ERC-165 identifier for this interface is 0x5b5e139f388contract ERC721Metadata is Dummy, ERC165 {389	// /// @notice A descriptive name for a collection of NFTs in this contract390	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`391	// /// @dev EVM selector for this function is: 0x06fdde03,392	// ///  or in textual repr: name()393	// function name() public view returns (string memory) {394	// 	require(false, stub_error);395	// 	dummy;396	// 	return "";397	// }398399	// /// @notice An abbreviated name for NFTs in this contract400	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`401	// /// @dev EVM selector for this function is: 0x95d89b41,402	// ///  or in textual repr: symbol()403	// function symbol() public view returns (string memory) {404	// 	require(false, stub_error);405	// 	dummy;406	// 	return "";407	// }408409	/// @notice A distinct Uniform Resource Identifier (URI) for a given asset.410	///411	/// @dev If the token has a `url` property and it is not empty, it is returned.412	///  Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.413	///  If the collection property `baseURI` is empty or absent, return "" (empty string)414	///  otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix415	///  otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).416	///417	/// @return token's const_metadata418	/// @dev EVM selector for this function is: 0xc87b56dd,419	///  or in textual repr: tokenURI(uint256)420	function tokenURI(uint256 tokenId) public view returns (string memory) {421		require(false, stub_error);422		tokenId;423		dummy;424		return "";425	}426}427428/// @title ERC721 Token that can be irreversibly burned (destroyed).429/// @dev the ERC-165 identifier for this interface is 0x42966c68430contract ERC721Burnable is Dummy, ERC165 {431	/// @notice Burns a specific ERC721 token.432	/// @dev Throws unless `msg.sender` is the current RFT owner, or an authorized433	///  operator of the current owner.434	/// @param tokenId The RFT to approve435	/// @dev EVM selector for this function is: 0x42966c68,436	///  or in textual repr: burn(uint256)437	function burn(uint256 tokenId) public {438		require(false, stub_error);439		tokenId;440		dummy = 0;441	}442}443444/// @dev inlined interface445contract ERC721UniqueMintableEvents {446	event MintingFinished();447}448449/// @title ERC721 minting logic.450/// @dev the ERC-165 identifier for this interface is 0x476ff149451contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {452	/// @dev EVM selector for this function is: 0x05d2035b,453	///  or in textual repr: mintingFinished()454	function mintingFinished() public view returns (bool) {455		require(false, stub_error);456		dummy;457		return false;458	}459460	/// @notice Function to mint token.461	/// @param to The new owner462	/// @return uint256 The id of the newly minted token463	/// @dev EVM selector for this function is: 0x6a627842,464	///  or in textual repr: mint(address)465	function mint(address to) public returns (uint256) {466		require(false, stub_error);467		to;468		dummy = 0;469		return 0;470	}471472	// /// @notice Function to mint token.473	// /// @dev `tokenId` should be obtained with `nextTokenId` method,474	// ///  unlike standard, you can't specify it manually475	// /// @param to The new owner476	// /// @param tokenId ID of the minted RFT477	// /// @dev EVM selector for this function is: 0x40c10f19,478	// ///  or in textual repr: mint(address,uint256)479	// function mint(address to, uint256 tokenId) public returns (bool) {480	// 	require(false, stub_error);481	// 	to;482	// 	tokenId;483	// 	dummy = 0;484	// 	return false;485	// }486487	/// @notice Function to mint token with the given tokenUri.488	/// @param to The new owner489	/// @param tokenUri Token URI that would be stored in the NFT properties490	/// @return uint256 The id of the newly minted token491	/// @dev EVM selector for this function is: 0x45c17782,492	///  or in textual repr: mintWithTokenURI(address,string)493	function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {494		require(false, stub_error);495		to;496		tokenUri;497		dummy = 0;498		return 0;499	}500501	// /// @notice Function to mint token with the given tokenUri.502	// /// @dev `tokenId` should be obtained with `nextTokenId` method,503	// ///  unlike standard, you can't specify it manually504	// /// @param to The new owner505	// /// @param tokenId ID of the minted RFT506	// /// @param tokenUri Token URI that would be stored in the RFT properties507	// /// @dev EVM selector for this function is: 0x50bb4e7f,508	// ///  or in textual repr: mintWithTokenURI(address,uint256,string)509	// function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {510	// 	require(false, stub_error);511	// 	to;512	// 	tokenId;513	// 	tokenUri;514	// 	dummy = 0;515	// 	return false;516	// }517518	/// @dev Not implemented519	/// @dev EVM selector for this function is: 0x7d64bcb4,520	///  or in textual repr: finishMinting()521	function finishMinting() public returns (bool) {522		require(false, stub_error);523		dummy = 0;524		return false;525	}526}527528/// @title Unique extensions for ERC721.529/// @dev the ERC-165 identifier for this interface is 0xef1eaacb530contract ERC721UniqueExtensions is Dummy, ERC165 {531	/// @notice A descriptive name for a collection of NFTs in this contract532	/// @dev EVM selector for this function is: 0x06fdde03,533	///  or in textual repr: name()534	function name() public view returns (string memory) {535		require(false, stub_error);536		dummy;537		return "";538	}539540	/// @notice An abbreviated name for NFTs in this contract541	/// @dev EVM selector for this function is: 0x95d89b41,542	///  or in textual repr: symbol()543	function symbol() public view returns (string memory) {544		require(false, stub_error);545		dummy;546		return "";547	}548549	/// @notice Transfer ownership of an RFT550	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`551	///  is the zero address. Throws if `tokenId` is not a valid RFT.552	///  Throws if RFT pieces have multiple owners.553	/// @param to The new owner554	/// @param tokenId The RFT to transfer555	/// @dev EVM selector for this function is: 0xa9059cbb,556	///  or in textual repr: transfer(address,uint256)557	function transfer(address to, uint256 tokenId) public {558		require(false, stub_error);559		to;560		tokenId;561		dummy = 0;562	}563564	/// @notice Burns a specific ERC721 token.565	/// @dev Throws unless `msg.sender` is the current owner or an authorized566	///  operator for this RFT. Throws if `from` is not the current owner. Throws567	///  if `to` is the zero address. Throws if `tokenId` is not a valid RFT.568	///  Throws if RFT pieces have multiple owners.569	/// @param from The current owner of the RFT570	/// @param tokenId The RFT to transfer571	/// @dev EVM selector for this function is: 0x79cc6790,572	///  or in textual repr: burnFrom(address,uint256)573	function burnFrom(address from, uint256 tokenId) public {574		require(false, stub_error);575		from;576		tokenId;577		dummy = 0;578	}579580	/// @notice Returns next free RFT ID.581	/// @dev EVM selector for this function is: 0x75794a3c,582	///  or in textual repr: nextTokenId()583	function nextTokenId() public view returns (uint256) {584		require(false, stub_error);585		dummy;586		return 0;587	}588589	// /// @notice Function to mint multiple tokens.590	// /// @dev `tokenIds` should be an array of consecutive numbers and first number591	// ///  should be obtained with `nextTokenId` method592	// /// @param to The new owner593	// /// @param tokenIds IDs of the minted RFTs594	// /// @dev EVM selector for this function is: 0x44a9945e,595	// ///  or in textual repr: mintBulk(address,uint256[])596	// function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {597	// 	require(false, stub_error);598	// 	to;599	// 	tokenIds;600	// 	dummy = 0;601	// 	return false;602	// }603604	// /// @notice Function to mint multiple tokens with the given tokenUris.605	// /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive606	// ///  numbers and first number should be obtained with `nextTokenId` method607	// /// @param to The new owner608	// /// @param tokens array of pairs of token ID and token URI for minted tokens609	// /// @dev EVM selector for this function is: 0x36543006,610	// ///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])611	// function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {612	// 	require(false, stub_error);613	// 	to;614	// 	tokens;615	// 	dummy = 0;616	// 	return false;617	// }618619	/// Returns EVM address for refungible token620	///621	/// @param token ID of the token622	/// @dev EVM selector for this function is: 0xab76fac6,623	///  or in textual repr: tokenContractAddress(uint256)624	function tokenContractAddress(uint256 token) public view returns (address) {625		require(false, stub_error);626		token;627		dummy;628		return 0x0000000000000000000000000000000000000000;629	}630}631632/// @dev anonymous struct633struct Tuple6 {634	uint256 field_0;635	string field_1;636}637638/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension639/// @dev See https://eips.ethereum.org/EIPS/eip-721640/// @dev the ERC-165 identifier for this interface is 0x780e9d63641contract ERC721Enumerable is Dummy, ERC165 {642	/// @notice Enumerate valid RFTs643	/// @param index A counter less than `totalSupply()`644	/// @return The token identifier for the `index`th NFT,645	///  (sort order not specified)646	/// @dev EVM selector for this function is: 0x4f6ccce7,647	///  or in textual repr: tokenByIndex(uint256)648	function tokenByIndex(uint256 index) public view returns (uint256) {649		require(false, stub_error);650		index;651		dummy;652		return 0;653	}654655	/// Not implemented656	/// @dev EVM selector for this function is: 0x2f745c59,657	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)658	function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {659		require(false, stub_error);660		owner;661		index;662		dummy;663		return 0;664	}665666	/// @notice Count RFTs tracked by this contract667	/// @return A count of valid RFTs tracked by this contract, where each one of668	///  them has an assigned and queryable owner not equal to the zero address669	/// @dev EVM selector for this function is: 0x18160ddd,670	///  or in textual repr: totalSupply()671	function totalSupply() public view returns (uint256) {672		require(false, stub_error);673		dummy;674		return 0;675	}676}677678/// @dev inlined interface679contract ERC721Events {680	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);681	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);682	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);683}684685/// @title ERC-721 Non-Fungible Token Standard686/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md687/// @dev the ERC-165 identifier for this interface is 0x58800161688contract ERC721 is Dummy, ERC165, ERC721Events {689	/// @notice Count all RFTs assigned to an owner690	/// @dev RFTs assigned to the zero address are considered invalid, and this691	///  function throws for queries about the zero address.692	/// @param owner An address for whom to query the balance693	/// @return The number of RFTs owned by `owner`, possibly zero694	/// @dev EVM selector for this function is: 0x70a08231,695	///  or in textual repr: balanceOf(address)696	function balanceOf(address owner) public view returns (uint256) {697		require(false, stub_error);698		owner;699		dummy;700		return 0;701	}702703	/// @notice Find the owner of an RFT704	/// @dev RFTs assigned to zero address are considered invalid, and queries705	///  about them do throw.706	///  Returns special 0xffffffffffffffffffffffffffffffffffffffff address for707	///  the tokens that are partially owned.708	/// @param tokenId The identifier for an RFT709	/// @return The address of the owner of the RFT710	/// @dev EVM selector for this function is: 0x6352211e,711	///  or in textual repr: ownerOf(uint256)712	function ownerOf(uint256 tokenId) public view returns (address) {713		require(false, stub_error);714		tokenId;715		dummy;716		return 0x0000000000000000000000000000000000000000;717	}718719	/// @dev Not implemented720	/// @dev EVM selector for this function is: 0x60a11672,721	///  or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)722	function safeTransferFromWithData(723		address from,724		address to,725		uint256 tokenId,726		bytes memory data727	) public {728		require(false, stub_error);729		from;730		to;731		tokenId;732		data;733		dummy = 0;734	}735736	/// @dev Not implemented737	/// @dev EVM selector for this function is: 0x42842e0e,738	///  or in textual repr: safeTransferFrom(address,address,uint256)739	function safeTransferFrom(740		address from,741		address to,742		uint256 tokenId743	) public {744		require(false, stub_error);745		from;746		to;747		tokenId;748		dummy = 0;749	}750751	/// @notice Transfer ownership of an RFT -- THE CALLER IS RESPONSIBLE752	///  TO CONFIRM THAT `to` IS CAPABLE OF RECEIVING NFTS OR ELSE753	///  THEY MAY BE PERMANENTLY LOST754	/// @dev Throws unless `msg.sender` is the current owner or an authorized755	///  operator for this RFT. Throws if `from` is not the current owner. Throws756	///  if `to` is the zero address. Throws if `tokenId` is not a valid RFT.757	///  Throws if RFT pieces have multiple owners.758	/// @param from The current owner of the NFT759	/// @param to The new owner760	/// @param tokenId The NFT to transfer761	/// @dev EVM selector for this function is: 0x23b872dd,762	///  or in textual repr: transferFrom(address,address,uint256)763	function transferFrom(764		address from,765		address to,766		uint256 tokenId767	) public {768		require(false, stub_error);769		from;770		to;771		tokenId;772		dummy = 0;773	}774775	/// @dev Not implemented776	/// @dev EVM selector for this function is: 0x095ea7b3,777	///  or in textual repr: approve(address,uint256)778	function approve(address approved, uint256 tokenId) public {779		require(false, stub_error);780		approved;781		tokenId;782		dummy = 0;783	}784785	/// @dev Not implemented786	/// @dev EVM selector for this function is: 0xa22cb465,787	///  or in textual repr: setApprovalForAll(address,bool)788	function setApprovalForAll(address operator, bool approved) public {789		require(false, stub_error);790		operator;791		approved;792		dummy = 0;793	}794795	/// @dev Not implemented796	/// @dev EVM selector for this function is: 0x081812fc,797	///  or in textual repr: getApproved(uint256)798	function getApproved(uint256 tokenId) public view returns (address) {799		require(false, stub_error);800		tokenId;801		dummy;802		return 0x0000000000000000000000000000000000000000;803	}804805	/// @dev Not implemented806	/// @dev EVM selector for this function is: 0xe985e9c5,807	///  or in textual repr: isApprovedForAll(address,address)808	function isApprovedForAll(address owner, address operator) public view returns (address) {809		require(false, stub_error);810		owner;811		operator;812		dummy;813		return 0x0000000000000000000000000000000000000000;814	}815}816817contract UniqueRefungible is818	Dummy,819	ERC165,820	ERC721,821	ERC721Enumerable,822	ERC721UniqueExtensions,823	ERC721UniqueMintable,824	ERC721Burnable,825	ERC721Metadata,826	Collection,827	TokenProperties828{}
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -297,40 +297,51 @@
 }
 
 /// @dev inlined interface
-interface ERC721MintableEvents {
+interface ERC721UniqueMintableEvents {
 	event MintingFinished();
 }
 
 /// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-interface ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
 	/// @dev EVM selector for this function is: 0x05d2035b,
 	///  or in textual repr: mintingFinished()
 	function mintingFinished() external view returns (bool);
 
 	/// @notice Function to mint token.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted NFT
-	/// @dev EVM selector for this function is: 0x40c10f19,
-	///  or in textual repr: mint(address,uint256)
-	function mint(address to, uint256 tokenId) external returns (bool);
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x6a627842,
+	///  or in textual repr: mint(address)
+	function mint(address to) external returns (uint256);
+
+	// /// @notice Function to mint token.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted NFT
+	// /// @dev EVM selector for this function is: 0x40c10f19,
+	// ///  or in textual repr: mint(address,uint256)
+	// function mint(address to, uint256 tokenId) external returns (bool);
 
 	/// @notice Function to mint token with the given tokenUri.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted NFT
 	/// @param tokenUri Token URI that would be stored in the NFT properties
-	/// @dev EVM selector for this function is: 0x50bb4e7f,
-	///  or in textual repr: mintWithTokenURI(address,uint256,string)
-	function mintWithTokenURI(
-		address to,
-		uint256 tokenId,
-		string memory tokenUri
-	) external returns (bool);
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x45c17782,
+	///  or in textual repr: mintWithTokenURI(address,string)
+	function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);
 
+	// /// @notice Function to mint token with the given tokenUri.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted NFT
+	// /// @param tokenUri Token URI that would be stored in the NFT properties
+	// /// @dev EVM selector for this function is: 0x50bb4e7f,
+	// ///  or in textual repr: mintWithTokenURI(address,uint256,string)
+	// function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);
+
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0x7d64bcb4,
 	///  or in textual repr: finishMinting()
@@ -373,24 +384,24 @@
 	/// @dev EVM selector for this function is: 0x75794a3c,
 	///  or in textual repr: nextTokenId()
 	function nextTokenId() external view returns (uint256);
+	// /// @notice Function to mint multiple tokens.
+	// /// @dev `tokenIds` should be an array of consecutive numbers and first number
+	// ///  should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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);
 
-	/// @notice Function to mint multiple tokens.
-	/// @dev `tokenIds` should be an array of consecutive numbers and first number
-	///  should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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);
+	// /// @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
+	// ///  numbers and first number should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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, Tuple6[] memory tokens) 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
-	///  numbers and first number should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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, Tuple6[] memory tokens) external returns (bool);
 }
 
 /// @dev anonymous struct
@@ -521,7 +532,7 @@
 	ERC721,
 	ERC721Enumerable,
 	ERC721UniqueExtensions,
-	ERC721Mintable,
+	ERC721UniqueMintable,
 	ERC721Burnable,
 	ERC721Metadata,
 	Collection,
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -295,40 +295,51 @@
 }
 
 /// @dev inlined interface
-interface ERC721MintableEvents {
+interface ERC721UniqueMintableEvents {
 	event MintingFinished();
 }
 
 /// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-interface ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
 	/// @dev EVM selector for this function is: 0x05d2035b,
 	///  or in textual repr: mintingFinished()
 	function mintingFinished() external view returns (bool);
 
 	/// @notice Function to mint token.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted RFT
-	/// @dev EVM selector for this function is: 0x40c10f19,
-	///  or in textual repr: mint(address,uint256)
-	function mint(address to, uint256 tokenId) external returns (bool);
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x6a627842,
+	///  or in textual repr: mint(address)
+	function mint(address to) external returns (uint256);
 
+	// /// @notice Function to mint token.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted RFT
+	// /// @dev EVM selector for this function is: 0x40c10f19,
+	// ///  or in textual repr: mint(address,uint256)
+	// function mint(address to, uint256 tokenId) external returns (bool);
+
 	/// @notice Function to mint token with the given tokenUri.
-	/// @dev `tokenId` should be obtained with `nextTokenId` method,
-	///  unlike standard, you can't specify it manually
 	/// @param to The new owner
-	/// @param tokenId ID of the minted RFT
-	/// @param tokenUri Token URI that would be stored in the RFT properties
-	/// @dev EVM selector for this function is: 0x50bb4e7f,
-	///  or in textual repr: mintWithTokenURI(address,uint256,string)
-	function mintWithTokenURI(
-		address to,
-		uint256 tokenId,
-		string memory tokenUri
-	) external returns (bool);
+	/// @param tokenUri Token URI that would be stored in the NFT properties
+	/// @return uint256 The id of the newly minted token
+	/// @dev EVM selector for this function is: 0x45c17782,
+	///  or in textual repr: mintWithTokenURI(address,string)
+	function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);
 
+	// /// @notice Function to mint token with the given tokenUri.
+	// /// @dev `tokenId` should be obtained with `nextTokenId` method,
+	// ///  unlike standard, you can't specify it manually
+	// /// @param to The new owner
+	// /// @param tokenId ID of the minted RFT
+	// /// @param tokenUri Token URI that would be stored in the RFT properties
+	// /// @dev EVM selector for this function is: 0x50bb4e7f,
+	// ///  or in textual repr: mintWithTokenURI(address,uint256,string)
+	// function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);
+
 	/// @dev Not implemented
 	/// @dev EVM selector for this function is: 0x7d64bcb4,
 	///  or in textual repr: finishMinting()
@@ -374,23 +385,23 @@
 	///  or in textual repr: nextTokenId()
 	function nextTokenId() external view returns (uint256);
 
-	/// @notice Function to mint multiple tokens.
-	/// @dev `tokenIds` should be an array of consecutive numbers and first number
-	///  should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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);
+	// /// @notice Function to mint multiple tokens.
+	// /// @dev `tokenIds` should be an array of consecutive numbers and first number
+	// ///  should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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);
 
-	/// @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
-	///  numbers and first number should be obtained with `nextTokenId` method
-	/// @param to The new owner
-	/// @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, Tuple6[] memory tokens) 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
+	// ///  numbers and first number should be obtained with `nextTokenId` method
+	// /// @param to The new owner
+	// /// @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, Tuple6[] memory tokens) external returns (bool);
 
 	/// Returns EVM address for refungible token
 	///
@@ -526,7 +537,7 @@
 	ERC721,
 	ERC721Enumerable,
 	ERC721UniqueExtensions,
-	ERC721Mintable,
+	ERC721UniqueMintable,
 	ERC721Burnable,
 	ERC721Metadata,
 	Collection,
modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -260,51 +260,19 @@
     "type": "function"
   },
   {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
-    ],
+    "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
     "name": "mint",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
-    "stateMutability": "nonpayable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
-    ],
-    "name": "mintBulk",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
-    "stateMutability": "nonpayable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      {
-        "components": [
-          { "internalType": "uint256", "name": "field_0", "type": "uint256" },
-          { "internalType": "string", "name": "field_1", "type": "string" }
-        ],
-        "internalType": "struct Tuple6[]",
-        "name": "tokens",
-        "type": "tuple[]"
-      }
-    ],
-    "name": "mintBulkWithTokenURI",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
     "stateMutability": "nonpayable",
     "type": "function"
   },
   {
     "inputs": [
       { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
       { "internalType": "string", "name": "tokenUri", "type": "string" }
     ],
     "name": "mintWithTokenURI",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
     "stateMutability": "nonpayable",
     "type": "function"
   },
modifiedtests/src/eth/reFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -260,51 +260,19 @@
     "type": "function"
   },
   {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
-    ],
+    "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
     "name": "mint",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
-    "stateMutability": "nonpayable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
-    ],
-    "name": "mintBulk",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
-    "stateMutability": "nonpayable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "address", "name": "to", "type": "address" },
-      {
-        "components": [
-          { "internalType": "uint256", "name": "field_0", "type": "uint256" },
-          { "internalType": "string", "name": "field_1", "type": "string" }
-        ],
-        "internalType": "struct Tuple6[]",
-        "name": "tokens",
-        "type": "tuple[]"
-      }
-    ],
-    "name": "mintBulkWithTokenURI",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
     "stateMutability": "nonpayable",
     "type": "function"
   },
   {
     "inputs": [
       { "internalType": "address", "name": "to", "type": "address" },
-      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
       { "internalType": "string", "name": "tokenUri", "type": "string" }
     ],
     "name": "mintWithTokenURI",
-    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
     "stateMutability": "nonpayable",
     "type": "function"
   },