Derion Docs
  • Introduction
    • Leverage
    • Compound
    • Power Perpetuals
    • Auto-Deleveraging
  • Existing Challenges
    • Trader Risks
    • Exchange Risks
    • Perpetuals AMM
  • Why Derion?
    • Game Theory
    • Trading Experience
    • Composability
    • Liquidity Efficiency
  • Protocol Design
    • Features
    • Pricing Curve
    • State Transition
    • Price Oracle
    • Liquidity Provision
    • Liquidity Concentration
    • Funding Rate
    • Maturity
    • Opening Fee
  • Guide
    • Trade
      • Long/Short
      • Swap
      • Providing Liquidity
    • Pool Creation
  • Technical Design
    • Universal Token Router
    • Derivative Tokens
    • Helper Contracts
    • LP Management
  • Contracts
    • Addresses
    • API
  • Applications
    • Derivative Backstop Mechanism
    • AMM-LP IL Hedge
    • Initial Future Offering
    • Depeggable Synthetics
  • Tokenomics
    • Liquidity Mining
    • Referral Commission
    • Trader Incentive
    • Rewards
    • Launchpad Partnership
  • Security Audits
  • Whitepaper
Powered by GitBook
On this page

Was this helpful?

  1. Technical Design

LP Management

As briefly introduced in Liquidity Efficiency, LP Management (LPM) contracts are used for liquidity providers to safely automate LP risk control and rebalancing between multiple pools of the same class.

The movement of the liquidity token is automated by a trustless backend service, where the token constraints are programmed in the LP Management contract code. Funds can only move between the LPM contract and its allowed Derion pool addresses, with additional restrictions to prevent griefing attacks.

LPM has the following immutable configurations:

  • Operator: the address allowed to move the fund around, 0x0 to allow everyone.

  • MIN_RATIO and MAX_RATIO: the reserve thresholds of each Long and Short side to the pool reserve where the fund movement can occur.

LPM has a storage map for allowed pool addresses to their factories; the liquidity token can only be moved between the LPM contract and its allowed pool addresses in this map.

PreviousHelper ContractsNextContracts

Last updated 1 year ago

Was this helpful?