Module Mavkit_smart_rollup.Operation_kind

type t =
  1. | Publish
  2. | Add_messages
  3. | Cement
  4. | Timeout
  5. | Refute
  6. | Recover
  7. | Execute_outbox_message

The kind of operations that can be injected by the rollup node.

val all : t list

List of possible operations kind for operator specialization.

val to_string : t -> string

to_string o returns a string representation of operation_kind o.

val of_string : string -> t option

of_string s parses an operation kind from the given string s.

val of_string_exn : string -> t

of_string_exn s parses an operation kind from the given string s.

val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val map_encoding : (t -> 'value Mavryk_base.TzPervasives.Data_encoding.t) -> 'value Map.t Mavryk_base.TzPervasives.Data_encoding.t