LiquidityPoolUtils
getLiquidityPoolInfo
function getLiquidityPoolInfo(struct IPriceAggregator.LiquidityPoolInput _input) internal view returns (struct IPriceAggregator.LiquidityPoolInfo)Parameters
Name
Type
Description
getTimeWeightedAveragePrice
function getTimeWeightedAveragePrice(struct IPriceAggregator.LiquidityPoolInfo _poolInfo, uint32 _twapInterval, uint256 _precisionDelta) internal view returns (uint256)Parameters
Name
Type
Description
_getPoolTickCumulatives
Parameters
Name
Type
Description
_tickCumulativesToTokenPrice
Parameters
Name
Type
Description
Last updated
Was this helpful?