mocks

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractSubmitter

type ContractSubmitter struct {
	mock.Mock
}

ContractSubmitter is an autogenerated mock type for the ContractSubmitter type

func (*ContractSubmitter) Submit

func (_m *ContractSubmitter) Submit(db *gorm.DB, roundID *big.Int, submission *big.Int) error

Submit provides a mock function with given fields: db, roundID, submission

type KeyStoreInterface

type KeyStoreInterface struct {
	mock.Mock
}

KeyStoreInterface is an autogenerated mock type for the KeyStoreInterface type

func (*KeyStoreInterface) GetRoundRobinAddress

func (_m *KeyStoreInterface) GetRoundRobinAddress(_a0 ...common.Address) (common.Address, error)

GetRoundRobinAddress provides a mock function with given fields: _a0

func (*KeyStoreInterface) SendingKeys

func (_m *KeyStoreInterface) SendingKeys() ([]ethkey.Key, error)

SendingKeys provides a mock function with given fields:

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func (*ORM) CreateEthTransaction

func (_m *ORM) CreateEthTransaction(db *gorm.DB, fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint64) error

CreateEthTransaction provides a mock function with given fields: db, fromAddress, toAddress, payload, gasLimit

func (*ORM) DeleteFluxMonitorRoundsBackThrough

func (_m *ORM) DeleteFluxMonitorRoundsBackThrough(aggregator common.Address, roundID uint32) error

DeleteFluxMonitorRoundsBackThrough provides a mock function with given fields: aggregator, roundID

func (*ORM) FindOrCreateFluxMonitorRoundStats

func (_m *ORM) FindOrCreateFluxMonitorRoundStats(aggregator common.Address, roundID uint32) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)

FindOrCreateFluxMonitorRoundStats provides a mock function with given fields: aggregator, roundID

func (*ORM) MostRecentFluxMonitorRoundID

func (_m *ORM) MostRecentFluxMonitorRoundID(aggregator common.Address) (uint32, error)

MostRecentFluxMonitorRoundID provides a mock function with given fields: aggregator

func (*ORM) UpdateFluxMonitorRoundStats

func (_m *ORM) UpdateFluxMonitorRoundStats(db *gorm.DB, aggregator common.Address, roundID uint32, runID int64) error

UpdateFluxMonitorRoundStats provides a mock function with given fields: db, aggregator, roundID, runID

Jump to

Keyboard shortcuts

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