Module Sapling.UTXO

type rk
type spend_proof
type spend_sig
type output_proof
type input = {
  1. cv : Mavryk_sapling__Core.Client.CV.t;
  2. nf : Mavryk_sapling__Core.Client.Nullifier.t;
  3. rk : rk;
  4. proof_i : spend_proof;
  5. signature : spend_sig;
}
val input_encoding : input Data_encoding.t
type output = {
  1. cm : Mavryk_sapling__Core.Client.Commitment.t;
  2. proof_o : output_proof;
  3. ciphertext : Mavryk_sapling__Core.Client.Ciphertext.t;
}
val output_encoding : output Data_encoding.t
type binding_sig
val binding_sig_encoding : binding_sig Data_encoding.t
type transaction = {
  1. inputs : input list;
  2. outputs : output list;
  3. binding_sig : binding_sig;
  4. balance : int64;
  5. root : Mavryk_sapling__Core.Client.Hash.t;
  6. bound_data : string;
}
val transaction_encoding : transaction Data_encoding.t
val max_amount : int64
val valid_amount : int64 -> bool
module Legacy : sig ... end