package tezos-protocol-alpha
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Tezos/Protocol: economic-protocol definition
Install
dune-project
Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Ticket_balance_key/index.html
Module Tezos_raw_protocol_alpha.Ticket_balance_keySource
This module exposes a function for generating a ticket-balance key-hash given an owner and a ticket-token. The key-hash is used for populating the global ticket-balance table that tracks ownership of tickets for different tokens.
Source
val make :
Alpha_context.context ->
owner:Alpha_context.Destination.t ->
ticketer:Alpha_context.Contract.t ->
contents_type:Alpha_context.Script.node ->
contents:Alpha_context.Script.node ->
(Alpha_context.Ticket_hash.t * Alpha_context.context)
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.tmake ~owner ~ticketer ~contents_type ~contents returns key_hash of the given owner, ticketer, contents_type and contents. Note that the location of the Script.node values contents_type and contents are irrelevant since Ticket_hash.make will strip the locations before calculating the hash.
Source
val of_ex_token :
Alpha_context.context ->
owner:Alpha_context.Destination.t ->
Ticket_token.ex_token ->
(Alpha_context.Ticket_hash.t * Alpha_context.context)
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.tof_ex_token ctxt ~owner ex_token returns the key_hash of the given owner and ex_token.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>