package tezos-protocol-013-PtJakart

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Ticket_hash_repr/index.html

Module Tezos_raw_protocol_013_PtJakart.Ticket_hash_reprSource

Ticket hashes are used to uniquely identify pairs made of Michelson ticktes and their owner.

They are used by the protocol to keep record of a tickets ledger, that is how many tickets smart contracts own. More precisely, they are used as keys for the Storage.Ticket_balance table.

type t

A ticket hash is computed by the function make and is a combination of a ticketer, a content type, a content, and an owner.

Note: This invariant can be invalidated if the key_hash is created from the encoding.

val to_b58check : t -> string
val of_b58check_opt : string -> t option
val of_b58check_exn : string -> t
val of_bytes_exn : bytes -> t
val of_bytes_opt : bytes -> t option
include Tezos_protocol_environment_013_PtJakart.Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
Sourceval zero : t
Sourceval of_script_expr_hash : Script_expr_hash.t -> t
OCaml

Innovation. Community. Security.