Perp v2
Perp v2
  • About Perpetual Protocol
    • Social Links
    • Governance
    • v2 Era Ecosystem
    • PERP Token
  • Terms of Service
  • General
    • Wallets
    • Transfering Assets
    • Deposit & Withdrawal
    • Perpetual + Uniswap
    • FAQs
    • Guides
    • Legacy Reward Programs
    • Security
  • Hot Tub
  • Trading on Perp v2
    • How It Works
    • UI Overview
    • Perpetual Futures Basics
    • Trading Quick-start
    • Opening and Closing Positions
    • Account Value & More
    • Funding Payments
    • Order Types
    • Trading Fees and Gas Fees
    • Managing Risk
    • Multi-collateral
    • More docs
  • Providing Liquidity
    • Basics
    • Introduction to Maker UI
    • Add / Remove Liquidity
    • Estimated Fees and Rewards APR
    • More on LPing
    • Tools for LPs
  • Perp v2 Specs
  • Developer Docs
    • Developer FAQs
    • Source Code
    • Protocol Attributes
    • Contract guide
      • AccountBalance
      • BaseToken
      • ClearingHouse
      • CollateralManager
      • DelegateApproval
      • Exchange
      • InsuranceFund
      • MarketRegistry
      • OrderBook
      • QuoteToken
      • Vault
      • VirtualToken
    • Interface Contracts
      • IAccountBalance
      • IBaseToken
      • IClearingHouse
      • IClearingHouseConfig
      • IClearingHouseConfigEvent
      • ICollateralManager
      • IDelegateApproval
      • IERC20Metadata
      • IExchange
      • IIndexPrice
      • IInsuranceFund
      • IMarketRegistry
      • IOrderBook
      • IVault
      • IVirtualToken
    • Integration guide
    • Dev tools
Powered by GitBook
On this page
  • What is an Impermanent Position?
  • Impermanent Position
  • Example
  • Impermanent to Permanent
  • Fees
  • Funding
  • Maker Liquidation
  • Liquidation Scenarios
  • Margin Ratio
  • Maintenance Margin
  • 2-stage Liquidation
  • Slippage
  • Definitions
  • Adding/Removing Liquidity
  • Pool Party
  • Pool Party rewards, by market
  • Update to Calculation Method
  • Further Reading
  • Liquidity Pool Info
  • vToken Pools

Was this helpful?

  1. Providing Liquidity

More on LPing

Last updated 1 year ago

Was this helpful?

Content Out of Date

This content is not maintained and refers to an out-of-date version of Perpetual Protocol.

For the latest documentation, see

What is an Impermanent Position?

Orders vs Positions As a maker, you place liquidity in price ranges—these are orders. Once some of your liquidity is used in trades, you will hold more/less tokens than before—this is a position.

Impermanent Position

After you provide liquidity, you will have an ‘impermanent position’ once the mark price moves away from the price at the time you added liquidity.

The impermanent loss is shown on the asset's pool page and click on the down arrow next to it to see your impermanent position (as shown below).

Example

If the mark price was $4000 / ETH when you added liquidity:

  • Price moves above $4000 → you will have a short position

  • Price moves below $4000 → you will have a long position

This is called an impermanent position because in theory if the price returns to exactly $4000, you will no longer have a position. In practice, you will always have a very small ‘dust position’ because the price will likely never return to exactly the point at which you provided liquidity.

Impermanent to Permanent

If you have an impermanent position and remove your liquidity, this position will become “permanent”. This means it will be converted into a regular position appearing in the Trade tab. If you have an existing position for the same asset, your maker position will be combined with that position.

Fees

  • Adding / removing liquidity has no fee (besides gas costs)

  • Impermanent to normal position conversion has no fee

  • Closing this normal position will cost 0.1%, just like any other normal position

Funding

Funding payments are earned or payed on positions in the same way as a position opened as a taker.

Maker Liquidation

A maker's position size is dynamic, determined by the current market price, liquidity and the order range. After opening a liquidity position that is in range (where the current price of ETH = $1500 and the maker enters a range of $1000, $2000), the maker will be short when the price rises and long when the price falls.

As a result, the position size of a maker is always in a state of flux as the the market price fluctuates and traders consume their liquidity to open new positions. When a trader fills a portion of the maker's liquidity order, the trader receives some tokens. Depending on the current market price and the order range, the maker will consequently take on a long or a short position.

Liquidation Scenarios

This covers the most typical cases you may face liquidation, but it’s not guaranteed to cover all possible cases.

Borrowed Assets Appreciate

Maker / LP positions can be liquidated if the value of the liquidity exceeds your ability to pay back any borrowed tokens.

If a portion of your liquidity is in base token (e.g. ETH, BTC etc.), you must return these borrowed tokens at the current price when you remove liquidity. If the value these borrowed tokens increases to a point near the value of your collateral, your orders may be liquidated to prevent loss to the exchange.

Position Value Drops

If you open an order and the price goes down, you will end up with a long position in the given asset (takers have sold their base tokens (e.g. ETH, BTC etc.) to you). If the price continues to fall, your PnL may decrease until your account balance is too low to cover the value of your position. Your position may be liquidated to prevent loss to the exchange.

Margin Ratio

Account health is determined using margin ratio. This is the percentage ratio of your liquidity to your free collateral.

Maintenance Margin

