mocks

package
v1.12.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 8 Imported by: 0

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 NewContractSubmitter added in v1.6.0

func NewContractSubmitter(t mockConstructorTestingTNewContractSubmitter) *ContractSubmitter

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

func (*ContractSubmitter) Submit

func (_m *ContractSubmitter) Submit(roundID *big.Int, submission *big.Int, qopts ...pg.QOpt) error

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

type Flags added in v0.10.12

type Flags struct {
	mock.Mock
}

Flags is an autogenerated mock type for the Flags type

func NewFlags added in v1.6.0

func NewFlags(t mockConstructorTestingTNewFlags) *Flags

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

func (*Flags) Address added in v0.10.12

func (_m *Flags) Address() common.Address

Address provides a mock function with given fields:

func (*Flags) ContractExists added in v0.10.12

func (_m *Flags) ContractExists() bool

ContractExists provides a mock function with given fields:

func (*Flags) IsLowered added in v0.10.12

func (_m *Flags) IsLowered(contractAddr common.Address) (bool, error)

IsLowered provides a mock function with given fields: contractAddr

func (*Flags) ParseLog added in v0.10.12

func (_m *Flags) ParseLog(log types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: log

type KeyStoreInterface

type KeyStoreInterface struct {
	mock.Mock
}

KeyStoreInterface is an autogenerated mock type for the KeyStoreInterface type

func NewKeyStoreInterface added in v1.6.0

func NewKeyStoreInterface(t mockConstructorTestingTNewKeyStoreInterface) *KeyStoreInterface

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

func (*KeyStoreInterface) EnabledKeysForChain added in v1.8.0

func (_m *KeyStoreInterface) EnabledKeysForChain(chainID *big.Int) ([]ethkey.KeyV2, error)

EnabledKeysForChain provides a mock function with given fields: chainID

func (*KeyStoreInterface) GetRoundRobinAddress

func (_m *KeyStoreInterface) GetRoundRobinAddress(chainID *big.Int, addrs ...common.Address) (common.Address, error)

GetRoundRobinAddress provides a mock function with given fields: chainID, addrs

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func NewORM added in v1.6.0

func NewORM(t mockConstructorTestingTNewORM) *ORM

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

func (*ORM) CountFluxMonitorRoundStats added in v1.1.0

func (_m *ORM) CountFluxMonitorRoundStats() (int, error)

CountFluxMonitorRoundStats provides a mock function with given fields:

func (*ORM) CreateEthTransaction

func (_m *ORM) CreateEthTransaction(fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint32, qopts ...pg.QOpt) error

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

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, newRoundLogs uint) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)

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

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(aggregator common.Address, roundID uint32, runID int64, newRoundLogsAddition uint, qopts ...pg.QOpt) error

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

Jump to

Keyboard shortcuts

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