ligo/lib_embedded_client_alpha/client_proto_contracts.mli

60 lines
2.0 KiB
OCaml
Raw Normal View History

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. *)
(* *)
(**************************************************************************)
module RawContractAlias :
Client_aliases.Alias with type t = Contract.t
module ContractAlias : sig
val get_contract:
Client_commands.context ->
string -> (string * Contract.t) tzresult Lwt.t
2016-09-08 21:13:10 +04:00
val alias_param:
?name:string ->
2016-09-08 21:13:10 +04:00
?desc:string ->
('a, Client_commands.context, 'ret) Cli_entries.params ->
(Lwt_io.file_name * Contract.t -> 'a, Client_commands.context, 'ret) Cli_entries.params
2016-09-08 21:13:10 +04:00
val destination_param:
?name:string ->
2016-09-08 21:13:10 +04:00
?desc:string ->
('a, Client_commands.context, 'ret) Cli_entries.params ->
(Lwt_io.file_name * Contract.t -> 'a, Client_commands.context, 'ret) Cli_entries.params
val rev_find:
Client_commands.context ->
Contract.t -> string option tzresult Lwt.t
val name:
Client_commands.context ->
Contract.t -> string tzresult Lwt.t
2017-09-27 11:55:20 +04:00
val autocomplete: Client_commands.context -> string list tzresult Lwt.t
2016-09-08 21:13:10 +04:00
end
val list_contracts:
Client_commands.context ->
(string * string * Contract.t) list tzresult Lwt.t
2016-09-08 21:13:10 +04:00
val get_manager:
Client_rpcs.config ->
2016-09-08 21:13:10 +04:00
Client_proto_rpcs.block ->
Contract.t ->
public_key_hash tzresult Lwt.t
val get_delegate:
Client_rpcs.config ->
2016-09-08 21:13:10 +04:00
Client_proto_rpcs.block ->
Contract.t ->
public_key_hash tzresult Lwt.t
val check_public_key :
Client_rpcs.config ->
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
val commands: unit -> Client_commands.command list