Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Update addresses.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hensha256 authored Feb 13, 2024
1 parent 82514fd commit 1ee385e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,7 @@ export const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap = SUPPORTED_CHAINS.redu
export const SWAP_ROUTER_02_ADDRESSES = (chainId: number) => {
if (chainId in SUPPORTED_CHAINS) {
const id = chainId as SupportedChainsType
if (CHAIN_TO_ADDRESSES_MAP[id].swapRouter02Address) {
return CHAIN_TO_ADDRESSES_MAP[id].swapRouter02Address
} else return '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45'
return CHAIN_TO_ADDRESSES_MAP[id].swapRouter02Address ?? '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45'
}
return ''
}

0 comments on commit 1ee385e

Please sign in to comment.