Burning options
OptionToken token = OptionToken(tokenAddress);
uint amount = 5 * volumeBase;
token.burn(amount);Underlying feeds
interface UnderlyingFeed {
function symbol() external view returns (string memory);
function getLatestPrice() external view returns (uint timestamp, int price);
function getPrice(uint position) external view returns (uint timestamp, int price);
function getDailyVolatility(uint timespan) external view returns (uint vol);
function calcLowerVolatility(uint vol) external view returns (uint lowerVol);
function calcUpperVolatility(uint vol) external view returns (uint upperVol);
}Last updated