Skip to content

Commit

Permalink
Merge pull request #621 from DefiLlama/cronos-dexs
Browse files Browse the repository at this point in the history
croswap
  • Loading branch information
dtmkeng committed Jul 14, 2023
2 parents 8d007eb + 8d124d0 commit 6f85c2a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dexs/croswap/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// https://arb1-graph.croswap.com/subgraphs/name/croswap/croswap-v2
// https://graph.croswap.com/subgraphs/name/croswap/croswap-v2

import { CHAIN } from "../../helpers/chains";
import { univ2Adapter } from "../../helpers/getUniSubgraphVolume";

const adapters = univ2Adapter({
[CHAIN.CRONOS]: "https://graph.croswap.com/subgraphs/name/croswap/croswap-v2",
// [CHAIN.ARBITRUM]: "https://arb1-graph.croswap.com/subgraphs/name/croswap/croswap-v2"
}, {
factoriesName: "uniswapFactories",
dayData: "uniswapDayData"
});

adapters.adapter.cronos.start = async () => 1664409600;
export default adapters;

0 comments on commit 6f85c2a

Please sign in to comment.