In the abortAskOffer
function, there's a subtraction operation that could potentially underflow if transferAmount
is only slightly larger than totalDepositAmount
and precision loss occurs in earlier calculations.
An underflow in this calculation could result in an incorrect makerRefundAmount
, potentially leading to significant financial losses for users or the platform.
Manual Review
Implement a safety check to ensure the subtraction doesn't underflow:
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.