Solidity API
LenderVotes
Governor contract generated using OpenZeppelin contracts wizard
constructor
constructor(contract IVotes _token) public
votingDelay
function votingDelay() public pure returns (uint256)
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, or delegate it, before the voting of a proposal starts.
votingPeriod
function votingPeriod() public pure returns (uint256)
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._
proposalThreshold
function proposalThreshold() public pure returns (uint256)
Part of the Governor Bravo’s interface: _“The number of votes required in order for a voter to become a proposer”._
quorumDenominator
function quorumDenominator() public pure returns (uint256)
Returns the quorum denominator. Defaults to 100, but may be overridden.
quorum
function quorum(uint256 blockNumber) public view returns (uint256)