Documentation ¶
Overview ¶
Package api is a generated GoMock package.
Index ¶
- type Caller
- type MockCaller
- func (m *MockCaller) Call(arg0 context.Context, arg1 ethapi.TransactionArgs, arg2 rpc.BlockNumberOrHash, ...) (hexutil.Bytes, error)
- func (m *MockCaller) CallWithState(arg0 context.Context, arg1 ethapi.TransactionArgs, arg2 rpc.BlockNumberOrHash, ...) (hexutil.Bytes, error)
- func (m *MockCaller) EXPECT() *MockCallerMockRecorder
- type MockCallerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller interface { Call(ctx context.Context, args ethapi.TransactionArgs, blockNrOrHash rpc.BlockNumberOrHash, overrides *ethapi.StateOverride) (hexutil.Bytes, error) CallWithState(ctx context.Context, args ethapi.TransactionArgs, blockNrOrHash rpc.BlockNumberOrHash, state *state.StateDB, overrides *ethapi.StateOverride) (hexutil.Bytes, error) }
type MockCaller ¶
type MockCaller struct {
// contains filtered or unexported fields
}
MockCaller is a mock of Caller interface.
func NewMockCaller ¶
func NewMockCaller(ctrl *gomock.Controller) *MockCaller
NewMockCaller creates a new mock instance.
func (*MockCaller) Call ¶
func (m *MockCaller) Call(arg0 context.Context, arg1 ethapi.TransactionArgs, arg2 rpc.BlockNumberOrHash, arg3 *ethapi.StateOverride) (hexutil.Bytes, error)
Call mocks base method.
func (*MockCaller) CallWithState ¶
func (m *MockCaller) CallWithState(arg0 context.Context, arg1 ethapi.TransactionArgs, arg2 rpc.BlockNumberOrHash, arg3 *state.StateDB, arg4 *ethapi.StateOverride) (hexutil.Bytes, error)
CallWithState mocks base method.
func (*MockCaller) EXPECT ¶
func (m *MockCaller) EXPECT() *MockCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCallerMockRecorder ¶
type MockCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockCallerMockRecorder is the mock recorder for MockCaller.
func (*MockCallerMockRecorder) Call ¶
func (mr *MockCallerMockRecorder) Call(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Call indicates an expected call of Call.
func (*MockCallerMockRecorder) CallWithState ¶
func (mr *MockCallerMockRecorder) CallWithState(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CallWithState indicates an expected call of CallWithState.
Click to show internal directories.
Click to hide internal directories.