highLogic errorEVM-Solidity
Real Wagmi #2 Update: Fees aren't distributed properly for positions with multiple lenders, causing loss of funds for lenders
- Payout
- $0
- Protocol
- Real Wagmi #2 Update
- Disclosed
- Feb 27, 2024
- Source
- sherlock
In the Real Wagmi leveraged-lending contracts, lender fees are distributed proportionally to each lender's current loan share (holdTokenDebt / borrowedAmount) as computed inside harvest() and repay(). Because borrow() does not first settle accrued fees, whenev …
Similar reports
- No close matches yet.
References
This report is already public and closed. CoinBuggie never publishes active or unpatched vulnerability data.