Skip to content

Add AegisHook hook on monad#663

Closed
hooklist-generator[bot] wants to merge 1 commit into
mainfrom
hooks/monad/0xe449e013004db4a5681e9622ca10c5ba0ea610cc
Closed

Add AegisHook hook on monad#663
hooklist-generator[bot] wants to merge 1 commit into
mainfrom
hooks/monad/0xe449e013004db4a5681e9622ca10c5ba0ea610cc

Conversation

@hooklist-generator

Copy link
Copy Markdown

Summary

A Uniswap v4 hook that applies dynamic fees to swaps via an external DynamicFeeManager, integrates oracle price observations after each swap, and periodically reinvests accumulated hook fees into full-range LP positions via an AegisEngine.

Flags

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

Properties

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

Warnings

  • Submitter-proposed name "Aegis cEngine" rejected: does not match contract name AegisHook; the label "cEngine" is not present in the verified source. Using "AegisHook".
  • Submitter-proposed description rejected: describes the broader AEGIS system rather than the hook's actual on-chain mechanics. Using AI-generated description.

Closes #661

@vercel

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

Request Review

@hooklist-generator hooklist-generator Bot deleted the hooks/monad/0xe449e013004db4a5681e9622ca10c5ba0ea610cc branch June 17, 2026 13:36

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

AegisHook Review — hooks/monad/0xe449e013004db4a5681e9622ca10c5ba0ea610cc.json

Address Flags

Address 0xe449e013004db4a5681e9622ca10c5ba0ea610cc — last 14 bits: 0x10cc = 4300 = 01 0000 1100 1100 binary.

Bit Flag Expected JSON
12 afterInitialize true true ✓
7 beforeSwap true true ✓
6 afterSwap true true ✓
3 beforeSwapReturnsDelta true true ✓
2 afterSwapReturnsDelta true true ✓
all others false false ✓

Confirmed also by getHookPermissions() in the verified source.

Properties

  • dynamicFee: true ✓ — _beforeSwap calls DYNAMIC_FEE_MANAGER.prepareSwap() to get activeFee and returns activeFee | LPFeeLibrary.OVERRIDE_FEE_FLAG, overriding the LP fee dynamically on every swap.
  • upgradeable: false ✓ — source_meta.json confirms proxy: false. All external dependencies (ORACLE_MANAGER, DYNAMIC_FEE_MANAGER, AEGIS_ENGINE, LIMIT_ORDER_MANAGER) are immutable. No delegatecall, mutable implementation slot, or SELFDESTRUCT.
  • requiresCustomSwapData: false ✓ — The hookData parameter in _beforeSwap is unnamed and completely unused. Swaps function correctly with empty hookData.
  • vanillaSwap: false ✓ — Correctly false: dynamicFee is true, and both beforeSwapReturnsDelta and afterSwapReturnsDelta are active (used to charge a hook fee cut from swap input).
  • swapAccess: "none" ✓ — _beforeSwap applies no gating or revert-based access control on swaps. The Pausable modifier only gates _tryReinvest (fee reinvestment), not swap execution itself.

Metadata

  • chainId: 143 ✓ — Matches monad in chains.json.
  • name: "AegisHook" ✓ — Matches the contract name exactly. No promotional or endorsement language.
  • verifiedSource: true ✓ — Confirmed by source_meta.json ("verified": true).
  • description ✓ — All three claims (dynamic fees via DynamicFeeManager, oracle observations after swaps, fee reinvestment into full-range LP via AegisEngine) are substantiated by the source logic in _beforeSwap, _afterSwap, and _tryReinvest respectively. No marketing or audit language.

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: AegisEngine 1.03

0 participants