You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
pragma solidity ^0.4.24;
|
|
|
|
import "../../introspection/IERC165.sol";
|
|
|
|
|
|
/**
|
|
* @title ERC721 Non-Fungible Token Standard basic interface
|
|
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
|
|
*/
|
|
contract IERC721Basic is IERC165 {
|
|
|
|
event Transfer(
|
|
address indexed from,
|
|
address indexed to,
|
|
uint256 indexed tokenId
|
|
);
|
|
event Approval(
|
|
address indexed owner,
|
|
address indexed approved,
|
|
uint256 indexed 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 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;
|
|
}
|
|
|