Skip to content

Commit

Permalink
add cytoswap
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Oct 15, 2024
1 parent 9e30613 commit 428ea38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dexs/cytoswap/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { CHAIN } from "../../helpers/chains";
import { univ2Adapter } from "../../helpers/getUniSubgraphVolume";

const adapters = univ2Adapter({
[CHAIN.HELA]: "https://subgraph.snapresearch.xyz/subgraphs/name/cytoswap-mainnet",
}, {
factoriesName: "factories",
dayData: "uniswapDayData",
dailyVolume: "volumeUSD",
totalVolume: "totalVolumeUSD",
});

adapters.adapter[CHAIN.HELA].start = 1715299200;
export default adapters;
1 change: 1 addition & 0 deletions helpers/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export enum CHAIN {
BSQUARED = "bsquared",
LISK = "lisk",
MINT = "mint",
HELA = "hela",
}

// Don´t use
Expand Down

0 comments on commit 428ea38

Please sign in to comment.