package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/tezos_raw_protocol_alpha/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.