in the EscrowFactory contract newEscrow
function returns the deployed address but it doesn't cast the returned value to address it returns IEscrow
, But if you cast the IEscrow
to type of address
when you save it in memory variable and return it, it will save some gas here is an example
execution cost of this function is 154821
But execution of this function is 154621 (a bit smaller)
You can test them in remix
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.