Lybra V2 Technical Whitepaper
  • Overview
    • The Lybra V2 Smart Contracts
  • Core
    • eUSD
    • peUSD Token
    • LybraConfigurator
    • Pool
      • Overview
      • Base
        • LybraEUSDVaultBase
        • LybraPeUSDVaultBase
      • Derived Contracts
        • LybraStETHDepositVault
        • LybraWstETHVault
        • LybraWBETHVault
        • LybraRETHVault
  • Governance
    • Overview
    • Token
    • Timelock
    • Access
    • Process
      • Propose
      • Vote
      • Queue
      • Execute
      • Cancel
    • Example
    • API
    • Glossary
    • Miner
      • EUSDMiningIncentives
      • esLBRBoost
      • ProtocolRewardsPool
      • StakingRewardsV2
Powered by GitBook
On this page
  1. Governance
  2. Process

Execute

PreviousQueueNextCancel

Last updated 1 year ago

After the waiting period has elapsed, a proposal can be executed using this function, which applies the proposal changes to the target contracts. This will invoke each of the actions described in the proposal. The execute function can be called by any Ethereum address. Note: this function is payable, so the Timelock contract can invoke payable functions that were selected in the proposal.

function execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash))
  • targets: ID of a proposal that has succeeded.

  • values: ID of a proposal that has succeeded.

  • calldatas: ID of a proposal that has succeeded.

  • descriptionHash: ID of a proposal that has succeeded.

  • RETURN: ID of a proposal that has succeeded.

Timelock