Skip to content

Feature: Governance Updatable Governance Params #2903

@apbendi

Description

@apbendi

🧐 Motivation

Feature parity with Compound Governor Bravo.

📝 Details

In Compound's Governor Bravo, it's possible for Governance itself to update the following governance parameters:

In the OZ Governance system, these parameters are never implemented concretely, but instead exist as virtual parameters. (Unless, of course, I'm missing something!).

The expectation is, presumably, that each project will implement these parameters on their own concrete instance and set them to whichever values they prefer. It would also be possible for said implementer to also create setters for these parameters with appropriate logic around who can set them.

In order to offer out-of-the box feature parity with Bravo, we propose the following course of action:

Implement a concrete Governor instance that:

  • Takes values for the three governance parameters as arguments in its constructor
  • Has setters for each param bounded by onlyGovernance
  • Does basic validation of the parameters in both the constructor and setter methods

We are happy to take a first pass at this feature and open a PR if it is something the OZ team would be willing to merge if implemented. Thanks for your consideration!

Metadata

Metadata

Assignees

Labels

featureNew contracts, functions, or helpers.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions