parent
a1aa74f96d
commit
52120a8c42
@ -1,18 +1,17 @@ |
||||
pragma solidity ^0.4.8; |
||||
|
||||
|
||||
import './ERC20Basic.sol'; |
||||
|
||||
|
||||
/* |
||||
* ERC20 interface |
||||
* see https://github.com/ethereum/EIPs/issues/20 |
||||
*/ |
||||
contract ERC20 { |
||||
uint public totalSupply; |
||||
function balanceOf(address who) constant returns (uint); |
||||
contract ERC20 is ERC20Basic { |
||||
function allowance(address owner, address spender) constant returns (uint); |
||||
|
||||
function transfer(address to, uint value) returns (bool ok); |
||||
function transferFrom(address from, address to, uint value) returns (bool ok); |
||||
function approve(address spender, uint value) returns (bool ok); |
||||
event Transfer(address indexed from, address indexed to, uint value); |
||||
function transferFrom(address from, address to, uint value); |
||||
function approve(address spender, uint value); |
||||
event Approval(address indexed owner, address indexed spender, uint value); |
||||
} |
||||
|
Loading…
Reference in new issue