mocks

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quoter

type Quoter struct {
	mock.Mock
}

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) GetPrice

func (_m *Quoter) GetPrice(ctx context.Context, tokenName string) (float64, error)

GetPrice provides a mock function with given fields: ctx, tokenName

func (*Quoter) IsProfitable

func (_m *Quoter) IsProfitable(ctx context.Context, quote reldb.QuoteRequest) (bool, error)

IsProfitable provides a mock function with given fields: ctx, quote

func (*Quoter) ShouldProcess

func (_m *Quoter) ShouldProcess(ctx context.Context, quote reldb.QuoteRequest) (bool, error)

ShouldProcess provides a mock function with given fields: ctx, quote

func (*Quoter) SubmitAllQuotes

func (_m *Quoter) SubmitAllQuotes(ctx context.Context) error

SubmitAllQuotes provides a mock function with given fields: ctx

func (*Quoter) SubscribeActiveRFQ added in v1.29.0

func (_m *Quoter) SubscribeActiveRFQ(ctx context.Context) error

SubscribeActiveRFQ provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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