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
18}18}
1919
20/// @title Contract, which allows users to operate with collections20/// @title Contract, which allows users to operate with collections
21/// @dev the ERC-165 identifier for this interface is 0x542f507921/// @dev the ERC-165 identifier for this interface is 0x58918631
22interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {22interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
23 /// Create an NFT collection23 /// Create an NFT collection
24 /// @param name Name of the collection24 /// @param name Name of the collection
46 string memory tokenPrefix46 string memory tokenPrefix
47 ) external payable returns (address);47 ) external payable returns (address);
48
49 /// @dev EVM selector for this function is: 0xa9e7b5c0,
50 /// or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)
51 function createERC721MetadataCompatibleNFTCollection(
52 string memory name,
53 string memory description,
54 string memory tokenPrefix,
55 string memory baseUri
56 ) external payable returns (address);
5748
58 /// @dev EVM selector for this function is: 0xab173450,49 /// @dev EVM selector for this function is: 0xab173450,
59 /// or in textual repr: createRFTCollection(string,string,string)50 /// or in textual repr: createRFTCollection(string,string,string)
63 string memory tokenPrefix54 string memory tokenPrefix
64 ) external payable returns (address);55 ) external payable returns (address);
65
66 /// @dev EVM selector for this function is: 0xa5596388,
67 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
68 function createERC721MetadataCompatibleRFTCollection(
69 string memory name,
70 string memory description,
71 string memory tokenPrefix,
72 string memory baseUri
73 ) external payable returns (address);
7456
75 /// @dev EVM selector for this function is: 0x85624258,57 /// @dev EVM selector for this function is: 0x85624258,
76 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)58 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)
modifiedtests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -29,30 +29,6 @@
     "inputs": [
       { "internalType": "string", "name": "name", "type": "string" },
       { "internalType": "string", "name": "description", "type": "string" },
-      { "internalType": "string", "name": "tokenPrefix", "type": "string" },
-      { "internalType": "string", "name": "baseUri", "type": "string" }
-    ],
-    "name": "createERC721MetadataCompatibleNFTCollection",
-    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
-    "stateMutability": "payable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "string", "name": "name", "type": "string" },
-      { "internalType": "string", "name": "description", "type": "string" },
-      { "internalType": "string", "name": "tokenPrefix", "type": "string" },
-      { "internalType": "string", "name": "baseUri", "type": "string" }
-    ],
-    "name": "createERC721MetadataCompatibleRFTCollection",
-    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
-    "stateMutability": "payable",
-    "type": "function"
-  },
-  {
-    "inputs": [
-      { "internalType": "string", "name": "name", "type": "string" },
-      { "internalType": "string", "name": "description", "type": "string" },
       { "internalType": "string", "name": "tokenPrefix", "type": "string" }
     ],
     "name": "createNFTCollection",