Documentation ¶
Index ¶
- type BalanceMonitor
- func (_m *BalanceMonitor) Close() error
- func (_m *BalanceMonitor) GetEthBalance(_a0 common.Address) *assets.Eth
- func (_m *BalanceMonitor) HealthReport() map[string]error
- func (_m *BalanceMonitor) Name() string
- func (_m *BalanceMonitor) OnNewLongestChain(ctx context.Context, head *types.Head)
- func (_m *BalanceMonitor) Ready() error
- func (_m *BalanceMonitor) Start(_a0 context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceMonitor ¶
BalanceMonitor is an autogenerated mock type for the BalanceMonitor type
func NewBalanceMonitor ¶
func NewBalanceMonitor(t interface { mock.TestingT Cleanup(func()) }) *BalanceMonitor
NewBalanceMonitor creates a new instance of BalanceMonitor. 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 (*BalanceMonitor) Close ¶
func (_m *BalanceMonitor) Close() error
Close provides a mock function with given fields:
func (*BalanceMonitor) GetEthBalance ¶
func (_m *BalanceMonitor) GetEthBalance(_a0 common.Address) *assets.Eth
GetEthBalance provides a mock function with given fields: _a0
func (*BalanceMonitor) HealthReport ¶
func (_m *BalanceMonitor) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*BalanceMonitor) Name ¶
func (_m *BalanceMonitor) Name() string
Name provides a mock function with given fields:
func (*BalanceMonitor) OnNewLongestChain ¶
func (_m *BalanceMonitor) OnNewLongestChain(ctx context.Context, head *types.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head
func (*BalanceMonitor) Ready ¶
func (_m *BalanceMonitor) Ready() error
Ready provides a mock function with given fields: