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, lastUsedNonce int64) (*types.Transaction, uint64, 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) 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, lastUsedNonce int64, ...) (types0.Hash, uint64, error)
- type MockPathProcessorClearable
- type MockPathProcessorClearableMockRecorder
- type MockPathProcessorMockRecorder
- func (mr *MockPathProcessorMockRecorder) AvailableFor(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) BuildTransaction(sendArgs, lastUsedNonce interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) CalculateAmountOut(params interface{}) *gomock.Call
- func (mr *MockPathProcessorMockRecorder) CalculateFees(params interface{}) *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, lastUsedNonce, 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, lastUsedNonce int64) (*types.Transaction, uint64, error)
BuildTransaction 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) 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, lastUsedNonce int64, verifiedAccount *account.SelectedExtKey) (types0.Hash, uint64, error)
Send mocks base method.
type MockPathProcessorClearable ¶ added in v0.182.43
type MockPathProcessorClearable struct {
// contains filtered or unexported fields
}
MockPathProcessorClearable is a mock of PathProcessorClearable interface.
func NewMockPathProcessorClearable ¶ added in v0.182.43
func NewMockPathProcessorClearable(ctrl *gomock.Controller) *MockPathProcessorClearable
NewMockPathProcessorClearable creates a new mock instance.
func (*MockPathProcessorClearable) Clear ¶ added in v0.182.43
func (m *MockPathProcessorClearable) Clear()
Clear mocks base method.
func (*MockPathProcessorClearable) EXPECT ¶ added in v0.182.43
func (m *MockPathProcessorClearable) EXPECT() *MockPathProcessorClearableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPathProcessorClearableMockRecorder ¶ added in v0.182.43
type MockPathProcessorClearableMockRecorder struct {
// contains filtered or unexported fields
}
MockPathProcessorClearableMockRecorder is the mock recorder for MockPathProcessorClearable.
func (*MockPathProcessorClearableMockRecorder) Clear ¶ added in v0.182.43
func (mr *MockPathProcessorClearableMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
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, lastUsedNonce interface{}) *gomock.Call
BuildTransaction indicates an expected call of BuildTransaction.
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) 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, lastUsedNonce, verifiedAccount interface{}) *gomock.Call
Send indicates an expected call of Send.