package tezos-protocol-002-PsYLVpVv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val list : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> ?active:bool -> ?inactive:bool -> unit -> (Tezos_base__TzPervasives.Signature.public_key_hash list, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
type info = {
  1. balance : Alpha_context.Tez.t;
  2. frozen_balance : Alpha_context.Tez.t;
  3. frozen_balance_by_cycle : Alpha_context.Delegate.frozen_balance Alpha_context.Cycle.Map.t;
  4. staking_balance : Alpha_context.Tez.t;
  5. delegated_contracts : Contract_hash.t list;
  6. delegated_balance : Alpha_context.Tez.t;
  7. deactivated : bool;
  8. grace_period : Alpha_context.Cycle.t;
}
val info_encoding : info Tezos_base__TzPervasives.Data_encoding.t
val info : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (info, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val balance : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val frozen_balance : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val frozen_balance_by_cycle : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Delegate.frozen_balance Alpha_context.Cycle.Map.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val staking_balance : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val delegated_contracts : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Contract_hash.t list, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val delegated_balance : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val deactivated : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (bool, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
val grace_period : 'a Tezos_protocol_environment_002_PsYLVpVv__Environment.RPC_context.simple -> 'a -> Tezos_base__TzPervasives.Signature.public_key_hash -> (Alpha_context.Cycle.t, Tezos_base__TzPervasives.Error_monad.error list) Stdlib.result Lwt.t
module Baking_rights : sig ... end
module Endorsing_rights : sig ... end
val endorsement_rights : Alpha_context.t -> Alpha_context.Level.t -> (Alpha_context.public_key_hash list, Tezos_protocol_environment_002_PsYLVpVv__Environment.Error_monad.error list) Stdlib.result Lwt.t
val baking_rights : Alpha_context.t -> int option -> (Alpha_context.Raw_level.t * (Alpha_context.public_key_hash * Tezos_base__TzPervasives.Time.Protocol.t option) list, Tezos_protocol_environment_002_PsYLVpVv__Environment.Error_monad.error list) Stdlib.result Lwt.t
val register : unit -> unit
OCaml

Innovation. Community. Security.