Mavkit_smart_rollup.State_hash
include module type of struct include Mavryk_crypto.Hashed.Smart_rollup_state_hash end
val pp : Stdlib.Format.formatter -> t -> unit
val pp_short : Stdlib.Format.formatter -> t -> unit
include Mavryk_stdlib.Compare.S with type t := t
val zero : t
val to_hex : t -> Mavryk_stdlib.Hex.t
val of_hex : Mavryk_stdlib.Hex.t -> t Mavryk_error_monad.Error_monad.tzresult
val of_hex_opt : Mavryk_stdlib.Hex.t -> t option
val of_hex_exn : Mavryk_stdlib.Hex.t -> t
val to_string : t -> string
val of_string : string -> t Mavryk_error_monad.Error_monad.tzresult
val of_string_opt : string -> t option
val of_string_exn : string -> t
val to_bytes : t -> Stdlib.Bytes.t
val of_bytes : Stdlib.Bytes.t -> t Mavryk_error_monad.Error_monad.tzresult
val of_bytes_opt : Stdlib.Bytes.t -> t option
val of_bytes_exn : Stdlib.Bytes.t -> t
val to_b58check : t -> string
val to_short_b58check : t -> string
val of_b58check : string -> t Mavryk_error_monad.Error_monad.tzresult
val of_b58check_exn : string -> t
val of_b58check_opt : string -> t option
val b58check_encoding : t Mavryk_crypto.Base58.encoding
val encoding : t Data_encoding.t
val rpc_arg : t Mavryk_rpc.Arg.t
val hash : t -> int
val seeded_hash : int -> t -> int
val to_path : t -> string list -> string list
val of_path : string list -> t option
val of_path_exn : string list -> t
module Set = Mavryk_crypto.Hashed.Smart_rollup_state_hash.Set
module Map = Mavryk_crypto.Hashed.Smart_rollup_state_hash.Map
module Table = Mavryk_crypto.Hashed.Smart_rollup_state_hash.Table
module Error_table = Mavryk_crypto.Hashed.Smart_rollup_state_hash.Error_table
module WeakRingTable =
Mavryk_crypto.Hashed.Smart_rollup_state_hash.WeakRingTable
val context_hash_to_state_hash : Mavryk_crypto__.Context_hash.t -> t
context_hash_to_state_hash ch
turns an (Irmin) context hash into a state hash.
Hackish way to disable hash_bytes
and hash_string
to force people to use context_hash_to_state_hash
(without changing content of S
.HASH).
val hash_bytes : unreachable__use_context_hash_to_state_hash
val hash_string : unreachable__use_context_hash_to_state_hash