Skip to content

Commit

Permalink
fix chain not work
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed May 12, 2024
1 parent 1714d2a commit 187a01b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions dexs/spookyswap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { FANTOM } = require("../../helpers/chains");
const endpoints = {
[FANTOM]: "https://api.thegraph.com/subgraphs/name/eerieeight/spookyswap",
[CHAIN.EON]: "https://eon-graph.horizenlabs.io/subgraphs/name/0xALUKARD/spookyswap-eon",
[CHAIN.BITTORRENT]: "https://subgraph.spook.fi/subgraphs/name/eerieeight/spooky-swap-new"
// [CHAIN.BITTORRENT]: "https://subgraph.spook.fi/subgraphs/name/eerieeight/spooky-swap-new"
};

const graphs = getChainVolumeWithGasToken({
Expand All @@ -21,7 +21,7 @@ const graphs = getChainVolumeWithGasToken({
const graphsV3 = getChainVolume({
graphUrls: {
[CHAIN.EON]: endpoints[CHAIN.EON],
[CHAIN.BITTORRENT]: endpoints[CHAIN.BITTORRENT]
// [CHAIN.BITTORRENT]: endpoints[CHAIN.BITTORRENT]
},
dailyVolume: {
factory: "uniswapDayData",
Expand All @@ -47,10 +47,10 @@ const adapter: SimpleAdapter = {
fetch: graphsV3(CHAIN.EON),
start: 1698969600
},
[CHAIN.BITTORRENT]: {
fetch: graphsV3(CHAIN.BITTORRENT),
start: 23534368
},
// [CHAIN.BITTORRENT]: {
// fetch: graphsV3(CHAIN.BITTORRENT),
// start: 23534368
// },
},
};

Expand Down
2 changes: 1 addition & 1 deletion dexs/sushiswap/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CHAIN } from "../../helpers/chains";
import { getGraphDimensions } from "../../helpers/getUniSubgraph";

const endpointsV3 = {
[CHAIN.ARBITRUM_NOVA]: 'https://subgraphs.sushi.com/subgraphs/name/sushi-v3/v3-arbitrum-nova',
// [CHAIN.ARBITRUM_NOVA]: 'https://subgraphs.sushi.com/subgraphs/name/sushi-v3/v3-arbitrum-nova',
[CHAIN.ARBITRUM]: 'https://api.thegraph.com/subgraphs/name/sushi-v3/v3-arbitrum',
[CHAIN.AVAX]: 'https://api.thegraph.com/subgraphs/name/sushi-v3/v3-avalanche',
[CHAIN.BSC]: 'https://api.thegraph.com/subgraphs/name/sushi-v3/v3-bsc',
Expand Down

0 comments on commit 187a01b

Please sign in to comment.