IGovernorTimelock.sol 640 B

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