noncemanager

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNonceManager

type MockNonceManager struct {
	mock.Mock
}

MockNonceManager is an autogenerated mock type for the NonceManager type

func NewMockNonceManager

func NewMockNonceManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockNonceManager

NewMockNonceManager creates a new instance of MockNonceManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockNonceManager) EXPECT

func (*MockNonceManager) FastForwardNonce

func (_m *MockNonceManager) FastForwardNonce(ctx context.Context, nonce big.Int) error

FastForwardNonce provides a mock function with given fields: ctx, nonce

func (*MockNonceManager) GetNonce

GetNonce provides a mock function with given fields: ctx

func (*MockNonceManager) Replenish

func (_m *MockNonceManager) Replenish(ctx context.Context, nonce big.Int) error

Replenish provides a mock function with given fields: ctx, nonce

type MockNonceManager_Expecter

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

func (*MockNonceManager_Expecter) FastForwardNonce

func (_e *MockNonceManager_Expecter) FastForwardNonce(ctx interface{}, nonce interface{}) *MockNonceManager_FastForwardNonce_Call

FastForwardNonce is a helper method to define mock.On call

  • ctx context.Context
  • nonce big.Int

func (*MockNonceManager_Expecter) GetNonce

func (_e *MockNonceManager_Expecter) GetNonce(ctx interface{}) *MockNonceManager_GetNonce_Call

GetNonce is a helper method to define mock.On call

  • ctx context.Context

func (*MockNonceManager_Expecter) Replenish

func (_e *MockNonceManager_Expecter) Replenish(ctx interface{}, nonce interface{}) *MockNonceManager_Replenish_Call

Replenish is a helper method to define mock.On call

  • ctx context.Context
  • nonce big.Int

type MockNonceManager_FastForwardNonce_Call

type MockNonceManager_FastForwardNonce_Call struct {
	*mock.Call
}

MockNonceManager_FastForwardNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FastForwardNonce'

func (*MockNonceManager_FastForwardNonce_Call) Return

func (*MockNonceManager_FastForwardNonce_Call) Run

func (*MockNonceManager_FastForwardNonce_Call) RunAndReturn

type MockNonceManager_GetNonce_Call

type MockNonceManager_GetNonce_Call struct {
	*mock.Call
}

MockNonceManager_GetNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNonce'

func (*MockNonceManager_GetNonce_Call) Return

func (*MockNonceManager_GetNonce_Call) Run

func (*MockNonceManager_GetNonce_Call) RunAndReturn

type MockNonceManager_Replenish_Call

type MockNonceManager_Replenish_Call struct {
	*mock.Call
}

MockNonceManager_Replenish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replenish'

func (*MockNonceManager_Replenish_Call) Return

func (*MockNonceManager_Replenish_Call) Run

func (*MockNonceManager_Replenish_Call) RunAndReturn

Jump to

Keyboard shortcuts

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