* Update to ganache-cli v6.1.0 and truffle v4.1.0 * Update to stable version of ganache-cli * fix: update event emission warning - Fix event emission warnings for solidity 4.21 after truffle has been updated to use this version * fix pr review comments * update to truffle v4.1.5 * update package-lock * add additional emit keywords * update solidity-coverage to 0.4.15 * update to solium 1.1.6 * fix MerkleProof coverage analysis by testing through wrapper * change version pragma to ^0.4.21 * fix solium linting errors
34 lines
1.1 KiB
Solidity
34 lines
1.1 KiB
Solidity
pragma solidity ^0.4.21;
|
|
|
|
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() public view returns (string _name);
|
|
function symbol() public 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 {
|
|
}
|