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

Quickstart

EVH is one Uniswap V4 hook — the Hypervisor — 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 assigned 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. Deploy it through PluginForge.deploy(initCode, salt): CREATE2, then an immediate opcode scan.
  4. Register with PluginCatalog.register(...). Every argument must equal what your on-chain spec() returns.
  5. Assign it: a pool operator calls DispatchBoard.assign(poolId, pluginId, phase, rank).

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