Created
March 24, 2018 03:52
-
-
Save brennhill/849cff6286519c78622fb0585bbcf246 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.18; | |
/** | |
* @title ERC721 Non-Fungible Token Standard basic interface | |
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md | |
*/ | |
contract ERC721Basic { | |
event Transfer(address indexed _from, address indexed _to, uint256 _tokenId); | |
event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId); | |
event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved); | |
function balanceOf(address _owner) public view returns (uint256 _balance); | |
function ownerOf(uint256 _tokenId) public view returns (address _owner); | |
function exists(uint256 _tokenId) public view returns (bool _exists); | |
function approve(address _to, uint256 _tokenId) public; | |
function getApproved(uint256 _tokenId) public view returns (address _operator); | |
function setApprovalForAll(address _operator, bool _approved) public; | |
function isApprovedForAll(address _owner, address _operator) public view returns (bool); | |
function transferFrom(address _from, address _to, uint256 _tokenId) public; | |
function safeTransferFrom(address _from, address _to, uint256 _tokenId) public; | |
function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes _data) public; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment