Mavryk_raw_protocol_alpha.Sc_rollup_reveal_hashmodule Map : Mavryk_protocol_environment_alpha.Map.S with type key = tA Map module for storing reveal-hash-indexed values.
val size : scheme:supported_hashes -> intsize ~scheme returns the size of reveal hashes using the scheme specified in input.
val zero : scheme:supported_hashes -> tzero ~scheme returns the reveal hash corresponding to the zero hash for the scheme specified in input.
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unitFormatting function for reveal-hashes.
equal hash1 hash2 checks if the two reveal-hashes hash1 and hash2 are equal. This function must preserve the equality of individual supported hashing schemes. If hash1 and hash2 are hashes obtained from the same supported hashing scheme, then the equal function from that hashing scheme is used to determine whether they are equivalent. Otherwise, they are different.
compare hash1 hash2 compares the values of the reveal hashes hash1 and hash2. This function must preserve the ordering of individual supported hashing scheme. If hash1 and hash2 are reveal-hashes obtained from the same hashing scheme, then compare hash1 hash2 should return the same result of the compare function exposed by the hash module corresponding to their hashing scheme.
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.tThe encoding of reveal hashes.
val hash_string : scheme:supported_hashes -> ?key:string -> string list -> thash_string ~scheme ?key strings hashes strings using the supported hashing scheme given in input.
val hash_bytes : scheme:supported_hashes -> ?key:bytes -> bytes list -> thash_bytes ~scheme ?key strings hashes bytes using the supported hashing scheme given in input.
val scheme_of_hash : t -> supported_hashesscheme_of_hash hash returns the supported hashing scheme that was used to obtain hash.
val of_hex : string -> t optionval to_hex : t -> stringval rpc_arg : t Mavryk_protocol_environment_alpha.RPC_arg.tval well_known_reveal_hash : tThe hash requested by the WASM PVM if it cannot decode the input provided by the WASM kernel, that is, if the bytes value cannot be decoded with encoding.
The preimage of well_known_reveal_hash.