BrownieHook
EthereumRuns code on every swap. Can take tokens from swaps. Can block LP withdrawals. Takes a cut when LPs withdraw. Gates who can add liquidity. Adjusts deposit amounts. Runs at pool creation. Handles donations to LPs.
CBe carefulNot in Uniswap’s hook registry · Can take tokens out of swaps
Pools
1
Dynamic-fee pools
0
Last new pool
25d
Code size
13,695 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Can block LP withdrawals
It runs before liquidity is removed, so it can delay or refuse LP exits.
Takes a cut when LPs withdraw
It can change what LPs get back when they remove liquidity.
Gates who can add liquidity
It checks every deposit before it goes in.
Adjusts deposit amounts
It can adjust token amounts when liquidity is added.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Handles donations to LPs
It runs when someone donates tokens to the pool’s LPs.
Pools using this hook
1 totalPairCreatedFeePool ID