Loading...
) : (
-
+
{getTokenSymbol(coin.denom)}
+
+ {formatCurrency(getTokenTotalUSDValue(coin.amount, coin.denom))}
+
+
+ {BigNumber(coin.amount)
+ .div(10 ** getTokenDecimals(coin.denom))
+ .toNumber()
+ .toLocaleString(undefined, {
+ maximumFractionDigits: getTokenDecimals(coin.denom),
+ })}
+
+
-
+
+ ))}
+ {positionsData?.debts.map((coin) => (
+
+
{getTokenSymbol(coin.denom)}
+
+ -{formatCurrency(getTokenTotalUSDValue(coin.amount, coin.denom))}
+
+
+ -
+ {BigNumber(coin.amount)
+ .div(10 ** getTokenDecimals(coin.denom))
+ .toNumber()
+ .toLocaleString(undefined, {
+ maximumFractionDigits: 6,
+ })}
+
+
+ -{(Number(marketsData?.[coin.denom].borrow_rate) * 100).toFixed(1)}%
+
+
+ ))}
+ >
)}