IGovernorTimelock.sol 744 B

1234567891011121314151617181920212223242526
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts v4.4.0-rc.1 (governance/extensions/IGovernorTimelock.sol)
  3. pragma solidity ^0.8.0;
  4. import "../IGovernor.sol";
  5. /**
  6. * @dev Extension of the {IGovernor} for timelock supporting modules.
  7. *
  8. * _Available since v4.3._
  9. */
  10. abstract contract IGovernorTimelock is IGovernor {
  11. event ProposalQueued(uint256 proposalId, uint256 eta);
  12. function timelock() public view virtual returns (address);
  13. function proposalEta(uint256 proposalId) public view virtual returns (uint256);
  14. function queue(
  15. address[] memory targets,
  16. uint256[] memory values,
  17. bytes[] memory calldatas,
  18. bytes32 descriptionHash
  19. ) public virtual returns (uint256 proposalId);
  20. }