Skip to main content

How do I upgrade old Avalanche Bridge (AEB) assets?

Amanda avatar
Written by Amanda
Updated over a week ago

For older tokens that used the deprecated AEB bridge, Snowtrace allows users to upgrade the assets.

  1. Find the asset in the bridge config: https://ava-warden-mainnet.s3.us-west-1.amazonaws.com/bridge_settings.json. Users want to locate the deprecatedTokenContractAddress and wrappedContractAddress address fields associated with the asset.

  2. Navigate to Snowtrace and connect the wallet the funds are on.

  3. In Snowtrace, navigate to the deprecatedTokenContractAddress of the token to upgrade, and open the Contract information.

  4. In the Contract tab, select Read Contract.

  5. Call balanceOf with the owner wallet address to determine the amount of the token which needs to be upgraded. We call this returned number the balance.

  6. Next, switch to the Write Contract tab. The connected wallet will appear right below this tab selector.

  7. Call the approve method with the [wrappedContractAddress, balance] values.

  8. Approve the Write transaction with the connected wallet.

  9. Navigate to the wrappedContractAddress, open the Contract section, and switch to the Write Contract tab.

  10. Call the swap method with the [deprecatedTokenContractAddress, balance] values.

  11. Approve the Swap transaction with the connected wallet.

  12. The updated bridgeable assets should now be visible in the wallet.


For any additional questions, please view our other knowledge base articles or contact a support team member via the chat button. Examples are for illustrative purposes only.

Did this answer your question?