> ## 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.

# ArrayGetters

*External library for array getters to save bytecode size in facet libraries*

## getTraders

```solidity theme={null}
function getTraders(uint32 _offset, uint32 _limit) public view returns (address[])
```

*Check ITradingStorageUtils interface for documentation*

## getTrades

```solidity theme={null}
function getTrades(address _trader) public view returns (struct ITradingStorage.Trade[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTradesForTraders

```solidity theme={null}
function getAllTradesForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.Trade[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTrades

```solidity theme={null}
function getAllTrades(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.Trade[])
```

*Check ITradingStorageUtils interface for documentation*

## getTradeInfos

```solidity theme={null}
function getTradeInfos(address _trader) public view returns (struct ITradingStorage.TradeInfo[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTradeInfosForTraders

```solidity theme={null}
function getAllTradeInfosForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.TradeInfo[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTradeInfos

```solidity theme={null}
function getAllTradeInfos(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.TradeInfo[])
```

*Check ITradingStorageUtils interface for documentation*

## getPendingOrders

```solidity theme={null}
function getPendingOrders(address _trader) public view returns (struct ITradingStorage.PendingOrder[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllPendingOrdersForTraders

```solidity theme={null}
function getAllPendingOrdersForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.PendingOrder[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllPendingOrders

```solidity theme={null}
function getAllPendingOrders(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.PendingOrder[])
```

*Check ITradingStorageUtils interface for documentation*

## getTradesLiquidationParams

```solidity theme={null}
function getTradesLiquidationParams(address _trader) public view returns (struct IPairsStorage.GroupLiquidationParams[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTradesLiquidationParamsForTraders

```solidity theme={null}
function getAllTradesLiquidationParamsForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct IPairsStorage.GroupLiquidationParams[])
```

*Check ITradingStorageUtils interface for documentation*

## getAllTradesLiquidationParams

```solidity theme={null}
function getAllTradesLiquidationParams(uint256 _offset, uint256 _limit) external view returns (struct IPairsStorage.GroupLiquidationParams[])
```

*Check ITradingStorageUtils interface for documentation*

## getCountersForTraders

```solidity theme={null}
function getCountersForTraders(address[] _traders, enum ITradingStorage.CounterType _counterType) external view returns (struct ITradingStorage.Counter[])
```

*Check ITradingStorageUtils interface for documentation*
