public
and external
function names and public
member variable names can be optimized to save gas. The contracts listed below can be optimized so that the most frequently called functions use the least amount of gas possible during the Method ID lookup. Method IDs that have two leading zero bytes can save 128 gas each during deployment. Renaming functions to have lower Method IDs will save 22 gas per call, per sorted position shifted.
There are 2 instances of this issue.
File Link | Instance Count | Instance Link |
---|---|---|
Escrow.sol | 1 | 14 |
File Link | Instance Count | Instance Link |
---|---|---|
EscrowFactory.sol | 1 | 13 |
44 gas
baudit: a custom static code analysis tool; manual review
Rename the functions to have lower Method IDs.
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.