A taker would lose a platform fee and tax if a maker aborts the offer.
When a matches an ask offer using createTaker()
, he should pay platformFee
as well as tradeTax
in _depositTokenWhenCreateTaker().
But if the maker aborts the offer using abortAskOffer()
, the taker should call abortBidTaker() to receive back his collaterals.
But in abortBidTaker()
, it just refunds collateral for the raw depositAmount
without adding platformFee
and tradeTax
.
A taker would pay fees while aborting an offer.
Manual Review
While aborting an offer, platform fees and trade taxes should be refunded to the taker.
Valid high severity, given orginal offer makers are not a trusted entity to enforce a settlement. The trade tax set by the maker should be returned back to the takers to avoid abuse of abortion of ask offers to steal trade tax from takers. Note for appeals period: See issue #528 for additional details
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.