# blockStatus

```solidity
function blockStatus (uint256 _BlockNumber)public view  override returns (uint256){
        if(_BlockNumber < _startBlockNumber){
            _BlockNumber = _startBlockNumber;
        }
        uint256 Stepcount = _BlockNumber.sub(_startBlockNumber).add(4200000);
        uint256 TokenWaterLevel = _K.div(Stepcount);
        return TokenWaterLevel;
    }
```

The parameter is the **block number**, if it is less than 16292444, it is directly determined as the initial value (the initial value is 16292444).

Enter the **block number** and return the **LEC** stock of the mining pool at the current **block number**.

If you don't know how it works, you can come back [here](https://to101380.gitbook.io/minerpunk/document/mining-difficulty) to find out.
