BaseToken
Functions
initialize
pause
close
close
setPriceFeed
priceFeed is now priceFeedDispatcher, which dispatches either Chainlink or UniswapV3 price
cacheTwap
getPriceFeed
Get the price feed address
priceFeed is now priceFeedDispatcher, which dispatches either Chainlink or UniswapV3 price
Return Values:
isOpen
isPaused
isClosed
getPausedTimestamp
getPausedIndexPrice
getClosedPrice
getIndexPrice
Returns the index price of the token.
we overwrite the index price in BaseToken depending on the status
Parameters:
Return Values:
Last updated