EIP 20 Interface
Last updated
Last updated
ERC 20 Token Standard Interface https://eips.ethereum.org/EIPS/eip-20
Get the current allowance from owner
for spender
owner
address
The address of the account which owns the tokens to be spent
spender
address
The address of the account which may transfer tokens return The number of tokens allowed to be spent (-1 means infinite)
remaining
uint256
undefined
Approve spender
to transfer up to amount
from src
This will overwrite the approval amount for spender
and is subject to issues noted
spender
address
The address of the account which may transfer tokens
amount
uint256
The number of tokens that are approved (-1 means infinite) return Whether or not the approval succeeded
success
bool
undefined
Gets the balance of the specified address
owner
address
The address from which the balance will be retrieved return The balance
balance
uint256
undefined
_0
uint8
undefined
_0
string
undefined
_0
string
undefined
Get the total number of tokens in circulation
_0
uint256
The supply of tokens
Transfer amount
tokens from msg.sender
to dst
dst
address
The address of the destination account
amount
uint256
The number of tokens to transfer return Whether or not the transfer succeeded
success
bool
undefined
Transfer amount
tokens from src
to dst
src
address
The address of the source account
dst
address
The address of the destination account
amount
uint256
The number of tokens to transfer return Whether or not the transfer succeeded
success
bool
undefined
owner indexed
address
undefined
spender indexed
address
undefined
amount
uint256
undefined
from indexed
address
undefined
to indexed
address
undefined
amount
uint256
undefined