Skip to content

Add VenaHook hook on base#648

Merged
marktoda merged 1 commit into
mainfrom
hooks/base/0x7db23263e461fdfc08cecf03cdfa503391e64044
Jun 11, 2026
Merged

Add VenaHook hook on base#648
marktoda merged 1 commit into
mainfrom
hooks/base/0x7db23263e461fdfc08cecf03cdfa503391e64044

Conversation

@hooklist-generator

Copy link
Copy Markdown

Summary

Custom-accounting Uniswap v4 hook for ETH/VENA on Base. Uses afterSwap return delta (1% output fee), distributes 80% to NFT holders and 20% to treasury, and applies buy/sell NFT game logic.

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 true
afterAddLiquidityReturnsDelta false
afterRemoveLiquidityReturnsDelta false

Properties

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

Warnings

None

Closes #647

@vercel

vercel Bot commented Jun 11, 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 Jun 11, 2026 1:42pm

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/base/0x7db23263e461fdfc08cecf03cdfa503391e64044.json

Address Flags

The contract source explicitly states: CREATE2 address flags: last 14 bits == 0x0044.

Decoded: 0x0044 = 0b00_0000_0100_0100

  • Bit 6 → afterSwap: true
  • Bit 2 → afterSwapReturnsDelta: true
  • All other 12 bits → false

Matches the hook file exactly.

Source Metadata

  • verifiedSource: true — confirmed by source_meta.json ("verified": true)
  • chainId: 8453 — matches chains.json for base
  • name: "VenaHook" — matches the on-chain contract name contract VenaHook
  • No proxy/implementation: source_meta.json confirms "proxy": false

Properties

Property Claimed Verdict
dynamicFee false No updateDynamicLPFee() call and no lpFeeOverride return from beforeSwap (no beforeSwap at all). ✓
upgradeable false No proxy pattern, delegatecall, mutable implementation slot, or SELFDESTRUCT. Key addresses are immutable. ✓
requiresCustomSwapData false _resolveSwapper(hookData) falls back to tx.origin when hookData is empty or malformed. Swaps execute normally without hookData; NFT game effects still apply via tx.origin. ✓
vanillaSwap false afterSwapReturnsDelta is true — the hook takes a 1% fee from the output via poolManager.take() and returns a positive delta. This materially changes swap execution. ✓
swapAccess "none" The afterSwap function only checks msg.sender == address(poolManager) (standard PoolManager guard). No allowlist, governance flag, or temporal gate on swap access. ✓

Description

"Custom-accounting Uniswap v4 hook for ETH/VENA on Base. Uses afterSwap return delta (1% output fee), distributes 80% to NFT holders and 20% to treasury, and applies buy/sell NFT game logic."

All claims are substantiated by source:

  • 1% fee: FEE_DIVISOR = 100
  • 80% to NFT holders: HOLDER_SHARE_BPS = 8000
  • 20% to treasury: TREASURY_BPS = 2000
  • Buy/sell NFT game logic: _handleBuy/_handleSell mint/burn PickaxeNFT tokens ✓

No audit claims, safety guarantees, or promotional language present.

All fields are correct.

@marktoda marktoda 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.

Bot review verified. VenaHook on base (0x7db2...4044). Bitmask 0x0044 → afterSwap, afterSwapReturnsDelta. Description length 189/500 prechecked. LGTM.

@marktoda marktoda merged commit 0651370 into main Jun 11, 2026
7 checks passed
@marktoda marktoda deleted the hooks/base/0x7db23263e461fdfc08cecf03cdfa503391e64044 branch June 11, 2026 20:17
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: VenaHook

1 participant