From deba817806ce4a0814de968716c19b0731d6de9d Mon Sep 17 00:00:00 2001 From: "Alisa | Side.one" Date: Mon, 29 May 2023 16:31:10 +0800 Subject: [PATCH] feat: account value --- src/modules/[chain]/account/[address].vue | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/modules/[chain]/account/[address].vue b/src/modules/[chain]/account/[address].vue index f3687a17..0f7b3033 100644 --- a/src/modules/[chain]/account/[address].vue +++ b/src/modules/[chain]/account/[address].vue @@ -164,7 +164,9 @@ loadAccount(props.address);
{{ format.formatToken(balanceItem) }}
-
≈${{ 0 }}
+
+ ≈${{ format.tokenValue(balanceItem) }} +
{{ format.formatToken(delegationItem?.balance) }}
-
≈${{ 0 }}
+
+ ≈${{ format.tokenValue(delegationItem?.balance) }} +
{{ format.formatToken(rewardItem) }}
-
≈${{ 0 }}
+
≈${{ format.tokenValue(rewardItem) }}
-
≈${{ 0 }}
+
+ ≈${{ + format.tokenValue({ + amount: String(unbondingTotal), + denom: stakingStore.params.bond_denom, + }) + }} +
- {{ v.txhash }} - + {{ v.txhash }} +