MiladyStrategyHook
EthereumRegisteredA hook for the MLDYSTR/ETH pool that takes a time-decaying custom fee (starting at 99%, decaying 10pp/hour to 20% over 8 hours) on each ExactIn swap via afterSwap. Token fees are converted to ETH through a nested poolManager.swap(), then distributed 80% to MiladyStrategy and 20% to a protocol fee address. ExactOutput swaps are unconditionally rejected.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
8mo
Code size
5,055 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.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
1 totalPairCreatedFeePool ID