Skip to content
Open
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
24 changes: 24 additions & 0 deletions lib/util/hooksAddressesAllowlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,23 @@ export const LIMIT_ORDER_HOOKS_ADDRESS_ON_BASE = '0x9d11f9505ca92f4b6983c1285d1a
// example pool: https://app.uniswap.org/explore/pools/unichain/0x348860e4565d7e3eb53af800a8931b1465a7540cdb5fa7f4dfd1e4d0bb2aa7f8
export const PANOPTIC_ORACLE_HOOK_ON_UNICHAIN = '0x79330fe369c32a03e3b8516aff35b44706e39080'

// example pool: https://app.uniswap.org/explore/pools/base/0x40d496321728c117bfe36498138a44dd4bfe54777093250cdf17095ebf11537e
export const PUBHOUSE_HOOK_ON_BASE = '0x4ab61D774B170D0610FdcC5559AAe2c356c600C8'

// example pool: https://app.uniswap.org/explore/pools/ethereum/0xbdb0f9c31367485f85e691f638345f3de673a78effaff71ce34bc7ff1d54fddc
export const PUNKSTRATEGY_HOOK_ON_MAINNET = '0xfAaad5B731F52cDc9746F2414c823eca9B06E844'
// example pool: https://app.uniswap.org/explore/pools/ethereum/0xdaa6a16445812d9661eab80de42d8298417d5533b5a7cc4b9efc4a387413a4e1
export const CHIMPSTRATEGY_HOOK_ON_MAINNET = '0xbd15e4d324f8d02479a5ff53b52ef4048a79e444'
// example pool: https://app.uniswap.org/explore/pools/ethereum/0x134060a0672f5df29449673c9b2de0dc0beed4cd5354e532f801f0a3258906f8
export const GOBSTRATEGY_HOOK_ON_MAINNET = '0xd6a45df0c82c9a686ab1e58fb28d8fc0cf106444'
// example pool: https://app.uniswap.org/explore/pools/ethereum/0x29aceb9aea1d8f4f9ee40dfffb7e46285d69cd4e9b8999c08da265f27fd0f9a8
export const BIRBSTRATEGY_HOOK_ON_MAINNET = '0xe3c63a9813ac03be0e8618b627cb8170cfa468c4'
// example pool: https://app.uniswap.org/explore/pools/ethereum/0xb0214c79008d1d71816166fbe17c01884386ccfc5560ce8b3cbb7a15dba93dce
export const SQUIGGLESTRATEGY_HOOK_ON_MAINNET = '0x5d8a61fa2ced43eeabffc00c85f705e3e08c28c4'

// example pool: https://app.uniswap.org/explore/pools/ethereum/0xeea2c1344c876f4c8d7545cba9ed8b199e124d6dc3e2063e3f90ba94e7b53093
export const ENSWHEEL_HOOK_ON_MAINNET = '0xf13BdAFB90c79F2201e2cE42010c8ef75FEDE8C4'

// 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.
export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } = {
Expand All @@ -101,6 +118,12 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
BUNNI_HOOKS_ADDRESS_v1_2_1,
WETH_HOOKS_ADDRESS_ON_MAINNET,
CLANKER_STATIC_FEE_HOOKS_ADDRESS_ON_MAINNET,
PUNKSTRATEGY_HOOK_ON_MAINNET,
CHIMPSTRATEGY_HOOK_ON_MAINNET,
GOBSTRATEGY_HOOK_ON_MAINNET,
BIRBSTRATEGY_HOOK_ON_MAINNET,
SQUIGGLESTRATEGY_HOOK_ON_MAINNET,
ENSWHEEL_HOOK_ON_MAINNET,
],
[ChainId.GOERLI]: [ADDRESS_ZERO],
[ChainId.SEPOLIA]: [ADDRESS_ZERO, extraHooksAddressesOnSepolia],
Expand Down Expand Up @@ -170,6 +193,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
ZORA_POST_HOOK_ON_BASE_v2_2,
ZORA_POST_HOOK_ON_BASE_v2_2_1,
ZORA_POST_HOOK_ON_BASE_v2_3_0,
PUBHOUSE_HOOK_ON_BASE,
],
[ChainId.ZORA]: [ADDRESS_ZERO],
[ChainId.ZORA_SEPOLIA]: [ADDRESS_ZERO],
Expand Down