package tezos-protocol-alpha

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

allocated ctxt container returns a new context because of possible access to carbonated data, and a boolean that is true when balance ctxt container is guaranteed not to fail, and false when balance ctxt container may fail.

type container_with_balance = [
  1. | `Contract of Contract_repr.t
  2. | `Collected_commitments of Blinded_public_key_hash.t
  3. | `Block_fees
  4. | `Frozen_bonds of Contract_repr.t * Bond_id_repr.t
]

balance ctxt container returns a new context because of an access to carbonated data, and the balance associated to the token holder. This function may fail if allocated ctxt container returns false. Returns an error with the message "get_balance" if container refers to an originated contract that is not allocated.

OCaml

Innovation. Community. Security.