Versions in this module Expand all Collapse all v0 v0.11.1 Mar 16, 2021 v0.10.1 Mar 16, 2021 Changes in this version + func GetMarketIDMap() map[string]int64 + func GetMarketServiceURL(urls string, nameSpace string, param vo.SelectOneHealthInstanceParam) (string, error) + func InitTokenPairMap(ctx sdk.Context, dexKeeper types.DexKeeper) + func RegisterNewTokenPair(tokenPairID int64, tokenPairName string, marketServiceURL string, ...) (err error) + type KlineData struct + Height int64 + func NewKlineData() *KlineData + func (kd *KlineData) GetMatchResults() []*backend.MatchResult + func (kd *KlineData) GetNewTokenPairs() []*dex.TokenPair + func (kd *KlineData) SetData(ctx sdk.Context, orderKeeper types.OrderKeeper, cache *common.Cache) + func (kd *KlineData) SetMatchResults(matchResults []*backend.MatchResult) + func (kd KlineData) BlockHeight() int64 + func (kd KlineData) DataType() types.StreamDataKind + type MarketConfig struct + MarketNacosClusters []string + MarketNacosGroupName string + MarketNacosNamespaceId string + MarketNacosServiceName string + MarketNacosUrls string + MarketServiceEnable bool + func NewMarketConfig(enable bool, urls, nameSpace string, clusters []string, ...) MarketConfig