mocks

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerDB

type ConsumerDB struct {
	mock.Mock
}

ConsumerDB is an autogenerated mock type for the ConsumerDB type

func NewConsumerDB

func NewConsumerDB(t mockConstructorTestingTNewConsumerDB) *ConsumerDB

NewConsumerDB creates a new instance of ConsumerDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ConsumerDB) DB added in v0.0.3

func (_m *ConsumerDB) DB() *gorm.DB

DB provides a mock function with given fields:

func (*ConsumerDB) ReadBlockNumberByChainID

func (_m *ConsumerDB) ReadBlockNumberByChainID(ctx context.Context, eventType int8, chainID uint32) (*uint64, error)

ReadBlockNumberByChainID provides a mock function with given fields: ctx, eventType, chainID

func (*ConsumerDB) StoreEvent

func (_m *ConsumerDB) StoreEvent(ctx context.Context, bridgeEvent bridge.EventLog, swapEvent swap.EventLog, chainID uint32, tokenID *string) error

StoreEvent provides a mock function with given fields: ctx, bridgeEvent, swapEvent, chainID, tokenID

Jump to

Keyboard shortcuts

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