In the constructor function, there are checks to ensure that the tokenContract, buyer, and seller addresses are not zero. But, there is no such check for the arbiter address.
Add below code snippet in the constructor of Escrow.sol =>
if (arbiter == address(0)) revert Escrow__ArbiterZeroAddress();
Add below error in the IEscrow.sol =>
error Escrow__ArbiterZeroAddress();
If the arbiter is zero address, there will be a problem in the resolveDispute function where the arbiter is supposed to receive a fee.
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.