package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Gates : sig ... end
module Perm : sig ... end
module RC : sig ... end
module S = Plompiler.S
type circuit_inputs = {
  1. switches : bool Plompiler.LibCircuit.Input.input list;
  2. compressed_switches : scalar_input;
  3. alpha : scalar_input;
  4. beta : scalar_input;
  5. gamma : scalar_input;
  6. delta : scalar_input;
  7. x : scalar_input;
  8. r : scalar_input;
  9. ss_list : scalar_input list;
  10. selectors : (string * scalar_input) list;
  11. ids_batch : scalar_input;
  12. wires_g : scalar_input list list;
  13. wires : scalar_input list list;
  14. zg : scalar_input;
  15. z : scalar_input;
  16. batch : scalar_input list;
  17. inner_pi : scalar_input list list;
  18. outer_pi : scalar_input list;
  19. rc_selectors : scalar_input list;
  20. zg_rc_perm : scalar_input list;
  21. z_rc_perm : scalar_input list;
}
val nb_batches_default : int
val nb_batches : Plonk.Circuit.t -> int
val dummy_input : 'a Plonk.SMap.t -> string list -> int -> int -> int -> int -> circuit_inputs
module Constraints : sig ... end
val aggreg_public_inputs : int -> ('a * 'a * 'a * 'a * 'a * 'a) -> ('a * 'b) Plonk.SMap.t list -> 'a -> 'a -> 'a list -> 'a array
val compute_switches : int -> int -> S.t array * S.t
val pad_inputs : int -> int -> S.t list list -> Plompiler.S.t Plonk.SMap.t Plonk.SMap.t list -> S.t list * Plompiler.S.t list
val get_witness : int -> int -> Main_Pack.prover_aux -> Plonk.SMap.key -> int -> Plompiler.Solver.t -> (S.t list list * Main_Pack.scalar list) -> S.t array -> Main_Pack.scalar -> (Main_Pack.scalar * 'a) Plonk.SMap.t list -> Plompiler.Csir.Scalar.t array
val get_batches : 'a Plonk.SMap.t -> Plonk.Bls.Scalar.t Stdlib__Map.Make(Stdlib.String).t Stdlib__Map.Make(Stdlib.String).t list -> Plonk.Bls.Scalar.t -> (Plonk.Bls.Scalar.t * int) Plonk.SMap.t list Plonk.SMap.t
OCaml

Innovation. Community. Security.