In Struct.sol, maxLoanRatio is said to be multiplied by 10**18, but it is not, and can be set to anything > 0 by the user with setPool() and updateMaxLoanRatio().
maxLoanRatio is supposed to be set by the user to a uint256 multiplied by 10**18 but there is not check to ensure that so it can be set to anything > 0.
Wrong user input can lead to protocol malfunction.
Manual review
Add a proper check in setPool() and updateMaxLoanRatio() to ensure that the user is inputting the correct uint256.
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.