package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Sc_rollup_inbox_storage/index.html
Module Tezos_raw_protocol_alpha.Sc_rollup_inbox_storage
Source
Source
val get_inbox :
Raw_context.t ->
(Sc_rollup_inbox_repr.t * Raw_context.t)
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
get_inbox context
returns the current state of the inbox, if it exists.
Source
val add_external_messages :
Raw_context.t ->
string list ->
Raw_context.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
add_external_messages context messages
adds messages
to the smart rollups internal inbox level witness.
Source
val add_deposit :
Raw_context.t ->
payload:Script_repr.expr ->
sender:Contract_hash.t ->
source:Tezos_protocol_environment_alpha.Signature.public_key_hash ->
destination:Sc_rollup_repr.Address.t ->
Raw_context.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
add_deposit ~payload ~sender ~source ~destination ctxt
adds the internal deposit message of payload
, sender
, and source
to the smart-contract rollups' inbox.
See add_external_messages
for returned values and failures.
Source
val init_inbox :
predecessor:Tezos_protocol_environment_alpha.Block_hash.t ->
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Initialize the inbox in the storage at protocol initialization.
Source
val add_level_info :
predecessor:Tezos_protocol_environment_alpha.Block_hash.t ->
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Adds the Info_per_level
in the in-memory inbox level witness. If the current level is the first level of the current protocol then also add Migration
message.
Source
val finalize_inbox_level :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
finalize_inbox_level ctxt
ends the internal representation for the block.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>