IERC721Enumerable.sol 503 B

1234567891011121314151617181920
  1. pragma solidity ^0.4.24;
  2. import "./IERC721.sol";
  3. /**
  4. * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
  5. * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
  6. */
  7. contract IERC721Enumerable is IERC721 {
  8. function totalSupply() public view returns (uint256);
  9. function tokenOfOwnerByIndex(
  10. address owner,
  11. uint256 index
  12. )
  13. public
  14. view
  15. returns (uint256 tokenId);
  16. function tokenByIndex(uint256 index) public view returns (uint256);
  17. }