Module Stable.V2

type ('pk, 'amount) t = ( 'pk, 'amount ) t
val to_yojson : ( 'pk -> Yojson.Safe.t ) -> ( 'amount -> Yojson.Safe.t ) -> ( 'pk, 'amount ) t -> Yojson.Safe.t
val of_yojson : ( Yojson.Safe.t -> 'pk Ppx_deriving_yojson_runtime.error_or ) -> ( Yojson.Safe.t -> 'amount Ppx_deriving_yojson_runtime.error_or ) -> Yojson.Safe.t -> ( 'pk, 'amount ) t Ppx_deriving_yojson_runtime.error_or
include Core_kernel.Bin_prot.Binable.S2 with type ('pk, 'amount) t := ( 'pk, 'amount ) t
val bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.t -> Bin_prot.Shape.t
val bin_size_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Size.sizer2
val bin_write_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Write.writer2
val bin_read_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Read.reader2
val __bin_read_t__ : ( 'a, 'b, int -> ( 'a, 'b ) t ) Bin_prot.Read.reader2
val bin_writer_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Type_class.S2.writer
val bin_reader_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Type_class.S2.reader
val bin_t : ( 'a, 'b, ( 'a, 'b ) t ) Bin_prot.Type_class.S2.t
val equal : ( 'pk -> 'pk -> bool ) -> ( 'amount -> 'amount -> bool ) -> ( 'pk, 'amount ) t -> ( 'pk, 'amount ) t -> bool
include Ppx_sexp_conv_lib.Sexpable.S2 with type ('pk, 'amount) t := ( 'pk, 'amount ) t
val t_of_sexp : ( Sexplib0__.Sexp.t -> 'a ) -> ( Sexplib0__.Sexp.t -> 'b ) -> Sexplib0__.Sexp.t -> ( 'a, 'b ) t
val sexp_of_t : ( 'a -> Sexplib0__.Sexp.t ) -> ( 'b -> Sexplib0__.Sexp.t ) -> ( 'a, 'b ) t -> Sexplib0__.Sexp.t
val hash_fold_t : ( Ppx_hash_lib.Std.Hash.state -> 'pk -> Ppx_hash_lib.Std.Hash.state ) -> ( Ppx_hash_lib.Std.Hash.state -> 'amount -> Ppx_hash_lib.Std.Hash.state ) -> Ppx_hash_lib.Std.Hash.state -> ( 'pk, 'amount ) t -> Ppx_hash_lib.Std.Hash.state
val __versioned__ : unit