forked from OpenZeppelin/openzeppelin-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide ERC721 required functionality interface
- Loading branch information
1 parent
146a22c
commit 5fc5ded
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
pragma solidity ^0.4.18; | ||
|
||
/** | ||
* @title ERC721 interface | ||
* @dev see https://github.com/ethereum/eips/issues/721 | ||
*/ | ||
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; | ||
} |