IIndexPrice

Functions

getIndexPrice

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

Returns the index price of the token.

Parameters:

NameTypeDescription

interval

uint256

The interval represents twap interval.

Return Values:

NameTypeDescription

indexPrice

uint256

Twap price with interval

Last updated