The LendingPool sends excess crvUSD to a Curve Vault (or withdraws missing crvUSD), to generate additional yield. After each action that moves crvUSD in or out of the LendingPool, _rebalanceLiquidity is called to either deposit or withdraw funds from the vault, with respect to a buffer value. However, no rebalancing happens when a loan is repaid, or a liquidation takes place, leading to a potential loss of yield for the protocol.
All actions that deal with crvUSD inflow or outflow in the LendingPool, transfer funds between the pool and the curve vault generating yield. This is true for all except loan repayments and liquidations. This could lead to the pool missing out on potential yield from the vault.
Potential loss of yield from the curve vault.
Manual review
Invoke _rebalnceLiquidity after liquidations and loan repayments.
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.