ligo/src/client/embedded/alpha/client_proto_context.mli

67 lines
1.9 KiB
OCaml
Raw Normal View History

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. *)
(* *)
(**************************************************************************)
val list_contracts:
Client_commands.context ->
Client_proto_rpcs.block ->
(string * Contract.t * Environment.Ed25519.Public_key_hash.t option)
list tzresult Lwt.t
val get_balance:
Client_commands.context ->
Client_proto_rpcs.block ->
Contract.t ->
Tez.t tzresult Lwt.t
2016-09-08 21:13:10 +04:00
val transfer:
Client_commands.context ->
2016-09-08 21:13:10 +04:00
Client_proto_rpcs.block ->
?force:bool ->
source:Contract.t ->
src_pk:public_key ->
src_sk:secret_key ->
destination:Contract.t ->
?arg:string ->
amount:Tez.t ->
fee:Tez.t ->
unit -> Contract.t list tzresult Lwt.t
2016-09-08 21:13:10 +04:00
val originate_account:
Client_commands.context ->
2016-09-08 21:13:10 +04:00
Client_proto_rpcs.block ->
?force:bool ->
source:Contract.t ->
src_pk:public_key ->
src_sk:secret_key ->
manager_pkh:public_key_hash ->
?delegatable:bool ->
?spendable:bool ->
?delegate:public_key_hash ->
balance:Tez.t ->
fee:Tez.t ->
unit -> Contract.t tzresult Lwt.t
val originate_contract:
Client_commands.context ->
2016-09-08 21:13:10 +04:00
Client_proto_rpcs.block ->
?force:bool ->
source:Contract.t ->
src_pk:public_key ->
src_sk:secret_key ->
manager_pkh:public_key_hash ->
balance:Tez.t ->
?delegatable:bool ->
?delegatePubKey:public_key_hash ->
code:Script.code ->
init:string ->
fee:Tez.t ->
unit -> Contract.t tzresult Lwt.t
val commands: unit -> Client_commands.command list