Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix: add borrow liquidity to stats in coslend
Browse files Browse the repository at this point in the history
  • Loading branch information
xdrdak committed Jun 23, 2022
1 parent 761041a commit 5bd47d3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ export class CoslendBorrowContractPositionHelper {
const tertiaryLabel = isNumber(borrowApy) ? `${(borrowApy * 100).toFixed(3)}% APR` : '';
const images = appToken.displayProps.images;
const statsItems = isNumber(borrowApy)
? [{ label: 'Borrow APR', value: buildPercentageDisplayItem(borrowApy) }]
? [
{ label: 'Borrow APR', value: buildPercentageDisplayItem(borrowApy) },
{ label: 'Liquidity', value: buildDollarDisplayItem(borrowLiquidity) },
]
: [];

const contractPosition: ContractPosition<CoslendSupplyTokenDataProps> = {
Expand Down

0 comments on commit 5bd47d3

Please sign in to comment.