import React from 'react' import {Cristal} from "react-cristal"; class State extends React.Component { constructor(props) { super(props) this.state = {Balance: -2, State: {}} } async componentDidMount() { const tipset = await this.props.client.call("Filecoin.ChainHead", []) // TODO: from props const actstate = await this.props.client.call('Filecoin.StateReadState', [this.props.actor, tipset]) this.setState(actstate) } render() { const content =