BaseEthHook
EthereumRegisteredCharges a fixed 1% fee on both buy and sell swaps in a native ETH / ERC-20 token pool. In beforeSwap it returns a BeforeSwapDelta to retain the fee on exact-input ETH buys; in afterSwap it collects the fee via poolManager.take() and notifies the paired token contract via a safe callback.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
41d
Code size
3,628 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.