Documentation ¶
Overview ¶
Package mock_pathprocessor is a generated GoMock package.
Index ¶
- type MockPathProcessor
- func (m *MockPathProcessor) AvailableFor(params pathprocessor.ProcessorInputParams) (bool, error)
- func (m *MockPathProcessor) BuildTransaction(sendArgs *pathprocessor.MultipathProcessorTxArgs) (*types.Transaction, error)
- func (m *MockPathProcessor) BuildTx(params pathprocessor.ProcessorInputParams) (*types.Transaction, error)
- func (m *MockPathProcessor) CalculateAmountOut(params pathprocessor.ProcessorInputParams) (*big.Int, error)
- func (m *MockPathProcessor) CalculateFees(params pathprocessor.ProcessorInputParams) (*big.Int, *big.Int, error)
- func (m *MockPathProcessor) Clear()
- func (m *MockPathProcessor) EXPECT() *MockPathProcessorMockRecorder
- func (m *MockPathProcessor) EstimateGas(params pathprocessor.ProcessorInputParams) (uint64, error)
- func (m *MockPathProcessor) GetContractAddress(params pathprocessor.ProcessorInputParams) (common.Address, error)
- func (m *MockPathProcessor) Name() string
- func (m *MockPathProcessor) PackTxInputData(params pathprocessor.ProcessorInputParams) ([]byte, error)
- func (m *MockPathProcessor) Send(sendArgs *pathprocessor.MultipathProcessorTxArgs, ...) (types0.Hash, error)
- type MockPathProcessorMockRecorder
- func (mr *MockPathProcessorMockRecorder) AvailableFor(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) BuildTransaction(sendArgs interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) BuildTx(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) CalculateAmountOut(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) CalculateFees(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) Clear() *gomock.Call
- func (mr *MockPathProcessorMockRecorder) EstimateGas(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) GetContractAddress(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) Name() *gomock.Call
- func (mr *MockPathProcessorMockRecorder) PackTxInputData(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) Send(sendArgs, verifiedAccount interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPathProcessor ¶
type MockPathProcessor struct {
// contains filtered or unexported fields
}
MockPathProcessor is a mock of PathProcessor interface.
func NewMockPathProcessor ¶
func NewMockPathProcessor(ctrl *gomock.Controller) *MockPathProcessor
NewMockPathProcessor creates a new mock instance.
func (*MockPathProcessor) AvailableFor ¶
func (m *MockPathProcessor) AvailableFor(params pathprocessor.ProcessorInputParams) (bool, error)
AvailableFor mocks base method.
func (*MockPathProcessor) BuildTransaction ¶
func (m *MockPathProcessor) BuildTransaction(sendArgs *pathprocessor.MultipathProcessorTxArgs) (*types.Transaction, error)
BuildTransaction mocks base method.
func (*MockPathProcessor) BuildTx ¶
func (m *MockPathProcessor) BuildTx(params pathprocessor.ProcessorInputParams) (*types.Transaction, error)
BuildTx mocks base method.
func (*MockPathProcessor) CalculateAmountOut ¶
func (m *MockPathProcessor) CalculateAmountOut(params pathprocessor.ProcessorInputParams) (*big.Int, error)
CalculateAmountOut mocks base method.
func (*MockPathProcessor) CalculateFees ¶
func (m *MockPathProcessor) CalculateFees(params pathprocessor.ProcessorInputParams) (*big.Int, *big.Int, error)
CalculateFees mocks base method.
func (*MockPathProcessor) Clear ¶ added in v0.181.31
func (m *MockPathProcessor) Clear()
Clear mocks base method.
func (*MockPathProcessor) EXPECT ¶
func (m *MockPathProcessor) EXPECT() *MockPathProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPathProcessor) EstimateGas ¶
func (m *MockPathProcessor) EstimateGas(params pathprocessor.ProcessorInputParams) (uint64, error)
EstimateGas mocks base method.
func (*MockPathProcessor) GetContractAddress ¶
func (m *MockPathProcessor) GetContractAddress(params pathprocessor.ProcessorInputParams) (common.Address, error)
GetContractAddress mocks base method.
func (*MockPathProcessor) PackTxInputData ¶
func (m *MockPathProcessor) PackTxInputData(params pathprocessor.ProcessorInputParams) ([]byte, error)
PackTxInputData mocks base method.
func (*MockPathProcessor) Send ¶
func (m *MockPathProcessor) Send(sendArgs *pathprocessor.MultipathProcessorTxArgs, verifiedAccount *account.SelectedExtKey) (types0.Hash, error)
Send mocks base method.
type MockPathProcessorMockRecorder ¶
type MockPathProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockPathProcessorMockRecorder is the mock recorder for MockPathProcessor.
func (*MockPathProcessorMockRecorder) AvailableFor ¶
func (mr *MockPathProcessorMockRecorder) AvailableFor(params interface{}) *gomock.Call
AvailableFor indicates an expected call of AvailableFor.
func (*MockPathProcessorMockRecorder) BuildTransaction ¶
func (mr *MockPathProcessorMockRecorder) BuildTransaction(sendArgs interface{}) *gomock.Call
BuildTransaction indicates an expected call of BuildTransaction.
func (*MockPathProcessorMockRecorder) BuildTx ¶
func (mr *MockPathProcessorMockRecorder) BuildTx(params interface{}) *gomock.Call
BuildTx indicates an expected call of BuildTx.
func (*MockPathProcessorMockRecorder) CalculateAmountOut ¶
func (mr *MockPathProcessorMockRecorder) CalculateAmountOut(params interface{}) *gomock.Call
CalculateAmountOut indicates an expected call of CalculateAmountOut.
func (*MockPathProcessorMockRecorder) CalculateFees ¶
func (mr *MockPathProcessorMockRecorder) CalculateFees(params interface{}) *gomock.Call
CalculateFees indicates an expected call of CalculateFees.
func (*MockPathProcessorMockRecorder) Clear ¶ added in v0.181.31
func (mr *MockPathProcessorMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockPathProcessorMockRecorder) EstimateGas ¶
func (mr *MockPathProcessorMockRecorder) EstimateGas(params interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockPathProcessorMockRecorder) GetContractAddress ¶
func (mr *MockPathProcessorMockRecorder) GetContractAddress(params interface{}) *gomock.Call
GetContractAddress indicates an expected call of GetContractAddress.
func (*MockPathProcessorMockRecorder) Name ¶
func (mr *MockPathProcessorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPathProcessorMockRecorder) PackTxInputData ¶
func (mr *MockPathProcessorMockRecorder) PackTxInputData(params interface{}) *gomock.Call
PackTxInputData indicates an expected call of PackTxInputData.
func (*MockPathProcessorMockRecorder) Send ¶
func (mr *MockPathProcessorMockRecorder) Send(sendArgs, verifiedAccount interface{}) *gomock.Call
Send indicates an expected call of Send.