blockchain_api

package
v0.0.0-...-93b2285 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeConverter

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

func NewExchangeConverter

func NewExchangeConverter(
	log *zap.SugaredLogger,
	cache domain.Cache,
	gate domain.Gate,
) *ExchangeConverter

func (*ExchangeConverter) Convert

func (c *ExchangeConverter) Convert(wallet *domain.Wallet, fiat domain.FiatCurrency) (float64, error)

type Score

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

func NewScoreFetcher

func NewScoreFetcher(
	logger *zap.SugaredLogger,
	client api.HTTPClient,
	cache domain.Cache,
) *Score

func (*Score) GetBalance

func (bc *Score) GetBalance(crypto *domain.Crypto) (*domain.Wallet, error)

Jump to

Keyboard shortcuts

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