BondingCurveHook
BaseRegisteredRoutes swaps through a custom bonding curve during the token's bonding phase by intercepting beforeSwap and executing buys/sells via the BondkitToken contract. After migration to DEX phase, collects LP fees from the hook-owned position in afterSwap and distributes them via a DexPhaseSplitter contract.
ALooks safeRegistered, verified, immutable
Pools
9
Dynamic-fee pools
0
Last new pool
14mo
Code size
13,115 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
9 totalPairCreatedFeePool ID