underlying assetis ETH. Under the hood, it uses WETH in the option contract.
1:1ratio, meaning that 1 unit of
ETHwill mint 1 unit of option token The contract will check if the
msg.valueis equal to the
amountOfOptions. Otherwise, the transaction will revert.
msg.senderstill receive the tokens, but the owner will own the position (amount of
shares). With this
ownerwill be able to withdraw his deserved amount of collateral by the right time. (After expiration for American options, and after the end of exercise window for European).
msg.value == amountOfOptionsasked. The transaction will revert if not.
sharesdeserve and the