WrappedConcentratedHook
EthereumWrappedConcentratedHook is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 2 trades in the last week, and 1 new pool this week.
- Contract name
- WrappedConcentratedHook
How this hook works
Trading taxA trading tax hook. It takes a cut of every trade, keeps rewards to claim and only lets approved callers create pools.
Takes a cut of every trade
On top of the normal pool fee, it keeps a share of each trade. The fee builds up in the hook until it is collected.
The code that does this (beforeSwap):function _beforeSwap(address,PoolKey calldata k,SwapParams calldata p,bytes calldata) internal override returns(bytes4,BeforeSwapDelta,uint24){ _validate(k);require(p.amountSpecified<0&&p.amountSpecified>=-int256(uint256(uint128(type(int128).max))),"exact input only"); (uint160 price,,,)=poolManager.getSlot0(PoolId.wrap(keccak256(abi.encode(k))));require(price>minimumPrice&&price<maximumPrice,"price outside bounds"); if(p.zeroForOne){uint256 fee=uint256(-p.amountSpecified)*feeBps/10000;require(fee<uint256(-p.amountSpecified),"fee input");_accrue(fee);return(IHooks.beforeSwap.selector,toBeforeSwapDelta(int128(int256(fee)),0),0);} return(IHooks.beforeSwap.selector,BeforeSwapDelta.wrap(0),0); }Rewards to claim
It keeps track of what people have earned, and they claim it themselves.
The code that does this (claimFees):function claimFees() external nonReentrant {uint256 amount=feesOwed[msg.sender];require(amount>0,"no fees");feesOwed[msg.sender]=0;IERC20(weth).safeTransfer(msg.sender,amount);}Only approved callers create pools
New pools with this hook can only be created by approved callers, for example its own factory or launcher.
The code that does this (beforeInitialize):function _beforeInitialize(address sender,PoolKey calldata k,uint160 price) internal view override returns(bytes4){_validate(k);require(sender==owner&&price>minimumPrice&&price<maximumPrice,"initialization");return IHooks.beforeInitialize.selector;}
Who controls it: The hook developer can change: bounds. The code cannot be changed.
Based on the hook’s published code.What do these labels mean?
Safety report
Before you build on it. Automated checks, not an auditsetBoundsWhat it can do
Its code executes inside each trade in pools that use it.
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
Across all its pools, the hook handled trade money (this hook holds the pool’s funds): $7.17e-7.
- Handled trade money (this hook holds the pool’s funds) 2 times, worth $7.17e-7
Latest transactions
- 0x20a07d96…9de6e2 block 26,434,320 · 1.96e-10 WETH
- 0x3ea4d533…937573 block 26,434,317 · 2.00e-10 WETH
- Took its fee from a trade 2 times
Latest transactions
- 0x20a07d96…9de6e2 block 26,434,320
- 0x3ea4d533…937573 block 26,434,317
Counted from what the hook recorded on-chain across all its pools, for every action in its published code, plus token transfers in and out of it. Dollar values count the amounts paid in ETH, stablecoins, BNB and BTC, at today’s prices.