mock_calls

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_calls is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientDispatcher

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

MockClientDispatcher is a mock of ClientDispatcher interface.

func NewMockClientDispatcher

func NewMockClientDispatcher(ctrl *gomock.Controller) *MockClientDispatcher

NewMockClientDispatcher creates a new mock instance.

func (*MockClientDispatcher) EXPECT

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

func (*MockClientDispatcher) From

From mocks base method.

func (*MockClientDispatcher) GetTransactionByHash

func (m *MockClientDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)

GetTransactionByHash mocks base method.

func (*MockClientDispatcher) LockNonce

func (m *MockClientDispatcher) LockNonce()

LockNonce mocks base method.

func (*MockClientDispatcher) SignAndSendTransaction

func (m *MockClientDispatcher) SignAndSendTransaction(ctx context.Context, tx evmclient.CommonTransaction) (common.Hash, error)

SignAndSendTransaction mocks base method.

func (*MockClientDispatcher) UnlockNonce

func (m *MockClientDispatcher) UnlockNonce()

UnlockNonce mocks base method.

func (*MockClientDispatcher) UnsafeIncreaseNonce

func (m *MockClientDispatcher) UnsafeIncreaseNonce() error

UnsafeIncreaseNonce mocks base method.

func (*MockClientDispatcher) UnsafeNonce

func (m *MockClientDispatcher) UnsafeNonce() (*big.Int, error)

UnsafeNonce mocks base method.

func (*MockClientDispatcher) WaitAndReturnTxReceipt

func (m *MockClientDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)

WaitAndReturnTxReceipt mocks base method.

type MockClientDispatcherMockRecorder

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

MockClientDispatcherMockRecorder is the mock recorder for MockClientDispatcher.

func (*MockClientDispatcherMockRecorder) From

From indicates an expected call of From.

func (*MockClientDispatcherMockRecorder) GetTransactionByHash

