Last updated 9 months ago
function getIndexPrice( uint256 interval ) external returns (uint256 indexPrice)
Returns the index price of the token.
Parameters:
Return Values:
interval
uint256
The interval represents twap interval.
indexPrice
Twap price with interval