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/Tx_rollup_parameters/index.html

Module Tezos_raw_protocol_015_PtLimaPt.Tx_rollup_parametersSource

A module for representing and extracting typed transactional rollup parameters.

Sourcetype deposit_parameters = {
  1. ex_ticket : Ticket_scanner.ex_ticket;
  2. l2_destination : Script_typed_ir.tx_rollup_l2_address;
}

A type representing deposit parameters for transactional rollups. Deposit parameters consist of a ticket of arbitrary content along with a layer-2 destination address.

get_deposit_parameters ty value returns ex_ticket and a tx_rollup_l2_address from a michelson typed value.

This function is intended to be used to enforce the type of the transaction to a tx_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 tx_rollup.

OCaml

Innovation. Community. Security.