Submitted by hansfriese, also found by 0x52, 0xNazgul, and rbserver
Community.sol#L455
Community.sol#L484
Community.sol#L509
Builders cant repay when the system is paused so they must pay more interest for the paused period.
Builders can repay to lenders using 3 functions, repayLender(), reduceDebt(), and escrow().
But they all dont work when the system is paused and builders have no way to avoid it.
Furthermore, the HomeFi admin is the main lender of builders and there is no assurance that the admin would pause the community for a while to get more interest.
Solidity Visual Developer of VSCode
Recommend thinking of an approach to make 3 repay functions work for paused or modify the interest calculation formula not to add interest for the paused period.
zgorizzo69 (Rigor) acknowledged
parv3213 (Rigor) commented:
