diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-17 22:37:10 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-19 22:34:50 +0800 |
commit | fd578f0ed55c4d08f0292915c3cf4595558d4f06 (patch) | |
tree | fe5b5bca07e73bc59f6e9171169f3296b9d7c92e /std/Token | |
parent | 0cd2fc310bc0940b0f64dd2302171dd6b50dd1ff (diff) | |
download | dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar.gz dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar.bz2 dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar.lz dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar.xz dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.tar.zst dexon-solidity-fd578f0ed55c4d08f0292915c3cf4595558d4f06.zip |
Add Token contract
Diffstat (limited to 'std/Token')
-rw-r--r-- | std/Token | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/std/Token b/std/Token new file mode 100644 index 00000000..50d9ab7a --- /dev/null +++ b/std/Token @@ -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) {} +} |