package tezos-protocol-014-PtKathma

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type player =
  1. | Alice
  2. | Bob
type t = {
  1. turn : player;
  2. inbox_snapshot : Inbox.t;
  3. level : Raw_level.t;
  4. pvm_name : string;
  5. dissection : (State_hash.t option * Tick.t) list;
}
module Index : sig ... end
val opponent : player -> player
type step =
  1. | Dissection of (State_hash.t option * Tick.t) list
  2. | Proof of Proof.t
type refutation = {
  1. choice : Tick.t;
  2. step : step;
}
type reason =
  1. | Conflict_resolved
  2. | Invalid_move of string
  3. | Timeout
type status =
  1. | Ongoing
  2. | Ended of reason * Staker.t
type outcome = {
  1. loser : player;
  2. reason : reason;
}
val initial : Inbox.t -> pvm_name:string -> parent:Commitment.t -> child:Commitment.t -> refuter:Staker.t -> defender:Staker.t -> t
OCaml

Innovation. Community. Security.