Files
openzeppelin-contracts/contracts/mocks/governance/GovernorCompMock.sol
github-actions 6ae39c4dc1 Update docs
2023-05-09 19:56:30 +00:00

21 lines
550 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../governance/extensions/GovernorCountingSimple.sol";
import "../../governance/extensions/GovernorVotesComp.sol";
abstract contract GovernorCompMock is GovernorVotesComp, 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;
}
}