package tezos-protocol-011-PtHangz2

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get : context -> Contract.t -> (public_key_hash option, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val set : context -> Contract.t -> public_key_hash option -> (context, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val fold : context -> init:'a -> f:(public_key_hash -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val list : context -> public_key_hash list Lwt.t
val check_delegate : context -> public_key_hash -> (unit, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val freeze_deposit : context -> public_key_hash -> Tez.t -> (context, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val freeze_rewards : context -> public_key_hash -> Tez.t -> (context, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val freeze_fees : context -> public_key_hash -> Tez.t -> (context, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val cycle_end : context -> Cycle.t -> Nonce.unrevealed list -> (context * Receipt.balance_updates * Tezos_crypto.Signature.public_key_hash list, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
type frozen_balance = {
  1. deposit : Tez.t;
  2. fees : Tez.t;
  3. rewards : Tez.t;
}
val punish : context -> public_key_hash -> Cycle.t -> (context * frozen_balance, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val full_balance : context -> public_key_hash -> (Tez.t, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val has_frozen_balance : context -> public_key_hash -> Cycle.t -> (bool, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val frozen_balance : context -> public_key_hash -> (Tez.t, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val frozen_balance_encoding : frozen_balance Data_encoding.t
val frozen_balance_by_cycle_encoding : frozen_balance Cycle.Map.t Data_encoding.t
val staking_balance : context -> Tezos_crypto.Signature.public_key_hash -> (Tez.t, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val delegated_contracts : context -> Tezos_crypto.Signature.public_key_hash -> Contract.t list Lwt.t
val delegated_balance : context -> Tezos_crypto.Signature.public_key_hash -> (Tez.t, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val deactivated : context -> Tezos_crypto.Signature.public_key_hash -> (bool, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t
val grace_period : context -> Tezos_crypto.Signature.public_key_hash -> (Cycle.t, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result Lwt.t