I’ve successfully deployed an upgradeable ERC-20 contract to the Rinkeby testnet. I’m now trying to document how to interact with it and perform upgrades internally.
Q: How can one read the actual ERC-20 contract (integration contract)? I would like to see the burn and transferFrom functions etc in the contract itself on etherscan for instance. But when viewing the contract I can only see the proxy functions:
Q2: When applying an upgrade to an ERC-20 contract, another set of tokens will be minted assuming that the _mint initializer method is included with the v2 contract. Are there any best practices to apply upgrades to ERC-20 contracts?