Versions in this module Expand all Collapse all v1 v1.0.0 May 13, 2021 Changes in this version + type Client struct + func NewClient(cfg config.CoinMarketCapConfig) *Client + func (c *Client) GetGlobalPrices(ctx context.Context, targetDenoms []string) ([]sdk.Dec, error) + func (c *Client) GetTargetPools(ctx context.Context) ([]uint64, error) + type CoinMarketCapResponse struct + Data json.RawMessage + Status struct{ ... } + type PoolsCache struct + BlockHeight int64 + Pools []PoolsCachePool + TotalValueLocked float64 + UpdatedAt time.Time + type PoolsCacheCoin struct + Amount int64 + Denom string + GlobalPrice float64 + type PoolsCachePool struct + APY float64 + ID uint64 + PoolCoin PoolsCacheCoin + ReserveCoins []PoolsCacheCoin + SwapFeeValueSinceLastHour float64