Documentation ¶
Index ¶
- func PoolDecorator(db *gorm.DB, fn func(http.ResponseWriter, *http.Request, types.Pool)) func(http.ResponseWriter, *http.Request)
- func PoolDecoratorBaseFee(db *gorm.DB, redisClient *redis.Client, ...) func(http.ResponseWriter, *http.Request)
- type FilterContract
- type Pool
- func (pool *Pool) CheckFilter(order *types.Order, networkid uint) (bool, error)
- func (pool Pool) Count(db *gorm.DB) <-chan uint
- func (pool Pool) Fee() (*big.Int, error)
- func (pool Pool) Filter(query *gorm.DB) (*gorm.DB, error)
- func (pool Pool) QueryString() string
- func (pool *Pool) SetBaseFee(baseFee config.BaseFee)
- func (pool *Pool) SetConn(conn bind.ContractCaller)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PoolDecorator ¶
func PoolDecoratorBaseFee ¶
Types ¶
type FilterContract ¶
type FilterContract struct {
// contains filtered or unexported fields
}
func NewFilterContract ¶
func NewFilterContract(address *types.Address, conn bind.ContractCaller) *FilterContract
func NewRPCFilterContract ¶
func NewRPCFilterContract(address *types.Address, rpcURL string) (*FilterContract, error)
type Pool ¶
type Pool struct { SearchTerms string Expiration uint64 Nonce uint ID []byte Limit uint SenderAddresses types.NetworkAddressMap FilterAddresses types.NetworkAddressMap // contains filtered or unexported fields }
func (*Pool) CheckFilter ¶
func (Pool) QueryString ¶
func (*Pool) SetBaseFee ¶
func (*Pool) SetConn ¶
func (pool *Pool) SetConn(conn bind.ContractCaller)
Click to show internal directories.
Click to hide internal directories.