For older tokens that used the deprecated AEB bridge, Snowtrace allows users to upgrade the assets.
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
andwrappedContractAddress
address fields associated with the asset.
Navigate to Snowtrace and connect the wallet the funds are on.
In Snowtrace, navigate to the
deprecatedTokenContractAddress
of the token to upgrade, and open the Contract information.
In the Contract tab, select Read Contract.
Call
balanceOf
with the owner wallet address to determine the amount of the token which needs to be upgraded. We call this returned number thebalance
.
Next, switch to the Write Contract tab. The connected wallet will appear right below this tab selector.
Call the
approve
method with the [wrappedContractAddress
,balance
] values.
Approve the Write transaction with the connected wallet.
Navigate to the
wrappedContractAddress
, open the Contract section, and switch to the Write Contract tab.
Call the
swap
method with the [deprecatedTokenContractAddress
,balance
] values.
Approve the Swap transaction with the connected wallet.
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.