diff --git a/api/_constants.ts b/api/_constants.ts index a1cb05615..6cb466a5f 100644 --- a/api/_constants.ts +++ b/api/_constants.ts @@ -156,3 +156,6 @@ export const DEFI_LLAMA_POOL_LOOKUP: Record = { "0x36Be1E97eA98AB43b4dEBf92742517266F5731a3": "8f7b5b8c-09db-45e3-8938-f30115d34672", }; + +export const DEFAULT_SIMULATED_RECIPIENT_ADDRESS = + "0xBb23Cd0210F878Ea4CcA50e9dC307fb0Ed65Cf6B"; diff --git a/api/limits.ts b/api/limits.ts index 57959453b..1916989d9 100644 --- a/api/limits.ts +++ b/api/limits.ts @@ -6,6 +6,7 @@ import { VercelResponse } from "@vercel/node"; import { ethers } from "ethers"; import { BLOCK_TAG_LAG, + DEFAULT_SIMULATED_RECIPIENT_ADDRESS, disabledL1Tokens, TOKEN_SYMBOLS_MAP, } from "./_constants"; @@ -30,7 +31,6 @@ import { HUB_POOL_CHAIN_ID, ENABLED_ROUTES, } from "./_utils"; -import { constants } from "@across-protocol/sdk-v2"; const LimitsQueryParamsSchema = object({ token: validAddress(), @@ -150,7 +150,7 @@ const handler = async ( ethers.BigNumber.from("10").pow(18), computedOriginChainId, Number(destinationChainId), - constants.ZERO_ADDRESS, + DEFAULT_SIMULATED_RECIPIENT_ADDRESS, tokenPriceNative ), hubPool.callStatic.multicall(multicallInput, { blockTag: BLOCK_TAG_LAG }),