2018-06-29 14:08:08 +02:00
|
|
|
(*****************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Open Source License *)
|
|
|
|
(* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* Permission is hereby granted, free of charge, to any person obtaining a *)
|
|
|
|
(* copy of this software and associated documentation files (the "Software"),*)
|
|
|
|
(* to deal in the Software without restriction, including without limitation *)
|
|
|
|
(* the rights to use, copy, modify, merge, publish, distribute, sublicense, *)
|
|
|
|
(* and/or sell copies of the Software, and to permit persons to whom the *)
|
|
|
|
(* Software is furnished to do so, subject to the following conditions: *)
|
|
|
|
(* *)
|
|
|
|
(* The above copyright notice and this permission notice shall be included *)
|
|
|
|
(* in all copies or substantial portions of the Software. *)
|
|
|
|
(* *)
|
|
|
|
(* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR*)
|
|
|
|
(* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *)
|
|
|
|
(* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *)
|
|
|
|
(* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER*)
|
|
|
|
(* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *)
|
|
|
|
(* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *)
|
|
|
|
(* DEALINGS IN THE SOFTWARE. *)
|
|
|
|
(* *)
|
|
|
|
(*****************************************************************************)
|
2016-09-08 19:13:10 +02:00
|
|
|
|
2018-01-29 01:06:47 +01:00
|
|
|
open Proto_alpha
|
2018-02-11 19:17:39 +01:00
|
|
|
open Alpha_context
|
2018-01-29 01:06:47 +01:00
|
|
|
|
2016-09-08 19:13:10 +02:00
|
|
|
val tez_sym: string
|
|
|
|
|
2018-04-03 11:39:09 +02:00
|
|
|
val init_arg: (string, Proto_alpha.full) Clic.arg
|
|
|
|
val fee_arg: (Tez.t, Proto_alpha.full) Clic.arg
|
2018-03-24 16:39:48 +01:00
|
|
|
val gas_limit_arg: (Z.t option, Proto_alpha.full) Clic.arg
|
2018-06-13 14:41:40 +02:00
|
|
|
val storage_limit_arg: (Z.t option, Proto_alpha.full) Clic.arg
|
2018-06-27 22:30:59 +02:00
|
|
|
val arg_arg: (string option, Proto_alpha.full) Clic.arg
|
2018-04-03 11:39:09 +02:00
|
|
|
val source_arg: (string option, Proto_alpha.full) Clic.arg
|
2018-02-11 19:17:39 +01:00
|
|
|
|
2018-04-05 17:35:35 +02:00
|
|
|
val delegate_arg: (Signature.Public_key_hash.t option, Proto_alpha.full) Clic.arg
|
2018-04-03 11:39:09 +02:00
|
|
|
val delegatable_switch: (bool, Proto_alpha.full) Clic.arg
|
|
|
|
val spendable_switch: (bool, Proto_alpha.full) Clic.arg
|
|
|
|
val max_priority_arg: (int option, Proto_alpha.full) Clic.arg
|
2018-06-19 15:28:35 +08:00
|
|
|
val fee_threshold_arg: (Tez.tez option, Proto_alpha.full) Clic.arg
|
2018-08-27 15:30:50 +02:00
|
|
|
val max_waiting_time_arg: (int, Proto_alpha.full) Clic.arg
|
2018-04-03 11:39:09 +02:00
|
|
|
val force_switch: (bool, Proto_alpha.full) Clic.arg
|
2018-04-21 17:16:01 +02:00
|
|
|
val minimal_timestamp_switch: (bool, Proto_alpha.full) Clic.arg
|
2018-04-03 11:39:09 +02:00
|
|
|
val endorsement_delay_arg: (int, Proto_alpha.full) Clic.arg
|
2018-06-25 16:40:49 +02:00
|
|
|
val preserved_levels_arg: (int, Proto_alpha.full) Clic.arg
|
2018-02-11 19:17:39 +01:00
|
|
|
|
2018-04-17 10:50:23 +02:00
|
|
|
val no_print_source_flag: (bool, Proto_alpha.full) Clic.arg
|
|
|
|
val no_confirmation: (bool, Proto_alpha.full) Clic.arg
|
2017-11-03 11:53:54 +01:00
|
|
|
|
2017-07-19 11:35:01 +02:00
|
|
|
val tez_arg :
|
|
|
|
default:string ->
|
2017-09-19 11:31:35 +02:00
|
|
|
parameter:string ->
|
|
|
|
doc:string ->
|
2018-04-03 11:39:09 +02:00
|
|
|
(Tez.t, Proto_alpha.full) Clic.arg
|
2016-09-08 19:13:10 +02:00
|
|
|
val tez_param :
|
2016-11-22 14:23:40 +01:00
|
|
|
name:string ->
|
2016-09-08 19:13:10 +02:00
|
|
|
desc:string ->
|
2018-04-03 11:39:09 +02:00
|
|
|
('a, full) Clic.params ->
|
|
|
|
(Tez.t -> 'a, full) Clic.params
|
2016-09-08 19:13:10 +02:00
|
|
|
|
|
|
|
module Daemon : sig
|
2018-04-03 11:39:09 +02:00
|
|
|
val baking_switch: (bool, Proto_alpha.full) Clic.arg
|
|
|
|
val endorsement_switch: (bool, Proto_alpha.full) Clic.arg
|
|
|
|
val denunciation_switch: (bool, Proto_alpha.full) Clic.arg
|
2016-09-08 19:13:10 +02:00
|
|
|
end
|
2017-09-27 09:55:20 +02:00
|
|
|
|
2018-04-03 11:39:09 +02:00
|
|
|
val string_parameter : (string, full) Clic.parameter
|