{
    "Function": "_harvest",
    "File": "contracts/v3/strategies/NativeStrategyCurve3Crv.sol",
    "Parent Contracts": [
        "contracts/v3/strategies/BaseStrategy.sol",
        "contracts/v3/interfaces/IStrategy.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_deposit",
        "_swapTokens",
        "_payHarvestFees",
        "_addLiquidity",
        "_claimReward",
        "getMostPremium"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _harvest(\n        uint256 _estimatedWETH,\n        uint256 _estimatedYAXIS\n    )\n        internal\n        override\n    {\n        _claimReward();\n        uint256 _remainingWeth = _payHarvestFees(crv, _estimatedWETH, _estimatedYAXIS);\n\n        if (_remainingWeth > 0) {\n            (address _stableCoin,) = getMostPremium(); // stablecoin we want to convert to\n            _swapTokens(weth, _stableCoin, _remainingWeth, 1);\n            _addLiquidity();\n\n            _deposit();\n        }\n    }"
}