Repository navigation
chore: allowlist ephemeral hook on mainnet - #1415
Open
siriusthemaster wants to merge 2 commits into
Open
siriusthemaster wants to merge 2 commits into
siriusthemaster wants to merge 2 commits into
Conversation
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.
chore: allowlist ephemeral hook on mainnet
Hook:
0xb7424b2d72ad941763b198d13a3eb07fc0e768cc(Ethereum mainnet, verified on Etherscan)Pool: ETH / EPH, fee 0, tickSpacing 60, id
0x5a481d3f91304b0e5b1813983178e65806cbf54832eeba60f13c1d28f019d243https://app.uniswap.org/explore/pools/ethereum/0x5a481d3f91304b0e5b1813983178e65806cbf54832eeba60f13c1d28f019d243
Token:
0xc1a5d2a623c44408553fe720570530e1710b9f46What the hook does
beforeInitializeaccepts only the launcher and only ETH/EPH, fee 0, tickSpacing 60.beforeSwap/afterSwapreturn deltas: 40% (0–1 min), 30% (to 10 min), 25% (to 20), 20% (to 30), 15% (to 45), 10% (to 60), then 2% forever. LP fee is 0, so the hook fee is the whole fee.feeBps(sender)returns the current rate.Quoting notes
beforeSwapon the specified ETH amount; exact-input sells and exact-output buys take it inafterSwapon the unspecified ETH amount.beforeSwapfee, the swap reverts withPartialFill()instead of keeping a fee on unswapped ETH. Quotes without a price limit are unaffected.Checklist
HOOKS_ADDRESSES_ALLOWLIST[ChainId.MAINNET]