-
What are the benefits of setting a token standard like ERC20?
This allows for automatic, day 1 ETH operability and interoperability of tokens created for use on the ETH network. -
What functions are in the ERC20 Token Standard Interface and what do they do?
ERC20 tokens include:
-balanceOf
(account balance),
-totalSupply
(total number of tokens existing at the time of calculation),
-transfer
(send token),
-transferFrom
(allow automatic sending of tokens),
-approve
(authorization of token withdrawals), and
-allowance
functions (authorizes a 3rd party like a smart contract to transact with an ownerâs token)