Lines of code
<https://github.com/code-423n4/2022-10-inverse/blob/HEAD/src/DBR.sol#L1-L388>
there is no accrued interest charging for the borrowerβ debt, borrower at the same time cannot decrease their accured interest(this bugβs detail is present in my previous finding), and there is also no reward for those lp provider who deposit their token in the market, so your economic module has a fundamental problem, you cannot attract user using your protocol
fix this logic, charge the interest and pay lp provider reward.
The text was updated successfully, but these errors were encountered:
All reactions