price

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PriceAPI

type PriceAPI interface {
	GetAllPrices(ctx context.Context, network string) (map[string]*big.Float, error)
	GetPrice(ctx context.Context, network, token string) (*big.Float, error)
}

func NewPriceAPI

func NewPriceAPI(apiTimeout, cacheExpiration time.Duration) PriceAPI

Jump to

Keyboard shortcuts

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