mocks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpNodeClienter

type OpNodeClienter struct {
	mock.Mock
}

OpNodeClienter is an autogenerated mock type for the OpNodeClienter type

func NewOpNodeClienter

func NewOpNodeClienter(t interface {
	mock.TestingT
	Cleanup(func())
}) *OpNodeClienter

NewOpNodeClienter creates a new instance of OpNodeClienter. 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 (*OpNodeClienter) EXPECT

func (*OpNodeClienter) FinalizedL2Block

func (_m *OpNodeClienter) FinalizedL2Block() (*opnode.BlockInfo, error)

FinalizedL2Block provides a mock function with no fields

type OpNodeClienter_Expecter

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

func (*OpNodeClienter_Expecter) FinalizedL2Block

FinalizedL2Block is a helper method to define mock.On call

type OpNodeClienter_FinalizedL2Block_Call

type OpNodeClienter_FinalizedL2Block_Call struct {
	*mock.Call
}

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

func (*OpNodeClienter_FinalizedL2Block_Call) Return

func (*OpNodeClienter_FinalizedL2Block_Call) Run

func (*OpNodeClienter_FinalizedL2Block_Call) RunAndReturn

type RollupManagerContract added in v0.5.0

type RollupManagerContract struct {
	mock.Mock
}

RollupManagerContract is an autogenerated mock type for the RollupManagerContract type

func NewRollupManagerContract added in v0.5.0

func NewRollupManagerContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *RollupManagerContract

NewRollupManagerContract creates a new instance of RollupManagerContract. 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 (*RollupManagerContract) EXPECT added in v0.5.0

func (*RollupManagerContract) RollupAddressToID added in v0.5.0

func (_m *RollupManagerContract) RollupAddressToID(opts *bind.CallOpts, rollupAddress common.Address) (uint32, error)

RollupAddressToID provides a mock function with given fields: opts, rollupAddress

func (*RollupManagerContract) RollupIDToRollupData added in v0.5.0

RollupIDToRollupData provides a mock function with given fields: opts, rollupID

type RollupManagerContract_Expecter added in v0.5.0

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

func (*RollupManagerContract_Expecter) RollupAddressToID added in v0.5.0

func (_e *RollupManagerContract_Expecter) RollupAddressToID(opts interface{}, rollupAddress interface{}) *RollupManagerContract_RollupAddressToID_Call

RollupAddressToID is a helper method to define mock.On call

  • opts *bind.CallOpts
  • rollupAddress common.Address

func (*RollupManagerContract_Expecter) RollupIDToRollupData added in v0.5.0

func (_e *RollupManagerContract_Expecter) RollupIDToRollupData(opts interface{}, rollupID interface{}) *RollupManagerContract_RollupIDToRollupData_Call

RollupIDToRollupData is a helper method to define mock.On call

  • opts *bind.CallOpts
  • rollupID uint32

type RollupManagerContract_RollupAddressToID_Call added in v0.5.0

type RollupManagerContract_RollupAddressToID_Call struct {
	*mock.Call
}

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

func (*RollupManagerContract_RollupAddressToID_Call) Return added in v0.5.0

func (*RollupManagerContract_RollupAddressToID_Call) Run added in v0.5.0

func (*RollupManagerContract_RollupAddressToID_Call) RunAndReturn added in v0.5.0

type RollupManagerContract_RollupIDToRollupData_Call added in v0.5.0

type RollupManagerContract_RollupIDToRollupData_Call struct {
	*mock.Call
}

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

func (*RollupManagerContract_RollupIDToRollupData_Call) Return added in v0.5.0

func (*RollupManagerContract_RollupIDToRollupData_Call) Run added in v0.5.0

Jump to

Keyboard shortcuts

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