Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPrestate = errors.New("absolute prestate does not match")
Functions ¶
This section is empty.
Types ¶
type GameMetadata ¶ added in v1.4.2
type GameStatus ¶
type GameStatus uint8
const ( GameStatusInProgress GameStatus = iota GameStatusChallengerWon GameStatusDefenderWon )
func GameStatusFromUint8 ¶
func GameStatusFromUint8(i uint8) (GameStatus, error)
GameStatusFromUint8 returns a game status from the uint8 representation.
func (GameStatus) String ¶
func (s GameStatus) String() string
String returns the string representation of the game status.
Click to show internal directories.
Click to hide internal directories.