# Compound

The compounder is held: hookr.fun opens none for now, and this page describes the vault as built.

Compound is an opt-in vault for one revenue token. Deposit revenue tokens and they keep earning in the vault, and the income they earn is added to the token's own pool as liquidity instead of being paid out.

## How it works

Anyone opens a token's compounder through the compounder factory, once, with the default terms: on the token's own market pool, with bands 600 ticks wide and a tip to whoever pokes it of 0.5% of what the poke gathers, at most 0.01 ETH, or 0.01 of any other 18-decimal quote; a quote with fewer decimals has no cap. The token's creator can open it on another pool the token is in instead, with terms of its own. Whoever opens it first fixes the pool and the terms for good.

Only the token's creator can make the first deposit, and the first 1,000 raw units of its shares go to the dead address for good. After that anyone can deposit. Every deposit brings revenue tokens and quote in the vault's own proportion, so no price is read to value a share. The shares redeem for their part of everything the vault holds: the revenue tokens, the liquidity and any cash not yet placed. A redeem needs no poke first. If a pool's hook refuses a removal, a redeem is refused, and `redeemUnlocked` pays the rest and leaves those bands behind.

A poke claims the income the token owes the vault and places it in the pool as single-sided liquidity, in up to three bands. The vault places its quote in a band on one side of the price and its revenue tokens in a band on the other, so nothing is swapped, and it places them next to where the price has been recently, not wherever it is at the moment. The pool's fees on that liquidity are placed the same way. Drops to the token's holders are claimed in and released over time like income, and income in an asset the pool cannot take is split over the shares for each shareholder to claim. Nothing pokes a compounder on its own: income is added only when someone pokes it, and anyone can, from the token's page or by a direct call, and the tip pays whoever does.

## Why it exists

Revenue tokens in a Uniswap v4 pool earn nothing, and most other pool contracts cannot claim. Compound is the way to hold revenue tokens in a contract and keep their income working: the vault claims for its depositors, then deepens the token's own market with it.

The compounder lens reads a vault's holdings, bands and owed income for the token's page.

---

This page: https://hookr.fun/docs/revenue-tokenizer/compound. Every docs page as Markdown: https://hookr.fun/docs.md.
