package tezos-protocol-017-PtNairob

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-protocol-017-PtNairob.raw/Tezos_raw_protocol_017_PtNairob/Ticket_token/index.html

Module Tezos_raw_protocol_017_PtNairob.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.