Tezos_raw_protocol_023_PtSeouLo.Alpha_contextAn Alpha_context.t is an immutable snapshot of the ledger state at some block height, preserving type-safety and invariants of the ledger state.
Alpha_context.t is a wrapper over Raw_context.t, which in turn is a wrapper around Context.t from the Protocol Environment.
prepare or prepare_first_blockfinalizemodule type BASIC_DATA = sig ... endtype context = ttype public_key =
  Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key.ttype public_key_hash =
  Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key_hash.ttype signature = Tezos_protocol_environment_023_PtSeouLo.Signature.tmodule Staking_pseudotoken : sig ... endThis module re-exports definitions from Staking_pseudotoken_repr.
module Period : sig ... endThis module re-exports definitions from Period_repr.
module Ratio : sig ... endThis module re-exports definitions from Ratio_repr.
module Raw_level : sig ... endThis module re-exports definitions from Raw_level_repr.
module Cycle : sig ... endThis module re-exports definitions from Cycle_repr and Cycle_storage.
module Round : sig ... endThis module re-exports definitions from Round_repr.
module Gas : sig ... endThis module implements the gas subsystem of the context.
module Entrypoint : module type of Entrypoint_reprmodule Script : sig ... endThis module re-exports definitions from Script_repr and Michelson_v1_primitives.
module Constants : sig ... endThis module re-exports definitions from Constants_repr and Constants_storage.
module Global_constants_storage : sig ... endSee the definitions inside the module.
module Internal_for_tests : sig ... endThis module discloses definitions that are only useful for tests and must not be used otherwise.
module Level : sig ... endThis module re-exports definitions from Level_repr and Level_storage.
module Fitness : sig ... endThis module re-exports definitions from Fitness_repr.
module Nonce : sig ... endThis module re-exports definitions from Nonce_storage.
module Seed : sig ... endThis module re-exports definitions from Seed_repr and Seed_storage.
module Big_map : sig ... endBig maps are a data structure storing key-value associations, just like regular maps, but here the whole content of the structure is not loaded in memory when interacting with it. They are thus suitable for a Michelson contract, for instance, when there are a lot of bindings, but only a few items are accessed at each contract call.
module Sapling : sig ... endThis module re-exports definitions from Sapling_repr, Sapling_storage and Sapling_validator.
module Lazy_storage : sig ... endThis module re-exports definitions from Lazy_storage_diff.
module Origination_nonce : sig ... endSee the definitions inside the module.
module Ticket_hash : sig ... endThis module re-exports definitions from Ticket_hash_repr.
module Manager_counter : sig ... endThis module re-exports definitions from Manager_counter_repr.
module Contract : sig ... endThis module re-exports definitions from Contract_repr and Contract_storage.
module Bond_id : sig ... endThis module re-exports definitions from Bond_id_repr.
module Zk_rollup : sig ... endThis module re-exports definitions from Zk_rollup_repr and Zk_rollup_storage.
module Receipt : sig ... endThis module re-exports definitions from Receipt_repr and Staker_repr.
module Consensus_key : sig ... endThis module re-exports definitions from Delegate_consensus_key.
module Misbehaviour : sig ... endThis module re-exports definitions from Misbehaviour_repr.
module Delegate : sig ... endThis module re-exports definitions from Delegate_storage, Delegate_consensus_key, Delegate_missed_attestations_storage, Delegate_slashed_deposits_storage, Delegate_cycles, Delegate_rewards, and Forbidden_delegates_storage.
module Staking : sig ... endmodule Voting_period : sig ... endThis module re-exports definitions from Voting_period_repr and Voting_period_storage.
module Vote : sig ... endThis module re-exports definitions from Vote_repr and Vote_storage.
module Dal : sig ... endThis module exposes definitions for the data-availability layer.
module Dal_errors : sig ... endThis module re-exports definitions from Dal_errors_repr.
module Sc_rollup : sig ... endThis module re-exports definitions from Sc_rollup_storage and Sc_rollup_repr.
module Destination : sig ... endThis module re-exports definitions from Destination_repr.
module Block_payload : sig ... endSee Block_payload_repr.
module Block_header : sig ... endThis module re-exports definitions from Block_header_repr.
module Cache : sig ... endThis module re-exports definitions from Cache_repr.
module Kind : sig ... endThis module re-exports definitions from Operation_repr.Kind.
All the definitions below are re-exported from Operation_repr.
type 'a consensus_operation_type = | Attestation : Kind.attestation consensus_operation_type| Preattestation : Kind.preattestation consensus_operation_type| Preattestations_aggregate : Kind.preattestations_aggregate
                              consensus_operation_type| Attestations_aggregate : Kind.attestations_aggregate consensus_operation_typetype consensus_aggregate_content = {level : Raw_level.t;round : Round.t;block_payload_hash : Block_payload_hash.t;}type consensus_content = {slot : Slot.t;level : Raw_level.t;round : Round.t;block_payload_hash : Block_payload_hash.t;}val consensus_content_encoding : 
  consensus_content Tezos_protocol_environment_023_PtSeouLo.Data_encoding.tval pp_consensus_content : 
  Tezos_protocol_environment_023_PtSeouLo.Format.formatter ->
  consensus_content ->
  unittype 'kind operation = {shell : Tezos_protocol_environment_023_PtSeouLo.Operation.shell_header;protocol_data : 'kind protocol_data;}and _ contents_list = | Single : 'kind contents -> 'kind contents_list| Cons : 'kind Kind.manager contents
  * 'rest Kind.manager contents_list -> ('kind * 'rest) Kind.manager
                                          contents_listand _ contents = | Preattestation : consensus_content -> Kind.preattestation contents| Attestation : {consensus_content : consensus_content;dal_content : dal_content option;} -> Kind.attestation contents| Preattestations_aggregate : {consensus_content : consensus_aggregate_content;committee : Slot.t list;} -> Kind.preattestations_aggregate contents| Attestations_aggregate : {consensus_content : consensus_aggregate_content;committee : (Slot.t * dal_content option) list;} -> Kind.attestations_aggregate contents| Seed_nonce_revelation : {level : Raw_level.t;nonce : Nonce.t;} -> Kind.seed_nonce_revelation contents| Vdf_revelation : {solution : Seed.vdf_solution;} -> Kind.vdf_revelation contents| Double_consensus_operation_evidence : {slot : Slot.t;op1 : 'a Kind.consensus operation;op2 : 'b Kind.consensus operation;} -> Kind.double_consensus_operation_evidence contents| Double_baking_evidence : {bh1 : Block_header.t;bh2 : Block_header.t;} -> Kind.double_baking_evidence contents| Dal_entrapment_evidence : {attestation : 'a Kind.consensus operation;consensus_slot : Slot.t;slot_index : Dal.Slot_index.t;shard_with_proof : Dal.Shard_with_proof.t;} -> Kind.dal_entrapment_evidence contents| Activate_account : {id : Tezos_protocol_environment_023_PtSeouLo.Ed25519.Public_key_hash.t;activation_code : Blinded_public_key_hash.activation_code;} -> Kind.activate_account contents| Proposals : {source : public_key_hash;period : int32;proposals : Tezos_protocol_environment_023_PtSeouLo.Protocol_hash.t list;} -> Kind.proposals contents| Ballot : {source : public_key_hash;period : int32;proposal : Tezos_protocol_environment_023_PtSeouLo.Protocol_hash.t;ballot : Vote.ballot;} -> Kind.ballot contents| Drain_delegate : {consensus_key : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key_hash.t;delegate : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key_hash.t;destination : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key_hash.t;} -> Kind.drain_delegate contents| Failing_noop : string -> Kind.failing_noop contents| Manager_operation : {source : public_key_hash;fee : Tez.t;counter : Manager_counter.t;operation : 'kind manager_operation;gas_limit : Gas.Arith.integral;storage_limit : Tezos_protocol_environment_023_PtSeouLo.Z.t;} -> 'kind Kind.manager contentsand _ manager_operation = | Reveal : {public_key : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key.t;proof : Tezos_protocol_environment_023_PtSeouLo.Bls.t option;} -> Kind.reveal manager_operation| Transaction : {amount : Tez.t;parameters : Script.lazy_expr;entrypoint : Entrypoint.t;destination : Contract.t;} -> Kind.transaction manager_operation| Origination : {delegate : public_key_hash option;script : Script.t;credit : Tez.t;} -> Kind.origination manager_operation| Delegation : public_key_hash option -> Kind.delegation manager_operation| Register_global_constant : {value : Script.lazy_expr;} -> Kind.register_global_constant manager_operation| Set_deposits_limit : Tez.t option -> Kind.set_deposits_limit manager_operation| Increase_paid_storage : {amount_in_bytes : Tezos_protocol_environment_023_PtSeouLo.Z.t;destination : Contract_hash.t;} -> Kind.increase_paid_storage manager_operation| Update_consensus_key : {public_key : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key.t;proof : Tezos_protocol_environment_023_PtSeouLo.Bls.t option;kind : Operation_repr.consensus_key_kind;} -> Kind.update_consensus_key manager_operation| Transfer_ticket : {contents : Script.lazy_expr;ty : Script.lazy_expr;ticketer : Contract.t;amount : Ticket_amount.t;destination : Contract.t;entrypoint : Entrypoint.t;} -> Kind.transfer_ticket manager_operation| Dal_publish_commitment : Dal.Operations.Publish_commitment.t -> Kind.dal_publish_commitment
                                                                  manager_operation| Sc_rollup_originate : {kind : Sc_rollup.Kind.t;boot_sector : string;parameters_ty : Script.lazy_expr;whitelist : Sc_rollup.Whitelist.t option;} -> Kind.sc_rollup_originate manager_operation| Sc_rollup_add_messages : {} -> Kind.sc_rollup_add_messages manager_operation| Sc_rollup_cement : {rollup : Sc_rollup.t;} -> Kind.sc_rollup_cement manager_operation| Sc_rollup_publish : {rollup : Sc_rollup.t;commitment : Sc_rollup.Commitment.t;} -> Kind.sc_rollup_publish manager_operation| Sc_rollup_refute : {rollup : Sc_rollup.t;opponent : Sc_rollup.Staker.t;refutation : Sc_rollup.Game.refutation;} -> Kind.sc_rollup_refute manager_operation| Sc_rollup_timeout : {rollup : Sc_rollup.t;stakers : Sc_rollup.Game.Index.t;} -> Kind.sc_rollup_timeout manager_operation| Sc_rollup_execute_outbox_message : {rollup : Sc_rollup.t;cemented_commitment : Sc_rollup.Commitment.Hash.t;output_proof : string;} -> Kind.sc_rollup_execute_outbox_message manager_operation| Sc_rollup_recover_bond : {sc_rollup : Sc_rollup.t;staker : Tezos_protocol_environment_023_PtSeouLo.Signature.Public_key_hash.t;} -> Kind.sc_rollup_recover_bond manager_operation| Zk_rollup_origination : {public_parameters : Tezos_protocol_environment_023_PtSeouLo.Plonk.public_parameters;circuits_info : [ `Public | `Private | `Fee ] Zk_rollup.Account.SMap.t;init_state : Zk_rollup.State.t;nb_ops : int;} -> Kind.zk_rollup_origination manager_operation| Zk_rollup_publish : {zk_rollup : Zk_rollup.t;ops : (Zk_rollup.Operation.t * Zk_rollup.Ticket.t option) list;} -> Kind.zk_rollup_publish manager_operation| Zk_rollup_update : {zk_rollup : Zk_rollup.t;update : Zk_rollup.Update.t;} -> Kind.zk_rollup_update manager_operationtype packed_operation = {shell : Tezos_protocol_environment_023_PtSeouLo.Operation.shell_header;protocol_data : packed_protocol_data;}val manager_kind : 'kind manager_operation -> 'kind Kind.managermodule Operation : sig ... endThis module re-exports definitions from Operation_repr.
module Stake_distribution : sig ... endThis module re-exports definitions from Stake_storage, Delegate_storage and Delegate.
module Commitment : sig ... endThis module re-exports definitions from Commitment_repr and, Commitment_storage.
module Bootstrap : sig ... endThis module re-exports definitions from Bootstrap_storage.
module Migration : sig ... endThis module re-exports definitions from Migration_repr.
val prepare_first_block : 
  Tezos_protocol_environment_023_PtSeouLo.Chain_id.t ->
  Tezos_protocol_environment_023_PtSeouLo.Context.t ->
  typecheck_smart_contract:
    (context ->
      Script.t ->
      ((Script.t * Lazy_storage.diffs option) * context)
        Tezos_protocol_environment_023_PtSeouLo.Error_monad.tzresult
        Tezos_protocol_environment_023_PtSeouLo.Lwt.t) ->
  typecheck_smart_rollup:
    (context ->
      Script.expr ->
      context Tezos_protocol_environment_023_PtSeouLo.Error_monad.tzresult) ->
  level:Tezos_protocol_environment_023_PtSeouLo.Int32.t ->
  timestamp:Tezos_protocol_environment_023_PtSeouLo.Time.t ->
  predecessor:Tezos_protocol_environment_023_PtSeouLo.Block_hash.t ->
  context Tezos_protocol_environment_023_PtSeouLo.Error_monad.tzresult
    Tezos_protocol_environment_023_PtSeouLo.Lwt.tCreate an Alpha_context.t from an untyped context (first block in the chain only).
val prepare : 
  Tezos_protocol_environment_023_PtSeouLo.Context.t ->
  level:Tezos_protocol_environment_023_PtSeouLo.Int32.t ->
  predecessor_timestamp:Tezos_protocol_environment_023_PtSeouLo.Time.t ->
  timestamp:Tezos_protocol_environment_023_PtSeouLo.Time.t ->
  (context * Receipt.balance_updates * Migration.origination_result list)
    Tezos_protocol_environment_023_PtSeouLo.Error_monad.tzresult
    Tezos_protocol_environment_023_PtSeouLo.Lwt.tCreate an Alpha_context.t from an untyped context.
All the definitions below are re-exported from Raw_context.
val fresh_internal_nonce : 
  context ->
  (context * int) Tezos_protocol_environment_023_PtSeouLo.Error_monad.tzresultval internal_nonce_already_recorded : context -> int -> boolval description : context Storage_description.tval record_non_consensus_operation_hash : 
  context ->
  Tezos_protocol_environment_023_PtSeouLo.Operation_hash.t ->
  contextval non_consensus_operations : 
  context ->
  Tezos_protocol_environment_023_PtSeouLo.Operation_hash.t listval dictator_proposal_seen : t -> boolval finalize : 
  ?commit_message:string ->
  context ->
  Fitness.raw ->
  Tezos_protocol_environment_023_PtSeouLo.Updater.validation_resultFinalize an Alpha_context.t, producing a validation_result.
val current_context : 
  context ->
  Tezos_protocol_environment_023_PtSeouLo.Context.tShould only be used by Main.current_context to return a context usable for RPCs
module Parameters : sig ... endThis module re-exports definitions from Parameters_repr.
module Votes_EMA : sig ... endThis module re-exports definitions from Votes_EMA_repr
module Per_block_votes : sig ... endThis module re-exports definitions from Per_block_votes_repr.
module Liquidity_baking : sig ... endThis module re-exports definitions from Liquidity_baking_storage.
module Adaptive_issuance : sig ... endThis module re-exports definitions from Adaptive_issuance_storage.
module Ticket_balance : sig ... endThis module re-exports definitions from Ticket_storage.
module First_level_of_protocol : sig ... endmodule Consecutive_round_zero : sig ... endConsecutive_round_zero module stores the number of consecutive blocks that reached consensus at round zero.
module Consensus : sig ... endThis module re-exports definitions from Raw_context.Consensus.
module Unstake_requests : sig ... endThis module re-exports definitions from Unstake_requests_storage.
module Unstaked_frozen_deposits : sig ... endmodule Staking_pseudotokens : sig ... endThis module re-exports definitions from Staking_pseudotokens_storage.
module Fees : sig ... endThis module re-exports definitions from Fees_storage.