Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SymbolETH refers to the ethereum symbol.
SymbolETH = "ETH"
)
Variables ¶
This section is empty.
Functions ¶
func GetStablecoinsCurrencyPair ¶
func GetStablecoinsCurrencyPair(baseSymbol string) []umeepftypes.CurrencyPair
GetStablecoinsCurrencyPair return the currency pair of that symbol quoted by some stablecoins.
Types ¶
type Oracle ¶
type Oracle struct {
// contains filtered or unexported fields
}
Oracle implements the core component responsible for fetching exchange rates for a given set of currency pairs and determining the correct exchange rates.
func (*Oracle) Stop ¶
func (o *Oracle) Stop()
Stop stops the oracle process and waits for it to gracefully exit.
func (*Oracle) SubscribeSymbols ¶
SubscribeSymbols attempts to subscribe the symbols in all the providers. baseSymbols is the base to be subscribed ex.: ["UMEE", "ATOM"].
type Provider ¶
type Provider struct { pfprovider.Provider // contains filtered or unexported fields }
Provider wraps the umee provider interface.
Click to show internal directories.
Click to hide internal directories.