Skip to content

Commit

Permalink
Merge pull request #309 from lidofinance/feature/si-1332-change-api-f…
Browse files Browse the repository at this point in the history
…or-1inch-on-withdrawals-widget

feat: 1inch integration mode classic
  • Loading branch information
jake4take authored Apr 9, 2024
2 parents ae63465 + b3b649b commit 773b9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/withdrawals/request/withdrawal-rates/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ const dexWithdrawalMap: DexWithdrawalIntegrationMap = {
icon: OneInchIcon,
matomoEvent: MATOMO_CLICK_EVENTS_TYPES.withdrawalGoTo1inch,
link: (amount, token) =>
`https://app.1inch.io/#/1/simple/swap/${
`https://app.1inch.io/#/1/advanced/swap/${
token == TOKENS.STETH ? 'stETH' : 'wstETH'
}/ETH?sourceTokenAmount=${formatEther(amount)}`,
}/ETH?mode=classic&sourceTokenAmount=${formatEther(amount)}`,
},
bebop: {
title: 'Bebop',
Expand Down

0 comments on commit 773b9b4

Please sign in to comment.