Files
openzeppelin-contracts/contracts/mocks/governance/GovernorVoteMock.sol
github-actions dbe796d542 Update docs
2023-09-19 19:19:10 +00:00

21 lines
595 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {GovernorCountingSimple} from "../../governance/extensions/GovernorCountingSimple.sol";
import {GovernorVotes} from "../../governance/extensions/GovernorVotes.sol";
abstract contract GovernorVoteMocks is GovernorVotes, GovernorCountingSimple {
function quorum(uint256) public pure override returns (uint256) {
return 0;
}
function votingDelay() public pure override returns (uint256) {
return 4;
}
function votingPeriod() public pure override returns (uint256) {
return 16;
}
}