From b90d0e22b9089cfa594525c343c8f6dc2294a96c Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 12 Jun 2023 13:36:04 +0530 Subject: [PATCH] Added total deposit balance for smart contract info --- index.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d3bf4f5..75c48c5 100644 --- a/index.html +++ b/index.html @@ -877,7 +877,8 @@ totalParticipationAmount, priceType, oracle_address, - price + price, + currentDepositBalance } = obj; console.log(obj) return html` @@ -985,6 +986,12 @@

${formatAmount(totalHonorAmount, 'usd')} ${sellingToken}

`: ''} + ${currentDepositBalance ? html` +
+
Total deposit balance
+

${formatAmount(currentDepositBalance, 'usd')} ${sellingToken}

+
+ `: ''} ${userChoices ? html`

Available Choices

@@ -1521,7 +1528,8 @@ maximumsubscriptionamount, totalHonorAmount, totalParticipationAmount, - price + price, + currentDepositBalance }, contractAddress, contractName } = info @@ -1546,7 +1554,8 @@ oracle_address, totalHonorAmount, totalParticipationAmount, - price + price, + currentDepositBalance } }