TimelockFactory

This contract lets the Alchemy Contract set up its own Time Lock instance to execute proposals proposed through the GovernorAlpha contract instance.

setDelay

function setDelay(uint delay_) public

This function is used to set a new delay when executing the contract calls.

acceptAdmin

function acceptAdmin() public

A function used to accept a new admin for the timelock.

setPendingAdmin

function setPendingAdmin(address pendingAdmin_) public

A function to set a new pending admin for the timelock contract.

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

function cancelTransaction(address target, uint value, string memory signature, bytes memory data, uint eta)

This function is used to cancel a transaction.

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

function getBlockTimestamp() internal

A function used to get the current Block Timestamp.

TimelockMint

function TimelockMint(
    address admin_,
    uint delay_
) external

The minting which mints a new Timelock contract instance.

Last updated