2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
module RawContractAlias :
|
|
|
|
Client_aliases.Alias with type t = Contract.t
|
|
|
|
|
|
|
|
module ContractAlias : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val get_contract:
|
|
|
|
Client_commands.context ->
|
|
|
|
string -> (string * Contract.t) 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 ->
|
2016-12-03 16:05:02 +04:00
|
|
|
('a, Client_commands.context, unit) Cli_entries.params ->
|
|
|
|
(Lwt_io.file_name * Contract.t -> 'a, Client_commands.context, unit) 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 ->
|
2016-12-03 16:05:02 +04:00
|
|
|
('a, Client_commands.context, unit) Cli_entries.params ->
|
|
|
|
(Lwt_io.file_name * Contract.t -> 'a, Client_commands.context, unit) Cli_entries.params
|
|
|
|
val rev_find:
|
|
|
|
Client_commands.context ->
|
|
|
|
Contract.t -> string option Lwt.t
|
|
|
|
val name:
|
|
|
|
Client_commands.context ->
|
|
|
|
Contract.t -> string Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
|
2017-03-15 04:20:25 +04:00
|
|
|
val list_contracts:
|
|
|
|
Client_commands.context ->
|
|
|
|
(string * string * Contract.t) list Lwt.t
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
val get_manager:
|
2016-12-03 16:05:02 +04:00
|
|
|
Client_commands.context ->
|
2016-09-08 21:13:10 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
Contract.t ->
|
|
|
|
public_key_hash tzresult Lwt.t
|
|
|
|
|
|
|
|
val get_delegate:
|
2016-12-03 16:05:02 +04:00
|
|
|
Client_commands.context ->
|
2016-09-08 21:13:10 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
Contract.t ->
|
|
|
|
public_key_hash tzresult Lwt.t
|
|
|
|
|
|
|
|
val check_public_key :
|
2016-12-03 16:05:02 +04:00
|
|
|
Client_commands.context ->
|
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
|
|
|
|
|
2016-12-03 16:05:02 +04:00
|
|
|
val commands: unit -> Client_commands.command list
|