package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module exposes a function for generating a ticket-balance key-hash and an amount, given an owner and a ticket. The key-hash and the amount is used for populating the global ticket-balance table that tracks ownership of different types of tickets.

ticket_balance_key_and_amount ctxt ~owner ex_ticket returns the key_hash of the given owner and ex_ticket, as well as the amount of the ticket.

OCaml

Innovation. Community. Security.