20,000 USDC
View results
Submission Details
Severity: low

```MAX_INTEREST_RATE``` may not apply to all cases

Summary

The 100 000 limit set by MAX_INTEREST_RATE does not account for many tokens' decimals / fluctuations.

Impact

100 000 can be too little as a lenderFee, meaning the protocol doesn't have the ability to give enough tokens to the lender to create a pool for those specific tokens, making it unusable.
On the other hand, it can be too much resulting in lenders having the ability to create unfair pools.

Recommendations

Regulate the MAX_INTEREST_RATE by making it not constant or having one per token. Or just remove this cap altogether.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.