```\n  if (_seniorVaultWethRewards > state.wethConversionThreshold) {\n      // converts senior tranche share of weth into usdc and deposit into AAVE\n      // Deposit aave vault share to AAVE in usdc\n      uint256 minUsdcAmount = _getTokenPriceInUsdc(state, state.weth).mulDivDown(\n          _seniorVaultWethRewards * (MAX_BPS - state.slippageThresholdSwapEthBps),\n          MAX_BPS * PRICE_PRECISION\n      );\n      // swaps weth into usdc\n      (uint256 aaveUsdcAmount, ) = state._swapToken(\n          address(state.weth),\n          _seniorVaultWethRewards,\n          minUsdcAmount\n      );\n\n      // supplies usdc into AAVE\n      state._executeSupply(address(state.usdc), aaveUsdcAmount);\n\n      // resets senior tranche rewards\n      state.seniorVaultWethRewards = 0;\n```\n