From a1fd74916508d7c4d4860af20f6536238f0be525 Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:10:27 +0200 Subject: [PATCH] Restore Polygon Amoy ETH address (#53) A couple of "resolve token from address" implementations iterate over TOKEN_SYMBOLS_MAP and return the first entry where the address on a given chain matches. This typically resolves ETH before WETH, so the ETH mappings need to 1:1 match the WETH mappings. --- package.json | 2 +- src/tokens.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a785555..5b7d15e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@across-protocol/constants", - "version": "3.1.2", + "version": "3.1.3", "description": "Export commonly re-used values for Across repositories", "repository": "https://github.com/across-protocol/constants.git", "author": "hello@umaproject.org", diff --git a/src/tokens.ts b/src/tokens.ts index 9d035f0..d0ae7c6 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -91,6 +91,7 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.OPTIMISM]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.OPTIMISM_SEPOLIA]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + [CHAIN_IDs.POLYGON_AMOY]: "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E", [CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14", [CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", [CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD"