Exported.Global_slot
module Poly : sig ... end
module Stable : sig ... end
type t = Stable.Latest.t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.state
val hash : t -> Ppx_hash_lib.Std.Hash.hash_value
val to_input : t -> Snark_params.Tick.Field.t Random_oracle.Input.Chunked.t
val of_slot_number : constants:Constants.t -> Mina_numbers.Global_slot.t -> t
val gen : constants:Constants.t -> t Core_kernel.Quickcheck.Generator.t
val (-) : t -> t -> Mina_numbers.Global_slot.t option
val create :
constants:Constants.t ->
epoch:Unsigned_extended.UInt32.t ->
slot:Unsigned_extended.UInt32.t ->
t
val of_epoch_and_slot :
constants:Constants.t ->
(Unsigned_extended.UInt32.t * Unsigned_extended.UInt32.t) ->
t
val zero : constants:Constants.t -> t
val epoch : t -> Unsigned_extended.UInt32.t
val slot : t -> Unsigned_extended.UInt32.t
val start_time : constants:Constants.t -> t -> Block_time.t
val end_time : constants:Constants.t -> t -> Block_time.t
val time_hum : t -> string
val to_epoch_and_slot :
t ->
Unsigned_extended.UInt32.t * Unsigned_extended.UInt32.t
val of_time_exn : constants:Constants.t -> Block_time.t -> t
val diff :
constants:Constants.t ->
t ->
(Unsigned_extended.UInt32.t * Unsigned_extended.UInt32.t) ->
t
module Checked : sig ... end
val typ : ( Checked.t, t ) Snark_params.Tick.Typ.t
val slot_number : ( 'a, _ ) Poly.t -> 'a
val slots_per_epoch : ( _, 'b ) Poly.t -> 'b
module For_tests : sig ... end