Module Client_proto_programs.Program

type fresh_param
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val add : force:bool -> Mavryk_client_base.Client_context.wallet -> string -> t -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val add_many : Mavryk_client_base.Client_context.wallet -> (string * t) list -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

Similar to repeated calls to add, but more efficient. Always forces addition of new elements.

val of_source : string -> t Mavryk_base.TzPervasives.tzresult Lwt.t
val to_source : t -> string Mavryk_base.TzPervasives.tzresult Lwt.t
val alias_parameter : unit -> (string * t, Mavryk_client_base.Client_context.wallet) Mavryk_clic.parameter
val alias_param : ?name:string -> ?desc:string -> ('a, Mavryk_client_base.Client_context.wallet as 'b) Mavryk_clic.params -> ((string * t) -> 'a, 'b) Mavryk_clic.params
val aliases_param : ?name:string -> ?desc:string -> ('a, Mavryk_client_base.Client_context.wallet as 'b) Mavryk_clic.params -> ((string * t) list -> 'a, 'b) Mavryk_clic.params
val fresh_alias_param : ?name:string -> ?desc:string -> ('a, < .. > as 'obj) Mavryk_clic.params -> (fresh_param -> 'a, 'obj) Mavryk_clic.params
val force_switch : unit -> (bool, _) Mavryk_clic.arg
val source_param : ?name:string -> ?desc:string -> ('a, Mavryk_client_base.Client_context.wallet as 'obj) Mavryk_clic.params -> (t -> 'a, 'obj) Mavryk_clic.params
val source_arg : ?long:string -> ?placeholder:string -> ?doc:string -> unit -> (t option, Mavryk_client_base.Client_context.wallet as 'obj) Mavryk_clic.arg