Add Friar hook on robinhood#1080
Merged
Ponx merged 1 commit intoJul 16, 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/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: 4663matcheschains.json✓verifiedSource: trueconfirmed bysource_meta.json("verified": true) ✓name: "Friar"matchescontractNamein source meta and the NatSpec@title✓descriptionaccurately 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
approved these changes
Jul 16, 2026
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
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
Properties
Warnings
Closes #1078