package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Zk_rollup_account_repr/index.html

Module Tezos_raw_protocol_alpha.Zk_rollup_account_reprSource

Representation of a ZK Rollup account.

Sourcetype static = {
  1. public_parameters : Tezos_protocol_environment_alpha.Plonk.public_parameters;
    (*

    Input to the Plonk verifier that are fixed once the circuits are decided.

    *)
  2. state_length : int;
    (*

    Number of scalars in the state.

    *)
  3. circuits_info : [ `Public | `Private | `Fee ] SMap.t;
    (*

    Circuit names, alongside a tag indicating its kind.

    *)
  4. nb_ops : int;
    (*

    Valid op codes of L2 operations must be in [0, nb_ops)

    *)
}

Static part of a ZKRU account. These are set at origination, after which they cannot be modified.

Sourcetype dynamic = {
  1. state : Zk_rollup_state_repr.t;
    (*

    Array of scalars representing the state of the rollup at a given level.

    *)
  2. paid_l2_operations_storage_space : Tezos_protocol_environment_alpha.Z.t;
    (*

    Number of bytes for storage of L2 operations that have been already paid for.

    *)
  3. used_l2_operations_storage_space : Tezos_protocol_environment_alpha.Z.t;
    (*

    Number of bytes for storage of L2 operations that are being used.

    *)
}

Dynamic part of a ZKRU account.

Sourcetype t = {
  1. static : static;
  2. dynamic : dynamic;
}
Sourceval circuits_info_encoding : [ `Public | `Private | `Fee ] SMap.t Tezos_protocol_environment_alpha.Data_encoding.t
OCaml

Innovation. Community. Security.