aboutsummaryrefslogtreecommitdiffstats
path: root/std/Token.sol
blob: 4b4eb71e2253f08efb91bb06f66f249b4a772ff3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
pragma solidity ^0.4.0;

contract Token {
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    function totalSupply() constant public returns (uint256 supply);
    function balanceOf(address _owner) constant 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) constant public returns (uint256 remaining);
}