{
    "Function": "setFeesParametersOnPair",
    "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 setFeesParametersOnPair(\n        IERC20 _tokenX,\n        IERC20 _tokenY,\n        uint16 _binStep,\n        uint16 _baseFactor,\n        uint16 _filterPeriod,\n        uint16 _decayPeriod,\n        uint16 _reductionFactor,\n        uint24 _variableFeeControl,\n        uint16 _protocolShare,\n        uint24 _maxVolatilityAccumulated\n    ) external override onlyOwner {\n        ILBPair _LBPair = _getLBPairInformation(_tokenX, _tokenY, _binStep).LBPair;\n\n        if (address(_LBPair) == address(0)) revert LBFactory__LBPairNotCreated(_tokenX, _tokenY, _binStep);\n\n        bytes32 _packedFeeParameters = _getPackedFeeParameters(\n            _binStep,\n            _baseFactor,\n            _filterPeriod,\n            _decayPeriod,\n            _reductionFactor,\n            _variableFeeControl,\n            _protocolShare,\n            _maxVolatilityAccumulated\n        );\n\n        _LBPair.setFeesParameters(_packedFeeParameters);\n\n        emit FeeParametersSet(\n            msg.sender,\n            _LBPair,\n            _binStep,\n            _baseFactor,\n            _filterPeriod,\n            _decayPeriod,\n            _reductionFactor,\n            _variableFeeControl,\n            _protocolShare,\n            _maxVolatilityAccumulated\n        );\n    }"
}