PhiEthHooks
BaseRegisteredImplements a custom 1:1 swap curve between ETH and phiETH (a 1:1 ETH-backed wrapper token) by intercepting swaps in beforeSwap, taking the input from the PoolManager, converting via phiETH deposit/withdraw, and settling the output. Liquidity addition is blocked entirely; the pool is restricted to ETH/phiETH pairs with zero fee.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
13mo
Code size
4,582 B
What it can do
Runs on every swap
Its code executes inside each trade in pools that use it.
Can change what you receive
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Controls who can add liquidity
It checks every deposit before it goes in.
Checks new pools
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
1 totalPairCreatedFeePool ID