func (mr *MockClientDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call

GetTransactionByHash indicates an expected call of GetTransactionByHash.

func (*MockClientDispatcherMockRecorder) LockNonce

func (mr *MockClientDispatcherMockRecorder) LockNonce() *gomock.Call

LockNonce indicates an expected call of LockNonce.

func (*MockClientDispatcherMockRecorder) SignAndSendTransaction

func (mr *MockClientDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call

SignAndSendTransaction indicates an expected call of SignAndSendTransaction.

func (*MockClientDispatcherMockRecorder) UnlockNonce

func (mr *MockClientDispatcherMockRecorder) UnlockNonce() *gomock.Call

UnlockNonce indicates an expected call of UnlockNonce.

func (*MockClientDispatcherMockRecorder) UnsafeIncreaseNonce

func (mr *MockClientDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call

UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.

func (*MockClientDispatcherMockRecorder) UnsafeNonce

func (mr *MockClientDispatcherMockRecorder) UnsafeNonce() *gomock.Call

UnsafeNonce indicates an expected call of UnsafeNonce.

func (*MockClientDispatcherMockRecorder) WaitAndReturnTxReceipt

func (mr *MockClientDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call

WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.

type MockContractCaller

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

MockContractCaller is a mock of ContractCaller interface.

func NewMockContractCaller

func NewMockContractCaller(ctrl *gomock.Controller) *MockContractCaller

NewMockContractCaller creates a new mock instance.

func (*MockContractCaller) CallContract

func (m *MockContractCaller) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)

CallContract mocks base method.

func (*MockContractCaller) EXPECT

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

type MockContractCallerDispatcher

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

MockContractCallerDispatcher is a mock of ContractCallerDispatcher interface.

func NewMockContractCallerDispatcher

func NewMockContractCallerDispatcher(ctrl *gomock.Controller) *MockContractCallerDispatcher

NewMockContractCallerDispatcher creates a new mock instance.

func (*MockContractCallerDispatcher) CallContract

func (m *MockContractCallerDispatcher) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)

CallContract mocks base method.

func (*MockContractCallerDispatcher) CodeAt

func (m *MockContractCallerDispatcher) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt mocks base method.

func (*MockContractCallerDispatcher) EXPECT

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

func (*MockContractCallerDispatcher) From

From mocks base method.

func (*MockContractCallerDispatcher) GetTransactionByHash

func (m *MockContractCallerDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)

GetTransactionByHash mocks base method.

func (*MockContractCallerDispatcher) LockNonce

func (m *MockContractCallerDispatcher) LockNonce()

LockNonce mocks base method.

func (*MockContractCallerDispatcher) SignAndSendTransaction

SignAndSendTransaction mocks base method.

func (*MockContractCallerDispatcher) UnlockNonce

func (m *MockContractCallerDispatcher) UnlockNonce()

UnlockNonce mocks base method.

func (*MockContractCallerDispatcher) UnsafeIncreaseNonce

func (m *MockContractCallerDispatcher) UnsafeIncreaseNonce() error

UnsafeIncreaseNonce mocks base method.

func (*MockContractCallerDispatcher) UnsafeNonce

func (m *MockContractCallerDispatcher) UnsafeNonce() (*big.Int, error)

UnsafeNonce mocks base method.

func (*MockContractCallerDispatcher) WaitAndReturnTxReceipt

func (m *MockContractCallerDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)

WaitAndReturnTxReceipt mocks base method.

type MockContractCallerDispatcherMockRecorder

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

MockContractCallerDispatcherMockRecorder is the mock recorder for MockContractCallerDispatcher.

func (*MockContractCallerDispatcherMockRecorder) CallContract

func (mr *MockContractCallerDispatcherMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call

CallContract indicates an expected call of CallContract.

func (*MockContractCallerDispatcherMockRecorder) CodeAt

func (mr *MockContractCallerDispatcherMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call

CodeAt indicates an expected call of CodeAt.

func (*MockContractCallerDispatcherMockRecorder) From

From indicates an expected call of From.

func (*MockContractCallerDispatcherMockRecorder) GetTransactionByHash

func (mr *MockContractCallerDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call

GetTransactionByHash indicates an expected call of GetTransactionByHash.

func (*MockContractCallerDispatcherMockRecorder) LockNonce

LockNonce indicates an expected call of LockNonce.

func (*MockContractCallerDispatcherMockRecorder) SignAndSendTransaction

func (mr *MockContractCallerDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call

SignAndSendTransaction indicates an expected call of SignAndSendTransaction.

func (*MockContractCallerDispatcherMockRecorder) UnlockNonce

UnlockNonce indicates an expected call of UnlockNonce.

func (*MockContractCallerDispatcherMockRecorder) UnsafeIncreaseNonce

func (mr *MockContractCallerDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call

UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.

func (*MockContractCallerDispatcherMockRecorder) UnsafeNonce

UnsafeNonce indicates an expected call of UnsafeNonce.

func (*MockContractCallerDispatcherMockRecorder) WaitAndReturnTxReceipt

func (mr *MockContractCallerDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call

WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.

type MockContractCallerMockRecorder

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

MockContractCallerMockRecorder is the mock recorder for MockContractCaller.

func (*MockContractCallerMockRecorder) CallContract

func (mr *MockContractCallerMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call

CallContract indicates an expected call of CallContract.

type MockContractChecker

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

MockContractChecker is a mock of ContractChecker interface.

func NewMockContractChecker

func NewMockContractChecker(ctrl *gomock.Controller) *MockContractChecker

NewMockContractChecker creates a new mock instance.

func (*MockContractChecker) CodeAt

func (m *MockContractChecker) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt mocks base method.

func (*MockContractChecker) EXPECT

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

type MockContractCheckerMockRecorder

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

MockContractCheckerMockRecorder is the mock recorder for MockContractChecker.

func (*MockContractCheckerMockRecorder) CodeAt

func (mr *MockContractCheckerMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call

CodeAt indicates an expected call of CodeAt.

type MockGasPricer

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

MockGasPricer is a mock of GasPricer interface.

func NewMockGasPricer

func NewMockGasPricer(ctrl *gomock.Controller) *MockGasPricer

NewMockGasPricer creates a new mock instance.

func (*MockGasPricer) EXPECT

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

func (*MockGasPricer) GasPrice

func (m *MockGasPricer) GasPrice(priority *uint8) ([]*big.Int, error)

GasPrice mocks base method.

type MockGasPricerMockRecorder

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

MockGasPricerMockRecorder is the mock recorder for MockGasPricer.

func (*MockGasPricerMockRecorder) GasPrice

func (mr *MockGasPricerMockRecorder) GasPrice(priority interface{}) *gomock.Call

GasPrice indicates an expected call of GasPrice.

type MockSimulateCaller

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

MockSimulateCaller is a mock of SimulateCaller interface.

func NewMockSimulateCaller

func NewMockSimulateCaller(ctrl *gomock.Controller) *MockSimulateCaller

NewMockSimulateCaller creates a new mock instance.

func (*MockSimulateCaller) CallContract

func (m *MockSimulateCaller) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)

CallContract mocks base method.

func (*MockSimulateCaller) EXPECT

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

func (*MockSimulateCaller) TransactionByHash

func (m *MockSimulateCaller) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)

TransactionByHash mocks base method.

type MockSimulateCallerMockRecorder

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

MockSimulateCallerMockRecorder is the mock recorder for MockSimulateCaller.

func (*MockSimulateCallerMockRecorder) CallContract

func (mr *MockSimulateCallerMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call

CallContract indicates an expected call of CallContract.

func (*MockSimulateCallerMockRecorder) TransactionByHash

func (mr *MockSimulateCallerMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call

TransactionByHash indicates an expected call of TransactionByHash.

Jump to

Keyboard shortcuts

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