Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶
NewORM creates a new instance of ORM. 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 (*ORM) GetSubscriptions ¶
func (_m *ORM) GetSubscriptions(offset uint, limit uint, qopts ...pg.QOpt) ([]functions.CachedSubscription, error)
GetSubscriptions provides a mock function with given fields: offset, limit, qopts
func (*ORM) UpsertSubscription ¶
func (_m *ORM) UpsertSubscription(subscription functions.CachedSubscription, qopts ...pg.QOpt) error
UpsertSubscription provides a mock function with given fields: subscription, qopts
type OnchainAllowlist ¶
OnchainAllowlist is an autogenerated mock type for the OnchainAllowlist type
func NewOnchainAllowlist ¶
func NewOnchainAllowlist(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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
OnchainSubscriptions is an autogenerated mock type for the OnchainSubscriptions type
func NewOnchainSubscriptions ¶ added in v2.6.0
func NewOnchainSubscriptions(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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
GetMaxUserBalance provides a mock function with given fields: _a0