Skip to content

Commit

Permalink
sushi
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Sep 12, 2024
1 parent 18e31b8 commit 5b933b4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dexs/sushiswap/v3.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as sdk from "@defillama/sdk";
import { Chain } from "@defillama/sdk/build/general";
import { CHAIN } from "../../helpers/chains";
import { getGraphDimensions } from "../../helpers/getUniSubgraph";
import { getGraphDimensions2 } from "../../helpers/getUniSubgraph";

const endpointsV3 = {
// [CHAIN.ARBITRUM_NOVA]: 'https://subgraphs.sushi.com/subgraphs/name/sushi-v3/v3-arbitrum-nova',
Expand All @@ -23,16 +23,12 @@ const endpointsV3 = {
[CHAIN.BLAST]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-blast/gn",
}

const v3Graphs = getGraphDimensions({
const v3Graphs = getGraphDimensions2({
graphUrls: endpointsV3,
totalVolume: {
factory: "factories",
field: "totalVolumeUSD",
},
dailyVolume: {
factory: "uniswapDayData",
field: "volumeUSD",
},
feesPercent: {
type: "fees",
ProtocolRevenue: 0,
Expand Down

0 comments on commit 5b933b4

Please sign in to comment.