Documentation ¶
Index ¶
- type Quoter
- func (_m *Quoter) GetPrice(ctx context.Context, tokenName string) (float64, error)
- func (_m *Quoter) IsProfitable(ctx context.Context, quote reldb.QuoteRequest) (bool, error)
- func (_m *Quoter) ShouldProcess(ctx context.Context, quote reldb.QuoteRequest) (bool, error)
- func (_m *Quoter) SubmitAllQuotes(ctx context.Context) error
- func (_m *Quoter) SubscribeActiveRFQ(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Quoter ¶
Quoter is an autogenerated mock type for the Quoter type
func NewQuoter ¶
func NewQuoter(t mockConstructorTestingTNewQuoter) *Quoter
NewQuoter creates a new instance of Quoter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Quoter) IsProfitable ¶
IsProfitable provides a mock function with given fields: ctx, quote
func (*Quoter) ShouldProcess ¶
ShouldProcess provides a mock function with given fields: ctx, quote
func (*Quoter) SubmitAllQuotes ¶
SubmitAllQuotes provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.