mock_itx

package
v1.0.24 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_itx is a generated GoMock package.

Package mock_itx is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockForwarder

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

MockForwarder is a mock of Forwarder interface.

func NewMockForwarder

func NewMockForwarder(ctrl *gomock.Controller) *MockForwarder

NewMockForwarder creates a new mock instance.

func (*MockForwarder) ChainId

func (m *MockForwarder) ChainId() *big.Int

ChainId mocks base method.

func (*MockForwarder) EXPECT

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

func (*MockForwarder) ForwarderAddress

func (m *MockForwarder) ForwarderAddress() common.Address

ForwarderAddress mocks base method.

func (*MockForwarder) ForwarderData

func (m *MockForwarder) ForwarderData(to *common.Address, data []byte, opts transactor.TransactOptions) ([]byte, error)

ForwarderData mocks base method.

func (*MockForwarder) LockNonce

func (m *MockForwarder) LockNonce()

LockNonce mocks base method.

func (*MockForwarder) UnlockNonce

func (m *MockForwarder) UnlockNonce()

UnlockNonce mocks base method.

func (*MockForwarder) UnsafeIncreaseNonce

func (m *MockForwarder) UnsafeIncreaseNonce()

UnsafeIncreaseNonce mocks base method.

func (*MockForwarder) UnsafeNonce

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

UnsafeNonce mocks base method.

type MockForwarderContract

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

MockForwarderContract is a mock of ForwarderContract interface.

func NewMockForwarderContract

func NewMockForwarderContract(ctrl *gomock.Controller) *MockForwarderContract

NewMockForwarderContract creates a new mock instance.

func (*MockForwarderContract) ContractAddress

func (m *MockForwarderContract) ContractAddress() *common.Address

ContractAddress mocks base method.

func (*MockForwarderContract) EXPECT

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

func (*MockForwarderContract) GetNonce

func (m *MockForwarderContract) GetNonce(from common.Address) (*big.Int, error)

GetNonce mocks base method.

func (*MockForwarderContract) PrepareExecute

func (m *MockForwarderContract) PrepareExecute(forwardReq forwarder.ForwardRequest, sig []byte) ([]byte, error)

PrepareExecute mocks base method.

type MockForwarderContractMockRecorder

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

MockForwarderContractMockRecorder is the mock recorder for MockForwarderContract.

func (*MockForwarderContractMockRecorder) ContractAddress

func (mr *MockForwarderContractMockRecorder) ContractAddress() *gomock.Call

ContractAddress indicates an expected call of ContractAddress.

func (*MockForwarderContractMockRecorder) GetNonce

func (mr *MockForwarderContractMockRecorder) GetNonce(from interface{}) *gomock.Call

GetNonce indicates an expected call of GetNonce.

func (*MockForwarderContractMockRecorder) PrepareExecute

func (mr *MockForwarderContractMockRecorder) PrepareExecute(forwardReq, sig interface{}) *gomock.Call

PrepareExecute indicates an expected call of PrepareExecute.

type MockForwarderMockRecorder

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

MockForwarderMockRecorder is the mock recorder for MockForwarder.

func (*MockForwarderMockRecorder) ChainId

func (mr *MockForwarderMockRecorder) ChainId() *gomock.Call

ChainId indicates an expected call of ChainId.

func (*MockForwarderMockRecorder) ForwarderAddress

func (mr *MockForwarderMockRecorder) ForwarderAddress() *gomock.Call

ForwarderAddress indicates an expected call of ForwarderAddress.

func (*MockForwarderMockRecorder) ForwarderData

func (mr *MockForwarderMockRecorder) ForwarderData(to, data, opts interface{}) *gomock.Call

ForwarderData indicates an expected call of ForwarderData.

func (*MockForwarderMockRecorder) LockNonce

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

LockNonce indicates an expected call of LockNonce.

func (*MockForwarderMockRecorder) UnlockNonce

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

UnlockNonce indicates an expected call of UnlockNonce.

func (*MockForwarderMockRecorder) UnsafeIncreaseNonce

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

UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.

func (*MockForwarderMockRecorder) UnsafeNonce

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

UnsafeNonce indicates an expected call of UnsafeNonce.

type MockNonceStorer

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

MockNonceStorer is a mock of NonceStorer interface.

func NewMockNonceStorer

func NewMockNonceStorer(ctrl *gomock.Controller) *MockNonceStorer

NewMockNonceStorer creates a new mock instance.

func (*MockNonceStorer) EXPECT

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

func (*MockNonceStorer) GetNonce

func (m *MockNonceStorer) GetNonce(chainID *big.Int) (*big.Int, error)

GetNonce mocks base method.

func (*MockNonceStorer) StoreNonce

func (m *MockNonceStorer) StoreNonce(chainID, nonce *big.Int) error

StoreNonce mocks base method.

type MockNonceStorerMockRecorder

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

MockNonceStorerMockRecorder is the mock recorder for MockNonceStorer.

func (*MockNonceStorerMockRecorder) GetNonce

func (mr *MockNonceStorerMockRecorder) GetNonce(chainID interface{}) *gomock.Call

GetNonce indicates an expected call of GetNonce.

func (*MockNonceStorerMockRecorder) StoreNonce

func (mr *MockNonceStorerMockRecorder) StoreNonce(chainID, nonce interface{}) *gomock.Call

StoreNonce indicates an expected call of StoreNonce.

type MockRelayCaller

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

MockRelayCaller is a mock of RelayCaller interface.

func NewMockRelayCaller

func NewMockRelayCaller(ctrl *gomock.Controller) *MockRelayCaller

NewMockRelayCaller creates a new mock instance.

func (*MockRelayCaller) CallContext

func (m *MockRelayCaller) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error

CallContext mocks base method.

func (*MockRelayCaller) EXPECT

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

type MockRelayCallerMockRecorder

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

MockRelayCallerMockRecorder is the mock recorder for MockRelayCaller.

func (*MockRelayCallerMockRecorder) CallContext

func (mr *MockRelayCallerMockRecorder) CallContext(ctx, result, method interface{}, args ...interface{}) *gomock.Call

CallContext indicates an expected call of CallContext.

Jump to

Keyboard shortcuts

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