mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add Token contract
This commit is contained in:
parent
0cd2fc310b
commit
fd578f0ed5
11
std/Token
Normal file
11
std/Token
Normal file
@ -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) {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user