IAlgebraIncentiveVirtualPool
Functions
desiredEndTimestamp
desiredEndTimestamp()
external
Returns:
Name | Type | Description |
---|---|---|
[0] | uint32 |
desiredStartTimestamp
desiredStartTimestamp()
external
Returns:
Name | Type | Description |
---|---|---|
[0] | uint32 |
initTimestamp
initTimestamp()
external
Returns:
Name | Type | Description |
---|---|---|
[0] | uint32 |
endTimestamp
endTimestamp()
external
Returns:
Name | Type | Description |
---|---|---|
[0] | uint32 |
finish
finish(uint32,uint32)
external
Name | Type | Description |
---|---|---|
_endTimestamp | uint32 | The timestamp of the exitFarming |
startTime | uint32 | The 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
Name | Type | Description |
---|---|---|
bottomTick | int24 | The bottom tick of a position |
topTick | int24 | The top tick of a position |
Returns:
Name | Type | Description |
---|---|---|
innerSecondsSpentPerLiquidity | uint160 | |
initTime | uint32 | |
endTime | uint32 |