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

feature: governance portal functionality #2423

Open
okjintao opened this issue Oct 17, 2022 · 4 comments
Open

feature: governance portal functionality #2423

okjintao opened this issue Oct 17, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@okjintao
Copy link
Contributor

okjintao commented Oct 17, 2022

Summary

Badger will launch the timelock contract into production. The new timelock allows numerous parties to submit proposed transactions, for those proposals to be vetoed, then ratified or rejected, and ultimately executed. The individuals in these roles will need to have this utility in the governance pages.

Requirements

  • New UI mock up to support the following requirements

  • Proposal History

    • display a paginated view of all proposals, displaying the most recent or active first
    • display information for a given proposal for front page
      • status
      • title
      • time of last update + update action
    • breakdown of addresses with permission per role
  • Proposal Summary (Click In)

    • same information available as in history item
    • proposal detail
      • break down of calls made
      • potentially in text summary of proposal code submitted by proposer
    • proposal history (event occurred at)
      • proposed
      • vetoed
      • executed
    • proposal can have a predecessor tx proposed which is a condition for the current one to be able to execute despite of reaching the deadline, ability to intertwine txs if they have a predecessor condition and displaying their status
  • Support for Role Actions

    • enable 'veto proposal' functionality for address with the role vetoer
    • enable 'create proposal' functionality for address with the role proposer
    • enable 'execute proposal' functionality for address with the role executor
    • enable 'cancel proposal' functionality for address with the role cancellor
    • enable supreme court functionality for address with such role, which enable them to reject vetoed tx or agrees with the vetoers

Resources

https://user-images.githubusercontent.com/49598030/156919403-76cdfeb2-4a72-4e8a-9456-61c4b0661ef6.png

Initial design work included a figma prototype similar to this, the current columns are not ideal and do not fully display probably what a short summary item can have. We will end up having a click in with a simple details page instead.

https://tx.eth.samczsun.com/ethereum/0x665c4db0b7dcf44eb2ead3d455b12bfb244de9a2d3239d756ca3fbdbf21817bb

Example of transaction breakdown app, not quite words or simple but a visual breakdown via text.

Challenges

  • decoding arbitrary requests into potentially readable description
  • centralized / decentralized or automated creation of proposal details

Examples

@okjintao okjintao added the enhancement New feature or request label Oct 17, 2022
@petrovska-petro
Copy link

petrovska-petro commented Oct 18, 2022

as discussed yesterday, contract has being deployed in arbitrum to allow ui testing:

contract address - verified

@petrovska-petro
Copy link

@petrovska-petro
Copy link

petrovska-petro commented Nov 3, 2022

schedule batch tx sample: https://arbiscan.io/tx/0xdb286638e5dc3a62c2c814fe61016ad0e49349bbba0fcce2b36640a42b70cac3

  • 1 month delay
  • actions are setGuardian(0xC69Fb085481bC8C4bfF99B924076656305D9a25D) & setStrategist(0xE8eA1D8B3a5A4CEC7E94AE330fF18E82B5D22fA6)

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

4 participants