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.
35 lines
791 B
35 lines
791 B
pragma solidity ^0.4.24;
|
|
|
|
|
|
/**
|
|
* @title ERC20 interface
|
|
* @dev see https://github.com/ethereum/EIPs/issues/20
|
|
*/
|
|
interface IERC20 {
|
|
function totalSupply() public view returns (uint256);
|
|
|
|
function balanceOf(address _who) public view returns (uint256);
|
|
|
|
function allowance(address _owner, address _spender)
|
|
public view returns (uint256);
|
|
|
|
function transfer(address _to, uint256 _value) public returns (bool);
|
|
|
|
function approve(address _spender, uint256 _value)
|
|
public returns (bool);
|
|
|
|
function transferFrom(address _from, address _to, uint256 _value)
|
|
public returns (bool);
|
|
|
|
event Transfer(
|
|
address indexed from,
|
|
address indexed to,
|
|
uint256 value
|
|
);
|
|
|
|
event Approval(
|
|
address indexed owner,
|
|
address indexed spender,
|
|
uint256 value
|
|
);
|
|
}
|
|
|