{
    "Function": "_getGlobalFees",
    "File": "src/LBPair.sol",
    "Parent Contracts": [
        "src/interfaces/ILBPair.sol",
        "src/libraries/ReentrancyGuardUpgradeable.sol",
        "src/LBToken.sol",
        "src/interfaces/ILBToken.sol"
    ],
    "High-Level Calls": [
        "Decoder",
        "Decoder",
        "Decoder",
        "Decoder"
    ],
    "Internal Calls": [
        "sload(uint256)",
        "sload(uint256)"
    ],
    "Library Calls": [
        "decode",
        "decode",
        "decode",
        "decode"
    ],
    "Low-Level Calls": [],
    "Code": "function _getGlobalFees()\n        internal\n        view\n        returns (\n            uint256 feesXTotal,\n            uint256 feesYTotal,\n            uint256 feesXProtocol,\n            uint256 feesYProtocol\n        )\n    {\n        bytes32 _slotX;\n        bytes32 _slotY;\n        assembly {\n            _slotX := sload(add(_pairInformation.slot, 2))\n            _slotY := sload(add(_pairInformation.slot, 3))\n        }\n\n        feesXTotal = _slotX.decode(type(uint128).max, 0);\n        feesYTotal = _slotY.decode(type(uint128).max, 0);\n\n        feesXProtocol = _slotX.decode(type(uint128).max, _OFFSET_PROTOCOL_FEE);\n        feesYProtocol = _slotY.decode(type(uint128).max, _OFFSET_PROTOCOL_FEE);\n    }"
}