Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add flaunch eth/fleth autowrap hooks #1000

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/util/hooksAddressesAllowlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ADDRESS_ZERO } from '@uniswap/router-sdk'

export const extraHooksAddressesOnSepolia = '0x0000000000000000000000000000000000000020'
export const FLAUNCH_HOOKS_ADDRESS_ON_BASE = '0x51Bba15255406Cfe7099a42183302640ba7dAFDC'
export const ETH_FLETH_AUTO_WRAP_HOOKS_ADDRESS_ON_BASE = '0x9e433f32bb5481a9ca7dff5b3af74a7ed041a888'

// we do not allow v4 pools with non-zero hook address to be routed through in the initial v4 launch.
// this is the ultimate safeguard in the routing subgraph pool cron job.
Expand All @@ -26,7 +27,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
[ChainId.AVALANCHE]: [ADDRESS_ZERO],
[ChainId.BASE_GOERLI]: [ADDRESS_ZERO],
[ChainId.BASE_SEPOLIA]: [ADDRESS_ZERO],
[ChainId.BASE]: [ADDRESS_ZERO, FLAUNCH_HOOKS_ADDRESS_ON_BASE],
[ChainId.BASE]: [ADDRESS_ZERO, FLAUNCH_HOOKS_ADDRESS_ON_BASE, ETH_FLETH_AUTO_WRAP_HOOKS_ADDRESS_ON_BASE],
[ChainId.ZORA]: [ADDRESS_ZERO],
[ChainId.ZORA_SEPOLIA]: [ADDRESS_ZERO],
[ChainId.ROOTSTOCK]: [ADDRESS_ZERO],
Expand Down