Documentation
¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockLogFilterWithLatestBlock
- func (m *MockLogFilterWithLatestBlock) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (m *MockLogFilterWithLatestBlock) EXPECT() *MockLogFilterWithLatestBlockMockRecorder
- func (m *MockLogFilterWithLatestBlock) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockLogFilterWithLatestBlock) LatestBlock() (*big.Int, error)
- type MockLogFilterWithLatestBlockMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogFilterWithLatestBlock ¶
type MockLogFilterWithLatestBlock struct {
// contains filtered or unexported fields
}
MockLogFilterWithLatestBlock is a mock of LogFilterWithLatestBlock interface
func NewMockLogFilterWithLatestBlock ¶
func NewMockLogFilterWithLatestBlock(ctrl *gomock.Controller) *MockLogFilterWithLatestBlock
NewMockLogFilterWithLatestBlock creates a new mock instance
func (*MockLogFilterWithLatestBlock) BlockByNumber ¶
func (m *MockLogFilterWithLatestBlock) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber mocks base method
func (*MockLogFilterWithLatestBlock) EXPECT ¶
func (m *MockLogFilterWithLatestBlock) EXPECT() *MockLogFilterWithLatestBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogFilterWithLatestBlock) FilterLogs ¶
func (m *MockLogFilterWithLatestBlock) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
FilterLogs mocks base method
func (*MockLogFilterWithLatestBlock) LatestBlock ¶
func (m *MockLogFilterWithLatestBlock) LatestBlock() (*big.Int, error)
LatestBlock mocks base method
type MockLogFilterWithLatestBlockMockRecorder ¶
type MockLogFilterWithLatestBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockLogFilterWithLatestBlockMockRecorder is the mock recorder for MockLogFilterWithLatestBlock
func (*MockLogFilterWithLatestBlockMockRecorder) BlockByNumber ¶
func (mr *MockLogFilterWithLatestBlockMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call
BlockByNumber indicates an expected call of BlockByNumber
func (*MockLogFilterWithLatestBlockMockRecorder) FilterLogs ¶
func (mr *MockLogFilterWithLatestBlockMockRecorder) FilterLogs(ctx, q interface{}) *gomock.Call
FilterLogs indicates an expected call of FilterLogs
func (*MockLogFilterWithLatestBlockMockRecorder) LatestBlock ¶
func (mr *MockLogFilterWithLatestBlockMockRecorder) LatestBlock() *gomock.Call
LatestBlock indicates an expected call of LatestBlock
Click to show internal directories.
Click to hide internal directories.