package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type balance =
  1. | Contract of Contract.t
  2. | Legacy_rewards of Tezos_crypto.Signature.public_key_hash * Cycle.t
  3. | Block_fees
  4. | Legacy_deposits of Tezos_crypto.Signature.public_key_hash * Cycle.t
  5. | Deposits of public_key_hash
  6. | Nonce_revelation_rewards
  7. | Double_signing_evidence_rewards
  8. | Endorsing_rewards
  9. | Baking_rewards
  10. | Baking_bonuses
  11. | Legacy_fees of Tezos_crypto.Signature.public_key_hash * Cycle.t
  12. | Storage_fees
  13. | Double_signing_punishments
  14. | Lost_endorsing_rewards of Tezos_crypto.Signature.public_key_hash * bool * bool
  15. | Liquidity_baking_subsidies
  16. | Burned
  17. | Commitments of Blinded_public_key_hash.t
  18. | Bootstrap
  19. | Invoice
  20. | Initial_commitments
  21. | Minted
val compare_balance : balance -> balance -> int
type balance_update =
  1. | Debited of Tez.t
  2. | Credited of Tez.t
type update_origin =
  1. | Block_application
  2. | Protocol_migration
  3. | Subsidy
  4. | Simulation
val compare_update_origin : update_origin -> update_origin -> int
type balance_updates = (balance * balance_update * update_origin) list
val balance_updates_encoding : balance_updates Data_encoding.t
val group_balance_updates : balance_updates -> (balance_updates, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) result