pricing

package
v0.0.0-...-3f8eaf4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pricing calculates US dollar prices from Uniswap pairs or falls back onto Maker

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PriceUsd

func PriceUsd(conn *rpc.Connection, testMode bool, statement *types.SimpleStatement) (price float64, source string, err error)

PriceUsd returns the price of the asset in USD

Types

This section is empty.

Jump to

Keyboard shortcuts

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