package tezos-protocol-alpha

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Ticket_token/index.html

Module Tezos_raw_protocol_alpha.Ticket_tokenSource

A module for handling ticket-tokens. A ticket-token represents the combination of a ticketer (creator of a ticket) and the content. That is, a ticket comprises a ticket-token and an amount.

Sourcetype 'a parsed_token = {
  1. ticketer : Alpha_context.Contract.t;
  2. contents_type : 'a Script_typed_ir.comparable_ty;
  3. contents : 'a;
}
Sourcetype ex_token =
  1. | Ex_token : 'a parsed_token -> ex_token

A type for representing existentially quantified ticket-tokens. A ticket-token consists of a pair of ticketer and contents.

Sourcetype unparsed_token = {
  1. ticketer : Alpha_context.Contract.t;
  2. contents_type : Alpha_context.Script.expr;
  3. contents : Alpha_context.Script.expr;
}

Unparsed version of parsed_token. Used to encode/decode ticket-token in receipt, RPC, etc.

OCaml

Innovation. Community. Security.