TimelockFactory
This contract lets the Alchemy Contract set up its own Time Lock instance to execute proposals proposed through the GovernorAlpha contract instance.
setDelay
setDelay
function setDelay(uint delay_) public
This function is used to set a new delay when executing the contract calls.
acceptAdmin
acceptAdmin
function acceptAdmin() public
A function used to accept a new admin for the timelock.
setPendingAdmin
setPendingAdmin
function setPendingAdmin(address pendingAdmin_) public
A function to set a new pending admin for the timelock contract.
queueTransaction
queueTransaction
function queueTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public
This function is used to queue a new transaction from the governor contract.
cancelTranaction
cancelTranaction
function cancelTransaction(address target, uint value, string memory signature, bytes memory data, uint eta)
This function is used to cancel a transaction.
executeTransaction
executeTransaction
function executeTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public
This function is used to execute a transaction.
getBlockTimestamp
getBlockTimestamp
function getBlockTimestamp() internal
A function used to get the current Block Timestamp.
TimelockMint
TimelockMint
function TimelockMint(
address admin_,
uint delay_
) external
The minting which mints a new Timelock contract instance.
Last updated
Was this helpful?