package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type rk
type spend_proof
type spend_sig
type output_proof
type input = {
  1. cv : Tezos_sapling__Core.Client.CV.t;
  2. nf : Tezos_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 : Tezos_sapling__Core.Client.Commitment.t;
  2. proof_o : output_proof;
  3. ciphertext : Tezos_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 : Tezos_sapling__Core.Client.Hash.t;
}
val transaction_encoding : transaction Data_encoding.t
val max_amount : int64
val valid_amount : int64 -> bool