From 7aebbf9e323df6c78fcb4d03adf989bec19ad40e Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Mon, 29 Sep 2025 16:38:05 -0700 Subject: [PATCH] feat: allowlist arrakis hook --- bin/stacks/routing-caching-stack.ts | 2 +- lib/util/hooksAddressesAllowlist.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/stacks/routing-caching-stack.ts b/bin/stacks/routing-caching-stack.ts index 694b98c797..5f4c4b4c60 100644 --- a/bin/stacks/routing-caching-stack.ts +++ b/bin/stacks/routing-caching-stack.ts @@ -133,7 +133,7 @@ export class RoutingCachingStack extends cdk.NestedStack { layers: [lambdaLayerVersion], tracing: aws_lambda.Tracing.ACTIVE, environment: { - VERSION: '2', + VERSION: '3', POOL_CACHE_BUCKET: this.poolCacheBucket.bucketName, POOL_CACHE_BUCKET_3: this.poolCacheBucket3.bucketName, POOL_CACHE_GZIP_KEY: this.poolCacheGzipKey, diff --git a/lib/util/hooksAddressesAllowlist.ts b/lib/util/hooksAddressesAllowlist.ts index c7e9526f58..757792f80f 100644 --- a/lib/util/hooksAddressesAllowlist.ts +++ b/lib/util/hooksAddressesAllowlist.ts @@ -31,6 +31,9 @@ export const CLANKER_STATIC_FEE_HOOKS_ADDRESS_ON_ARBITRUM = '0xf7ac669593d2d9d01 export const CLANKER_DYNAMIC_FEE_HOOKS_ADDRESS_ON_UNICHAIN = '0x9b37a43422d7bbd4c8b231be11e50ad1ace828cc' export const CLANKER_STATIC_FEE_HOOKS_ADDRESS_ON_UNICHAIN = '0xbc6e5abda425309c2534bc2bc92562f5419ce8cc' +// https://linear.app/uniswap/issue/ROUTE-664/allowlist-arrakis-hook +export const ARRAKIS_HOOKS_ADDRESS_ON_BASE = '0x67abe5e9e6fe05371d3ce0800f912a9c7654c880' + export const WETH_HOOKS_ADDRESS_ON_OP_MAINNET = '0x480dafdb4d6092ef3217595b75784ec54b52e888' export const WETH_HOOKS_ADDRESS_ON_UNICHAIN = '0x730b109bad65152c67ecc94eb8b0968603dba888' export const WETH_HOOKS_ADDRESS_ON_BASE = '0xb08211d57032dd10b1974d4b876851a7f7596888' @@ -151,6 +154,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array } = ZORA_POST_HOOK_ON_BASE_v1_1_2, ZORA_POST_HOOK_ON_BASE_v2_2, ZORA_POST_HOOK_ON_BASE_v2_2_1, + ARRAKIS_HOOKS_ADDRESS_ON_BASE, ], [ChainId.ZORA]: [ADDRESS_ZERO], [ChainId.ZORA_SEPOLIA]: [ADDRESS_ZERO],