Closed zlace0x closed 2 years ago
Current factory uses solmate's CREATE3 function to deploy a bare minimal proxy that is dependent only on salt & msg.sender (factory itself)
An alternative is to use OZ's clone library to cheaply clone a proxy to an implementation.
Required changes:
Reference: https://github.com/ourzora/faucets
Before clones
After clones
Current factory uses solmate's CREATE3 function to deploy a bare minimal proxy that is dependent only on salt & msg.sender (factory itself)
An alternative is to use OZ's clone library to cheaply clone a proxy to an implementation.
Required changes:
Reference: https://github.com/ourzora/faucets