A Decaying Buffer: How Median-of-Three Mark Pricing Retimes Liquidation on a Decentralized Perpetual Exchange
Abstract
Perpetual exchanges liquidate positions against a mark price rather than their own book’s traded price. On Hyperliquid, the largest on-chain perpetual venue, that price is the median of three inputs, two of which load on external prices. We ask what the rule does during a liquidation cascade. Using 394 days of 60-second market state and 310 days of complete account-level snapshots—221,422 positions held by 75,613 accounts 74 minutes before the market-wide trough of the October 10, 2025 cascade—we establish four results. First, an identity of the median operator turns the published mark price into a restriction on observables that bounds the exponential-moving-average time constant of the buffer and, under an assumption on the external input, point-identifies it; a simulation-based calibration removing the 60-second sampling bias yields 140 seconds against a documented 150, while the reduced-form alternative returns 76 seconds, or 102 after the same correction. Second, the rule retimes rather than prevents: of $3,126M of long notional that crossed its trigger under local-mid pricing, 98% crossed under the mark price too, while $56.9M was prevented, $11.1M induced, and $58.3M pulled earlier. Third, a correlated-shock fragility surface built from complete account state bears no fixed relation to the published per-position liquidation prices, the sign of the discrepancy reversing with shock depth. Fourth, 93% of the variance in realized deleveraging is within-day—an information ceiling on what daily-snapshot features can add to a minute-level classifier, consistent with a time-ordered ablation. Throughout, the buffer is short relative to the problem: execution cost around a dislocation runs roughly 9% above its level three hours earlier, already twenty minutes before our detection threshold is crossed, and falls back below that elevated level only fifty-five minutes after the episode ends—twenty-four buffer time constants. Deferral buys minutes; the book needs hours.