open-bounty/contracts/ERC20.sol

12 lines
609 B
Solidity
Raw Normal View History

2017-08-20 18:29:37 +00:00
pragma solidity ^0.4.15;
contract ERC20 {
uint256 public totalSupply;
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);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}