package octez-protocol-018-Proxford-libs

  1. Overview
  2. Docs
Octez protocol 018-Proxford libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-protocol-018-Proxford-libs.client/Tezos_client_018_Proxford/Injection/index.html

Module Tezos_client_018_Proxford.InjectionSource

Sourcetype 'kind preapply_result = Tezos_base.TzPervasives.Operation_hash.t * 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.operation * 'kind Tezos_protocol_018_Proxford.Protocol.Apply_results.operation_metadata
Sourcetype fee_parameter = {
  1. minimal_fees : Tezos_protocol_018_Proxford.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_018_Proxford.Protocol.Alpha_context.Tez.t;
  6. burn_cap : Tezos_protocol_018_Proxford.Protocol.Alpha_context.Tez.t;
}
Sourceval preapply : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?verbose_signing:bool -> ?fee_parameter:fee_parameter -> ?branch:int -> ?src_sk:Tezos_client_base.Client_keys.sk_uri -> 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.contents_list -> 'kind preapply_result Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval simulate : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?successor_level:bool -> ?branch:int -> ?latency:int -> 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.contents_list -> 'kind preapply_result Tezos_base.TzPervasives.tzresult Lwt.t

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

Sourcetype 'kind result_list = Tezos_base.TzPervasives.Operation_hash.t * 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.contents_list * 'kind Tezos_protocol_018_Proxford.Protocol.Apply_results.contents_result_list
Sourceval 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_018_Proxford.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.

Sourcetype 'kind result = Tezos_base.TzPervasives.Operation_hash.t * 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.contents * 'kind Tezos_protocol_018_Proxford.Protocol.Apply_results.contents_result
Sourceval prepare_manager_operation : fee:Tezos_protocol_018_Proxford.Protocol.Alpha_context.Tez.t Limit.t -> gas_limit: Tezos_protocol_018_Proxford.Protocol.Alpha_context.Gas.Arith.integral Limit.t -> storage_limit:Z.t Limit.t -> 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.manager_operation -> 'kind Annotated_manager_operation.t
Sourceval inject_manager_operation : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?successor_level:bool -> ?branch:int -> ?confirmations:int -> ?dry_run:bool -> ?verbose_signing:bool -> ?simulation:bool -> ?force:bool -> source:Tezos_base.TzPervasives.Signature.Public_key_hash.t -> src_pk:Tezos_base.TzPervasives.Signature.public_key -> src_sk:Tezos_client_base.Client_keys.sk_uri -> fee:Tezos_protocol_018_Proxford.Protocol.Alpha_context.Tez.t Limit.t -> gas_limit: Tezos_protocol_018_Proxford.Protocol.Alpha_context.Gas.Arith.integral Limit.t -> storage_limit:Z.t Limit.t -> ?counter:Tezos_protocol_018_Proxford.Protocol.Alpha_context.Manager_counter.t -> ?replace_by_fees:bool -> fee_parameter:fee_parameter -> 'kind Annotated_manager_operation.annotated_list -> (Tezos_base.TzPervasives.Operation_hash.t * Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation * 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.Kind.manager Tezos_protocol_018_Proxford.Protocol.Alpha_context.contents_list * 'kind Tezos_protocol_018_Proxford.Protocol.Alpha_context.Kind.manager Tezos_protocol_018_Proxford.Protocol.Apply_results.contents_result_list) Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval originated_contracts : force:bool -> 'kind Tezos_protocol_018_Proxford.Protocol.Apply_results.contents_result_list -> Tezos_protocol_018_Proxford.Protocol.Contract_hash.t list Tezos_base.TzPervasives.tzresult

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.