Harvest
  • Harvest Overview
  • Get Started Farming
  • General Info
    • What is Harvest
      • FARM token
      • Communal Harvesting and iFARM
      • Strategy Development
      • Variable Rates of Return - APY %
    • Yield Sources on Harvest - How to Get and Track Them
  • How it works
    • Autopilots
    • How to convert and revert
    • Harvest contracts
      • Vaults
        • Timelocks
      • Strategies
    • Contract Addresses
  • Other
    • Community Apps
    • Translations
      • Official announcements
      • Official announcements (old)
      • Useful articles about Harvest Finance
    • 🎨Media Kit
    • Builders
    • FAQ
    • Coinbase Wallet Quest [Tutorial]
    • Security
      • Bounty Program
      • Risks
      • Audits
      • Incidents
        • fUSDC/fUSDT Economic Attack Oct 26 2020
        • fWETH Revert Failure Sept 18 2020
  • Archive
    • Archived
      • fCASH
        • iFARM and Defi integrations
        • DoHardWork
      • (Old) Getting Started with UNI Pools
      • (Old) Farm with USDC
      • Harvest User Guide
        • How to understand how much you earn
          • Interest rate guide
          • APY Calculation
        • Where to trade FARM
      • Governance
      • FAQ
      • GRAIN token
      • Articles
        • Videos
        • Core Team
        • Podcasts
        • Redmption's Farmers Almanac
      • Merchandise
      • Contests
      • Collabs
      • History
        • History of Strategy
  • legal
    • Terms & Conditions
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. How it works
  2. Harvest contracts

Strategies

PreviousTimelocksNextContract Addresses

Last updated 12 months ago

Was this helpful?

Strategies are a key component in the Harvest machinery that define the ways in which vault funds can be utilized with 3rd party protocols to generate yield.

Because strategies are directly moving user's tokens, they are strictly scrutinized and tested prior to their deployment. Strategies become associated with a vault through a 'timelock' mechanism, meaning that the change is first announced, then a period of time must elapse (currently 12 hours) before the change is made official and the new strategy can access funds.

While the specifics of each strategy may differ based on the farming opportunity being taken advantage of, all strategies use a function called doHardWork() to compound their tokens with the following steps:

  1. Collect reward tokens accumulated by the farmed tokens.

  2. Liquidate the rewards into the farming token.

  3. Reutilize the new tokens in the farming opportunity.

During liquidation, a performance fee (8-15%) is taken from the rewards and used to buy FARM on the market, which is then distributed to those who have staked FARM in Profitsharing.

Whenever doHardWork() is called, the price of each share of the associated vault increases. Most vaults are harvested every 12-48 hours, depending on the liquidity of their associated token. If you notice that a vault has failed to harvest in more than 48 hours, please let a mod know in the Harvest community discord server.

The following is an example of what this 'harvest' transaction via doHardWork() looks like:

https://etherscan.io/tx/0xa96648073820c1b2a9e2427963a439d7ae895661e5ea3c7f8c99604b04832d3b