class EIP1559 {

  public long eip1559GasPool(final long blockNumber, final long gasLimit) {

    guardActivation();
    final long eip1559GasTarget;
    if (blockNumber >= finalForkBlknum) {
      eip1559GasTarget = gasLimit * 2;
    } else {
      eip1559GasTarget =
          (gasLimit / 2)
              + (gasLimit / 2)
                  * (blockNumber - initialForkBlknum)
                  / feeMarket.getMigrationDurationInBlocks();
    }
    return eip1559GasTarget * 2;
  }

  public  EIP1559(final long forkBlockNumber);

}