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
23}23}
2424
25/// @title Contract, which allows users to operate with collections25/// @title Contract, which allows users to operate with collections
26/// @dev the ERC-165 identifier for this interface is 0x542f507926/// @dev the ERC-165 identifier for this interface is 0x58918631
27contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {27contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
28 /// Create an NFT collection28 /// Create an NFT collection
29 /// @param name Name of the collection29 /// @param name Name of the collection
65 return 0x0000000000000000000000000000000000000000;65 return 0x0000000000000000000000000000000000000000;
66 }66 }
67
68 /// @dev EVM selector for this function is: 0xa9e7b5c0,
69 /// or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)
70 function createERC721MetadataCompatibleNFTCollection(
71 string memory name,
72 string memory description,
73 string memory tokenPrefix,
74 string memory baseUri
75 ) public payable returns (address) {
76 require(false, stub_error);
77 name;
78 description;
79 tokenPrefix;
80 baseUri;
81 dummy = 0;
82 return 0x0000000000000000000000000000000000000000;
83 }
8467
85 /// @dev EVM selector for this function is: 0xab173450,68 /// @dev EVM selector for this function is: 0xab173450,
86 /// or in textual repr: createRFTCollection(string,string,string)69 /// or in textual repr: createRFTCollection(string,string,string)
97 return 0x0000000000000000000000000000000000000000;80 return 0x0000000000000000000000000000000000000000;
98 }81 }
99
100 /// @dev EVM selector for this function is: 0xa5596388,
101 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
102 function createERC721MetadataCompatibleRFTCollection(
103 string memory name,
104 string memory description,
105 string memory tokenPrefix,
106 string memory baseUri
107 ) public payable returns (address) {
108 require(false, stub_error);
109 name;
110 description;
111 tokenPrefix;
112 baseUri;
113 dummy = 0;
114 return 0x0000000000000000000000000000000000000000;
115 }
11682
117 /// @dev EVM selector for this function is: 0x85624258,83 /// @dev EVM selector for this function is: 0x85624258,
118 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)84 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)
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
--- 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",