WPodCall
Methods
mintETH
/// Instantiate Option
PodPut podPut = PodPut("/*address*/");
uint256 amountOfOptions = 10000000;
uint256 ethAmount = amountOfOptions;
uint256 owner = 0x3.. // owner address
podPut.mintWithETH.value(ethAmount)(amountOfOptions, owner);
// WPodCall.sol
/**
* @notice mint 1:1 units of options tokens based on the unit of ETH sent
* @param amountOfOptions The amount of options to be minted
* @param owner address of the owner that will hold the collateral position
function mintWithETH(
uint256 amountOfOptions,
address owner
) external payable {}Last updated