From ec4d3fdd54dbcf2cd26bbe83472d8f992d49fc5c Mon Sep 17 00:00:00 2001 From: allush Date: Wed, 23 Aug 2023 19:33:12 +0100 Subject: [PATCH 1/2] add supporting linea, mantle, base + synthesis on telos --- src/adapters/symbiosis/contracts.ts | 14 +++++++++++++- src/adapters/symbiosis/index.ts | 3 +++ src/data/bridgeNetworkData.ts | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/adapters/symbiosis/contracts.ts b/src/adapters/symbiosis/contracts.ts index ddfeba6d..9f683b53 100644 --- a/src/adapters/symbiosis/contracts.ts +++ b/src/adapters/symbiosis/contracts.ts @@ -17,7 +17,7 @@ export const contracts = { }, telos: { portal: "0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8", - synthesis: null, + synthesis: "0x1a039cE63AE35a67Bf0E9F6DbFaE969639D59eC8", }, kava: { portal: "0x292fC50e4eB66C3f6514b9E402dBc25961824D62", @@ -51,4 +51,16 @@ export const contracts = { portal: "0x292fC50e4eB66C3f6514b9E402dBc25961824D62", synthesis: null, }, + linea: { + portal: "0x292fC50e4eB66C3f6514b9E402dBc25961824D62", + synthesis: null, + }, + base: { + portal: "0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4", + synthesis: null, + }, + mantle: { + portal: "0x292fC50e4eB66C3f6514b9E402dBc25961824D62", + synthesis: null, + }, } as const; \ No newline at end of file diff --git a/src/adapters/symbiosis/index.ts b/src/adapters/symbiosis/index.ts index 116fbaf4..fd8a8d7d 100644 --- a/src/adapters/symbiosis/index.ts +++ b/src/adapters/symbiosis/index.ts @@ -49,6 +49,9 @@ const adapter: BridgeAdapter = { optimism: constructParams("optimism"), "arbitrum nova": constructParams("arbitrum_nova"), "polygon zkevm": constructParams("polygon_zkevm"), + "linea": constructParams("linea"), + "base": constructParams("base"), + "mantle": constructParams("mantle"), }; export default adapter; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index 5d2cc13f..3658329d 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -424,6 +424,9 @@ export default [ "Arbitrum Nova", "Optimism", "Polygon zkEVM", + "Linea", + "Base", + "Mantle" ], chainMapping: { avalanche: "avax", // this is needed temporarily, need to fix and remove From 7bbb4d5498e69931f2f0e932f9da7253817c330d Mon Sep 17 00:00:00 2001 From: allush Date: Wed, 23 Aug 2023 19:43:57 +0100 Subject: [PATCH 2/2] fix keys --- src/adapters/symbiosis/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/adapters/symbiosis/index.ts b/src/adapters/symbiosis/index.ts index fd8a8d7d..c8c67d4f 100644 --- a/src/adapters/symbiosis/index.ts +++ b/src/adapters/symbiosis/index.ts @@ -49,9 +49,9 @@ const adapter: BridgeAdapter = { optimism: constructParams("optimism"), "arbitrum nova": constructParams("arbitrum_nova"), "polygon zkevm": constructParams("polygon_zkevm"), - "linea": constructParams("linea"), - "base": constructParams("base"), - "mantle": constructParams("mantle"), + linea: constructParams("linea"), + base: constructParams("base"), + mantle: constructParams("mantle"), }; export default adapter;