Erc20 to erc1155

Can zeppelin be used to upgrade an erc20 to erc1155?

Hey @z0rlord! Thanks for sharing your question here. The answer depends on whether the original ERC20 contract was upgradeable or not (ie you created it using ZeppelinOS or not).

If it was not, then you could follow a similar approach to the one described here for moving from a regular ERC20 into an upgradeable ERC20, only that you’ll need to adapt the calls to the new contract to be ERC1155 instead of ERC20.

Awesome. Thanks for getting back to me so quickly.