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.
18 lines
647 B
18 lines
647 B
pragma solidity ^0.4.4;
|
|
|
|
|
|
/*
|
|
* ERC20 interface
|
|
* see https://github.com/ethereum/EIPs/issues/20
|
|
*/
|
|
contract ERC20 {
|
|
uint public totalSupply;
|
|
function balanceOf(address who) constant returns (uint);
|
|
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);
|
|
event Approval(address indexed owner, address indexed spender, uint value);
|
|
}
|
|
|