{
    "Function": "setLBPairIgnored",
    "File": "src/LBFactory.sol",
    "Parent Contracts": [
        "src/interfaces/ILBFactory.sol",
        "src/libraries/PendingOwnable.sol",
        "src/interfaces/IPendingOwnable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function setLBPairIgnored(\n        IERC20 _tokenX,\n        IERC20 _tokenY,\n        uint256 _binStep,\n        bool _ignored\n    ) external override onlyOwner {\n        (IERC20 _tokenA, IERC20 _tokenB) = _sortTokens(_tokenX, _tokenY);\n\n        LBPairInformation memory _LBPairInformation = _LBPairsInfo[_tokenA][_tokenB][_binStep];\n        if (address(_LBPairInformation.LBPair) == address(0)) revert LBFactory__AddressZero();\n\n        if (_LBPairInformation.ignoredForRouting == _ignored) revert LBFactory__LBPairIgnoredIsAlreadyInTheSameState();\n\n        _LBPairsInfo[_tokenA][_tokenB][_binStep].ignoredForRouting = _ignored;\n\n        emit LBPairIgnoredStateChanged(_LBPairInformation.LBPair, _ignored);\n    }"
}