difftreelog
chore update stubs
in: master
4 files changed
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth24}24}252526/// @title Contract, which allows users to operate with collections26/// @title Contract, which allows users to operate with collections27/// @dev the ERC-165 identifier for this interface is 0xd8b3603927/// @dev the ERC-165 identifier for this interface is 0x7dea03b128contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {28contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {29 /// Create an NFT collection29 /// Create an NFT collection30 /// @param name Name of the collection30 /// @param name Name of the collection77 return 0x0000000000000000000000000000000000000000;77 return 0x0000000000000000000000000000000000000000;78 }78 }7980 /// @dev EVM selector for this function is: 0xa5596388,81 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)82 function createERC721MetadataCompatibleRFTCollection(83 string memory name,84 string memory description,85 string memory tokenPrefix,86 string memory baseUri87 ) public payable returns (address) {88 require(false, stub_error);89 name;90 description;91 tokenPrefix;92 baseUri;93 dummy = 0;94 return 0x0000000000000000000000000000000000000000;95 }967997 /// @dev EVM selector for this function is: 0x7335b79f,80 /// @dev EVM selector for this function is: 0x7335b79f,98 /// or in textual repr: createFTCollection(string,uint8,string,string)81 /// or in textual repr: createFTCollection(string,uint8,string,string)tests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -19,7 +19,7 @@
}
/// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0xd8b36039
+/// @dev the ERC-165 identifier for this interface is 0x7dea03b1
interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -49,15 +49,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: 0x7335b79f,
tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -41,18 +41,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": "createERC721MetadataCompatibleRFTCollection",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "payable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "string", "name": "name", "type": "string" },
{ "internalType": "uint8", "name": "decimals", "type": "uint8" },
{ "internalType": "string", "name": "description", "type": "string" },
{ "internalType": "string", "name": "tokenPrefix", "type": "string" }