Constructs an OptionType instance with the provided arguments.
Readonly exerciseReadonly underlyingCreates a new option type on-chain using the trader instance.
Trader instance to execute the transaction.
Static fromStatic method to create an OptionType instance from a token ID.
The unique identifier for the option.
Instance of the ClearinghouseContract.
An instance of OptionType.
Static fromStatic method to create an OptionType instance from option information.
An instance of OptionType.
Static fromStatic getGenerates a unique option type ID based on the provided option type information.
The information detailing the option type.
The generated option type ID.
Static Protected getRetrieves the option type information from the clearinghouse contract.
The unique identifier of the option or claim.
The clearinghouse contract instance.
The option type information.
Static Protected getDetermines the token type for the given ID by querying the clearinghouse.
The unique identifier of the option or claim.
The clearinghouse contract instance.
The token type as a promise that resolves to 0, 1, or 2.
Generated using TypeDoc
Represents the type of option in the Valorem Clear system.