Skip to content

implement CloneFactory for 90% gas savings#10

Open
businessfriendlyusername wants to merge 12 commits intoveilco:masterfrom
businessfriendlyusername:master
Open

implement CloneFactory for 90% gas savings#10
businessfriendlyusername wants to merge 12 commits intoveilco:masterfrom
businessfriendlyusername:master

Conversation

@businessfriendlyusername

Please for the love of god don't actually merge this, it's completely untested. I made a comment in your discord a few weeks ago about this and I need this PR for my non-existant resume so I can finally stop living off bitcoin money from 2016. Anyways The CloneFactory contract is a way to reduce gas costs by over 90% when cloning existing contracts. I added changed some code in VirtualAugurShare and VirtualAugurShareFactory so that it now uses CloneFactory. I also added a cool little vanity address optimization. All of my changes are outlined in the DEV_README file I included. I'm sure you guys would have done this anyway eventually, but like I said my resume doesn't exist so here it is :D

@mertcelebi
Copy link
Member

@businessfriendlyusername thank you for the PR, and sorry to miss this for such a long time. I'll use it as a template and will publish a fully-tested version of it soon. Appreciate the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants