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

Minimal proxy implementation

Summary

Use a minimal proxy to deploy clones of the escrow contract

Vulnerability Details

Save gas using the minimal proxy pattern

Impact

Massive amount of gas saved

Tools Used

foundry
To run the test and see the potential gas saving run the following command

forge test --gas-report

Recommendations

I recommend to use this pattern specially if you are going to deploy the protocol in Ethereum main net.

I do not recommend to use the code provided in production, that was only a fast implementation of the minimal proxy pattern to see the gas saved.

Support

FAQs

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