IBaseToken
Functions
close
function close(
) externalcacheTwap
function cacheTwap(
uint256 interval
) externalUpdate the cached index price of the token.
Parameters:
Name
Type
Description
interval
uint256
The twap interval in seconds.
getPriceFeed
function getPriceFeed(
) external returns (address priceFeed)Get the price feed address
priceFeed is now priceFeedDispatcher, which dispatches either Chainlink or UniswapV3 price
Return Values:
Name
Type
Description
priceFeed
address
the current price feed
getPausedTimestamp
getPausedIndexPrice
getClosedPrice
isOpen
isPaused
isClosed
Events
PriceFeedChanged
StatusUpdated
Last updated
Was this helpful?