123456789101112131415161718192021222324252627282930313233343536 |
- // SPDX-License-Identifier: MIT
- // OpenZeppelin Contracts v4.4.1 (governance/extensions/IGovernorTimelock.sol)
- pragma solidity ^0.8.19;
- import "../IGovernor.sol";
- /**
- * @dev Extension of the {IGovernor} for timelock supporting modules.
- *
- * _Available since v4.3._
- */
- abstract contract IGovernorTimelock is IGovernor {
- /**
- * @dev The proposal hasn't been queued yet.
- */
- error GovernorNotQueuedProposal(uint256 proposalId);
- /**
- * @dev The proposal has already been queued.
- */
- error GovernorAlreadyQueuedProposal(uint256 proposalId);
- 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);
- }
|