diff --git a/src/modules/[chain]/ibc/[connection_id].vue b/src/modules/[chain]/ibc/[connection_id].vue index 8c4f4136..2bd4a7ec 100644 --- a/src/modules/[chain]/ibc/[connection_id].vue +++ b/src/modules/[chain]/ibc/[connection_id].vue @@ -136,7 +136,16 @@ function color(v: string) { {{ v.version }} {{ v.ordering }} - {{ v.state }} +
+ + {{ v.state }} +
diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue index e782db81..ce1fd79d 100644 --- a/src/modules/[chain]/staking/index.vue +++ b/src/modules/[chain]/staking/index.vue @@ -163,112 +163,128 @@ const rank = function (position: number) { {{ list.length }}/{{ staking.params.max_validators }} -
- - - - - # - VALIDATOR - VOTING POWER - 24h CHANGES - COMMISSION - ACTIONS - - - - - - - - {{ i + 1 }} - - - - -
- -
-
- - {{ v.description?.moniker }} - -
- {{ - v.description?.website || v.description?.identity || '-' - }} -
-
- +
+
+ + + + + + + + + + + + + + + - - - - - - + + + - - - - - - - - Top 33% - Top 67% - - + }} + + + + + + + + + + +
#VALIDATORVOTING POWER24h CHANGESCOMMISSIONACTIONS
+ + {{ i + 1 }} + + + + +
+
-
- {{ - format.formatToken( - { - amount: parseInt(v.tokens).toString(), - denom: staking.params.bond_denom, - }, - true, - '0,0' - ) - }} +
+ + {{ v.description?.moniker }} +
{{ - format.calculatePercent( - v.delegator_shares, - staking.totalPower - ) + v.description?.website || v.description?.identity || '-' }}
-
- {{ change24Text(v.consensus_pubkey) }} - Jailed - - {{ - format.formatCommissionRate( - v.commission?.commission_rates?.rate + + +
+
+ {{ + format.formatToken( + { + amount: parseInt(v.tokens).toString(), + denom: staking.params.bond_denom, + }, + true, + '0,0' + ) + }} +
+ {{ + format.calculatePercent( + v.delegator_shares, + staking.totalPower ) - }} -
- {{ 2 }} -
+ {{ change24Text(v.consensus_pubkey) }} + Jailed + + {{ + format.formatCommissionRate( + v.commission?.commission_rates?.rate + ) + }} + + {{ 2 }} +
+
+ +
+
+
+ + Top 33% +
+
+ + Top 67% +
+