Updated ERC-20 Custody contracts will go live for ZetaChain on November 13th and 14th. The new ERC-20 Custody contract address for all EVM chains will be:
0x0Bad40D9e9C369f2223c835E108f43a45fd223B5
. The contract interface remains the same so no changes other than the contract address are needed.How to Upgrade to the new ERC-20 Custody Contract Address:
If you have hardcoded the address anywhere in your dapp you'll need to make the change manually at the correct time for each external chain. See https://status.zetachain.com for the specific maintenance window for each connected chain.
If your dapp queries the address dynamically from the
/zeta-chain/observer/get_chain_params
endpoint, then your dapp will pickup the change automatically and no action is needed. If you use the Protocol-Contracts NPM Package you will need to update to the latest version during the maintenance window.
The migration to the new address will be staggered across each connected chain. See https://status.zetachain.com for the schedule maintenance windows. When the migration begins, any transactions sent through the old ERC-20 Custody contract will be reverted, so it's essential to switch to the new address.