> For the complete documentation index, see [llms.txt](https://developers.strateg.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.strateg.io/borrow-module/smart-contract-docs/strategaavev3positionmanagerinfo.md).

# StrategAaveV3PositionManagerInfo

This contract provides detailed information and utilities for managing positions within the Aave V3 protocol through the Strateg protocol. It facilitates the retrieval of data for operators

## Methods

### operatorProxyInfo

```solidity
function operatorProxyInfo() external view returns (contract IStrategOperatorProxyInfo)
```

The Strateg operator proxy info contract .

#### Returns

| Name | Type                               | Description |
| ---- | ---------------------------------- | ----------- |
| \_0  | contract IStrategOperatorProxyInfo | undefined   |

### oracle

```solidity
function oracle() external view returns (contract IAaveOracle)
```

The Aave protocol's oracle contract instance for fetching asset prices.

#### Returns

| Name | Type                 | Description |
| ---- | -------------------- | ----------- |
| \_0  | contract IAaveOracle | undefined   |

### pool

```solidity
function pool() external view returns (contract IPool)
```

The Aave protocol's lending pool contract instance.

#### Returns

| Name | Type           | Description |
| ---- | -------------- | ----------- |
| \_0  | contract IPool | undefined   |

### portal

```solidity
function portal() external view returns (contract IStrategPortal)
```

The Strateg portal contract instance for executing asset swaps.

#### Returns

| Name | Type                    | Description |
| ---- | ----------------------- | ----------- |
| \_0  | contract IStrategPortal | undefined   |

### positionManagerRebalanceExecutionInfo

```solidity
function positionManagerRebalanceExecutionInfo(address _pm, uint256[] _from, uint256[] _to) external view returns (struct DataTypes.PositionManagerRebalanceExecutionInfo info)
```

Provides information necessary for executing a rebalance on a position manager.

*This function returns the rebalance execution information for a given position manager, including the vault owner, block index, and dynamic parameters for rebalancing. It calculates the necessary parameters based on the current state of the position, such as the amount to leverage or deleverage to reach the desired health factor.*

#### Parameters

| Name   | Type       | Description                                                                 |
| ------ | ---------- | --------------------------------------------------------------------------- |
| \_pm   | address    | The address of the position manager contract.                               |
| \_from | uint256\[] | Array of token addresses to swap from (not used in current implementation). |
| \_to   | uint256\[] | Array of token addresses to swap to (not used in current implementation).   |

#### Returns

| Name | Type                                            | Description                                                                                            |
| ---- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| info | DataTypes.PositionManagerRebalanceExecutionInfo | A struct containing the vault owner, block index, and dynamic parameters for rebalancing the position. |
