# Packages
No description provided by the author
# Functions
IndexToBytes converts an index to a byte slice big endian.
MSBIndex returns the index of the most significant bit.
No description provided by the author
NewAlphabetProvider returns a new [AlphabetProvider].
NewFaultResponder returns a new [faultResponder].
NewGameState returns a new game state.
NewLoader creates a new [loader].
No description provided by the author
No description provided by the author
No description provided by the author
NewSolver creates a new [Solver] using the provided [TraceProvider].
# Variables
ErrClaimExists is returned when a claim already exists in the game state.
ErrClaimNotFound is returned when a claim does not exist in the game state.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
AlphabetProvider is a [TraceProvider] that provides claims for specific indices in the given trace.
Claim extends ClaimData with information about the relationship between two claims.
ClaimData is the core of a claim.
No description provided by the author
Position is a golang wrapper around the dispute game Position type.
Solver uses a [TraceProvider] to determine the moves to make in a dispute game.
StepCallData encapsulates the data needed to perform a step.
No description provided by the author
# Interfaces
ClaimFetcher is a minimal interface around [bindings.FaultDisputeGameCaller].
Game is an interface that represents the state of a dispute game.
Loader is a minimal interface for loading onchain [Claim] data.
Responder takes a response action & executes.
TraceProvider is a generic way to get a claim value at a specific step in the trace.