Essence Finance
    • Introduction
  • Protocol
    • Peg Stabilty
    • Collateralization
    • Decentralization
  • TOKENOMICS
    • ZEN
    • Distribution
    • Stake
  • Protocol Controlled Value
    • Protocol Controlled Value (PCV)
    • PCV Management
    • PCV Deposits
  • Governance
    • Essence DAO
    • Governance Phases
    • Access Control
    • Roles
  • Smart Contracts
    • Contract Addresses
    • Audits
  • Development
    • Smart Contracts API
      • Chi
        • IChi
      • Minter
        • IPCVEquityMinter
        • PCVEquityMinter
        • RateLimitedMinter
      • Core
        • Core
        • ICore
        • IPermissions
        • IPermissionsRead
        • Permissions
        • ZenRoles
      • Dao
        • Governor
          • EssenceDAO
        • Timelock
          • EssenceDAOTimelock
          • OptimisticTimelock
          • Timelock
      • External
        • Decimal
        • WETH9
      • Libs
        • CoreRefPauseableLib
        • UintArrayOps
      • Oracle
        • ChainlinkOracleWrapper
        • CompositeOracle
        • ConstantOracle
        • ICollateralizationOracle
        • ICollateralizationOracleWrapper
      • Pcv
        • IPCVDeposit
        • IPCVDepositBalances
        • IPCVGuardian
        • IPCVSwapper
        • PCVDeposit
        • PCVGuardian
      • Peg
        • FixedPricePSM
        • IPegStabilityModule
        • IPriceBound
        • IPSMRouter
        • PegStabilityModule
        • PriceBoundPSM
        • PSMRouter
      • Refs
        • CoreRef
        • ICoreRef
        • IOracleRef
        • IUniRef
        • OracleRef
        • UniRef
      • Timelocks
        • ITimelockedDelegator
        • ITokenTimelock
        • LinearTimelockedDelegator
        • LinearTokenTimelock
        • QuadraticTimelockedDelegator
        • QuadraticTimelockedSubdelegator
        • QuadraticTokenTimelock
        • TimelockedDelegator
        • TokenTimelock
      • Utils
        • RateLimited
      • Zen
        • IZenMinter
        • Zen
        • ZenMinter
Powered by GitBook
On this page
  • EssenceDAOTimelock
  • Functions
  • IChiDAO
  • Functions
  1. Development
  2. Smart Contracts API
  3. Dao
  4. Timelock

EssenceDAOTimelock

EssenceDAOTimelock

Functions

constructor

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

Parameters

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

newTimelock

address

PreviousTimelockNextOptimisticTimelock

Last updated 1 year ago