From b3b649b86f3dee377f6d9e9196a102434781669a Mon Sep 17 00:00:00 2001 From: Dmitrii Podlesnyi Date: Thu, 28 Mar 2024 14:59:10 +0400 Subject: [PATCH] feat: 1inch integration mode classic --- features/withdrawals/request/withdrawal-rates/integrations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/withdrawals/request/withdrawal-rates/integrations.ts b/features/withdrawals/request/withdrawal-rates/integrations.ts index 09caa0138..08781b205 100644 --- a/features/withdrawals/request/withdrawal-rates/integrations.ts +++ b/features/withdrawals/request/withdrawal-rates/integrations.ts @@ -173,9 +173,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',