File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ type ChainData = {
2626 users : string ;
2727 initialSupply : string ;
2828 maxSupply : string ;
29+ totalSupply : string ;
2930 } ;
3031 errors ?: string [ ] ;
3132} ;
@@ -91,6 +92,7 @@ const Stats = () => {
9192 chainData . data ?. staked && itemsCount ++ ;
9293 chainData . data ?. users && itemsCount ++ ;
9394 chainData . data ?. maxSupply && itemsCount ++ ;
95+ chainData . data ?. totalSupply && itemsCount ++ ;
9496
9597 if ( data ) {
9698 ! data . gas_prices && itemsCount -- ;
@@ -210,6 +212,15 @@ const Stats = () => {
210212 isLoading = { ! isChainDataLoaded }
211213 />
212214 ) }
215+ { chainData . data ?. initialSupply && (
216+ < StatsItem
217+ icon = "token"
218+ title = "Current Supply"
219+ value = { `${ chainData . data . totalSupply } ${ chain . currency . symbol } ` }
220+ _last = { isOdd ? lastItemTouchStyle : undefined }
221+ isLoading = { ! isChainDataLoaded }
222+ />
223+ ) }
213224 { chainData . data ?. users && (
214225 < StatsItem
215226 icon = "wallet"
You can’t perform that action at this time.
0 commit comments