Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMarketMapUpserts ¶
func GetMarketMapUpserts( logger *zap.Logger, actual, generated mmtypes.MarketMap, ) ([]mmtypes.Market, error)
GetMarketMapUpserts returns the sequence of market-map updates required to translate actual (on chain) to generated. Specifically, for any markets for which actual.Markets[ticker] != generated.Markets[ticker], we'll return a MsgUpsertMarket setting actual.Markets[ticker] to generated.Markets[ticker].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.