-
Notifications
You must be signed in to change notification settings - Fork 179
Description
From this markdown main/deploy.md i found out if i already have a token deployed i would need to:
Deploy a wrapper for your token that supports mint, burn, Swapin, and Swapout, add this wrapper as a minter role in the ACL. In the wrapper add the MPC address (found below) as a minter
Could you by any chance consider writing or pointing me to a more detailed guide on this topic?
Just to add some context here, i'm trying to deploy The Aluna Token to multiple chains, currently it's only available on Ethereum main net.
Our token was deployed using the Proxy Patter ( standard OpenZeppelin ) so we could update it with the necessary functions to a new implementation, but after having a look at AnyswapV5ERC20.sol it's not very clear what the best approach would be.
There are a few key questions here:
- Our token isn't
ERC20Mintable, but we need to implement it in order to be able to have MPC address as aminter, correct? - Our token is already an
ERC20Burnable.solbut from readingAnyswapV5ERC20.soli can tell theburnfunction works slightly different onAnyswapV5ERC20.solthan onERC20Burnable.sol, that's the reason why we need a Wrapper for our ERC-20? Is there a Wrapper Example for ERC-20 anywhere?
Thank You