Skip to main content

IIndexPrice

Functions

getIndexPrice

  function getIndexPrice(
uint256 interval
) external returns (uint256 indexPrice)

Returns the index price of the token.

Parameters:

NameTypeDescription
intervaluint256The interval represents twap interval.

Return Values:

NameTypeDescription
indexPriceuint256Twap price with interval