Skip to content

Commit

Permalink
improve: add ETH routes
Browse files Browse the repository at this point in the history
Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris committed Jan 14, 2025
1 parent fc7a011 commit f63330a
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/chain-configs/soneium/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
11 changes: 9 additions & 2 deletions src/data/chains_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down
188 changes: 182 additions & 6 deletions src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json
Original file line number Diff line number Diff line change
Expand Up @@ -10224,9 +10224,9 @@
"fromTokenAddress": "0x4200000000000000000000000000000000000006",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"fromTokenSymbol": "ETH",
"toTokenSymbol": "ETH",
"isNative": true,
"l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
{
Expand All @@ -10235,9 +10235,9 @@
"fromTokenAddress": "0x4200000000000000000000000000000000000006",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64",
"fromTokenSymbol": "ETH",
"toTokenSymbol": "ETH",
"isNative": true,
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
{
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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": [
Expand Down

0 comments on commit f63330a

Please sign in to comment.