Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
imagine that I've a contract with 200 token already minted, now I see a mistake in the contract or I want to add a new functionality, how could I move all those tokens to a new contract?
It depends on the contract.
If the contract is upgradable then it is just updating the contract.
If it is not upgradable, you can implement in the new contract a way to migrate from the old one. Another option is to make the migration in batches.
Required, but never shown