Skip to content

Commit

Permalink
add Arbitrum Sepolia addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-silver committed Oct 28, 2024
1 parent 4a9f282 commit e35fee7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/builder/BridgeRoutes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ library CCTP {
address bridge;
}

// @dev Source: TokenMessenger contract from https://developers.circle.com/stablecoins/evm-smart-contracts
function knownChains() internal pure returns (CCTPChain[] memory) {
CCTPChain[] memory chains = new CCTPChain[](4);
CCTPChain[] memory chains = new CCTPChain[](5);
// Mainnet
chains[0] = CCTPChain({chainId: 1, domainId: 0, bridge: 0xBd3fa81B58Ba92a82136038B25aDec7066af3155});
// Base
Expand All @@ -36,6 +37,8 @@ library CCTP {
chains[2] = CCTPChain({chainId: 11155111, domainId: 0, bridge: 0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5});
// Base Sepolia
chains[3] = CCTPChain({chainId: 84532, domainId: 6, bridge: 0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5});
// Arbitrum Sepolia
chains[4] = CCTPChain({chainId: 421614, domainId: 3, bridge: 0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5});
return chains;
}

Expand Down
4 changes: 3 additions & 1 deletion src/builder/UniswapRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ library UniswapRouter {
/// @dev Addresses fetched from: https://docs.uniswap.org/contracts/v3/reference/deployments/
/// Note: Make sure that these are the addresses for SwapRouter02, not SwapRouter.
function knownChains() internal pure returns (RouterChain[] memory) {
RouterChain[] memory chains = new RouterChain[](4);
RouterChain[] memory chains = new RouterChain[](5);
// Mainnet
chains[0] = RouterChain({chainId: 1, router: 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45});
// Base
Expand All @@ -21,6 +21,8 @@ library UniswapRouter {
chains[2] = RouterChain({chainId: 11155111, router: 0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E});
// Base Sepolia
chains[3] = RouterChain({chainId: 84532, router: 0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4});
// Arbitrum Sepolia
chains[4] = RouterChain({chainId: 421614, router: 0x101F443B4d1b059569D643917553c771E1b9663E});
return chains;
}

Expand Down

0 comments on commit e35fee7

Please sign in to comment.