mock

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) EEA

func (m *MockCaller) EEA() ethereum.EEACaller

EEA mock base method.

func (*MockCaller) EXPECT

func (m *MockCaller) EXPECT() *MockCallerMockRecorder

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

func (*MockCaller) Eth

func (m *MockCaller) Eth() ethereum.EthCaller

Eth mock base method.

func (*MockCaller) Priv

func (m *MockCaller) Priv() ethereum.PrivCaller

Priv mock base method.

type MockCallerMockRecorder

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

MockCallerMockRecorder is the mock recorder for MockCaller.

func (*MockCallerMockRecorder) EEA

func (mr *MockCallerMockRecorder) EEA() *gomock.Call

EEA indicates an expected call of EEA.

func (*MockCallerMockRecorder) Eth

func (mr *MockCallerMockRecorder) Eth() *gomock.Call

Eth indicates an expected call of Eth.

func (*MockCallerMockRecorder) Priv

func (mr *MockCallerMockRecorder) Priv() *gomock.Call

Priv indicates an expected call of Priv.

type MockEEACaller

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

MockEEACaller is a mock of EEACaller interface.

func NewMockEEACaller

func NewMockEEACaller(ctrl *gomock.Controller) *MockEEACaller

NewMockEEACaller creates a new mock instance.

func (*MockEEACaller) EXPECT

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

func (*MockEEACaller) SendRawTransaction

func (m *MockEEACaller) SendRawTransaction(arg0 context.Context, arg1 []byte) (common.Hash, error)

SendRawTransaction mock base method.

type MockEEACallerMockRecorder

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

MockEEACallerMockRecorder is the mock recorder for MockEEACaller.

func (*MockEEACallerMockRecorder) SendRawTransaction

func (mr *MockEEACallerMockRecorder) SendRawTransaction(arg0, arg1 interface{}) *gomock.Call

SendRawTransaction indicates an expected call of SendRawTransaction.

type MockEthCaller

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

MockEthCaller is a mock of EthCaller interface

func NewMockEthCaller

func NewMockEthCaller(ctrl *gomock.Controller) *MockEthCaller

NewMockEthCaller creates a new mock instance

func (*MockEthCaller) BaseFeePerGas

func (m *MockEthCaller) BaseFeePerGas(arg0 context.Context, arg1 ethereum.BlockNumber) (*big.Int, error)

BaseFeePerGas mocks base method

func (*MockEthCaller) ChainID

func (m *MockEthCaller) ChainID(arg0 context.Context) (*big.Int, error)

ChainID mocks base method

func (*MockEthCaller) EXPECT

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

func (*MockEthCaller) EstimateGas

func (m *MockEthCaller) EstimateGas(arg0 context.Context, arg1 *ethereum.CallMsg) (uint64, error)

EstimateGas mocks base method

func (*MockEthCaller) GasPrice

func (m *MockEthCaller) GasPrice(arg0 context.Context) (*big.Int, error)

GasPrice mocks base method

func (*MockEthCaller) GetTransactionCount

func (m *MockEthCaller) GetTransactionCount(arg0 context.Context, arg1 common.Address, arg2 ethereum.BlockNumber) (uint64, error)

GetTransactionCount mocks base method

func (*MockEthCaller) SendRawPrivateTransaction

func (m *MockEthCaller) SendRawPrivateTransaction(arg0 context.Context, arg1 []byte, arg2 *ethereum.PrivateArgs) (common.Hash, error)

SendRawPrivateTransaction mocks base method

func (*MockEthCaller) SendRawTransaction

func (m *MockEthCaller) SendRawTransaction(arg0 context.Context, arg1 []byte) (common.Hash, error)

SendRawTransaction mocks base method

type MockEthCallerMockRecorder

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

MockEthCallerMockRecorder is the mock recorder for MockEthCaller

func (*MockEthCallerMockRecorder) BaseFeePerGas

func (mr *MockEthCallerMockRecorder) BaseFeePerGas(arg0, arg1 interface{}) *gomock.Call

BaseFeePerGas indicates an expected call of BaseFeePerGas

func (*MockEthCallerMockRecorder) ChainID

func (mr *MockEthCallerMockRecorder) ChainID(arg0 interface{}) *gomock.Call

ChainID indicates an expected call of ChainID

func (*MockEthCallerMockRecorder) EstimateGas

func (mr *MockEthCallerMockRecorder) EstimateGas(arg0, arg1 interface{}) *gomock.Call

EstimateGas indicates an expected call of EstimateGas

func (*MockEthCallerMockRecorder) GasPrice

func (mr *MockEthCallerMockRecorder) GasPrice(arg0 interface{}) *gomock.Call

GasPrice indicates an expected call of GasPrice

func (*MockEthCallerMockRecorder) GetTransactionCount

func (mr *MockEthCallerMockRecorder) GetTransactionCount(arg0, arg1, arg2 interface{}) *gomock.Call

GetTransactionCount indicates an expected call of GetTransactionCount

func (*MockEthCallerMockRecorder) SendRawPrivateTransaction

func (mr *MockEthCallerMockRecorder) SendRawPrivateTransaction(arg0, arg1, arg2 interface{}) *gomock.Call

SendRawPrivateTransaction indicates an expected call of SendRawPrivateTransaction

func (*MockEthCallerMockRecorder) SendRawTransaction

func (mr *MockEthCallerMockRecorder) SendRawTransaction(arg0, arg1 interface{}) *gomock.Call

SendRawTransaction indicates an expected call of SendRawTransaction

type MockPrivCaller

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

MockPrivCaller is a mock of PrivCaller interface.

func NewMockPrivCaller

func NewMockPrivCaller(ctrl *gomock.Controller) *MockPrivCaller

NewMockPrivCaller creates a new mock instance.

func (*MockPrivCaller) DistributeRawTransaction

func (m *MockPrivCaller) DistributeRawTransaction(arg0 context.Context, arg1 []byte) ([]byte, error)

DistributeRawTransaction mock base method.

func (*MockPrivCaller) EXPECT

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

func (*MockPrivCaller) GetEeaTransactionCount

func (m *MockPrivCaller) GetEeaTransactionCount(ctx context.Context, addr common.Address, privateFrom string, privateFor []string) (uint64, error)

GetEeaTransactionCount mock base method.

func (*MockPrivCaller) GetTransactionCount

func (m *MockPrivCaller) GetTransactionCount(ctx context.Context, addr common.Address, privacyGroupID string) (uint64, error)

GetTransactionCount mock base method.

type MockPrivCallerMockRecorder

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

MockPrivCallerMockRecorder is the mock recorder for MockPrivCaller.

func (*MockPrivCallerMockRecorder) DistributeRawTransaction

func (mr *MockPrivCallerMockRecorder) DistributeRawTransaction(arg0, arg1 interface{}) *gomock.Call

DistributeRawTransaction indicates an expected call of DistributeRawTransaction.

func (*MockPrivCallerMockRecorder) GetEeaTransactionCount

func (mr *MockPrivCallerMockRecorder) GetEeaTransactionCount(ctx, addr, privateFrom, privateFor interface{}) *gomock.Call

GetEeaTransactionCount indicates an expected call of GetEeaTransactionCount.

func (*MockPrivCallerMockRecorder) GetTransactionCount

func (mr *MockPrivCallerMockRecorder) GetTransactionCount(ctx, addr, privacyGroupID interface{}) *gomock.Call

GetTransactionCount indicates an expected call of GetTransactionCount.

Jump to

Keyboard shortcuts

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