Skip to content

Commit

Permalink
add wgrass to sepolia and generate routes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Jan 10, 2025
1 parent 03316e6 commit d2d9870
Show file tree
Hide file tree
Showing 4 changed files with 52 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: ["GRASS", "WETH"],
tokens: ["GRASS", "WETH", "WGRASS"],
enableCCTP: false,
} as ChainConfig;
2 changes: 1 addition & 1 deletion scripts/chain-configs/sepolia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
},
chainId,
publicRpcUrl: "https://gateway.tenderly.co/public/sepolia",
tokens: ["WETH", "ETH", "USDC"],
tokens: ["WETH", "ETH", "USDC", "WGRASS"],
enableCCTP: false,
swapTokens: [],
} as ChainConfig;
28 changes: 28 additions & 0 deletions src/data/chains_11155111.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
"name": "USD Coin",
"decimals": 6,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg"
},
{
"address": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df",
"symbol": "WGRASS",
"name": "Wrapped Grass",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wgrass.svg"
}
],
"outputTokens": [
Expand All @@ -51,6 +58,13 @@
"name": "USD Coin",
"decimals": 6,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/usdc.svg"
},
{
"address": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df",
"symbol": "WGRASS",
"name": "Wrapped Grass",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wgrass.svg"
}
]
},
Expand Down Expand Up @@ -398,6 +412,13 @@
"name": "Wrapped Ether",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/weth.svg"
},
{
"address": "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8",
"symbol": "WGRASS",
"name": "Wrapped Grass",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wgrass.svg"
}
],
"outputTokens": [
Expand All @@ -414,6 +435,13 @@
"name": "Ether",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/eth.svg"
},
{
"address": "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8",
"symbol": "WGRASS",
"name": "Wrapped Grass",
"decimals": 18,
"logoUrl": "https://raw.githubusercontent.com/across-protocol/frontend/master/src/assets/token-logos/wgrass.svg"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,17 @@
"isNative": true,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 11155111,
"toChain": 37111,
"fromTokenAddress": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df",
"toTokenAddress": "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8",
"fromSpokeAddress": "0x5ef6C01E11889d86803e0B23e3cB3F9E9d97B662",
"fromTokenSymbol": "WGRASS",
"toTokenSymbol": "WGRASS",
"isNative": false,
"l1TokenAddress": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df"
},
{
"fromChain": 84532,
"toChain": 11155111,
Expand Down Expand Up @@ -1510,6 +1521,17 @@
"isNative": false,
"l1TokenAddress": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14"
},
{
"fromChain": 37111,
"toChain": 11155111,
"fromTokenAddress": "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8",
"toTokenAddress": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df",
"fromSpokeAddress": "0x6A0a7f39530923911832Dd60667CE5da5449967B",
"fromTokenSymbol": "WGRASS",
"toTokenSymbol": "WGRASS",
"isNative": false,
"l1TokenAddress": "0x2Be68B15c693D3b5747F9F0D49D30A2E81BAA2Df"
},
{
"fromChain": 37111,
"toChain": 84532,
Expand Down

0 comments on commit d2d9870

Please sign in to comment.