Timelock

Timelock

The Timelock contract.

Solidity API

setDelay

Setter for the transaction queue delay

function setDelay(uint256 delay_) public

Parameters


acceptAdmin

Method for accepting a proposed admin

function acceptAdmin() public

setPendingAdmin

Method to propose a new admin authorized to call timelock functions. This should be the Governor Contract

function setPendingAdmin(address pendingAdmin_) public

Parameters


queueTransaction

Called for each action when queuing a proposal

function queueTransaction(address target, uint256 value, string signature, bytes data, uint256 eta) public returns (bytes32)

Parameters

Return Values


cancelTransaction

Called to cancel a queued transaction

function cancelTransaction(address target, uint256 value, string signature, bytes data, uint256 eta) public

Parameters


executeTransaction

Called to execute a queued transaction

function executeTransaction(address target, uint256 value, string signature, bytes data, uint256 eta) public payable returns (bytes)

Parameters


Last updated