From dd4c3296c636e600f5ea93fda026866c69835090 Mon Sep 17 00:00:00 2001 From: nova577metaverse Date: Tue, 18 Jun 2024 10:57:30 +0800 Subject: [PATCH] feat: add chains --- src/adapters/orbiter/index.ts | 5 ++++- src/data/bridgeNetworkData.ts | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/adapters/orbiter/index.ts b/src/adapters/orbiter/index.ts index 5c6bea22..92cb0bd0 100644 --- a/src/adapters/orbiter/index.ts +++ b/src/adapters/orbiter/index.ts @@ -120,7 +120,7 @@ const adapter: BridgeAdapter = { blast: constructParams("blast"), polygon: constructParams("polygon"), scroll: constructParams("scroll"), - // mode: constructParams("mode"), no etherscan + mode: constructParams("mode"), manta: constructParams("manta"), "arbitrum nova": constructParams("arbitrum_nova"), "polygon zkevm": constructParams("polygon_zkevm"), @@ -134,5 +134,8 @@ const adapter: BridgeAdapter = { mantle: constructParams("mantle"), bouncebit: constructParams("bouncebit-mainnet"), zkfair: constructParams("zkfair"), + bsquared: constructParams("b2-mainnet"), + avalanche: constructParams("avax"), + fantom: constructParams("fantom"), }; export default adapter; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index 7b392cd3..709245b2 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -1105,7 +1105,7 @@ export default [ "Arbitrum Nova", "Scroll", "Manta", - // "Mode", + "Mode", "zkSync Era", "Polygon zkEVM", "Merlin", @@ -1116,7 +1116,8 @@ export default [ "Bouncebit", "Mantle", "Zkfair", - "opBNB" + "opBNB", + "fantom", ], chainMapping: { "arbitrum nova": "arbitrum_nova", @@ -1124,6 +1125,8 @@ export default [ "polygon zkevm": "polygon_zkevm", "btr": "bitlayer", "xlayer": "X Layer", + bsquared: "b2-mainnet", + avalanche: "avax", }, }, {