EssenceDAO
Functions
constructor
Parameters
Name | Type | Description |
---|---|---|
| contract ERC20VotesComp | |
| contract ICompoundTimelock | |
| address |
votingDelay
module:user-config
Delay, in number of block, between the proposal is created and the vote starts. This can be increassed to leave time for users to buy voting power, of delegate it, before the voting of a proposal starts.
votingPeriod
module:user-config
Delay, in number of blocks, between the vote start and vote ends.
NOTE: The {votingDelay} can delay the start of the vote. This must be considered when setting the voting duration compared to the voting delay.
quorum
Parameters
Name | Type | Description |
---|---|---|
`` | uint256 |
proposalThreshold
Part of the Governor Bravo's interface: "The number of votes required in order for a voter to become a proposer".
setVotingDelay
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
setVotingPeriod
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
setQuorum
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
setProposalThreshold
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
__rollback
one-time option to roll back the DAO to old GovernorAlpha
guardian-only, and expires after the deadline. This function is here as a fallback in case something goes wrong.
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
__executeRollback
complete the rollback
getVotes
Parameters
Name | Type | Description |
---|---|---|
| address | |
| uint256 |
state
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
propose
Parameters
Name | Type | Description |
---|---|---|
| address[] | |
| uint256[] | |
| bytes[] | |
| string |
_execute
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| address[] | |
| uint256[] | |
| bytes[] | |
| bytes32 |
_cancel
Parameters
Name | Type | Description |
---|---|---|
| address[] | |
| uint256[] | |
| bytes[] | |
| bytes32 |
_executor
supportsInterface
Parameters
Name | Type | Description |
---|---|---|
| bytes4 |
Events
QuorumUpdated
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| uint256 | |
### VotingDelayUpdated |
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| uint256 | |
### VotingPeriodUpdated |
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| uint256 | |
### ProposalThresholdUpdated |
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| uint256 | |
### RollbackQueued |
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
### Rollback |
Last updated