Skip to content

Add ProofOfTimeHook hook on ethereum - #7134

Merged
Ponx merged 1 commit into
mainfrom
hooks/ethereum/0x0aaf28eb961cb6190a5004fb54e1262d322415cc
Sep 17, 2026
Merged

Ponx merged 1 commit into
mainfrom
hooks/ethereum/0x0aaf28eb961cb6190a5004fb54e1262d322415cc

Conversation

@hooklist-generator

Copy link
Copy Markdown
Contributor

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

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

Properties

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

Warnings

  • Submitter did not provide a name. Using AI-derived "ProofOfTimeHook".
  • Submitter did not provide a description. Using AI-generated description.

Closes #7120

@vercel

vercel Bot commented Sep 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
hooklist Ready Ready Preview Sep 16, 2026 9:16pm UTC

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/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: _beforeSwap returns 0 for the fee slot and there is no call to poolManager.updateDynamicLPFee(). Correct.
  • upgradeable=false: No proxy pattern, no delegatecall to a mutable address, timeToken is immutable. source_meta.json confirms proxy: false. Correct.
  • requiresCustomSwapData=false: hookData is only consumed by _resolveOwner, which falls back to sender when hookData.length < 32. Swaps function correctly with empty hookData. Correct.
  • vanillaSwap=false: beforeSwapReturnsDelta and afterSwapReturnsDelta are both true; the hook intercepts and redirects tax from swap amounts. Per spec, must be false. Correct.
  • swapAccess="governance": _beforeSwap reverts with NotLaunched when launchTimestamp[poolId] == 0. That timestamp is set exclusively by the owner via setLaunch() — a classic owner-controlled boolean gate. Correctly classified as "governance".

Metadata

  • verifiedSource: true — confirmed by source_meta.json.
  • chainId: 1 — matches ethereum in chains.json.
  • name: "ProofOfTimeHook" — exact on-chain contract name.
  • description — all technical claims are substantiated: time-weighted LP rewards via _settle/_accrueGlobal; 10-minute LAUNCH_WINDOW anti-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 to taxTreasury. No audit claims or marketing language.

All fields verified. ✓

@Ponx Ponx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Bot review verified; bitmask/flags/properties check out. LGTM.

@Ponx
Ponx merged commit aabee07 into main Sep 17, 2026
7 checks passed
@Ponx
Ponx deleted the hooks/ethereum/0x0aaf28eb961cb6190a5004fb54e1262d322415cc branch September 17, 2026 00:14
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: 0x0aaf28eb961cb6190a5004fb54e1262d322415cc on ethereum

1 participant