2017-11-10 07:46:04 +00:00
|
|
|
pragma solidity ^0.4.15;
|
2017-08-20 18:29:37 +00:00
|
|
|
|
|
|
|
contract ERC20 {
|
|
|
|
uint256 public totalSupply;
|
2017-11-10 07:46:04 +00:00
|
|
|
function balanceOf(address who) constant returns (uint256);
|
|
|
|
function allowance(address owner, address spender) constant returns (uint256);
|
|
|
|
function transfer(address to, uint256 value) returns (bool ok);
|
|
|
|
function transferFrom(address from, address to, uint256 value) returns (bool ok);
|
|
|
|
function approve(address spender, uint256 value) returns (bool ok);
|
2017-08-20 18:29:37 +00:00
|
|
|
event Transfer(address indexed from, address indexed to, uint256 value);
|
|
|
|
event Approval(address indexed owner, address indexed spender, uint256 value);
|
|
|
|
}
|