difftreelog
test regenerate .sol for refungible
in: master
4 files changed
pallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth641 TransferEnabled641 TransferEnabled642}642}643643644/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension645/// @dev See https://eips.ethereum.org/EIPS/eip-721644/// @dev the ERC-165 identifier for this interface is 0x5b5e139f646/// @dev the ERC-165 identifier for this interface is 0x5b5e139f645contract ERC721Metadata is Dummy, ERC165 {647contract ERC721Metadata is Dummy, ERC165 {646 // /// @notice A descriptive name for a collection of NFTs in this contract648 // /// @notice A descriptive name for a collection of NFTs in this contract783}785}784786785/// @title Unique extensions for ERC721.787/// @title Unique extensions for ERC721.786/// @dev the ERC-165 identifier for this interface is 0xabf30dc2788/// @dev the ERC-165 identifier for this interface is 0xb365c124787contract ERC721UniqueExtensions is Dummy, ERC165 {789contract ERC721UniqueExtensions is Dummy, ERC165 {788 /// @notice A descriptive name for a collection of NFTs in this contract790 /// @notice A descriptive name for a collection of NFTs in this contract789 /// @dev EVM selector for this function is: 0x06fdde03,791 /// @dev EVM selector for this function is: 0x06fdde03,986 return 0x0000000000000000000000000000000000000000;988 return 0x0000000000000000000000000000000000000000;987 }989 }990991 /// @notice Returns collection helper contract address992 /// @dev EVM selector for this function is: 0x1896cce6,993 /// or in textual repr: collectionHelperAddress()994 function collectionHelperAddress() public view returns (address) {995 require(false, stub_error);996 dummy;997 return 0x0000000000000000000000000000000000000000;998 }988}999}9891000990/// @dev anonymous struct1001/// @dev anonymous struct104210531043/// @title ERC-721 Non-Fungible Token Standard1054/// @title ERC-721 Non-Fungible Token Standard1044/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md1055/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md1045/// @dev the ERC-165 identifier for this interface is 0x4016cd871056/// @dev the ERC-165 identifier for this interface is 0x80ac58cd1046contract ERC721 is Dummy, ERC165, ERC721Events {1057contract ERC721 is Dummy, ERC165, ERC721Events {1047 /// @notice Count all RFTs assigned to an owner1058 /// @notice Count all RFTs assigned to an owner1048 /// @dev RFTs assigned to the zero address are considered invalid, and this1059 /// @dev RFTs assigned to the zero address are considered invalid, and this1075 }1086 }107610871077 /// @dev Not implemented1088 /// @dev Not implemented1078 /// @dev EVM selector for this function is: 0x60a11672,1089 /// @dev EVM selector for this function is: 0xb88d4fde,1079 /// or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)1090 /// or in textual repr: safeTransferFrom(address,address,uint256,bytes)1080 function safeTransferFromWithData(1091 function safeTransferFrom(1081 address from,1092 address from,1082 address to,1093 address to,1083 uint256 tokenId,1094 uint256 tokenId,1174 return false;1185 return false;1175 }1186 }11761177 /// @notice Returns collection helper contract address1178 /// @dev EVM selector for this function is: 0x1896cce6,1179 /// or in textual repr: collectionHelperAddress()1180 function collectionHelperAddress() public view returns (address) {1181 require(false, stub_error);1182 dummy;1183 return 0x0000000000000000000000000000000000000000;1184 }1185}1187}118611881187contract UniqueRefungible is1189contract UniqueRefungible istests/src/eth/abi/reFungible.jsondiffbeforeafterboth616 { "internalType": "uint256", "name": "tokenId", "type": "uint256" },616 { "internalType": "uint256", "name": "tokenId", "type": "uint256" },617 { "internalType": "bytes", "name": "data", "type": "bytes" }617 { "internalType": "bytes", "name": "data", "type": "bytes" }618 ],618 ],619 "name": "safeTransferFromWithData",619 "name": "safeTransferFrom",620 "outputs": [],620 "outputs": [],621 "stateMutability": "nonpayable",621 "stateMutability": "nonpayable",622 "type": "function"622 "type": "function"tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth441 TransferEnabled441 TransferEnabled442}442}443443444/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension445/// @dev See https://eips.ethereum.org/EIPS/eip-721444/// @dev the ERC-165 identifier for this interface is 0x5b5e139f446/// @dev the ERC-165 identifier for this interface is 0x5b5e139f445interface ERC721Metadata is Dummy, ERC165 {447interface ERC721Metadata is Dummy, ERC165 {446 // /// @notice A descriptive name for a collection of NFTs in this contract448 // /// @notice A descriptive name for a collection of NFTs in this contract534}536}535537536/// @title Unique extensions for ERC721.538/// @title Unique extensions for ERC721.537/// @dev the ERC-165 identifier for this interface is 0xabf30dc2539/// @dev the ERC-165 identifier for this interface is 0xb365c124538interface ERC721UniqueExtensions is Dummy, ERC165 {540interface ERC721UniqueExtensions is Dummy, ERC165 {539 /// @notice A descriptive name for a collection of NFTs in this contract541 /// @notice A descriptive name for a collection of NFTs in this contract540 /// @dev EVM selector for this function is: 0x06fdde03,542 /// @dev EVM selector for this function is: 0x06fdde03,661 /// or in textual repr: tokenContractAddress(uint256)663 /// or in textual repr: tokenContractAddress(uint256)662 function tokenContractAddress(uint256 token) external view returns (address);664 function tokenContractAddress(uint256 token) external view returns (address);665666 /// @notice Returns collection helper contract address667 /// @dev EVM selector for this function is: 0x1896cce6,668 /// or in textual repr: collectionHelperAddress()669 function collectionHelperAddress() external view returns (address);663}670}664671665/// @dev anonymous struct672/// @dev anonymous struct702709703/// @title ERC-721 Non-Fungible Token Standard710/// @title ERC-721 Non-Fungible Token Standard704/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md711/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md705/// @dev the ERC-165 identifier for this interface is 0x4016cd87712/// @dev the ERC-165 identifier for this interface is 0x80ac58cd706interface ERC721 is Dummy, ERC165, ERC721Events {713interface ERC721 is Dummy, ERC165, ERC721Events {707 /// @notice Count all RFTs assigned to an owner714 /// @notice Count all RFTs assigned to an owner708 /// @dev RFTs assigned to the zero address are considered invalid, and this715 /// @dev RFTs assigned to the zero address are considered invalid, and this725 function ownerOf(uint256 tokenId) external view returns (address);732 function ownerOf(uint256 tokenId) external view returns (address);726733727 /// @dev Not implemented734 /// @dev Not implemented728 /// @dev EVM selector for this function is: 0x60a11672,735 /// @dev EVM selector for this function is: 0xb88d4fde,729 /// or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)736 /// or in textual repr: safeTransferFrom(address,address,uint256,bytes)730 function safeTransferFromWithData(737 function safeTransferFrom(731 address from,738 address from,732 address to,739 address to,733 uint256 tokenId,740 uint256 tokenId,784 /// or in textual repr: isApprovedForAll(address,address)791 /// or in textual repr: isApprovedForAll(address,address)785 function isApprovedForAll(address owner, address operator) external view returns (bool);792 function isApprovedForAll(address owner, address operator) external view returns (bool);786787 /// @notice Returns collection helper contract address788 /// @dev EVM selector for this function is: 0x1896cce6,789 /// or in textual repr: collectionHelperAddress()790 function collectionHelperAddress() external view returns (address);791}793}792794793interface UniqueRefungible is795interface UniqueRefungible is