package octez-protocol-005-PsBabyM1-libs

  1. Overview
  2. Docs
val list_contract_labels : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> (string * string * string) list Tezos_base.TzPervasives.tzresult Lwt.t
val get_storage : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Script.expr option Tezos_base.TzPervasives.tzresult Lwt.t
val get_big_map_value : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Z.t -> Tezos_protocol_005_PsBabyM1.Protocol.Script_expr_hash.t -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Script.expr Tezos_base.TzPervasives.tzresult Lwt.t
val get_script : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Script.t option Tezos_base.TzPervasives.tzresult Lwt.t
val get_balance : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Contract.t -> Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Tez.t Tezos_base.TzPervasives.tzresult Lwt.t
type period_info = {
  1. current_period_kind : Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Voting_period.kind;
  2. position : Stdlib.Int32.t;
  3. remaining : Stdlib.Int32.t;
  4. current_proposal : Tezos_base.TzPervasives.Protocol_hash.t option;
}
type ballots_info = {
  1. current_quorum : Stdlib.Int32.t;
  2. participation : Stdlib.Int32.t;
  3. supermajority : Stdlib.Int32.t;
  4. ballots : Tezos_protocol_005_PsBabyM1.Protocol.Alpha_context.Vote.ballots;
}
val get_period_info : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> period_info Tezos_base.TzPervasives.tzresult Lwt.t
val get_ballots_info : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ballots_info Tezos_base.TzPervasives.tzresult Lwt.t
val get_proposals : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Stdlib.Int32.t Tezos_protocol_005_PsBabyM1.Environment.Protocol_hash.Map.t Tezos_base.TzPervasives.tzresult Lwt.t
val display_receipt_for_operation : Protocol_client_context.full -> chain:Tezos_shell_services.Block_services.chain -> ?predecessors:int -> Tezos_base.TzPervasives.Operation_list_hash.elt -> unit Tezos_base.TzPervasives.tzresult Lwt.t

lookup an operation in predecessors previous blocks, and print the receipt if found

OCaml

Innovation. Community. Security.