package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Constants parameterized by context. See Constants_parametric_repr.

type dal = {
  1. feature_enable : bool;
  2. number_of_slots : int;
  3. attestation_lag : int;
  4. attestation_threshold : int;
  5. blocks_per_epoch : int32;
  6. cryptobox_parameters : Tezos_protocol_environment_alpha.Dal.parameters;
}
type sc_rollup_reveal_hashing_schemes = {
  1. blake2B : Raw_level.t;
}
type sc_rollup_reveal_activation_level = {
  1. raw_data : sc_rollup_reveal_hashing_schemes;
  2. metadata : Raw_level.t;
  3. dal_page : Raw_level.t;
}
type sc_rollup = {
  1. enable : bool;
  2. arith_pvm_enable : bool;
  3. origination_size : int;
  4. challenge_window_in_blocks : int;
  5. stake_amount : Tez.t;
  6. commitment_period_in_blocks : int;
  7. max_lookahead_in_blocks : int32;
  8. max_active_outbox_levels : int32;
  9. max_outbox_messages_per_level : int;
  10. number_of_sections_in_dissection : int;
  11. timeout_period_in_blocks : int;
  12. max_number_of_stored_cemented_commitments : int;
  13. max_number_of_parallel_games : int;
  14. reveal_activation_level : sc_rollup_reveal_activation_level;
  15. private_enable : bool;
}
type zk_rollup = {
  1. enable : bool;
  2. origination_size : int;
  3. min_pending_to_process : int;
  4. max_ticket_payload_size : int;
}
type adaptive_rewards_params = {
  1. issuance_ratio_min : Tezos_protocol_environment_alpha.Q.t;
  2. issuance_ratio_max : Tezos_protocol_environment_alpha.Q.t;
  3. max_bonus : int64;
  4. growth_rate : int64;
  5. center_dz : Tezos_protocol_environment_alpha.Q.t;
  6. radius_dz : Tezos_protocol_environment_alpha.Q.t;
}
type adaptive_issuance = {
  1. global_limit_of_staking_over_baking : int;
  2. edge_of_staking_over_delegation : int;
  3. launch_ema_threshold : int32;
  4. adaptive_rewards_params : adaptive_rewards_params;
}
type issuance_weights = {
  1. base_total_issued_per_minute : Tez.t;
  2. baking_reward_fixed_portion_weight : int;
  3. baking_reward_bonus_weight : int;
  4. attesting_reward_weight : int;
  5. liquidity_baking_subsidy_weight : int;
  6. seed_nonce_revelation_tip_weight : int;
  7. vdf_revelation_tip_weight : int;
}
type t = {
  1. preserved_cycles : int;
  2. blocks_per_cycle : int32;
  3. blocks_per_commitment : int32;
  4. nonce_revelation_threshold : int32;
  5. blocks_per_stake_snapshot : int32;
  6. cycles_per_voting_period : int32;
  7. hard_gas_limit_per_operation : Gas.Arith.integral;
  8. hard_gas_limit_per_block : Gas.Arith.integral;
  9. proof_of_work_threshold : int64;
  10. minimal_stake : Tez.t;
  11. minimal_frozen_stake : Tez.t;
  12. vdf_difficulty : int64;
  13. origination_size : int;
  14. issuance_weights : issuance_weights;
  15. cost_per_byte : Tez.t;
  16. hard_storage_limit_per_operation : Tezos_protocol_environment_alpha.Z.t;
  17. quorum_min : int32;
  18. quorum_max : int32;
  19. min_proposal_quorum : int32;
  20. liquidity_baking_toggle_ema_threshold : int32;
  21. max_operations_time_to_live : int;
  22. minimal_block_delay : Period.t;
  23. delay_increment_per_round : Period.t;
  24. minimal_participation_ratio : Ratio.t;
  25. consensus_committee_size : int;
  26. consensus_threshold : int;
  27. max_slashing_period : int;
  28. limit_of_delegation_over_baking : int;
  29. percentage_of_frozen_deposits_slashed_per_double_baking : int;
  30. percentage_of_frozen_deposits_slashed_per_double_attestation : int;
  31. testnet_dictator : public_key_hash option;
  32. initial_seed : State_hash.t option;
  33. cache_script_size : int;
  34. cache_stake_distribution_cycles : int;
  35. cache_sampler_state_cycles : int;
  36. dal : dal;
  37. sc_rollup : sc_rollup;
  38. zk_rollup : zk_rollup;
  39. adaptive_issuance : adaptive_issuance;
}
OCaml

Innovation. Community. Security.