Module Alpha_context.Constants

This module re-exports definitions from Constants_repr and Constants_storage.

type fixed

Fixed constants

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
module Parametric : sig ... end

Constants parameterized by context. See Constants_parametric_repr.

module Generated : sig ... end
val parametric : context -> Parametric.t
val tx_rollup : context -> Parametric.tx_rollup
val sc_rollup : context -> Parametric.sc_rollup
val preserved_cycles : context -> int
val blocks_per_cycle : context -> int32
val blocks_per_commitment : context -> int32
val nonce_revelation_threshold : context -> int32
val blocks_per_stake_snapshot : context -> int32
val cycles_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.Z.t
val proof_of_work_threshold : context -> int64
val minimal_stake : context -> Tez.t
val vdf_difficulty : context -> int64
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_toggle_ema_threshold : context -> int32
val minimal_block_delay : context -> Period.t
val delay_increment_per_round : context -> Period.t
val round_durations : context -> Round.round_durations
val consensus_committee_size : context -> int
val consensus_threshold : context -> int
val minimal_participation_ratio : context -> Ratio.t
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.t
val testnet_dictator : context -> public_key_hash option
val tx_rollup_enable : context -> bool
val tx_rollup_origination_size : context -> int
val tx_rollup_hard_size_limit_per_inbox : context -> int
val tx_rollup_hard_size_limit_per_message : context -> int
val tx_rollup_max_withdrawals_per_batch : context -> int
val tx_rollup_commitment_bond : context -> Tez.t
val tx_rollup_finality_period : context -> int
val tx_rollup_max_inboxes_count : context -> int
val tx_rollup_max_messages_per_inbox : context -> int
val tx_rollup_max_commitments_count : context -> int
val tx_rollup_max_ticket_payload_size : context -> int
val tx_rollup_rejection_max_proof_size : context -> int
val tx_rollup_sunset_level : context -> int32
val sc_rollup_enable : context -> bool
val dal_enable : context -> bool
val sc_rollup_origination_size : context -> int
val sc_rollup_max_number_of_messages_per_commitment_period : context -> int
val sc_rollup_stake_amount : t -> Tez.t
val sc_rollup_commitment_period_in_blocks : t -> int
val sc_rollup_max_lookahead_in_blocks : t -> int32
val sc_rollup_max_active_outbox_levels : context -> int32
val sc_rollup_max_outbox_messages_per_level : context -> int
val sc_rollup_number_of_sections_in_dissection : context -> int
val max_number_of_stored_cemented_commitments : context -> int
val zk_rollup_enable : context -> bool
val zk_rollup_min_pending_to_process : context -> int
type t = private {
fixed : fixed;
parametric : Parametric.t;
}

All constants: fixed and parametric

val all : context -> t