Rewards hook on Ethereum
Uniswap v4 Hook Contract 0xcebe77eb7974fcf2e9fc07dbcb073bc5e1b8c040 on Ethereum · Rewards
- Volume (24h)
- $525
- Value locked (TVL)
- $1.73K
- All-time volume
- $6.42K
- Pools using this hook
- 2
- Swaps (24h)
- 5 (5 traders)
- Total swaps
- 1,005
What it does
This hook leaves swaps and fees unchanged, so no trade pays more or less, and after each swap it asks an external contract to mint a reward; LPs can withdraw freely.
How it works step by step
- After each swap, calls an external reward contract to mint a reward, likely to the swapper or the transaction sender.
- Does not change swap prices, amounts, or fees.
- Has a setReward function that changes the reward contract address; who may call it cannot be confirmed from bytecode.
- Never runs on liquidity adds or withdrawals.
- Swap behaviour
- Swaps run normally, and afterwards the hook calls the configured reward contract's mint function. If that external call reverts, the swap could revert too, but the hook cannot take tokens from the swap.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- A setReward function updates the reward contract address stored in the hook. Access control on it cannot be verified from bytecode, and no fee or pause controls were found.
Enabled Uniswap v4 callbacks
afterSwap
afterSwap: triggers a reward mint on the external reward contract after each swap.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, medium confidence).
Who controls it: Whoever can call setReward controls which reward contract is called after swaps. The worst case is broken rewards or failing swaps, not loss of funds.
Risk to user funds: The hook takes no swap or LP funds and charges no extra fee (0%). LP principal cannot be locked or drained by this hook.
Security findings
- [low] Reward contract address is changeable: setReward replaces the external reward contract called after swaps. A bad or reverting target could make swaps fail, but it cannot take swap or LP tokens.
- [info] No fund-moving permissions: Return-delta and remove-liquidity permissions are disabled, so the hook cannot deduct tokens from swaps or block LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 5,902 bytes
- Upgradeable proxy
- No
- Detected patterns
- rewards
Pools using Rewards hook
- ETH / crvUSD (0.30% fee) — 24h volume $525, TVL $1.72K, 5 swaps today
- ETH / XYO (0.30% fee) — 24h volume $0, TVL $4.22, 0 swaps today