96cad7de9c
* tests: reorganize testing packages * gitignore and minor changes
27 lines
784 B
Solidity
27 lines
784 B
Solidity
pragma solidity ^0.5.17;
|
|
|
|
|
|
/**
|
|
* @title ERC20 interface
|
|
* @dev see https://github.com/ethereum/EIPs/issues/20
|
|
*/
|
|
contract ERC20 {
|
|
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);
|
|
}
|