From 42eb653eec2fc504d4cc262214a1fb56afcc7d0f Mon Sep 17 00:00:00 2001 From: cryptolei Date: Wed, 13 Dec 2023 21:27:57 +0800 Subject: [PATCH 1/2] [update] fix DLN's id --- src/data/bridgeNetworkData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index 51919cf7..7c12f9d9 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -307,7 +307,7 @@ export default [ }, { - id: 43, + id: 20, displayName: "DLN (Powered by deBridge)", bridgeDbName: "debridgedln", iconLink: "icons:debridgedln", From 29b2d508c26379d61d6ff0f85eb676cc6f621080 Mon Sep 17 00:00:00 2001 From: cryptolei Date: Wed, 13 Dec 2023 21:28:48 +0800 Subject: [PATCH 2/2] [update] remove DLN's withdraws --- src/adapters/debridgedln/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/adapters/debridgedln/index.ts b/src/adapters/debridgedln/index.ts index 850bf42d..c023221d 100644 --- a/src/adapters/debridgedln/index.ts +++ b/src/adapters/debridgedln/index.ts @@ -80,12 +80,12 @@ const constructParams = (chain: SupportedChains) => { mapTokens: { "0x0000000000000000000000000000000000000000": token }, }; - const finalWithdrawParams = { - ...withdrawParams, - mapTokens: { "0x0000000000000000000000000000000000000000": token }, - }; + // const finalWithdrawParams = { + // ...withdrawParams, + // mapTokens: { "0x0000000000000000000000000000000000000000": token }, + // }; - eventParams.push(finalDepositParams, finalWithdrawParams); + eventParams.push(finalDepositParams); return async (fromBlock: number, toBlock: number) => getTxDataFromEVMEventLogs("debridgedln", chain, fromBlock, toBlock, eventParams);