> For the complete documentation index, see [llms.txt](https://devs.maxapy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devs.maxapy.io/maxapy-erc4626/strategies/ethereum-usdc/yearn/yearnusdcstrategy.md).

# YearnUSDCStrategy

## Overview

The YearnUSDCStrategy contract is a simple pass-through strategy that supplies USDC directly into a Yearn V2 Vault to earn yield. It inherits from BaseYearnV2Strategy with minimal customization for USDC handling.

## Constants

No additional constants defined in this contract.

## Functions

### Initialization Functions

#### initialize

```solidity
function initialize(
    IMaxApyVault _vault,
    address[] calldata _keepers,
    bytes32 _strategyName,
    address _strategist,
    IYVault _yVault
) public virtual override initializer
```

Initializes the strategy with Yearn V2 components and sets up trading limits.

Parameters:

* `_vault`: MaxApy vault address
* `_keepers`: Array of keeper addresses
* `_strategyName`: Name of the strategy
* `_strategist`: Strategist address
* `_yVault`: Yearn V2 vault address

Key Features:

* Approves unlimited spending for Yearn vault
* Sets minimum trade size to 0.01 USDC
* Sets unlimited maximum trade size
* Inherits all core functionality from BaseYearnV2Strategy
