package tezos-protocol-alpha

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

Module Sc_rollup_game_repr.IndexSource

Sourcetype t = private {
  1. alice : Sc_rollup_repr.Staker.t;
  2. bob : Sc_rollup_repr.Staker.t;
}
Sourceval to_path : t -> string list -> string list

to_path i p returns a new path with the path to the game indexed by i added as a prefix to path p. See Path_encoding module.

Sourceval of_path : string list -> t option
Sourceval path_length : int
Sourceval compare : t -> t -> int

Given an index in normal form, resolve a given player (Alice or Bob) to the actual staker they represent.