Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final refactor to dxdao gov 1.5 contracts #216

Merged

Conversation

AugustoL
Copy link
Member

@AugustoL AugustoL commented Sep 19, 2022

  • Everything daostack related in contracts and tests has been removed.
  • dxdao contracts have been moved to dxdao folder, with governance contracts, voting machine and schemes.
  • Small changes are done in the governance contracts, to bundle them together and be able to execute proposals.
  • Tests needs to be finished for Scheme and DXDVotingMachine.

I wasn't able to implement a dynamic amount of options to be used in the WalletScheem cause the DXDVotingMachine is heavily designed to work with only two options. The WalletScheme is designed to work with multiple options anyway, but for now we require only two options to be used. Later when we work on the Gov 2.0 voting machine we can design it to work with multiple options.

@AugustoL AugustoL marked this pull request as draft September 19, 2022 17:04
@rossneilson
Copy link
Collaborator

Should we take this opportunity whilst upgrading to remove safe math?

@rossneilson
Copy link
Collaborator

Nice change to contract names from DX -> DAO, next step is getting everyone using our contracts!

AugustoL and others added 19 commits September 22, 2022 09:47
…hange needed ones

Only use solidity version 0.8.17, done necessary changes in all contracts to use this version,
removed the old openzeppelin-solidity contracts, removed not needed GnosisProxya nd some old tests
contracts used for daostack.
…time fails- positive decision - proposal fails
…ng schemes

Since the register scheme can register schemes, we assume that it has complete control over the dao
and we wont use the AvatarScheme as RegistrarScheme, so since we dont use avatar calls we cant
require the registrar schemes to do avatar calls
@AugustoL AugustoL marked this pull request as ready for review September 26, 2022 11:57
@AugustoL AugustoL merged commit 099caf1 into DXgovernance:refactor-dxdao-contracts Sep 26, 2022
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.

4 participants