Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0, 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 RollupManagerContract

type RollupManagerContract struct {
	mock.Mock
}

RollupManagerContract is an autogenerated mock type for the RollupManagerContract type

func NewRollupManagerContract

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

func (*RollupManagerContract) FilterInitialized

FilterInitialized provides a mock function with given fields: opts

func (*RollupManagerContract) RollupAddressToID

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

func (_m *RollupManagerContract) RollupIDToRollupData(opts *bind.CallOpts, rollupID uint32) (agglayermanager.AgglayerManagerRollupDataReturn, error)

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

type RollupManagerContract_Expecter

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

func (*RollupManagerContract_Expecter) FilterInitialized

func (_e *RollupManagerContract_Expecter) FilterInitialized(opts interface{}) *RollupManagerContract_FilterInitialized_Call

FilterInitialized is a helper method to define mock.On call

  • opts *bind.FilterOpts

func (*RollupManagerContract_Expecter) RollupAddressToID

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

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_FilterInitialized_Call

type RollupManagerContract_FilterInitialized_Call struct {
	*mock.Call
}

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

func (*RollupManagerContract_FilterInitialized_Call) Run

type RollupManagerContract_RollupAddressToID_Call

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

func (*RollupManagerContract_RollupAddressToID_Call) Run

func (*RollupManagerContract_RollupAddressToID_Call) RunAndReturn

type RollupManagerContract_RollupIDToRollupData_Call

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) Run

Jump to

Keyboard shortcuts

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