Token hook on Robinhood Chain
Uniswap v4 Hook Contract 0xd0fb58a7812029faf41ff5b0f9c1a0fc4be5a0cc on Robinhood Chain · Token
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 0
What it does
This is a token-plus-hook that appears to charge every swap in its pool an unverified levy and pay the proceeds out to fixed payees, while LPs can add and withdraw liquidity freely.
How it works step by step
- The hook is also an ERC-20 token with permit support, and it hooks into its own Uniswap v4 pool.
- On swaps it can collect a levy using swap return deltas and track the total in a 'levied' counter.
- Collected funds appear to be held in a 'cellar' and paid out through a 'draw' function to payees indexed by slot number.
- A one-time 'opened' flag is set when the pool is initialized, which appears to gate trading or setup.
- Swap behaviour
- Before and after each swap the hook updates internal counters and can change swap amounts through return deltas, most likely to take a levy. The exact levy rate and any restrictions cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A swap levy appears to be taken via return deltas and pulled from the PoolManager. It is accumulated for later distribution to payees through draw(). The exact percentage and recipient split are unknown from bytecode.
- Owner & admin controls
- An owner address exists, but no obvious owner-only setter functions were decoded. draw(uint8) moves accrued funds to fixed payees, and its caller restrictions are unknown.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: sets up or opens the pool once; beforeSwap: records state and can adjust the swap input; afterSwap: can take a levy from the swap result; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook take tokens from swaps.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: An owner exists, but no admin setters were identified. Payees for collected levies appear to be fixed, though this is unconfirmed.
Risk to user funds: The hook can take an unknown portion of swap amounts as a levy. LP principal cannot be locked or charged on withdrawal.
Security findings
- [medium] Unverified swap levy: Swap return deltas are enabled and the hook pulls tokens from the PoolManager. The levy size cannot be verified without source.
- [info] Payout via draw: Accrued levies are paid out to payees selected by index. Who can trigger this and the recipients are not verifiable from bytecode.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 6,640 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, ownable, return-delta, self-unlock
Pools using Token hook
- ETH / test (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today