Add Spectra Launchpad GERRY hook on base#609
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Review: hooks/base/0x4627812f40bdd47c8fa1a4daac8f40bc26ef8040.json
Address Flags ✓
0x...8040 → 0x8040 = bit 6 set → afterSwap = true. All other flag bits are 0. This matches the getHookPermissions() function in the source, which sets only p.afterSwap = true. Correct.
Properties ✓
- dynamicFee: false —
_afterSwapis declaredpureand returns(IHooks.afterSwap.selector, 0). No fee override, noupdateDynamicLPFee(). ✓ - upgradeable: false — No proxy pattern, no
delegatecall, no mutable implementation storage, noSELFDESTRUCT. ✓ - requiresCustomSwapData: false —
_afterSwapignores all parameters including thebytes calldatahookData. ✓ - vanillaSwap: true —
_afterSwapis a pure no-op returning(selector, 0). NFT sync occurs in_afterTokenTransfer(ERC20 callback), but nested swap calls in_maybePoke()are guarded byif (poolManager.isUnlocked()) return;, preventing re-entrancy during a swap. Swap output amounts are not modified. ✓ - swapAccess: "none" — No
beforeSwapflag;afterSwaphas no access control. ✓
Metadata
- chainId: 8453 — Matches
baseinchains.json. ✓ - verifiedSource: true — Confirmed by
source_meta.json("verified": true). ✓ - description — Accurately describes the linear bonding-curve launchpad, graduation into a Uniswap V4 ETH/token pool, ERC-20/NFT mirroring ("facets"), and pro-rata ETH fee distribution to facet holders. ✓
Name ✗
The name field is "Spectra Launchpad GERRY". The word "GERRY" does not appear anywhere in the verified on-chain source (not the contract name, no @title NatSpec, no file paths, no imports). The Etherscan contract name is SpectraLaunch and the NatSpec reads @notice Spectra launchpad token…. "GERRY" appears to be a personal identifier appended by the submitter.
Required fix: The name must be changed to "SpectraLaunch" (the Etherscan contract name) or "Spectra Launchpad" (derived from the NatSpec @notice). The unsubstantiated " GERRY" suffix must be removed.
Summary
Bonding-curve memecoin launchpad that raises ETH along a linear curve, then graduates into a Uniswap V4 ETH/token pool. ERC-20 balances are mirrored as NFTs ("facets"); pool swap fees are harvested and distributed pro-rata to facet holders in ETH.
Flags
Properties
Warnings
Closes #608