withdrawals from vaults are being deposited into the lending pool instead of the Rtoken this will result in buffer not being maintained as we generally transfer underlying assets from and to the Rtoken when depositing and withdrawing also we will not be able to ensure liquidity when withdrawal requests are being made.
when depositing funds are transferred to the Rtoken contract and pulled from when withdrawal requests are made :
When rebalancing and ensuring liquidity during deposits and withdrawals as well as borrows we send funds to the vault when there are excess liquidity(greater than the buffer ratio) but when we're below the ratio we're pulling funds from and sending to the pool rather than the Rtoken contract :
When withdrawal requests are made it's then being pulled from the Rtoken contract after liquidity has been ensured because the Rtoken : burn function is being called.
this will result in liquidity not being technically ensured and potentially making withdrawals impossible if Rtoken contract doesn't have enough to cover the request
This will result in buffer ratio not being maintained and funds being lost in the lending pool
this will also result in the accidental transfer of funds sent to the pool being considered dust because All balance, that is not tied to rToken are dust can be donated to one lucky recipient
Consider making the reciever and distributor the lending pool contract
Consider making the recipient the Rtoken contract :
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.