Skip to content

Add ProofLaunchHook hook on robinhood - #10542

Merged
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0x83b1a8f2ffcd2e9898ffe55fe53444943200c8cc
Oct 12, 2026
Merged

Ponx merged 1 commit into
mainfrom
hooks/robinhood/0x83b1a8f2ffcd2e9898ffe55fe53444943200c8cc

Conversation

@hooklist-generator

Copy link
Copy Markdown
Contributor

Summary

Launch hook for token launches with phase-gated trading (Execution phase is vault-only, Public phase is open), ETH-denominated buy/sell taxes that decay linearly from configurable start rates (capped at 10% buy / 15% sell) to resting rates (capped at 2.5%/2.5%), a cumulative max-wallet buy cap that ramps up during early public trading, and liquidity gating that blocks all third-party LP operations.

Flags

Flag Value
beforeInitialize false
afterInitialize false
beforeAddLiquidity true
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 name. Using AI-derived "ProofLaunchHook".
  • Submitter-proposed description rejected: contains unverifiable claims (LP NFT burning to dead address) and marketing rationale not substantiated by the source code. Using AI-generated description.

Closes #10541

@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/0x83b1a8f2ffcd2e9898ffe55fe53444943200c8cc.json

Address Flags

Decoded lowest 14 bits of 0x...c8cc: 0xC8CC & 0x3FFF = 0x08CC = 0b00_1000_1100_1100

All 14 flag bits match the hook file and are confirmed by getHookPermissions() in the source:

  • beforeAddLiquidity (bit 11) = true ✓
  • beforeSwap (bit 7) = true ✓
  • afterSwap (bit 6) = true ✓
  • beforeSwapReturnsDelta (bit 3) = true ✓
  • afterSwapReturnsDelta (bit 2) = true ✓
  • All others = false ✓

Properties

  • dynamicFee: false ✓ — beforeSwap always returns 0 as the fee override; taxes are collected via poolManager.mint() claim tokens, not via LP fee mechanism. No call to updateDynamicLPFee().
  • upgradeable: false ✓ — All external dependencies (poolManager, launchManager, vault, feeSplitter) are immutable. No proxy pattern, no delegatecall to mutable addresses, no SELFDESTRUCT.
  • requiresCustomSwapData: false ✓ — Source comment explicitly states "hookData is never read at all." Both beforeSwap and afterSwap accept bytes calldata but ignore it entirely.
  • vanillaSwap: false ✓ — Correct; beforeSwapReturnsDelta and afterSwapReturnsDelta are both true, and the hook actively collects ETH taxes by returning non-zero deltas.
  • swapAccess: "governance" ✓ — Swap access is gated by a Phase enum state variable (launches[id].phase), transitioned by the vault admin via setPhase(). This matches the "governance" classification (a boolean/enum flag set by an owner/admin controlling whether trading is open).

Metadata

  • verifiedSource: true ✓ — Confirmed by source_meta.json ("verified": true).
  • chainId: 4663 ✓ — Matches chains.json entry for robinhood.
  • name: "ProofLaunchHook" ✓ — Matches the Solidity contract name and source_meta.json.
  • description ✓ — Every technical claim is substantiated:
    • Phase-gated trading (Execution = vault-only, Public = open): confirmed in beforeSwap.
    • ETH-denominated buy/sell taxes decaying linearly: confirmed in _taxBps() linear interpolation.
    • Start rates capped at 10% buy / 15% sell: confirmed by MAX_START_BUY_BPS = 1_000, MAX_START_SELL_BPS = 1_500.
    • Resting rates capped at 2.5%/2.5%: confirmed by MAX_RESTING_BUY_BPS = 250, MAX_RESTING_SELL_BPS = 250.
    • Cumulative max-wallet buy cap ramping up: confirmed by _checkMaxWallet() and _mwBpsNow().
    • Liquidity gating blocking third-party LP: confirmed by beforeAddLiquidity checking IProofLiquidityLock(launchManager).liquidityLock().
    • No audit, safety, or marketing language present.

All checks pass. Approving.

@Ponx
Ponx merged commit 4333267 into main Oct 12, 2026
5 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.

PROOF Token Hook

1 participant