diff --git a/dexs/glowswap/index.ts b/dexs/glowswap/index.ts index 0b00555f69..f8897221cc 100644 --- a/dexs/glowswap/index.ts +++ b/dexs/glowswap/index.ts @@ -1,16 +1,16 @@ import { SimpleAdapter } from "../../adapters/types" import { httpGet } from "../../utils/fetchURL" -const fetch = async (timestamp: number) => { +const fetch = async () => { const url = "https://api.glowswap.io/v1/analytics" const response = await httpGet(url) const dailyVolume = response.data.volUSD.day; return { dailyVolume, - timestamp } } const adapter: SimpleAdapter = { + version: 2, adapter: { bsquared: { fetch,