Commit de6104a
committed
fix(wallet): fetch activeTranscoderCount and delegatorsCount from subgraph
getProtocol() was hardcoding activeTranscoderCount: 0 and
delegatorsCount: 0 instead of querying them from the subgraph.
The Explore Overview cards showed "0" and "—" for these values.
Also added inflationChange, paused fields and fixed participationRate
to multiply by 100 (matching Express backend percentage format).
Made-with: Cursor1 parent 59ef7e1 commit de6104a
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | | - | |
103 | | - | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments