import { Typography } from '@material-ui/core/' import EthereumAddress from '../../../components/EthereumAddress' import DepositModal from '../../../containers/DepositModal' import type { ReactElement } from 'react' import type { StatusChequebookHook } from '../../../hooks/status' interface Props extends StatusChequebookHook { ethereumAddress?: string } const ChequebookDeployFund = ({ isLoading, chequebookAddress, chequebookBalance, ethereumAddress, }: Props): ReactElement | null => { if (isLoading) return null return (

{chequebookAddress?.chequebookaddress && }

{!(chequebookAddress?.chequebookaddress && chequebookBalance?.totalBalance.toBigNumber.isGreaterThan(0)) && (
Your chequebook is either not deployed or funded. Join{' '} our discord channel, get verified and send a message{' '}
sprinkle {ethereumAddress || ''}
in the
#faucet-request
{' '} channel to get Goerli ETH and Goerli BZZ token.
)}
Chequebook Address
) } export default ChequebookDeployFund