> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gains.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# GTokenOpenPnlFeed

*Manages open pnl oracle requests for a gToken vault*

## LINK\_FEE\_BALANCE\_DIVIDER

```solidity theme={null}
uint256 LINK_FEE_BALANCE_DIVIDER
```

## MIN\_ANSWERS

```solidity theme={null}
uint256 MIN_ANSWERS
```

## MIN\_REQUESTS\_START

```solidity theme={null}
uint256 MIN_REQUESTS_START
```

## MAX\_REQUESTS\_START

```solidity theme={null}
uint256 MAX_REQUESTS_START
```

## MIN\_REQUESTS\_EVERY

```solidity theme={null}
uint256 MIN_REQUESTS_EVERY
```

## MAX\_REQUESTS\_EVERY

```solidity theme={null}
uint256 MAX_REQUESTS_EVERY
```

## MIN\_REQUESTS\_COUNT

```solidity theme={null}
uint256 MIN_REQUESTS_COUNT
```

## MAX\_REQUESTS\_COUNT

```solidity theme={null}
uint256 MAX_REQUESTS_COUNT
```

## gToken

```solidity theme={null}
contract IGToken gToken
```

## requestsStart

```solidity theme={null}
uint256 requestsStart
```

## requestsEvery

```solidity theme={null}
uint256 requestsEvery
```

## requestsCount

```solidity theme={null}
uint256 requestsCount
```

## oracles

```solidity theme={null}
address[] oracles
```

## job

```solidity theme={null}
bytes32 job
```

## minAnswers

```solidity theme={null}
uint256 minAnswers
```

## nextEpochValues

```solidity theme={null}
int256[] nextEpochValues
```

## nextEpochValuesRequestCount

```solidity theme={null}
uint256 nextEpochValuesRequestCount
```

## nextEpochValuesLastRequest

```solidity theme={null}
uint256 nextEpochValuesLastRequest
```

## lastRequestId

```solidity theme={null}
uint256 lastRequestId
```

## requestIds

```solidity theme={null}
mapping(bytes32 => uint256) requestIds
```

## requests

```solidity theme={null}
mapping(uint256 => struct IGTokenOpenPnlFeed.Request) requests
```

## requestAnswers

```solidity theme={null}
mapping(uint256 => int256[]) requestAnswers
```

## constructor

```solidity theme={null}
constructor(uint256 _LINK_FEE_BALANCE_DIVIDER, address _linkToken, contract IGToken _gToken, address[] _oracles, bytes32 _job, uint256 _minAnswers) public
```

## onlyGTokenOwner

```solidity theme={null}
modifier onlyGTokenOwner()
```

## onlyGTokenManager

```solidity theme={null}
modifier onlyGTokenManager()
```

## onlyGTokenAdmin

```solidity theme={null}
modifier onlyGTokenAdmin()
```

## updateRequestsStart

```solidity theme={null}
function updateRequestsStart(uint256 newValue) public
```

## updateRequestsEvery

```solidity theme={null}
function updateRequestsEvery(uint256 newValue) public
```

## updateRequestsCount

```solidity theme={null}
function updateRequestsCount(uint256 newValue) public
```

## updateRequestsInfoBatch

```solidity theme={null}
function updateRequestsInfoBatch(uint256 newRequestsStart, uint256 newRequestsEvery, uint256 newRequestsCount) external
```

## updateMinAnswers

```solidity theme={null}
function updateMinAnswers(uint256 newValue) external
```

## updateOracle

```solidity theme={null}
function updateOracle(uint256 _index, address newValue) external
```

## updateOracles

```solidity theme={null}
function updateOracles(address[] newValues) external
```

## updateJob

```solidity theme={null}
function updateJob(bytes32 newValue) external
```

## resetNextEpochValueRequests

```solidity theme={null}
function resetNextEpochValueRequests() external
```

## forceNewEpoch

```solidity theme={null}
function forceNewEpoch() external
```

## newOpenPnlRequestOrEpoch

```solidity theme={null}
function newOpenPnlRequestOrEpoch() external
```

## fulfill

```solidity theme={null}
function fulfill(bytes32 requestId, int256 value) external
```
