Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed May 8, 2022
1 parent b8f0f5e commit 39a0ffa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/adaptors/pickle/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const axios = require("axios");
const utils = require('../utils');
const pfcore = "https://api.pickle.finance/prod/protocol/pfcore/";

async function apy() {
Expand All @@ -11,9 +12,9 @@ async function apy() {

return current.map(s => ({
pool: s.contract,
chain: s.chain == 'eth' ? 'ethereum' : s.chain,
chain: utils.formatChain(s.chain == 'eth' ? 'ethereum' : s.chain),
project: 'pickle',
symbol: s.depositToken.name,
symbol: utils.formatSymbol(s.depositToken.name),
tvlUsd: s.details.harvestStats.balanceUSD,
apy: aggregateApys(s)
}));
Expand Down

0 comments on commit 39a0ffa

Please sign in to comment.