Skip to content

Commit

Permalink
update slug + chain; remove formatting of tvl/apy
Browse files Browse the repository at this point in the history
  • Loading branch information
mashup-purveyor committed May 7, 2022
1 parent f049f1b commit 64c6408
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const poolsFunction = async () => {
if(parseInt(obj.tvl) > 0)
pools.push({
pool: obj.address,
chain: 'binance',
project: 'Ellipsis Finance',
chain: utils.formatChain('binance'),
project: 'ellipsis-finance',
symbol: obj.assets,
tvlUsd: parseInt(obj.tvl),
apy: parseFloat(parseFloat(obj.totalApr).toFixed(2)),
tvlUsd: parseFloat(obj.tvl),
apy: parseFloat(obj.totalApr),
})

}
Expand Down

0 comments on commit 64c6408

Please sign in to comment.