{
    "Function": "_getPair",
    "File": "src/LBRouter.sol",
    "Parent Contracts": [
        "src/interfaces/ILBRouter.sol"
    ],
    "High-Level Calls": [
        "IJoeFactory"
    ],
    "Internal Calls": [
        "_getLBPairInformation",
        "revert LBRouter__PairNotCreated(address,address,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _getPair(\n        uint256 _binStep,\n        IERC20 _tokenX,\n        IERC20 _tokenY\n    ) private view returns (address _pair) {\n        if (_binStep == 0) {\n            _pair = oldFactory.getPair(address(_tokenX), address(_tokenY));\n            if (_pair == address(0)) revert LBRouter__PairNotCreated(address(_tokenX), address(_tokenY), _binStep);\n        } else _pair = address(_getLBPairInformation(_tokenX, _tokenY, _binStep));\n    }"
}