YearnUSDCeLenderStrategy

Overview

The YearnUSDCeLenderStrategy contract is a simple pass-through strategy that inherits from BaseYearnV3Strategy to supply USDCe directly into a Yearn V3 Vault for lending. It provides minimal customization with unlimited trading size.

Constants

No additional constants are defined in this contract.

State Variables

No additional state variables beyond those inherited from BaseYearnV3Strategy.

Functions

Initialization Functions

initialize

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

Initializes the strategy with Yearn V3 components.

Parameters:

  • _vault: MaxApy vault address

  • _keepers: Array of keeper addresses

  • _strategyName: Name of the strategy

  • _strategist: Strategist address

  • _yVault: Yearn V3 vault address

Key Features:

  • Approves unlimited spending for Yearn vault

  • Sets unlimited maximum trade size

  • Inherits all core functionality from BaseYearnV3Strategy

Last updated