TradingFeeHook
BaseRegisteredCollects a 5% trading fee on every swap (0.5% commission to treasury, 4.5% to token creator via RevenueVault), using beforeSwapReturnDelta for exact-input buys and afterSwapReturnDelta for sells and exact-output buys. Pools must be registered by the LaunchVault to have fees enabled; unregistered pools swap without any fee.
?CheckingBytecode not analysed yet
Pools
5
Dynamic-fee pools
0
Last new pool
9mo
Code size
—
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
5 totalPairCreatedFeePool ID