Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRequiredCollateral ¶
func CalculateRequiredCollateral(games []*monTypes.EnrichedGameData) map[common.Address]Collateral
CalculateRequiredCollateral determines the minimum balance required for each DelayedWETH contract used by a set of dispute games. Returns a map of DelayedWETH contract address to collateral data (required and actual amounts)
Types ¶
type BondMetrics ¶
type Bonds ¶
type Bonds struct {
// contains filtered or unexported fields
}
func (*Bonds) CheckBonds ¶
func (b *Bonds) CheckBonds(games []*types.EnrichedGameData)
type Collateral ¶
Click to show internal directories.
Click to hide internal directories.