difftreelog
chore regenerate stubs
in: master
4 files changed
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth23}23}242425/// @title Contract, which allows users to operate with collections25/// @title Contract, which allows users to operate with collections26/// @dev the ERC-165 identifier for this interface is 0x542f507926/// @dev the ERC-165 identifier for this interface is 0x5891863127contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {27contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {28 /// Create an NFT collection28 /// Create an NFT collection29 /// @param name Name of the collection29 /// @param name Name of the collection65 return 0x0000000000000000000000000000000000000000;65 return 0x0000000000000000000000000000000000000000;66 }66 }6768 /// @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 baseUri75 ) public payable returns (address) {76 require(false, stub_error);77 name;78 description;79 tokenPrefix;80 baseUri;81 dummy = 0;82 return 0x0000000000000000000000000000000000000000;83 }846785 /// @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 }99100 /// @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 baseUri107 ) public payable returns (address) {108 require(false, stub_error);109 name;110 description;111 tokenPrefix;112 baseUri;113 dummy = 0;114 return 0x0000000000000000000000000000000000000000;115 }11682117 /// @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)tests/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,
tests/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",