Skip to main content

FeiDAOTimelock

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
targetaddress
valueuint256
signaturestring
databytes
etauint256

vetoTransactions

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

veto a group of transactions

Parameters

NameTypeDescription
targetsaddress[]
valuesuint256[]
signaturesstring[]
datasbytes[]
etasuint256[]

executeTransaction

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

execute a transaction, with pausability

Parameters

NameTypeDescription
targetaddress
valueuint256
signaturestring
databytes
etauint256

governorSetPendingAdmin

function governorSetPendingAdmin(
address newAdmin
) public

allow a governor to set a new pending timelock admin

Parameters

NameTypeDescription
newAdminaddress

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.

IFeiDAO

Functions

updateTimelock

function updateTimelock(
address newTimelock
) external

Parameters

NameTypeDescription
newTimelockaddress