Buffer Options
Admin only function to pause/Unpause the option creation
function setIsPaused()
Returns the fees for buying an option
function fees(
uint256 amount,
address user,
string calldata referralCode,
uint256 baseSettlementFeePercentage
)
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
)
function getMaxTradeSize() public view returns (uint256)
function getMaxOI() public view returns (uint256)
Runs the basic checks for option creation
function getSettlementFeePercentage(
address referrer,
address user,
uint256 baseSettlementFeePercentage
) public view returns (uint256 settlementFeePercentage)
Last modified 30d ago