From 7c593f63d9ee5d3c02733cdb4f75b094580c0b4b Mon Sep 17 00:00:00 2001 From: igorshelkovenkov Date: Wed, 3 Apr 2024 14:37:30 +0200 Subject: [PATCH] remove volume --- dexs/javsphere/index.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dexs/javsphere/index.ts b/dexs/javsphere/index.ts index ca8574f4c4..d58f0d0189 100644 --- a/dexs/javsphere/index.ts +++ b/dexs/javsphere/index.ts @@ -21,23 +21,21 @@ type DexData = { type StakingData = { totalFees: number, dailyFees: number, - totalVolume: number, - dailyVolume: number, }; const methodology = { Fees: "User pays 0.1% fees on each trade. User pays 10% fee of rewards in dusdstaking.", - Volume: "User buys and sell RWA tokens. User get in and out of dusdstaking.", + Volume: "User buys and sell RWA tokens.", } const fetch = async (timestamp: number) => { const stats: DexData = (await fetchURL(`https://aws-api.javlis.com/api/dtoken/stats`)).data; const statsStaking: StakingData = (await fetchURL(`https://aws-api.javlis.com/api/dusdStaking/stats`)).data; return { - totalVolume: `${stats.volumeTotal + statsStaking.totalVolume}`, + totalVolume: `${stats.volumeTotal}`, totalFees: `${stats.feeTotal + statsStaking.totalFees}`, dailyFees: `${stats.fee24 + statsStaking.dailyFees}`, - dailyVolume: `${stats.volume24 + statsStaking.dailyVolume}`, + dailyVolume: `${stats.volume24}`, timestamp, }; };