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

Deploy OZ Governor from Zodiac App #162

Closed
17 of 24 tasks
cedricwaxwing opened this issue Nov 1, 2022 · 0 comments
Closed
17 of 24 tasks

Deploy OZ Governor from Zodiac App #162

cedricwaxwing opened this issue Nov 1, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cedricwaxwing
Copy link
Collaborator

cedricwaxwing commented Nov 1, 2022

https://gnosisguild.notion.site/Deploy-OZ-governor-from-Zodiac-app-81cb5093cb224d888c12b410ebaea269

Slices

1. Quickly deploy the Governor contract with a modal

The governor contract can be deployed as a module to the safe. All parameters can be adjusted after deployment via the exposed ABI in the "write" tab. The contract will use sensible defaults and include warnings about the distribution of tokens and governor contract defaults.

Zodiac Safe App Modules page

  • Create Governor Module icon
  • Add Governor Module to Zodiac App

Modal Wizard

  • Token address of existing token
  • Button that says "Deploy and Enable"
  • Include warnings about distribution/governor default settings
  • Add delay module UI inline in lieu of timelock.

System

2. Set up basic settings for Governor

Expose more of the ABI upfront so the user can customize the governor through a zodiac setup wizard.

Wizard

  • DAO name
  • Voting Delay (no minimum)
  • Voting period (for production networks: Default to 7 days, warn below 48 hours, 24 hour minimum)
  • Proposal Threshold (Defaults to 0)
  • Quorum % (default to 4%, warn below 2%)

3. Deploy new ERC20 token

  • Include option to use existing token or deploy a new one

Deploy a new ERC20

  • Token Name
  • Token Symbol
  • Amount to mint (will be sent to safe)
  • Hardcode the following presets: (mintable, burnable, pausable, permit, votes, ownable)

4. Deploy new ERC721 token

  • Select voting type for governor (deploy new ERC20 / ERC721, or use existing token from safe)

Deploy a new ERC721

  • Token Name
  • Token Symbol
  • Base URI
  • Hardcode the following presets: (mintable, auto increment IDs, burnable, pausable, votes, enumerable, ownable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants