2018-04-22 12:50:34 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
open Proto_alpha
|
|
|
|
open Alpha_context
|
|
|
|
open Apply_operation_result
|
|
|
|
|
2018-04-30 21:06:06 +04:00
|
|
|
type 'kind preapply_result =
|
|
|
|
Operation_hash.t * 'kind operation * 'kind operation_metadata
|
2018-04-22 12:50:34 +04:00
|
|
|
|
|
|
|
val preapply:
|
|
|
|
#Proto_alpha.full ->
|
2018-04-22 16:40:44 +04:00
|
|
|
chain:Shell_services.chain ->
|
|
|
|
block:Shell_services.block ->
|
2018-04-22 12:50:34 +04:00
|
|
|
?branch:int ->
|
|
|
|
?src_sk:Client_keys.sk_uri ->
|
2018-04-30 21:06:06 +04:00
|
|
|
'kind contents_list ->
|
|
|
|
'kind preapply_result tzresult Lwt.t
|
|
|
|
|
|
|
|
type 'kind result_list =
|
|
|
|
Operation_hash.t * 'kind contents_list * 'kind contents_result_list
|
2018-04-22 12:50:34 +04:00
|
|
|
|
|
|
|
val inject_operation:
|
|
|
|
#Proto_alpha.full ->
|
2018-04-22 16:40:44 +04:00
|
|
|
chain:Shell_services.chain ->
|
|
|
|
block:Shell_services.block ->
|
2018-04-22 12:50:34 +04:00
|
|
|
?confirmations:int ->
|
|
|
|
?branch:int ->
|
|
|
|
?src_sk:Client_keys.sk_uri ->
|
2018-04-30 21:06:06 +04:00
|
|
|
'kind contents_list ->
|
|
|
|
'kind result_list tzresult Lwt.t
|
|
|
|
|
|
|
|
type 'kind result =
|
|
|
|
Operation_hash.t * 'kind contents * 'kind contents_result
|
|
|
|
|
|
|
|
val inject_manager_operation:
|
|
|
|
#Proto_alpha.full ->
|
|
|
|
chain:Shell_services.chain ->
|
|
|
|
block:Shell_services.block ->
|
|
|
|
?branch:int ->
|
|
|
|
?confirmations:int ->
|
|
|
|
source:Contract.t ->
|
|
|
|
src_pk:Signature.public_key ->
|
|
|
|
src_sk:Client_keys.sk_uri ->
|
|
|
|
fee:Tez.t ->
|
|
|
|
?gas_limit:Z.t ->
|
|
|
|
?storage_limit:int64 ->
|
|
|
|
'kind manager_operation ->
|
|
|
|
'kind Kind.manager result tzresult Lwt.t
|
2018-04-22 12:50:34 +04:00
|
|
|
|
2018-04-30 21:06:06 +04:00
|
|
|
val originated_contracts:
|
|
|
|
'kind contents_result_list -> Contract.t list tzresult
|