package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val originate : Raw_context.t -> (Raw_context.t * Tx_rollup_repr.t, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t

originate context originates a new tx rollup and returns its hash generated from the origination_nonce in context. It also increment the origination_nonce.

val state : Raw_context.t -> Tx_rollup_repr.t -> (Tx_rollup_repr.state option, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t

state context tx_rollup is the current state of tx_rollup in the context.

OCaml

Innovation. Community. Security.