40,000 USDC
View results
Submission Details
Severity: gas
Valid

Add an optional deadline parameter for dispute process

Summary

When setting up the Escrow Contract there could be a deadline for processing a dispute, me as an auditor would have more trust providing the services, for the escrowed amount.

Vulnerability Details

The buyer could set a deadline for dispute process, so in case the arbiter does not act in time the seller would still have access to the funds.

Impact

Putting more pressure on the arbiter for resolving a dispute/lock of funds

Tools Used

Manual review

Recommendations

Add a optional disputeDeadline parameter when setting up the Escrow contract. And if the deadline passed without resolve, allow the seller to claim the amount.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.