Celatone allows you to migrate a smart contract to a different codebase. This can be done to update the contract to a new version with enhanced features or to address any issues with the current version.
Selecting the Contract: Choose the contract you wish to migrate.
Migration Options:
Migrate Message: Provide the necessary parameters for migration. You can input the data in JSON format or use your attached JSON schema for a guided input.
Confirm Migration: After ensuring the information is correct, you can proceed to migrate your contract by confirming the transaction.
Remark: Always ensure to review the implications of migrating a contract as it may affect the contract’s state and functionality.
Your connected wallet must have an admin access for the contract to assign another address as the contract’s admin. To navigate to the update admin feature:
Contract Details: On the contract’s details page, click the “Admin” button to access “Update Admin”.
Contract List: In your lists, such as “Instantiated by me” or “Saved Contracts”, contracts where you have Admin Access will show an “Update Admin” option.
You can also clear yourself out of admin access from the contractIn similar manner with “Update Admin”, you can select “Clear Admin” instead to remove yourself from being a contract’s admin.