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.
Click to show internal directories.
Click to hide internal directories.