Stable.V1
type ('ledger_hash, 'amount) t =
( 'ledger_hash, 'amount ) Mina_wire_types.Mina_base.Epoch_ledger.Poly.V1.t =
{
hash : 'ledger_hash; |
total_currency : 'amount; |
}
val to_yojson :
'ledger_hash 'amount. ( 'ledger_hash -> Yojson.Safe.t ) ->
( 'amount -> Yojson.Safe.t ) ->
( 'ledger_hash, 'amount ) t ->
Yojson.Safe.t
val of_yojson :
'ledger_hash 'amount. ( Yojson.Safe.t ->
'ledger_hash Ppx_deriving_yojson_runtime.error_or ) ->
( Yojson.Safe.t -> 'amount Ppx_deriving_yojson_runtime.error_or ) ->
Yojson.Safe.t ->
( 'ledger_hash, 'amount ) t Ppx_deriving_yojson_runtime.error_or
val _ :
( Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or ) ->
( Yojson.Safe.t -> 'b Ppx_deriving_yojson_runtime.error_or ) ->
Yojson.Safe.t ->
( 'a, 'b ) t Ppx_deriving_yojson_runtime.error_or
val bin_size_t :
'ledger_hash 'amount. 'ledger_hash Core_kernel.Bin_prot.Size.sizer ->
'amount Core_kernel.Bin_prot.Size.sizer ->
( 'ledger_hash, 'amount ) t Core_kernel.Bin_prot.Size.sizer
val bin_write_t :
'ledger_hash 'amount. 'ledger_hash Core_kernel.Bin_prot.Write.writer ->
'amount Core_kernel.Bin_prot.Write.writer ->
( 'ledger_hash, 'amount ) t Core_kernel.Bin_prot.Write.writer
val bin_writer_t :
'a Core_kernel.Bin_prot.Type_class.writer ->
'b Core_kernel.Bin_prot.Type_class.writer ->
( 'c, 'd ) t Core_kernel.Bin_prot.Type_class.writer
val __bin_read_t__ :
'ledger_hash 'amount. 'ledger_hash Core_kernel.Bin_prot.Read.reader ->
'amount Core_kernel.Bin_prot.Read.reader ->
( int -> ( 'ledger_hash, 'amount ) t ) Core_kernel.Bin_prot.Read.reader
val bin_read_t :
'ledger_hash 'amount. 'ledger_hash Core_kernel.Bin_prot.Read.reader ->
'amount Core_kernel.Bin_prot.Read.reader ->
( 'ledger_hash, 'amount ) t Core_kernel.Bin_prot.Read.reader
val bin_reader_t :
'a Core_kernel.Bin_prot.Type_class.reader ->
'b Core_kernel.Bin_prot.Type_class.reader ->
( 'c, 'd ) t Core_kernel.Bin_prot.Type_class.reader
val bin_t :
'a Core_kernel.Bin_prot.Type_class.t ->
'b Core_kernel.Bin_prot.Type_class.t ->
( 'c, 'd ) t Core_kernel.Bin_prot.Type_class.t
val t_of_sexp :
'ledger_hash 'amount. ( Ppx_sexp_conv_lib.Sexp.t -> 'ledger_hash ) ->
( Ppx_sexp_conv_lib.Sexp.t -> 'amount ) ->
Ppx_sexp_conv_lib.Sexp.t ->
( 'ledger_hash, 'amount ) t
val sexp_of_t :
'ledger_hash 'amount. ( 'ledger_hash -> Ppx_sexp_conv_lib.Sexp.t ) ->
( 'amount -> Ppx_sexp_conv_lib.Sexp.t ) ->
( 'ledger_hash, 'amount ) t ->
Ppx_sexp_conv_lib.Sexp.t
val hash_fold_t :
'ledger_hash 'amount. ( Ppx_hash_lib.Std.Hash.state ->
'ledger_hash ->
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 ->
( 'ledger_hash, 'amount ) t ->
Ppx_hash_lib.Std.Hash.state
val total_currency : ( 'a, 'b ) t -> 'c
val hash : ( 'a, 'b ) t -> 'c
module Fields : sig ... end