{
    "Function": "initialize",
    "File": "src/LBPair.sol",
    "Parent Contracts": [
        "src/interfaces/ILBPair.sol",
        "src/libraries/ReentrancyGuardUpgradeable.sol",
        "src/LBToken.sol",
        "src/interfaces/ILBToken.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_setFeesParameters",
        "revert LBPair__AddressZero()",
        "__ReentrancyGuard_init",
        "_increaseOracle",
        "onlyFactory",
        "revert LBPair__AlreadyInitialized()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function initialize(\n        IERC20 _tokenX,\n        IERC20 _tokenY,\n        uint24 _activeId,\n        uint16 _sampleLifetime,\n        bytes32 _packedFeeParameters\n    ) external override onlyFactory {\n        if (address(_tokenX) == address(0) || address(_tokenY) == address(0)) revert LBPair__AddressZero();\n        if (address(tokenX) != address(0)) revert LBPair__AlreadyInitialized();\n\n        __ReentrancyGuard_init();\n\n        tokenX = _tokenX;\n        tokenY = _tokenY;\n\n        _pairInformation.activeId = _activeId;\n        _pairInformation.oracleSampleLifetime = _sampleLifetime;\n\n        _setFeesParameters(_packedFeeParameters);\n        _increaseOracle(2);\n    }"
}