This is the minimum margin ratio required by the exchange. If your margin ratio falls below this, one or more of your orders can be liquidated.

2-stage Liquidation

All liquidity positions are canceled if you are liquidated as a maker. Liquidity in these orders is converted into a permanent position (i.e., regular taker position).

  1. All of your open liquidity positions will be closed, leaving you with permanent positions in a healthy state for each market you were providing liquidity in.

  2. If the price continues to move against you, your permanent position will be liquidated.

Your positions will be liquidated separately, according to size (the keeper can only liquidate one position at a time, and will generally chose the largest to ensure maximum ability to collect the full liquidation bonus from the position.) This means that liquidation will likely leave other positions (if any) in a healthy state.

Slippage

Definitions

  • Slippage - an unexpected change in price that occurs between order initiation and execution (confirmation).

  • Price impact - a predictable change in price caused by all orders depending on order size, direction, and available liquidity.

Adding/Removing Liquidity

  1. There is no price impact while adding and removing liquidity.

  2. Oracle/index price is used to calculate token values while adding and removing liquidity.

  3. Slippage may occur when adding or removing liquidity due to:

  • Change in mark price

    • Mark price reflects the ratio of tokens in the pool. If the ratio in the pool changes, the ratio of tokens you add/receive will change.

  • Change in oracle price

    • Applies when removing tokens. When you add liquidity, if a portion of your liquidity is in base token (ETH, BTC, etc.), you must pay back these borrowed tokens when removing liquidity. If the oracle price changes during your transaction, slippage will result.

Pool Party

Liquidity mining may be subject to updates and changes so make sure to follow us on Medium or Twitter for the latest news.

Pool Party rewards, by market

As of April 2024, the Pool Party rewards by market will be adjusted to the amounts shown by the image below:

Update to Calculation Method

The rewards calculation method is not public in order to slow attempts to game the system.

Further Reading

Liquidity Pool Info

You can visualize liquidity in each perpetual contract token pool directly on Uniswap.

ℹ️ Open the Liquidity tab to visualize pool liquidity

vToken Pools

Complete list can also be found via

Asset

Pool Data

AAVE

APE

ATOM

AVAX

BNB

BTC

CRV

DOGE

ETH

FLOW

FTM

LINK

MATIC

NEAR

OP

PERP

SAND

SOL

Makers can be liquidated before the price goes out of range or after the price goes out of range. The liquidation price for a maker position is calculated in the same way as it is for a taker. To determine the liquidation price for a maker position, you just need to input the position size into the formula . You can view the current position size via the UI or by querying the contract.

Pool Party is here. Earn OP and PERP tokens based on the amount of volume you facilitate! See our for more details.

Rewards are distributed on a weekly basis (on Mondays, at 06:00 UTC), where the amount of OP and PERP tokens earned proportional to the volume facilitated for a certain pool. Your estimated and claimable rewards will be shown here:

here
blog post
https://rewards.perp.com/liquidity-mining
Rewards - Liquidity Mining
Uniswap
The Graph
https://info.uniswap.org/#/optimism/pools/0x6c0bc93a4208eb1648af4ed44cb3b4df9547b42b
https://info.uniswap.org/#/optimism/pools/0x05b552c0a787c228624b389d51eb4277e1f0f348
https://info.uniswap.org/#/optimism/pools/0xb98e6912ae77c643957ed51dcf755895ec4bc6b4
https://info.uniswap.org/#/optimism/pools/0x14bc698fdc368f2487d3ead12dff458e7c272047
https://info.uniswap.org/#/optimism/pools/0xf4d40ebcbf7063d4ff56c6df0179a86287c648de
https://info.uniswap.org/#/optimism/pools/0xc64f9436f8ca50cdcc096105c62dad52faeb1f2e
https://info.uniswap.org/#/optimism/pools/0x6e39acc0dd292a70d92c447ebccb8728f4ed5fe4
https://info.uniswap.org/#/optimism/pools/0x7a5D3DA4658e9315E7d385b8A25D92Cece6e6fab
https://info.uniswap.org/#/optimism/pools/0x36b18618c4131d8564a714fb6b4d2b1edadc0042
https://info.uniswap.org/#/optimism/pools/0xd26ffdde6c0daaabeb0a6806221c6b9fe7519bdf
https://info.uniswap.org/#/optimism/pools/0xaec0bf409bb28efe308108d400034650c4d9ec75
https://info.uniswap.org/#/optimism/pools/0x008b996fd9e7e6d974d03a834a9dbbfcd74689a2
https://info.uniswap.org/#/optimism/pools/0x6f59c163ad6cc896145af7d5922d1eae174a1bcc
https://info.uniswap.org/#/optimism/pools/0x2534d4f1325aa7d3fc8d5d14f224e5c587a719b0
https://info.uniswap.org/#/optimism/pools/0x7b59a5d2f0ae215233989ada5fb872d9df727ced
https://info.uniswap.org/#/optimism/pools/0x86f03c6e26b0488b6e39b34d7f10d843ae8e3d1b
https://info.uniswap.org/#/optimism/pools/0xe4a1645dde99c20d126c24b8dd1d1a4bc4a88e4c
https://info.uniswap.org/#/optimism/pools/0xf993cc412edf1257f3e771bb744645daf4c19b14
https://docs.perp.com
Rewards after Apr 8 will continue to be 2,500 OP each for ETH, BTC and OP markets.