LogoLogo
  • Electra
    • About Electra
  • Electra Terminal Guide
    • 1.1 Connecting your EVM wallet
    • 1.2 BNB/ETH Gas Fees
    • 1.3 Deposits and Withdrawals
    • 1.4 1-Click Trading
    • 1.5 Notifications
    • 1.6 Electra Security & Audit Report
    • 1.7 Airdrop Checker FAQ
  • Electra Trading School
    • 2.1 What Are Perpetual Futures?
    • 2.2 Competitive Advantages of Electra for Perpetual Futures Trading
    • 2.3 Trading Fees on Electra
    • 2.4 Overview of Primary Order Types on Electra
    • 2.5 Futures Liquidation Protocols on Electra: Formula and Process
    • 2.6 How to Reduce the Risk of Liquidation on Electra
    • 2.7 Automatic Negative Balance Reset on Electra
    • 2.8 How to Adjust Leverage on Electra
    • 2.9 What Is Slippage?
    • 2.10 How to Use the Order History Feature on Electra
    • 2.11 Order Errors on Electra: Causes and Solutions
    • 2.12 Referral Program
  • Electra Tournaments
    • SQUAD Games Season 2
      • General Rules
      • How to Participate
      • Squad Formation
      • Squad Referral Links
      • Tournament Prizes
      • FAQs
    • SQUAD Games Season 1
      • Tournament Prizes
      • Tournament Schedule
    • PnL Challenge
  • Electra Liquidity Provider Pool
    • Introduction to ELPP
    • How ELPP Works
    • ELPP Tokens
    • Withdrawal System
      • Understanding Epochs
      • Timelock Calculation
      • Token Transfer Restrictions
      • Partial and Flexible Withdrawals
    • Collateralization
    • APY Calculation
    • Risks and Considerations
    • FAQ
Powered by GitBook
On this page
  1. Electra Liquidity Provider Pool
  2. Withdrawal System

Timelock Calculation

PreviousUnderstanding EpochsNextToken Transfer Restrictions

Last updated 2 months ago

Timelock Calculations

The dynamic timelock mechanism adjusts the waiting period based on the pool’s financial health.

PNL Ratio Calculation

The system determines a ratio ( k ), representing the current profit and loss situation:

k=(totalPNLtotalPoolAsset)×100%k = \left( \frac{\text{totalPNL}}{\text{totalPoolAsset}} \right) \times 100\%k=(totalPoolAssettotalPNL​)×100%

Timelock Assignment

The timelock duration depends on ( k ):

Condition

Timelock (epochs)

Approximate Wait Time

( k > 10% )

1

~3 days

( 0% ≤ k < 10% )

2

~6 days

( k < 0% )

3

~9 days


Unlock Epoch Calculation

Once the timelock is determined:

Example: If the current epoch is 10 and the calculated timelock is 2 epochs, your withdrawal request unlocks in epoch 12


Unlock Date Calculation

The exact unlock date is derived from:


Unlock Epoch=Current Epoch+Timelock\text{Unlock Epoch} = \text{Current Epoch} + \text{Timelock}Unlock Epoch=Current Epoch+Timelock
Unlock Date=Start Time+(Unlock Epoch×Epoch Duration)\text{Unlock Date} = \text{Start Time} + \left( \text{Unlock Epoch} \times \text{Epoch Duration} \right)Unlock Date=Start Time+(Unlock Epoch×Epoch Duration)