package tezos-protocol-alpha
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Storage/Sc_rollup/index.html
Module Storage.Sc_rollupSource
module PVM_kind :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_repr.t
and type value = Sc_rollups.Kind.t
and type t := Raw_context.tSmart contract rollup.
module Parameters_type :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_repr.t
and type value = Script_repr.lazy_expr
and type t := Raw_context.tmodule Genesis_info :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_repr.t
and type value = Sc_rollup_commitment_repr.genesis_info
and type t := Raw_context.tmodule Inbox :
Storage_sigs.Single_data_storage
with type value = Sc_rollup_inbox_repr.t
and type t := Raw_context.tmodule Last_cemented_commitment :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_repr.t
and type value = Sc_rollup_commitment_repr.Hash.t
and type t := Raw_context.tmodule Staker_index_counter :
Storage_sigs.Single_data_storage
with type value = Sc_rollup_staker_index_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tContains the current latest attributed index for stakers.
module Staker_index :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key =
Tezos_protocol_environment_alpha.Signature.Public_key_hash.t
and type value = Sc_rollup_staker_index_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tContains the index of any staker that currently have stake.
module Stakers :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_staker_index_repr.t
and type value = Raw_level_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tContains the most recent inbox level staked by an active staker.
module Commitments :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_commitment_repr.Hash.t
and type value = Sc_rollup_commitment_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tmodule Commitment_stakers :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_commitment_repr.Hash.t
and type value = Sc_rollup_staker_index_repr.t list
and type t = Raw_context.t * Sc_rollup_repr.tContains for all commitment not yet cemented the list of stakers that have staked on it.
module Commitment_first_publication_level :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Raw_level_repr.t
and type value = Raw_level_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tThis storage contains for each rollup and inbox level not yet cemented the level of publication of the first commitment. This is used to compute the curfew for a given rollup and inbox level.
module Commitments_per_inbox_level :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Raw_level_repr.t
and type value = Sc_rollup_commitment_repr.Hash.t list
and type t = Raw_context.t * Sc_rollup_repr.tStores the commitments published for an inbox level.
module Commitment_added :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_commitment_repr.Hash.t
and type value = Raw_level_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tmodule Game_info :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_game_repr.Index.t
and type value = Sc_rollup_game_repr.t
and type t = Raw_context.t * Sc_rollup_repr.tmodule Game :
Storage_sigs.Indexed_carbonated_data_storage
with type key =
Tezos_protocol_environment_alpha.Signature.Public_key_hash.t
and type value = Sc_rollup_game_repr.Index.t
and type t =
(Raw_context.t * Sc_rollup_repr.t)
* Tezos_protocol_environment_alpha.Signature.Public_key_hash.tRefutation games are indexed by the rollup, by one staker, and by its opponent staker. Hence, each game appears twice. This is convenient to quickly compute the opponents of a given staker.
module Game_timeout :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type key = Sc_rollup_game_repr.Index.t
and type value = Sc_rollup_game_repr.timeout
and type t = Raw_context.t * Sc_rollup_repr.tGame_timeout stores the block level at which the staker whose turn it is to move will (become vulnerable to) timeout. The staker pair should always be in lexical order to ensure that this value is not duplicated.
module Applied_outbox_messages :
Storage_sigs.Non_iterable_indexed_carbonated_data_storage
with type t = Raw_context.t * Sc_rollup_repr.t
and type key = int32
and type value = Raw_level_repr.t * Bitset.tA carbonated storage for keeping track of applied outbox messages for a a SCORU.