package tezos-protocol-013-PtJakart

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Tx_rollup_parameters/index.html

Module Tezos_raw_protocol_013_PtJakart.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. if ty is not of a pair of ticket and tx_rollup_l2_address then it fails with Tx_rollup_errors.Wrong_deposit_parameters.

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.