Skip to content

Commit

Permalink
fix moonwell-artemis feesa
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Nov 5, 2023
1 parent e6b36e2 commit b5dbe32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fees/moonwell-artemis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const graphs = (graphUrls: ChainEndpoints) => {

const graphRes = await request(graphUrls[chain], graphQuery);

const dailyFee = new BigNumber(graphRes.financialsDailySnapshot.dailyTotalRevenueUSD);
const dailyRev = new BigNumber(graphRes.financialsDailySnapshot.dailyProtocolSideRevenueUSD);
const dailyFee = new BigNumber(graphRes.financialsDailySnapshot?.dailyTotalRevenueUSD || 0);
const dailyRev = new BigNumber(graphRes.financialsDailySnapshot?.dailyProtocolSideRevenueUSD || 0);

return {
timestamp,
Expand Down

0 comments on commit b5dbe32

Please sign in to comment.