package octez-l2-libs

  1. Overview
  2. Docs
type t =
  1. | Add_messages of {
    1. messages : string list;
    }
  2. | Cement of {
    1. rollup : Address.t;
    2. commitment : Octez_smart_rollup.Commitment.Hash.t;
    }
  3. | Publish of {
    1. rollup : Address.t;
    2. commitment : Commitment.t;
    }
  4. | Refute of {
    1. rollup : Address.t;
    2. opponent : Tezos_crypto.Signature.Public_key_hash.t;
    3. refutation : Game.refutation;
    }
  5. | Timeout of {
    1. rollup : Address.t;
    2. stakers : Game.index;
    }

L1 operations produced (and injected) by the rollup node.

Encoding for L1 operations (used by injector for on-disk persistence).

val pp : Format.formatter -> t -> unit

Pretty printer (human readable) for L1 operations.

val unique : t -> bool

false if the injector will accept duplicate such operations.

OCaml

Innovation. Community. Security.