package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type fee_parameter = {
  1. minimal_fees : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  2. minimal_nanotez_per_byte : Q.t;
  3. minimal_nanotez_per_gas_unit : Q.t;
  4. force_low_fee : bool;
  5. fee_cap : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  6. burn_cap : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
}

Perform simulation of the given operations and return the corresponding preapply_results.

val inject_operation : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?confirmations:int -> ?dry_run:bool -> ?simulation:bool -> ?successor_level:bool -> ?branch:int -> ?src_sk:Tezos_client_base.Client_keys.sk_uri -> ?verbose_signing:bool -> ?fee_parameter:fee_parameter -> 'kind Tezos_protocol_alpha.Protocol.Alpha_context.contents_list -> 'kind result_list Tezos_base.TzPervasives.tzresult Lwt.t

/!\ inject_operation does not perform automatic patching of gas, storage and fees; use inject_manager_operation to inject manager operations.

Collects the addresses of all contracts originated by a batch of operations by looking at the operation results. Fails if an operation in the batch is failed unless force is given.

OCaml

Innovation. Community. Security.