package tezos-protocol-016-PtMumbai
A module for representing and extracting typed transactional rollup parameters.
type deposit_parameters = {
ex_ticket : Ticket_scanner.ex_ticket;
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.
val get_deposit_parameters :
(('a Script_typed_ir.ticket, Script_typed_ir.tx_rollup_l2_address)
Script_typed_ir.pair,
'comparable)
Script_typed_ir.ty ->
('a Script_typed_ir.ticket, Script_typed_ir.tx_rollup_l2_address)
Script_typed_ir.pair ->
deposit_parameters
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>