Skip to content

Commit f109b18

Browse files
authored
feat: allowlist arrakis private hooks (#1331)
1 parent 9c7772c commit f109b18

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/util/hooksAddressesAllowlist.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ export const GPO_HOOKS = '0x6cabe2fd9fb60c5afcab7de732b0a224fc382eec'
189189
// example pool: https://app.uniswap.org/explore/pools/base/0xe6b8b2f7320759927c826e663ba1a77eaf8156bad1422234d5282c17c5e8f637
190190
export const GPX_HOOKS = '0x4519e2b040ff1b64fa03abe2aef0bc99d7cceaa8'
191191

192+
// example pool: https://app.uniswap.org/explore/pools/base/0x20aab1b33d63b7d6fc95deed43dfdf986a23a2d82857025533d2c18e2fef9e4b
193+
export const ARRAKIS_PRIVATE_HOOK_ON_BASE = '0xf9527fb5a34ac6fbc579e4fbc3bf292ed57d4880'
194+
// example pool: https://app.uniswap.org/explore/pools/ethereum/0x8679ef619b4ae7a464f8c208df1c49f294df41a237671d98882b50554c20a5c8
195+
export const ARRAKIS_PRIVATE_HOOK_ON_MAINNET = '0xf9527fb5a34ac6fbc579e4fbc3bf292ed57d4880'
196+
192197
// we do not allow v4 pools with non-zero hook address to be routed through in the initial v4 launch.
193198
// this is the ultimate safeguard in the routing subgraph pool cron job.
194199
export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } = {
@@ -219,6 +224,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
219224
RING_FEW_WSTETH_HOOK_ON_MAINNET,
220225
MEME_STRATEGY_HOOK_ON_MAINNET,
221226
TOKEN_FLOW_TAX_HOOK_ON_MAINNET,
227+
ARRAKIS_PRIVATE_HOOK_ON_MAINNET,
222228
],
223229
[ChainId.GOERLI]: [ADDRESS_ZERO],
224230
[ChainId.SEPOLIA]: [ADDRESS_ZERO, extraHooksAddressesOnSepolia, FEY_ON_SEPOLIA],
@@ -293,6 +299,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
293299
ARTACLE_INDEX_TOKEN_HOOK_ON_BASE,
294300
GPO_HOOKS,
295301
GPX_HOOKS,
302+
ARRAKIS_PRIVATE_HOOK_ON_BASE,
296303
],
297304
[ChainId.ZORA]: [ADDRESS_ZERO],
298305
[ChainId.ZORA_SEPOLIA]: [ADDRESS_ZERO],

0 commit comments

Comments
 (0)