API reference v1.0
Introduction
periphery
tokenomics
IncentiveVirtualPool

IncentiveVirtualPool

IncentiveVirtualPool

Variables

uint32 initTimestamp

uint32 endTimestamp

uint32 desiredEndTimestamp immutable

uint32 desiredStartTimestamp immutable

Functions

constructor

AlgebraVirtualPoolBase

constructor(address,address,address,uint32,uint32) public

NameTypeDescription
_farmingCenterAddressaddress
_farmingAddressaddress
_pooladdress
_desiredStartTimestampuint32
_desiredEndTimestampuint32

finish

onlyFarming

finish(uint32,uint32) external

NameTypeDescription
_endTimestampuint32The timestamp of the exitFarming
startTimeuint32The timestamp of planned start of the incentive. Used as initTimestamp if there were no swaps through the entire incentive

getInnerSecondsPerLiquidity

getInnerSecondsPerLiquidity(int24,int24) view external

NameTypeDescription
bottomTickint24The bottom tick of a position
topTickint24The top tick of a position

Returns:

NameTypeDescription
innerSecondsSpentPerLiquidityuint160
initTimeuint32
endTimeuint32