checks

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarginScalingFactor

func MarginScalingFactor() func(interface{}) error

func RewardAssetUpdate

func RewardAssetUpdate(
	log *logging.Logger,
	assets Assets,
	collateral Collateral,
) func(value 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