Documentation ¶
Index ¶
- type LoopRelayAdapter
- func (_m *LoopRelayAdapter) Chain() evm.Chain
- func (_m *LoopRelayAdapter) ChainStatus(ctx context.Context, id string) (types.ChainStatus, error)
- func (_m *LoopRelayAdapter) ChainStatuses(ctx context.Context, offset int, limit int) ([]types.ChainStatus, int, error)
- func (_m *LoopRelayAdapter) Close() error
- func (_m *LoopRelayAdapter) Default() bool
- func (_m *LoopRelayAdapter) HealthReport() map[string]error
- func (_m *LoopRelayAdapter) Name() string
- func (_m *LoopRelayAdapter) NewConfigProvider(_a0 context.Context, _a1 types.RelayArgs) (types.ConfigProvider, error)
- func (_m *LoopRelayAdapter) NewFunctionsProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.FunctionsProvider, error)
- func (_m *LoopRelayAdapter) NewMedianProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.MedianProvider, error)
- func (_m *LoopRelayAdapter) NewMercuryProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.MercuryProvider, error)
- func (_m *LoopRelayAdapter) NodeStatuses(ctx context.Context, offset int, limit int, chainIDs ...string) ([]types.NodeStatus, int, error)
- func (_m *LoopRelayAdapter) Ready() error
- func (_m *LoopRelayAdapter) SendTx(ctx context.Context, chainID string, from string, to string, amount *big.Int, ...) error
- func (_m *LoopRelayAdapter) Start(_a0 context.Context) error
- type RequestRoundDB
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 mockConstructorTestingTNewLoopRelayAdapter) *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.
func (*LoopRelayAdapter) Chain ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Chain() evm.Chain
Chain provides a mock function with given fields:
func (*LoopRelayAdapter) ChainStatus ¶ added in v2.5.0
func (_m *LoopRelayAdapter) ChainStatus(ctx context.Context, id string) (types.ChainStatus, error)
ChainStatus provides a mock function with given fields: ctx, id
func (*LoopRelayAdapter) ChainStatuses ¶ added in v2.5.0
func (_m *LoopRelayAdapter) ChainStatuses(ctx context.Context, offset int, limit int) ([]types.ChainStatus, int, error)
ChainStatuses provides a mock function with given fields: ctx, offset, limit
func (*LoopRelayAdapter) Close ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Close() error
Close provides a mock function with given fields:
func (*LoopRelayAdapter) Default ¶ added in v2.5.0
func (_m *LoopRelayAdapter) Default() bool
Default provides a mock function with given fields:
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) 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) NewFunctionsProvider ¶ added in v2.5.0
func (_m *LoopRelayAdapter) NewFunctionsProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.FunctionsProvider, error)
NewFunctionsProvider provides a mock function with given fields: _a0, _a1, _a2
func (*LoopRelayAdapter) NewMedianProvider ¶ added in v2.5.0
func (_m *LoopRelayAdapter) NewMedianProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.MedianProvider, error)
NewMedianProvider provides a mock function with given fields: _a0, _a1, _a2
func (*LoopRelayAdapter) NewMercuryProvider ¶ added in v2.5.0
func (_m *LoopRelayAdapter) NewMercuryProvider(_a0 context.Context, _a1 types.RelayArgs, _a2 types.PluginArgs) (types.MercuryProvider, error)
NewMercuryProvider provides a mock function with given fields: _a0, _a1, _a2
func (*LoopRelayAdapter) NodeStatuses ¶ added in v2.5.0
func (_m *LoopRelayAdapter) NodeStatuses(ctx context.Context, offset int, limit int, chainIDs ...string) ([]types.NodeStatus, int, error)
NodeStatuses provides a mock function with given fields: ctx, offset, limit, chainIDs
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 mockConstructorTestingTNewRequestRoundDB) *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.
func (*RequestRoundDB) LoadLatestRoundRequested ¶
func (_m *RequestRoundDB) LoadLatestRoundRequested() (ocr2aggregator.OCR2AggregatorRoundRequested, error)
LoadLatestRoundRequested provides a mock function with given fields:
func (*RequestRoundDB) SaveLatestRoundRequested ¶
func (_m *RequestRoundDB) SaveLatestRoundRequested(tx pg.Queryer, rr ocr2aggregator.OCR2AggregatorRoundRequested) error
SaveLatestRoundRequested provides a mock function with given fields: tx, rr