From bd8b45af0735c9e763be183163db003a00312e52 Mon Sep 17 00:00:00 2001 From: abtestingalpha <104046418+abtestingalpha@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:02:32 -0400 Subject: [PATCH] Adds World Chain (#3272) --- packages/sdk-router/src/constants/chainIds.ts | 3 +++ packages/sdk-router/src/constants/medianTime.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/packages/sdk-router/src/constants/chainIds.ts b/packages/sdk-router/src/constants/chainIds.ts index 2a3846c3c7..b3fe066cfe 100644 --- a/packages/sdk-router/src/constants/chainIds.ts +++ b/packages/sdk-router/src/constants/chainIds.ts @@ -6,6 +6,7 @@ export enum SupportedChainId { POLYGON = 137, FANTOM = 250, BOBA = 288, + WORLDCHAIN = 480, METIS = 1088, MOONBEAM = 1284, MOONRIVER = 1285, @@ -29,6 +30,7 @@ export enum SupportedChainId { const UNSUPPORTED_BRIDGE_CHAIN_IDS: number[] = [ SupportedChainId.LINEA, SupportedChainId.SCROLL, + SupportedChainId.WORLDCHAIN, ] /** @@ -62,6 +64,7 @@ export const RFQ_SUPPORTED_CHAIN_IDS: number[] = [ SupportedChainId.ETH, SupportedChainId.OPTIMISM, SupportedChainId.BSC, + SupportedChainId.WORLDCHAIN, SupportedChainId.BASE, SupportedChainId.ARBITRUM, SupportedChainId.LINEA, diff --git a/packages/sdk-router/src/constants/medianTime.ts b/packages/sdk-router/src/constants/medianTime.ts index 08d7cf8cf6..19184d9422 100644 --- a/packages/sdk-router/src/constants/medianTime.ts +++ b/packages/sdk-router/src/constants/medianTime.ts @@ -54,4 +54,5 @@ export const MEDIAN_TIME_RFQ = { [SupportedChainId.LINEA]: 15, [SupportedChainId.BLAST]: 15, [SupportedChainId.SCROLL]: 15, + [SupportedChainId.WORLDCHAIN]: 15, }