Mavryk_raw_protocol_alpha.Constants_storageThis module provides functions to extract the value of protocol parameters from the context. See Constant_repr.parametric for more details about these values.
val consensus_rights_delay : Raw_context.t -> intval blocks_preservation_cycles : Raw_context.t -> intval delegate_parameters_activation_delay : Raw_context.t -> intval blocks_per_cycle : Raw_context.t -> int32val blocks_per_commitment : Raw_context.t -> int32val nonce_revelation_threshold : Raw_context.t -> int32val cycles_per_voting_period : Raw_context.t -> int32val hard_gas_limit_per_operation :
Raw_context.t ->
Gas_limit_repr.Arith.integralval hard_gas_limit_per_block : Raw_context.t -> Gas_limit_repr.Arith.integralval cost_per_byte : Raw_context.t -> Tez_repr.tval hard_storage_limit_per_operation :
Raw_context.t ->
Mavryk_protocol_environment_alpha.Z.tval proof_of_work_threshold : Raw_context.t -> int64val minimal_stake : Raw_context.t -> Tez_repr.tval minimal_frozen_stake : Raw_context.t -> Tez_repr.tval vdf_difficulty : Raw_context.t -> int64val origination_size : Raw_context.t -> intval issuance_weights :
Raw_context.t ->
Constants_parametric_repr.issuance_weightsval quorum_min : Raw_context.t -> int32val quorum_max : Raw_context.t -> int32val min_proposal_quorum : Raw_context.t -> int32val liquidity_baking_toggle_ema_threshold : Raw_context.t -> int32val parametric : Raw_context.t -> Constants_parametric_repr.tval sc_rollup : Raw_context.t -> Constants_parametric_repr.sc_rollupval consensus_committee_size : Raw_context.t -> intval consensus_threshold : Raw_context.t -> intval minimal_participation_ratio : Raw_context.t -> Ratio_repr.tval limit_of_delegation_over_baking : Raw_context.t -> intval percentage_of_frozen_deposits_slashed_per_double_baking :
Raw_context.t ->
Percentage.tval percentage_of_frozen_deposits_slashed_per_double_attestation :
Raw_context.t ->
Percentage.tval testnet_dictator :
Raw_context.t ->
Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t optionval minimal_block_delay : Raw_context.t -> Period_repr.tval delay_increment_per_round : Raw_context.t -> Period_repr.tval sc_rollup_arith_pvm_enable : Raw_context.t -> boolval sc_rollup_origination_size : Raw_context.t -> intval sc_rollup_challenge_window_in_blocks : Raw_context.t -> intval sc_rollup_stake_amount : Raw_context.t -> Tez_repr.tval sc_rollup_commitment_period_in_blocks : Raw_context.t -> intval sc_rollup_max_lookahead_in_blocks : Raw_context.t -> int32val sc_rollup_max_active_outbox_levels : Raw_context.t -> int32val sc_rollup_max_outbox_messages_per_level : Raw_context.t -> intval sc_rollup_number_of_sections_in_dissection : Raw_context.t -> intval sc_rollup_max_number_of_parallel_games : Raw_context.t -> intval sc_rollup_riscv_pvm_enable : Raw_context.t -> boolval max_number_of_stored_cemented_commitments : Raw_context.t -> intval sc_rollup_timeout_period_in_blocks : Raw_context.t -> intval sc_rollup_reveal_activation_level :
Raw_context.t ->
Constants_parametric_repr.sc_rollup_reveal_activation_levelval sc_rollup_private_enable : Raw_context.t -> boolval dal_number_of_slots : Raw_context.t -> intval dal_enable : Raw_context.t -> boolval zk_rollup_enable : Raw_context.t -> boolval zk_rollup_min_pending_to_process : Raw_context.t -> intval zk_rollup_origination_size : Raw_context.t -> intval zk_rollup_max_ticket_payload_size : Raw_context.t -> intval adaptive_issuance_enable : Raw_context.t -> boolval adaptive_issuance_global_limit_of_staking_over_baking :
Raw_context.t ->
intval adaptive_issuance_edge_of_staking_over_delegation : Raw_context.t -> intval adaptive_issuance_launch_ema_threshold : Raw_context.t -> int32val adaptive_issuance_activation_vote_enable : Raw_context.t -> boolval adaptive_issuance_rewards_params :
Raw_context.t ->
Constants_parametric_repr.adaptive_rewards_paramsval adaptive_issuance_autostaking_enable : Raw_context.t -> boolval adaptive_issuance_force_activation : Raw_context.t -> boolval adaptive_issuance_ns_enable : Raw_context.t -> boolval direct_ticket_spending_enable : Raw_context.t -> boolThe following accessors are not actual parameters, but constants that derive from the protocol parameter.
val issuance_modification_delay : Raw_context.t -> intDelay, in cycles, before the current state of the stake impacts the issuance rate.
val adaptive_issuance_activation_delay : Raw_context.t -> intDelay, in cycles, before activation of AI after the voting EMA threshold is reached
val tolerated_inactivity_period : Raw_context.t -> intTolerated period of inactivity, in cycles, before a delegate is deactivated
val consensus_key_activation_delay : Raw_context.t -> intDelay before the activation of a consensus key, in cycles
Number of cycles during which a misbehavior of a delegate will induce a slashing of the funds that are currently in its frozen deposit.
val slashable_deposits_period : Raw_context.t -> int