Skip to content

Instantly share code, notes, and snippets.

@fourswordsio
Created November 30, 2019 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourswordsio/4dc75e5163089f53204047d1f258a0fc to your computer and use it in GitHub Desktop.
Save fourswordsio/4dc75e5163089f53204047d1f258a0fc to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.24;
contract ERC721 {
event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);
event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);
function balanceOf(address _owner) public view returns (uint256 _balance);
function ownerOf(uint256 _tokenId) public view returns (address _owner);
function transfer(address _to, uint256 _tokenId) public;
function approve(address _to, uint256 _tokenId) public;
function takeOwnership(uint256 _tokenId) public;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment