chore: allowlist LONGER hook on Monad - #1413
Open
whatnotbot wants to merge 1 commit into
Open
Conversation
Contributor
Graphite Automations"Request reviewers once CI passes on routing-api repo" took an action on this PR • (09/08/26)3 reviewers were added and 1 assignee was added to this PR based on Siyu Jiang (See-You John)'s automation. |
Author
|
@jsy1218 sorry to ping directly — this is a one-line allowlist addition for a Uniswap v4 hook on Monad, CI is For context: the hook takes a protocol fee via beforeSwap returning a BeforeSwapDelta, so hasSwapPermissions is |
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.
Allowlists the LONGER launchpad hook on Monad (chainId 143).
0x07114b9c40d99fee1672cdce8d3cc6a64d409088AFTER_INITIALIZE,BEFORE_SWAP,BEFORE_SWAP_RETURNS_DELTA(address & 0x3FFF == 0x1088)0x6a9510732404a6693d5a0be38dc71cc601b4ea1d9519c78eb24ca095498d18f3(X / aNVDA)What the hook does
LONGER launches community tokens paired against tokenized equities (Anchored Finance aNVDA and similar). Each launch mints a fixed supply into a single-sided concentrated-liquidity position, so a pool is live and tradeable from the launch transaction with no seed capital in the quote asset.
The hook takes a protocol fee in
beforeSwapas aBeforeSwapDeltaon the specified currency, settled in the same call viapoolManager.mintof ERC-6909 claims. It does not modify the pool's LP fee: the pool is created withlpFee = 0and the hook never callsupdateDynamicLPFee, so swap pricing through the pool is standard constant-product within the position's range plus a fixed 3.00% hook fee. Fees decay linearly from 80% to 3.00% over the first 10 seconds after initialization as an anti-snipe measure, then remain constant.Because
BEFORE_SWAP_RETURNS_DELTAis set,Hook.hasSwapPermissionsis true and the pool is not eligible via the non-allowlisted path inv4HooksPoolsFiltering.ts.Verification on Monad mainnet
0xa17c8bcb…15e90x0D97Dc33264bfC1c226207428A79b26757fb9dc3:0xae50210a…a285.V4Quoter.quoteExactInputSinglepredicted607062210673591176553910out; the fill returned the same value.0xd78fddfb…fad1The quoter agreeing with execution to the wei is the property that matters for routing: the hook's fee function is a single shared code path used by both the preview and the swap, so a quote cannot disagree with a fill.
Notes
The address constant is lower-cased per the convention noted at the top of
hooksAddressesAllowlist.ts.prettier --checkpasses on the modified file.