GovernorVoteMock.sol 543 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../../governance/extensions/GovernorCountingSimple.sol";
  4. import "../../governance/extensions/GovernorVotes.sol";
  5. abstract contract GovernorVoteMocks is GovernorVotes, GovernorCountingSimple {
  6. function quorum(uint256) public pure override returns (uint256) {
  7. return 0;
  8. }
  9. function votingDelay() public pure override returns (uint256) {
  10. return 4;
  11. }
  12. function votingPeriod() public pure override returns (uint256) {
  13. return 16;
  14. }
  15. }