Rename SupportsInterfaceWithLookup to ERC165 (#1288)
* rename SupportsInterfaceWithLookup to ERC165 * rename SupportsInterfaceWithLookup files to ERC165
This commit is contained in:
committed by
Nicolás Venturo
parent
ab13379653
commit
661e5d86dc
@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
|
||||
|
||||
import "./IERC721.sol";
|
||||
import "./ERC721Basic.sol";
|
||||
import "../../introspection/SupportsInterfaceWithLookup.sol";
|
||||
import "../../introspection/ERC165.sol";
|
||||
|
||||
|
||||
/**
|
||||
@ -11,7 +11,7 @@ import "../../introspection/SupportsInterfaceWithLookup.sol";
|
||||
* Moreover, it includes approve all functionality using operator terminology
|
||||
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
||||
*/
|
||||
contract ERC721 is SupportsInterfaceWithLookup, ERC721Basic, IERC721 {
|
||||
contract ERC721 is ERC165, ERC721Basic, IERC721 {
|
||||
|
||||
// Token name
|
||||
string internal name_;
|
||||
|
||||
@ -4,14 +4,14 @@ import "./IERC721Basic.sol";
|
||||
import "./IERC721Receiver.sol";
|
||||
import "../../math/SafeMath.sol";
|
||||
import "../../utils/Address.sol";
|
||||
import "../../introspection/SupportsInterfaceWithLookup.sol";
|
||||
import "../../introspection/ERC165.sol";
|
||||
|
||||
|
||||
/**
|
||||
* @title ERC721 Non-Fungible Token Standard basic implementation
|
||||
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
||||
*/
|
||||
contract ERC721Basic is SupportsInterfaceWithLookup, IERC721Basic {
|
||||
contract ERC721Basic is ERC165, IERC721Basic {
|
||||
|
||||
using SafeMath for uint256;
|
||||
using Address for address;
|
||||
|
||||
Reference in New Issue
Block a user