The fee calculation system in buyOrder function contains serious flaws due to Solidity's integer division limitations and lack of proper fee minimums/precision handling.
In the buyOrder()
function, the fee calculation cann't get the amount as the potential of the function because no floating point numbersand only integer operations.And leading integer division truncation.
Small orders are not charged at all. Inaccurate calculation of fees leads to loss of agreement revenue
Manual Review
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.