package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module defines functions that emit the events used for the rollup node when it is storing and publishing commitments (see Commitment).

val starting : unit -> unit Lwt.t
val stopping : unit -> unit Lwt.t
val section : string list

Section for commitment events.

val last_cemented_commitment_updated : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

last_cemented_commitment_updated hash level emits the event that the last cemented commitment was updated to the given hash at the given inbox level.

val last_published_commitment_updated : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

last_published_commitment_updated hash level emits the event that the last published commitment was updated to the given hash at the given inbox level.

val compute_commitment : int32 -> unit Lwt.t

compute_commitment level emits the event that a new commitment is being computed and stored for the block at the given level.

val new_commitment : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

new_commitment hash level emits the event that a new commitment was built.

val publish_commitment : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

publish_commitment hash level emits the event that a new commitment is being published.

recover_bond staker emits the event that a recover bond operation is being submitted.

val publish_execute_whitelist_update : Octez_smart_rollup.Commitment.Hash.t -> int32 -> int -> unit Lwt.t

publish_execute_whitelist_update hash level index emits the event that a new execute whitelist update is being published.

module Publisher : sig ... end

Events emmitted by the Publisher worker

OCaml

Innovation. Community. Security.