package tezos-protocol-015-PtLimaPt
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
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)"
>