UniHooks

RandomDonationHook

RobinhoodRegisteredLaunch a pool with this hook

On each swap, selects a pseudo-random tiered fee from three configurable probability tiers and applies it on top of a base fee. The fee is split between LPs (via pool donation) and a fixed treasury address. Only owner-registered pools may be initialized or traded.

0x6cc4fc20d1a152ecf3f731a0faa9444b38a8a0c4 First pool 3 Sept 2026View on explorer
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
2
Last new pool
2mo
Code size
21,474 B

What it can do

Runs code on every swap

Its code executes inside each trade in pools that use it.

Can take tokens from swaps

It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.

Sets its own swap fee

Pools using it let the hook choose the swap fee instead of a fixed tier.

Runs at pool creation

It runs when a pool is created, often to lock in that pool’s settings.

Safety report

Automated checks, not an audit
✓Not upgradeableNo proxy pattern found: the code is fixed.
✓No owner foundNo owner() function: nobody has an admin switch (as far as the standard check goes).
✓Listed in Uniswap’s hook registryRegistered with Uniswap Labs (a listing, not a security review).
✓Source code publishedThe code on the block explorer matches what's deployed (contract: RandomDonationHook).
iCan change swap amountsIt has a ReturnDelta permission. Normal for fees and burns, but also how fake-quote hooks steal.
iRestricted swapsSwap access: governance. Not everyone can trade every pool.
?No audit linkedAutomated checks only.

Pools using this hook

2 total
PairCreatedFeePool ID
USDG / OPENAI 2mo dynamic 0xaf52…1b4c Tx ↗
CNPY / USDG 2mo dynamic 0xe4f1…11af Tx ↗