package tezos-protocol-014-PtKathma

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

Function for constructing and encoding inbox_message and outbox_message values. Since Layer 1 only ever consumes outbox_message values and produces inbox_message values, these functions are used for testing only.

make_transaction ctxt ty ~parameters ~destination ~entrypoint creates a Layer 1 to Layer 2 transaction.

val make_atomic_batch : transaction list -> outbox_message

make_atomic_batch ts creates an atomic batch with the given transactions ts.

bytes_of_output_message msg encodes the outbox message msg in binary format.

inbox_message_of_bytes bs decodes an inbox message from the given bytes bs.

OCaml

Innovation. Community. Security.