$ sandbox runs on live HyperCore marks
Mechanism

Liquidation proofs and the escape hatch

A liquidation is a proof

To liquidate, the engine proves in zero knowledge that, at the signed mark, the note's hidden equity (margin + PnL - funding) is below maintenance: the mark is past the hidden liquidation price, below it for a long, above it for a short. The remaining margin goes to the book. A healthy position cannot be liquidated, because the circuit has no witness for it.

The engine needs a witness that the signed mark is past the line.

Maintenance

Maintenance is 1.25% of the entry notional. Before funding, the line is entry × (1 - 1/leverage + 1.25%) for a long and entry × (1 + 1/leverage - 1.25%) for a short. Funding paid since the open counts against equity, so it moves the line toward the entry; funding received moves it away.

Escape hatch

If the engine posts no funding index for 24 hours, the book enters escape mode. Any position owner can close at zero PnL: margin back in full, as a note. The vault has no owner withdrawal of user notes, and the house withdrawal is refused while escape mode is active.