If payment token used ERC20 token that have blocklist address, arbiter can make buyer token stuck inside the contract.
When buyer create escrow contract via factory and providing non-zero arbiterFee
, if dispute is initiated by buyer or seller, it will allow arbiter to resolveDispute
. However, if ERC20 token with blocklist is used and i_arbiter
is blocklisted, token will stuck forever in the contract.
https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L125-L128
This will cause resolveDispute
can't be called and make funds stuck in the contract.
Manual review
separate resolveDispute
with claim funds to avoid seller or buyer funds stuck caused by this issue.
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.