Building a v4 hook? Four house hooks already earn on every swap: volatility fee, anti-snipe, agent rebate and weekend gap guard.Read the protocol.Building a v4 hook? Four house hooks already earn on every swap: volatility fee, anti-snipe, agent rebate and weekend gap guard.Read the protocol.

Dev log

2026-10-22

Plain words

The site now says what each piece is. A stacked module is a v4 hook, the hook every pool is created with is the hook stack, a call that reverts or runs out of gas is a failed run, and a hook taken out of every pool is removed. The live view is Live swaps, and creating a pool is called Create a pool.

Contracts, functions and events keep their names on chain (Dam, publishLog, Crack), so integrations do not change. Old links redirect: /app/build to /app/create-pool, and the docs pages to their new names. The MCP tools are list_hooks, quote_stack, create_pool and hook_stats; the old tool names still answer.

2026-10-22

Renamed to v4 Marketplace

The project is now v4 Marketplace and the token is $V4M. Nothing moved on chain: the hook stack, the storefronts, the ledger, the router and the four house hooks keep their addresses, and stakes and royalties carry over as they are.

The SDK is served at /sdk/v4market.mjs and the old paths redirect to it. The MCP server answers as v4market.

2026-10-19

The hook stack, the ledger and four house hooks

The hook stack is a single v4 hook mined for eight permission bits: before and after initialise, before add and remove liquidity, before and after swap, and both swap return deltas. Pools must be created through createDam, so every pool on it has a registered stack.

Each stacked v4 hook runs inside a guarded call with its own gas limit and a 96-byte cap on return data. A revert, an out-of-gas or a malformed answer is a failed run: the swap goes on, the storefront counts it, and the third one in a week burns 10% of the stake.

Royalties are taken from the unspecified side as ERC-6909 claims for the ledger. The invariant test checks that the ledger always holds exactly what it owes.

The four house hooks passed a fork test on the live PoolManager with the live TSLA feed and ERC-8004 registry. Limit orders and the true weekend batch need hooks that hold funds; they come next, with a 50,000 $V4M stake.

2026-10-19

Pons coins get a second pool

A Pons pool keeps the Pons hook forever (beforeInitialize, afterSwap, afterSwapReturnDelta), so a hook stack cannot be put on it. Instead, Create a pool reads the coin from the Pons factory, finds its pool, and opens a v4 Marketplace pool on the same pair at the same price. The keeper keeps the two in line every hour.