Interface for a TimeLock that enables function execution after a certain time has passed.
error InvalidTimeLockHash()
error TimeLockAlreadyScheduled()
error TimeLockNotReady()
function minimumTimeLockDelay() external view returns (uint256)
Returns a minimum time delay at which the TimeLock may be scheduled.
Name | Type | Description |
---|---|---|
[0] | uint256 | uint Minimum scheduling delay time (in secs) from the current block timestamp |
function getTimeLock(bytes32 hash) external view returns (uint256)
Returns the timestamp after which the TimeLock may be executed.
Name | Type | Description |
---|---|---|
hash | bytes32 | The hash of the timelock |
Name | Type | Description |
---|---|---|
[0] | uint256 | uint The timestamp after which the timelock with the given hash can be executed |