From 1fdeb492c5f70b277aedf792b30b19f77bd96ab0 Mon Sep 17 00:00:00 2001 From: Andrew Smirnov Date: Tue, 10 Dec 2024 04:34:43 +0300 Subject: [PATCH 1/2] Add adapters --- src/adapters/eywa/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/adapters/eywa/index.ts b/src/adapters/eywa/index.ts index 8fd6360a..bdb651cd 100644 --- a/src/adapters/eywa/index.ts +++ b/src/adapters/eywa/index.ts @@ -18,6 +18,8 @@ enum Chains { celo = "celo", kava = "kava", fraxtal = "fraxtal", + metis = "metis", + mode = "mode" } const depositPortalEventParams: ContractEventParams = { @@ -156,6 +158,8 @@ const adapter: BridgeAdapter = { [Chains.celo]: constructParams(Chains.celo), [Chains.kava]: constructParams(Chains.kava), [Chains.fraxtal]: constructParams(Chains.fraxtal), + [Chains.metis]: constructParams(Chains.metis), + [Chains.mode]: constructParams(Chains.mode), }; export default adapter; From 3e7e0f81a180a0016e994351d5cf4646f22e24f6 Mon Sep 17 00:00:00 2001 From: Andrew Smirnov Date: Tue, 10 Dec 2024 04:36:17 +0300 Subject: [PATCH 2/2] Add chains to network data --- src/data/bridgeNetworkData.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index 9825b90f..ec37e6d7 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -783,6 +783,8 @@ export default [ "Celo", "Kava", "Fraxtal", + "Metis", + "Mode", ], chainMapping: { avalanche: "avax",