Versions in this module Expand all Collapse all v1 v1.5.0 Jun 21, 2018 Changes in this version + type OrderViewer interface + FillsPageQuery func(query map[string]interface{}, pageIndex, pageSize int) (dao.PageResult, error) + FindFillsByRingHash func(ringHash common.Hash) (result []dao.FillEvent, err error) + GetFrozenAmount func(owner common.Address, token common.Address, statusSet []types.OrderStatus, ...) (*big.Int, error) + GetFrozenLRCFee func(owner common.Address, statusSet []types.OrderStatus) (*big.Int, error) + GetLatestFills func(query map[string]interface{}, limit int) ([]dao.FillEvent, error) + GetLatestOrders func(query map[string]interface{}, length int) ([]types.OrderState, error) + GetOrderBook func(protocol, tokenS, tokenB common.Address, length int) ([]types.OrderState, error) + GetOrderByHash func(hash common.Hash) (*types.OrderState, error) + GetOrders func(query map[string]interface{}, statusList []types.OrderStatus, ...) (dao.PageResult, error) + IsOrderCutoff func(protocol, owner, token1, token2 common.Address, validsince *big.Int) bool + RingMinedPageQuery func(query map[string]interface{}, pageIndex, pageSize int) (dao.PageResult, error) + type OrderViewerImpl struct + func NewOrderViewer(options *OrderManagerOptions, rds *dao.RdsService, ...) *OrderViewerImpl + func (om *OrderViewerImpl) FillsPageQuery(query map[string]interface{}, pageIndex, pageSize int) (result dao.PageResult, err error) + func (om *OrderViewerImpl) FindFillsByRingHash(ringHash common.Hash) (result []dao.FillEvent, err error) + func (om *OrderViewerImpl) GetFrozenAmount(owner common.Address, token common.Address, statusSet []types.OrderStatus, ...) (*big.Int, error) + func (om *OrderViewerImpl) GetFrozenLRCFee(owner common.Address, statusSet []types.OrderStatus) (*big.Int, error) + func (om *OrderViewerImpl) GetLatestFills(query map[string]interface{}, limit int) (result []dao.FillEvent, err error) + func (om *OrderViewerImpl) GetLatestOrders(query map[string]interface{}, length int) (rst []types.OrderState, err error) + func (om *OrderViewerImpl) GetOrderBook(protocol, tokenS, tokenB common.Address, length int) ([]types.OrderState, error) + func (om *OrderViewerImpl) GetOrderByHash(hash common.Hash) (orderState *types.OrderState, err error) + func (om *OrderViewerImpl) GetOrders(query map[string]interface{}, statusList []types.OrderStatus, ...) (dao.PageResult, error) + func (om *OrderViewerImpl) IsOrderCutoff(protocol, owner, token1, token2 common.Address, validsince *big.Int) bool + func (om *OrderViewerImpl) RingMinedPageQuery(query map[string]interface{}, pageIndex, pageSize int) (result dao.PageResult, err error)