purchase
would revert with tokens that implement blacklists.
Some EIP20 complaint tokens have blacklists. Note that blacklists are not considered "not complaint" as they follow the general guidelines, like for transfer
and transferFrom
to revert on failure. Such tokens can be USDC or USDT with implement blacklists.
This is even more dangerous in the current system as BuyerAgent::purchase
executes purchase
for all assets at once, meaning that even if 1 transfer reverts, the whole TX will revert, preventing the buyer from buying the rest of the assets.
The casualties here are:
Buyer would not be able to buy any of the items offer to him for this round.
All sellers would be scammed, as they paid a fee to list their items, but since one of the chosen sellers is blacklisted, now their items cannot get bought too.
Some rounds will finish with nothing bought and some tasks would not be completed.Not connected sellers would also lose money and the buyer would not be able to claim his items
Manual review.
Use pull over push, or just approve the seller for the tokens instead of transferring them.
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.