package tezos-protocol-014-PtKathma

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

Tezos Protocol Implementation - Typed storage

This module hides the hierarchical (key x value) database under pre-allocated typed accessors for all persistent entities of the tezos context.

This interface enforces no invariant on the contents of the database. Its goal is to centralize all accessors in order to have a complete view over the database contents and avoid key collisions.

module type Simple_single_data_storage = sig ... end
type deposits = {
  1. initial_amount : Tez_repr.t;
  2. current_amount : Tez_repr.t;
}
type missed_endorsements_info = {
  1. remaining_slots : int;
  2. missed_levels : int;
}
module Contract : sig ... end

Storage from this submodule must only be accessed through the module `Contract`.

module Big_map : sig ... end
module Sapling : sig ... end
type slashed_level = {
  1. for_double_endorsing : bool;
  2. for_double_baking : bool;
}
module Stake : sig ... end

Sum of the active stakes of all the delegates with rolls

State of the sampler used to select delegates. Managed synchronously with Stake.Selected_distribution_for_cycle.

Votes

module Vote : sig ... end
module type FOR_CYCLE = sig ... end

Seed

module Seed : sig ... end

Storage from this submodule must only be accessed through the module `Seed`.

Commitments

module Ramp_up : sig ... end

Ramp up rewards

module Pending_migration : sig ... end
module Liquidity_baking : sig ... end
module Global_constants : sig ... end

A map of Script_repr.expr values, indexed by their hash (Script_expr_hash.t). Values from this map can be incorporated by any contract via the primitive Michelson_v1_primitives.H_constant.

module Ticket_balance : sig ... end

This module exposes a balance table for tracking ticket ownership. The table is a mapping from keys to values where the keys consist of a hashed representation of:

Tenderbake

module Tenderbake : sig ... end
module Tx_rollup : sig ... end
module Sc_rollup : sig ... end
module Dal : sig ... end
OCaml

Innovation. Community. Security.