Timelock
Timelock
The Timelock contract.
Solidity API
setDelay
Setter for the transaction queue delay
Parameters
delay_
uint256
The new delay period for the transaction queue
acceptAdmin
Method for accepting a proposed admin
setPendingAdmin
Method to propose a new admin authorized to call timelock functions. This should be the Governor Contract
Parameters
pendingAdmin_
address
Address of the proposed admin
queueTransaction
Called for each action when queuing a proposal
Parameters
target
address
Address of the contract with the method to be called
value
uint256
Native token amount sent with the transaction
signature
string
Ssignature of the function to be called
data
bytes
Arguments to be passed to the function when called
eta
uint256
Timestamp after which the transaction can be executed
Return Values
[0]
bytes32
Hash of the queued transaction
cancelTransaction
Called to cancel a queued transaction
Parameters
target
address
Address of the contract with the method to be called
value
uint256
Native token amount sent with the transaction
signature
string
Ssignature of the function to be called
data
bytes
Arguments to be passed to the function when called
eta
uint256
Timestamp after which the transaction can be executed
executeTransaction
Called to execute a queued transaction
Parameters
target
address
Address of the contract with the method to be called
value
uint256
Native token amount sent with the transaction
signature
string
Ssignature of the function to be called
data
bytes
Arguments to be passed to the function when called
eta
uint256
Timestamp after which the transaction can be executed
Last updated