* Change import path from zos-lib to upgrades in all contracts * Update readme with new naming * Update package and deps names * Change path to initializable in AST of networks.jsons * Migrate manifest version * Use new oz file locations * Rename in ERC20Migrator comments * Update SDK install instructions in README * Update gitignore to use new session file name * trigger CI * Fixes to readme and package version * Use 2.5.0 release of OpenZeppelin SDK
29 lines
1.3 KiB
Solidity
29 lines
1.3 KiB
Solidity
pragma solidity ^0.5.2;
|
|
|
|
import "@openzeppelin/upgrades/contracts/Initializable.sol";
|
|
import "../../introspection/IERC165.sol";
|
|
|
|
/**
|
|
* @title ERC721 Non-Fungible Token Standard basic interface
|
|
* @dev see https://eips.ethereum.org/EIPS/eip-721
|
|
*/
|
|
contract IERC721 is Initializable, 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 memory data) public;
|
|
}
|