IGovernorTimelockUpgradeable.sol 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts v4.4.1 (governance/extensions/IGovernorTimelock.sol)
  3. pragma solidity ^0.8.0;
  4. import "../IGovernorUpgradeable.sol";
  5. import "../../proxy/utils/Initializable.sol";
  6. /**
  7. * @dev Extension of the {IGovernor} for timelock supporting modules.
  8. *
  9. * _Available since v4.3._
  10. */
  11. abstract contract IGovernorTimelockUpgradeable is Initializable, IGovernorUpgradeable {
  12. function __IGovernorTimelock_init() internal onlyInitializing {
  13. }
  14. function __IGovernorTimelock_init_unchained() internal onlyInitializing {
  15. }
  16. event ProposalQueued(uint256 proposalId, uint256 eta);
  17. function timelock() public view virtual returns (address);
  18. function proposalEta(uint256 proposalId) public view virtual returns (uint256);
  19. function queue(
  20. address[] memory targets,
  21. uint256[] memory values,
  22. bytes[] memory calldatas,
  23. bytes32 descriptionHash
  24. ) public virtual returns (uint256 proposalId);
  25. /**
  26. * @dev This empty reserved space is put in place to allow future versions to add new
  27. * variables without shifting down storage in the inheritance chain.
  28. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
  29. */
  30. uint256[50] private __gap;
  31. }