From 187a01b3fd8668b218963982e383e975713cf962 Mon Sep 17 00:00:00 2001 From: 0xgnek <0xgnek@gmail.com> Date: Sun, 12 May 2024 16:57:25 +0000 Subject: [PATCH] fix chain not work --- dexs/spookyswap/index.ts | 12 ++++++------ dexs/sushiswap/v3.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dexs/spookyswap/index.ts b/dexs/spookyswap/index.ts index 6e61d0ca5a..2975c6f059 100644 --- a/dexs/spookyswap/index.ts +++ b/dexs/spookyswap/index.ts @@ -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({ @@ -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", @@ -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 + // }, }, }; diff --git a/dexs/sushiswap/v3.ts b/dexs/sushiswap/v3.ts index fa3fbfc08b..6edb1bd3e5 100644 --- a/dexs/sushiswap/v3.ts +++ b/dexs/sushiswap/v3.ts @@ -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',