Module Mavryk_raw_protocol_alpha.Contract_hash

A specialized Blake2B implementation for hashing contract identifiers.

include Mavryk_protocol_environment_alpha.S.HASH
type t
val name : string
val title : string
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val hash_bytes : ?key:bytes -> bytes list -> t
val hash_string : ?key:string -> string list -> t
val zero : t
val size : int
val to_bytes : t -> bytes
val of_bytes_opt : bytes -> t option
val of_bytes_exn : bytes -> t
val to_b58check : t -> string
val to_short_b58check : t -> string
val of_b58check_exn : string -> t
val of_b58check_opt : string -> t option
module Set : sig ... end
module Map : sig ... end
val of_nonce : Origination_nonce.t -> t

of_nonce nonce is the contract address originated from nonce.