decentdao / decent-contracts

Govern at startup speed
https://app.decentdao.org
MIT License
3 stars 3 forks source link

Update contracts - add disableInitializers to constructors #60

Closed tbwebb22 closed 1 year ago

tbwebb22 commented 1 year ago

Description

This PR: 1) Updates contracts implementing the FactoryFriendly pattern, to include the disableInitializers function call in constructors, as recommended by the Halborn audit 2) Updates the tests to work with this change 3) Adds a function quorumVotes for getting the total number of votes a proposal requires to meet quorum

Notes

Issue / Notion doc (if applicable)

Testing

Screenshots (if applicable)