Skip to main content

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(
)