difftreelog
chore regenerate evm-coder files
in: master
9 files changed
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth300 }300 }301301302 // @notice A distinct Uniform Resource Identifier (URI) for a given asset.302 // @notice A distinct Uniform Resource Identifier (URI) for a given asset.303 // @dev Throws if `tokenId` is not a valid NFT. URIs are defined in RFC303 //304 // 3986. The URI may point to a JSON file that conforms to the "ERC721304 // @dev If the token has a `url` property and it is not empty, it is returned.305 // Metadata JSON Schema".305 // Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.306 // If the collection property `baseURI` is empty or absent, return "" (empty string)307 // otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix308 // otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).309 //306 // @return token's const_metadata310 // @return token's const_metadata307 //311 //308 // Selector: tokenURI(uint256) c87b56dd312 // Selector: tokenURI(uint256) c87b56ddpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungibleToken.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth29 );29 );30}30}313132// Selector: c20653fc32// Selector: 675f307433contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {33contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {34 // Create an NFT collection35 // @param name Name of the collection36 // @param description Informative description of the collection37 // @param token_prefix Token prefix to represent the collection tokens in UI and user applications38 // @return address Address of the newly created collection39 //34 // Selector: createNonfungibleCollection(string,string,string) e34a684440 // Selector: createNonfungibleCollection(string,string,string) e34a684435 function createNonfungibleCollection(41 function createNonfungibleCollection(36 string memory name,42 string memory name,75 return 0x0000000000000000000000000000000000000000;81 return 0x0000000000000000000000000000000000000000;76 }82 }778384 // Selector: createERC721MetadataCompatibleRFTCollection(string,string,string,string) a559638885 function createERC721MetadataCompatibleRFTCollection(86 string memory name,87 string memory description,88 string memory tokenPrefix,89 string memory baseUri90 ) public returns (address) {91 require(false, stub_error);92 name;93 description;94 tokenPrefix;95 baseUri;96 dummy = 0;97 return 0x0000000000000000000000000000000000000000;98 }99100 // Check if a collection exists101 // @param collection_address Address of the collection in question102 // @return bool Does the collection exist?103 //78 // Selector: isCollectionExist(address) c3de1494104 // Selector: isCollectionExist(address) c3de149479 function isCollectionExist(address collectionAddress)105 function isCollectionExist(address collectionAddress)80 public106 publictests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth20 );20 );21}21}222223// Selector: c20653fc23// Selector: 675f307424interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {24interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {25 // Create an NFT collection26 // @param name Name of the collection27 // @param description Informative description of the collection28 // @param token_prefix Token prefix to represent the collection tokens in UI and user applications29 // @return address Address of the newly created collection30 //25 // Selector: createNonfungibleCollection(string,string,string) e34a684431 // Selector: createNonfungibleCollection(string,string,string) e34a684426 function createNonfungibleCollection(32 function createNonfungibleCollection(27 string memory name,33 string memory name,44 string memory tokenPrefix50 string memory tokenPrefix45 ) external view returns (address);51 ) external view returns (address);465253 // Selector: createERC721MetadataCompatibleRFTCollection(string,string,string,string) a559638854 function createERC721MetadataCompatibleRFTCollection(55 string memory name,56 string memory description,57 string memory tokenPrefix,58 string memory baseUri59 ) external returns (address);6061 // Check if a collection exists62 // @param collection_address Address of the collection in question63 // @return bool Does the collection exist?64 //47 // Selector: isCollectionExist(address) c3de149465 // Selector: isCollectionExist(address) c3de149448 function isCollectionExist(address collectionAddress)66 function isCollectionExist(address collectionAddress)49 external67 externaltests/src/eth/api/UniqueNFT.soldiffbeforeafterboth203 function symbol() external view returns (string memory);203 function symbol() external view returns (string memory);204204205 // @notice A distinct Uniform Resource Identifier (URI) for a given asset.205 // @notice A distinct Uniform Resource Identifier (URI) for a given asset.206 // @dev Throws if `tokenId` is not a valid NFT. URIs are defined in RFC206 //207 // 3986. The URI may point to a JSON file that conforms to the "ERC721207 // @dev If the token has a `url` property and it is not empty, it is returned.208 // Metadata JSON Schema".208 // Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.209 // If the collection property `baseURI` is empty or absent, return "" (empty string)210 // otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix211 // otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).212 //209 // @return token's const_metadata213 // @return token's const_metadata210 //214 //211 // Selector: tokenURI(uint256) c87b56dd215 // Selector: tokenURI(uint256) c87b56ddtests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth30 "stateMutability": "nonpayable",30 "stateMutability": "nonpayable",31 "type": "function"31 "type": "function"32 },32 },33 {34 "inputs": [35 { "internalType": "string", "name": "name", "type": "string" },36 { "internalType": "string", "name": "description", "type": "string" },37 { "internalType": "string", "name": "tokenPrefix", "type": "string" },38 { "internalType": "string", "name": "baseUri", "type": "string" }39 ],40 "name": "createERC721MetadataCompatibleRFTCollection",41 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],42 "stateMutability": "nonpayable",43 "type": "function"44 },33 {45 {34 "inputs": [46 "inputs": [35 { "internalType": "string", "name": "name", "type": "string" },47 { "internalType": "string", "name": "name", "type": "string" },