Constants.Parametric
Constants parameterized by context. See Constants_parametric_repr
.
type dal = {
feature_enable : bool;
incentives_enable : bool;
number_of_slots : int;
attestation_lag : int;
attestation_threshold : int;
cryptobox_parameters : Mavryk_protocol_environment_alpha.Dal.parameters;
}
val dal_encoding : dal Mavryk_protocol_environment_alpha.Data_encoding.t
type sc_rollup_reveal_activation_level = {
raw_data : sc_rollup_reveal_hashing_schemes;
metadata : Raw_level.t;
dal_page : Raw_level.t;
dal_parameters : Raw_level.t;
dal_attested_slots_validity_lag : int;
}
type sc_rollup = {
arith_pvm_enable : bool;
origination_size : int;
challenge_window_in_blocks : int;
stake_amount : Tez.t;
commitment_period_in_blocks : int;
max_lookahead_in_blocks : int32;
max_active_outbox_levels : int32;
max_outbox_messages_per_level : int;
number_of_sections_in_dissection : int;
timeout_period_in_blocks : int;
max_number_of_stored_cemented_commitments : int;
max_number_of_parallel_games : int;
reveal_activation_level : sc_rollup_reveal_activation_level;
private_enable : bool;
riscv_pvm_enable : bool;
}
type adaptive_rewards_params = {
issuance_ratio_final_min : Mavryk_protocol_environment_alpha.Q.t;
issuance_ratio_final_max : Mavryk_protocol_environment_alpha.Q.t;
issuance_ratio_initial_min : Mavryk_protocol_environment_alpha.Q.t;
issuance_ratio_initial_max : Mavryk_protocol_environment_alpha.Q.t;
initial_period : int;
transition_period : int;
max_bonus : Issuance_bonus_repr.max_bonus;
growth_rate : Mavryk_protocol_environment_alpha.Q.t;
center_dz : Mavryk_protocol_environment_alpha.Q.t;
radius_dz : Mavryk_protocol_environment_alpha.Q.t;
}
type adaptive_issuance = {
global_limit_of_staking_over_baking : int;
edge_of_staking_over_delegation : int;
launch_ema_threshold : int32;
adaptive_rewards_params : adaptive_rewards_params;
activation_vote_enable : bool;
autostaking_enable : bool;
force_activation : bool;
ns_enable : bool;
}
type issuance_weights = {
base_total_issued_per_minute : Tez.t;
baking_reward_fixed_portion_weight : int;
baking_reward_bonus_weight : int;
attesting_reward_weight : int;
seed_nonce_revelation_tip_weight : int;
vdf_revelation_tip_weight : int;
}
type t = {
consensus_rights_delay : int;
blocks_preservation_cycles : int;
delegate_parameters_activation_delay : int;
blocks_per_cycle : int32;
blocks_per_commitment : int32;
nonce_revelation_threshold : int32;
cycles_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;
minimal_stake : Tez.t;
minimal_frozen_stake : Tez.t;
vdf_difficulty : int64;
origination_size : int;
issuance_weights : issuance_weights;
cost_per_byte : Tez.t;
hard_storage_limit_per_operation : Mavryk_protocol_environment_alpha.Z.t;
quorum_min : int32;
quorum_max : int32;
min_proposal_quorum : int32;
liquidity_baking_subsidy : Tez.t;
liquidity_baking_toggle_ema_threshold : int32;
max_operations_time_to_live : int;
minimal_block_delay : Period.t;
delay_increment_per_round : Period.t;
minimal_participation_ratio : Ratio.t;
consensus_committee_size : int;
consensus_threshold : int;
limit_of_delegation_over_baking : int;
percentage_of_frozen_deposits_slashed_per_double_baking : Percentage.t;
percentage_of_frozen_deposits_slashed_per_double_attestation : Percentage.t;
max_slashing_per_block : Percentage.t;
max_slashing_threshold : int;
testnet_dictator : public_key_hash option;
initial_seed : State_hash.t option;
cache_script_size : int;
cache_stake_distribution_cycles : int;
cache_sampler_state_cycles : int;
dal : dal;
sc_rollup : sc_rollup;
zk_rollup : zk_rollup;
adaptive_issuance : adaptive_issuance;
direct_ticket_spending_enable : bool;
}
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
module Internal_for_tests : sig ... end