Free class DeFi for the Curious — how on-chain finance actually works, in plain English. Thursdays, 10am ET, 30 minutes. Save my seat →
Layer 1 · Engine 05 ← Back to architecture

DEX (Delta)

Swap routing and hedging execution.

DEX is the trading layer. Given orders from Engine 04 (Rebalance), it routes swaps across DEX aggregators (1inch, Paraswap, Odos, KyberSwap), executes hedges on perp markets where Boost needs delta-neutralisation, and ensures every fill respects the vault's slippage budget.

The capabilities this engine contributes.

Aggregator routing

Quotes 1inch, Paraswap, Odos, and KyberSwap in parallel; chooses the best net-of-gas execution.

Slippage protection

Hard-caps slippage at vault-tier limits (5 bps Prime, 15 bps Frontier, 50 bps Boost). Aborts trades that would breach.

MEV protection

Uses Flashbots Protect, MEV-Share, or private relays for large fills to avoid sandwich attacks.

Perp hedging

For Boost CRV exposure, opens short perps on dYdX / Hyperliquid / Drift to neutralise delta when requested by Allocation.

Bridge integration

Wraps Across, Wormhole, or LayerZero for cross-chain fills, optimising for speed × cost.

Step-by-step flow — signals in, handoff out.

  1. Receive trade orders from Engine 04 (Rebalance).
  2. Quote all major aggregators in parallel; select best net-of-gas execution.
  3. Route through MEV-protected relay for large fills.
  4. For Boost: open or close delta-neutralising perp positions on the configured venue.
  5. Confirm on-chain fill, report executed price and slippage back to Engine 04.

Data feeds in. Signals out.

Inputs

  • Trade ordersSize, venue, slippage limit from Engine 04
  • DEX quotes1inch, Paraswap, Odos, KyberSwap APIs in real-time
  • Perp orderbooksdYdX, Hyperliquid, Drift live order books for hedge sizing
  • Gas oraclePer-chain gas for total-cost computation

Outputs

  • FillsExecuted trades with price, slippage, and gas used
  • Hedge positionsLive perp positions for delta-neutral books
  • Settlement reportsPer-trade record for the Rebalance audit trail

The full Layer 1 stack.

Five engines working together. Explore the ones you haven't yet.

Curation you can see.
Yield you can feel.

Five engines. Eight strategies. Eighteen vaults. One deposit — every layer visible on-chain.

Launch Vaults → See the architecture