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)