diff --git a/src/explorer/LaneManagerDetail.vue b/src/explorer/LaneManagerDetail.vue new file mode 100644 index 0000000..8570021 --- /dev/null +++ b/src/explorer/LaneManagerDetail.vue @@ -0,0 +1,495 @@ + + + + + diff --git a/src/explorer/NetworkStats.vue b/src/explorer/NetworkStats.vue index b3145e1..b301c60 100644 --- a/src/explorer/NetworkStats.vue +++ b/src/explorer/NetworkStats.vue @@ -351,7 +351,7 @@ const handleValidatorLeave = () => {
@@ -383,17 +383,20 @@ const handleValidatorLeave = () => {
Validator Balances & Data Dissemination
-
+ + +

{{ cluster.name }}

-
@@ -427,10 +430,51 @@ const handleValidatorLeave = () => { }}
-
+
+ + +
+
+ +
+
+ {{ validator.slice(0, 10) }}...{{ validator.slice(-6) }} +
+
+ Disseminated: {{ formatBytes(stakingState?.fees.balances[validator]?.cumul_size || 0) }} +
+
+
+
+
+
+
+ Balance: + {{ formatNumber(stakingState?.fees.balances[validator]?.balance || 0) }} HYL +
+
+ Stake: + {{ formatNumber(stakingState.stakes[validator] || 0) }} +
+
+
+
+
Loading staking data...
diff --git a/src/main.ts b/src/main.ts index 98ac870..9a0c5b3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,6 +12,7 @@ import Proofs from "./explorer/Proofs.vue"; import NetworkStats from "./explorer/NetworkStats.vue"; import Dashboard from "./explorer/Dashboard.vue"; import Address from "./explorer/Address.vue"; +import LaneManagerDetail from "./explorer/LaneManagerDetail.vue"; const routes = [ { path: "/", component: Home, name: "Home" }, @@ -60,6 +61,11 @@ const routes = [ component: Address, name: "Address", }, + { + path: "/lane-manager/:lane_manager_id", + component: LaneManagerDetail, + name: "LaneManagerDetail", + }, ]; const router = createRouter({