package tezos-protocol-012-Psithaca

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

See 'token.mli' for more explanation.

type container = [
  1. | `Contract of Contract.t
  2. | `Collected_commitments of Blinded_public_key_hash.t
  3. | `Delegate_balance of Tezos_crypto.Signature.public_key_hash
  4. | `Frozen_deposits of Tezos_crypto.Signature.public_key_hash
  5. | `Block_fees
  6. | `Legacy_deposits of Tezos_crypto.Signature.public_key_hash * Cycle.t
  7. | `Legacy_fees of Tezos_crypto.Signature.public_key_hash * Cycle.t
  8. | `Legacy_rewards of Tezos_crypto.Signature.public_key_hash * Cycle.t
]
type source = [
  1. | `Invoice
  2. | `Bootstrap
  3. | `Initial_commitments
  4. | `Revelation_rewards
  5. | `Double_signing_evidence_rewards
  6. | `Endorsing_rewards
  7. | `Baking_rewards
  8. | `Baking_bonuses
  9. | `Minted
  10. | `Liquidity_baking_subsidies
  11. | container
]
type sink = [
  1. | `Storage_fees
  2. | `Double_signing_punishments
  3. | `Lost_endorsing_rewards of Tezos_crypto.Signature.public_key_hash * bool * bool
  4. | `Burned
  5. | container
]
val allocated : context -> container -> (bool, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) result Lwt.t
val balance : context -> container -> (Tez.t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) result Lwt.t
val transfer_n : ?origin:Receipt.update_origin -> context -> ([< source ] * Tez.t) list -> [< sink ] -> (context * Receipt.balance_updates, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) result Lwt.t
val transfer : ?origin:Receipt.update_origin -> context -> [< source ] -> [< sink ] -> Tez.t -> (context * Receipt.balance_updates, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) result Lwt.t
OCaml

Innovation. Community. Security.