Skip to content
Cross-chain LVR shield · Uniswap v4 · Reactive Network

The price moved on Base. Your Unichain pool hasn't heard yet. Parallax tells it.

When a price moves on one chain, the same pair on another chain is stale for seconds. The first arbitrageur takes the gap from LPs. Parallax carries the move from Base Sepolia through a reactive contract on Reactive Lasna into a Uniswap v4 hook on Unichain Sepolia. From then on, the hook charges the arbitrage leg a fee about as large as the gap.

Full loop on-chain, p50 · Base block → Unichain callback block
1,800ms
p95 2,600 ms on block timestamps · n = 40 testnet shocks
seen by an off-chain watcher over public RPC: p50 4,044 ms
Loops closed on testnet
62
Base → Lasna react(), observed p50
1,835ms
LP P&L vs reference · control pool
−500pUSD
LP P&L vs reference · shielded pool
+340pUSD

Same shocks, same arbitrage bot, same liquidity: 22 arbitrage trades on each pool over the two arbitrage runs. P&L is valued at the Base reference price, so a loss here is LVR paid to the arbitrageur. See Latency for the method and both runs.

01 / PROBLEM

Stale quotes are paid for by LPs

Base Sepolia produces a block every 200 ms. Unichain Sepolia produces one every second. When pETH reprices on Base, the Unichain pool keeps quoting the old price until someone trades against it. That someone buys at the stale price and sells at the new one. The difference is loss-versus-rebalancing, and LPs pay it on every move. A pool cannot defend itself, because it does not know the price on the other chain.

02 / LOOP

Event → Reactive → callback

Every loop starts from a Swap event, runs through a reactive contract and ends in a callback. No keeper and no off-chain relayer are involved. Read the mechanism →

  1. 01
    Base Sepolia
    200 ms blocks
    Uniswap v4 PoolManager

    Reference pool pETH/pUSD · static 0.05% fee, no hook

    emits Swap(id, sender, …, sqrtPriceX96, liquidity, tick, fee)
  2. 02
    Reactive Lasna
    ~1 s blocks, instant finality
    Parallax reactive diamond

    Subscribed to Swap with topic1 = reference pool id. react() normalises the tick, applies a 10-tick threshold, derives the origin time in ms from the block number

    requestCallbackV_1_0 → onReference(seq, tick, origin block, origin ms, origin tx, …)
  3. 03
    Unichain Sepolia
    1 s blocks
    Parallax hook diamond

    Callback proxy → CallbackReceiverFacet checks the proxy and the injected reactive sender, stores the reference

    beforeSwap: arbitrage toward the reference pays base + surge; other flow pays the base fee