{
    "Function": "_ethQty",
    "File": "packages/protocol/contracts/L2/Lib1559Math.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "LibFixedPointMath"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "exp"
    ],
    "Low-Level Calls": [],
    "Code": "function _ethQty(\n        uint256 _gasExcess,\n        uint256 _adjustmentFactor\n    )\n        private\n        pure\n        returns (uint256)\n    {\n        uint256 input = _gasExcess * LibFixedPointMath.SCALING_FACTOR / _adjustmentFactor;\n        if (input > LibFixedPointMath.MAX_EXP_INPUT) {\n            input = LibFixedPointMath.MAX_EXP_INPUT;\n        }\n        return uint256(LibFixedPointMath.exp(int256(input)));\n    }"
}