1. What are the benefits of setting a token standard like ERC20?
Having a standard such as ERC20 allows wallets and exchanges to be programmed to support all tokens implementing ERC20 interface.
2. What functions are in the ERC20 Token Standard Interface and what do they do?
name - returns name of the token
sumbol - returns the symbol of the token
decimals - returns the number of decimals the token uses
totalSupply - returns token total supply
balanceOf - provides number of tokens held by a given address
transfer - transfers a number of tokens directly from the message sender to another address
transferFrom - transfers a number of tokens from one address to another address
approve - allows an address to withdraw from your account multiple times up to some specifed threshold.
allowance - provides the number of tokens that an address is still allowed to withdraw