Hello! I am trying to write a contract to migrate tokens from an old contract to a new one. To do this, I want users to burn tokens on the old contract when calling the contract and mint them on the new one.
But I also want to add 10 addresses that can do this after the expiration of the contract.
Please tell me if I think correctly and how can I add an array of user addresses to the logic?
Oct 14, 2021, 10:49 AM
how will this help me?
Yes
If I use ERC20(old).burn and BEP20(new).mint will it not work?
Oct 14, 2021, 12:48 PM