Homework on ERC20 token standard.
1. What are the benefits of setting a token standard like ERC20?
The benefits of setting a token standard like ERC20 is dat all tokens are programmed the same way. The functions one uses to program a token work exactly the same when programming another token. This makes the exchange of tokens more easy, allowing wallets to provide token balances for different tokens.
**2. What functions are in the ERC20 Token Standard Interface and what do they do?
totalSupply(): it gives an overview of how many tokens are in circulation.
balanceOF(): this shows how many tokens a certain adres contains.
transfer(): transfers an amount to a specified address from the owner of the contract
transferFrom(): specifies a from address, to address and a value to transfer
approve(): when called, the owner of the contract authorises the address to withdraw tokens from the owners address