From ffc8fdd726c4282088a5fe48350372eca1eb987c Mon Sep 17 00:00:00 2001 From: 0xgnek <0xgnek@gmail.com> Date: Tue, 26 Mar 2024 18:57:12 +0000 Subject: [PATCH] fix error adapter --- dexs/fcon-dex/index.ts | 2 +- dexs/horizondex/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dexs/fcon-dex/index.ts b/dexs/fcon-dex/index.ts index 879763fd13..69fa9b8e8a 100644 --- a/dexs/fcon-dex/index.ts +++ b/dexs/fcon-dex/index.ts @@ -31,7 +31,7 @@ const adapter: SimpleAdapter = { adapter: { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.MANTLE]: { - fetch: fetch, + fetch: async (timestamp: number) => {return {timestamp}}, start: 1691280000, }, }, diff --git a/dexs/horizondex/index.ts b/dexs/horizondex/index.ts index 26507eb896..18d8fbc7f4 100644 --- a/dexs/horizondex/index.ts +++ b/dexs/horizondex/index.ts @@ -12,6 +12,7 @@ const adapters = univ2Adapter({ }); adapters.adapter.linea.start = 1689373614; +adapters.adapter.linea.fetch = async (timestamp: number) => { return { timestamp } }; adapters.adapter.base.start = 1690894800; export default adapters;