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

TestStrategy

Functions

constructor

  function constructor(
  ) public

name

  function name(
  ) external returns (string)

_toggleDelegation

  function _toggleDelegation(
  ) public

delegatedAssets

  function delegatedAssets(
  ) external returns (uint256)

_takeFunds

  function _takeFunds(
  ) public

_toggleReentrancyExploit

  function _toggleReentrancyExploit(
  ) public

_setWant

  function _setWant(
  ) public

ethToWant

  function ethToWant(
  ) public returns (uint256)

estimatedTotalAssets

  function estimatedTotalAssets(
  ) public returns (uint256)

prepareReturn

  function prepareReturn(
  ) internal returns (uint256 _profit, uint256 _loss, uint256 _debtPayment)

adjustPosition

  function adjustPosition(
  ) internal

liquidatePosition

  function liquidatePosition(
  ) internal returns (uint256 _liquidatedAmount, uint256 _loss)

prepareMigration

  function prepareMigration(
  ) internal

protectedTokens

  function protectedTokens(
  ) internal returns (address[])

liquidateAllPositions

  function liquidateAllPositions(
  ) internal returns (uint256 amountFreed)
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