SetGovernanceParameterProposal
This proposal type enables parties to modify the following governance parameters on the fly: voteDuration
, executionDelay
, passThresholdBps
. The proposal gets passed a SetGovernanceParameterProposalData
struct (see below) and modifies the governance values as directed. A value of 0 denotes no change for the individual value.
Bounds for each value are enforced below:
voteDuration
: >= 1 hourexecutionDelay
: <= 30 dayspassThresholdBps
: <= 10,000
Code
SetGovernanceParameterProposal.sol
Functions
_executeSetGovernanceParameter
function _executeSetGovernanceParameter(
IProposalExecutionEngine.ExecuteProposalParams memory params
) internal returns (bytes memory)
Structs
SetGovernanceParameterProposalData
struct SetGovernanceParameterProposalData {
uint40 voteDuration;
uint40 executionDelay;
uint16 passThresholdBps;
}