pub fn parse(
ctx: &mut SpendContext,
coin: Coin,
puzzle_reveal: &Program,
solution: &Program,
) -> Result<Option<ParsedOption>>Expand description
Decode an option directly from its own coin spend (its coin, serialized puzzle reveal, and
solution). Returns Ok(None) when the puzzle is not an option contract.