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
|
|
|
|
|
|
|
|
type result = Operation_hash.t * operation * operation_result
|
|
|
|
|
|
|
|
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-21 01:04:33 +04:00
|
|
|
Operation.contents ->
|
2018-04-22 12:50:34 +04:00
|
|
|
result tzresult Lwt.t
|
|
|
|
|
|
|
|
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-21 01:04:33 +04:00
|
|
|
Operation.contents ->
|
2018-04-22 12:50:34 +04:00
|
|
|
result tzresult Lwt.t
|
|
|
|
|
|
|
|
val originated_contracts: operation_result -> Contract.t list tzresult
|