
Costs are yet to be tweaked. This patch is joint work between: Milo Davis <davis.mil@husky.neu.edu> Benjamin Canou <benjamin@canou.fr> Pierre Chambart <pierre.chambart@ocamlpro.com>
33 lines
1.3 KiB
OCaml
33 lines
1.3 KiB
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2017. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
open Tezos_context
|
|
|
|
type error += Overflow of Script.location
|
|
type error += Reject of Script.location
|
|
type error += Runtime_contract_error : Contract.t * Script.expr -> error
|
|
|
|
val dummy_code_fee : Tez.t
|
|
val dummy_storage_fee : Tez.t
|
|
|
|
val execute:
|
|
Contract.origination_nonce ->
|
|
Contract.t -> Contract.t -> Tezos_context.t ->
|
|
Script.t -> Tez.t ->
|
|
Script.expr -> Gas.t ->
|
|
(Script.expr * Script.expr * Gas.t * context * Contract.origination_nonce) tzresult Lwt.t
|
|
|
|
val trace:
|
|
Contract.origination_nonce ->
|
|
Contract.t -> Contract.t -> Tezos_context.t ->
|
|
Script.t -> Tez.t ->
|
|
Script.expr -> Gas.t ->
|
|
((Script.expr * Script.expr * Gas.t * context * Contract.origination_nonce) *
|
|
(Script.location * Gas.t * Script.expr list) list) tzresult Lwt.t
|