EngenGovernance
Last updated
Last updated
Deployment Address:
Mainnet: 0x27926a991BB0193Bf5b679bdb6Cb3d3B6581084E
Interface: IGovernor.sol
The EngenGovernance
contract is an implementation of a Governor contract for the Engen governance. It uses the GovernorVotes
and GovernorVotesQuorumFraction
modules from OpenZeppelin for voting and quorum functionality.
For example, if you want to check the quorum at a specific block number, you can call:
These are the key parameters used in the contract.
Parameter | Value |
---|---|
Using the following call method, you can check the voting delay:
Anyone can call the following functions to get information about the governance parameters.
1. votingDelay
This function returns the delay period for voting.
Function Interface:
2. votingPeriod
This function returns the voting period.
Function Interface:
3. proposalThreshold
This function returns the threshold needed to create a proposal.
Function Interface:
4. quorum
This function returns the quorum at a specific block number.
Function Interface:
Anyone can call the following functions without a transaction to retrieve information from the contract.
1. votingDelay
This function returns the delay period for voting.
Function Interface:
2. votingPeriod
This function returns the voting period.
Function Interface:
3. proposalThreshold
This function returns the threshold needed to create a proposal.
Function Interface:
4. quorum
This function returns the quorum at a specific block number.
Function Interface:
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Parameter | Type | Explanation |
---|---|---|
Voting Delay
1 day
Voting Period
3 weeks
Proposal Threshold
5 ENG
Returns the voting delay in days
Returns the voting period in weeks
Returns the proposal threshold in ENG
blockNumber
uint256
The block number to get the quorum at
Returns the voting delay in days
Returns the voting period in weeks
Returns the proposal threshold in ENG
blockNumber
uint256
The block number to get the quorum at