git.delta.rocks / unique-network / refs/commits / 706a25703b77

difftreelog

test regenerate .sol for refungible

Yaroslav Bolyukin2023-01-12parent: #0f0494d.patch.diff
in: master

4 files changed

modifiedpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
641 TransferEnabled641 TransferEnabled
642}642}
643643
644/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension
645/// @dev See https://eips.ethereum.org/EIPS/eip-721
644/// @dev the ERC-165 identifier for this interface is 0x5b5e139f646/// @dev the ERC-165 identifier for this interface is 0x5b5e139f
645contract 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 contract
783}785}
784786
785/// @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 0xb365c124
787contract 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 contract
789 /// @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 }
990
991 /// @notice Returns collection helper contract address
992 /// @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}
9891000
990/// @dev anonymous struct1001/// @dev anonymous struct
10421053
1043/// @title ERC-721 Non-Fungible Token Standard1054/// @title ERC-721 Non-Fungible Token Standard
1044/// @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.md
1045/// @dev the ERC-165 identifier for this interface is 0x4016cd871056/// @dev the ERC-165 identifier for this interface is 0x80ac58cd
1046contract 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 owner
1048 /// @dev RFTs assigned to the zero address are considered invalid, and this1059 /// @dev RFTs assigned to the zero address are considered invalid, and this
1075 }1086 }
10761087
1077 /// @dev Not implemented1088 /// @dev Not implemented
1078 /// @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 }
1176
1177 /// @notice Returns collection helper contract address
1178 /// @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}
11861188
1187contract UniqueRefungible is1189contract UniqueRefungible is
modifiedtests/src/eth/abi/reFungible.jsondiffbeforeafterboth
616 { "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"
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
441 TransferEnabled441 TransferEnabled
442}442}
443443
444/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension
445/// @dev See https://eips.ethereum.org/EIPS/eip-721
444/// @dev the ERC-165 identifier for this interface is 0x5b5e139f446/// @dev the ERC-165 identifier for this interface is 0x5b5e139f
445interface 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 contract
534}536}
535537
536/// @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 0xb365c124
538interface 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 contract
540 /// @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);
665
666 /// @notice Returns collection helper contract address
667 /// @dev EVM selector for this function is: 0x1896cce6,
668 /// or in textual repr: collectionHelperAddress()
669 function collectionHelperAddress() external view returns (address);
663}670}
664671
665/// @dev anonymous struct672/// @dev anonymous struct
702709
703/// @title ERC-721 Non-Fungible Token Standard710/// @title ERC-721 Non-Fungible Token Standard
704/// @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.md
705/// @dev the ERC-165 identifier for this interface is 0x4016cd87712/// @dev the ERC-165 identifier for this interface is 0x80ac58cd
706interface 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 owner
708 /// @dev RFTs assigned to the zero address are considered invalid, and this715 /// @dev RFTs assigned to the zero address are considered invalid, and this
725 function ownerOf(uint256 tokenId) external view returns (address);732 function ownerOf(uint256 tokenId) external view returns (address);
726733
727 /// @dev Not implemented734 /// @dev Not implemented
728 /// @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);
786
787 /// @notice Returns collection helper contract address
788 /// @dev EVM selector for this function is: 0x1896cce6,
789 /// or in textual repr: collectionHelperAddress()
790 function collectionHelperAddress() external view returns (address);
791}793}
792794
793interface UniqueRefungible is795interface UniqueRefungible is