Uniswap v4 × Reactive Omni · Every Second Counts
Delta Neutral Liquidity Engine
Monitors canonical Uniswap v4 PoolManager.Swap events on Unichain Sepolia (1s blocks) and resizes the perp short hedge so net delta returns to zero via DeltaNeutralVault in ~2 s, whenever drift crosses the band.
Uniswap v4 LP Delta+1.148 BTC67.5% BTC · 32.5% USDC
Perp Short Hedge−0.7953 BTCOpened at entry = LP delta
Net Portfolio Delta
+0.3524Rebalance due
20.49% drift · band 1% · LP in rangeEst. Delta Neutral APY+30.0%LP Fee 26% + Funding · IL -0.43%
BTC/USDC Concentrated LP Delta Curve
As price moves inside [$53,820, $65,780], Uniswap v4 LP inventory shifts and Reactive adjusts the short hedge within ~2 s.
LP Spot Delta Static Hedge Drift Eliminated
Simulate Uniswap v4 Swap Price Shock-4% ($57,408)
1. PoolManager.SwapUnichain · 1s block
2. UniswapDeltaReactiveReactive Lasna · ~1s finality
3. DeltaNeutralVaultPending: Sell 0.3524 BTC-PERP
Why Every Second Counts · Unhedged Drift Cost
After a 4% swap shock, your LP drifts by 0.3524 BTC ($20,230). Every second unhedged compounds adverse selection.
| Architecture | Reaction Time | Unhedged Drift Risk | Speedup | Trust Model |
|---|---|---|---|---|
| reTrade · Reactive OmniBase (200ms) → Lasna (~1s) → Unichain (1s) | ~2s | $44.32 | Baseline | Autonomous onchain · Zero keeper |
| Offchain Polling Keeper / CronRPC poll loop → EOA tx → confirm | ~32s | $177.29 | 16× slower | Centralized server · Fails if offline |
| Standard Cross Chain BridgeOrigin finality → Relayer batch → Dest | ~300s | $542.83 | 150× slower | Minutes of lag · High delta drift |
Delta Rebalance Feed · BTC-PERP
Streams live DeltaRebalanced callbacks from /api/v1/delta/rebalances alongside interactive swap shock runs.
Click Fire Swap → Reactive Rebalance above to trace a live rebalance, or deploy
DeltaNeutralVault (deploy --with-delta) to stream onchain callbacks here.