Documentation
¶
Index ¶
- Variables
- type BlockHashFetcher
- type BlockNumberFetcher
- type Bonds
- type ClaimMetrics
- type ClaimMonitor
- type Extract
- type Forecast
- type ForecastMetrics
- type MonitorClaims
- type MonitorWithdrawals
- type OutputMetrics
- type OutputRollupClient
- type OutputValidator
- type RClock
- type RecordClaimResolutionDelayMax
- type ResolutionMetrics
- type ResolutionMonitor
- type Resolutions
- type Service
- type WithdrawalMetrics
- type WithdrawalMonitor
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRootAgreement = errors.New("failed to check root agreement")
)
Functions ¶
This section is empty.
Types ¶
type BlockHashFetcher ¶ added in v1.6.1
type BlockNumberFetcher ¶ added in v1.6.1
type Bonds ¶ added in v1.7.2
type Bonds func(games []*types.EnrichedGameData)
type ClaimMetrics ¶ added in v1.7.3
type ClaimMonitor ¶ added in v1.7.3
type ClaimMonitor struct {
// contains filtered or unexported fields
}
func NewClaimMonitor ¶ added in v1.7.3
func NewClaimMonitor(logger log.Logger, clock RClock, honestActors []common.Address, metrics ClaimMetrics) *ClaimMonitor
func (*ClaimMonitor) CheckClaims ¶ added in v1.7.3
func (c *ClaimMonitor) CheckClaims(games []*types.EnrichedGameData)
type Forecast ¶ added in v1.6.1
type Forecast func(ctx context.Context, games []*types.EnrichedGameData)
type ForecastMetrics ¶ added in v1.6.1
type ForecastMetrics interface { RecordClaimResolutionDelayMax(delay float64) RecordGameAgreement(status metrics.GameAgreementStatus, count int) }
type MonitorClaims ¶ added in v1.7.3
type MonitorClaims func(games []*types.EnrichedGameData)
type MonitorWithdrawals ¶ added in v1.7.3
type MonitorWithdrawals func(games []*types.EnrichedGameData)
type OutputMetrics ¶ added in v1.7.2
type OutputMetrics interface {
RecordOutputFetchTime(float64)
}
type OutputRollupClient ¶ added in v1.6.1
type OutputValidator ¶ added in v1.6.1
type RecordClaimResolutionDelayMax ¶ added in v1.7.2
type RecordClaimResolutionDelayMax func([]*types.EnrichedGameData)
type ResolutionMetrics ¶ added in v1.7.3
type ResolutionMonitor ¶ added in v1.7.3
type ResolutionMonitor struct {
// contains filtered or unexported fields
}
func NewResolutionMonitor ¶ added in v1.7.3
func NewResolutionMonitor(logger log.Logger, metrics ResolutionMetrics, clock RClock) *ResolutionMonitor
func (*ResolutionMonitor) CheckResolutions ¶ added in v1.7.3
func (r *ResolutionMonitor) CheckResolutions(games []*types.EnrichedGameData)
type Resolutions ¶ added in v1.7.3
type Resolutions func(games []*types.EnrichedGameData)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
NewService creates a new Service.
type WithdrawalMetrics ¶ added in v1.7.3
type WithdrawalMonitor ¶ added in v1.7.3
type WithdrawalMonitor struct {
// contains filtered or unexported fields
}
func NewWithdrawalMonitor ¶ added in v1.7.3
func NewWithdrawalMonitor(logger log.Logger, metrics WithdrawalMetrics) *WithdrawalMonitor
func (*WithdrawalMonitor) CheckWithdrawals ¶ added in v1.7.3
func (w *WithdrawalMonitor) CheckWithdrawals(games []*types.EnrichedGameData)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.