In the current logic of the buyOrder
function, there is no logic to handle scenarios where users overpay for an order. This will always happen because users may not be aware of the actual value of an order after fees have been added.
Users end up overpaying for an order.
Manual Review
Refactor the buyOrder()
to check that the msg.value
is == price plus seller fee.
There should be an off-chain notifier that displays the total amount to pay for an order.
The extra eth sent by the user in the buy order will be locked in the contract forever
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.