From 5878b4199bb6612ac6da45f66f81ba82a9433537 Mon Sep 17 00:00:00 2001 From: aalavandhann <6264334+aalavandhan@users.noreply.github.com> Date: Tue, 17 Sep 2024 20:20:20 -0400 Subject: [PATCH] setting discount initial value --- spot-vaults/contracts/_strategies/SpotPricer.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spot-vaults/contracts/_strategies/SpotPricer.sol b/spot-vaults/contracts/_strategies/SpotPricer.sol index edb91215..0f0dbd9b 100644 --- a/spot-vaults/contracts/_strategies/SpotPricer.sol +++ b/spot-vaults/contracts/_strategies/SpotPricer.sol @@ -133,6 +133,8 @@ contract SpotPricer is IPerpPricer, IMetaOracle { IPerpetualTranche spot = IPerpetualTranche(usdcSpotPool.token1()); SPOT = spot; AMPL = IERC20(spot.underlying()); + + spotDiscountFactor = ONE; } //--------------------------------------------------------------------------