Skip to content
You are reading the development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: October 8, 2021

StrategyAPI

This interface is here for the keeper bot to use.

Functions

name

  function name(
  ) external returns (string)

vault

  function vault(
  ) external returns (address)

want

  function want(
  ) external returns (address)

apiVersion

  function apiVersion(
  ) external returns (string)

keeper

  function keeper(
  ) external returns (address)

isActive

  function isActive(
  ) external returns (bool)

delegatedAssets

  function delegatedAssets(
  ) external returns (uint256)

estimatedTotalAssets

  function estimatedTotalAssets(
  ) external returns (uint256)

tendTrigger

  function tendTrigger(
  ) external returns (bool)

tend

  function tend(
  ) external

harvestTrigger

  function harvestTrigger(
  ) external returns (bool)

harvest

  function harvest(
  ) external

Events

Harvested

  event Harvested(
  )
Questions or feedback? You can discuss issues and obtain free support on Yearn Vaults chat channel.
For SushiSwap community support, join the Discord Server None