Manages liquidity pools for the EtherRL protocol: a main ETH/EtherRL pool and per-answer-token pools for a prediction/Q&A platform. Liquidity is permanently locked to external users. After each swap, the hook collects a fee from the output token, converts it to ETH via nested swaps, distributes a portion as rewards through a RewardDistributor, and uses the remainder for EtherRL token buyback-and-burn.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
2mo
Code size
20,872 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.
Can block LP withdrawals
It runs before liquidity is removed, so it can delay or refuse LP exits.
Gates who can add liquidity
It checks every deposit before it goes in.
Pools using this hook
2 totalPairCreatedFeePool ID