open-bounty/contracts/ERC20.sol

12 lines
644 B
Solidity
Raw Normal View History

2017-11-09 16:33:01 +00:00
pragma solidity ^0.4.18;
2017-08-20 18:29:37 +00:00
contract ERC20 {
uint256 public totalSupply;
2017-11-09 16:33:01 +00:00
function balanceOf(address who) public constant returns (uint256);
function allowance(address owner, address spender) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool ok);
function transferFrom(address from, address to, uint256 value) public returns (bool ok);
function approve(address spender, uint256 value) public 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);
}