The description of the interestRate
parameter in the Loan
struct is incorrect. The description says that an interest rate must represent a value per second.
After investigating, I discovered that the actual rate must define a value per year, not per second.
https://github.com/Cyfrin/2023-07-beedle/blob/658e046bda8b010a5b82d2d85e824f3823602d27/src/utils/Structs.sol#L47
The incorrect description could confuse developers, auditors, or even users.
Manual Review
The actual rate must define a value per year, not per second. Thus, I recommend correcting the description to ensure clarity.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.