Add LimitOrderHook hook on base - #10442
Closed
hooklist-generator[bot] wants to merge 1 commit into
Closed
hooklist-generator[bot] wants to merge 1 commit into
hooklist-generator[bot] wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Review: hooks/base/0x5e178bb3407f80f29f542129853244e7ef409040.json
Address Flags
Address 0x...9040: 0x9040 & 0x3FFF = 0x1040 → bits 12 and 6 are set.
| Flag | Bit | Expected | File |
|---|---|---|---|
| beforeInitialize | 13 | false | false ✓ |
| afterInitialize | 12 | true | true ✓ |
| beforeAddLiquidity | 11 | false | false ✓ |
| afterAddLiquidity | 10 | false | false ✓ |
| beforeRemoveLiquidity | 9 | false | false ✓ |
| afterRemoveLiquidity | 8 | false | false ✓ |
| beforeSwap | 7 | false | false ✓ |
| afterSwap | 6 | true | true ✓ |
| beforeDonate | 5 | false | false ✓ |
| afterDonate | 4 | false | false ✓ |
| beforeSwapReturnsDelta | 3 | false | false ✓ |
| afterSwapReturnsDelta | 2 | false | false ✓ |
| afterAddLiquidityReturnsDelta | 1 | false | false ✓ |
| afterRemoveLiquidityReturnsDelta | 0 | false | false ✓ |
Confirmed by getHookPermissions() in source.
Properties
- dynamicFee: false ✓ — No
beforeSwap, noupdateDynamicLPFee()call anywhere in the contract. - upgradeable: false ✓ —
treasuryisimmutable; no proxy pattern, no delegatecall to mutable targets, no SELFDESTRUCT. - requiresCustomSwapData: false ✓ —
hookDataparameter in_afterSwapis unused; swaps execute correctly with empty hookData. - vanillaSwap: false ✓ —
_afterSwapcallspoolManager.modifyLiquidity()andpoolManager.mint()to fill crossed limit orders, performing non-trivial pool state changes inside the afterSwap callback. - swapAccess: "none" ✓ —
beforeSwapflag is not set, so there is no access control on swaps.
Metadata
- name: "LimitOrderHook" ✓ — Exact contract name from verified source.
- chainId: 8453 ✓ — Matches
basein chains.json. - verifiedSource: true ✓ — Confirmed by source_meta.json.
- description ✓ — Accurately describes the one-tick out-of-range liquidity limit order mechanism. No audit, safety, or marketing language.
All fields are correct.
hooklist-generator
Bot
deleted the
hooks/base/0x5e178bb3407f80f29f542129853244e7ef409040
branch
September 23, 2026 04:59
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
A Uniswap v4 Hook that enables on-chain limit orders on supported liquidity pools.
Users can set a target price, and when the pool price reaches the specified price, the Hook automatically executes the order. This enables users to place limit orders directly on Uniswap v4.
Flags
Properties
Warnings
None
Closes #10441