Skip to content

Commit

Permalink
feat: update swap URLs to use new SWAP_BASE_URL and improve code orga…
Browse files Browse the repository at this point in the history
…nization
  • Loading branch information
mohandast52 committed Dec 6, 2024
1 parent 7da7a15 commit e608a85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/constants/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ export const BACKEND_URL: Url = `http://localhost:${process.env.NODE_ENV === 'pr

export const BACKEND_URL_V2: Url = `http://localhost:${process.env.NODE_ENV === 'production' ? 8765 : 8000}/api/v2`;

// cowswap
export const COW_SWAP_GNOSIS_XDAI_OLAS_URL: Url =
// swap URLs
const COW_SWAP_GNOSIS_XDAI_OLAS_URL: Url =
'https://swap.cow.fi/#/100/swap/WXDAI/OLAS';

export const SWAP_BASE_URL: Url = 'https://swap.cow.fi/#/100/swap/WXDAI/OLAS'; // TODO: update
const SWAP_BASE_URL: Url = 'https://balancer.fi/swap/base/ETH/OLAS';

// olas.network
export const FAQ_URL: Url = 'https://olas.network/operate#faq';
Expand Down

0 comments on commit e608a85

Please sign in to comment.