Skip to content

Add LivoSwapHook (1 fee tier) hook on robinhood#1089

Merged
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0xbffe76cc9e506285032b2e5d1b74b579e39ac0cc
Jul 16, 2026
Merged

Add LivoSwapHook (1 fee tier) hook on robinhood#1089
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0xbffe76cc9e506285032b2e5d1b74b579e39ac0cc

Conversation

@hooklist-generator

Copy link
Copy Markdown
Contributor

Summary

A singleton Uniswap v4 hook that collects a fixed 1% LP fee (split 50/50 between creator and treasury) on all swaps, plus a time-limited buy/sell tax, for tokens graduated via the Livo launchpad. Swaps revert before a token's graduation event.

Flags

Flag Value
beforeInitialize false
afterInitialize false
beforeAddLiquidity false
afterAddLiquidity false
beforeRemoveLiquidity false
afterRemoveLiquidity false
beforeSwap true
afterSwap true
beforeDonate false
afterDonate false
beforeSwapReturnsDelta true
afterSwapReturnsDelta true
afterAddLiquidityReturnsDelta false
afterRemoveLiquidityReturnsDelta false

Properties

Property Value
dynamicFee false
upgradeable false
requiresCustomSwapData false
vanillaSwap false
swapAccess governance

Warnings

  • Submitter did not provide a description. Using AI-generated description.

Closes #1085

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hooklist Ready Ready Preview, Comment Jul 16, 2026 2:39pm

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: hooks/robinhood/0xbffe76cc9e506285032b2e5d1b74b579e39ac0cc.json

Address Flag Verification

Address last 2 bytes: 0xC0CC. Lowest 14 bits: 0xC0CC & 0x3FFF = 0x00CC = 0b00_1100_1100.

Bit Flag Address File Source
7 beforeSwap 1 true
6 afterSwap 1 true
3 beforeSwapReturnsDelta 1 true
2 afterSwapReturnsDelta 1 true
all others 0 false

All flags match getHookPermissions() in the source and the hook file.

Properties

  • dynamicFee: false ✓ — _beforeSwap always returns 0 as the fee override; no updateDynamicLPFee() call anywhere.
  • upgradeable: false ✓ — No proxy patterns, delegatecall, or SELFDESTRUCT. source_meta.json confirms proxy: false. Contract uses immutable for LAUNCHPAD.
  • requiresCustomSwapData: false ✓ — The hookData bytes parameter is accepted but never read; swaps function correctly without any hookData.
  • vanillaSwap: false ✓ — Correctly false: beforeSwapReturnsDelta and afterSwapReturnsDelta are both true; the hook actively intercepts ETH flows to collect LP fees and taxes.
  • swapAccess: "governance" ✓ — _beforeSwap reverts with NoSwapsBeforeGraduation() if ILivoToken(tokenAddress).graduated() returns false. The graduated boolean is set by the Livo launchpad admin (owner-controlled state), matching the "governance" classification (boolean flag set by an owner/admin).

Metadata

  • verifiedSource: true ✓ — Confirmed by source_meta.json ("verified": true).
  • chainId: 4663 ✓ — Matches chains.json entry for robinhood.
  • name: "LivoSwapHook (1 fee tier)" ✓ — Contract name is LivoSwapHook; "(1 fee tier)" is factual (LP_FEE_BPS = 100 = 1% fixed fee). No promotional or endorsement language.
  • description ✓ — All claims are substantiated by source:
    • "singleton" — NatSpec: @dev Singleton hook serving all taxable tokens graduated via LivoGraduatorUniswapV4
    • "fixed 1% LP fee" — LP_FEE_BPS = 100 out of BASIS_POINTS = 10000
    • "split 50/50 between creator and treasury" — treasuryShare = lpFeeAmount / 2; creatorLpShare = lpFeeAmount - treasuryShare
    • "time-limited buy/sell tax" — _getTaxParams checks block.timestamp > config.graduationTimestamp + config.taxDurationSeconds
    • "tokens graduated via the Livo launchpad" — ILivoToken(tokenAddress).graduated() gating
    • "Swaps revert before graduation" — revert NoSwapsBeforeGraduation()

All fields are accurate. Approving.

@Ponx
Ponx merged commit 9e0bca5 into main Jul 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hook: LivoSwapHook (1% fee tier) on Robinhood Chain

1 participant