Skip to content

hook: LunchTaxHookPair #1144

Description

@nightcode112

Chain

robinhood

Hook Address

0x4Eb1976978756Bd56802d8162f2271844924e0cc

Hook Name

LunchTaxHookPair

Description

A Uniswap V4 hook powering lunch.fun's stock/USDG-pair "tax launch" coins on Robinhood Chain. Sibling of LunchTaxHook (already submitted, chain robinhood, address 0xf7521Cf0bB7C11e2D2794189412614Cf2e29a0cC), generalized so the pool's quote currency can sit at either currency slot (quoteIsC0) instead of always being native ETH. beforeSwap/afterSwap skim a creator-configured buy/sell tax (0-5% per side) via delta-flag return, accruing it per pool in the quote token (accruedQuote). Accrued tax is distributed permissionlessly via distribute(poolId) into a pull-based ledger (owed[recipient][quoteToken]); recipients withdraw via claim(address token), which converts the quote to WETH via a configured SwapRouter02 path where available, falling back to the raw quote token otherwise. An optional holder-rewards mode (single-quote or multi-asset basket) routes a configurable share of the tax to holders instead. The contract is a frozen (non-upgradeable) UUPS proxy — _authorizeUpgrade unconditionally reverts. Source: https://github.com/nightcode112/lunch-v4-hooks

Example deployed pool (test launch, USDG-paired, ~3.1 ETH-equivalent liquidity): token 0x65078b806a1fafeb2bc375b9f67dd23d905f9935, poolId 0xb836fb55baff2b674a3d333c6913e8d95542724332decb2b8cf5e4fee1c02735

Deployer Address

0x7B2DaF7F696bB844C7786693062D6619D1858cC9

Audit URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions