Skip to content

Commit

Permalink
fix: add flaunch eth/fleth autowrap hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Feb 6, 2025
1 parent 4ceb66a commit 9984853
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 9984853

Please sign in to comment.