EssenceDAOTimelock

EssenceDAOTimelock

Functions

constructor

function constructor(
    address core_,
    address admin_,
    uint256 delay_,
    uint256 minDelay_
) public

Parameters

NameTypeDescription

core_

address

admin_

address

delay_

uint256

minDelay_

uint256

queueTransaction

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

queue a transaction, with pausability

Parameters

NameTypeDescription

target

address

value

uint256

signature

string

data

bytes

eta

uint256

vetoTransactions

function vetoTransactions(
    address[] targets,
    uint256[] values,
    string[] signatures,
    bytes[] datas,
    uint256[] etas
) public

veto a group of transactions

Parameters

NameTypeDescription

targets

address[]

values

uint256[]

signatures

string[]

datas

bytes[]

etas

uint256[]

executeTransaction

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

execute a transaction, with pausability

Parameters

NameTypeDescription

target

address

value

uint256

signature

string

data

bytes

eta

uint256

governorSetPendingAdmin

function governorSetPendingAdmin(
    address newAdmin
) public

allow a governor to set a new pending timelock admin

Parameters

NameTypeDescription

newAdmin

address

rollback

function rollback() external

one-time option to roll back the Timelock to old timelock

guardian-only, and expires after the deadline. This function is here as a fallback in case something goes wrong.

IChiDAO

Functions

updateTimelock

function updateTimelock(
    address newTimelock
) external

Parameters

NameTypeDescription

newTimelock

address

Last updated