TitanPropAMMAggregator
EthereumTitanPropAMMAggregator is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 1 trade in the last week, and 7 new pools this week.
- Contract name
- TitanPropAMMAggregator
How this hook works
Trading taxA trading tax hook. It takes a cut of every trade, limits some actions to approved addresses and stops liquidity being added directly.
Takes a cut of every trade
On top of the normal pool fee, it keeps a share of each trade. It can never be above 0.05%. The fee is paid out in the same trade.
The code that does this (conductSwap):function _conductSwap(Currency settleCurrency, Currency takeCurrency, SwapParams calldata params, PoolId poolId) internal override returns (uint256 amountSettle, uint256 amountTake, bool hasSettled) { if (params.amountSpecified >= 0) revert ExactOutputNotSupported(); amountTake = uint256(-params.amountSpecified); if (amountTake == 0) revert AmountInZero(); if (amountTake > MAX_SWAP_AMOUNT) revert AmountInTooLarge(); PairInfo memory p = poolIdToPair[poolId]; if (p.token0 == address(0)) revert InvalidPoolId(); poolManager.take(takeCurrency, address(venue), amountTake); uint256 grossOut = venue.swap( Currency.unwrap(takeCurrency), Currency.unwrap(settleCurrency), amountTake, 0, address(this), block.timestamp ); if (grossOut == 0) revert ZeroOutput(); if (grossOut > MAX_SWAP_AMOUNT) revert AmountOutTooLarge(); uint256 fee = Math.mulDiv(grossOut, feePips, PIPS); amountSettle = grossOut - fee; if (amountSettle == 0) revert ZeroOutput(); // …Approved addresses only
Some actions are limited to addresses on an approved list.
The code that does this (beforeInitialize):function _beforeInitialize(address, PoolKey calldata key, uint160) internal override returns (bytes4) { if (key.currency0.isAddressZero() || key.currency1.isAddressZero()) revert NativeCurrencyNotSupported(); if (key.fee != LPFeeLibrary.DYNAMIC_FEE_FLAG || key.tickSpacing != CANONICAL_TICK_SPACING) { revert InvalidPoolParams(); } address t0 = Currency.unwrap(key.currency0); address t1 = Currency.unwrap(key.currency1); if (!isAllowedPair[t0][t1]) revert PairNotAllowed(); if (isInitializedPair[t0][t1]) revert PairAlreadyInitialized(); isInitializedPair[t0][t1] = true; PoolId pid = key.toId(); poolIdToPair[pid] = PairInfo({token0: t0, token1: t1}); emit AggregatorPoolRegistered(pid); return IHooks.beforeInitialize.selector; }Liquidity can’t be added directly
Nobody can add liquidity to its pools through Uniswap directly. Liquidity only comes in through the hook’s own code.
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, PoolKey calldata key, uint160) internal override returns (bytes4) { if (key.currency0.isAddressZero() || key.currency1.isAddressZero()) revert NativeCurrencyNotSupported(); if (key.fee != LPFeeLibrary.DYNAMIC_FEE_FLAG || key.tickSpacing != CANONICAL_TICK_SPACING) { revert InvalidPoolParams(); } address t0 = Currency.unwrap(key.currency0); address t1 = Currency.unwrap(key.currency1); if (!isAllowedPair[t0][t1]) revert PairNotAllowed(); if (isInitializedPair[t0][t1]) revert PairAlreadyInitialized(); isInitializedPair[t0][t1] = true; PoolId pid = key.toId(); poolIdToPair[pid] = PairInfo({token0: t0, token1: t1}); emit AggregatorPoolRegistered(pid); return IHooks.beforeInitialize.selector; }Simple trades only
Trades must state the amount going in, not the amount coming out.
The code that does this (rawQuote):function _rawQuote(bool zeroToOne, int256 amountSpecified, PoolId poolId) internal view override returns (uint256 amountUnspecified) { if (amountSpecified >= 0) revert ExactOutputNotSupported(); uint256 amountIn = uint256(-amountSpecified); if (amountIn == 0) revert AmountInZero(); if (amountIn > MAX_SWAP_AMOUNT) revert AmountInTooLarge(); PairInfo memory p = poolIdToPair[poolId]; if (p.token0 == address(0)) revert InvalidPoolId(); (address tokenIn, address tokenOut) = zeroToOne ? (p.token0, p.token1) : (p.token1, p.token0); uint256 grossOut = venue.quote(tokenIn, tokenOut, amountIn); if (grossOut == 0) revert ZeroOutput(); uint256 fee = Math.mulDiv(grossOut, feePips, PIPS); amountUnspecified = grossOut - fee; if (amountUnspecified == 0) revert ZeroOutput(); }
Who controls it: Nobody. The hook has no admin functions, and 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 auditWhat 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.
Pools using it let the hook choose the swap fee instead of a fixed tier.
It checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
Across all its pools, the hook handled a trade: $488.31, and took its fee from a trade: $0.00245.
- Handled a trade 1 time, worth $488.31
- Took its fee from a trade 1 time, worth $0.00245
Latest transactions
- 0xe06d3347…7c854b block 26,492,118 · 0.00000149 WETH
- Registered an aggregator pool 7 times
Latest transactions
- 0x78f8f4b6…2c1dbc block 26,492,046
- 0x1e273c5a…bfb58b block 26,492,045
- 0x2e88f548…51832c block 26,492,041
- 0x6db573d6…bf0835 block 26,492,040
- 0x15d0c90c…2c4760 block 26,492,039
- 0x159ea5de…162587 block 26,492,038
- 0x378783c3…9a694c block 26,492,036
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.
Pools
7 totalOnly pools with trades in the last 7 days are listed here: 1 of 7. See all, newest first.