Add LivoSwapHook (1 fee tier) hook on robinhood#1089
Merged
Ponx merged 1 commit intoJul 16, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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 ✓ —
_beforeSwapalways returns0as the fee override; noupdateDynamicLPFee()call anywhere. - upgradeable: false ✓ — No proxy patterns, delegatecall, or SELFDESTRUCT.
source_meta.jsonconfirmsproxy: false. Contract usesimmutablefor LAUNCHPAD. - requiresCustomSwapData: false ✓ — The
hookDatabytes parameter is accepted but never read; swaps function correctly without any hookData. - vanillaSwap: false ✓ — Correctly false:
beforeSwapReturnsDeltaandafterSwapReturnsDeltaare both true; the hook actively intercepts ETH flows to collect LP fees and taxes. - swapAccess: "governance" ✓ —
_beforeSwapreverts withNoSwapsBeforeGraduation()ifILivoToken(tokenAddress).graduated()returns false. Thegraduatedboolean 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.jsonentry forrobinhood. - 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 = 100out ofBASIS_POINTS = 10000 - "split 50/50 between creator and treasury" —
treasuryShare = lpFeeAmount / 2; creatorLpShare = lpFeeAmount - treasuryShare - "time-limited buy/sell tax" —
_getTaxParamschecksblock.timestamp > config.graduationTimestamp + config.taxDurationSeconds - "tokens graduated via the Livo launchpad" —
ILivoToken(tokenAddress).graduated()gating - "Swaps revert before graduation" —
revert NoSwapsBeforeGraduation()
- "singleton" — NatSpec:
All fields are accurate. Approving.
Ponx
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Properties
Warnings
Closes #1085