diff --git a/dexs/MantisSwap/index.ts b/dexs/MantisSwap/index.ts index 4ccb415fef..187a707724 100644 --- a/dexs/MantisSwap/index.ts +++ b/dexs/MantisSwap/index.ts @@ -10,10 +10,8 @@ type PoolData = { const fetch = (chain: string) => async (timestamp: number) => { const from = timestamp - 86400; // 60*60*24 const to = timestamp; - const stats: PoolData = ( - await fetchURL( - `https://api.mantissa.finance/api/pool/stats/volume/${chain}/?from_timestamp=${from}&to_timestamp=${to}` - ) + const stats: PoolData = await fetchURL( + `https://api.mantissa.finance/api/pool/stats/volume/${chain}/?from_timestamp=${from}&to_timestamp=${to}` ); return { totalVolume: `${stats.total_volume}`, @@ -32,6 +30,10 @@ const adapter: SimpleAdapter = { fetch: fetch("1101"), start: 1685355566, }, + [CHAIN.MODE]: { + fetch: fetch("34443"), + start: 1709717650, + }, }, };