mock_itx

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 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.

type MockSigner added in v1.2.0

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

MockSigner is a mock of Signer interface.

func NewMockSigner added in v1.2.0

func NewMockSigner(ctrl *gomock.Controller) *MockSigner

NewMockSigner creates a new mock instance.

func (*MockSigner) CommonAddress added in v1.2.0

func (m *MockSigner) CommonAddress() common.Address

CommonAddress mocks base method.

func (*MockSigner) EXPECT added in v1.2.0

func (m *MockSigner) EXPECT() *MockSignerMockRecorder

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

func (*MockSigner) Sign added in v1.2.0

func (m *MockSigner) Sign(digestHash []byte) ([]byte, error)

Sign mocks base method.

type MockSignerMockRecorder added in v1.2.0

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

MockSignerMockRecorder is the mock recorder for MockSigner.

func (*MockSignerMockRecorder) CommonAddress added in v1.2.0

func (mr *MockSignerMockRecorder) CommonAddress() *gomock.Call

CommonAddress indicates an expected call of CommonAddress.

func (*MockSignerMockRecorder) Sign added in v1.2.0

func (mr *MockSignerMockRecorder) Sign(digestHash interface{}) *gomock.Call

Sign indicates an expected call of Sign.

Jump to

Keyboard shortcuts

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