IAlgebraLimitVirtualPool

Functions

desiredEndTimestamp

function desiredEndTimestamp() external view returns (uint32) view external

Returns:

NameTypeDescription
[0]uint32

desiredStartTimestamp

function desiredStartTimestamp() external view returns (uint32) view external

Returns:

NameTypeDescription
[0]uint32

isFinished

function isFinished() external view returns (bool) view external

Returns:

NameTypeDescription
[0]bool

finish

function finish() external returns (bool wasFinished, uint32 activeTime) external

Finishes incentive if it wasn't Developer note: This function is called by a AlgebraLimitFarming when someone calls #exitFarming() after the end timestamp

Returns:

NameTypeDescription
wasFinishedboolWas incentive finished before this call or not
activeTimeuint32The summary amount of seconds inside active positions