package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-l2-libs.smart-rollup/Octez_smart_rollup/L1_operation/index.html

Module Octez_smart_rollup.L1_operationSource

Sourcetype 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;
    }
  6. | Recover_bond of {
    1. rollup : Address.t;
    2. staker : Tezos_crypto.Signature.Public_key_hash.t;
    }
    (*

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

    *)
  7. | Execute_outbox_message of {
    1. rollup : Address.t;
    2. cemented_commitment : Octez_smart_rollup.Commitment.Hash.t;
    3. output_proof : string;
    }

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

Sourceval encoding : t Tezos_base.TzPervasives.Data_encoding.t
Sourceval pp : Format.formatter -> t -> unit

Pretty printer (human readable) for L1 operations.

Sourceval unique : t -> bool

false if the injector will accept duplicate such operations.

OCaml

Innovation. Community. Security.