package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val list : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> ?active:bool -> ?inactive:bool -> unit -> (Tezos_crypto.Signature.public_key_hash list, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
type info = {
  1. full_balance : Alpha_context.Tez.t;
    (*

    Balance + Frozen balance

    *)
  2. current_frozen_deposits : Alpha_context.Tez.t;
  3. frozen_deposits : Alpha_context.Tez.t;
  4. staking_balance : Alpha_context.Tez.t;
  5. frozen_deposits_limit : Alpha_context.Tez.t option;
  6. delegated_contracts : Alpha_context.Contract.t list;
  7. delegated_balance : Alpha_context.Tez.t;
  8. deactivated : bool;
  9. grace_period : Alpha_context.Cycle.t;
  10. voting_power : int32;
}
val info_encoding : info Data_encoding.t
val info : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (info, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val full_balance : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val current_frozen_deposits : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val frozen_deposits : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val staking_balance : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val frozen_deposits_limit : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t option, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val delegated_contracts : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Contract.t list, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val delegated_balance : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Tez.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val deactivated : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (bool, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val grace_period : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Tezos_crypto.Signature.public_key_hash -> (Alpha_context.Cycle.t, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val voting_power : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Alpha_context.public_key_hash -> (int32, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val participation : 'a Tezos_protocol_environment_012_Psithaca__Environment.RPC_context.simple -> 'a -> Alpha_context.public_key_hash -> (Alpha_context.Delegate.participation_info, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val register : unit -> unit
OCaml

Innovation. Community. Security.