Approval
8c5be1e5
inputs | 0 | address | owner | |
1 | address | spender | ||
2 | uint256 | value |
Transfer
ddf252ad
inputs | 0 | address | from | |
1 | address | to | ||
2 | uint256 | value |
allowance
dd62ed3e
Function to check the amount of tokens that an owner allowed to a spender.
inputs | 0 | address | _owner | address The address which owns the funds. |
1 | address | _spender | address The address which will spend the funds. | |
outputs | 0 | uint256 |
approve
095ea7b3
Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
inputs | 0 | address | _spender | The address which will spend the funds. |
1 | uint256 | _value | The amount of tokens to be spent. |
balanceOf
70a08231
Gets the balance of the specified address.
inputs | 0 | address | _owner | The address to query the the balance of. |
outputs | 0 | uint256 | balance |
decreaseApproval
66188463
inputs | 0 | address | _spender | |
1 | uint256 | _subtractedValue |
increaseApproval
d73dd623
approve should be called when allowed[_spender] == 0. To increment allowed value is better to use this function to avoid 2 calls (and wait until the first transaction is mined) From MonolithDAO Token.sol
inputs | 0 | address | _spender | |
1 | uint256 | _addedValue |
totalSupply
18160ddd
transfer
a9059cbb
transfer token for a specified address
inputs | 0 | address | _to | The address to transfer to. |
1 | uint256 | _value | The amount to be transferred. |
transferFrom
23b872dd
Transfer tokens from one address to another
inputs | 0 | address | _from | address The address which you want to send tokens from |
1 | address | _to | address The address which you want to transfer to | |
2 | uint256 | _value | uint256 the amount of tokens to be transferred |