From 583c6988bd8608b94f6af01533b03afcc917c346 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 3 Jun 2023 08:30:27 +0800 Subject: [PATCH] improve validator --- src/modules/[chain]/staking/[validator].vue | 75 +++++++++++++++------ 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue index faee1be2..0520f816 100644 --- a/src/modules/[chain]/staking/[validator].vue +++ b/src/modules/[chain]/staking/[validator].vue @@ -203,22 +203,16 @@ const tipMsg = computed(() => {
Website: - - {{ v.description?.website || '-' }} - + {{ v.description?.website || '-' }} +
@@ -287,7 +281,7 @@ const tipMsg = computed(() => {
-
+

{{ v.min_self_delegation }} {{ staking.params.bond_denom }}

@@ -312,7 +306,7 @@ const tipMsg = computed(() => { class="flex items-center justify-center rounded w-10 h-10" style="border: 1px solid #666" > - +

{{ v.unbonding_height }}

@@ -328,7 +322,8 @@ const tipMsg = computed(() => {
-

{{ format.toDay(v.unbonding_time, 'from') }}

+

{{ format.toDay(v.unbonding_time, 'from') }}

+

-

Unbonding Time
@@ -339,10 +334,10 @@ const tipMsg = computed(() => {
-
+
-
+
Commissions & Rewards
@@ -385,13 +380,20 @@ const tipMsg = computed(() => {
-
+
Addresses
-
Account
+
Account + +
{
-
Operator Address
+
Operator Address +
{{ v.operator_address }}
-
Hex Address
+
Hex Address + +
{{ addresses.hex }}
-
-
Signer Address
+
+
Signer Address + +
{{ addresses.valCons }}
+
+
Consensus Public Key + +
+
{{ v.consensus_pubkey }}
+