Hey! I am here to explain about ERC20 Token. When a person entered in Blockchain world, he frequently heard the term ERC20 Token, so what is this ERC20? ERC20 is a standard, which has a set of functions that are implemented by all ERC20 Tokens. Those set of functions are following. function totalSupply() public view returns (uint256); function balanceOf(address tokenOwner) public view returns (uint); function allowance(address tokenOwner, address spender)public view returns (uint); function transfer(address to, uint tokens) public returns (bool); function approve(address spender, uint tokens) public returns (bool); function transferFrom(address from, address to, uint tokens) public returns (bool); There is also a variable named Decimal, it is fixed to 18 by default for this standard. We have to set the standard because we know that we need standards when it is a matter of trading, and transactions at the global level. ERC20 Token’s Functions- Total supply is count of ...
The Indian Explainer
Here I Post topics related to webDevelopment and smart contracts