This PR implements the fixes requested in #919:

  • Added minimum fee of 1 token using a ternary conditional.
  • Capped maxLoanAmount to 50% of the pool balance via totalAssets / 2.
  • Transitioned to internal accounting (totalAssets) instead of loanToken.balanceOf(address(this)) to prevent rebasing token exploits.
  • Added onlyOwner modifier and setPaused(bool) function for emergency pauses.
  • Provided the required .contributor.json file.

/claim #919

Claim

Total prize pool $250
Total paid $0
Status Pending
Submitted June 14, 2026
Last updated June 14, 2026

Contributors

AB

abdrassulov

@abdrassulov

100%

Sponsors

ST

Stacylia

@Stacylia

$250