Pooled-Vault Perpetual Futures
Oracle-priced perpetual futures up to 50x leverage where a single shared LP vault is the counterparty to every trade
Abstract
This LP specifies pooled-vault perpetual futures: leveraged trading of any oracle-priced asset with no expiry, where liquidity comes from one shared vault rather than an order book. Traders open long or short positions with up to 50x leverage, collateralized by USDC. A funding rate keeps the perpetual price aligned with the oracle spot price. The vault (LPX pool) is the counterparty to every trade, so trader PnL is exactly the negative of vault PnL.
This is the pooled market structure. The order-book market structure — matched perps with per-position margin, an insurance fund, and 8-hour funding on the D-Chain matching engine — is LP-9040. Both may run on the same chain against the same oracle; they are different venues, not versions of each other.
Motivation
An order book needs makers. A pooled vault does not: an LP deposits once and is passively on the other side of every trade at the oracle price, which means a new market can list with zero market makers and zero quoting infrastructure. The price the trader gets is the oracle price with no slippage — the vault absorbs the inventory risk, and the fee schedule plus open-interest caps are what pay for and bound that risk.
Specification
Position Model
Position {
owner address
market bytes32 // e.g., keccak256("LUX/USD")
isLong bool
size uint256 // position size in USD
collateral uint256 // USDC collateral
entryPrice uint256 // oracle price at open
entryFunding int256 // cumulative funding at open
}
Leverage = size / collateral. Maximum 50x.
LPX Vault
The LPX vault provides liquidity for all markets:
- LPs deposit USDC into the vault, receiving LPX tokens
- The vault is the counterparty to every trade: trader PnL = -vault PnL
- Vault value = deposited USDC + unrealized PnL from all open positions
- LPX token price = vault value / LPX total supply
Funding Rate
Funding rate aligns perp price with oracle price:
fundingRate = (perpPrice - oraclePrice) / oraclePrice * fundingFactor
- Payment frequency: every 8 hours
- Direction: longs pay shorts when perp > oracle; shorts pay longs when perp < oracle
- Factor:
fundingFactor = 0.01(1% per 8h at full divergence)
Funding is accrued continuously and settled on position modification.
Liquidation
Positions are liquidated when margin ratio falls below maintenance margin:
marginRatio = (collateral + unrealizedPnL - pendingFunding) / size
maintenanceMargin = 0.5% (50x) to 1% (25x), scaled by leverage
Liquidators receive a 0.5% keeper fee. Remaining collateral (if any) returns to the trader.
Fee Structure
| Fee | Rate | Recipient |
|---|---|---|
| Open/close fee | 0.08% of size | 70% LPX vault, 30% treasury |
| Borrowing fee | variable (utilization-based) | LPX vault |
| Liquidation fee | 0.50% of size | Liquidator |
Markets
Markets are added by governance. Each market specifies:
- Oracle feed ID (LP-9005)
- Maximum leverage (up to 50x)
- Maximum open interest (per side)
- Funding factor
Rationale
Because the vault is the counterparty, its exposure is the net open interest, not the gross. Per-side open-interest caps are therefore the primary risk control: they bound the worst case the vault can be carrying when the market gaps. Funding is charged against divergence from the oracle rather than against a book imbalance, since there is no book.
Security Considerations
- Oracle dependency: all PnL calculations use the native oracle price (LP-9005). Oracle manipulation directly impacts positions; provider bonding and slashing are specified in LP-9007.
- Vault risk: in extreme one-directional markets, the LPX vault can lose capital. Maximum open interest limits bound this risk.
- Cascading liquidations: rapid price moves can trigger liquidation cascades. A liquidation buffer (auto-deleverage) reduces systemic risk.
Reference
| Resource | Location |
|---|---|
| Perpetuals contracts | github.com/luxfi/standard/contracts/perps/ |
| LPX vault | LPXVault.sol |
Related LPs
- LP-9040 — order-book perpetuals and margin engine
- LP-9005 — price feeds
- LP-9017 — risk limits across DEX venues
Copyright
Copyright (C) 2024-2026, Lux Industries Inc. All rights reserved.
Licensed under the MIT License.