keeper

package
v1.6.59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (ok *OrderKeeper) GetOrderBook(ctx sdk.Context) (types.OrderBook, error)

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 (ok *OrderKeeper) UpdateOrderBook(ctx sdk.Context, orderbook types.OrderBook, actions *types.Actions)

func (*OrderKeeper) WaitForReady

func (ok *OrderKeeper) WaitForReady(ctx sdk.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL