Skip to content

Add ShitGiftHookV2 hook on ethereum#599

Merged
marktoda merged 1 commit into
mainfrom
hooks/ethereum/0xfb78f6600ec9a795f3f7270e05ea0dd371f94040
May 28, 2026
Merged

Add ShitGiftHookV2 hook on ethereum#599
marktoda merged 1 commit into
mainfrom
hooks/ethereum/0xfb78f6600ec9a795f3f7270e05ea0dd371f94040

Conversation

@hooklist-generator
Copy link
Copy Markdown

Summary

An afterSwap hook on a configurable SHIT token pool that queues random ShitVerse art (ERC-20) token drops for qualifying buyers. Drop probability is volume-tiered (0.5%–42%), settled via future blockhash RNG with a 2-block delay and a 1-day per-address cooldown. Art tokens can be deposited permissionlessly by anyone holding valid ShitVerse factory tokens; the Ownable2Step owner can withdraw art tokens.

Flags

Flag Value
beforeInitialize false
afterInitialize false
beforeAddLiquidity false
afterAddLiquidity false
beforeRemoveLiquidity false
afterRemoveLiquidity false
beforeSwap false
afterSwap true
beforeDonate false
afterDonate false
beforeSwapReturnsDelta false
afterSwapReturnsDelta false
afterAddLiquidityReturnsDelta false
afterRemoveLiquidityReturnsDelta false

Properties

Property Value
dynamicFee false
upgradeable false
requiresCustomSwapData false
vanillaSwap false
swapAccess none

Warnings

  • Submitter-proposed description rejected: claim 'canonical ETH/SHIT 1% pool' is not verifiable from source code (POOL_FEE is a constructor argument, not hardcoded). Using AI-generated description.

Closes #598

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hooklist Ready Ready Preview, Comment May 28, 2026 8:04pm

Request Review

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: hooks/ethereum/0xfb78f6600ec9a795f3f7270e05ea0dd371f94040.json

Address Flags

Address 0xfb78f6600ec9a795f3f7270e05ea0dd371f94040 — lower 14 bits: 0x4040 & 0x3FFF = 0x0040 = bit 6afterSwap only.

Matches the flags section exactly. Confirmed by getHookPermissions() in the contract source.

Properties

Property Claimed Verdict
dynamicFee false ✓ No updateDynamicLPFee() call; beforeSwap reverts as unsupported
upgradeable false source_meta.json proxy=false; no delegatecall, no SELFDESTRUCT, no mutable implementation
requiresCustomSwapData false hookData param is ignored entirely in afterSwap
vanillaSwap false afterSwap calls _settleHead() which performs IERC20(art).transfer(tUser, 1 ether) — token transfer inside the hook disqualifies vanilla
swapAccess "none" ✓ Only check is msg.sender != POOL_MANAGER (caller auth, not swap access control); canonical-pool gate silently returns for foreign pools but does not restrict who can swap

Metadata

  • verifiedSource: true — confirmed (source_meta.json: verified: true) ✓
  • chainId: 1 — correct for ethereum ✓
  • name: "ShitGiftHookV2" — matches contractName in source metadata and contract NatSpec/declaration ✓
  • description — all claims verified against source: afterSwap hook on a configurable SHIT pool, ticket queue for art drops, volume tiers (TIER1_BPS=50→0.5% through TIER5_BPS=4200→42%), blockhash RNG with TICKET_DELAY=2, DROP_COOLDOWN=1 days, permissionless deposits gated by factory isValidToken, Ownable2Step owner withdrawal via ownerWithdrawArt. No promotional, audit, or safety language. ✓

All fields are accurate. APPROVE.

Copy link
Copy Markdown
Contributor

@marktoda marktoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bot review verified. ShitGiftHookV2 (ethereum) — afterSwap hook on a SHIT token pool queuing volume-tiered (0.5%–42%) random ShitVerse art-token drops, settled via future-blockhash RNG with 2-block delay + 1-day per-address cooldown; permissionless art deposits, Ownable2Step owner withdrawals. Bitmask 0x0040 → afterSwap only. Description 405 chars (under 500, on the longer side). LGTM.

@marktoda marktoda merged commit c44fc1d into main May 28, 2026
7 checks passed
@marktoda marktoda deleted the hooks/ethereum/0xfb78f6600ec9a795f3f7270e05ea0dd371f94040 branch May 28, 2026 23:51
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: ShitGiftHookV2

1 participant