{
    "Function": "_swapTokens",
    "File": "contracts/v3/strategies/BaseStrategy.sol",
    "Parent Contracts": [
        "contracts/v3/interfaces/IStrategy.sol"
    ],
    "High-Level Calls": [
        "ISwap"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _swapTokens(\n        address _input,\n        address _output,\n        uint256 _amount,\n        uint256 _expected\n    )\n        internal\n    {\n        address[] memory path = new address[](2);\n        path[0] = _input;\n        path[1] = _output;\n        router.swapExactTokensForTokens(\n            _amount,\n            _expected,\n            path,\n            address(this),\n            // The deadline is a hardcoded value that is far in the future.\n            1e10\n        );\n    }"
}