Documentation ¶
Index ¶
- type LoopRelayAdapter
- func (_m *LoopRelayAdapter) Chain() legacyevm.Chain
- func (_m *LoopRelayAdapter) Close() error
- func (_m *LoopRelayAdapter) GetChainStatus(ctx context.Context) (types.ChainStatus, error)
- func (_m *LoopRelayAdapter) HealthReport() map[string]error
- func (_m *LoopRelayAdapter) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)
- func (_m *LoopRelayAdapter) Name() string
- func (_m *LoopRelayAdapter) NewConfigProvider(_a0 context.Context, _a1 types.RelayArgs) (types.ConfigProvider, error)
- func (_m *LoopRelayAdapter) NewLLOProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.LLOProvider, error)
- func (_m *LoopRelayAdapter) NewPluginProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.PluginProvider, error)
- func (_m *LoopRelayAdapter) Ready() error
- func (_m *LoopRelayAdapter) Start(_a0 context.Context) error
- func (_m *LoopRelayAdapter) Transact(ctx context.Context, from string, to string, amount *big.Int, ...) error
- type RequestRoundDB
- func (_m *RequestRoundDB) LoadLatestRoundRequested(_a0 context.Context) (ocr2aggregator.OCR2AggregatorRoundRequested, error)
- func (_m *RequestRoundDB) SaveLatestRoundRequested(ctx context.Context, rr ocr2aggregator.OCR2AggregatorRoundRequested) error
- func (_m *RequestRoundDB) Transact(_a0 context.Context, _a1 func(evm.RequestRoundDB) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoopRelayAdapter ¶ added in v2.5.0
LoopRelayAdapter is an autogenerated mock type for the LoopRelayAdapter type
func NewLoopRelayAdapter ¶ added in v2.5.0
func NewLoopRelayAdapter(t interface { mock.TestingT Cleanup(func()) }) *LoopRelayAdapter
NewLoopRelayAdapter creates a new instance of LoopRelayAdapter. 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 (*LoopRelayAdapter) Chain ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Chain() legacyevm.Chain
Chain provides a mock function with given fields:
func (*LoopRelayAdapter) Close ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Close() error
Close provides a mock function with given fields:
func (*LoopRelayAdapter) GetChainStatus ¶ added in v2.6.0
func (_m *LoopRelayAdapter) GetChainStatus(ctx context.Context) (types.ChainStatus, error)
GetChainStatus provides a mock function with given fields: ctx
func (*LoopRelayAdapter) HealthReport ¶ added in v2.5.0
func (_m *LoopRelayAdapter) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*LoopRelayAdapter) ListNodeStatuses ¶ added in v2.6.0
func (_m *LoopRelayAdapter) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)
ListNodeStatuses provides a mock function with given fields: ctx, pageSize, pageToken
func (*LoopRelayAdapter) Name ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Name() string
Name provides a mock function with given fields:
func (*LoopRelayAdapter) NewConfigProvider ¶ added in v2.5.0
func (_m *LoopRelayAdapter) NewConfigProvider(_a0 context.Context, _a1 types.RelayArgs) (types.ConfigProvider, error)
NewConfigProvider provides a mock function with given fields: _a0, _a1
func (*LoopRelayAdapter) NewLLOProvider ¶ added in v2.10.0
func (_m *LoopRelayAdapter) NewLLOProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.LLOProvider, error)
NewLLOProvider provides a mock function with given fields: _a0, _a1, _a2
func (*LoopRelayAdapter) NewPluginProvider ¶ added in v2.6.0
func (_m *LoopRelayAdapter) NewPluginProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.PluginProvider, error)
NewPluginProvider provides a mock function with given fields: _a0, _a1, _a2
func (*LoopRelayAdapter) Ready ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Ready() error
Ready provides a mock function with given fields:
type RequestRoundDB ¶
RequestRoundDB is an autogenerated mock type for the RequestRoundDB type
func NewRequestRoundDB ¶
func NewRequestRoundDB(t interface { mock.TestingT Cleanup(func()) }) *RequestRoundDB
NewRequestRoundDB creates a new instance of RequestRoundDB. 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 (*RequestRoundDB) LoadLatestRoundRequested ¶
func (_m *RequestRoundDB) LoadLatestRoundRequested(_a0 context.Context) (ocr2aggregator.OCR2AggregatorRoundRequested, error)
LoadLatestRoundRequested provides a mock function with given fields: _a0
func (*RequestRoundDB) SaveLatestRoundRequested ¶
func (_m *RequestRoundDB) SaveLatestRoundRequested(ctx context.Context, rr ocr2aggregator.OCR2AggregatorRoundRequested) error
SaveLatestRoundRequested provides a mock function with given fields: ctx, rr
func (*RequestRoundDB) Transact ¶ added in v2.11.0
func (_m *RequestRoundDB) Transact(_a0 context.Context, _a1 func(evm.RequestRoundDB) error) error
Transact provides a mock function with given fields: _a0, _a1