HID Domain Registry Hook
EthereumRegisteredA Uniswap v4 hook on an ETH/HID pool collecting protocol fees via BeforeSwapDelta/AfterSwapDelta. Plain buys (ETH->HID, no/unapproved hookData) are charged 1% of ETH input; domain-registration buys (hookData set, input >= autoRegisterThreshold, root approved) are charged a fixed 0.0005 ETH REGISTRATION_FEE. Sells (HID->ETH) are charged 1% of ETH output via afterSwap. On a successful registration swap, afterSwap registers the domain encoded in hookData on-chain to tx.origin.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
4mo
Code size
22,490 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.