Buffer Options

​

setIsPaused

Admin only function to pause/Unpause the option creation
function setIsPaused()

fees

Returns the fees for buying an option
function fees(
uint256 amount,
address user,
string calldata referralCode,
uint256 baseSettlementFeePercentage
)

isStrikeValid

Returns true if the strike price at which the trade is opened lies within the slippage bounds
function isStrikeValid(
uint256 slippage,
uint256 strike,
uint256 expectedStrike
)

getMaxTradeSize

function getMaxTradeSize() public view returns (uint256)

getMaxOI

function getMaxOI() public view returns (uint256)

getSettlementFeePercentage

Runs the basic checks for option creation
function getSettlementFeePercentage(
address referrer,
address user,
uint256 baseSettlementFeePercentage
) public view returns (uint256 settlementFeePercentage)
​

​