Grain on Robinhood Chain

Uniswap v4 Hook Contract 0x0fd1060cf8259e278a4c5e5f632cb7abfb7060cc on Robinhood Chain · Launchpad · Verified contract

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 launchpad coin-hook charges every buy and sell a fixed 1% of the ETH side, splits it 40/40/10/10 among four fixed recipients, and has no admin controls or limits on LP withdrawals.

How it works step by step

  • The hook is also an ERC20 coin (10 billion supply) that serves only its own ETH/coin pool, which has a 0% LP fee.
  • Every swap pays a fixed 1% fee on the ETH side of the trade, whether buying or selling.
  • The collected ETH stays in the Uniswap PoolManager as a claim held by the contract and is split 40% income, 40% community, 10% shared and 10% platform.
  • Each of four fixed recipient addresses can withdraw only its own share. There is no owner, no pause, no allowlist and no tax on plain transfers.
  • Only the launcher (the deployer) can open the single home pool, and it can do so only once. Any other pool using this hook is rejected.
Swap behaviour
When the trader sets the exact ETH amount, the 1% is taken before the swap: an exact ETH input is reduced by 1%, and for an exact ETH output the pool pays out about 1.01% more and the hook keeps the difference. When the trader sets the exact coin amount, the 1% is taken after the swap: buyers pay about 1% extra ETH and sellers receive 1% less ETH.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A fixed 1% of the ETH leg is charged on every swap, rounded up; the pool's LP fee is 0%. The fee is split 40/40/10/10 between four fixed income, community, shared and platform addresses set at deployment.
Owner & admin controls
No admin controls found; owner() returns the zero address, and the fee rate, split and recipient addresses are fixed at deployment.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the launcher can open the one home pool, once; beforeSwap + beforeSwapReturnDelta: takes the 1% when the ETH amount is specified; afterSwap + afterSwapReturnDelta: takes the 1% when the coin amount is specified and checks the pool moved the expected ETH amount.

Security & trust assessment

Risk level: low (verified source, high confidence).

Who controls it: No one holds admin keys. Four fixed recipient addresses can only withdraw their own share of the collected fees.

Risk to user funds: The hook takes exactly 1% of the ETH side of each swap and nothing more. It cannot touch LP principal, and LP withdrawals are unrestricted.

Security findings

  • [info] Fixed 1% swap fee: The fee is hard-coded at 1% of the ETH leg and cannot be changed. Recipients can only claim their own accrued share of the collected ETH.
  • [info] Immutable, no admin: The contract is not a proxy and has no owner, pause or trader lists. Remove-liquidity callbacks are disabled, so LP withdrawals are unrestricted.

Contract details

Verified source
Yes (Grain)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
6,603 bytes
Upgradeable proxy
No
Detected patterns
erc20, moves-currency, ownable, return-delta, self-unlock

Pools using Grain