vildX
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.

What it does

The capabilities this engine contributes to the vildX system.

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.

How it works

Step-by-step flow inside this engine — from input signals to handoff.

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

Inputs & outputs

Data feeds and downstream consumers.

INPUTS
Trade orders

Size, venue, slippage limit from Engine 04

DEX quotes

1inch, Paraswap, Odos, KyberSwap APIs in real-time

Perp orderbooks

dYdX, Hyperliquid, Drift live order books for hedge sizing

Gas oracle

Per-chain gas for total-cost computation

OUTPUTS
Fills

Executed trades with price, slippage, and gas used

Hedge positions

Live perp positions for delta-neutral books

Settlement reports

Per-trade record for the Rebalance audit trail

Other engines in vildX

The full Layer 1 stack — five engines working together.

⚠ Risk disclosures

vildX is a non-custodial software platform. Yields are variable and not guaranteed. Past performance does not predict future returns. Smart contract, protocol, and asset risks may result in partial or total loss of principal. Boost is not principal-protected. Not financial advice. Not for U.S. persons. Read full risk disclosures →