- What are the benefits of setting a token standard like ERC20?
Having a standard make all tokens programmed in the same way. This allows all exchanges and wallets can support each and every token. And tokens can integrate with each other easily.
- What functions are in the ERC20 Token Standard Interface and what do they do?
function totalSupply()
-
the final item that defines an ERC20 token contract, and as mentioned is the sole mandatory parameter
-
equals the sum of all balances.
function balanceOf()
- provides the number of tokens held by a given address.