`createSellOrder` records `_amountToSell` without verifying how many tokens the contract actually received.
Impact:
If `_tokenToSell` charges transfer fees or is deflationary, the contract’s balance will be smaller than `amountToSell`. Any later `buyOrder` attempting to transfer that recorded amount will revert forever, locking seller funds.
Record `actualAmountReceived = balanceAfter – balanceBefore` and store that instead, or explicitly forbid deflationary / fee-on-transfer tokens.
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.