Appendix 2: the Diff between optionId and optionTokenId
optionId
contains a single instrument's underlying asset, expiry, and strike price. So once you parse optionId, you can get the name of instruments with both call and put.
optionTokenId
stands for the composition of single or multiple instruments. So it contains multiple instruments' all information and its strategy. It is an unique value and used as an actual option type of ERC-1155 format in Moby.
PreviousAppendix 1: Parameters for Open/Close OptionsNextAppendix 3: Sample Moby Contract Module for Developers
Last updated