The strategyWithdraw function allows the contract owner to withdraw funds from a strategy without respecting the minimum deposit requirements defined by getMinDeposits.
This can lead to the strategies' balances falling below their required minimums.
The getMinDeposits function calculates the minimum amount of tokens that must remain in the pool across all strategies. It aggregates the minimum deposit requirements from each strategy to ensure that certain operational thresholds are maintained;
Each strategy implements its own getMinDeposits function, which may change dynamically based on the strategy's state.
The strategyWithdraw function allows the contract owner to withdraw any amount from any strategy without enforcing the minimum deposit limit.
This action can reduce a strategy's balance below its minimum required deposits, which could lead to operational issues such as inability to meet min staking limits, increased risk due to insufficient liquidity, causing fewer rewards due to negative depositChange for the said strategy.
Violating minimum requirements for staking, causing fewer rewards to the users in the concerned strategy
Manual Review
Modify strategyWithdraw to check that the withdrawal does not reduce the strategy's balance below its minimum required deposits.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.