Versions in this module Expand all Collapse all v0 v0.1.2 Jan 9, 2020 Changes in this version + type AppState struct + ActivityStorage core.ActivityStorage + AddressSetting *settings.AddressSetting + AppConfig config.AppConfig + Archive archive.Archive + AuthEngine http.Authentication + BackupEthereumEndpoints []string + Blockchain *blockchain.BaseBlockchain + BlockchainSigner blockchain.Signer + DataControllerRunner datapruner.StorageControllerRunner + DataGlobalStorage data.GlobalStorage + DataStorage data.Storage + DepositSigner blockchain.Signer + EnableAuthentication bool + EthereumEndpoint string + Exchanges []common.Exchange + FetcherExchanges []fetcher.Exchange + FetcherGlobalStorage fetcher.GlobalStorage + FetcherRunner fetcher.Runner + FetcherStorage fetcher.Storage + MetricStorage metric.Storage + Setting *settings.Settings + World *world.TheWorld + func InitAppState(authEnbl bool, ac ccfg.AppConfig) *AppState + func (c *AppState) AddCoreConfig(appc config.AppConfig) v0.1.1 Sep 3, 2019 Changes in this version + var AddressConfigs = map[string]common.AddressConfig + var BinanceInterfaces = make(map[string]binance.Interface) + var ConfigPaths = map[string]SettingPaths + var ExchangeConfigs = map[string]map[common.ExchangeID]common.ExchangeAddresses + var ExchangesMinDepositConfig = map[string]common.ExchangesMinDeposit + var FeeConfigs = map[string]common.ExchangeFees + var HuobiInterfaces = make(map[string]huobi.Interface) + var TokenConfigs = map[string]map[string]common.Token + func AsyncUpdateDepositAddress(ex common.Exchange, tokenID, addr string, wait *sync.WaitGroup, ...) + func DepositSignerFromConfigFile(secretPath string) *blockchain.EthereumSigner + func GetChainType(kyberENV string) string + func GetSetting(kyberENV string, addressSetting *settings.AddressSetting) (*settings.Settings, error) + func GetSettingDBName(kyberENV string) string + func HuobiIntermediatorSignerFromFile(secretPath string) *blockchain.EthereumSigner + func PricingSignerFromConfigFile(secretPath string) *blockchain.EthereumSigner + func SetInterface(baseURL string) + type AddressDepositConfig struct + Exchanges map[string]exchangeDepositAddress + type Config struct + ActivityStorage core.ActivityStorage + AddressSetting *settings.AddressSetting + Archive archive.Archive + AuthEngine http.Authentication + BackupEthereumEndpoints []string + Blockchain *blockchain.BaseBlockchain + BlockchainSigner blockchain.Signer + ChainType string + DataControllerRunner datapruner.StorageControllerRunner + DataGlobalStorage data.GlobalStorage + DataStorage data.Storage + DepositSigner blockchain.Signer + EnableAuthentication bool + EthereumEndpoint string + Exchanges []common.Exchange + FetcherExchanges []fetcher.Exchange + FetcherGlobalStorage fetcher.GlobalStorage + FetcherRunner fetcher.Runner + FetcherStorage fetcher.Storage + MetricStorage metric.Storage + Setting *settings.Settings + World *world.TheWorld + func GetConfig(kyberENV string, authEnbl bool, endpointOW string) *Config + func (c *Config) AddCoreConfig(settingPath SettingPaths, kyberENV string) + type ExchangePool struct + Exchanges map[common.ExchangeID]interface{} + func NewExchangePool(settingPaths SettingPaths, blockchain *blockchain.BaseBlockchain, ...) (*ExchangePool, error) + func (ep *ExchangePool) CoreExchanges() ([]common.Exchange, error) + func (ep *ExchangePool) FetcherExchanges() ([]fetcher.Exchange, error) + type SettingPaths struct + func GetConfigPaths(kyberENV string) SettingPaths + func NewSettingPaths(settingPath, feePath, dataStoragePath, analyticStoragePath, ... string, ...) SettingPaths