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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2017-03-15 04:20:25 +04:00
|
|
|
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:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-03-15 04:20:25 +04:00
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
Contract.t ->
|
|
|
|
Tez.t tzresult Lwt.t
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
val transfer:
|
2016-12-03 16:05:02 +04:00
|
|
|
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 ->
|
2017-02-16 22:01:35 +04:00
|
|
|
unit -> Contract.t list tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
val originate_account:
|
2016-12-03 16:05:02 +04:00
|
|
|
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:
|
2016-12-03 16:05:02 +04:00
|
|
|
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
|
|
|
|
|
2017-03-21 18:19:35 +04:00
|
|
|
val delegate_contract:
|
|
|
|
Client_commands.context ->
|
|
|
|
Client_proto_rpcs.block ->
|
|
|
|
?force:bool ->
|
|
|
|
source:Contract.t ->
|
|
|
|
?src_pk:public_key ->
|
|
|
|
manager_sk:secret_key ->
|
|
|
|
fee:Tez.t ->
|
|
|
|
public_key_hash option ->
|
|
|
|
unit tzresult Lwt.t
|
|
|
|
|
2016-12-03 16:05:02 +04:00
|
|
|
val commands: unit -> Client_commands.command list
|