package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.