diff --git a/api/chains.ts b/api/chains.ts new file mode 100644 index 000000000..bf6cd3666 --- /dev/null +++ b/api/chains.ts @@ -0,0 +1,73 @@ +import { VercelResponse } from "@vercel/node"; +import { Infer, optional, string, type } from "superstruct"; +import { + getLogger, + handleErrorCondition, + positiveIntStr, + boolStr, +} from "./_utils"; +import { TypedVercelRequest } from "./_types"; + +import mainnetChains from "../src/data/chains_1.json"; + +const ChainsQueryParams = type({ + inputTokenSymbol: optional(string()), + outputTokenSymbol: optional(string()), + chainId: optional(positiveIntStr()), + omitTokens: optional(boolStr()), +}); + +type ChainsQueryParams = Infer; + +const handler = async ( + { query }: TypedVercelRequest, + response: VercelResponse +) => { + const logger = getLogger(); + logger.debug({ + at: "TokenList", + message: "Query data", + query, + }); + + try { + const { inputTokenSymbol, outputTokenSymbol, chainId, omitTokens } = query; + + const filteredChains = mainnetChains.filter((chain) => { + return ( + (inputTokenSymbol + ? !!chain.inputTokens.find( + (token) => + token.symbol.toUpperCase() === inputTokenSymbol.toUpperCase() + ) + : true) && + (outputTokenSymbol + ? !!chain.outputTokens.find( + (token) => + token.symbol.toUpperCase() === outputTokenSymbol.toUpperCase() + ) + : true) && + (chainId ? chain.chainId === Number(chainId) : true) + ); + }); + + if (omitTokens === "true") { + filteredChains.forEach((chain) => { + chain.inputTokens = []; + chain.outputTokens = []; + }); + } + + logger.debug({ + at: "Chains", + message: "Response data", + responseJson: filteredChains, + }); + response.setHeader("Cache-Control", "s-maxage=3600"); + response.status(200).json(filteredChains); + } catch (error: unknown) { + return handleErrorCondition("token-list", response, logger, error); + } +}; + +export default handler; diff --git a/scripts/generate-routes.ts b/scripts/generate-routes.ts index 8bd814c22..603bf6bb4 100644 --- a/scripts/generate-routes.ts +++ b/scripts/generate-routes.ts @@ -376,6 +376,75 @@ async function generateRoutes(hubPoolChainId = 1) { parser: "json", }) ); + + // helper file with chains + const chainsFileContent = ( + hubPoolChainId === CHAIN_IDs.MAINNET + ? enabledMainnetChainConfigs + : enabledSepoliaChainConfigs + ).map((chainConfig) => { + const [chainKey] = + Object.entries(chainConfigs).find( + ([, config]) => config.chainId === chainConfig.chainId + ) || []; + if (!chainKey) { + throw new Error( + `Could not find chain key for chain ${chainConfig.chainId}` + ); + } + const assetsBaseUrl = `https://raw.githubusercontent.com/across-protocol/frontend/master`; + const getTokenInfo = (tokenSymbol: string) => { + const tokenInfo = + TOKEN_SYMBOLS_MAP[tokenSymbol as keyof typeof TOKEN_SYMBOLS_MAP]; + return { + address: utils.getAddress( + tokenInfo.addresses[chainConfig.chainId] as string + ), + symbol: tokenSymbol, + name: tokenInfo.name, + decimals: tokenInfo.decimals, + logoUrl: `${assetsBaseUrl}/src/assets/token-logos/${tokenSymbol.toLowerCase()}.svg`, + }; + }; + return { + chainId: chainConfig.chainId, + name: chainConfig.name, + publicRpcUrl: chainConfig.publicRpcUrl, + explorerUrl: chainConfig.blockExplorer, + logoUrl: `${assetsBaseUrl}/scripts/chain-configs/${chainKey.toLowerCase()}/assets/logo.svg`, + spokePool: chainConfig.spokePool, + inputTokens: routeFileContent.routes + .filter((route) => route.fromChain === chainConfig.chainId) + .map((route) => getTokenInfo(route.fromTokenSymbol)) + .reduce( + (acc, token) => { + if (!acc.find((t) => t.symbol === token.symbol)) { + return [...acc, token]; + } + return acc; + }, + [] as ReturnType[] + ), + outputTokens: routeFileContent.routes + .filter((route) => route.toChain === chainConfig.chainId) + .map((route) => getTokenInfo(route.toTokenSymbol)) + .reduce( + (acc, token) => { + if (!acc.find((t) => t.symbol === token.symbol)) { + return [...acc, token]; + } + return acc; + }, + [] as ReturnType[] + ), + }; + }); + writeFileSync( + `./src/data/chains_${hubPoolChainId}.json`, + await prettier.format(JSON.stringify(chainsFileContent, null, 2), { + parser: "json", + }) + ); } function transformBridgeRoute(route: Route, hubPoolChainId: number) { diff --git a/src/data/chains_1.json b/src/data/chains_1.json new file mode 100644 index 000000000..d8e1ad73e --- /dev/null +++ b/src/data/chains_1.json @@ -0,0 +1,1355 @@ +[ + { + "chainId": 1, + "name": "Ethereum", + "publicRpcUrl": "https://mainnet.gateway.tenderly.co", + "explorerUrl": "https://etherscan.io", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/mainnet/assets/logo.svg", + "spokePool": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "inputTokens": [ + { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x04Fa0d235C4abf4BcF4787aF4CF447DE572eF828", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0x6B175474E89094C44Da98b954EedeAC495271d0F", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0xba100000625a3754423978a60c9317c58a424e3D", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F", + "symbol": "SNX", + "name": "Synthetix", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/snx.svg" + }, + { + "address": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + }, + { + "address": "0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f", + "symbol": "LSK", + "name": "Lisk", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/lsk.svg" + } + ], + "outputTokens": [ + { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x04Fa0d235C4abf4BcF4787aF4CF447DE572eF828", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0x6B175474E89094C44Da98b954EedeAC495271d0F", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0xba100000625a3754423978a60c9317c58a424e3D", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F", + "symbol": "SNX", + "name": "Synthetix", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/snx.svg" + }, + { + "address": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + }, + { + "address": "0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f", + "symbol": "LSK", + "name": "Lisk", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/lsk.svg" + } + ] + }, + { + "chainId": 10, + "name": "Optimism", + "publicRpcUrl": "https://mainnet.optimism.io", + "explorerUrl": "https://optimistic.etherscan.io", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/optimism/assets/logo.svg", + "spokePool": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "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": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x68f180fcCe6836688e9084f035309E29Bf0A2095", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xE7798f023fC62146e8Aa1b36Da45fb70855a77Ea", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0xFE8B128bA8C78aabC59d4c64cEE7fF28e9379921", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4", + "symbol": "SNX", + "name": "Synthetix", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/snx.svg" + }, + { + "address": "0x395Ae52bB17aef68C2888d941736A71dC6d4e125", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ], + "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" + }, + { + "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0x68f180fcCe6836688e9084f035309E29Bf0A2095", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xE7798f023fC62146e8Aa1b36Da45fb70855a77Ea", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0xFE8B128bA8C78aabC59d4c64cEE7fF28e9379921", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4", + "symbol": "SNX", + "name": "Synthetix", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/snx.svg" + }, + { + "address": "0x395Ae52bB17aef68C2888d941736A71dC6d4e125", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ] + }, + { + "chainId": 137, + "name": "Polygon", + "publicRpcUrl": "https://rpc.ankr.com/polygon", + "explorerUrl": "https://polygonscan.com", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/polygon/assets/logo.svg", + "spokePool": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "inputTokens": [ + { + "address": "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x3066818837c5e6eD6601bd5a91B0762877A6B731", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x25788a1a171ec66Da6502f9975a15B609fF54CF6", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ], + "outputTokens": [ + { + "address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x3066818837c5e6eD6601bd5a91B0762877A6B731", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x25788a1a171ec66Da6502f9975a15B609fF54CF6", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ] + }, + { + "chainId": 42161, + "name": "Arbitrum", + "publicRpcUrl": "https://arb1.arbitrum.io/rpc", + "explorerUrl": "https://arbiscan.io", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/arbitrum/assets/logo.svg", + "spokePool": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "inputTokens": [ + { + "address": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xd693Ec944A85eeca4247eC1c3b130DCa9B0C3b22", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xCF934E2402A5e072928a39a956964eb8F2B5B79C", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ], + "outputTokens": [ + { + "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xd693Ec944A85eeca4247eC1c3b130DCa9B0C3b22", + "symbol": "UMA", + "name": "UMA Voting Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/uma.svg" + }, + { + "address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d", + "symbol": "ACX", + "name": "Across Protocol Token", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/acx.svg" + }, + { + "address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xCF934E2402A5e072928a39a956964eb8F2B5B79C", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ] + }, + { + "chainId": 324, + "name": "zkSync", + "publicRpcUrl": "https://mainnet.era.zksync.io", + "explorerUrl": "https://era.zksync.network", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/zk_sync/assets/logo.svg", + "spokePool": "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", + "inputTokens": [ + { + "address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + } + ], + "outputTokens": [ + { + "address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + } + ] + }, + { + "chainId": 8453, + "name": "Base", + "publicRpcUrl": "https://mainnet.base.org", + "explorerUrl": "https://basescan.org", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/base/assets/logo.svg", + "spokePool": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "inputTokens": [ + { + "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "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" + }, + { + "address": "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xd652C5425aea2Afd5fb142e120FeCf79e18fafc3", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ], + "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" + }, + { + "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", + "symbol": "USDbC", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdbc.svg" + }, + { + "address": "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1", + "symbol": "BAL", + "name": "Balancer", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/bal.svg" + }, + { + "address": "0xd652C5425aea2Afd5fb142e120FeCf79e18fafc3", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" + } + ] + }, + { + "chainId": 59144, + "name": "Linea", + "publicRpcUrl": "https://rpc.linea.build", + "explorerUrl": "https://lineascan.build", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/linea/assets/logo.svg", + "spokePool": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75", + "inputTokens": [ + { + "address": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0xA219439258ca9da29E9Cc4cE5596924745e12B93", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + } + ], + "outputTokens": [ + { + "address": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5", + "symbol": "DAI", + "name": "Dai Stablecoin", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/dai.svg" + }, + { + "address": "0xA219439258ca9da29E9Cc4cE5596924745e12B93", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + } + ] + }, + { + "chainId": 34443, + "name": "Mode", + "publicRpcUrl": "https://mainnet.mode.network", + "explorerUrl": "https://explorer.mode.network", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/mode/assets/logo.svg", + "spokePool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "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": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xd988097fb8612cc24eeC14542bC03424c656005f", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0xf0F161fDA2712DB8b566946122a5af183995e2eD", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + } + ], + "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" + }, + { + "address": "0xd988097fb8612cc24eeC14542bC03424c656005f", + "symbol": "USDC.e", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.e.svg" + }, + { + "address": "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xf0F161fDA2712DB8b566946122a5af183995e2eD", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + } + ] + }, + { + "chainId": 81457, + "name": "Blast", + "publicRpcUrl": "https://rpc.blast.io", + "explorerUrl": "https://blastscan.io", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/blast/assets/logo.svg", + "spokePool": "0x2D509190Ed0172ba588407D4c2df918F955Cc6E1", + "inputTokens": [ + { + "address": "0x4300000000000000000000000000000000000004", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x4300000000000000000000000000000000000004", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x4300000000000000000000000000000000000003", + "symbol": "USDB", + "name": "USDB", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdb.svg" + }, + { + "address": "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + } + ], + "outputTokens": [ + { + "address": "0x4300000000000000000000000000000000000004", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x4300000000000000000000000000000000000004", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x4300000000000000000000000000000000000003", + "symbol": "USDB", + "name": "USDB", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdb.svg" + } + ] + }, + { + "chainId": 1135, + "name": "Lisk", + "publicRpcUrl": "https://rpc.api.lisk.com", + "explorerUrl": "https://blockscout.lisk.com", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/lisk/assets/logo.svg", + "spokePool": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "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": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x05D032ac25d322df992303dCa074EE7392C117b9", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xac485391EB2d7D88253a7F1eF18C37f4242D1A24", + "symbol": "LSK", + "name": "Lisk", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/lsk.svg" + } + ], + "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" + }, + { + "address": "0x05D032ac25d322df992303dCa074EE7392C117b9", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0xac485391EB2d7D88253a7F1eF18C37f4242D1A24", + "symbol": "LSK", + "name": "Lisk", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/lsk.svg" + } + ] + }, + { + "chainId": 534352, + "name": "Scroll", + "publicRpcUrl": "https://rpc.scroll.io", + "explorerUrl": "https://scrollscan.com", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/scroll/assets/logo.svg", + "spokePool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "inputTokens": [ + { + "address": "0x5300000000000000000000000000000000000004", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x5300000000000000000000000000000000000004", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + }, + { + "address": "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + } + ], + "outputTokens": [ + { + "address": "0x5300000000000000000000000000000000000004", + "symbol": "WETH", + "name": "Wrapped Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg" + }, + { + "address": "0x5300000000000000000000000000000000000004", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", + "symbol": "USDC", + "name": "USD Coin", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df", + "symbol": "USDT", + "name": "Tether USD", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdt.svg" + } + ] + }, + { + "chainId": 690, + "name": "Redstone", + "publicRpcUrl": "https://rpc.redstonechain.com", + "explorerUrl": "https://explorer.redstone.xyz", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/redstone/assets/logo.svg", + "spokePool": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "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": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + } + ], + "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" + } + ] + }, + { + "chainId": 7777777, + "name": "Zora", + "publicRpcUrl": "https://rpc.zora.energy", + "explorerUrl": "https://zorascan.xyz", + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/zora/assets/logo.svg", + "spokePool": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97", + "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": "0x4200000000000000000000000000000000000006", + "symbol": "ETH", + "name": "Ether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" + }, + { + "address": "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4", + "symbol": "USDzC", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdzc.svg" + } + ], + "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" + }, + { + "address": "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4", + "symbol": "USDzC", + "name": "USD Coin (bridged)", + "decimals": 6, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdzc.svg" + } + ] + } +]