Skip to content

Add PumpV4Hook hook on robinhood#1082

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

Add PumpV4Hook hook on robinhood#1082
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0x14bcc18fdb0e7a427122b9c2f1a40ff7d63eaacc

Conversation

@hooklist-generator

Copy link
Copy Markdown
Contributor

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

Flag Value
beforeInitialize true
afterInitialize false
beforeAddLiquidity true
afterAddLiquidity false
beforeRemoveLiquidity true
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 allowlist

Warnings

  • Submitter-proposed name "PumpV4Hook (EasyA Kickstart)" rejected: the "(EasyA Kickstart)" suffix references an external brand not present in the verified Solidity source. Using "PumpV4Hook".
  • Submitter-proposed description rejected: exceeds 500-character limit (698 chars). Using AI-generated description.

Closes #1081

@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 12:29pm

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/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 to updateDynamicLPFee, and _beforeSwap always returns 0 for the fee override slot.
  • upgradeable: false — Correct. factory, positionManager, and weth are all immutable. No proxy patterns, no delegatecall, no mutable implementation storage. source_meta.json confirms proxy: false.
  • requiresCustomSwapData: false — Correct. _beforeSwap accepts hookData but leaves it unnamed and unused. Swaps execute normally without any hookData.
  • vanillaSwap: false — Correct. beforeSwapReturnsDelta and afterSwapReturnsDelta are both true; the hook extracts a real fee from swap input/output and mints it to a CreatorFeeShare contract, materially changing swap economics.
  • swapAccess: "allowlist" — Correct. _beforeSwap calls _officialPool, which reverts with UnauthorizedPool unless the pool was previously registered in poolSnapshot by the factory. Unregistered pools cannot be swapped.

Metadata

  • verifiedSource: true — Confirmed by source_meta.json (verified: true).
  • chainId: 4663 — Matches chains.json for "robinhood".
  • name: "PumpV4Hook" — Matches the Solidity contract name and source_meta.json contractName.
  • description — All claims are substantiated by source logic: factory gating in _beforeInitialize (sender == factory), fixed 2% WETH-side fee in _beforeSwap/_afterSwap, fee routing to CreatorFeeShare via _depositFeeClaim, permanent liquidity lock (_beforeRemoveLiquidity always reverts with LiquidityLocked), exact-output disabled (amountSpecified >= 0 revert in both swap hooks). No promotional or unsubstantiated language.

All fields verified. Approving.

@platonicsocrates

Copy link
Copy Markdown

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)?

Launch-pool fee hook for EasyA Kickstart (kickstart.easya.io), a token launchpad on Robinhood Chain. Only pools registered by the Kickstart factory may initialize or swap; the one-time liquidity seed is permanently locked (removals revert). Charges a fixed 2% fee on the WETH side of every swap via return deltas, minted as ERC-6909 claims to a per-token CreatorFeeShare contract that splits fees 50/50 between token creator and protocol. Exact-output swaps are disabled. Immutable, with no owner.

@Ponx
Ponx merged commit 766c42e 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: PumpV4Hook (EasyA Kickstart) on robinhood

2 participants