Skip to content

Commit

Permalink
add volume for hiveswap v3
Browse files Browse the repository at this point in the history
  • Loading branch information
neoiss committed Feb 8, 2024
1 parent a20ad44 commit 963604b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions dexs/hiveswap-v3/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import {univ2Adapter} from "../../helpers/getUniSubgraphVolume";
import {CHAIN} from "../../helpers/chains";

const endpoints = {
[CHAIN.MAP]: "https://graph.mapprotocol.io/subgraphs/name/hiveswap/exchange-v3",
};

const adapter = univ2Adapter(
endpoints,
{
factoriesName: "factories",
dayData: "pancakeDayData",
dailyVolume: "volumeUSD"
});

adapter.adapter.map.start = 1706585489;

export default adapter

0 comments on commit 963604b

Please sign in to comment.