YearnCompoundV3WETHLenderStrategy
Overview
The YearnCompoundV3WETHLenderStrategy contract is a strategy that supplies WETH into a Yearn Vault to earn yield. It inherits from BaseYearnV3Strategy and provides specific initialization for Yearn's Compound V3 WETH lending vault.
Constants
No additional constants defined in this contract.
State Variables
No additional state variables beyond those inherited from BaseYearnV3Strategy.
Functions
Initialization Functions
initialize
Initializes the strategy with Yearn V3 components and sets up unlimited trading amounts.
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