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-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
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)"
>