Strategy Contracts

Strategy contracts in Olive Finance are designed with stringent controls. Only the associated vaults have the permission to invoke their deposit and withdrawal functions.
The primary role of these contracts is to capture the yield and any associated liquidity incentives from the underlying LP tokens. Once captured, these fees & rewards are then converted back into LP tokens, effectively compounding the yield.
To ensure security and prevent potential front-running attacks, the 'harvest' function within these contracts is triggered either at user deposit action or at unpredictable intervals by designated keepers.