api

package
v0.0.0-...-ab71962 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package api is a generated GoMock package.

Index

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

Call mocks base method.

func (*MockCaller) CallWithState

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL