mocks

package
v2.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 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 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) UpdateFromContract

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

UpdateFromContract provides a mock function with given fields: ctx

func (*OnchainAllowlist) UpdatePeriodically

func (_m *OnchainAllowlist) UpdatePeriodically(ctx context.Context, updateFrequency time.Duration, updateTimeout time.Duration)

UpdatePeriodically provides a mock function with given fields: ctx, updateFrequency, updateTimeout

Jump to

Keyboard shortcuts

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