1

Taking this ERC-20 Contract standar structure:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol

Its it unalterable by developer?

Could I change the name of contract (without ERC20)? Could I change the name os structure of mappings variables? Could I change the events structure? Could I remove the events? Could I change the events name?

What is the EVM real standar and unalterable ERC-20 for proper functioning of a token?

JTCon
  • 703
  • 5
  • 16
  • 4
    https://eips.ethereum.org/EIPS/eip-20 – Undead8 Apr 04 '21 at 10:53
  • Thnks! I know it. My question is if I can change the variable names. For example, instead "totalSupply", write "myTotalSupply". Or EVM needs this fixed names? – JTCon Apr 04 '21 at 14:56
  • 2
    @JTConsulta You can change the name of the _totalSupply variable but not the name of the totalSupply function which is part of the EIP. – clement Apr 04 '21 at 21:01
  • 1
    Ok, i understand. Then, my contract needs to respect function names of eip-20, but i supposed that i can change the mapping names that is not declared in eip-20. Its correct? – JTCon Apr 05 '21 at 16:59

0 Answers0