TradingFeeHook
BaseRegisteredCollects a fixed 5% trading fee on swaps in registered pools, routing 0.5% to a treasury and 4.5% to token creators via a RevenueVault. Uses beforeSwap for exact-input buys and afterSwap for sells and exact-output buys, with WETH unwrapped to ETH before distribution.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
9mo
Code size
7,477 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.
Pools using this hook
2 totalPairCreatedFeePool ID