How to turn off/pause only a previous Token implementation?


Since we have a shared storage between implementations and it is common to use ERC20pausable, how to pause all the deprecated token implementations and keep unpaused the current implementation?


1 Like

Hi @nogueiradalmeida

There is only the current implementation (logic contract) as the proxy contract has a single implementation slot and the state for the logic contract(s) is stored in the proxy contract.

This means that ERC20Pausable can be used just as in a non-upgradeable contract. Though there is one caveat, is that a future upgrade could upgrade the functionality e.g. add a PauserRole when all PauserRole(s) had been previously renounced.

1 Like