YearnAaveV3WETHLenderStrategy
Last updated
The YearnAaveV3WETHLenderStrategy 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 Aave V3 WETH lending vault.
No additional constants defined in this contract.
No additional state variables beyond those inherited from BaseYearnV3Strategy.
function initialize(
IMaxApyVault _vault,
address[] calldata _keepers,
bytes32 _strategyName,
address _strategist,
IYVaultV3 _yVault
) public virtual override initializerInitializes 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