mocks

package
v2.4.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnchainAllowlist

type OnchainAllowlist struct {
	mock.Mock
}

OnchainAllowlist is an autogenerated mock type for the OnchainAllowlist type

func NewOnchainAllowlist

func NewOnchainAllowlist(t mockConstructorTestingTNewOnchainAllowlist) *OnchainAllowlist

NewOnchainAllowlist creates a new instance of OnchainAllowlist. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OnchainAllowlist) Allow

func (_m *OnchainAllowlist) Allow(_a0 common.Address) bool

Allow provides a mock function with given fields: _a0

func (*OnchainAllowlist) Close added in v2.4.0

func (_m *OnchainAllowlist) Close() error

Close provides a mock function with given fields:

func (*OnchainAllowlist) Start added in v2.4.0

func (_m *OnchainAllowlist) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*OnchainAllowlist) UpdateFromContract

func (_m *OnchainAllowlist) UpdateFromContract(ctx context.Context) error

UpdateFromContract provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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