package tezos-protocol-demo-counter

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. init_a : int32;
  2. init_b : int32;
}

Constants of the demo protocol, passed at protocol activation. They defines the initial values of a and b

val default : t
val from_json : Tezos_protocol_environment_demo_counter__Environment.Data_encoding.json -> t

Create a t from a json structure of the form { 'init_a': int32, 'init_b': int32 }. Fields are optional with default value 0.

OCaml

Innovation. Community. Security.