The i_arbiter
address could get blacklisted by the tokenContract
thus completely locking teh buyer
funds in the Escrow
contract since disputes can be resolved now
. Hence the Escrow.confirmReceipt
can not be called by the buyer
to release the funds to the seller
. The Escrow.resolveDispute
can not be fully executed by the i_arbiter
address since the token transfer will revert since i_arbiter
is blacklisted in the tokenContract
.
https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L122-L124
Manual Review and VSCode
Hence it is recommended to choose an ERC20
token as payment token, which does not have the blacklist functionality.
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.