From 9fd3111c245a8d1ffda9f7a51f6093f5ebb09410 Mon Sep 17 00:00:00 2001
From: mrbasado <95517127+mrbasado@users.noreply.github.com>
Date: Mon, 10 Jul 2023 13:20:13 -0400
Subject: [PATCH] Legacy badger com changes (#2556)
* feat: disable deposit on discontinued vaults
* feat: hardcode no deposits
* feat: updated announcment + removal of old text
* feat: keep influence vaults open
---
.../YieldBearingRewards.tsx | 3 -
.../common/dialogs/VaultDeposit.tsx | 3 +-
src/config/constants.ts | 7 +-
src/mobx/stores/VaultStore.ts | 4 +
src/pages/Landing.tsx | 3 +-
src/tests/__snapshots__/Landing.test.tsx.snap | 2866 ++++++++---------
.../__snapshots__/Banner.test.tsx.snap | 56 +-
src/ui-library/Banner.tsx | 16 +-
8 files changed, 1445 insertions(+), 1513 deletions(-)
diff --git a/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx b/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx
index 65bf02720..7f805b1fb 100644
--- a/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx
+++ b/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx
@@ -96,9 +96,6 @@ const YieldBearingRewards = observer(({ open, onModalClose }: YieldBearingReward
the overall return on your deposits. No staking, locking, delegating, voting, bribing or claiming. Just
earning.
-
- Deposit to earn - - Yield-Bearing Rewards - - - that automate and optimize yield from Aura and Convex positions -
Vault
APY
My Deposits
TVL
$6,450.00
$13,738,345
@@ -666,20 +648,20 @@ exports[`Landing Renders correctly 1`] = `$1,712.37
$3,609,918
@@ -814,20 +796,20 @@ exports[`Landing Renders correctly 1`] = `$0
$2,753,168
@@ -936,20 +918,20 @@ exports[`Landing Renders correctly 1`] = `$0
$836,428
@@ -1071,34 +1053,34 @@ exports[`Landing Renders correctly 1`] = `$0
$106,996
@@ -1207,27 +1189,27 @@ exports[`Landing Renders correctly 1`] = `$0
$2,739,793
@@ -1336,34 +1318,34 @@ exports[`Landing Renders correctly 1`] = `$0
$744,657
@@ -1472,27 +1454,27 @@ exports[`Landing Renders correctly 1`] = `$0
$832,345
@@ -1601,27 +1583,27 @@ exports[`Landing Renders correctly 1`] = `$0
$19,814,734
@@ -1743,27 +1725,27 @@ exports[`Landing Renders correctly 1`] = `$0
$2,708,612
@@ -1872,27 +1854,27 @@ exports[`Landing Renders correctly 1`] = `7.03%
$0
$1,224,135
@@ -1978,20 +1960,20 @@ exports[`Landing Renders correctly 1`] = `0.00%
$0
$1,565,378
@@ -2077,27 +2059,27 @@ exports[`Landing Renders correctly 1`] = `2.23%
$0
$7,835,152
@@ -2183,34 +2165,34 @@ exports[`Landing Renders correctly 1`] = `$0
$204,737
@@ -2319,27 +2301,27 @@ exports[`Landing Renders correctly 1`] = `$0
$13,628,486
@@ -2448,34 +2430,34 @@ exports[`Landing Renders correctly 1`] = `$0
$817,047
@@ -2592,52 +2574,34 @@ exports[`Landing Renders mobile version correctly 1`] = `- Deposit to earn - - Yield-Bearing Rewards - - - that automate and optimize yield from Aura and Convex positions -
Vault
APY
My Deposits
TVL
APY
My Deposits
$6,450.00
@@ -2916,19 +2880,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$1,712.37
@@ -3035,45 +2999,45 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3180,19 +3144,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3299,32 +3263,32 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3445,19 +3409,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3571,19 +3535,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3704,19 +3668,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3830,19 +3794,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -3956,32 +3920,32 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -4095,19 +4059,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
7.03%
My Deposits
$0
@@ -4198,19 +4162,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
0.00%
My Deposits
$0
@@ -4294,19 +4258,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
2.23%
My Deposits
$0
@@ -4397,19 +4361,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -4530,19 +4494,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -4656,19 +4620,19 @@ exports[`Landing Renders mobile version correctly 1`] = `APY
My Deposits
$0
@@ -4789,19 +4753,19 @@ exports[`Landing Renders mobile version correctly 1`] = `- Deposit to earn - - Yield-Bearing Rewards - - - that automate and optimize yield from Aura and Convex positions -
Vault
APY
My Deposits
TVL
APY
My Deposits
$6,450.00
@@ -5143,19 +5089,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$1,712.37
@@ -5262,45 +5208,45 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -5407,19 +5353,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -5526,32 +5472,32 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -5672,19 +5618,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -5798,19 +5744,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -5931,19 +5877,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -6057,19 +6003,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -6183,32 +6129,32 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
My Deposits
$0
@@ -6322,19 +6268,19 @@ exports[`Landing Renders tablet version correctly 1`] = `APY
7.03%
My Deposits
$0
@@ -6425,19 +6371,19 @@ exports[`Landing Renders tablet version correctly 1`] = `