From c863cffac891e53e77e6075910ed94dbf63f7f5f Mon Sep 17 00:00:00 2001 From: Nicolas BERNARD Date: Tue, 28 May 2024 10:23:45 +0200 Subject: [PATCH 1/2] BEXP-1810 - add missing chains --- src/adapters/rhinofi/index.ts | 18 +++++++++++++++--- src/data/bridgeNetworkData.ts | 13 +++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/adapters/rhinofi/index.ts b/src/adapters/rhinofi/index.ts index c678f4ce..891605cd 100644 --- a/src/adapters/rhinofi/index.ts +++ b/src/adapters/rhinofi/index.ts @@ -12,7 +12,13 @@ export const bridgesAddress = { polygon_zkevm: "0x65a4b8a0927c7fd899aed24356bf83810f7b9a3f", linea: "0xcf68a2721394dcf5dcf66f6265c1819720f24528", manta: "0x2b4553122d960ca98075028d68735cc6b15deeb5", - scroll: "0x87627c7e586441eef9ee3c28b66662e897513f33" + opbnb: "0x2b4553122d960ca98075028d68735cc6b15deeb5", + scroll: "0x87627c7e586441eef9ee3c28b66662e897513f33", + avax: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", + mantle: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", + mode: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", + blast: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", + xlayer: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", } as const; type SupportedChains = keyof typeof bridgesAddress; @@ -80,8 +86,14 @@ const adapter: BridgeAdapter = { "zksync era": constructParams("era"), "polygon zkevm": constructParams("polygon_zkevm"), linea: constructParams("linea"), - scroll: constructParams("scroll") - // 'manta pacific': constructParams('manta') + manta: constructParams("manta"), + opbnb: constructParams("opbnb"), + scroll: constructParams("scroll"), + avalanche: constructParams("avax"), + mantle: constructParams("mantle"), + mode: constructParams("mode"), + blast: constructParams("blast"), + 'x layer': constructParams("xlayer"), }; export default adapter; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index d962c894..c91175d4 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -614,12 +614,25 @@ export default [ "zkSync Era", "Polygon zkEVM", "Linea", + "Manta", + "opBNB", "Scroll", + "Avalanche", + + "Solana", + "Mantle", + "Mode", + + "Blast", + "X Layer", ], chainMapping: { "arbitrum nova": "arbitrum_nova", "zksync era": "era", "polygon zkevm": "polygon_zkevm", + opbnb: "op_bnb", + avalanche: "avax", + "x layer": "xlayer", }, }, { From 99631515b526ae985d4a3f1ff180a91cf49088c0 Mon Sep 17 00:00:00 2001 From: Nicolas BERNARD Date: Thu, 20 Jun 2024 09:23:41 +0200 Subject: [PATCH 2/2] BEXP-1810 - add taiko --- src/adapters/rhinofi/index.ts | 2 ++ src/data/bridgeNetworkData.ts | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/adapters/rhinofi/index.ts b/src/adapters/rhinofi/index.ts index 891605cd..afdced1a 100644 --- a/src/adapters/rhinofi/index.ts +++ b/src/adapters/rhinofi/index.ts @@ -19,6 +19,7 @@ export const bridgesAddress = { mode: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", blast: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", xlayer: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1", + taiko: "0x1df2de291f909baa50c1456c87c71edf9fb199d5", } as const; type SupportedChains = keyof typeof bridgesAddress; @@ -94,6 +95,7 @@ const adapter: BridgeAdapter = { mode: constructParams("mode"), blast: constructParams("blast"), 'x layer': constructParams("xlayer"), + taiko: constructParams("taiko"), }; export default adapter; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index c91175d4..803b691d 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -618,13 +618,12 @@ export default [ "opBNB", "Scroll", "Avalanche", - "Solana", "Mantle", "Mode", - "Blast", "X Layer", + "Taiko", ], chainMapping: { "arbitrum nova": "arbitrum_nova",