Module Make.Account_hash

type t
include Compare.S with type t := t
val (=) : t -> t -> bool

x = y iff compare x y = 0

val (<>) : t -> t -> bool

x <> y iff compare x y <> 0

val (<) : t -> t -> bool

x < y iff compare x y < 0

val (<=) : t -> t -> bool

x <= y iff compare x y <= 0

val (>=) : t -> t -> bool

x >= y iff compare x y >= 0

val (>) : t -> t -> bool

x > y iff compare x y > 0

val compare : t -> t -> int

compare an alias for the functor parameter's compare function

val equal : t -> t -> bool

equal x y iff compare x y = 0

val max : t -> t -> t

max x y is x if x >= y otherwise it is y

val min : t -> t -> t

min x y is x if x <= y otherwise it is y

val to_b58check : t -> string
val of_b58check : string -> t Error_monad.tzresult
val of_b58check_opt : string -> t option
val of_b58data : Base58.data -> t option
val pp : Format.formatter -> t -> unit
val pp_short : Format.formatter -> t -> unit

Serializers

val encoding : t Data_encoding.t
val zero : t

A value zero for type t.

val is_tz5 : t -> bool
type Error_monad.error +=
  1. | Account_hash_invalid_notation of string
module Map : sig ... end
module Set : sig ... end
module Forbidden : sig ... end
val rpc_arg : t RPC_arg.t
module Path : sig ... end