Skip to content

Commit

Permalink
Merge pull request #1952 from h2-finance-dev/master
Browse files Browse the repository at this point in the history
add h2-finance & h2-finance-v3
  • Loading branch information
dtmkeng authored Oct 3, 2024
2 parents 09026ca + 32fbc66 commit db22ed5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dexs/h2-finance-v3/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { univ2Adapter2 } from "../../helpers/getUniSubgraphVolume";
import { CHAIN } from "../../helpers/chains";

const adapter = univ2Adapter2({
[CHAIN.CRONOS_ZKEVM]: "https://api.goldsky.com/api/public/project_clwrfupe2elf301wlhnd7bvva/subgraphs/h2-exchange-v3-cronos-zkevm/latest/gn"
},{
factoriesName: "factories",
});

adapter.adapter[CHAIN.CRONOS_ZKEVM].start = 1;

export default adapter
12 changes: 12 additions & 0 deletions dexs/h2-finance/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { univ2Adapter2 } from "../../helpers/getUniSubgraphVolume";
import { CHAIN } from "../../helpers/chains";

const adapter = univ2Adapter2({
[CHAIN.CRONOS_ZKEVM]: "https://api.goldsky.com/api/public/project_clwrfupe2elf301wlhnd7bvva/subgraphs/h2-exchange-v2-cronos-zkevm/latest/gn"
},{
factoriesName: "vvsFactories",
});

adapter.adapter[CHAIN.CRONOS_ZKEVM].start = 1;

export default adapter

0 comments on commit db22ed5

Please sign in to comment.