So basically what happens here is that, A borrower repay their Borrow assets.
Now all return Reserve assets are transfered to RToken address
Point is after interst and liquidity get updated, there is no rebalancing method present for those assets in RToken contract, basically those assets remain there idel
This _rebalanceLiquidity()method present inend of all crucial functions which has power to change liquidity & interst rate like deposit(), borrow(), withdraw()But absent in repay()and repayOnBehalf()
This _rebalanceLiquidity()is a crucial function which rebalances liquidity between Buffer and Curve Vault to maintain a Desired Buffer ratio.
manual review
_rebalanceLiquidity()should present inside repay() and repayOnBehalf() function in end.
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.