IERC20Token
Overview
License: Apache 2.0
abstract contract IERC20TokenEvents info
Transfer
event Transfer(address indexed _from, address indexed _to, uint256 _value)Approval
event Approval(address indexed _owner, address indexed _spender, uint256 _value)Functions info
transfer (0xa9059cbb)
function transfer(address _to, uint256 _value) external virtual returns (bool)send value token to to from msg.sender
Parameters:
_to
address
The address of the recipient
_value
uint256
The amount of token to be transferred
Return values:
[0]
bool
True if transfer was successful
transferFrom (0x23b872dd)
send value token to to from from on the condition it is approved by from
Parameters:
_from
address
The address of the sender
_to
address
The address of the recipient
_value
uint256
The amount of token to be transferred
Return values:
[0]
bool
True if transfer was successful
approve (0x095ea7b3)
msg.sender approves _spender to spend _value tokens
Parameters:
_spender
address
The address of the account able to transfer the tokens
_value
uint256
The amount of wei to be approved for transfer
Return values:
[0]
bool
Always true if the call has enough gas to complete execution
totalSupply (0x18160ddd)
Query total supply of token
Return values:
[0]
uint256
Total supply of token
balanceOf (0x70a08231)
Parameters:
_owner
address
The address from which the balance will be retrieved
Return values:
[0]
uint256
Balance of owner
allowance (0xdd62ed3e)
Parameters:
_owner
address
The address of the account owning tokens
_spender
address
The address of the account able to transfer the tokens
Return values:
[0]
uint256
Amount of remaining tokens allowed to spent
Last updated