LogoLogo
Start hereWhy Flype?Less divergence LossIMMath
  • Vaults
    • UNI-V3 Vaults
    • Strategies
    • Strategy manager
    • Security audit
    • Deployment Addresses
  • Liquidity Exchange
    • Flype Liquidity Exchange
    • Flype-between
    • Flype-in
    • Flype-out
    • Pools
    • Multiple Yields
    • Advantages
  • IMM
    • Background
    • Pools & Oracle Market Price
    • Execution of Trades
    • Three Possible States in IMM
    • The Math Behind IMM
      • IMM Notation
      • IMM Functions
      • IMM Balancing Indicator
      • IMM - Arbitrage Trades
      • Transaction fee
      • Adding Liquidity
      • Removing Liquidity
      • IMM Advantages
      • Simulations and performances
  • Resources
    • FAQ
    • Roadmap
    • References
    • Official Links
Powered by GitBook
On this page

Was this helpful?

  1. IMM
  2. The Math Behind IMM

IMM Notation

PreviousThe Math Behind IMMNextIMM Functions

Last updated 3 years ago

Was this helpful?

We use the notation X and Y for LP tokens and ETH in the pool respectively.

  • Xc , Yc - Current reserves of X and Y

  • – Current Oracle based market price (*)

  • a , b - Parameters in the range of: 0≤a<∞, 0≤b<1

(*) These parameters values are set by protocol admin according to the pool asset types and liquidity level.

Computed parameters: