Hook
Sets the fee on every trade, taxes sandwich bots and keeps a price record no single block can move.
5 of 14 V4 hook permissionsProgrammable liquidity
Rules, logic and liquidity on Ethereum, built as a Uniswap V4 hook.
How it works
Liquidity OS runs an ETH/LIQUIDITY pool on Uniswap V4. Its liquidity reacts to the market, carries out rules and protects the people who provide it.
Sets the fee on every trade, taxes sandwich bots and keeps a price record no single block can move.
5 of 14 V4 hook permissionsDeposit once. The vault keeps your liquidity around the price, widens it when markets swing and collects the fees.
Withdraw at any timeAttach rules to your own position, like "exit if the price falls 6%". Keepers run them for a small tip.
Up to 8 rules per positionA fixed supply of 1 billion. Part of every trade buys LIQUIDITY back and burns it.
Supply only goes downThe hook
Calm markets trade cheaply. When prices swing, the fee rises so liquidity providers are paid for the risk, and the autopilot range widens to keep earning.
The fee is set on every trade from recent volatility, between 0.30% and 5%.
A trade that reverses a price push made earlier in the same block pays extra, up to the 5% cap, and the extra goes to liquidity providers. That is the closing leg of every sandwich. Any other trade against a same-block move pays it too.
The hook records the price before any trade in a block moves it, so a push inside one block never reaches its average. Shifting the average means holding a false price for many blocks, against everyone who trades it back.
The engine
Each rule is one sentence: when this happens, do that. Choose a rule and move the level to see how it plays out.
Anyone can run a keeper. Whoever executes a ready rule first earns the tip you set; if no keeper is running, the rule waits until one does.
The token
The pool keeps 0.05% of every trade. It builds up until someone triggers the buyback, which spends it on LIQUIDITY and burns it. Anyone can, and the caller keeps 1% as a reward.
Safety
These rules live in the contracts. Where an owner can still tune something, the limits are fixed in code too.
Withdraw at any time, whatever the price is doing.
Rules and safety checks use the 30-minute average price, never a single moment.
Only the Vault and the Engine can add liquidity. Liquidity that arrives in a block leaves that block's fees to everyone else, so jumping in and out around a trade earns nothing.
The Engine has no owner. Nobody can change your rules or touch your position.
The hook owner can retune fees, but never past 5% a trade, 0.2% to the buyback, or a circuit breaker tighter than 10% a block. Nobody can move a deposit.
Until the app ships, deposits and rules run from Etherscan: deposit on the Vault, open on the Engine. Swaps need a router that supports V4 pools with hooks.