[bugfixes] change threshold to LTV (#370)

This commit is contained in:
Bob van der Helm 2023-08-14 22:25:27 -03:00 committed by GitHub
parent 5e075ae69f
commit 4c18575b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ export default function MarketDetails({ data, type }: Props) {
const details: Detail[] = useMemo(() => { const details: Detail[] = useMemo(() => {
const isDollar = displayCurrencySymbol === '$' const isDollar = displayCurrencySymbol === '$'
function getLendingMarketDetails() { function getLendingMarketDetails() {
return [ return [
{ {
@ -53,7 +54,7 @@ export default function MarketDetails({ data, type }: Props) {
{ {
amount: marketLiquidationThreshold * 100, amount: marketLiquidationThreshold * 100,
options: { minDecimals: 2, maxDecimals: 2, suffix: '%' }, options: { minDecimals: 2, maxDecimals: 2, suffix: '%' },
title: 'Liquidation Threshold', title: 'Liquidation LTV',
}, },
{ {
amount: getConversionRate(asset.denom).toNumber(), amount: getConversionRate(asset.denom).toNumber(),