Documentation ¶
Overview ¶
Package mock_itx is a generated GoMock package.
Package mock_itx is a generated GoMock package.
Index ¶
- type MockForwarder
- func (m *MockForwarder) ChainId() *big.Int
- func (m *MockForwarder) EXPECT() *MockForwarderMockRecorder
- func (m *MockForwarder) ForwarderAddress() common.Address
- func (m *MockForwarder) ForwarderData(to *common.Address, data []byte, opts transactor.TransactOptions) ([]byte, error)
- func (m *MockForwarder) LockNonce()
- func (m *MockForwarder) UnlockNonce()
- func (m *MockForwarder) UnsafeIncreaseNonce()
- func (m *MockForwarder) UnsafeNonce() (*big.Int, error)
- type MockForwarderContract
- func (m *MockForwarderContract) ContractAddress() *common.Address
- func (m *MockForwarderContract) EXPECT() *MockForwarderContractMockRecorder
- func (m *MockForwarderContract) GetNonce(from common.Address) (*big.Int, error)
- func (m *MockForwarderContract) PrepareExecute(forwardReq forwarder.ForwardRequest, sig []byte) ([]byte, error)
- type MockForwarderContractMockRecorder
- type MockForwarderMockRecorder
- func (mr *MockForwarderMockRecorder) ChainId() *gomock.Call
- func (mr *MockForwarderMockRecorder) ForwarderAddress() *gomock.Call
- func (mr *MockForwarderMockRecorder) ForwarderData(to, data, opts interface{}) *gomock.Call
- func (mr *MockForwarderMockRecorder) LockNonce() *gomock.Call
- func (mr *MockForwarderMockRecorder) UnlockNonce() *gomock.Call
- func (mr *MockForwarderMockRecorder) UnsafeIncreaseNonce() *gomock.Call
- func (mr *MockForwarderMockRecorder) UnsafeNonce() *gomock.Call
- type MockNonceStorer
- type MockNonceStorerMockRecorder
- type MockRelayCaller
- type MockRelayCallerMockRecorder
- type MockSigner
- type MockSignerMockRecorder
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 ¶
func (m *MockForwarder) EXPECT() *MockForwarderMockRecorder
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) 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 ¶
func (m *MockForwarderContract) EXPECT() *MockForwarderContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockNonceStorer) EXPECT() *MockNonceStorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockRelayCaller) EXPECT() *MockRelayCallerMockRecorder
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.
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.