import React from 'react';
import { getEnvironment } from '../util/config-json-helper';
import { Environment, ContractState } from '../util/enum';
function WarningDashboardBanner(props: any) {
// config.js from public folder
const env = getEnvironment();
return (
{
env === Environment.PROD ?
<>
Important: Please note that gZIL minting has concluded as of Block 1483713. No further gZIL will be minted. The Zilliqa staking program will still continue to distribute ZIL for staking rewards.
{
ContractState.IS_PAUSED.toString() === 'true' &&
Attention: We have noticed an issue with the staking contract which is causing a slowdown of the Zilliqa network.
While we are investigating the issue and work on a fix, the staking contract has been paused for a week (starting from May 21, 2021).
Once the staking contract is unpaused, any missed rewards for the paused period will be retroactively disbursed.
All funds are SAFU and we apologize for your inconvenience.
}
> : null
}
);
}
export default WarningDashboardBanner;