Skip to content

Commit

Permalink
Merge pull request DefiLlama#1320 from 0xaaiden/master
Browse files Browse the repository at this point in the history
add btt  to spookyswap
  • Loading branch information
dtmkeng authored Mar 18, 2024
2 parents ca03483 + e3b3a5b commit 45a83e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dexs/spookyswap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +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"
};

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

Expand Down

0 comments on commit 45a83e0

Please sign in to comment.