checks

package
v0.75.8-fix.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarginScalingFactor

func MarginScalingFactor() func(interface{}, interface{}) error

func MarginScalingFactorRange added in v0.60.0

func MarginScalingFactorRange(min, max num.Decimal) func(interface{}, interface{}) error

func PriceMonitoringParametersAuctionExtension added in v0.60.0

func PriceMonitoringParametersAuctionExtension(min, max time.Duration) func(interface{}, interface{}) error

func PriceMonitoringParametersHorizon added in v0.60.0

func PriceMonitoringParametersHorizon(min, max time.Duration) func(interface{}, interface{}) error

func PriceMonitoringParametersProbability added in v0.60.0

func PriceMonitoringParametersProbability(min, max num.Decimal) func(interface{}, interface{}) error

func RewardAssetUpdate

func RewardAssetUpdate(
	log *logging.Logger,
	assets Assets,
	collateral Collateral,
) func(value string) error

func SpamPoWHashFunction added in v0.60.0

func SpamPoWHashFunction(supportedFunctions []string) func(string) error

Types

type Assets

type Assets interface {
	IsEnabled(asset string) bool
}

type Collateral

type Collateral interface {
	AssetExists(asset string) bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL