Perpetual venues
For venues that fail in one direction and fail fast, before a risk team has finished the first alert.
onboardPerpDetectors in play5Boundaries declared3Refusals at onboarding0How this sector loses money.
A perpetual venue fails in one direction and it fails fast. An oracle nudged inside a single transaction, a self-liquidation that pays the attacker out of your insurance fund, and a cascade that clears the book before your risk team has finished reading the first alert.
- 5Deterministic rules
What the preset configures.
One command, and this is its output. The identifiers at the foot are real, so you can diff them against the catalogue rather than trust the list.
onboardPerp(platform, config)
6 configured
- 01Every market contract monitored, plus the insurance fund as its own subject
- 02Funding-rate and mark-price integrity against declared oracle sources
- 03Liquidation cascade detection across markets rather than per position
- 04Self-liquidation patterns, where liquidator and liquidated are the same economic actor
- 05Intra-transaction price manipulation on the settlement leg
- 06Oracle feed health, including staleness and divergence
- rules.perp-market-anomaly
- rules.liquidation-cascade
- rules.self-liquidation
- rules.oracle-feed-health
- rules.intratx-price-manipulation
The perimeter, stated in writing.
Every edge, and the control that closes it. This is the list your auditor and underwriter will ask for, so it sits on the public page rather than an appendix.
How it goes live.
Three rungs, in order, and each one written for this preset rather than for presets in general.
-
Step 1
Scope
Every market contract, and the insurance fund enrolled as a subject of its own rather than as a balance in a treasury report. The oracle sources behind mark price and funding are declared in the same pass.
-
Step 2
Detect
Cascade detection runs across the venue rather than per position, because the failure is correlated by construction. Intra-transaction manipulation is evaluated on the settlement leg, which is the leg that actually pays.
-
Step 3
Prevent
The bounded action is a market pause on a named contract. Given how fast this class fails, the shadow period is the part worth arguing about, and the bar is agreed before anything is armed.
What runs underneath.
The breaker you own is the only shared piece fast enough for this venue class, and even then the shadow period is where the argument lives.
Scope Perpetual venues coverage.
Every engagement is scoped by the team, and onboarding is performed by operators. There is no self-serve door, and that is a security decision first.