Virtual AMM (vAMM)

A Virtual Automated Market Maker (vAMM) is a pricing mechanism used primarily in perpetual futures protocols where:

There are no real assets in the pool, but prices behave as if there were.

Core idea

A vAMM simulates an AMM like Uniswap, but: • No actual liquidity providers depositing tokens • No real reserves backing trades • Only virtual reserves used for price discovery

Intuition

In a normal AMM: • You trade against a real pool of assets

In a vAMM: • You trade against a mathematical curve • Your PnL is settled elsewhere (margin system)

The pricing model

Most vAMMs use the classic constant product formula:

x \cdot y = k

Where:

Example

Virtual reserves:

x = 1,000 (ETH)
y = 2,000,000 (USDC)

Price = y / x = 2000 USDC per ETH

If someone goes long (buys ETH exposure):

Critical distinction

These reserves are:

Architecture

A vAMM system has two major components:

  1. Pricing Engine (vAMM)
  1. Margin Engine

Visual model

           Trader
             |
      (opens position)
             |
     -------------------
     |                 |
  vAMM            Margin Engine
(price curve)     (PnL + risk)

Where it’s used

The canonical example is Perpetual Protocol.

Also seen in:

How trading works

Long position

Short position

PnL

PnL is:

Comparison: AMM vs vAMM

AspectAMM (e.g. Uniswap)vAMM
LiquidityReal tokensVirtual
LPsYesNo
SlippageRealSimulated
Use caseSpot tradingDerivatives
RiskImpermanent lossFunding / liquidation
BackingFully collateralized poolMargin system

The key mechanism: Funding Rate

Because vAMM price can drift from reality, you need:

Funding payments to anchor price to the real market

Concept

Why this matters

Without funding:

Deep insight

A vAMM is:

A price discovery engine without liquidity

This is fundamentally different from:

Instead:

Limitations of vAMMs

Be very clear here (most people gloss over this):

  1. No real liquidity

    • Large trades can distort price easily
  2. Requires strong oracle

    • Otherwise manipulable
  3. Funding dependency

    • Core stability mechanism
  4. Not capital efficient alone

    • Needs margin + insurance fund

Final mental model

Bottom line

A vAMM is a mathematical market maker that simulates liquidity instead of holding it, enabling leveraged trading without real pooled assets.