Documentation ¶
Index ¶
- func NewQuerier(orderKeeper *OrderKeeper) sdk.Querier
- type OrderKeeper
- func (ok *OrderKeeper) ExistOrderBook(ctx sdk.Context) bool
- func (ok *OrderKeeper) GetOrderBook(ctx sdk.Context) (types.OrderBook, error)
- func (k OrderKeeper) Logger(ctx sdk.Context) log.Logger
- func (ok *OrderKeeper) SetOrderBook(ctx sdk.Context, orderbook types.OrderBook)
- func (ok *OrderKeeper) UpdateOrderBook(ctx sdk.Context, orderbook types.OrderBook, actions *types.Actions)
- func (ok *OrderKeeper) WaitForReady(ctx sdk.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(orderKeeper *OrderKeeper) sdk.Querier
Types ¶
type OrderKeeper ¶
type OrderKeeper struct { Cdb *redis.RedisDB //*couchdb.GoCouchDB StoreKey sdk.StoreKey AccountKeeper account.AccountKeeper }
func NewOrderKeeper ¶
func NewOrderKeeper(cdb *redis.RedisDB, key sdk.StoreKey, ak account.AccountKeeper) OrderKeeper
func (*OrderKeeper) ExistOrderBook ¶
func (ok *OrderKeeper) ExistOrderBook(ctx sdk.Context) bool
func (*OrderKeeper) GetOrderBook ¶
func (OrderKeeper) Logger ¶ added in v1.5.53
func (k OrderKeeper) Logger(ctx sdk.Context) log.Logger
func (*OrderKeeper) SetOrderBook ¶
func (ok *OrderKeeper) SetOrderBook(ctx sdk.Context, orderbook types.OrderBook)
func (*OrderKeeper) UpdateOrderBook ¶
func (*OrderKeeper) WaitForReady ¶
func (ok *OrderKeeper) WaitForReady(ctx sdk.Context)
Click to show internal directories.
Click to hide internal directories.