Add ProofOfTimeHook hook on ethereum - #7134
Merged
Ponx merged 1 commit intoSep 17, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Review: hooks/ethereum/0x0aaf28eb961cb6190a5004fb54e1262d322415cc.json
Address Flags
Address 0x0aaf28eb961cb6190a5004fb54e1262d322415cc — lowest 14 bits of 0x15cc = 5580 = bits 12, 10, 8, 7, 6, 3, 2 set:
| Flag | Expected | File |
|---|---|---|
| beforeInitialize | false | false ✓ |
| afterInitialize | true | true ✓ |
| beforeAddLiquidity | false | false ✓ |
| afterAddLiquidity | true | true ✓ |
| beforeRemoveLiquidity | false | false ✓ |
| afterRemoveLiquidity | true | true ✓ |
| beforeSwap | true | true ✓ |
| afterSwap | true | true ✓ |
| beforeDonate | false | false ✓ |
| afterDonate | false | false ✓ |
| beforeSwapReturnsDelta | true | true ✓ |
| afterSwapReturnsDelta | true | true ✓ |
| afterAddLiquidityReturnsDelta | false | false ✓ |
| afterRemoveLiquidityReturnsDelta | false | false ✓ |
Confirmed against getHookPermissions() in source — exact match.
Properties
- dynamicFee=false:
_beforeSwapreturns0for the fee slot and there is no call topoolManager.updateDynamicLPFee(). Correct. - upgradeable=false: No proxy pattern, no delegatecall to a mutable address,
timeTokenisimmutable.source_meta.jsonconfirmsproxy: false. Correct. - requiresCustomSwapData=false:
hookDatais only consumed by_resolveOwner, which falls back tosenderwhenhookData.length < 32. Swaps function correctly with empty hookData. Correct. - vanillaSwap=false:
beforeSwapReturnsDeltaandafterSwapReturnsDeltaare both true; the hook intercepts and redirects tax from swap amounts. Per spec, must be false. Correct. - swapAccess="governance":
_beforeSwapreverts withNotLaunchedwhenlaunchTimestamp[poolId] == 0. That timestamp is set exclusively by the owner viasetLaunch()— a classic owner-controlled boolean gate. Correctly classified as"governance".
Metadata
verifiedSource: true— confirmed bysource_meta.json.chainId: 1— matches ethereum inchains.json.name: "ProofOfTimeHook"— exact on-chain contract name.description— all technical claims are substantiated: time-weighted LP rewards via_settle/_accrueGlobal; 10-minuteLAUNCH_WINDOWanti-whale (_enforceAntiWhale); tax decaying from 35% (LAUNCH_TAX_BPS) to 2% (STEADY_TAX_BPS) over the first hour (TAX_DECAY_END); collected in the non-protected currency (_payCurrency); sent totaxTreasury. No audit claims or marketing language.
All fields verified. ✓
Ponx
approved these changes
Sep 16, 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/0x0aaf28eb961cb6190a5004fb54e1262d322415cc
branch
September 17, 2026 00:14
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
Uniswap v4 hook that rewards liquidity providers with time-weighted POT token emissions, enforces anti-whale buy caps during a 10-minute launch window, and applies a decaying buy/sell tax (35% to 2% over the first hour) collected in the non-protected currency and sent to a configurable treasury.
Flags
Properties
Warnings
Closes #7120