You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
pragma solidity ^0.4.24;
|
|
|
|
import "./ERC721Basic.sol";
|
|
|
|
|
|
/**
|
|
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
|
|
* @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
|
*/
|
|
contract ERC721Enumerable is ERC721Basic {
|
|
function totalSupply() public view returns (uint256);
|
|
function tokenOfOwnerByIndex(
|
|
address _owner,
|
|
uint256 _index
|
|
)
|
|
public
|
|
view
|
|
returns (uint256 _tokenId);
|
|
|
|
function tokenByIndex(uint256 _index) public view returns (uint256);
|
|
}
|
|
|
|
|
|
/**
|
|
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
|
|
* @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
|
*/
|
|
contract ERC721Metadata is ERC721Basic {
|
|
function name() external view returns (string _name);
|
|
function symbol() external view returns (string _symbol);
|
|
function tokenURI(uint256 _tokenId) public view returns (string);
|
|
}
|
|
|
|
|
|
/**
|
|
* @title ERC-721 Non-Fungible Token Standard, full implementation interface
|
|
* @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
|
*/
|
|
contract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata {
|
|
}
|
|
|