How to upgrade deployed ERC20 Token?

Hi there,

I’ve been looking around for methods to upgrade the already deployed ERC20 token.

I’ve also done the method from https://github.com/OpenZeppelin/openzeppelin-upgrades-migration-example

Spits error:
MyToken.sol:550: Contract MyToken has a constructor
Define an initializer instead

If the contract already on mainnet, how do we implement initializer?

1 Like

Hi @Eylon_Mask,

Welcome to the community :wave:

Was the existing token deployed as an upgradeable contract? If it wasn’t then you can’t upgrade. One option would be to migrate your community from one token to a new token.