Module Alpha_context.Constants

type fixed

Fixed constants

type delegate_selection =
| Random
| Round_robin_over of Tezos_protocol_environment_alpha__Environment.Signature.Public_key.t list list
val fixed_encoding : fixed Tezos_protocol_environment_alpha__Environment.Data_encoding.t
val proof_of_work_nonce_size : int
val nonce_length : int
val max_anon_ops_per_block : int
val max_operation_data_length : int
val max_proposals_per_delegate : int
val michelson_maximum_type_size : int
type ratio = {
numerator : int;
denominator : int;
}
val ratio_encoding : ratio Tezos_protocol_environment_alpha__Environment.Data_encoding.t
val pp_ratio : Tezos_protocol_environment_alpha__Environment.Format.formatter -> ratio -> unit
type parametric = {
preserved_cycles : int;
blocks_per_cycle : int32;
blocks_per_commitment : int32;
blocks_per_stake_snapshot : int32;
blocks_per_voting_period : int32;
hard_gas_limit_per_operation : Gas.Arith.integral;
hard_gas_limit_per_block : Gas.Arith.integral;
proof_of_work_threshold : int64;
tokens_per_roll : Tez.t;
seed_nonce_revelation_tip : Tez.t;
origination_size : int;
baking_reward_fixed_portion : Tez.t;
baking_reward_bonus_per_slot : Tez.t;
endorsing_reward_per_slot : Tez.t;
cost_per_byte : Tez.t;
hard_storage_limit_per_operation : Tezos_protocol_environment_alpha__Environment.Z.t;
quorum_min : int32;
quorum_max : int32;
min_proposal_quorum : int32;
liquidity_baking_subsidy : Tez.t;
liquidity_baking_sunset_level : int32;
liquidity_baking_escape_ema_threshold : int32;
max_operations_time_to_live : int;
round_durations : Round.round_durations;
minimal_participation_ratio : ratio;
consensus_committee_size : int;
consensus_threshold : int;
max_slashing_period : int;
frozen_deposits_percentage : int;
double_baking_punishment : Tez.t;
ratio_of_frozen_deposits_slashed_per_double_endorsement : ratio;
delegate_selection : delegate_selection;
}

Constants parameterized by context

module Generated : sig ... end
val parametric_encoding : parametric Tezos_protocol_environment_alpha__Environment.Data_encoding.t
val parametric : context -> parametric
val preserved_cycles : context -> int
val blocks_per_cycle : context -> int32
val blocks_per_commitment : context -> int32
val blocks_per_stake_snapshot : context -> int32
val blocks_per_voting_period : context -> int32
val hard_gas_limit_per_operation : context -> Gas.Arith.integral
val hard_gas_limit_per_block : context -> Gas.Arith.integral
val cost_per_byte : context -> Tez.t
val hard_storage_limit_per_operation : context -> Tezos_protocol_environment_alpha__Environment.Z.t
val proof_of_work_threshold : context -> int64
val tokens_per_roll : context -> Tez.t
val seed_nonce_revelation_tip : context -> Tez.t
val origination_size : context -> int
val baking_reward_fixed_portion : context -> Tez.t
val baking_reward_bonus_per_slot : context -> Tez.t
val endorsing_reward_per_slot : context -> Tez.t
val quorum_min : context -> int32
val quorum_max : context -> int32
val min_proposal_quorum : context -> int32
val liquidity_baking_subsidy : context -> Tez.t
val liquidity_baking_sunset_level : context -> int32
val liquidity_baking_escape_ema_threshold : context -> int32
val round_durations : context -> Round.round_durations
val consensus_committee_size : context -> int
val consensus_threshold : context -> int
val minimal_participation_ratio : context -> ratio
val max_slashing_period : context -> int
val frozen_deposits_percentage : context -> int
val double_baking_punishment : context -> Tez.t
val ratio_of_frozen_deposits_slashed_per_double_endorsement : context -> ratio
val delegate_selection_encoding : delegate_selection Tezos_protocol_environment_alpha__Environment.Data_encoding.t
type t = private {
fixed : fixed;
parametric : parametric;
}

All constants: fixed and parametric

val all : context -> t
val encoding : t Tezos_protocol_environment_alpha__Environment.Data_encoding.t