package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private {
  1. alice : Sc_rollup_repr.Staker.t;
  2. bob : Sc_rollup_repr.Staker.t;
}
val 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.

val of_path : string list -> t option
val path_length : int
val compare : t -> t -> int
val staker : t -> player -> Sc_rollup_repr.Staker.t

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

OCaml

Innovation. Community. Security.