Documentation ¶
Index ¶
- type ContractSubmitter
- type Flags
- type KeyStoreInterface
- type ORM
- func (_m *ORM) CountFluxMonitorRoundStats(ctx context.Context) (int, error)
- func (_m *ORM) CreateEthTransaction(ctx context.Context, fromAddress common.Address, toAddress common.Address, ...) error
- func (_m *ORM) DeleteFluxMonitorRoundsBackThrough(ctx context.Context, aggregator common.Address, roundID uint32) error
- func (_m *ORM) FindOrCreateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, ...) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)
- func (_m *ORM) MostRecentFluxMonitorRoundID(ctx context.Context, aggregator common.Address) (uint32, error)
- func (_m *ORM) UpdateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, runID int64, ...) error
- func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) fluxmonitorv2.ORM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractSubmitter ¶
ContractSubmitter is an autogenerated mock type for the ContractSubmitter type
func NewContractSubmitter ¶
func NewContractSubmitter(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
type Flags ¶
Flags is an autogenerated mock type for the Flags type
func NewFlags ¶
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. The first argument is typically a *testing.T value.
func (*Flags) ContractExists ¶
ContractExists provides a mock function with given fields:
type KeyStoreInterface ¶
KeyStoreInterface is an autogenerated mock type for the KeyStoreInterface type
func NewKeyStoreInterface ¶
func NewKeyStoreInterface(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*KeyStoreInterface) EnabledKeysForChain ¶
func (_m *KeyStoreInterface) EnabledKeysForChain(ctx context.Context, chainID *big.Int) ([]ethkey.KeyV2, error)
EnabledKeysForChain provides a mock function with given fields: ctx, chainID
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶
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. The first argument is typically a *testing.T value.
func (*ORM) CountFluxMonitorRoundStats ¶
CountFluxMonitorRoundStats provides a mock function with given fields: ctx
func (*ORM) CreateEthTransaction ¶
func (_m *ORM) CreateEthTransaction(ctx context.Context, fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint64, idempotencyKey *string) error
CreateEthTransaction provides a mock function with given fields: ctx, fromAddress, toAddress, payload, gasLimit, idempotencyKey
func (*ORM) DeleteFluxMonitorRoundsBackThrough ¶
func (_m *ORM) DeleteFluxMonitorRoundsBackThrough(ctx context.Context, aggregator common.Address, roundID uint32) error
DeleteFluxMonitorRoundsBackThrough provides a mock function with given fields: ctx, aggregator, roundID
func (*ORM) FindOrCreateFluxMonitorRoundStats ¶
func (_m *ORM) FindOrCreateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, newRoundLogs uint) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)
FindOrCreateFluxMonitorRoundStats provides a mock function with given fields: ctx, aggregator, roundID, newRoundLogs
func (*ORM) MostRecentFluxMonitorRoundID ¶
func (_m *ORM) MostRecentFluxMonitorRoundID(ctx context.Context, aggregator common.Address) (uint32, error)
MostRecentFluxMonitorRoundID provides a mock function with given fields: ctx, aggregator
func (*ORM) UpdateFluxMonitorRoundStats ¶
func (_m *ORM) UpdateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, runID int64, newRoundLogsAddition uint) error
UpdateFluxMonitorRoundStats provides a mock function with given fields: ctx, aggregator, roundID, runID, newRoundLogsAddition
func (*ORM) WithDataSource ¶ added in v2.12.0
func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) fluxmonitorv2.ORM
WithDataSource provides a mock function with given fields: _a0