contract BasicToken is ERC20Basic
BasicToken
Basic version of StandardToken, with no allowances.
Constants & Variables
mapping(address => uint256) internal balances;
uint256 internal totalSupply_;
🔺 overrides ERC20Basic.totalSupply
Total number of tokens in existence
function totalSupply() public view
returns(uint256)
🔺 overrides ERC20Basic.transfer
Transfer token for a specified address
function transfer(address _to, uint256 _value) public
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
_to | address | The address to transfer to. |
_value | uint256 | The amount to be transferred. |
🔺 overrides ERC20Basic.balanceOf
Gets the balance of the specified address.
function balanceOf(address _owner) public view
returns(uint256)
Returns
An uint256 representing the amount owned by the passed address.
Arguments
Name | Type | Description |
---|---|---|
_owner | address | The address to query the the balance of. |