UniswapV4KEMHook on Robinhood Chain
Uniswap v4 Hook Contract 0x4445520306c9c70952bdfec28f3989f53d9f80c4 on Robinhood Chain · Other · Verified contract
- Volume (24h)
- $323.99K
- Value locked (TVL)
- $176.21K
- All-time volume
- $53.93M
- Pools using this hook
- 20
- Swaps (24h)
- 2,197 (509 traders)
- Total swaps
- 535,661
What it does
A Uniswap v4 hook that only allows exact-input swaps backed by a signature from an authorised quote signer, and captures any output above a signed exchange rate as ERC-6909 claims that a designated account can later redeem to an egRecipient.
How it works step by step
- Rejects exact-output swaps with ExactOutputDisabled
- Verifies an EIP-712-style digest over sender, pool key, direction, max amount in, rate, nonce and expiry signed by quoteSigner
- Consumes unordered nonces to prevent quote replay
- Computes the output surplus above maxAmountIn times maxExchangeRate divided by exchangeRateDenom
- Mints the surplus to the hook as ERC-6909 claims and returns it as an afterSwap delta
- Allows allowlisted claimable accounts to unlock the pool manager and redeem the claims to egRecipient
- Swap behaviour
- Swaps require hookData containing a signed quote (max amount in, max exchange rate, denominator, nonce, expiry, signature from quoteSigner); exact-output swaps revert. Swaps where the output exceeds the signed rate have the excess taken by the hook.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Uses the pool's static fee; beforeSwap returns a zero fee override and no BeforeSwapDelta. Instead, the hook takes an 'exchange-rate guarantee' surplus via afterSwapReturnDelta: if the swap output exceeds maxAmountIn times maxExchangeRate divided by exchangeRateDenom, the excess output is minted to the hook as ERC-6909 claims and the amount is returned as a hook delta.
- Owner & admin controls
- Owner (Ownable) can update the quote signer, the egRecipient address, and the claimable account allowlist; owner can also call rescueERC20s, rescueERC721s and rescueERC1155s to withdraw any tokens or ETH held by the hook; owner can transfer or renounce ownership. No pause mechanism and no upgradeability found.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, afterSwapReturnDelta
beforeSwap: validates signed quote parameters (expiry, max amount in, nonce, signature by quoteSigner) and disables exact-output swaps. afterSwap: computes the exchange-rate surplus on the swap output, mints it to the hook as ERC-6909 claim tokens, and returns the amount as an afterSwapReturnDelta. afterSwapReturnDelta: enabled so the hook can take a share of the swap output.
Security & trust assessment
Risk level: medium (verified source, high confidence).
Who controls it: Not stated.
Risk to user funds: Not stated.
Contract details
- Verified source
- Yes (UniswapV4KEMHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 10,180 bytes
- Upgradeable proxy
- No
- Detected patterns
- ownable, return-delta
Pools using UniswapV4KEMHook
- ETH / USDG (0.0025% fee) — 24h volume $322.36K, TVL $175.75K, 2,159 swaps today
- IGNITION / USDG (7.00% fee) — 24h volume $724, TVL $11, 11 swaps today
- ETH / USDG (Dynamic fee) — 24h volume $442, TVL $0, 18 swaps today
- ETH / USDG (0.11% fee) — 24h volume $277, TVL $0, 3 swaps today
- IGNITION / USDG (2.88% fee) — 24h volume $151, TVL $0, 5 swaps today
- WETH / USDG (0.10% fee) — 24h volume $36, TVL $0, 1 swaps today
- CASHCAT / USDG (0.025% fee) — 24h volume $0, TVL $244, 0 swaps today
- USDG / JINQIAN (0.10% fee) — 24h volume $0, TVL $0, 0 swaps today
- WETH / Bucket (4.00% fee) — 24h volume $0, TVL $201, 0 swaps today
- USDG / SHROOM (3.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / SEXFLY (3.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- PONS / USDG (0.088% fee) — 24h volume $0, TVL <$0.01, 0 swaps today
- USDG / HENT (10.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / PINK (3.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- SHELL / USDG (10.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ORBANCY / USDG (5.555% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / Rialto (5.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / AGI (5.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- GWOOD / USDG (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- MEME / USDG (5.00% fee) — 24h volume $0, TVL $0, 0 swaps today