v4FunFeeHook
RobinhoodRegisteredShared swap-fee hook for the v4.fun launchpad. Charges ETH fees on buys (deducted from input in beforeSwap) and sells (deducted from output in afterSwap) using a volatility-adjusted rate that scales linearly between a pool's registered baseFeeBps and maxFeeBps based on the tick movement of the previous swap. Only exact-input swaps are permitted.
ALooks safeRegistered, verified, immutable
Pools
3
Dynamic-fee pools
0
Last new pool
2mo
Code size
5,322 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.