Skip to content

Commit

Permalink
Merge pull request #2193 from FenixProtocol/master
Browse files Browse the repository at this point in the history
fix: add fenix latest subgraph links
  • Loading branch information
0xngmi authored Dec 9, 2024
2 parents b1c4348 + 93409d6 commit 6abac3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions dexs/fenix-finance-v3/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import {
getChainVolume,
} from "../../helpers/getUniSubgraphVolume";
import { getChainVolume } from "../../helpers/getUniSubgraphVolume";

const endpointsAlgebraV3 = {
[CHAIN.BLAST]:
"https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/fenix-v3-dex/ce3738b/gn",
"https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/fenix-v3-dex/latest/gn",
};

const graphsAlgebraV3 = getChainVolume({
Expand All @@ -32,4 +30,3 @@ const adapter: SimpleAdapter = {
};

export default adapter;

4 changes: 1 addition & 3 deletions dexs/fenix-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import {

const endpoints = {
[CHAIN.BLAST]:
"https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/fenix-v2-subgraph/0.0.1/gn",
"https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/fenix-v2-subgraph/latest/gn",
};


const graphs = getChainVolume({
graphUrls: endpoints,
totalVolume: {
Expand All @@ -38,4 +37,3 @@ const adapter: SimpleAdapter = {
};

export default adapter;

0 comments on commit 6abac3a

Please sign in to comment.