Alpha_context.Delegate
This module re-exports definitions from Delegate_storage
, Delegate_consensus_key
, Delegate_missed_attestations_storage
, Delegate_slashed_deposits_storage
, Delegate_cycles
, Delegate_rewards
, and Forbidden_delegates_storage
.
val check_not_mv4 :
Mavryk_protocol_environment_alpha.Signature.public_key_hash ->
unit Mavryk_protocol_environment_alpha.Error_monad.tzresult
val frozen_deposits_limit :
context ->
public_key_hash ->
Tez.t option Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val set_frozen_deposits_limit :
context ->
public_key_hash ->
Tez.t option ->
context Mavryk_protocol_environment_alpha.Lwt.t
val fold :
context ->
order:[ `Sorted | `Undefined ] ->
init:'a ->
f:(public_key_hash -> 'a -> 'a Mavryk_protocol_environment_alpha.Lwt.t) ->
'a Mavryk_protocol_environment_alpha.Lwt.t
val list :
context ->
public_key_hash list Mavryk_protocol_environment_alpha.Lwt.t
val drain :
context ->
delegate:public_key_hash ->
destination:public_key_hash ->
(context * bool * Tez.t * Receipt.balance_updates)
Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val cycle_end :
context ->
Cycle.t ->
(context * Receipt.balance_updates * public_key_hash list)
Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val already_denounced :
context ->
public_key_hash ->
Level.t ->
Round.t ->
Misbehaviour.kind ->
bool Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val punish_double_signing :
context ->
operation_hash:Mavryk_protocol_environment_alpha.Operation_hash.t ->
Misbehaviour.t ->
public_key_hash ->
Level.t ->
rewarded:public_key_hash ->
context Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val record_baking_activity_and_pay_rewards_and_fees :
context ->
payload_producer:public_key_hash ->
block_producer:public_key_hash ->
baking_reward:Tez.t ->
reward_bonus:Tez.t option ->
(context * Receipt.balance_updates)
Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val record_attesting_participation :
context ->
delegate:public_key_hash ->
participation:level_participation ->
attesting_power:int ->
context Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val current_frozen_deposits :
context ->
public_key_hash ->
Tez.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val initial_frozen_deposits :
context ->
public_key_hash ->
Tez.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val delegated_contracts :
context ->
public_key_hash ->
Contract.t list Mavryk_protocol_environment_alpha.Lwt.t
val registered :
context ->
public_key_hash ->
bool Mavryk_protocol_environment_alpha.Lwt.t
val deactivated :
context ->
public_key_hash ->
bool Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val is_forbidden_delegate : t -> public_key_hash -> bool
val last_cycle_before_deactivation :
context ->
public_key_hash ->
Cycle.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
module Consensus_key : sig ... end
val prepare_stake_distribution :
context ->
context Mavryk_protocol_environment_alpha.Error_monad.tzresult
Mavryk_protocol_environment_alpha.Lwt.t
module Rewards : sig ... end
module Staking_parameters : sig ... end
module For_RPC : sig ... end
The functions in this module are considered too costly to be used in the protocol. They are meant to be used only to answer RPC calls.