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
The Strateg operator proxy info contract .
Returns
_0
contract IStrategOperatorProxyInfo
undefined
oracle
The Aave protocol's oracle contract instance for fetching asset prices.
Returns
_0
contract IAaveOracle
undefined
pool
The Aave protocol's lending pool contract instance.
Returns
_0
contract IPool
undefined
portal
The Strateg portal contract instance for executing asset swaps.
Returns
_0
contract IStrategPortal
undefined
positionManagerRebalanceExecutionInfo
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
_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
info
DataTypes.PositionManagerRebalanceExecutionInfo
A struct containing the vault owner, block index, and dynamic parameters for rebalancing the position.
Last updated