IBaseToken
Functions
close
cacheTwap
Update the cached index price of the token.
Parameters:
Name | Type | Description |
---|---|---|
| uint256 | The twap interval in seconds. |
getPriceFeed
Get the price feed address
priceFeed is now priceFeedDispatcher, which dispatches either Chainlink or UniswapV3 price
Return Values:
Name | Type | Description |
---|---|---|
| address | the current price feed |
getPausedTimestamp
getPausedIndexPrice
getClosedPrice
isOpen
isPaused
isClosed
Events
PriceFeedChanged
StatusUpdated
Last updated