package tezos-protocol-016-PtMumbai

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

This module re-exports definitions from Tx_rollup_message_repr.

type deposit = {
  1. sender : public_key_hash;
  2. destination : Tx_rollup_l2_address.Indexable.value;
  3. ticket_hash : Ticket_hash.t;
  4. amount : Tx_rollup_l2_qty.t;
}
type t = private
  1. | Batch of string
  2. | Deposit of deposit
val make_batch : string -> t * int

make_batch batch creates a new Batch message to be added that can be added to an inbox, along with its size in bytes. See Tx_rollup_message_repr.size.

make_deposit destination ticket_hash qty creates a new Deposit message to be added that can be added to an inbox, along with its size in bytes. See Tx_rollup_message_repr.size.

OCaml

Innovation. Community. Security.