git.delta.rocks / unique-network / refs/commits / 088ceb16caa8

difftreelog

chore regenerate stubs

Yaroslav Bolyukin2022-10-14parent: #6bf51e4.patch.diff
in: master

4 files changed

modifiedpallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth
--- a/pallets/unique/src/eth/stubs/CollectionHelpers.sol
+++ b/pallets/unique/src/eth/stubs/CollectionHelpers.sol
@@ -23,7 +23,7 @@
 }
 
 /// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0x542f5079
+/// @dev the ERC-165 identifier for this interface is 0x58918631
 contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
 	/// Create an NFT collection
 	/// @param name Name of the collection
@@ -56,28 +56,11 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) public payable returns (address) {
-		require(false, stub_error);
-		name;
-		description;
-		tokenPrefix;
-		dummy = 0;
-		return 0x0000000000000000000000000000000000000000;
-	}
-
-	/// @dev EVM selector for this function is: 0xa9e7b5c0,
-	///  or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)
-	function createERC721MetadataCompatibleNFTCollection(
-		string memory name,
-		string memory description,
-		string memory tokenPrefix,
-		string memory baseUri
 	) public payable returns (address) {
 		require(false, stub_error);
 		name;
 		description;
 		tokenPrefix;
-		baseUri;
 		dummy = 0;
 		return 0x0000000000000000000000000000000000000000;
 	}
@@ -88,28 +71,11 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) public payable returns (address) {
-		require(false, stub_error);
-		name;
-		description;
-		tokenPrefix;
-		dummy = 0;
-		return 0x0000000000000000000000000000000000000000;
-	}
-
-	/// @dev EVM selector for this function is: 0xa5596388,
-	///  or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
-	function createERC721MetadataCompatibleRFTCollection(
-		string memory name,
-		string memory description,
-		string memory tokenPrefix,
-		string memory baseUri
 	) public payable returns (address) {
 		require(false, stub_error);
 		name;
 		description;
 		tokenPrefix;
-		baseUri;
 		dummy = 0;
 		return 0x0000000000000000000000000000000000000000;
 	}
modifiedtests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth
--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -18,7 +18,7 @@
 }
 
 /// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0x542f5079
+/// @dev the ERC-165 identifier for this interface is 0x58918631
 interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
 	/// Create an NFT collection
 	/// @param name Name of the collection
@@ -44,15 +44,6 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) external payable returns (address);
-
-	/// @dev EVM selector for this function is: 0xa9e7b5c0,
-	///  or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)
-	function createERC721MetadataCompatibleNFTCollection(
-		string memory name,
-		string memory description,
-		string memory tokenPrefix,
-		string memory baseUri
 	) external payable returns (address);
 
 	/// @dev EVM selector for this function is: 0xab173450,
@@ -61,15 +52,6 @@
 		string memory name,
 		string memory description,
 		string memory tokenPrefix
-	) external payable returns (address);
-
-	/// @dev EVM selector for this function is: 0xa5596388,
-	///  or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
-	function createERC721MetadataCompatibleRFTCollection(
-		string memory name,
-		string memory description,
-		string memory tokenPrefix,
-		string memory baseUri
 	) external payable returns (address);
 
 	/// @dev EVM selector for this function is: 0x85624258,
modifiedtests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth
25 "stateMutability": "view",25 "stateMutability": "view",
26 "type": "function"26 "type": "function"
27 },27 },
28 {
29 "inputs": [
30 { "internalType": "string", "name": "name", "type": "string" },
31 { "internalType": "string", "name": "description", "type": "string" },
32 { "internalType": "string", "name": "tokenPrefix", "type": "string" },
33 { "internalType": "string", "name": "baseUri", "type": "string" }
34 ],
35 "name": "createERC721MetadataCompatibleNFTCollection",
36 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
37 "stateMutability": "payable",
38 "type": "function"
39 },
40 {
41 "inputs": [
42 { "internalType": "string", "name": "name", "type": "string" },
43 { "internalType": "string", "name": "description", "type": "string" },
44 { "internalType": "string", "name": "tokenPrefix", "type": "string" },
45 { "internalType": "string", "name": "baseUri", "type": "string" }
46 ],
47 "name": "createERC721MetadataCompatibleRFTCollection",
48 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
49 "stateMutability": "payable",
50 "type": "function"
51 },
52 {28 {
53 "inputs": [29 "inputs": [
54 { "internalType": "string", "name": "name", "type": "string" },30 { "internalType": "string", "name": "name", "type": "string" },