Skip to content
First Access Exchange

Company perpetuals

A company perpetual is a perpetual future on a private company's market cap. It never expires while the company is private, trades at up to 2× leverage, pays funding every hour against an index the chain computes itself, and settles in cash when the company lists.

Each company has:

  • the perpetual, {BASE}PERP-USD;
  • a ladder of IPO expiries that the chain lists by itself. Each expiry is an IPO event: a binary ("Will the company IPO by DATE?"), a call and a put at each strike, and its implied market cap S;
  • the index I, a blend of the expiries' S. It is the perpetual's oracle price: margin, liquidation and funding all read it (the company index).

The contract

UnderlyingThe company's market cap
Contract$1 per $1B: a price of $50.00 values the company at $50B
Tick$0.01 ($10M of market cap)
SizeWhole contracts
MarginIsolated. Initial 50% of |n|·I (2× at most), maintenance 30%
FundingEvery hour, 8-hour rate, against I, within ±1% per 8 hours by default (funding)
Price bandOrders and fills within I ± 10% while the index is fresh, ± 2% otherwise
Price capNo order and no index above perp_price_cap
Open interest capPer company, required
SettlementAt the IPO-day closing market cap when the company lists, or at a value governance sets (settlement)
OrdersLimit orders, short-term or long-term, post-only, IOC; stop orders, triggered on I (stop orders); no TWAP

Margin and leverage

The perpetual sits in the reserved liquidity tier CompanyPerp (id 1,000,003): initial margin 500,000 ppm (50%) and a maintenance fraction of 600,000 ppm (maintenance 30% of notional). Governance can't set the tier above 2× (initial below 50%) or its maintenance fraction below 50%. MsgUpdateLeverage is refused.

A position opened at the limit (equity 50% of notional) at index I₀ is liquidatable when:

  • long: I < I₀ × 0.5 / 0.7, a 28.6% fall (bankrupt at a 50% fall);
  • short: I > I₀ × 1.5 / 1.3, a 15.4% rise (bankrupt at a 50% rise).

While the index is blended it moves at most 0.5% a block, so from the limit to liquidation takes at least 67 blocks for a long and 29 for a short. See margin and liquidation.

The price band

Margin, liquidation and withdrawals all read I. A trade far from I would hand its seller a gain at I that it could withdraw at once, which its buyer might lose at settlement. So every new order on the perpetual's book, and every fill, is priced within a band around I:

  • I ± 10% (perp_price_band_ppm) while the index is BLENDED and fresh;
  • I ± 2% (perp_stale_band_ppm) otherwise: held, in fallback, or blended but stale.

The half-width is ⌈I × band⌉, at least one tick, and the ends are rounded inward to the tick. The chain sets the perpetual's chain_market.price_band_ppm every block the index's freshness changes, so read the current band from /dydxprotocol/perpetuals/perpetual/{id}.

  • A new order outside the band is refused.
  • A resting order the band has moved away from stays on the book. A bid above the band fills only at the band's top, an ask below it only at its bottom: both get at least their limit.
  • A long-term order that meets a maker only outside the band can neither trade nor rest crossed; it is removed with REMOVAL_REASON_OUTSIDE_CALL_PRICE_BAND.

Caps

  • Price cap (perp_price_cap): no order above it, and the index I never above it. company_index_near_cap is emitted every block I is at least 80% of the cap (near_cap_alert_ppm), for governance to raise it. Governance can lower it, but not below the top of the blended band, I × (1 + perp_price_band_ppm); orders resting above a lowered cap are cancelled.
  • Open interest cap (perp_oi_cap, contracts): a trade that would take open interest above it is refused for the taker; the resting maker stays, and the taker goes on to makers that close positions. Trades that reduce open interest always go through. The cap is required at listing and can't be removed, only replaced; a cap below the current open interest only stops growth.

Listing

