123456789101112131415161718192021222324252627282930313233343536373839 |
- // SPDX-License-Identifier: MIT
- // OpenZeppelin Contracts v4.4.1 (governance/extensions/IGovernorTimelock.sol)
- pragma solidity ^0.8.0;
- import "../IGovernorUpgradeable.sol";
- import "../../proxy/utils/Initializable.sol";
- /**
- * @dev Extension of the {IGovernor} for timelock supporting modules.
- *
- * _Available since v4.3._
- */
- abstract contract IGovernorTimelockUpgradeable is Initializable, IGovernorUpgradeable {
- function __IGovernorTimelock_init() internal onlyInitializing {
- }
- function __IGovernorTimelock_init_unchained() internal onlyInitializing {
- }
- event ProposalQueued(uint256 proposalId, uint256 eta);
- function timelock() public view virtual returns (address);
- function proposalEta(uint256 proposalId) public view virtual returns (uint256);
- function queue(
- address[] memory targets,
- uint256[] memory values,
- bytes[] memory calldatas,
- bytes32 descriptionHash
- ) public virtual returns (uint256 proposalId);
- /**
- * This empty reserved space is put in place to allow future versions to add new
- * variables without shifting down storage in the inheritance chain.
- * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
- */
- uint256[50] private __gap;
- }
|