Skip to content

Commit

Permalink
Clarify oracle api comments (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsu522 authored Jul 26, 2023
1 parent 9f21042 commit e22610e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions oracle/price-feeder/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const (
defaultSrvReadTimeout = 15 * time.Second
defaultProviderTimeout = 100 * time.Millisecond

// Oracle data providers for price feeds
// API sources for Sei native oracle price feed - examples include price of BTC, ETH - that applications on Sei can
// use
ProviderKraken = "kraken"
ProviderBinance = "binance"
ProviderCrypto = "crypto"
Expand All @@ -38,7 +39,8 @@ var (
// ErrEmptyConfigPath defines a sentinel error for an empty config path.
ErrEmptyConfigPath = errors.New("empty configuration file path")

// SupportedProviders defines all supported currency API providers to pull data for oracle for.
// SupportedProviders is a mapping of all API sources for Sei native oracle price feed - examples include price of
// BTC, ETH - that applications on Sei can use
SupportedProviders = map[string]struct{}{
ProviderKraken: {},
ProviderBinance: {},
Expand Down

0 comments on commit e22610e

Please sign in to comment.