- What are the benefits of setting a token standard like ERC20?
The ensures interoperability and leads to an efficient economy.
- What functions are in the ERC20 Token Standard interface and what do they do?
- totalSupply() : total circulating amount of tokens
- balanceOf() : balance of address account
- transfer() : transfer tokens from owner’s account to another account
- approve() : a token owner can approve a spender to transfer tokens from token owner’s account
- allowance() : the amount of tokens approved by the owner that can transfer to the spender’s account
- transferFrom() : allows a spender account to transfer an amount of tokens on behalf of token owner to another account