Add PumpV4Hook hook on robinhood#1082
Merged
Ponx merged 1 commit intoJul 16, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Review: hooks/robinhood/0x14bcc18fdb0e7a427122b9c2f1a40ff7d63eaacc.json
Flags
Address ends in 0xaacc; source confirms PERMISSION_MASK = 0x2acc, meaning the lower 14 bits are 10 1010 1100 1100. All 14 flags match exactly:
| Bit | Flag | Correct |
|---|---|---|
| 13 | beforeInitialize | ✓ true |
| 12 | afterInitialize | ✓ false |
| 11 | beforeAddLiquidity | ✓ true |
| 10 | afterAddLiquidity | ✓ false |
| 9 | beforeRemoveLiquidity | ✓ true |
| 8 | afterRemoveLiquidity | ✓ false |
| 7 | beforeSwap | ✓ true |
| 6 | afterSwap | ✓ true |
| 5 | beforeDonate | ✓ false |
| 4 | afterDonate | ✓ false |
| 3 | beforeSwapReturnsDelta | ✓ true |
| 2 | afterSwapReturnsDelta | ✓ true |
| 1 | afterAddLiquidityReturnsDelta | ✓ false |
| 0 | afterRemoveLiquidityReturnsDelta | ✓ false |
These also match getHookPermissions() in the source.
Properties
- dynamicFee: false — Correct. Fee is a fixed 2% (
FEE_BPS = 200 / BPS_DENOMINATOR = 10_000). No call toupdateDynamicLPFee, and_beforeSwapalways returns0for the fee override slot. - upgradeable: false — Correct.
factory,positionManager, andwethare allimmutable. No proxy patterns, nodelegatecall, no mutable implementation storage.source_meta.jsonconfirmsproxy: false. - requiresCustomSwapData: false — Correct.
_beforeSwapacceptshookDatabut leaves it unnamed and unused. Swaps execute normally without any hookData. - vanillaSwap: false — Correct.
beforeSwapReturnsDeltaandafterSwapReturnsDeltaare both true; the hook extracts a real fee from swap input/output and mints it to aCreatorFeeSharecontract, materially changing swap economics. - swapAccess: "allowlist" — Correct.
_beforeSwapcalls_officialPool, which reverts withUnauthorizedPoolunless the pool was previously registered inpoolSnapshotby the factory. Unregistered pools cannot be swapped.
Metadata
- verifiedSource: true — Confirmed by
source_meta.json(verified: true). - chainId: 4663 — Matches
chains.jsonfor "robinhood". - name: "PumpV4Hook" — Matches the Solidity contract name and
source_meta.jsoncontractName. - description — All claims are substantiated by source logic: factory gating in
_beforeInitialize(sender == factory), fixed 2% WETH-side fee in_beforeSwap/_afterSwap, fee routing toCreatorFeeSharevia_depositFeeClaim, permanent liquidity lock (_beforeRemoveLiquidityalways reverts withLiquidityLocked), exact-output disabled (amountSpecified >= 0revert in both swap hooks). No promotional or unsubstantiated language.
All fields verified. Approving.
|
Entry looks great and the flags check out. One request: our submitted description was rejected on length and the replacement dropped the product attribution. Could the description be swapped for this version (497 chars)? |
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 factory-gated launch-pool hook that charges a fixed 2% WETH-side fee on every swap, routing fees to a per-pool CreatorFeeShare contract. Only factory-registered pools may initialize or swap; initial liquidity is permanently locked via beforeRemoveLiquidity revert; exact-output swaps are disabled.
Flags
Properties
Warnings
Closes #1081