package tezos-protocol-015-PtLimaPt
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Zk_rollup_parameters/index.html
Module Tezos_raw_protocol_015_PtLimaPt.Zk_rollup_parameters
Source
A module for representing and extracting typed ZK rollup parameters.
Source
type deposit_parameters = {
ex_ticket : Ticket_scanner.ex_ticket;
zkru_operation : Alpha_context.Zk_rollup.Operation.t;
}
A type representing deposit parameters for ZK rollups. Deposit parameters consist of a ticket of arbitrary content along with a layer-2 ZKRU operation byte representation.
Source
val get_deposit_parameters :
(('a Script_typed_ir.ticket, bytes) Script_typed_ir.pair, 'comparable)
Script_typed_ir.ty ->
('a Script_typed_ir.ticket, bytes) Script_typed_ir.pair ->
deposit_parameters
Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
get_deposit_parameters ty value
returns ex_ticket
and a zkru_operation
from a michelson typed value. if ty
is not of a pair of ticket and bytes
then it fails with Zk_rollup_errors.Wrong_deposit_parameters
.
This function is intended to be used to enforce the type of the transaction to a zk_rollup%deposit
. It must be used both in ticket_diffs_of_operations
to account for the ticket deposited and in apply
to retrieve the ticket when applying the transaction to a zk_rollup.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>