The contract variable i_price
can be used to determine how much should be sent to each party instead of querying the balance of the contract. This change will save approximately 30000 gas units on deployment of the Escrow contracts and 1000 gas units per invocation of the resolveDispute()
function.
Foundry
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.