When buying an Order the user pays two fees:
Seller Fees (included in the order price) sellerFee
Protocol Fees fee
The validation check here wrongly checks for order.price + sellerFee which leads to underpayments since sellerFee
is half of fee
This results in the protocol getting less fess than intended as the sellerFee
is not actually being received by the protocol
Example Scenario:
Let fee = 200 and sellerFee = 100.
order.price is inclusive of sellerFee:
The msg.value check passes if:
After the transaction:
Seller receives: order.price - sellerFee = 500 - 100 = 400.
Owner receives: fee = 200.
The protocol misses out on sellerFee
Manual Review
Ensure correct validation by checking if the msg.value is less than order.price + fee
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.