From 5e36b30d7670aac1c77bc8307feef3d2bd219e52 Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:28:30 +0000 Subject: [PATCH] chore: Enable new tokens WBTC on Lisk & POOL on World Chain. --- package.json | 4 +- scripts/chain-configs/lisk/index.ts | 2 +- scripts/chain-configs/world-chain/index.ts | 2 +- src/data/chains_1.json | 28 ++ ...6fA914353c44b2E33eBE05f21846F1048bEda.json | 352 ++++++++++++++++++ yarn.lock | 117 +++--- 6 files changed, 454 insertions(+), 51 deletions(-) diff --git a/package.json b/package.json index 638c4b9b2..7289c77e5 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "private": true, "license": "AGPL-3.0-only", "dependencies": { - "@across-protocol/constants": "^3.1.20", + "@across-protocol/constants": "^3.1.22", "@across-protocol/contracts": "^3.0.17", "@across-protocol/contracts-v3.0.6": "npm:@across-protocol/contracts@3.0.6", - "@across-protocol/sdk": "^3.3.22", + "@across-protocol/sdk": "^3.3.25", "@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/lisk/index.ts b/scripts/chain-configs/lisk/index.ts index 0d767eece..7a55354d1 100644 --- a/scripts/chain-configs/lisk/index.ts +++ b/scripts/chain-configs/lisk/index.ts @@ -17,7 +17,7 @@ export default { chainId, blockTimeSeconds: 2, publicRpcUrl: "https://rpc.api.lisk.com", - tokens: ["WETH", "ETH", "USDT", "LSK"], + tokens: ["WETH", "ETH", "USDT", "LSK", "WBTC"], enableCCTP: false, swapTokens: [], } as ChainConfig; diff --git a/scripts/chain-configs/world-chain/index.ts b/scripts/chain-configs/world-chain/index.ts index 225e34f23..65fbd5c0a 100644 --- a/scripts/chain-configs/world-chain/index.ts +++ b/scripts/chain-configs/world-chain/index.ts @@ -19,6 +19,6 @@ export default { chainId, publicRpcUrl: "https://worldchain-mainnet.g.alchemy.com/public", blockTimeSeconds: 2, - tokens: ["ETH", "WBTC", "WETH", "USDC.e"], + tokens: ["ETH", "WBTC", "WETH", "USDC.e", "POOL"], enableCCTP: false, } as ChainConfig; diff --git a/src/data/chains_1.json b/src/data/chains_1.json index ebc43c121..3bd719c7d 100644 --- a/src/data/chains_1.json +++ b/src/data/chains_1.json @@ -1153,6 +1153,13 @@ "name": "Lisk", "decimals": 18, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/lsk.svg" + }, + { + "address": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" } ], "outputTokens": [ @@ -1170,6 +1177,13 @@ "decimals": 18, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg" }, + { + "address": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "symbol": "WBTC", + "name": "Wrapped Bitcoin", + "decimals": 8, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, { "address": "0x05D032ac25d322df992303dCa074EE7392C117b9", "symbol": "USDT", @@ -1415,6 +1429,13 @@ "name": "USD Coin (bridged)", "decimals": 6, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg" + }, + { + "address": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" } ], "outputTokens": [ @@ -1445,6 +1466,13 @@ "name": "Wrapped Bitcoin", "decimals": 8, "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wbtc.svg" + }, + { + "address": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "symbol": "POOL", + "name": "PoolTogether", + "decimals": 18, + "logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/pool.svg" } ] }, diff --git a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json index e527eeb0e..60d42c04c 100644 --- a/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json +++ b/src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json @@ -725,6 +725,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1, + "toChain": 1135, + "fromTokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1, "toChain": 1135, @@ -912,6 +923,17 @@ "isNative": false, "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" }, + { + "fromChain": 1, + "toChain": 480, + "fromTokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 1, "toChain": 41455, @@ -1638,6 +1660,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 10, + "toChain": 1135, + "fromTokenAddress": "0x68f180fcCe6836688e9084f035309E29Bf0A2095", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 10, "toChain": 1135, @@ -1814,6 +1847,17 @@ "isNative": false, "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" }, + { + "fromChain": 10, + "toChain": 480, + "fromTokenAddress": "0x395Ae52bB17aef68C2888d941736A71dC6d4e125", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0x6f26Bf09B1C792e3228e5467807a900A503c0281", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 10, "toChain": 41455, @@ -2430,6 +2474,17 @@ "isNative": false, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 137, + "toChain": 1135, + "fromTokenAddress": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 137, "toChain": 1135, @@ -2562,6 +2617,17 @@ "isNative": false, "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" }, + { + "fromChain": 137, + "toChain": 480, + "fromTokenAddress": "0x25788a1a171ec66Da6502f9975a15B609fF54CF6", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 137, "toChain": 41455, @@ -3244,6 +3310,17 @@ "isNative": false, "l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F" }, + { + "fromChain": 42161, + "toChain": 1135, + "fromTokenAddress": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 42161, "toChain": 1135, @@ -3442,6 +3519,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 42161, + "toChain": 480, + "fromTokenAddress": "0xCF934E2402A5e072928a39a956964eb8F2B5B79C", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 42161, "toChain": 41455, @@ -4014,6 +4102,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 324, + "toChain": 1135, + "fromTokenAddress": "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 324, "toChain": 1135, @@ -4817,6 +4916,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 8453, + "toChain": 480, + "fromTokenAddress": "0xd652C5425aea2Afd5fb142e120FeCf79e18fafc3", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 8453, "toChain": 41455, @@ -5389,6 +5499,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 59144, + "toChain": 1135, + "fromTokenAddress": "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 59144, "toChain": 534352, @@ -6049,6 +6170,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 34443, + "toChain": 1135, + "fromTokenAddress": "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 34443, "toChain": 534352, @@ -6588,6 +6720,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 81457, + "toChain": 1135, + "fromTokenAddress": "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x2D509190Ed0172ba588407D4c2df918F955Cc6E1", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 81457, "toChain": 534352, @@ -6764,6 +6907,17 @@ "isNative": false, "l1TokenAddress": "0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f" }, + { + "fromChain": 1135, + "toChain": 1, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 10, @@ -6797,6 +6951,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 10, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x68f180fcCe6836688e9084f035309E29Bf0A2095", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 137, @@ -6830,6 +6995,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 137, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 42161, @@ -6863,6 +7039,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 42161, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 324, @@ -6896,6 +7083,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 324, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 8453, @@ -6951,6 +7149,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 59144, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 34443, @@ -6984,6 +7193,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 34443, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 81457, @@ -7006,6 +7226,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1135, + "toChain": 81457, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 534352, @@ -7039,6 +7270,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 1135, + "toChain": 534352, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 690, @@ -7105,6 +7347,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 1135, + "toChain": 480, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 1135, "toChain": 41455, @@ -7721,6 +7974,17 @@ "isNative": false, "l1TokenAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7" }, + { + "fromChain": 534352, + "toChain": 1135, + "fromTokenAddress": "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 534352, "toChain": 690, @@ -7820,6 +8084,17 @@ "isNative": false, "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" }, + { + "fromChain": 534352, + "toChain": 480, + "fromTokenAddress": "0xF9Af83FC41e0cc2af2fba93644D542Df6eA0F2b7", + "toTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "fromSpokeAddress": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 534352, "toChain": 41455, @@ -8667,6 +8942,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 1, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 10, @@ -8722,6 +9008,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 10, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0x395Ae52bB17aef68C2888d941736A71dC6d4e125", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 137, @@ -8777,6 +9074,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 137, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0x25788a1a171ec66Da6502f9975a15B609fF54CF6", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 42161, @@ -8832,6 +9140,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 42161, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0xCF934E2402A5e072928a39a956964eb8F2B5B79C", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 324, @@ -8920,6 +9239,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 8453, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0xd652C5425aea2Afd5fb142e120FeCf79e18fafc3", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 59144, @@ -9052,6 +9382,17 @@ "isNative": true, "l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }, + { + "fromChain": 480, + "toChain": 1135, + "fromTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "toTokenAddress": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "WBTC", + "toTokenSymbol": "WBTC", + "isNative": false, + "l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + }, { "fromChain": 480, "toChain": 1135, @@ -9107,6 +9448,17 @@ "isNative": false, "l1TokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, + { + "fromChain": 480, + "toChain": 534352, + "fromTokenAddress": "0x7077C71B4AF70737a08287E279B717Dcf64fdC57", + "toTokenAddress": "0xF9Af83FC41e0cc2af2fba93644D542Df6eA0F2b7", + "fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + "fromTokenSymbol": "POOL", + "toTokenSymbol": "POOL", + "isNative": false, + "l1TokenAddress": "0x0cEC1A9154Ff802e7934Fc916Ed7Ca50bDE6844e" + }, { "fromChain": 480, "toChain": 690, diff --git a/yarn.lock b/yarn.lock index 6d24c9753..76dc5e008 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,11 +16,16 @@ "@uma/common" "^2.17.0" hardhat "^2.9.3" -"@across-protocol/constants@^3.1.19", "@across-protocol/constants@^3.1.20": +"@across-protocol/constants@^3.1.19": version "3.1.20" resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.20.tgz#305bd41f5644b7db5d9fd12a6a6b4bbbbe2fd016" integrity sha512-B5RsvuOQsZdFgLk0WcFZGmoivm6g6gv95a+YKVBydcxZkNxAsyP065UQEDAmvRXvPhqGyehhd52515Xa/3bzyg== +"@across-protocol/constants@^3.1.22": + version "3.1.22" + resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.22.tgz#888fb6852b9781aa9f872ac44e888d7bf2a643c7" + integrity sha512-l9CteL0FGHPPIbLaAztANpm/uNk8jV7hmDuecAToZdqAgqcN9E9Hfi44Fflr6H882uVsNlTU0/h1oWkTeifUnA== + "@across-protocol/constants@^3.1.9": version "3.1.13" resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.13.tgz#b4caf494e9d9fe50290cca91b7883ea408fdb90a" @@ -55,10 +60,10 @@ "@openzeppelin/contracts" "4.1.0" "@uma/core" "^2.18.0" -"@across-protocol/contracts@^3.0.16": - version "3.0.16" - resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.16.tgz#22eb0c1dcdb01e8ca504dc2351d46513d9f71cc6" - integrity sha512-vwg+PmWaenlrx7kTHZdjDTTj1PwXWFU3rMlFyfKM8xBXbPWhIfMQCKCYOwFrGmZw2nRTYgoyhoKN/f6rUs/snw== +"@across-protocol/contracts@^3.0.17": + version "3.0.17" + resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.17.tgz#eb1c260cc5feeeec24cf300f8ebba29755d17e65" + integrity sha512-XnWoVA10IeEiOxAOOeO7r1sq79lP0EEp3tpajN9sDPBnzVCiwSzhthNSClbbOQOxpOG9NYxBXC9bamEe4AUG2g== dependencies: "@across-protocol/constants" "^3.1.19" "@coral-xyz/anchor" "^0.30.1" @@ -74,21 +79,21 @@ "@solana/spl-token" "^0.4.6" "@solana/web3.js" "^1.31.0" "@types/yargs" "^17.0.33" - "@uma/common" "^2.34.0" + "@uma/common" "^2.37.3" "@uma/contracts-node" "^0.4.17" - "@uma/core" "^2.56.0" + "@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.17": - version "3.0.17" - resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.17.tgz#eb1c260cc5feeeec24cf300f8ebba29755d17e65" - integrity sha512-XnWoVA10IeEiOxAOOeO7r1sq79lP0EEp3tpajN9sDPBnzVCiwSzhthNSClbbOQOxpOG9NYxBXC9bamEe4AUG2g== +"@across-protocol/contracts@^3.0.18": + version "3.0.18" + resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.18.tgz#b5acbebcb249b193a4d9a019a7cd5af00131a70b" + integrity sha512-4eWgmK8D33ezNZPx/ePLnh3Za0FfcHj5mmDK5FfWbeOM+AjXOzV7miV2/xBcEZXclhIc52e3GcPdbegI15lA2w== dependencies: - "@across-protocol/constants" "^3.1.19" + "@across-protocol/constants" "^3.1.22" "@coral-xyz/anchor" "^0.30.1" "@defi-wonderland/smock" "^2.3.4" "@eth-optimism/contracts" "^0.5.40" @@ -111,19 +116,19 @@ yargs "^17.7.2" zksync-web3 "^0.14.3" -"@across-protocol/sdk@^3.3.22": - version "3.3.22" - resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.3.22.tgz#d71a88fcf239141a170aec12e7c8dd05f9c8405a" - integrity sha512-+YIJm5SU8tjWWwD8TNsJRoHwJ2PhyhwggfAX6CP3dSHsEza8r8T9c4ijV6oTmIvZRxQo3rTMSzLkrCh/tQGoCg== +"@across-protocol/sdk@^3.3.25": + version "3.3.25" + resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.3.25.tgz#6eec255fb7a1025050e0415b56f1bf8681936b1e" + integrity sha512-nBBrXY/kslvfsYnVd6kTNOuDSomlfRTw6v4uI40au/rEzPQ6G8X5d/F+DGN3iPfi3ltHY5BEiqE+E6s7AxHA8A== dependencies: "@across-protocol/across-token" "^1.0.0" - "@across-protocol/constants" "^3.1.20" - "@across-protocol/contracts" "^3.0.16" + "@across-protocol/constants" "^3.1.22" + "@across-protocol/contracts" "^3.0.18" "@eth-optimism/sdk" "^3.3.1" "@ethersproject/bignumber" "^5.7.0" "@pinata/sdk" "^2.1.0" "@types/mocha" "^10.0.1" - "@uma/sdk" "^0.34.1" + "@uma/sdk" "^0.34.10" arweave "^1.14.4" async "^3.2.5" axios "^0.27.2" @@ -7620,16 +7625,21 @@ web3 "^1.6.0" winston "^3.2.1" -"@uma/contracts-frontend@^0.4.22": - version "0.4.22" - resolved "https://registry.yarnpkg.com/@uma/contracts-frontend/-/contracts-frontend-0.4.22.tgz#fdd1a2f5cb00b62b2192fc3ba2a0dea4f96de198" - integrity sha512-VM088EnM5Mg4cPRBrQkz8nBD722+q7V1doTb+k6GvBN+j8KManVtWIudhatuInq3wDbACYXCtsiHqS6ZJpZlyw== +"@uma/contracts-frontend@^0.4.25": + version "0.4.25" + resolved "https://registry.yarnpkg.com/@uma/contracts-frontend/-/contracts-frontend-0.4.25.tgz#86fd9e07d0466e04be41c48856e292b0f0de0722" + integrity sha512-LfkMw0lO+H+hUPevoAFogVu5iJTXp+Q2ChddqiynvvrwZ/lrNHrOjj0uEX1winjJXTLFs78jBK1AsIkkYK2VTQ== -"@uma/contracts-node@^0.4.0", "@uma/contracts-node@^0.4.17", "@uma/contracts-node@^0.4.22": +"@uma/contracts-node@^0.4.0", "@uma/contracts-node@^0.4.17": version "0.4.22" resolved "https://registry.yarnpkg.com/@uma/contracts-node/-/contracts-node-0.4.22.tgz#9e77eec9daed0402dafdee0a49f7d82980be1692" integrity sha512-JDkp0k3dokemTogQNCVnlDsasl6jho9Rk1aW69+F6zZXRA7JHcfBAIN5ReRtsHSV1pAwMLiH1U8wVO5ispTf9w== +"@uma/contracts-node@^0.4.25": + version "0.4.25" + resolved "https://registry.yarnpkg.com/@uma/contracts-node/-/contracts-node-0.4.25.tgz#d5c82f1f2c7e0dc2dec26fe876db73ba3f0689d7" + integrity sha512-WaFojX4qyMmXpy5MBS7g0M0KnWESGusdSfTmlkZpCh65TksGaJwAyOM1YBRLL3xm3xSgxPoG+n6tTilSomUmOw== + "@uma/core@^2.18.0", "@uma/core@^2.56.0": version "2.59.0" resolved "https://registry.yarnpkg.com/@uma/core/-/core-2.59.0.tgz#fb31340fb9d211e8e1a569b3f409e28ba8e82b9e" @@ -7677,18 +7687,18 @@ mocha "^8.3.0" node-fetch "^2.6.1" -"@uma/sdk@^0.34.1": - version "0.34.7" - resolved "https://registry.yarnpkg.com/@uma/sdk/-/sdk-0.34.7.tgz#7e88cb06f2768b72fa35ab5f03cd431c94d4dd0a" - integrity sha512-FNvLDen3nMWa6vgsHAfNxJyegUzaUiw1E3tTcxIEHQ5kUHmrpVAoKJPYgHeA4JJLOwSGKk1o8BzSNeVEgjLD5w== +"@uma/sdk@^0.34.10": + version "0.34.10" + resolved "https://registry.yarnpkg.com/@uma/sdk/-/sdk-0.34.10.tgz#ae2bb4d1f5f4140aef0f7d6141620d70dbd57f35" + integrity sha512-Jo64XpbCxquuPIIktQCWFMNN/vCTyA1SbVXMrlmXgO7NAtPPMyPBlsKJr+N0/QrqymBQcO5wzdmo+EqJaeKIHw== dependencies: "@eth-optimism/core-utils" "^0.7.7" "@ethersproject/abstract-signer" "^5.4.0" "@ethersproject/providers" "^5.4.2" "@google-cloud/datastore" "^8.2.1" "@types/lodash-es" "^4.17.5" - "@uma/contracts-frontend" "^0.4.22" - "@uma/contracts-node" "^0.4.22" + "@uma/contracts-frontend" "^0.4.25" + "@uma/contracts-node" "^0.4.25" axios "^1.6.0" bluebird "^3.7.2" bn.js "^4.11.9" @@ -12408,7 +12418,7 @@ elliptic@6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" -elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4, elliptic@^6.5.5: +elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.5: version "6.5.5" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded" integrity sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw== @@ -12421,6 +12431,19 @@ elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6. minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.7: + version "6.6.1" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.6.1.tgz#3b8ffb02670bf69e382c7f65bf524c97c5405c06" + integrity sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" @@ -21822,36 +21845,36 @@ scrypt-js@3.0.1, scrypt-js@^3.0.0, scrypt-js@^3.0.1: resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== -secp256k1@3.7.1: - version "3.7.1" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.7.1.tgz#12e473e0e9a7c2f2d4d4818e722ad0e14cc1e2f1" - integrity sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g== +secp256k1@3.7.1, secp256k1@3.8.1: + version "3.8.1" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.1.tgz#b62a62a882d6b16f9b51fe599c6b3a861e36c59f" + integrity sha512-tArjQw2P0RTdY7QmkNehgp6TVvQXq6ulIhxv8gaH6YubKG/wxxAoNKcbuXjDhybbc+b2Ihc7e0xxiGN744UIiQ== dependencies: bindings "^1.5.0" bip66 "^1.1.5" bn.js "^4.11.8" create-hash "^1.2.0" drbg.js "^1.0.1" - elliptic "^6.4.1" + elliptic "^6.5.7" nan "^2.14.0" safe-buffer "^5.1.2" -secp256k1@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" - integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== +secp256k1@4.0.4, secp256k1@^4.0.0, secp256k1@^4.0.1: + version "4.0.4" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.4.tgz#58f0bfe1830fe777d9ca1ffc7574962a8189f8ab" + integrity sha512-6JfvwvjUOn8F/jUoBY2Q1v5WY5XS+rj8qSe0v8Y4ezH4InLgTEeOOPQsRll9OV429Pvo6BCHGavIyJfr3TAhsw== dependencies: - elliptic "^6.5.4" + elliptic "^6.5.7" node-addon-api "^5.0.0" node-gyp-build "^4.2.0" -secp256k1@^4.0.0, secp256k1@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== +secp256k1@5.0.0, secp256k1@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.1.tgz#dc2c86187d48ff2da756f0f7e96417ee03c414b1" + integrity sha512-lDFs9AAIaWP9UCdtWrotXWWF9t8PWgQDcxqgAnpM9rMqxb3Oaq2J0thzPVSxBwdJgyQtkU/sYtFtbM1RSt/iYA== dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" + elliptic "^6.5.7" + node-addon-api "^5.0.0" node-gyp-build "^4.2.0" semaphore@>=1.0.1, semaphore@^1.0.3: