From 050de9f43a4141755b51b03733a2f11474ba6017 Mon Sep 17 00:00:00 2001 From: Ken Kunz Date: Thu, 26 Sep 2024 16:38:12 -0500 Subject: [PATCH] add alternate "Deposit at Enzyme" button to MyDeposits - only shown when strategy configured with `depositOnEnzyme=true` - short term hack - revert this commit when no longer needed --- src/lib/wallet/MyDeposits.svelte | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/lib/wallet/MyDeposits.svelte b/src/lib/wallet/MyDeposits.svelte index 0e02bb455..626c8d1b5 100644 --- a/src/lib/wallet/MyDeposits.svelte +++ b/src/lib/wallet/MyDeposits.svelte @@ -20,6 +20,7 @@ import { formatBalance } from '$lib/eth-defi/helpers'; import { formatDollar } from '$lib/helpers/formatters'; import { type CountryCode, getCountryName } from '$lib/helpers/geo'; + import { getVaultUrl } from 'trade-executor/helpers/vault'; export let strategy: ConnectedStrategyRuntimeState; export let chain: ConfiguredChain | undefined; @@ -147,8 +148,25 @@ {/if} -