Pricing Model
This page describes the technical pricing model for Vanilla Boundary Perps. The accepted onchain quote remains the binding value for every position.
Price Basis
All quoting, validation, position marking, and settlement use the underlying asset's HyperCore mark price.
Let:
Sbe the current mark price.Ube the upper boundary.Lbe the lower boundary.pbe the probability of the chosen boundary crossing first.
Using the launch model's linear touch-probability approximation:
Upper-first p = (S - L) / (U - L)
Lower-first p = (U - S) / (U - L)The contract caps the probability used for marking to the interval [0, 1].
Fair Payout
Ignoring costs, the fair gross payout is:
fair payout = stake / pThis is equivalent to pricing the position as a standalone perpetual that uses the stake as isolated margin, places liquidation at the non-chosen boundary, and places take profit at the chosen boundary. The replication is a pricing device only. The protocol hedges the net book rather than creating one hedge for every user position.
Quoted Payout
The contract adjusts the stake for expected costs and pool margin before scaling by the chosen outcome's probability:
The three deductions are collected in full regardless of which boundary resolves the position.
Funding Reserve
The funding reserve estimates perpetual funding over the position's expected life. The expected duration uses:
Where:
d_upis the fractional distance from the mark to the upper boundary.d_downis the fractional distance from the mark to the lower boundary.sigmais the configured daily volatility for the asset.tauis measured in days.
The realized funding cost can differ from the estimate. The buffer absorbs that variance.
Execution Reserve
The execution reserve estimates the trading fees and slippage required to establish and rebalance the protocol's Hyperliquid hedge. It also accounts for the brief latency between accepting a position and completing the related hedge adjustment.
Spread
The pool's margin consists of a base spread and a signed imbalance adjustment:
I_pre and I_post are the normalized book imbalance before and after the position:
The base spread is calculated from the position's expected hedge notional:
D is the distance from the mark to the non-chosen boundary. This stake-based form makes the spread computable before the payout it helps determine.
A position that increases the absolute imbalance pays a positive risk charge. A position that reduces imbalance receives a discount. The discount can exceed the base spread and protocol fee, so an exposure-reducing quote may be above the standalone fair payout. The model does not impose a floor of zero on the signed imbalance adjustment.
Buyback Pricing
An early-close buyback begins with the position's current marked value:
The same imbalance-priced spread function is applied to the buyback's change in book state. Across an open followed by a buyback, the signed imbalance charges offset, while the base spread is paid in both directions.
Quote Acceptance
The initial quote is indicative. During acceptance, the contract:
Reads the current mark and book state.
Revalidates every position constraint.
Recomputes the binding payout.
Compares it with the user's
minPayout.Reverts if the new payout is below
minPayout.
The accepted payout is fixed as the book's recorded liability for the life of the position. A last-resort socialized-loss adjustment can reduce the final amount paid if the book becomes insolvent.
Leverage Padding
The protocol may optionally quote a position whose non-chosen boundary implies leverage above the venue limit. In that case, the LP buffer supplies additional hedge margin beyond the user's stake.
Leverage padding changes which boundary configurations are eligible. It does not change the payout formula. The amount of permitted padding is controlled by a configured cap and may be zero.
Last updated