Options
Exercise Option
Where:
S_Tis the oracle price at the time of exerciseKis the strike price
Before expiry, you can manually exercise an option only when it is in the money. Before expiry, you can also close the option by selling it back to the liquidity pool at the current Black-Scholes price.
At or after expiry, the backend keeper is expected to auto-exercise expired options, but on-chain settlement happens only when the auto-exercise instruction is submitted. If the option expires in the money, the payoff is sent to the owner token account.