mocks

package
v2.6.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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) 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

type OnchainSubscriptions added in v2.6.0

type OnchainSubscriptions struct {
	mock.Mock
}

OnchainSubscriptions is an autogenerated mock type for the OnchainSubscriptions type

func NewOnchainSubscriptions added in v2.6.0

func NewOnchainSubscriptions(t mockConstructorTestingTNewOnchainSubscriptions) *OnchainSubscriptions

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

func (*OnchainSubscriptions) Close added in v2.6.0

func (_m *OnchainSubscriptions) Close() error

Close provides a mock function with given fields:

func (*OnchainSubscriptions) GetMaxUserBalance added in v2.6.0

func (_m *OnchainSubscriptions) GetMaxUserBalance(_a0 common.Address) (*big.Int, error)

GetMaxUserBalance provides a mock function with given fields: _a0

func (*OnchainSubscriptions) Start added in v2.6.0

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

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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