The crash settles in one transaction.
ZeroMargin cross-margins a Uniswap v4 LP with its offsetting short hedge on one SPAN-style grid, so the same book posts a fraction of the collateral and rides out the shock intact.
$147,500becomes$10,000
locked initial margin on the 95%-hedged golden vector, 93.22% less
Returned after −30%
of $25,000 posted, on the netted book
$0
Penalty in the same crash
charged to the isolated desk
$0
Initial margin required
netted, where isolated wants $147,500
$0
Bad debt across the grid
shocks from −3,000 to +2,000 bps
$0
One grid watches the book from open to settlement.
01
Net the legs
The grid nets the hedge's worst-case gain against the LP's worst-case loss and charges the difference plus a haircut on matched basis.
Read the vectors02
Guard liquidity
A Uniswap v4 hook re-runs the grid before any withdrawal and reverts with a breach error when collateral could leave underposted.
See the guard03
Settle atomically
The unwind pushes the short's gain into the same virtual balance that pays the LP deficit, so the quote is the execution.
Open the terminalThe same crash, the same margin, two outcomes.
$25,000 posted on both sides. The only difference is the netting.
ZeroMargin book
−3,000 bps
$19,700
returned to the trader, no liquidation penalty inside the tested grid
- LP loss
- +$33,750.00
- Short gain, netted
- −$28,500.00
- Unwind fee
- −$50.00
Isolated desk
margin practice unchanged
$0
returned to the trader, the account is liquidated at the same mark
- LP leg result
- −$33,750.00
- Liquidation penalty
- −$10,000
Frequently asked questions
Where does the margin saving come from?
It comes entirely from netting. The LP loses money when the price moves; the short hedge makes money in the same moves. Instead of charging each account for its own worst case, the grid charges the portfolio for the worst case of the pair, plus a haircut on matched basis. On the 95%-hedged demo book that is $10,000 of initial margin instead of $147,500.
Can I withdraw my LP liquidity at any time?
Yes, as long as the book can still pay its worst case. A Uniswap v4 hook re-runs the grid from the block's actual state before every removal, and reverts with SpanMarginBreach if the withdrawal would leave the book underposted. No keeper or manual review is needed.
What happens in deeper crashes than −30%?
The tested grid ends at −3,000 bps. Inside the grid the engine posts exactly what the scenarios require. Deeper shocks are outside the tested envelope, so we make no claim about them; the golden vectors on the proof page pin the exact amounts.
Settle the −30% crash in one transaction.
The terminal quotes every shock line by line and proves the golden vectors.