PadPadDoorwayPools
RobinhoodPadPadDoorwayPools is a Uniswap v4 hook on Robinhood Chain. Brand new: its first pool went live today. Active: 123 trades in the last week, and 1 new pool this week.
- Contract name
- PadPadDoorwayPools
How this hook works
Liquidity managerA liquidity manager hook. It manages its own liquidity, trades on its own and controls who adds liquidity.
Manages its own liquidity
It adds and removes liquidity itself, so it can own part or all of the pool.
The code that does this (modify):function _modify(PoolKey memory key, bool coinIsZero, Range memory rg, bytes32 salt, int256 sign) internal returns (int256 coinDelta, int256 pairDelta, uint256 coinFee, uint256 pairFee) { if (rg.liquidity == 0) return (0, 0, 0, 0); (BalanceDelta d, BalanceDelta fees) = IPoolManagerLiquidity(address(poolManager)).modifyLiquidity( key, ModifyLiquidityParams({tickLower: rg.lower, tickUpper: rg.upper, liquidityDelta: sign * int256(uint256(rg.liquidity)), salt: salt}), "" ); (coinDelta, pairDelta) = _split(d, coinIsZero); (int256 cf, int256 qf) = _split(fees, coinIsZero); coinFee = cf > 0 ? uint256(cf) : 0; pairFee = qf > 0 ? uint256(qf) : 0; }Trades on its own
It makes trades itself, for example to convert the fees it collected.
The code that does this (moveTo):function _moveTo(PoolKey memory key, Pool storage p, Allowance storage a, Recenter memory r, Flow memory f) internal { uint160 current = _sqrtPrice(key); if (current == r.target) return; uint256 amount = r.maxSwapIn > 0 ? r.maxSwapIn : 1; bool zeroForOne = r.target < current; // The caps bound what's offered (a free move, 1 unit asked, needs neither); the hourly allowance is checked // below against what the move actually paid, so a free move is never refused for want of allowance. if (r.maxSwapIn > 0) { if (zeroForOne != p.coinIsZero) { if (amount > p.swapCap) revert OverCap(amount, p.swapCap); } else if (amount > p.coinCap) { revert OverCap(amount, p.coinCap); } } BalanceDelta d = poolManager.swap(key, SwapParams({zeroForOne: zeroForOne, amountSpecified: -int256(amount), sqrtPriceLimitX96: r.target}), ""); (int256 dc, int256 dq) = _split(d, p.coinIsZero); f.c += dc; f.q += dq; if (dq < 0) { uint256 paid = uint256(-dq); // what moving the price actually cost if (paid > _left(a)) revert OverAllowance(paid, _left(a)); a.used += paid; f.pairOut += paid; } if (dc != 0 || dq != 0) emit Moved(Currency.unwrap(p.coinIsZero ? key.currency0 : key.currency1), -dc, -dq); uint160 reached = _sqrtPrice(key); if (reached != r.target) revert PriceNotReached(reached, r.target); }Rules for adding liquidity
It decides who can add liquidity, or when.
The code that does this (beforeAddLiquidity):function beforeAddLiquidity(address sender, PoolKey calldata, ModifyLiquidityParams calldata, bytes calldata) external view returns (bytes4) { if (msg.sender != address(poolManager)) revert NotPoolManager(); if (sender != address(this)) revert OnlyPadPadLiquidity(); return this.beforeAddLiquidity.selector; }
Who controls it: The hook developer can change the trading limits, the wallets that receive its fees, which launcher it works with and the contracts it works with. The hook developer can also change: max silence, filler, default caps, allowance, caps. The hook developer can also call: open, close, reset. The filler can call: heartbeat, recenter, recenter many. The hook developer can withdraw funds held by the hook. 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 auditguardianClose close recenter recenterManyWhat it can do
It checks every deposit before it goes in.
Hook history
Across all its pools, the hook sent on what it had collected: $266.93.
- Sent on what it had collected 20 times, worth $266.93
Latest transactions
- 0xe06b7307…7ac6d1 block 116,767,222 · 0.000108 ETH
- 0x52f54c5d…a1e16a block 116,760,385 · 0.00237 ETH
- 0xfb5d2fb6…d0e1c1 block 116,760,076 · 0.00211 ETH
- 0xcf9e4f61…27b2ff block 116,759,735 · 0.00338 ETH
- 0xeb76464d…3ad807 block 116,758,328 · 0.000107 ETH
- 0x538f03f4…cc30c2 block 116,755,379 · 0.000105 ETH
- 0x09382f25…cbe67a block 116,751,410 · 0.000101 ETH
- 0xacd13f78…8b5396 block 116,747,558 · 0.000110 ETH
- 0xc623fa14…930175 block 116,743,440 · 0.00283 ETH
- 0x57812aeb…d0b461 block 116,743,386 · 0.00500 ETH
- Recentered 129 times
Latest transactions
- 0xe47b3da3…6b446d block 116,769,570
- 0x997f5515…15bb12 block 116,769,106
- 0x78298e87…da5f0b block 116,768,310
- 0x80aee074…eb5f33 block 116,768,177
- 0x191e9032…f978e7 block 116,767,586
- 0x958ca0ba…86ebfd block 116,767,292
- 0x579dc1d6…04aa10 block 116,767,173
- 0xc0151c4e…0b871a block 116,766,172
- 0xe3f1af53…45f3ea block 116,764,918
- 0xf6da0e91…24d3d7 block 116,764,383
- Earned the fees 5 times
Latest transactions
- 0x76a85837…b30380 block 116,760,298
- 0x5a682f99…5cd83d block 116,757,552
- 0x2022e393…1bd890 block 116,737,225
- 0x1e27b679…2ab2ff block 116,733,079
- 0x8339d3d6…a86a7e block 116,729,584
- Closed 4 times
Latest transactions
- 0xc0151c4e…0b871a block 116,766,172
- 0x1a2982c9…56b719 block 116,758,893
- 0xdee16ea1…feed13 block 116,744,814
- 0x55f91d30…f54d63 block 116,734,043
- Opened a pool 1 time
Settings changes: set the caps (1 time).
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.