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
  • IVotingToken
  • Functions
  • QuadraticTimelockedDelegator
  • Functions
  1. Development
  2. Smart Contracts API
  3. Timelocks

QuadraticTimelockedDelegator

IVotingToken

Functions

delegate

function delegate(
    address delegatee
) external

Parameters

Name
Type
Description

delegatee

address

QuadraticTimelockedDelegator

allows the timelocked tokens to be delegated by the beneficiary while locked

Functions

constructor

function constructor(
    address _token,
    address _beneficiary,
    uint256 _duration,
    uint256 _cliff,
    address _clawbackAdmin,
    uint256 _startTime
) public

QuadraticTimelockedDelegator constructor

Parameters

Name
Type
Description

_token

address

the token address

_beneficiary

address

admin, and timelock beneficiary

_duration

uint256

duration of the token timelock window

_cliff

uint256

the seconds before first claim is allowed

_clawbackAdmin

address

the address which can trigger a clawback

_startTime

uint256

the unix epoch for starting timelock. Use 0 to start at deployment

acceptBeneficiary

function acceptBeneficiary() public

accept beneficiary role over timelocked ZEN

delegate

function delegate(
    address to
) public

delegate all held ZEN to the to address

Parameters

Name
Type
Description

to

address

PreviousLinearTokenTimelockNextQuadraticTimelockedSubdelegator

Last updated 1 year ago