Make_str.Checked
include module type of struct include Pickles.Impls.Step.Field end
module Constant : sig ... end
val length : t -> int
val var_indices : t -> int list
val to_constant_and_terms :
t ->
Pickles.Impls.Step.field option * (Pickles.Impls.Step.field * int) list
val constant : Pickles.Impls.Step.field -> t
val to_constant : t -> Pickles.Impls.Step.field option
val linear_combination : (Pickles.Impls.Step.field * t) list -> t
val scale : t -> Pickles.Impls.Step.field -> t
val project : Pickles.Impls.Step.Boolean.var list -> t
val pack : Pickles.Impls.Step.Boolean.var list -> t
val is_square : t -> Pickles.Impls.Step.Boolean.var
val sqrt_check : t -> t * Pickles.Impls.Step.Boolean.var
val equal : t -> t -> Pickles.Impls.Step.Boolean.var
val unpack : t -> length:int -> Pickles.Impls.Step.Boolean.var list
val unpack_flagged :
t ->
length:int ->
Pickles.Impls.Step.Boolean.var list
* [ `Success of Pickles.Impls.Step.Boolean.var ]
val unpack_full :
t ->
Pickles.Impls.Step.Boolean.var Bitstring_lib.Bitstring.Lsb_first.t
val parity : ?length:int -> t -> Pickles.Impls.Step.Boolean.var
val choose_preimage_var :
t ->
length:int ->
Pickles.Impls.Step.Boolean.var list
type comparison_result = {
less : Pickles.Impls.Step.Boolean.var; |
less_or_equal : Pickles.Impls.Step.Boolean.var; |
}
val compare : bit_length:int -> t -> t -> comparison_result
val if_ : Pickles.Impls.Step.Boolean.var -> then_:t -> else_:t -> t
module Unsafe : sig ... end
module Assert : sig ... end
val of_int : int -> t
val one : t
val zero : t
val typ : ( t, Constant.t ) Pickles.Impls.Step.Typ.t
val to_input :
hash_zkapp_command:
( 'zkapp_command -> Zkapp_command.Digest.Forest.Checked.t ) ->
( Token_id.Checked.t, 'zkapp_command0 ) frame ->
Pickles.Impls.Step.Field.t Random_oracle.Input.Chunked.t
val create :
hash_zkapp_command:( 'a -> Zkapp_command.Digest.Forest.Checked.t ) ->
( Token_id.Checked.t, 'a ) frame ->
Random_oracle.Checked.Digest.t