40,000 USDC
View results
Submission Details
Severity: gas

`computeEscrowAddress` should be internal - Deployment is cheaper for internal functions

Summary

computeEscrowAddress is called whenever an escrow is created and also affects the deployment cost, this can be significantly reduced by marking the function as internal.

Gas Saved

| --- | Before | After

| Deployment | 2,980,940 | 2,815,298

Support

FAQs

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