Developers
Architecture
Planned
Eight contracts on Elysium, a stateless keeper anyone can run, an indexer for history, and a two-stage price path.
Overview
Trader (browser, session key)
│ request / close (one tap)
▼
NineRouter ──► NinePerps ◄── fill / liquidate / takeProfit ◄── Keepers (anyone)
│ │
NineOracle ◄┘ └► NineRisk (OI caps, breakers)
│ │
HyperCore precompile NineVault (USDC, ERC-4626) ◄── LPs
(v0: signed keeper price)
│
NineLives ──► rebates in $NINE ◄── NineStaking ◄── $NINE holdersContracts
Solidity, built with Foundry, deployed on Elysium (chain 99901).
| Contract | Job |
|---|---|
| NinePerps | Requests, fills, isolated positions, close, liquidation, take-profit at +900%. Holds no LP funds. |
| NineRouter | Entry point. Checks session-key signatures (scoped per wallet, with spend limit and expiry) and batches deposit + open. |
| NineOracle | Adapter around the HyperCore precompile: mark, mid, oracle, depth ±bps, hcBlock, hcTs. Runs every sanity check. Has a signed-keeper mode for v0. |
| NineRisk | Per-market config (tier, max leverage, D, W) and live caps: OI per side from depth, vault-backed max payout, circuit breakers. |
| NineVault | USDC vault (ERC-4626), counterparty to the net position. Settles every payout instantly. Withdrawals through a 72 h epoch queue. |
| NineLives | Soulbound Lives counter per wallet. Pays the Ninth Life rebate from the epoch budget. |
| NINE | Fixed-supply ERC-20 with no mint function. |
| NineStaking | Stake $NINE for the USDC fee share. 9 / 99 / 999-day locks. |
Admin: a multisig plus a timelock (≥ 48 h) for config changes. A guardian can only pause new opens; it can never touch positions or the vault. Closes and withdrawals always stay available.
Off-chain services
| Service | Role |
|---|---|
| Keeper | Subscribes to new blocks, fills requests in the first eligible block, liquidates as soon as a price crosses, triggers take-profit. Stateless and replaceable; anyone can run one. Liquidators earn half the leftover equity. |
| Indexer | Stores events for history, the leaderboard, Lives and PnL cards. |
| Frontend | Live price ticks from Hyperliquid's public feed for display only. Every fill uses the on-chain price. |
Two-stage price path
| Stage | Price source | Trust |
|---|---|---|
| v0 | Keepers sign (market, mark, mid, oracle, hcBlock, hcTs). The contract checks freshness, mark vs mid, a max jump, and a 2-of-3 signature quorum. | Keeper quorum |
| v1 | The HyperCore precompile is read directly inside fill and liquidate. | Elysium's sequencer attestation |
The switch is a NineOracle mode change behind the timelock. Contract logic does not change.
Rollout
| Phase | Scope | Status |
|---|---|---|
| 0 | Docs and backtests: D, W, caps and the house edge on Hyperliquid tick data | In progress |
| 1 | Closed beta of Turbo markets on the v0 oracle, bug bounty, audits | Planned |
| 2 | Mainnet Turbo: BTC / ETH / HYPE / SOL at 999x with low caps. Points and Lives go live. | Planned |
| 3 | Precompile v1 and the 99x Meme tier. Caps rise with vault TVL. | Planned |
| 4 | $NINE staking, Ninth Life rebates in $NINE, the 9x Trader tier | Planned |