Add LauncherHook hook on ethereum - #7126
Merged
Ponx merged 1 commit intoSep 17, 2026
Merged
Conversation
|
Deployment failed for project hooklist with the following error: Learn More: https://vercel.com/uniswap?upgradeToPro=build-rate-limit |
Contributor
There was a problem hiding this comment.
Review: hooks/ethereum/0x3192b1ab36d9440f6052efe60b0a563b63b50500.json
Flags
Address 0x...50500 — lowest 14 bits = 0x0500 = 0b0000_0101_0000_0000:
| Bit | Flag | Address | JSON |
|---|---|---|---|
| 10 | afterAddLiquidity | 1 | true ✓ |
| 8 | afterRemoveLiquidity | 1 | true ✓ |
| all others | — | 0 | false ✓ |
Confirmed by the constructor's Hooks.validateHookPermissions call, which hard-codes identical permissions and reverts if the deployed address bits do not match.
Properties
- dynamicFee: false ✓ — No
beforeSwaphook; noupdateDynamicLPFeecall anywhere in the contract. - upgradeable: false ✓ —
poolManagerisimmutable; no proxy pattern, nodelegatecallto a mutable address, noSELFDESTRUCT.source_meta.jsonconfirmsproxy: false. - requiresCustomSwapData: false ✓ — No swap hooks;
hookDatais never inspected during swaps. - vanillaSwap: true ✓ — No swap flags at all; satisfies the "must be true if the hook has no swap flags" rule.
- swapAccess: "none" ✓ — No
beforeSwap/afterSwapcallbacks.
Metadata
- name:
LauncherHookmatches the Etherscan-verified contract name. - chainId: 1 (Ethereum mainnet) is correct.
- verifiedSource:
true, confirmed bysource_meta.json. - description: Accurate. The contract seeds one-sided token liquidity sized as
pctBpsbasis points oftotalSupply()(addLiquidity), holds the LP internally, and allows the creator to withdraw principal plus accrued fees in both currencies viaremoveLiquidity(creator-gated). No promotional, audit, or safety language present.
All checks pass.
Ponx
approved these changes
Sep 17, 2026
Ponx
left a comment
Collaborator
There was a problem hiding this comment.
Bot review verified; bitmask/flags/properties check out. LGTM.
Ponx
deleted the
hooks/ethereum/0x3192b1ab36d9440f6052efe60b0a563b63b50500
branch
September 17, 2026 01:48
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 token launchpad hook that enables creators to initialize ETH/token pools and seed one-sided liquidity from a configurable percentage of the token's total supply. Creators can later withdraw their full position (principal and accrued fees) via creator-gated entry points.
Flags
Properties
Warnings
Closes #7112