Skip to content

Commit

Permalink
add more subgraphs for sushiswap
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Apr 11, 2024
1 parent 1ee7259 commit de96ce6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dexs/sushiswap/classic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const endpointsClassic = {
// [CHAIN.MOONBEAM]: 'https://api.thegraph.com/subgraphs/name/sushiswap/exchange-moonbeam',
[CHAIN.BOBA]: 'https://api.thegraph.com/subgraphs/name/sushi-v2/sushiswap-boba',
[CHAIN.FUSE]: 'https://api.thegraph.com/subgraphs/name/sushiswap/exchange-fuse',
[CHAIN.CORE]: 'https://thegraph.coredao.org/subgraphs/name/sushi-v2/sushiswap-core',
[CHAIN.BLAST]: 'https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/sushiswap-blast/gn',
};

const VOLUME_FIELD = "volumeUSD";
Expand Down
5 changes: 3 additions & 2 deletions dexs/sushiswap/v3.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Chain } from "@defillama/sdk/build/general";
import { CHAIN } from "../../helpers/chains";
import { getGraphDimensions } from "../../helpers/getUniSubgraph";
import { Adapter, SimpleAdapter } from "../../adapters/types";

const endpointsV3 = {
[CHAIN.ARBITRUM_NOVA]: 'https://subgraphs.sushi.com/subgraphs/name/sushi-v3/v3-arbitrum-nova',
Expand All @@ -18,7 +17,9 @@ const endpointsV3 = {
[CHAIN.POLYGON]: 'https://api.thegraph.com/subgraphs/name/sushi-v3/v3-polygon',
[CHAIN.POLYGON_ZKEVM]: 'https://api.studio.thegraph.com/query/32073/v3-polygon-zkevm/v0.0.2',
[CHAIN.THUNDERCORE]: 'https://graph-node.thundercore.com/subgraphs/name/sushi-v3/v3-thundercore',
[CHAIN.BASE]: "https://api.studio.thegraph.com/query/32073/v3-base/v0.0.1"
[CHAIN.BASE]: "https://api.studio.thegraph.com/query/32073/v3-base/v0.0.1",
[CHAIN.CORE]: "https://thegraph.coredao.org/subgraphs/name/sushi-v3/v3-core",
[CHAIN.BLAST]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-blast/gn",
}

const v3Graphs = getGraphDimensions({
Expand Down

0 comments on commit de96ce6

Please sign in to comment.