package tezos-protocol-012-Psithaca
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-012-Psithaca.raw/Tezos_raw_protocol_012_Psithaca/Ticket_balance_key/index.html
Module Tezos_raw_protocol_012_Psithaca.Ticket_balance_key
Source
This module exposes a function for generating a ticket-balance key-hash and an amount, given an owner and a ticket. The key-hash and the amount is used for populating the global ticket-balance table that tracks ownership of different types of tickets.
Source
val ticket_balance_key_and_amount :
Alpha_context.context ->
owner:Alpha_context.Contract.t ->
Ticket_scanner.ex_ticket ->
(Alpha_context.Ticket_balance.key_hash
* Tezos_protocol_environment_012_Psithaca.Z.t
* Alpha_context.context)
Tezos_protocol_environment_012_Psithaca.Error_monad.tzresult
Tezos_protocol_environment_012_Psithaca.Lwt.t
ticket_balance_key_and_amount ctxt ~owner ex_ticket
returns the key_hash
of the given owner
and ex_ticket
, as well as the amount of the ticket.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>