Skip to main content

IStrategy

Methods

exit

function exit(uint256 balance) external nonpayable returns (int256 amountAdded)

Parameters

NameTypeDescription
balanceuint256undefined

Returns

NameTypeDescription
amountAddedint256undefined

harvest

function harvest(uint256 balance, address sender) external nonpayable returns (int256 amountAdded)

Parameters

NameTypeDescription
balanceuint256undefined
senderaddressundefined

Returns

NameTypeDescription
amountAddedint256undefined

skim

function skim(uint256 amount) external nonpayable

Parameters

NameTypeDescription
amountuint256undefined

withdraw

function withdraw(uint256 amount) external nonpayable returns (uint256 actualAmount)

Parameters

NameTypeDescription
amountuint256undefined

Returns

NameTypeDescription
actualAmountuint256undefined