axelar-gmp-sdk-solidity

Solidity API

ITimeLock

Interface for a TimeLock that enables function execution after a certain time has passed.

InvalidTimeLockHash

error InvalidTimeLockHash()

TimeLockAlreadyScheduled

error TimeLockAlreadyScheduled()

TimeLockNotReady

error TimeLockNotReady()

minimumTimeLockDelay

function minimumTimeLockDelay() external view returns (uint256)

Returns a minimum time delay at which the TimeLock may be scheduled.

Return Values

Name Type Description
[0] uint256 uint Minimum scheduling delay time (in secs) from the current block timestamp

getTimeLock

function getTimeLock(bytes32 hash) external view returns (uint256)

Returns the timestamp after which the TimeLock may be executed.

Parameters

Name Type Description
hash bytes32 The hash of the timelock

Return Values

Name Type Description
[0] uint256 uint The timestamp after which the timelock with the given hash can be executed