package tezos-protocol-015-PtLimaPt

  1. Overview
  2. Docs
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_parametersSource

A module for representing and extracting typed ZK rollup parameters.

Sourcetype deposit_parameters = {
  1. ex_ticket : Ticket_scanner.ex_ticket;
  2. 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.

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.

OCaml

Innovation. Community. Security.