A tax hook for native/token pools that applies a 1.5% buy tax (taken from native input before swap) and a 1.5% sell tax (taken from native output after swap), routing collected taxes to a configurable revenue router. Only exact-input swaps on admin-registered pools are supported; exact-output swaps revert.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
2mo
Code size
4,938 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