decentdao / decent-contracts

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

Fractal usul #31

Closed tbwebb22 closed 1 year ago

tbwebb22 commented 1 year ago

Description

This PR: 1) Adds contracts from the Gnosis Zodiac Usul repo into this one. Only the contracts related to the Usul.sol and OZLinearVoting.sol (renamed to TokenLinearVoting.sol) are imported 2) Updates function names, variable names, and event names to align with Fractal conventions 3) Renames "Queue" to "Timelock" anywhere it appears in the contracts 4) Adds support for Voting implementation contracts to define which user's have the ability to create proposals 5) Update tests for all changes, add new test file for testing the FractalUsul & LinearTokenVoting contracts

Notes

Deploying new contracts & updating NPM package will be done in a separate PR

Issue / Notion doc (if applicable)

https://github.com/decent-dao/fractal-contracts/issues/27

Testing

1) Run npm install 2) Run npm test

Screenshots (if applicable)

tbwebb22 commented 1 year ago

@tbwebb22 there's a few Usul references in comments, but other than that this is good to goooooo

Screen Shot 2023-02-21 at 10 44 32 AM

Ah good catch, just fixed these