Versions in this module Expand all Collapse all v1 v1.5.0 Jun 21, 2018 Changes in this version + var InvalidFillStatus = []types.OrderStatus + var PendingStatus = []types.OrderStatus + var ValidCutoffStatus = []types.OrderStatus + var ValidFlexCancelStatus = []types.OrderStatus + var ValidMinerStatus = []types.OrderStatus + func IsInvalidFillStatus(status types.OrderStatus) bool + func IsPendingStatus(status types.OrderStatus) bool + type CutoffCache struct + func NewCutoffCache(expire int64) *CutoffCache + func (c *CutoffCache) GetCutoff(protocol, owner common.Address) *big.Int + func (c *CutoffCache) GetCutoffPair(protocol, owner, token1, token2 common.Address) *big.Int + func (c *CutoffCache) IsOrderCutoff(protocol, owner, token1, token2 common.Address, validsince *big.Int) bool + func (c *CutoffCache) UpdateCutoff(protocol, owner common.Address, cutoff *big.Int) error + func (c *CutoffCache) UpdateCutoffPair(protocol, owner, token1, token2 common.Address, cutoff *big.Int) error + type OrderManagerOptions struct + CutoffCacheCleanTime int64 + CutoffCacheExpireTime int64