Versions in this module Expand all Collapse all v0 v0.0.2 Oct 30, 2019 v0.0.1 Oct 30, 2019 Changes in this version + const QueryLatest + const TableKey + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterRoutes(ctx context.CLIContext, r *mux.Router, cdc *codec.Codec) + type Batch struct + Asks []matcheng.AggregatePrice + Bids []matcheng.AggregatePrice + BlockNumber int64 + BlockTime time.Time + ClearingPrice sdk.Uint + MarketID store.EntityID + type Keeper struct + func NewKeeper(db dbm.DB, cdc *codec.Codec) Keeper + func (k Keeper) LatestByMarket(marketID store.EntityID) (Batch, sdk.Error) + func (k Keeper) OnBatchEvent(event types.Batch) + func (k Keeper) OnEvent(event interface{}) error