Module Mavkit_smart_rollup.L2_message

type t

Type of L2 messages.

val make : string -> t

make message constructs a message with content message.

val content : t -> string

content message returns the string content of message, i.e. content (make s) = s.

Hash with b58check encoding scmsg(55), for ids of L2 messages.

type id = Id.t

Alias for message id

Serialization

val content_encoding : string Mavryk_base.TzPervasives.Data_encoding.t
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val id : t -> Id.t