From ad9b08c103f64ac7c53037da33ee8914a083aa51 Mon Sep 17 00:00:00 2001 From: james-a-morris Date: Tue, 14 Jan 2025 10:23:29 -0500 Subject: [PATCH 1/6] feat(soneium): integrate soneium Signed-off-by: james-a-morris --- package.json | 6 +- scripts/chain-configs/index.ts | 1 + .../soneium/assets/grayscale-logo.svg | 45 +++ scripts/chain-configs/soneium/assets/logo.svg | 36 ++ scripts/chain-configs/soneium/index.ts | 23 ++ scripts/generate-routes.ts | 1 + src/assets/chain-logos/soneium-grayscale.svg | 45 +++ src/assets/chain-logos/soneium.svg | 36 ++ src/constants/chains/configs.ts | 22 ++ src/constants/chains/index.ts | 1 + src/data/chains_1.json | 26 ++ ...6fA914353c44b2E33eBE05f21846F1048bEda.json | 308 ++++++++++++++++++ src/utils/constants.ts | 1 + yarn.lock | 57 +--- 14 files changed, 560 insertions(+), 48 deletions(-) create mode 100644 scripts/chain-configs/soneium/assets/grayscale-logo.svg create mode 100644 scripts/chain-configs/soneium/assets/logo.svg create mode 100644 scripts/chain-configs/soneium/index.ts create mode 100644 src/assets/chain-logos/soneium-grayscale.svg create mode 100644 src/assets/chain-logos/soneium.svg diff --git a/package.json b/package.json index c6103cccb..26d50f323 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "private": true, "license": "AGPL-3.0-only", "dependencies": { - "@across-protocol/constants": "^3.1.24", - "@across-protocol/contracts": "^3.0.19", + "@across-protocol/constants": "^3.1.28", + "@across-protocol/contracts": "^3.0.23", "@across-protocol/contracts-v3.0.6": "npm:@across-protocol/contracts@3.0.6", - "@across-protocol/sdk": "^3.4.10", + "@across-protocol/sdk": "^3.4.11", "@amplitude/analytics-browser": "^2.3.5", "@balancer-labs/sdk": "1.1.6-beta.16", "@emotion/react": "^11.13.0", diff --git a/scripts/chain-configs/index.ts b/scripts/chain-configs/index.ts index 1d5129c26..abd858edb 100644 --- a/scripts/chain-configs/index.ts +++ b/scripts/chain-configs/index.ts @@ -19,6 +19,7 @@ export { default as POLYGON_AMOY } from "./polygon-amoy"; export { default as REDSTONE } from "./redstone"; export { default as SCROLL } from "./scroll"; export { default as SEPOLIA } from "./sepolia"; +export { default as SONEIUM } from "./soneium"; export { default as WORLD_CHAIN } from "./world-chain"; export { default as ZK_SYNC } from "./zk-sync"; export { default as ZORA } from "./zora"; diff --git a/scripts/chain-configs/soneium/assets/grayscale-logo.svg b/scripts/chain-configs/soneium/assets/grayscale-logo.svg new file mode 100644 index 000000000..5c8217044 --- /dev/null +++ b/scripts/chain-configs/soneium/assets/grayscale-logo.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/scripts/chain-configs/soneium/assets/logo.svg b/scripts/chain-configs/soneium/assets/logo.svg new file mode 100644 index 000000000..fb1f80f3f --- /dev/null +++ b/scripts/chain-configs/soneium/assets/logo.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/scripts/chain-configs/soneium/index.ts b/scripts/chain-configs/soneium/index.ts new file mode 100644 index 000000000..3c0403bea --- /dev/null +++ b/scripts/chain-configs/soneium/index.ts @@ -0,0 +1,23 @@ +import { CHAIN_IDs, PUBLIC_NETWORKS } from "@across-protocol/constants"; +import { utils as sdkUtils } from "@across-protocol/sdk"; +import { ChainConfig } from "../types"; + +const { getDeployedAddress, getDeployedBlockNumber } = sdkUtils; + +const chainId = CHAIN_IDs.CHER; +const chainInfoBase = PUBLIC_NETWORKS[chainId]; + +export default { + ...chainInfoBase, + logoPath: "./assets/logo.svg", + grayscaleLogoPath: "./assets/grayscale-logo.svg", + spokePool: { + address: getDeployedAddress("SpokePool", chainId), + blockNumber: getDeployedBlockNumber("SpokePool", chainId), + }, + chainId, + publicRpcUrl: "https://rpc.soneium.org", + blockTimeSeconds: 15, + tokens: [], + enableCCTP: false, +} as ChainConfig; diff --git a/scripts/generate-routes.ts b/scripts/generate-routes.ts index 60d2980b4..3a5db6b17 100644 --- a/scripts/generate-routes.ts +++ b/scripts/generate-routes.ts @@ -46,6 +46,7 @@ const enabledMainnetChainConfigs = [ chainConfigs.WORLD_CHAIN, chainConfigs.ALEPH_ZERO, chainConfigs.INK, + chainConfigs.SONEIUM, ]; const enabledSepoliaChainConfigs = [ diff --git a/src/assets/chain-logos/soneium-grayscale.svg b/src/assets/chain-logos/soneium-grayscale.svg new file mode 100644 index 000000000..5c8217044 --- /dev/null +++ b/src/assets/chain-logos/soneium-grayscale.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/chain-logos/soneium.svg b/src/assets/chain-logos/soneium.svg new file mode 100644 index 000000000..fb1f80f3f --- /dev/null +++ b/src/assets/chain-logos/soneium.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/constants/chains/configs.ts b/src/constants/chains/configs.ts index 72ac85862..8b386a472 100644 --- a/src/constants/chains/configs.ts +++ b/src/constants/chains/configs.ts @@ -105,6 +105,11 @@ import sepoliaGrayscaleLogo from "assets/chain-logos/sepolia-grayscale.svg"; import { ReactComponent as sepoliaLogoSvg } from "assets/chain-logos/sepolia.svg"; import { ReactComponent as sepoliaGrayscaleLogoSvg } from "assets/chain-logos/sepolia-grayscale.svg"; +import cherLogo from "assets/chain-logos/soneium.svg"; +import cherGrayscaleLogo from "assets/chain-logos/soneium-grayscale.svg"; +import { ReactComponent as cherLogoSvg } from "assets/chain-logos/soneium.svg"; +import { ReactComponent as cherGrayscaleLogoSvg } from "assets/chain-logos/soneium-grayscale.svg"; + import worldChainLogo from "assets/chain-logos/world-chain.svg"; import worldChainGrayscaleLogo from "assets/chain-logos/world-chain-grayscale.svg"; import { ReactComponent as worldChainLogoSvg } from "assets/chain-logos/world-chain.svg"; @@ -473,6 +478,22 @@ export const sepolia = { pollingInterval: 15000, }; +export const cher = { + name: "Cher", + fullName: "Cher", + chainId: 1868, + logoURI: cherLogo, + grayscaleLogoURI: cherGrayscaleLogo, + logoSvg: cherLogoSvg, + grayscaleLogoSvg: cherGrayscaleLogoSvg, + rpcUrl: "https://rpc.soneium.org", + explorerUrl: "", + constructExplorerLink: (txHash: string) => `${cher.explorerUrl}/tx/${txHash}`, + nativeCurrencySymbol: "ETH", + customRpcUrl: process.env.REACT_APP_CHAIN_1868_PROVIDER_URL, + pollingInterval: 15000, +}; + export const worldChain = { name: "World Chain", fullName: "World Chain", @@ -545,6 +566,7 @@ export const chainConfigs = [ redstone, scroll, sepolia, + cher, worldChain, zkSync, zora, diff --git a/src/constants/chains/index.ts b/src/constants/chains/index.ts index 799aa091f..39f5d16fd 100644 --- a/src/constants/chains/index.ts +++ b/src/constants/chains/index.ts @@ -26,6 +26,7 @@ const orderedEnabledChainIds = [ CHAIN_IDs.WORLD_CHAIN, CHAIN_IDs.ALEPH_ZERO, CHAIN_IDs.INK, + CHAIN_IDs.CHER, // testnet CHAIN_IDs.SEPOLIA, CHAIN_IDs.BASE_SEPOLIA, diff --git a/src/data/chains_1.json b/src/data/chains_1.json index 41706a291..071caa3ba 100644 --- a/src/data/chains_1.json +++ b/src/data/chains_1.json @@ -1564,5 +1564,31 @@ "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" } ] + }, + { + "chainId": 1868, + "name": "Cher", + "publicRpcUrl": "https://rpc.soneium.org", + "explorerUrl": "", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/soneium/assets/logo.svg", + "spokePool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "spokePoolBlock": 1709997, + "inputTokens": [], + "outputTokens": [ + { + "address": "0x4200000000000000000000000000000000000006", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + } + ] } ] diff --git a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json index 7b5cff05c..71d788e7b 100644 --- a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json +++ b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json @@ -989,6 +989,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1, + "toChain": 1868, + "fromTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1, + "toChain": 1868, + "fromTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 10, "toChain": 1, @@ -1935,6 +1957,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 10, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 10, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 137, "toChain": 1, @@ -3640,6 +3684,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 42161, + "toChain": 1868, + "fromTokenAddress": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 42161, + "toChain": 1868, + "fromTokenAddress": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 324, "toChain": 1, @@ -4410,6 +4476,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 324, + "toChain": 1868, + "fromTokenAddress": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 324, + "toChain": 1868, + "fromTokenAddress": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 8453, "toChain": 1, @@ -5070,6 +5158,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 8453, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 8453, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 59144, "toChain": 1, @@ -5840,6 +5950,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 59144, + "toChain": 1868, + "fromTokenAddress": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 59144, + "toChain": 1868, + "fromTokenAddress": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 34443, "toChain": 1, @@ -6533,6 +6665,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 34443, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 34443, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 81457, "toChain": 1, @@ -7050,6 +7204,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 81457, + "toChain": 1868, + "fromTokenAddress": "0x4300000000000000000000000000000000000004", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x2D509190Ed0172ba588407D4c2df918F955Cc6E1", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 81457, + "toChain": 1868, + "fromTokenAddress": "0x4300000000000000000000000000000000000004", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x2D509190Ed0172ba588407D4c2df918F955Cc6E1", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1135, "toChain": 1, @@ -7600,6 +7776,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1135, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1135, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 534352, "toChain": 1, @@ -8359,6 +8557,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 534352, + "toChain": 1868, + "fromTokenAddress": "0x5300000000000000000000000000000000000004", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 534352, + "toChain": 1868, + "fromTokenAddress": "0x5300000000000000000000000000000000000004", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 690, "toChain": 1, @@ -8689,6 +8909,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 690, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 690, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 7777777, "toChain": 1, @@ -9173,6 +9415,28 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 7777777, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 7777777, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 480, "toChain": 1, @@ -9833,6 +10097,28 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 480, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 480, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 41455, "toChain": 1, @@ -10426,6 +10712,28 @@ "toTokenSymbol": "ETH", "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 57073, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 57073, + "toChain": 1868, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" } ], "swapRoutes": [ diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 46b82c189..5cf60005a 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -125,6 +125,7 @@ export const rewardPrograms: Record = { ChainId.INK, ChainId.WORLD_CHAIN, ChainId.LISK, + ChainId.CHER, ], }, "arb-rebates": { diff --git a/yarn.lock b/yarn.lock index 699f87e8b..75d6f5d35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,12 +16,7 @@ "@uma/common" "^2.17.0" hardhat "^2.9.3" -"@across-protocol/constants@^3.1.24": - version "3.1.25" - resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.25.tgz#60d6d9814582ff91faf2b6d9f51d6dccb447b4ce" - integrity sha512-GpZoYn7hETYL2BPMM2GqXAer6+l/xuhder+pvpb00HJcb/sqCjF7vaaeKxjKJ3jKtyeulYmdu0NDkeNm5KbNWA== - -"@across-protocol/constants@^3.1.27": +"@across-protocol/constants@^3.1.28": version "3.1.28" resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.28.tgz#0540f5a44b085b0951a853898afe174ea113db3a" integrity sha512-rnI1pQgkJ6+hPIQNomsi8eQreVfWKfFn9i9Z39U0fAnoXodZklW0eqj5N0cXlEfahp5j2u1RCs7s6fQ9megCdw== @@ -60,40 +55,12 @@ "@openzeppelin/contracts" "4.1.0" "@uma/core" "^2.18.0" -"@across-protocol/contracts@^3.0.19": - version "3.0.19" - resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.19.tgz#3756504bb3f5f625f9ca403045a79050e675602f" - integrity sha512-9GjKKF8SHGKP9FGhawHzLZ8sfBVFUICd+Bn1pn3SFuh0p+ndQIayG+QEYRKGFUXVPV6+XXLve750PQ1Hu7dIEg== - dependencies: - "@across-protocol/constants" "^3.1.24" - "@coral-xyz/anchor" "^0.30.1" - "@defi-wonderland/smock" "^2.3.4" - "@eth-optimism/contracts" "^0.5.40" - "@ethersproject/abstract-provider" "5.7.0" - "@ethersproject/abstract-signer" "5.7.0" - "@ethersproject/bignumber" "5.7.0" - "@openzeppelin/contracts" "4.9.6" - "@openzeppelin/contracts-upgradeable" "4.9.6" - "@scroll-tech/contracts" "^0.1.0" - "@solana-developers/helpers" "^2.4.0" - "@solana/spl-token" "^0.4.6" - "@solana/web3.js" "^1.31.0" - "@types/yargs" "^17.0.33" - "@uma/common" "^2.37.3" - "@uma/contracts-node" "^0.4.17" - "@uma/core" "^2.61.0" - axios "^1.7.4" - bs58 "^6.0.0" - prettier-plugin-rust "^0.1.9" - yargs "^17.7.2" - zksync-web3 "^0.14.3" - -"@across-protocol/contracts@^3.0.20": - version "3.0.20" - resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.20.tgz#5a70782093d21a96b2e955b7ed725bea7af6e804" - integrity sha512-ufyO+MrbY7+0TDm/1cDl9iAeR4P8jt0AM1F9wiCBHVIYtj1wMD4eNm7G5Am3u8p1ruMjRhi6dJEVQcRF2O+LUg== +"@across-protocol/contracts@^3.0.23": + version "3.0.23" + resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.23.tgz#42decf1db2c0ac1c3da82ae2fc63c8ae59f426c1" + integrity sha512-212dLJj9LCiqAruoFIQUyEFyTFvpacPeQLZLU+h6skkf+K67lUjHYjVykWg3u22k/4fuBs3UMHDA6kqUUvldNQ== dependencies: - "@across-protocol/constants" "^3.1.27" + "@across-protocol/constants" "^3.1.28" "@coral-xyz/anchor" "^0.30.1" "@defi-wonderland/smock" "^2.3.4" "@eth-optimism/contracts" "^0.5.40" @@ -116,14 +83,14 @@ yargs "^17.7.2" zksync-web3 "^0.14.3" -"@across-protocol/sdk@^3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.10.tgz#b74c551f1625afccc10f5b792f1f61395771cf40" - integrity sha512-kM+RyTNVXzS4dl5zwJZh6es5FTouN1nECd0cckE7Z/FzEFdMmQmCn4I1Ojgt4gmE5AuUBZef4/11ZvT8uRmutQ== +"@across-protocol/sdk@^3.4.11": + version "3.4.11" + resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.11.tgz#f84056355bd529419bf9ff6fd80363acdefdf603" + integrity sha512-26C9pit1jNWG+1kx3Dk9L2hoTeS+o4Ouy2DR5K8NGGeso7MInI0/1OrRb2bxJU0xTJGD5q50+qmeMeHrCblvuw== dependencies: "@across-protocol/across-token" "^1.0.0" - "@across-protocol/constants" "^3.1.27" - "@across-protocol/contracts" "^3.0.20" + "@across-protocol/constants" "^3.1.28" + "@across-protocol/contracts" "^3.0.23" "@eth-optimism/sdk" "^3.3.1" "@ethersproject/bignumber" "^5.7.0" "@pinata/sdk" "^2.1.0" From fa93f44f91c94de19628216096f1a84a198d2392 Mon Sep 17 00:00:00 2001 From: james-a-morris Date: Tue, 14 Jan 2025 10:26:23 -0500 Subject: [PATCH 2/6] improve: update soneium routes Signed-off-by: james-a-morris --- .../soneium/assets/grayscale-logo.svg | 51 +++---------------- scripts/chain-configs/soneium/assets/logo.svg | 42 +++------------ src/assets/chain-logos/soneium-grayscale.svg | 51 +++---------------- src/assets/chain-logos/soneium.svg | 42 +++------------ 4 files changed, 28 insertions(+), 158 deletions(-) diff --git a/scripts/chain-configs/soneium/assets/grayscale-logo.svg b/scripts/chain-configs/soneium/assets/grayscale-logo.svg index 5c8217044..83494173a 100644 --- a/scripts/chain-configs/soneium/assets/grayscale-logo.svg +++ b/scripts/chain-configs/soneium/assets/grayscale-logo.svg @@ -1,45 +1,8 @@ - - - - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/scripts/chain-configs/soneium/assets/logo.svg b/scripts/chain-configs/soneium/assets/logo.svg index fb1f80f3f..902a4d29d 100644 --- a/scripts/chain-configs/soneium/assets/logo.svg +++ b/scripts/chain-configs/soneium/assets/logo.svg @@ -1,36 +1,8 @@ - - - - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/src/assets/chain-logos/soneium-grayscale.svg b/src/assets/chain-logos/soneium-grayscale.svg index 5c8217044..83494173a 100644 --- a/src/assets/chain-logos/soneium-grayscale.svg +++ b/src/assets/chain-logos/soneium-grayscale.svg @@ -1,45 +1,8 @@ - - - - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/src/assets/chain-logos/soneium.svg b/src/assets/chain-logos/soneium.svg index fb1f80f3f..902a4d29d 100644 --- a/src/assets/chain-logos/soneium.svg +++ b/src/assets/chain-logos/soneium.svg @@ -1,36 +1,8 @@ - - - - - - - - - - - - - - - - - + + + \ No newline at end of file From dfc3e9ddd34b8558123f8ff3e51122cdb924bbf3 Mon Sep 17 00:00:00 2001 From: james-a-morris Date: Tue, 14 Jan 2025 10:51:46 -0500 Subject: [PATCH 3/6] chore: update assets & routes Signed-off-by: james-a-morris --- scripts/chain-configs/soneium/assets/logo.svg | 4 +- scripts/chain-configs/soneium/index.ts | 4 +- src/assets/chain-logos/soneium.svg | 4 +- src/constants/chains/configs.ts | 2 +- src/data/chains_1.json | 24 +- ...6fA914353c44b2E33eBE05f21846F1048bEda.json | 540 ++++++++++++++++++ 6 files changed, 570 insertions(+), 8 deletions(-) diff --git a/scripts/chain-configs/soneium/assets/logo.svg b/scripts/chain-configs/soneium/assets/logo.svg index 902a4d29d..cb375d579 100644 --- a/scripts/chain-configs/soneium/assets/logo.svg +++ b/scripts/chain-configs/soneium/assets/logo.svg @@ -1,8 +1,8 @@ + fill="white" /> + fill="white" /> \ No newline at end of file diff --git a/scripts/chain-configs/soneium/index.ts b/scripts/chain-configs/soneium/index.ts index 3c0403bea..48a8cee33 100644 --- a/scripts/chain-configs/soneium/index.ts +++ b/scripts/chain-configs/soneium/index.ts @@ -17,7 +17,7 @@ export default { }, chainId, publicRpcUrl: "https://rpc.soneium.org", - blockTimeSeconds: 15, - tokens: [], + blockTimeSeconds: 2, + tokens: ["WETH", "USDC.e"], enableCCTP: false, } as ChainConfig; diff --git a/src/assets/chain-logos/soneium.svg b/src/assets/chain-logos/soneium.svg index 902a4d29d..cb375d579 100644 --- a/src/assets/chain-logos/soneium.svg +++ b/src/assets/chain-logos/soneium.svg @@ -1,8 +1,8 @@ + fill="white" /> + fill="white" /> \ No newline at end of file diff --git a/src/constants/chains/configs.ts b/src/constants/chains/configs.ts index 8b386a472..e1256d4ff 100644 --- a/src/constants/chains/configs.ts +++ b/src/constants/chains/configs.ts @@ -491,7 +491,7 @@ export const cher = { constructExplorerLink: (txHash: string) => `${cher.explorerUrl}/tx/${txHash}`, nativeCurrencySymbol: "ETH", customRpcUrl: process.env.REACT_APP_CHAIN_1868_PROVIDER_URL, - pollingInterval: 15000, + pollingInterval: 2000, }; export const worldChain = { diff --git a/src/data/chains_1.json b/src/data/chains_1.json index 071caa3ba..86bce1d86 100644 --- a/src/data/chains_1.json +++ b/src/data/chains_1.json @@ -1573,7 +1573,22 @@ "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/soneium/assets/logo.svg", "spokePool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", "spokePoolBlock": 1709997, - "inputTokens": [], + "inputTokens": [ + { + "address": "0x4200000000000000000000000000000000000006", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + } + ], "outputTokens": [ { "address": "0x4200000000000000000000000000000000000006", @@ -1588,6 +1603,13 @@ "name": "Ether", "decimals": 18, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" } ] } diff --git a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json index 71d788e7b..46c433c0d 100644 --- a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json +++ b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json @@ -1011,6 +1011,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1, + "toChain": 1868, + "fromTokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 10, "toChain": 1, @@ -1979,6 +1990,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 10, + "toChain": 1868, + "fromTokenAddress": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 137, "toChain": 1, @@ -2749,6 +2771,28 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 137, + "toChain": 1868, + "fromTokenAddress": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 137, + "toChain": 1868, + "fromTokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 42161, "toChain": 1, @@ -3684,6 +3728,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 42161, + "toChain": 1868, + "fromTokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 42161, "toChain": 1868, @@ -4498,6 +4553,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 324, + "toChain": 1868, + "fromTokenAddress": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 8453, "toChain": 1, @@ -5158,6 +5224,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 8453, + "toChain": 1868, + "fromTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 8453, "toChain": 1868, @@ -5972,6 +6049,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 59144, + "toChain": 1868, + "fromTokenAddress": "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 34443, "toChain": 1, @@ -6687,6 +6775,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 34443, + "toChain": 1868, + "fromTokenAddress": "0xd988097fb8612cc24eeC14542bC03424c656005f", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 81457, "toChain": 1, @@ -8579,6 +8678,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 534352, + "toChain": 1868, + "fromTokenAddress": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 690, "toChain": 1, @@ -9437,6 +9547,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 7777777, + "toChain": 1868, + "fromTokenAddress": "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "USDzC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 480, "toChain": 1, @@ -10119,6 +10240,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 480, + "toChain": 1868, + "fromTokenAddress": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 41455, "toChain": 1, @@ -10383,6 +10515,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 41455, + "toChain": 1868, + "fromTokenAddress": "0xB3f0eE446723f4258862D949B4c9688e7e7d35d3", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 57073, "toChain": 1, @@ -10734,6 +10877,347 @@ "toTokenSymbol": "ETH", "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 1, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 1, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 10, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 10, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 10, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 137, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 137, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 137, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 42161, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 42161, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 42161, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 324, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 324, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 8453, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 8453, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 8453, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDbC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 59144, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 59144, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 34443, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 34443, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xd988097fb8612cc24eeC14542bC03424c656005f", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 81457, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4300000000000000000000000000000000000004", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 1135, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 534352, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x5300000000000000000000000000000000000004", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 534352, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 690, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 7777777, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 7777777, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDzC", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 480, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 480, + "fromTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "toTokenAddress": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "USDC.e", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 1868, + "toChain": 41455, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xB3f0eE446723f4258862D949B4c9688e7e7d35d3", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 57073, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" } ], "swapRoutes": [ @@ -10919,6 +11403,20 @@ "swapTokenSymbol": "USDC.e", "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 10, + "toChain": 1868, + "fromTokenAddress": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "swapTokenAddress": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", + "swapTokenSymbol": "USDC.e", + "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 137, "toChain": 1, @@ -11101,6 +11599,20 @@ "swapTokenSymbol": "USDC.e", "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 137, + "toChain": 1868, + "fromTokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "swapTokenAddress": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", + "swapTokenSymbol": "USDC.e", + "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 42161, "toChain": 1, @@ -11283,6 +11795,20 @@ "swapTokenSymbol": "USDC.e", "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 42161, + "toChain": 1868, + "fromTokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "swapTokenAddress": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", + "swapTokenSymbol": "USDC.e", + "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, { "fromChain": 8453, "toChain": 1, @@ -11464,6 +11990,20 @@ "swapTokenAddress": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", "swapTokenSymbol": "USDbC", "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + }, + { + "fromChain": 8453, + "toChain": 1868, + "fromTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "toTokenAddress": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "USDC", + "toTokenSymbol": "USDC.e", + "isNative": false, + "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "swapTokenAddress": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", + "swapTokenSymbol": "USDbC", + "swapTokenL1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" } ], "pools": [], From fc7a011f766b76b90b8bc45d7ce44e8e2c3334de Mon Sep 17 00:00:00 2001 From: james-a-morris Date: Tue, 14 Jan 2025 11:35:02 -0500 Subject: [PATCH 4/6] improve: remove codename Signed-off-by: james-a-morris --- package.json | 6 +++--- scripts/chain-configs/soneium/index.ts | 2 +- src/constants/chains/configs.ts | 27 ++++++++++++----------- src/constants/chains/index.ts | 2 +- src/utils/constants.ts | 2 +- yarn.lock | 30 +++++++++++++------------- 6 files changed, 35 insertions(+), 34 deletions(-) diff --git a/package.json b/package.json index 26d50f323..b7436f92a 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "private": true, "license": "AGPL-3.0-only", "dependencies": { - "@across-protocol/constants": "^3.1.28", - "@across-protocol/contracts": "^3.0.23", + "@across-protocol/constants": "^3.1.30", + "@across-protocol/contracts": "^3.0.25", "@across-protocol/contracts-v3.0.6": "npm:@across-protocol/contracts@3.0.6", - "@across-protocol/sdk": "^3.4.11", + "@across-protocol/sdk": "^3.4.12", "@amplitude/analytics-browser": "^2.3.5", "@balancer-labs/sdk": "1.1.6-beta.16", "@emotion/react": "^11.13.0", diff --git a/scripts/chain-configs/soneium/index.ts b/scripts/chain-configs/soneium/index.ts index 48a8cee33..6977bf0c4 100644 --- a/scripts/chain-configs/soneium/index.ts +++ b/scripts/chain-configs/soneium/index.ts @@ -4,7 +4,7 @@ import { ChainConfig } from "../types"; const { getDeployedAddress, getDeployedBlockNumber } = sdkUtils; -const chainId = CHAIN_IDs.CHER; +const chainId = CHAIN_IDs.SONEIUM; const chainInfoBase = PUBLIC_NETWORKS[chainId]; export default { diff --git a/src/constants/chains/configs.ts b/src/constants/chains/configs.ts index e1256d4ff..f3b8fe03c 100644 --- a/src/constants/chains/configs.ts +++ b/src/constants/chains/configs.ts @@ -105,10 +105,10 @@ import sepoliaGrayscaleLogo from "assets/chain-logos/sepolia-grayscale.svg"; import { ReactComponent as sepoliaLogoSvg } from "assets/chain-logos/sepolia.svg"; import { ReactComponent as sepoliaGrayscaleLogoSvg } from "assets/chain-logos/sepolia-grayscale.svg"; -import cherLogo from "assets/chain-logos/soneium.svg"; -import cherGrayscaleLogo from "assets/chain-logos/soneium-grayscale.svg"; -import { ReactComponent as cherLogoSvg } from "assets/chain-logos/soneium.svg"; -import { ReactComponent as cherGrayscaleLogoSvg } from "assets/chain-logos/soneium-grayscale.svg"; +import soneiumLogo from "assets/chain-logos/soneium.svg"; +import soneiumGrayscaleLogo from "assets/chain-logos/soneium-grayscale.svg"; +import { ReactComponent as soneiumLogoSvg } from "assets/chain-logos/soneium.svg"; +import { ReactComponent as soneiumGrayscaleLogoSvg } from "assets/chain-logos/soneium-grayscale.svg"; import worldChainLogo from "assets/chain-logos/world-chain.svg"; import worldChainGrayscaleLogo from "assets/chain-logos/world-chain-grayscale.svg"; @@ -478,17 +478,18 @@ export const sepolia = { pollingInterval: 15000, }; -export const cher = { - name: "Cher", - fullName: "Cher", +export const soneium = { + name: "soneium", + fullName: "soneium", chainId: 1868, - logoURI: cherLogo, - grayscaleLogoURI: cherGrayscaleLogo, - logoSvg: cherLogoSvg, - grayscaleLogoSvg: cherGrayscaleLogoSvg, + logoURI: soneiumLogo, + grayscaleLogoURI: soneiumGrayscaleLogo, + logoSvg: soneiumLogoSvg, + grayscaleLogoSvg: soneiumGrayscaleLogoSvg, rpcUrl: "https://rpc.soneium.org", explorerUrl: "", - constructExplorerLink: (txHash: string) => `${cher.explorerUrl}/tx/${txHash}`, + constructExplorerLink: (txHash: string) => + `${soneium.explorerUrl}/tx/${txHash}`, nativeCurrencySymbol: "ETH", customRpcUrl: process.env.REACT_APP_CHAIN_1868_PROVIDER_URL, pollingInterval: 2000, @@ -566,7 +567,7 @@ export const chainConfigs = [ redstone, scroll, sepolia, - cher, + soneium, worldChain, zkSync, zora, diff --git a/src/constants/chains/index.ts b/src/constants/chains/index.ts index 39f5d16fd..4b7d85252 100644 --- a/src/constants/chains/index.ts +++ b/src/constants/chains/index.ts @@ -26,7 +26,7 @@ const orderedEnabledChainIds = [ CHAIN_IDs.WORLD_CHAIN, CHAIN_IDs.ALEPH_ZERO, CHAIN_IDs.INK, - CHAIN_IDs.CHER, + CHAIN_IDs.SONEIUM, // testnet CHAIN_IDs.SEPOLIA, CHAIN_IDs.BASE_SEPOLIA, diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 5cf60005a..ae82d34da 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -125,7 +125,7 @@ export const rewardPrograms: Record = { ChainId.INK, ChainId.WORLD_CHAIN, ChainId.LISK, - ChainId.CHER, + ChainId.SONEIUM, ], }, "arb-rebates": { diff --git a/yarn.lock b/yarn.lock index 75d6f5d35..b45c687ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,10 +16,10 @@ "@uma/common" "^2.17.0" hardhat "^2.9.3" -"@across-protocol/constants@^3.1.28": - version "3.1.28" - resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.28.tgz#0540f5a44b085b0951a853898afe174ea113db3a" - integrity sha512-rnI1pQgkJ6+hPIQNomsi8eQreVfWKfFn9i9Z39U0fAnoXodZklW0eqj5N0cXlEfahp5j2u1RCs7s6fQ9megCdw== +"@across-protocol/constants@^3.1.30": + version "3.1.30" + resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.30.tgz#b5bb82b5efcf3f63658332eece240ecdb645c0bc" + integrity sha512-1lEhQmYiqcMKg05fnPfSeCk9QTRaHdVykD+Wcr5tcsyPYgOMtXOXvxxvtSOe9FK+ckpRypp4ab2WUN2iitnzpw== "@across-protocol/constants@^3.1.9": version "3.1.13" @@ -55,12 +55,12 @@ "@openzeppelin/contracts" "4.1.0" "@uma/core" "^2.18.0" -"@across-protocol/contracts@^3.0.23": - version "3.0.23" - resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.23.tgz#42decf1db2c0ac1c3da82ae2fc63c8ae59f426c1" - integrity sha512-212dLJj9LCiqAruoFIQUyEFyTFvpacPeQLZLU+h6skkf+K67lUjHYjVykWg3u22k/4fuBs3UMHDA6kqUUvldNQ== +"@across-protocol/contracts@^3.0.25": + version "3.0.25" + resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.25.tgz#733771bb3d40e111bd14b8be9b4526595ccba0a7" + integrity sha512-OwBxylXAzujUJCGbENyBki0yUryJJAb4v7i69nri+psyJr8MA8LhiiOIVhw+jIUeukBeY8uKF+AI7fzlewwFvA== dependencies: - "@across-protocol/constants" "^3.1.28" + "@across-protocol/constants" "^3.1.30" "@coral-xyz/anchor" "^0.30.1" "@defi-wonderland/smock" "^2.3.4" "@eth-optimism/contracts" "^0.5.40" @@ -83,14 +83,14 @@ yargs "^17.7.2" zksync-web3 "^0.14.3" -"@across-protocol/sdk@^3.4.11": - version "3.4.11" - resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.11.tgz#f84056355bd529419bf9ff6fd80363acdefdf603" - integrity sha512-26C9pit1jNWG+1kx3Dk9L2hoTeS+o4Ouy2DR5K8NGGeso7MInI0/1OrRb2bxJU0xTJGD5q50+qmeMeHrCblvuw== +"@across-protocol/sdk@^3.4.12": + version "3.4.12" + resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.12.tgz#2944f41d51a2cd889a4d1882435149a32e5441c8" + integrity sha512-Bc4hpvl0CysisOLk+WQLbSUwhRhJ/NPyHwocA/Qo5ERne+zmN8P8dsmVQLgsIxay3Nu+VLVcNLoSKWewiom46w== dependencies: "@across-protocol/across-token" "^1.0.0" - "@across-protocol/constants" "^3.1.28" - "@across-protocol/contracts" "^3.0.23" + "@across-protocol/constants" "^3.1.30" + "@across-protocol/contracts" "^3.0.25" "@eth-optimism/sdk" "^3.3.1" "@ethersproject/bignumber" "^5.7.0" "@pinata/sdk" "^2.1.0" From f63330ad897ba84b3f734df84a934e5da3ea9ba2 Mon Sep 17 00:00:00 2001 From: james-a-morris Date: Tue, 14 Jan 2025 18:23:50 -0500 Subject: [PATCH 5/6] improve: add ETH routes Signed-off-by: james-a-morris --- scripts/chain-configs/soneium/index.ts | 2 +- src/data/chains_1.json | 11 +- ...6fA914353c44b2E33eBE05f21846F1048bEda.json | 188 +++++++++++++++++- 3 files changed, 192 insertions(+), 9 deletions(-) diff --git a/scripts/chain-configs/soneium/index.ts b/scripts/chain-configs/soneium/index.ts index 6977bf0c4..8e0b7eacc 100644 --- a/scripts/chain-configs/soneium/index.ts +++ b/scripts/chain-configs/soneium/index.ts @@ -18,6 +18,6 @@ export default { chainId, publicRpcUrl: "https://rpc.soneium.org", blockTimeSeconds: 2, - tokens: ["WETH", "USDC.e"], + tokens: ["WETH", "ETH", "USDC.e"], enableCCTP: false, } as ChainConfig; diff --git a/src/data/chains_1.json b/src/data/chains_1.json index 86bce1d86..86090a827 100644 --- a/src/data/chains_1.json +++ b/src/data/chains_1.json @@ -1567,9 +1567,9 @@ }, { "chainId": 1868, - "name": "Cher", + "name": "Soneium", "publicRpcUrl": "https://rpc.soneium.org", - "explorerUrl": "", + "explorerUrl": "https://soneium.blockscout.com", "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/soneium/assets/logo.svg", "spokePool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", "spokePoolBlock": 1709997, @@ -1581,6 +1581,13 @@ "decimals": 18, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" }, + { + "address": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, { "address": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", "symbol": "USDC.e", diff --git a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json index 46c433c0d..7f7ce0ce7 100644 --- a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json +++ b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json @@ -10224,9 +10224,9 @@ "fromTokenAddress": "0x4200000000000000000000000000000000000006", "toTokenAddress": "0x4200000000000000000000000000000000000006", "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", - "fromTokenSymbol": "WETH", - "toTokenSymbol": "WETH", - "isNative": false, + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, { @@ -10235,9 +10235,9 @@ "fromTokenAddress": "0x4200000000000000000000000000000000000006", "toTokenAddress": "0x4200000000000000000000000000000000000006", "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", - "fromTokenSymbol": "ETH", - "toTokenSymbol": "ETH", - "isNative": true, + "fromTokenSymbol": "WETH", + "toTokenSymbol": "WETH", + "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, { @@ -10889,6 +10889,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 1, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 1, @@ -10911,6 +10922,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 10, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 10, @@ -10944,6 +10966,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 137, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 137, @@ -10977,6 +11010,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 42161, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 42161, @@ -11010,6 +11054,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 324, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 324, @@ -11032,6 +11087,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 8453, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 8453, @@ -11065,6 +11131,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 59144, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 59144, @@ -11087,6 +11164,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 34443, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 34443, @@ -11109,6 +11197,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 81457, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4300000000000000000000000000000000000004", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 1135, @@ -11120,6 +11219,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 1135, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 534352, @@ -11131,6 +11241,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 534352, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x5300000000000000000000000000000000000004", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 534352, @@ -11153,6 +11274,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 690, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 7777777, @@ -11164,6 +11296,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 7777777, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 7777777, @@ -11186,6 +11329,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 480, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 480, @@ -11208,6 +11362,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1868, + "toChain": 41455, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0xB3f0eE446723f4258862D949B4c9688e7e7d35d3", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, { "fromChain": 1868, "toChain": 57073, @@ -11218,6 +11383,17 @@ "toTokenSymbol": "WETH", "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + { + "fromChain": 1868, + "toChain": 57073, + "fromTokenAddress": "0x4200000000000000000000000000000000000006", + "toTokenAddress": "0x4200000000000000000000000000000000000006", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "ETH", + "toTokenSymbol": "ETH", + "isNative": true, + "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" } ], "swapRoutes": [ From bba3229d891944cb8762edf12c2e18f662eccde8 Mon Sep 17 00:00:00 2001 From: amateima <89395931+amateima@users.noreply.github.com> Date: Wed, 15 Jan 2025 02:15:08 +0200 Subject: [PATCH 6/6] fix: fix explorer url (#1377) --- src/constants/chains/configs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/chains/configs.ts b/src/constants/chains/configs.ts index f3b8fe03c..d4c6e1c65 100644 --- a/src/constants/chains/configs.ts +++ b/src/constants/chains/configs.ts @@ -487,7 +487,7 @@ export const soneium = { logoSvg: soneiumLogoSvg, grayscaleLogoSvg: soneiumGrayscaleLogoSvg, rpcUrl: "https://rpc.soneium.org", - explorerUrl: "", + explorerUrl: "https://soneium.blockscout.com", constructExplorerLink: (txHash: string) => `${soneium.explorerUrl}/tx/${txHash}`, nativeCurrencySymbol: "ETH",