Mavryk_raw_protocol_demo_counter.Proto_params
type t = {
init_a : Mavryk_protocol_environment_demo_counter.Int32.t;
init_b : Mavryk_protocol_environment_demo_counter.Int32.t;
}
Constants of the demo protocol, passed at protocol activation. They defines the initial values of a and b
val default : t
val from_json :
Mavryk_protocol_environment_demo_counter.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.