Add VenaHook hook on base#648
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
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 bysource_meta.json("verified": true)chainId: 8453— matcheschains.jsonforbase✓name: "VenaHook"— matches the on-chain contract namecontract VenaHook✓- No proxy/implementation:
source_meta.jsonconfirms"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/_handleSellmint/burnPickaxeNFTtokens ✓
No audit claims, safety guarantees, or promotional language present.
All fields are correct.
marktoda
left a comment
There was a problem hiding this comment.
Bot review verified. VenaHook on base (0x7db2...4044). Bitmask 0x0044 → afterSwap, afterSwapReturnsDelta. Description length 189/500 prechecked. LGTM.
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
Properties
Warnings
None
Closes #647