Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: nonce_manager/nonce_manager.go
Generated by this command:
mockgen -source=nonce_manager/nonce_manager.go
Package mock_nonce_manager is a generated GoMock package.
Index ¶
- type MockNonceService
- func (m *MockNonceService) EXPECT() *MockNonceServiceMockRecorder
- func (m *MockNonceService) GetCurrentNonce(addr common.Address) (uint64, error)
- func (m *MockNonceService) GetCurrentNonceFromNetwork(addr common.Address) (uint64, error)
- func (m *MockNonceService) Init(a *app.App) error
- func (m *MockNonceService) Name() string
- func (m *MockNonceService) SaveNonce(addr common.Address, newValue uint64) (uint64, error)
- type MockNonceServiceMockRecorder
- func (mr *MockNonceServiceMockRecorder) GetCurrentNonce(addr any) *gomock.Call
- func (mr *MockNonceServiceMockRecorder) GetCurrentNonceFromNetwork(addr any) *gomock.Call
- func (mr *MockNonceServiceMockRecorder) Init(a any) *gomock.Call
- func (mr *MockNonceServiceMockRecorder) Name() *gomock.Call
- func (mr *MockNonceServiceMockRecorder) SaveNonce(addr, newValue any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNonceService ¶
type MockNonceService struct {
// contains filtered or unexported fields
}
MockNonceService is a mock of NonceService interface.
func NewMockNonceService ¶
func NewMockNonceService(ctrl *gomock.Controller) *MockNonceService
NewMockNonceService creates a new mock instance.
func (*MockNonceService) EXPECT ¶
func (m *MockNonceService) EXPECT() *MockNonceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNonceService) GetCurrentNonce ¶
func (m *MockNonceService) GetCurrentNonce(addr common.Address) (uint64, error)
GetCurrentNonce mocks base method.
func (*MockNonceService) GetCurrentNonceFromNetwork ¶
func (m *MockNonceService) GetCurrentNonceFromNetwork(addr common.Address) (uint64, error)
GetCurrentNonceFromNetwork mocks base method.
type MockNonceServiceMockRecorder ¶
type MockNonceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNonceServiceMockRecorder is the mock recorder for MockNonceService.
func (*MockNonceServiceMockRecorder) GetCurrentNonce ¶
func (mr *MockNonceServiceMockRecorder) GetCurrentNonce(addr any) *gomock.Call
GetCurrentNonce indicates an expected call of GetCurrentNonce.
func (*MockNonceServiceMockRecorder) GetCurrentNonceFromNetwork ¶
func (mr *MockNonceServiceMockRecorder) GetCurrentNonceFromNetwork(addr any) *gomock.Call
GetCurrentNonceFromNetwork indicates an expected call of GetCurrentNonceFromNetwork.
func (*MockNonceServiceMockRecorder) Init ¶
func (mr *MockNonceServiceMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockNonceServiceMockRecorder) Name ¶
func (mr *MockNonceServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.