+
+
Current Block: {currentBlock}
+
+
+ {_.map(_.filter(stages, x => !x.is_prologue), x => (
+ -
+
+
+ ))}
+
+
+
+
+ {/*
+ * STYLING NOTE: this link appears to have custom BarComponent styling
+ *
+ * https://nivo.rocks/storybook/?path=/story/bar-race-chart--demo
+ *
+ */}
+ {
+ return {
+ id: x.pubkey,
+ value: (x.voteAccount && x.voteAccount.stake) || 0,
+ };
+ })}
+ keys={['value']}
+ colors={{scheme: 'blue_green'}}
+ colorBy="indexValue"
+ />
+
+
+
+
+
+
+
+
+ Stage Duration Blocks
+
+
+
+ TODO
+
+
+
+
+
+
+
+
+ Days Left In Stage
+
+
+
+ TODO
+
+
+
+
+
+
+
+
+ Total SOL in Circulation
+
+
+
+ {totalSupplySOL} SOL
+
+
+
+
+
+
+
+
+ Total Bonded Tokens
+
+
+
+ {stakedSupply + ' Lamports'}
+
+
+
+
+
+
+
+
+ Current Network Inflation Rate
+
+
+
+ TODO
+
+
+
+
+
+
+
+
+ # Active Validators
+
+
+
+ {this.props.nodes.length}
+
+
+
+
+
+
+
+
+ # Inactive Validators
+
+
+
+ TODO
+
+
+
+
+
+
+
+
+ Circulating Supply Staked
+
+
+
+
+ {stakedPercentage}%
+
+
+
+
+
+
+
+
+
+ Active Validators {this.props.nodes.length}
+
+
+
+ See All
+
+
+
+
+
+
+
+ Node Pubkey
+
+
+
+ Vote Pubkey
+
+
+
+
+ Stake
+
+
+
+ Uptime
+
+
+
+
+
+ {_.map(nodes, row => (
+
+
+
+
+
+
+
+ {(row.voteAccount && row.voteAccount.stake) || 0} Lamports
+
+ TODO
+
+ ))}
+
+
+
+
+ );
+ }
+
+ render() {
+ const {nodes} = this.props;
+
+ if (nodes) {
+ return this.renderValidators();
+ }
+
+ return (
+