-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstatic_exchange_details.go
More file actions
41 lines (39 loc) · 2.56 KB
/
Copy pathstatic_exchange_details.go
File metadata and controls
41 lines (39 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package constants
import (
"github.com/tellor-io/layer-daemons/exchange_common"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/binance"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/bitfinex"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/bitstamp"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/coinbase_rates"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/crypto_com"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/gate"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/huobi"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/kraken"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/kucoin"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/mexc"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/okx"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/test_fixed_price_exchange"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/test_volatile_exchange"
"github.com/tellor-io/layer-daemons/pricefeed/client/sources/testexchange"
"github.com/tellor-io/layer-daemons/pricefeed/client/types"
)
// StaticExchangeDetails is the static mapping of `ExchangeId` to its `ExchangeQueryDetails`.
var StaticExchangeDetails = map[types.ExchangeId]types.ExchangeQueryDetails{
exchange_common.EXCHANGE_ID_BINANCE: binance.BinanceDetails,
exchange_common.EXCHANGE_ID_BINANCE_US: binance.BinanceUSDetails,
exchange_common.EXCHANGE_ID_BITFINEX: bitfinex.BitfinexDetails,
exchange_common.EXCHANGE_ID_KRAKEN: kraken.KrakenDetails,
exchange_common.EXCHANGE_ID_GATE: gate.GateDetails,
exchange_common.EXCHANGE_ID_BITSTAMP: bitstamp.BitstampDetails,
// exchange_common.EXCHANGE_ID_BYBIT: bybit.BybitDetails,
exchange_common.EXCHANGE_ID_CRYPTO_COM: crypto_com.CryptoComDetails,
exchange_common.EXCHANGE_ID_HUOBI: huobi.HuobiDetails,
exchange_common.EXCHANGE_ID_KUCOIN: kucoin.KucoinDetails,
exchange_common.EXCHANGE_ID_OKX: okx.OkxDetails,
exchange_common.EXCHANGE_ID_MEXC: mexc.MexcDetails,
// exchange_common.EXCHANGE_ID_COINBASE_PRO: coinbase_pro.CoinbaseProDetails,
exchange_common.EXCHANGE_ID_COINBASE_RATES: coinbase_rates.CoinbaseRatesDetails,
exchange_common.EXCHANGE_ID_TEST_EXCHANGE: testexchange.TestExchangeDetails,
exchange_common.EXCHANGE_ID_TEST_VOLATILE_EXCHANGE: test_volatile_exchange.TestVolatileExchangeDetails,
exchange_common.EXCHANGE_ID_TEST_FIXED_PRICE_EXCHANGE: test_fixed_price_exchange.TestFixedPriceExchangeDetails,
}