Mavryk_raw_protocol_alpha.Zk_rollup_account_repr
module SMap : Mavryk_protocol_environment_alpha.Map.S with type key = string
Representation of a ZK Rollup account.
type static = {
public_parameters : Mavryk_protocol_environment_alpha.Plonk.public_parameters;
Input to the Plonk verifier that are fixed once the circuits are decided.
*)state_length : int;
Number of scalars in the state.
*)circuits_info : [ `Public | `Private | `Fee ] SMap.t;
Circuit names, alongside a tag indicating its kind.
*)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.
type dynamic = {
state : Zk_rollup_state_repr.t;
Array of scalars representing the state of the rollup at a given level.
*)paid_l2_operations_storage_space : Mavryk_protocol_environment_alpha.Z.t;
Number of bytes for storage of L2 operations that have been already paid for.
*)used_l2_operations_storage_space : Mavryk_protocol_environment_alpha.Z.t;
Number of bytes for storage of L2 operations that are being used.
*)}
Dynamic part of a ZKRU account.
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
val circuits_info_encoding :
[ `Public | `Private | `Fee ] SMap.t
Mavryk_protocol_environment_alpha.Data_encoding.t