Closed junderw closed 4 years ago
This is a fairly straightforward change, but it might take a little time to parse it.
Alternatively, I have the ProxyFactory idea from Nick working with a constructor here (on a separate branch), it also lowers the gas usage by a few.
https://github.com/junderw/exchangeDepositContract/commit/234d7fa862bccd68e74d9650695f32876411dc34
@maurelian @wolflo
TIL changing from public to private increased the gas cost for deploy by 22, putting it 1 gas over master. :laughing:
I guess it doesn't really matter, since anyone can see the deployed bytecode by just looking at the transaction history.
So I force-pushed it to private, then back to public. The bytecode can be public, I guess.
Alternative to #7
Closing in favor of #7
Slightly lowers the proxy deploy cost and greatly improves readability.