Added total deposit balance for smart contract info
This commit is contained in:
parent
6ad9ef0d98
commit
b90d0e22b9
15
index.html
15
index.html
@ -877,7 +877,8 @@
|
||||
totalParticipationAmount,
|
||||
priceType,
|
||||
oracle_address,
|
||||
price
|
||||
price,
|
||||
currentDepositBalance
|
||||
} = obj;
|
||||
console.log(obj)
|
||||
return html`
|
||||
@ -985,6 +986,12 @@
|
||||
<h4>${formatAmount(totalHonorAmount, 'usd')} ${sellingToken}</h4>
|
||||
</div>
|
||||
`: ''}
|
||||
${currentDepositBalance ? html`
|
||||
<div class="flex info-row">
|
||||
<h5 class="label">Total deposit balance </h5>
|
||||
<h4>${formatAmount(currentDepositBalance, 'usd')} ${sellingToken}</h4>
|
||||
</div>
|
||||
`: ''}
|
||||
</div>
|
||||
${userChoices ? html`
|
||||
<h3>Available Choices</h3>
|
||||
@ -1521,7 +1528,8 @@
|
||||
maximumsubscriptionamount,
|
||||
totalHonorAmount,
|
||||
totalParticipationAmount,
|
||||
price
|
||||
price,
|
||||
currentDepositBalance
|
||||
}, contractAddress,
|
||||
contractName
|
||||
} = info
|
||||
@ -1546,7 +1554,8 @@
|
||||
oracle_address,
|
||||
totalHonorAmount,
|
||||
totalParticipationAmount,
|
||||
price
|
||||
price,
|
||||
currentDepositBalance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user