2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2017-11-14 03:36:14 +04:00
|
|
|
(* Copyright (c) 2014 - 2017. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-01-29 04:06:47 +04:00
|
|
|
open Proto_alpha
|
|
|
|
open Tezos_context
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
module RawContractAlias :
|
|
|
|
Client_aliases.Alias with type t = Contract.t
|
|
|
|
|
|
|
|
module ContractAlias : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val get_contract:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_commands.wallet ->
|
2017-04-05 03:02:10 +04:00
|
|
|
string -> (string * Contract.t) tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
val alias_param:
|
2016-11-22 17:23:40 +04:00
|
|
|
?name:string ->
|
2016-09-08 21:13:10 +04:00
|
|
|
?desc:string ->
|
2017-11-07 20:38:11 +04:00
|
|
|
('a, (#Client_commands.wallet as 'wallet), 'ret) Cli_entries.params ->
|
|
|
|
(Lwt_io.file_name * Contract.t -> 'a, 'wallet, 'ret) Cli_entries.params
|
2016-09-08 21:13:10 +04:00
|
|
|
val destination_param:
|
2016-11-22 17:23:40 +04:00
|
|
|
?name:string ->
|
2016-09-08 21:13:10 +04:00
|
|
|
?desc:string ->
|
2017-11-07 20:38:11 +04:00
|
|
|
('a, (#Client_commands.wallet as 'wallet), 'ret) Cli_entries.params ->
|
|
|
|
(Lwt_io.file_name * Contract.t -> 'a, 'wallet, 'ret) Cli_entries.params
|
2016-12-03 16:05:02 +04:00
|
|
|
val rev_find:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_commands.wallet ->
|
2017-04-05 03:02:10 +04:00
|
|
|
Contract.t -> string option tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val name:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_commands.wallet ->
|
2017-04-05 03:02:10 +04:00
|
|
|
Contract.t -> string tzresult Lwt.t
|
2017-11-07 20:38:11 +04:00
|
|
|
val autocomplete: #Client_commands.wallet -> string list tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
|
2017-03-15 04:20:25 +04:00
|
|
|
val list_contracts:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_commands.wallet ->
|
|
|
|
(string * string * RawContractAlias.t) list tzresult Lwt.t
|
2017-03-15 04:20:25 +04:00
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
val get_manager:
|
2017-12-07 20:43:21 +04:00
|
|
|
#Client_rpcs.ctxt ->
|
2016-09-08 21:13:10 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
Contract.t ->
|
|
|
|
public_key_hash tzresult Lwt.t
|
|
|
|
|
|
|
|
val get_delegate:
|
2017-12-07 20:43:21 +04:00
|
|
|
#Client_rpcs.ctxt ->
|
2016-09-08 21:13:10 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
Contract.t ->
|
|
|
|
public_key_hash tzresult Lwt.t
|
|
|
|
|
|
|
|
val check_public_key :
|
2017-12-07 20:43:21 +04:00
|
|
|
#Client_rpcs.ctxt ->
|
2016-09-08 21:13:10 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
?src_pk:public_key ->
|
|
|
|
public_key_hash ->
|
|
|
|
public_key option tzresult Lwt.t
|
|
|
|
|
2017-11-07 20:38:11 +04:00
|
|
|
module Contract_tags : module type of Client_tags.Tags (struct
|
|
|
|
let name = "contract"
|
|
|
|
end)
|