HaberdasheryHook
BaseRegisteredA fee-collecting hook that charges a configurable percentage fee (default 1%, max 10%) on each swap by taking the fee amount via beforeSwapReturnsDelta, accumulating fees per pool by currency. The owner can withdraw accumulated fees, automatically converting non-Habs token balances to the Habs token via an internal pool swap.
ALooks safeRegistered, verified, immutable
Pools
8
Dynamic-fee pools
0
Last new pool
9mo
Code size
21,334 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.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
8 totalPairCreatedFeePool ID