package tezos-sapling

  1. Overview
  2. Docs
type t = {
  1. rcm : Rcm.t;
  2. pos : int64;
  3. amount : int64;
  4. address : Viewing_key.address;
}
val encoding : t Data_encoding.encoding
val compare : t -> t -> int
val of_ciphertext : pos:int64 -> Ciphertext.t -> Viewing_key.t -> (Stdlib.Bytes.t * t) option
val of_ciphertext_out : pos:int64 -> Ciphertext.t -> R.ovk -> R.commitment -> (Stdlib.Bytes.t * t) option
val check_cm : t -> R.commitment -> bool
OCaml

Innovation. Community. Security.