internal

package
v0.0.0-...-f65701c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorHodler

type AnchorHodler struct {
	// contains filtered or unexported fields
}

func NewAnchorHodler

func NewAnchorHodler(querier *terra.Querier, wallet *terra.Wallet) (*AnchorHodler, error)

func (*AnchorHodler) CheckLtv

func (h *AnchorHodler) CheckLtv(ctx context.Context, minLtv float64, maxLtv float64, targetLtv float64) error

func (*AnchorHodler) GetLtv

func (h *AnchorHodler) GetLtv(ctx context.Context) (decimal.Decimal, error)

func (*AnchorHodler) SetLtv

func (h *AnchorHodler) SetLtv(ctx context.Context, ltv decimal.Decimal) error

Jump to

Keyboard shortcuts

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