Skip to content

Commit

Permalink
zebra
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Sep 16, 2024
1 parent 3e6db54 commit f91a216
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dexs/zebra-v2/index.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@

// https://api.studio.thegraph.com/query/55584/v3_scroll/version/latest
import { univ2Adapter } from "../../helpers/getUniSubgraphVolume";
import { univ2Adapter2 } from "../../helpers/getUniSubgraphVolume";
import { CHAIN } from "../../helpers/chains";

const endpoints = {
[CHAIN.SCROLL]: "https://api.studio.thegraph.com/query/55584/v3_scroll/version/latest",
};

const adapter = univ2Adapter(endpoints, {
const adapter = univ2Adapter2(endpoints, {
factoriesName: "factories",
dayData: "uniswapDayData",
dailyVolume: "volumeUSD",
totalVolume: "totalVolumeUSD",
dailyVolumeTimestampField: "date",
});

adapter.adapter.scroll.start = 1700697600
Expand Down

0 comments on commit f91a216

Please sign in to comment.