Add Flaunch PositionManager hook on robinhood#1119
Open
hooklist-generator[bot] wants to merge 1 commit into
Open
Add Flaunch PositionManager hook on robinhood#1119hooklist-generator[bot] wants to merge 1 commit into
hooklist-generator[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Review: hooks/robinhood/0x5cf8e499c7c466c7e2cf127bdf129f57151e65dc.json
Address Flag Verification
Address suffix 0x65dc = 0110 0101 1101 1100 (binary). All 14 permission bits match the hook file exactly:
| Flag | Bit | Expected | Hook File |
|---|---|---|---|
| beforeInitialize | 13 | true | true ✓ |
| afterInitialize | 12 | false | false ✓ |
| beforeAddLiquidity | 11 | false | false ✓ |
| afterAddLiquidity | 10 | true | true ✓ |
| beforeRemoveLiquidity | 9 | false | false ✓ |
| afterRemoveLiquidity | 8 | true | true ✓ |
| beforeSwap | 7 | true | true ✓ |
| afterSwap | 6 | true | true ✓ |
| beforeDonate | 5 | false | false ✓ |
| afterDonate | 4 | true | true ✓ |
| beforeSwapReturnsDelta | 3 | true | true ✓ |
| afterSwapReturnsDelta | 2 | true | true ✓ |
| afterAddLiquidityReturnsDelta | 1 | false | false ✓ |
| afterRemoveLiquidityReturnsDelta | 0 | false | false ✓ |
Also confirmed against getHookPermissions() in source (dev comment: 10 0101 1101 1100 == 25DC; with bits 14-15 from the 0x65 prefix this matches 0x65DC).
Properties Verification
- dynamicFee: false ✓ — Pool is initialized with
fee: 0(zero, not the0x800000dynamic fee flag)._beforeSwapreturns a zero fee override. NopoolManager.updateDynamicLPFee()call anywhere. - upgradeable: false ✓ — No proxy pattern, no
delegatecallto a mutable implementation, noSELFDESTRUCT. Admin setters (setFlaunch,setInitialPrice) update external component contracts, not the hook itself. - requiresCustomSwapData: false ✓ —
_hookDatais used only for optional referrer fee routing in_distributeReferrerFees. The temporal gate, internal swap pool, BidWall, and all core swap logic operate independently of hookData. Empty hookData does not cause revert or materially incorrect behavior. - vanillaSwap: false ✓ —
beforeSwapReturnsDeltais true: the InternalSwapPool can fill trades from fee inventory before they hit the Uniswap pool, returning aBeforeSwapDelta.afterSwapReturnsDeltais true: the hook takes swap fees. Swap execution is materially different from a standard v4 pool. - swapAccess: "temporal" ✓ —
_beforeSwapchecksflaunchesAt[poolId] > block.timestampand reverts withTokenNotFlaunchedif the scheduled launch timestamp hasn't passed yet. This is a pure temporal gate (configurable per-pool at launch time).
Metadata Verification
- chainId: 4663 ✓ — Matches
robinhoodentry inchains.json. - verifiedSource: true ✓ —
source_meta.jsonconfirms"verified": true. - name: "Flaunch PositionManager" ✓ — On-chain contract name is
PositionManager; "Flaunch" qualifier is substantiated throughout the source (project-level imports like@flaunch/, functionflaunch(),IFlaunch,FlaunchParams, etc.). No promotional, audit, or affiliation language. - description ✓ — All four claims are factually grounded in the Solidity logic: internal swap pool (
_processInternalSwap/IInternalSwapPool), temporal gating (flaunchesAtmapping + timestamp revert), BidWall (IBidWall bidWall,bidWall.deposit()), and fee distribution to protocol/creators/referrers (_distributeFees,_distributeReferrerFees). No marketing language.
Verdict
All flags, properties, and metadata are correct. Approving.
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 Uniswap v4 hook that manages memecoin launches on the Flaunch platform, featuring an internal swap pool for pre-swap fee conversion, temporal gating for scheduled token launches, a BidWall for buy-side liquidity support, and fee distribution to protocol, creators, and optional referrers.
Flags
Properties
Warnings
Closes #1114