EVHEthereum
Virtual Hook
SYNCINGBLOCK EPOCH PLUGINS SEATED POOLS LAST DISPATCH HYPERVISOR
Documentation · 01 / 11

Quickstart

EVH is one Uniswap V4 hook — the EVHHypervisor — that implements all eight lifecycle callbacks and hard-codes no strategy. Each callback is a phase. On every pool operation the hypervisor builds anInvocation, hands it to the PluginRuntime, and the runtime runs every plugin seated on that phase, in rank order, under hard fuel caps.

Ship a plugin in five steps

  1. Lock EVH in StakeVault to meet the catalog's minimum author stake.
  2. Write a contract implementing spec() and run() — usually by extending PluginBase.
  3. Fabricate it through PluginForge.fabricate(initCode, salt): CREATE2, then an immediate opcode scan.
  4. Enroll with PluginCatalog.enroll(...). Every argument must equal what your on-chain spec() returns.
  5. Seat it: a pool operator calls DispatchBoard.seat(poolId, pluginId, phase, rank).

Then bond EVH behind it in PluginBonds to raise its epoch fuel allowance, and watch it in a dispatch trace.