Mavryk_raw_protocol_001_PtAtLas.Manager_counter_reprCounters are used as anti-replay protection mechanism in manager operations: each manager account stores a counter and each manager operation declares a value for the counter. When a manager operation is applied, the value of the counter of its manager is checked and incremented.
val init : tInitial value for a counter (zero).
val pp : Mavryk_protocol_environment_001_PtAtLas.Format.formatter -> t -> unitPretty-printer for counters.
val encoding_for_storage :
t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tEncoding for a counter to be used in Storage.
val encoding_for_operation :
t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tEncoding for a counter to be used in Operation_repr.
val encoding_for_RPCs :
t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tEncoding for a counter to be used in RPCs.
val encoding_for_errors :
t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tEncoding for a counter to be used in errors.
module Internal_for_injection : sig ... endTo be used in client injection only.
module Internal_for_tests : sig ... end