Constructs an Option instance with the given 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 Option instance from a token ID.
The unique identifier for the option.
The ClearinghouseContract instance to interact with the blockchain.
An instance of Option.
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 an exercisable option in the Valorem Clear system.