> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v1.9/v1.9-tokenomics/limitvirtualpool.md).

# LimitVirtualPool

## Variables

### bool isFinished

### uint32 desiredEndTimestamp immutable

### uint32 desiredStartTimestamp immutable

## Functions

### constructor

`constructor(address _farmingCenterAddress, address _farmingAddress, address _pool, uint32 _desiredStartTimestamp, uint32 _desiredEndTimestamp) public` public

| Name                    | Type    | Description |
| ----------------------- | ------- | ----------- |
| \_farmingCenterAddress  | address |             |
| \_farmingAddress        | address |             |
| \_pool                  | address |             |
| \_desiredStartTimestamp | uint32  |             |
| \_desiredEndTimestamp   | uint32  |             |

### 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:**

| Name        | Type   | Description                                           |
| ----------- | ------ | ----------------------------------------------------- |
| wasFinished | bool   | Was incentive finished before this call or not        |
| activeTime  | uint32 | The summary amount of seconds inside active positions |
