Added total deposit balance for smart contract info

This commit is contained in:
sairaj mote 2023-06-12 13:36:04 +05:30
parent 6ad9ef0d98
commit b90d0e22b9

View File

@ -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
}
}