package tezos-protocol-002-PsYLVpVv

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

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

module Owner : Storage_sigs.Indexed_data_snapshotable_storage with type key = Roll_repr.t and type snapshot = Cycle_repr.t * int and type value = Tezos_base__TzPervasives.Signature.public_key and type t := Raw_context.t

The next roll to be allocated.

Rolls linked lists represent both account owned and free rolls. All rolls belongs either to the limbo list or to an owned list.

Head of the linked list of rolls in limbo

module Delegate_roll_list : Storage_sigs.Indexed_data_storage with type key = Tezos_base__TzPervasives.Signature.public_key_hash and type value = Roll_repr.t and type t := Raw_context.t

Rolls associated to contracts, a linked list per contract

Use this to iter on a linked list of rolls

module Delegate_change : Storage_sigs.Indexed_data_storage with type key = Tezos_base__TzPervasives.Signature.public_key_hash and type value = Tez_repr.t and type t := Raw_context.t

The tez of a contract that are not assigned to rolls

Index of the randomly selected roll snapshot of a given cycle.

Last roll in the snapshoted roll allocation of a given cycle.

OCaml

Innovation. Community. Security.