Police Hook
EthereumRegisteredApplies asymmetric fees to an ETH/token pool: 0% on buys (ETH→token), 5% on sells (token→ETH). On sells, the ETH fee is routed to the paired token contract via poolManager.take() and token.notifyEthFee(). Also validates that tx.origin holds sufficient token balance before allowing exact-output sell swaps.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
4mo
Code size
2,906 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
1 totalPairCreatedFeePool ID