Users can create sell orders using TokenDivider::sellErc20
, but there is no mechanism to delete or cancel a sell order once it has been created.
For instance, if a seller creates a sell order with an excessively high price that no other user is willing to pay, the associated ERC20 tokens would remain stuck in the contract unless the seller repurchases them at the high price. Sellers should have the ability to cancel a sell order if they change their mind.
Poor user experience (UX).
Potential for ERC20 tokens to become permanently stuck in the contract.
Implement a cancelSellOrder
function to allow sellers to remove their sell orders and retrieve their ERC20 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.