Skip to content

Ekubo vs Uniswap v4

Ekubo V3 and Uniswap v4 share a design on EVM chains: one singleton contract holds every pool, balances are tracked as deltas in transient storage during a lock and settled once at the end, and a pool can bind a custom logic contract (an Ekubo extension, a Uniswap hook) as an immutable part of its key. They differ in how that custom logic acts, in fees and tick precision, in licensing, and by a wide margin in how much liquidity and volume each has today. This page sets out each difference with its source, and says where Uniswap v4 is the better choice.

Every Ekubo claim below is linked to the v3.4.0 release of evm-contracts, and every Uniswap claim to v4-core at commit bea7f6d. Starknet is out of scope: Ekubo’s Starknet contracts differ (see Protocol architecture), and Uniswap v4 is not deployed there.

Aspect Ekubo V3 Uniswap v4
Pool contract One Core singleton for every pool One PoolManager singleton for every pool
Settlement lock() callback; deltas in transient storage (tload/tstore); net settlement when the lock closes unlock() callback; deltas in transient storage; settle and take before the unlock closes
Custom pool logic Extension with 8 call points, all notifications that return nothing Hook with 10 callbacks behind 14 permission flags, four of which let a callback return a balance delta
Custom actions forward(address) hands the current lock to another contract, which acts as the locker with its own ABI A hook’s own external functions, or custom accounting through returned deltas
Swap fee Any uint64 fraction of 2^64, fixed in the pool key; variable fees come from extensions (MEV capture, Ve33, signed exclusive swaps) Any static fee up to 1,000,000 pips (100%), or a dynamic-fee pool whose hook calls updateDynamicLPFee
Protocol fee None in Core, which has no owner. The canonical Positions contract takes 10% of collected swap fees, an immutable set at deployment A protocol fee controller set by the owner can set a fee per pool, up to 1000 pips (0.1%) per direction
Tick size 1.000001^tick, 0.01 basis point 1.0001^tick, 1 basis point
Tick spacing Free per pool, 1 to 698,605 Free per pool, 1 to 32,767
Pool types in one key Concentrated, stableswap (center price and amplification) and full range (poolConfig.sol) Concentrated liquidity; other curves need a custom-accounting hook
License Ekubo DAO Shared Revenue License 1.0 BUSL-1.1 for v4-core, converting to MIT on the earlier of 2027-06-15 or a date set at v4-core-license-date.uniswap.eth, with additional use grants published by Uniswap
Audits Listed on Audits Listed in v4-core/docs/security/audits

Both protocols encode which callbacks a logic contract receives in the contract’s own address, so the set is fixed when the address is mined: the top byte on Ekubo (addressToCallPoints), the low 14 bits on Uniswap v4. On Ekubo the eight call points are before and after pool initialization, swaps, position updates and fee collection (callPoints.sol). On Uniswap v4 the ten callbacks are before and after initialize, add liquidity, remove liquidity, swap and donate, plus four “returns delta” permissions for swaps and liquidity changes (Hooks.sol).

The difference is how custom logic moves funds. A v4 hook returns BeforeSwapDelta or BalanceDelta values from its callbacks and receives caller arguments through a hookData parameter. An Ekubo extension’s callbacks return nothing; to move funds it re-enters Core inside the same lock like any other participant, and a contract that needs its own entry points receives the lock through forward. Ekubo’s TWAMM, MEV capture, boosted fees, Ve33 and signed exclusive swap extensions are built this way, and the Extensions vs. Uniswap v4 hooks article walks through each one. See Extensions for the call points and the deployed extensions.

Other EVM protocols with a comparable mechanism include Balancer v3, whose hooks attach to pools at registration and can compute dynamic swap fees, and whose Vault uses transient accounting of the same lock-and-settle kind.

On a mainnet fork at block 25999935 (September 17, 2026), one swap through one 0.3% pool cost 110,875 gas on Ekubo through its production Yul router and 144,390 on Uniswap v4 through the Universal Router with Permit2. With minimal routers of the same shape on both sides, the figures were 112,997 and 131,284, and each additional pool in a route added about 24,000 gas on Ekubo and 36,000 on v4. These are recorded measurements for pools without hooks or extensions; any hook or extension changes them. The method, conditions and raw data are on Gas efficiency, and the route-length comparison is on Gas for multi-pool swaps.

On DefiLlama on November 23, 2026, Ekubo’s total value locked on Ethereum was about $1.4 million and Uniswap v4’s about $641 million. Over the preceding seven days DefiLlama recorded about $47.8 million of Ethereum DEX volume for Ekubo and about $3.51 billion for Uniswap v4. The saved readings name the API endpoints; current values are on DefiLlama’s Ekubo and Uniswap v4 pages.

Depth decides the price of a trade more than per-swap gas does once a trade is large. A lower gas cost does not offset a worse price from a shallower pool.

  • Large swaps in pairs where Uniswap v4 is much deeper. On Ethereum that is most major pairs today. Compare routed quotes at your actual size; an aggregator that includes both protocols does this for you.
  • You need a chain Ekubo is not live on. Ekubo’s supported chains require EIP-1153 and EIP-7939; check that list against Uniswap’s deployments.
  • Your design depends on hook return deltas or hookData. If you already have audited v4 hook code or depend on v4 tooling, porting it to Ekubo’s call-point and forward model is new work, not a recompile.
  • Your contracts would be derived from or incorporate the core code, and the license terms suit Uniswap better. Read both licenses with your own counsel; this page does not interpret either.
  • You want the larger hook ecosystem. More third-party hooks, tooling and integrations target v4 than target Ekubo extensions.
  • Routes that cross several pools. Ekubo’s measured cost per extra pool is lower; see Gas for multi-pool swaps.
  • Finer price ranges. Ekubo ticks are 100 times finer, though a pool’s tick spacing sets the real limit; see Concentrated liquidity ranges.
  • Long-running orders. The TWAMM extension shares one address on every supported chain; see TWAMM and TWAP orders.
  • No protocol fee in Core. Core has no owner and no fee switch; fees are applied by the periphery contract you choose.