solidity/std/Token.sol

14 lines
697 B
Solidity
Raw Normal View History

2016-11-02 11:32:55 +00:00
pragma solidity ^0.4.0;
2016-08-17 14:37:10 +00:00
contract Token {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
function totalSupply() view public returns (uint256 supply);
function balanceOf(address _owner) view public returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function approve(address _spender, uint256 _value) public returns (bool success);
function allowance(address _owner, address _spender) view public returns (uint256 remaining);
2016-08-17 14:37:10 +00:00
}