Skip to content

Commit

Permalink
fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Jan 10, 2025
1 parent d4fe97f commit 03316e6
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/chain-configs/lens-sepolia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default {
chainId,
publicRpcUrl: "https://rpc.testnet.lens.dev",
blockTimeSeconds: 1,
tokens: [],
tokens: ["GRASS", "WETH"],
enableCCTP: false,
} as ChainConfig;
10 changes: 9 additions & 1 deletion src/data/chains_11155111.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,15 @@
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/scripts/chain-configs/lens-sepolia/assets/logo.svg",
"spokePool": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"spokePoolBlock": 156275,
"inputTokens": [],
"inputTokens": [
{
"address": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"symbol": "WETH",
"name": "Wrapped Ether",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg"
}
],
"outputTokens": [
{
"address": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,17 @@
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 80002,
"toChain": 37111,
"fromTokenAddress": "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
"toTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"fromSpokeAddress": "0xd08baaE74D6d2eAb1F3320B2E1a53eeb391ce8e5",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 168587773,
"toChain": 11155111,
Expand Down Expand Up @@ -1487,6 +1498,94 @@
"toTokenSymbol": "ETH",
"isNative": true,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 11155111,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 84532,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 421614,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 11155420,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 919,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 80002,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 168587773,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x4200000000000000000000000000000000000023",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 4202,
"fromTokenAddress": "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16",
"toTokenAddress": "0x4200000000000000000000000000000000000006",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WETH",
"toTokenSymbol": "WETH",
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
}
],
"swapRoutes": [
Expand Down
1 change: 1 addition & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export const nonEthChains = [
ChainId.POLYGON,
ChainId.POLYGON_AMOY,
ChainId.ALEPH_ZERO,
ChainId.LENS_SEPOLIA,
];

export const tokenTable = Object.fromEntries(
Expand Down

0 comments on commit 03316e6

Please sign in to comment.