In the createOffer function, the eachTradeTax and collateralRate are mentioned to be strictly < 100% and > 100%. But the code doesnt follow this.
Here the eachTradeTax and collateralRate can be equal to 100% (10,000), which is contrary to what is mentioned in the comments above.
Collateral being equal to 100% is not ideal.
Manual Review
Add the '=' sign in both the checks
I believe this is borderline informational/low. Despite this off-by-one error of the intended check, the difference between 100% and 101% is minimal, so I believe whether or not 100% is allowed has minimal impact. Ultimately, it still comes down to the risk level that users are willing to take
Similar to issue #1323, Despite this off-by-one error of the intended check, the difference between 99% and 100% is minimal, so I believe whether or not 100% is allowed has minimal impact. Ultimately, takers should not be realistically creating offer with such tradeTax
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.