* Updated code style to 4 spaces and 120 max characters per line. * Update contracts/token/ERC721/ERC721Pausable.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update contracts/token/ERC721/IERC721.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
24 lines
764 B
Solidity
24 lines
764 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
/**
|
|
* @title ERC20 interface
|
|
* @dev see https://github.com/ethereum/EIPs/issues/20
|
|
*/
|
|
interface IERC20 {
|
|
function totalSupply() external view returns (uint256);
|
|
|
|
function balanceOf(address who) external view returns (uint256);
|
|
|
|
function allowance(address owner, address spender) external view returns (uint256);
|
|
|
|
function transfer(address to, uint256 value) external returns (bool);
|
|
|
|
function approve(address spender, uint256 value) external returns (bool);
|
|
|
|
function transferFrom(address from, address to, uint256 value) external returns (bool);
|
|
|
|
event Transfer(address indexed from, address indexed to, uint256 value);
|
|
|
|
event Approval(address indexed owner, address indexed spender, uint256 value);
|
|
}
|