Skip to content

Commit

Permalink
add swapsicle-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 19, 2024
1 parent 43e7125 commit f6ab1ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dexs/swapsicle-v2/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { CHAIN } from "../../helpers/chains";
import { univ2Adapter } from "../../helpers/getUniSubgraphVolume";

const adapters = univ2Adapter({
[CHAIN.MANTLE]: "https://subgraph-api.mantle.xyz/subgraphs/name/cryptoalgebra/analytics",
[CHAIN.TELOS]: "https://telos.subgraph.swapsicle.io/subgraphs/name/cryptoalgebra/analytics"
}, {
factoriesName: "factories",
dayData: "algebraDayData",
dailyVolume: "volumeUSD",
totalVolume: "totalVolumeUSD",
});

adapters.adapter[CHAIN.MANTLE].start = 1697155200;
adapters.adapter[CHAIN.TELOS].start = 1698105600;
export default adapters;

0 comments on commit f6ab1ad

Please sign in to comment.