MaxApyHarvester
Overview
Constants
uint256 public constant ADMIN_ROLE = _ROLE_0; // Role for administrative functions
uint256 public constant KEEPER_ROLE = _ROLE_1; // Role for keeper functions
address public constant DEFAULT_HARVESTER = address(0); // Default harvester addressErrors
error AddStrategyFailed(); // Strategy addition failed
error CantReceiveETH(); // Contract cannot receive ETH
error Fallback(); // Fallback function called
error HarvestFailed(); // Harvest operation failed
error NotOwner(); // Caller is not the owner
error MaximumStrategiesReached(); // Maximum strategy limit reachedState Variables
IStrategy strategy; // Reference to the current strategy being processedStructs
Functions
Constructor
Fallback Functions
fallback
receive
Core Functions
batchAllocate
batchHarvest
batchAllocateAndHarvest
Simulation Functions
_simulateBatchAllocateAndHarvest
simulateBatchAllocateAndHarvest
Modifiers
checkRoles
Last updated