IERC721Enumerable.sol 469 B

1234567891011121314
  1. pragma solidity ^0.6.2;
  2. import "./IERC721.sol";
  3. /**
  4. * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
  5. * @dev See https://eips.ethereum.org/EIPS/eip-721
  6. */
  7. interface IERC721Enumerable is IERC721 {
  8. function totalSupply() external view returns (uint256);
  9. function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
  10. function tokenByIndex(uint256 index) external view returns (uint256);
  11. }