Currently on buying a order via TokenDivider::buyOrder
the user pays the order price (includes the seller fee) and the protocol fees. Then this function makes two external calls:/
One to transfer order value to the seller
Second to transfer fees to the contract owner
The payment sent to the seller is done by subtracting the sellerFee
from the order.price
. It leaves the sellerFee
with the protocol. But then, the fees sent to the owner is only the fee
leaving behinf the sellerFee
forever within the protocol as there is no external withdraw function to sweep the protocol.
Seller fees are stuck in the contract
Manual Review
Modify the call to the owner's address to include the sellerFee
in TokenDivider::buyOrder
Or add a withdraw function to sweep the contract of its ETH
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.