ethrpc2test

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package ethrpc2test is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) EstimateGas

func (m *MockClient) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)

EstimateGas mocks base method.

func (*MockClient) NetworkID

func (m *MockClient) NetworkID(ctx context.Context) (*big.Int, error)

NetworkID mocks base method.

func (*MockClient) NonceAt

func (m *MockClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)

NonceAt mocks base method.

func (*MockClient) SendTransaction

func (m *MockClient) SendTransaction(ctx context.Context, tx *types.Transaction) error

SendTransaction mocks base method.

func (*MockClient) SuggestGasPrice

func (m *MockClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) EstimateGas

func (mr *MockClientMockRecorder) EstimateGas(ctx, msg interface{}) *gomock.Call

EstimateGas indicates an expected call of EstimateGas.

func (*MockClientMockRecorder) NetworkID

func (mr *MockClientMockRecorder) NetworkID(ctx interface{}) *gomock.Call

NetworkID indicates an expected call of NetworkID.

func (*MockClientMockRecorder) NonceAt

func (mr *MockClientMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call

NonceAt indicates an expected call of NonceAt.

func (*MockClientMockRecorder) SendTransaction

func (mr *MockClientMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction.

func (*MockClientMockRecorder) SuggestGasPrice

func (mr *MockClientMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call

SuggestGasPrice indicates an expected call of SuggestGasPrice.

Jump to

Keyboard shortcuts

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