Documentation ¶
Index ¶
- type EventSink
- func (_m *EventSink) GetTxByHash(_a0 []byte) (*types.TxResult, error)
- func (_m *EventSink) HasBlock(_a0 int64) (bool, error)
- func (_m *EventSink) IndexBlockEvents(_a0 tenderdashtypes.EventDataNewBlockHeader) error
- func (_m *EventSink) IndexTxEvents(_a0 []*types.TxResult) error
- func (_m *EventSink) SearchBlockEvents(_a0 context.Context, _a1 *query.Query) ([]int64, error)
- func (_m *EventSink) SearchTxEvents(_a0 context.Context, _a1 *query.Query) ([]*types.TxResult, error)
- func (_m *EventSink) Stop() error
- func (_m *EventSink) Type() indexer.EventSinkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSink ¶
EventSink is an autogenerated mock type for the EventSink type
func NewEventSink ¶
NewEventSink creates a new instance of EventSink. 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 (*EventSink) GetTxByHash ¶
GetTxByHash provides a mock function with given fields: _a0
func (*EventSink) IndexBlockEvents ¶
func (_m *EventSink) IndexBlockEvents(_a0 tenderdashtypes.EventDataNewBlockHeader) error
IndexBlockEvents provides a mock function with given fields: _a0
func (*EventSink) IndexTxEvents ¶
IndexTxEvents provides a mock function with given fields: _a0
func (*EventSink) SearchBlockEvents ¶
SearchBlockEvents provides a mock function with given fields: _a0, _a1
func (*EventSink) SearchTxEvents ¶
func (_m *EventSink) SearchTxEvents(_a0 context.Context, _a1 *query.Query) ([]*types.TxResult, error)
SearchTxEvents provides a mock function with given fields: _a0, _a1
func (*EventSink) Type ¶
func (_m *EventSink) Type() indexer.EventSinkType
Type provides a mock function with given fields: