Skip to main content

TestStrategy

Functions

constructor

  function constructor(
) public

name

  function name(
) external returns (string)

_takeFunds

  function _takeFunds(
) public

_toggleReentrancyExploit

  function _toggleReentrancyExploit(
) public

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[])