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