Governance lists a company with one proposal, MsgCreateCompany. It names:

  • the company's name, ticker base and reference market cap (the index's first value and the first expiries' S);
  • three deadlines for the first expiries: UTC, on day 1 to 28 of their month, strictly increasing, in different months (by default 12, 24 and 36 months out);
  • the template every expiry is listed with: admin, rules URL, resolve delay (at least an hour), the binary's first price, the call margin rates, each call's open interest cap, the call price cap multiple, the strike multiples, the ladder's spacing and roll, and the admin's settlement band;
  • the index parameters (0 reads as the default);
  • the perpetual's open interest cap, price cap (at least the reference cap) and funding bound;
  • the insurance seed, moved from the community treasury into the perpetual's own insurance fund. The proposal fails if the treasury holds less.

It creates the company, the perpetual and its book, the index (held, stale, at the reference cap until the expiries' quotes count), the insurance fund and the three expiries. At most 4 companies are active at once. Parameter reference lists every field with its default and bounds.

The ladder of expiries

The chain lists each company's expiries itself, so the index always has expiries to read: three horizons, about 1, 2 and 3 years out.

  • When. An expiry counts as a far horizon while its deadline is more than 12 months away (roll_months). Once fewer than 2 are (horizon_count − 1), the chain lists the next: deadline = the latest deadline ever listed + 12 months (spacing_months), stepped forward a further 12 months at a time (at most 10 steps) until it is more than 12 months away.
  • Strikes. S = the index I at listing; K = S × each multiple (default 0.5, 0.75, 1, 1.25, 1.5, 2), rounded to the nearest $1B (at least $1B), duplicates dropped. At S = $50B that is $25B, $38B, $50B, $63B, $75B and $100B.
  • Starting prices. p0 = the farthest expiry's binary price, held within 25% and 99.9%, down to the binary's tick (0.1¢), else the template's first price. Each call starts at p0·max(0, S − K) plus the time-value cushion (20% × S × min(1, S/K)²); each put at that call less p0·(S − K), at least $0.01 and at most K, so the starting prices give back S. Each call's price cap is ⌈multiple × max(S, K)⌉ to a cent (default 4×).
  • Pace. At most one listing a block, chain-wide, taking the companies in turn. A failed listing never stops the chain: it is retried every 100 blocks, and company_ladder_listing_failed is emitted once a failure streak. With no free trading-event slot it waits (company_ladder_deferred). The chain trades at most 16 events at once and reserves (3 + 1) slots for each active company.
  • Auto-halt. A trading expiry whose deadline has passed is halted by the chain without an outcome, at most one a block. Its admin (or governance) then resolves it No. This touches nothing else of the company.
  • The ladder stops once the company is halted for an IPO, settling or settled; expiries already listed trade on as ordinary events.

Company status

CompanyStatusMeaning
COMPANY_STATUS_ACTIVETrading; the index updates; the ladder runs
COMPANY_STATUS_HALTED_IPOAn expiry was halted before its deadline: the perpetual and every trading expiry are halted, M is fixed, the index is frozen
COMPANY_STATUS_PENDING_GOVERNANCEThe admin's IPO Yes was outside its settlement band: the expiries resolved, the perpetual waits for MsgSettleCompanyPerp
COMPANY_STATUS_SETTLINGThe perpetual is paying out
COMPANY_STATUS_SETTLEDEvery holder is paid

Market making

The index needs quotes, and only long-term orders count.

  • Quote every expiry: its binary, and a call and a put at the strikes near S, each from its own subaccount, at least 2 subaccounts a side, 5 contracts in all within 5¢ of the mid (on the binary too, whose tick is 0.1¢), every quote covered by its subaccount's collateral as if all its orders on that side filled.
  • Consistent prices: at a market cap S and IPO probability p, quote the binary at p, the call at K at p·max(0, S − K) + c and the put at p·max(0, K − S) + c, for any common c. Then C − P = p·(S − K) and the strike says S.
  • Collateral: a call ask needs about 2 × ask + X a contract (X = 200% of S at the defaults, less out of the money), a put ask K, a bid its price, a perpetual quote 50% of its notional.
  • The perpetual's own book sets funding, not I: quotes above I with at least $1,000 a side behind them make longs pay while the index is blended and fresh.

The risks the adversarial reviews found, and what bounds them, are in rules and risks.