(**************************************************************************) (* *) (* Copyright (c) 2014 - 2017. *) (* Dynamic Ledger Solutions, Inc. *) (* *) (* All rights reserved. No warranty, explicit or implicit, provided. *) (* *) (**************************************************************************) open Environment val list_contract_labels : Client_commands.full_context -> Client_proto_rpcs.block -> (string * string * string) list tzresult Lwt.t val get_storage : #Client_rpcs.rpc_sig -> Client_proto_rpcs.block -> Contract.t -> Script.expr option tzresult Lwt.t val get_manager : Client_commands.full_context -> Client_proto_rpcs.block -> Contract.t -> (string * public_key_hash * public_key * secret_key) tzresult Lwt.t val get_balance: #Client_rpcs.rpc_sig -> Client_proto_rpcs.block -> Contract.t -> Tez.t tzresult Lwt.t val set_delegate : #Client_rpcs.rpc_sig -> Client_proto_rpcs.block -> fee:Tez.tez -> Contract.t -> src_pk:public_key -> manager_sk:secret_key -> public_key_hash option -> Operation_list_hash.elt tzresult Lwt.t val operation_submitted_message : #Client_commands.logger -> ?force:bool -> Operation_hash.t -> unit tzresult Lwt.t val source_to_keys: Client_commands.full_context -> Client_proto_rpcs.block -> Contract.t -> (public_key * secret_key) tzresult Lwt.t val originate_account : ?force:bool -> ?branch:int -> source:Contract.t -> src_pk:public_key -> src_sk:Ed25519.Secret_key.t -> manager_pkh:public_key_hash -> ?delegatable:bool -> ?delegate:public_key_hash -> balance:Tez.tez -> fee:Tez.tez -> Client_rpcs.block -> #Client_rpcs.rpc_sig -> unit -> (Operation_list_hash.elt * Contract.t) tzresult Lwt.t val save_contract : force:bool -> Client_commands.full_context -> string -> Contract.t -> unit tzresult Lwt.t val operation_submitted_message : #Client_commands.logger -> ?force:bool -> ?contracts:Contract.t list -> Operation_hash.t -> unit tzresult Lwt.t val originate_contract: fee:Tez.t -> delegate:public_key_hash option -> ?force:bool -> ?delegatable:bool -> ?spendable:bool -> initial_storage:string -> manager:public_key_hash -> balance:Tez.t -> source:Contract.t -> src_pk:public_key -> src_sk:Ed25519.Secret_key.t -> code:Script.expr -> Client_commands.full_context -> (Operation_hash.t * Contract.t) tzresult Lwt.t val faucet : ?force:bool -> ?branch:int -> manager_pkh:public_key_hash -> Client_rpcs.block -> #Client_rpcs.rpc_sig -> unit -> (Operation_list_hash.elt * Contract.t) tzresult Lwt.t val transfer : #Client_rpcs.rpc_sig -> Client_proto_rpcs.block -> ?force:bool -> ?branch:int -> source:Contract.t -> src_pk:public_key -> src_sk:Ed25519.Secret_key.t -> destination:Contract.t -> ?arg:string -> amount:Tez.t -> fee:Tez.t -> unit -> (Operation_hash.t * Contract.t list) tzresult Lwt.t val dictate : #Client_rpcs.rpc_sig -> Client_proto_rpcs.block -> dictator_operation -> secret_key -> Operation_hash.t tzresult Lwt.t