Skip to content

Add Friar hook on robinhood#1080

Merged
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0x5e6b0bbc811705b8d8234e9914c0507243fb1080
Jul 16, 2026
Merged

Add Friar hook on robinhood#1080
Ponx merged 1 commit into
mainfrom
hooks/robinhood/0x5e6b0bbc811705b8d8234e9914c0507243fb1080

Conversation

@hooklist-generator

Copy link
Copy Markdown
Contributor

Summary

Volatility-responsive dynamic LP fee hook using the Liquidity Book volatility-accumulator model. Sets per-swap LP fees based on recent price movement — low base fee in calm markets that surges with volatility and decays over configurable windows. No owner, no upgradeability; all parameters are immutable.

Flags

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

Properties

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

Warnings

  • Submitter did not provide a name. Using AI-derived "Friar".
  • Submitter-proposed description rejected: contains unverifiable comparison claims to an external contract address and an external GitHub URL. Using AI-generated description.

Closes #1078

@vercel

vercel Bot commented Jul 15, 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 Jul 15, 2026 3:44pm

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/robinhood/0x5e6b0bbc811705b8d8234e9914c0507243fb1080.json

Address Flags

Address suffix 0x1080 = 4224 = 0b01_0000_1000_0000:

  • Bit 12 → afterInitialize: true
  • Bit 7 → beforeSwap: true
  • All other 12 bits → false ✓

Matches both the hook file and the source's getHookPermissions().

Chain / Metadata

  • chain: "robinhood"chainId: 4663 matches chains.json
  • verifiedSource: true confirmed by source_meta.json ("verified": true) ✓
  • name: "Friar" matches contractName in source meta and the NatSpec @title
  • description accurately describes the Liquidity Book volatility-accumulator fee model; no promotional/audit/endorsement language ✓

Properties

Property Claimed Verdict
dynamicFee true ✓ — beforeSwap returns fee | LPFeeLibrary.OVERRIDE_FEE_FLAG
upgradeable false ✓ — no proxy, no admin, all constructor params are immutable
requiresCustomSwapData false ✓ — bytes calldata hookData in beforeSwap is never read
vanillaSwap false ✓ — required because dynamicFee is true
swapAccess "none" ✓ — beforeSwap only has onlyPoolManager; no user-level access control

All values are correct. Approving.

@Ponx
Ponx merged commit 604c046 into main Jul 16, 2026
7 checks passed
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: Friar Dynamic Fee Hook (calm)

1 participant