Skip to content

Commit

Permalink
Add Token contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Denton-L committed Aug 19, 2016
1 parent 0cd2fc3 commit fd578f0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions std/Token
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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 returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool success) {}
function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}
function approve(address _spender, uint256 _value) returns (bool success) {}
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {}
}

0 comments on commit fd578f0

Please sign in to comment.