Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CreateAllowedSenders(allowedSenders []common.Address, qopts ...pg.QOpt) error
- func (_m *ORM) DeleteAllowedSenders(blockedSenders []common.Address, qopts ...pg.QOpt) error
- func (_m *ORM) GetAllowedSenders(offset uint, limit uint, qopts ...pg.QOpt) ([]common.Address, error)
- func (_m *ORM) PurgeAllowedSenders(qopts ...pg.QOpt) error
- type OnchainAllowlist
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) CreateAllowedSenders ¶
CreateAllowedSenders provides a mock function with given fields: allowedSenders, qopts
func (*ORM) DeleteAllowedSenders ¶
DeleteAllowedSenders provides a mock function with given fields: blockedSenders, 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 ¶
func (_m *OnchainAllowlist) Close() error
Close provides a mock function with given fields:
func (*OnchainAllowlist) Start ¶
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