EpochHook on Ethereum

Uniswap v4 Hook Contract 0x3af656de4507e822ccd86acf235198c3bba3e0cc on Ethereum · Launchpad · Verified contract

Volume (24h)
$128
Value locked (TVL)
$3.00K
All-time volume
$2.14M
Pools using this hook
20
Swaps (24h)
2 (2 traders)
Total swaps
8,551

What it does

An immutable launchpad hook that charges every swap a dynamic 0.50% to 1.50% ETH fee (large, high-priority-fee and early-launch trades pay more), splits it between the platform, the creator and coin holders, limits sniper buys only during the first minute, never blocks sells, and lets LPs withdraw freely.

How it works step by step

  • Serves as the shared hook for Epochpad coin pools (ETH paired with a coin, 0% LP fee), with each pool keeping its own settings.
  • Charges every swap a dynamic fee on the ETH side, between 0.50% and the pool's ceiling (at most 1.50%), made up of a base rate plus extras for large trades, high priority-fee (MEV) transactions and the launch window.
  • Splits collected fees: 40% to the platform, 30% to the coin's creator, and the remaining 30% by a configurable split between holders (via the vault), buy-and-burn, permanent liquidity, Protocol Guild and the vault treasury.
  • Runs anti-snipe limits on buys during a launch window of up to 1 minute: a per-wallet buy cap (no tighter than 0.1% of supply) and a cooldown of up to 30 seconds.
  • After sells, it can use banked fee ETH to buy back and burn the coin or add permanent full-range liquidity, with each action moving the price by about 0.10% at most.
Swap behaviour
Every swap pays a fee of 0.50% up to the pool ceiling (max 1.50%) on its ETH side, plus a launch surcharge that fades out over the first minute, all clamped to the ceiling. Buys can revert during the launch window because of wallet caps or cooldowns, while sells are never blocked. After a sell, the hook may run a small buyback or liquidity add, and traders can cap the fee they accept through hookData.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely. Liquidity the hook adds itself is permanent, and the launch liquidity is owned by the dead address.
Fee behaviour
The dynamic fee runs from 0.50% to the pool ceiling, with a hard cap of 1.50%, and is taken in ETH. Larger trades, trades with high priority fees, and early launch trades pay more. Fees go 40% to the platform, 30% to the creator, and 30% by the vault's split between holders, burn, liquidity, Protocol Guild and treasury.
Owner & admin controls
Each coin's vault can tune the fee components no more often than every 2 beacon epochs (about 12.8 minutes), always within 0.50% to 1.50%. It can lower the ceiling right away, but raising the ceiling or changing the split in a way that gives holders less only takes effect after a 24-hour delay; the vault can also set the buyback band and chunk size (0.0005 to 1 ETH), fund or withdraw band ETH, end the snipe window early and do fee-free buybacks. The factory registers pools and can set a payout address once, before launch.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the factory can open a registered pool, and this starts the launch window; beforeSwap: calculates the fee and takes it up front when ETH is the specified side; afterSwap: takes the fee from the other side when needed, enforces anti-snipe limits on buys and runs a support action after sells; beforeSwapReturnDelta and afterSwapReturnDelta: let the hook collect the ETH fee from swap amounts.

Security & trust assessment

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

Who controls it: Each coin's vault (run by its agent) steers the fees and buybacks, but only within hard-coded bounds of 0.50% to 1.50%, with 24-hour notice for changes that hurt holders. The platform's 40% and the creator's 30% shares are fixed, and the contract is immutable.

Risk to user funds: The hook takes only a 0.50% to 1.50% ETH fee from each swap. It cannot touch holders' tokens or LP principal, and LP withdrawals are unrestricted.

Security findings

  • [info] Fee hard-capped at 1.5%: All fee components combined are clamped to a ceiling of at most 1.50%, and increases to the ceiling take effect only after 24 hours.
  • [low] Launch buy limits: During a launch window of up to 1 minute, buys can revert because of a per-wallet cap (at least 0.1% of supply) or a cooldown of up to 30 seconds. Sells are never restricted.
  • [info] Unrestricted LP withdrawals: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.

Contract details

Verified source
Yes (EpochHook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
23,467 bytes
Upgradeable proxy
No
Detected patterns
liquidity-management, moves-currency, return-delta, self-unlock

Pools using EpochHook