Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CreateAllowedSenders(ctx context.Context, allowedSenders []common.Address) error
- func (_m *ORM) DeleteAllowedSenders(ctx context.Context, blockedSenders []common.Address) error
- func (_m *ORM) EXPECT() *ORM_Expecter
- func (_m *ORM) GetAllowedSenders(ctx context.Context, offset uint, limit uint) ([]common.Address, error)
- func (_m *ORM) PurgeAllowedSenders(ctx context.Context) error
- type ORM_CreateAllowedSenders_Call
- func (_c *ORM_CreateAllowedSenders_Call) Return(_a0 error) *ORM_CreateAllowedSenders_Call
- func (_c *ORM_CreateAllowedSenders_Call) Run(run func(ctx context.Context, allowedSenders []common.Address)) *ORM_CreateAllowedSenders_Call
- func (_c *ORM_CreateAllowedSenders_Call) RunAndReturn(run func(context.Context, []common.Address) error) *ORM_CreateAllowedSenders_Call
- type ORM_DeleteAllowedSenders_Call
- func (_c *ORM_DeleteAllowedSenders_Call) Return(_a0 error) *ORM_DeleteAllowedSenders_Call
- func (_c *ORM_DeleteAllowedSenders_Call) Run(run func(ctx context.Context, blockedSenders []common.Address)) *ORM_DeleteAllowedSenders_Call
- func (_c *ORM_DeleteAllowedSenders_Call) RunAndReturn(run func(context.Context, []common.Address) error) *ORM_DeleteAllowedSenders_Call
- type ORM_Expecter
- func (_e *ORM_Expecter) CreateAllowedSenders(ctx interface{}, allowedSenders interface{}) *ORM_CreateAllowedSenders_Call
- func (_e *ORM_Expecter) DeleteAllowedSenders(ctx interface{}, blockedSenders interface{}) *ORM_DeleteAllowedSenders_Call
- func (_e *ORM_Expecter) GetAllowedSenders(ctx interface{}, offset interface{}, limit interface{}) *ORM_GetAllowedSenders_Call
- func (_e *ORM_Expecter) PurgeAllowedSenders(ctx interface{}) *ORM_PurgeAllowedSenders_Call
- type ORM_GetAllowedSenders_Call
- func (_c *ORM_GetAllowedSenders_Call) Return(_a0 []common.Address, _a1 error) *ORM_GetAllowedSenders_Call
- func (_c *ORM_GetAllowedSenders_Call) Run(run func(ctx context.Context, offset uint, limit uint)) *ORM_GetAllowedSenders_Call
- func (_c *ORM_GetAllowedSenders_Call) RunAndReturn(run func(context.Context, uint, uint) ([]common.Address, error)) *ORM_GetAllowedSenders_Call
- type ORM_PurgeAllowedSenders_Call
- func (_c *ORM_PurgeAllowedSenders_Call) Return(_a0 error) *ORM_PurgeAllowedSenders_Call
- func (_c *ORM_PurgeAllowedSenders_Call) Run(run func(ctx context.Context)) *ORM_PurgeAllowedSenders_Call
- func (_c *ORM_PurgeAllowedSenders_Call) RunAndReturn(run func(context.Context) error) *ORM_PurgeAllowedSenders_Call
- type OnchainAllowlist
- type OnchainAllowlist_Allow_Call
- type OnchainAllowlist_Close_Call
- type OnchainAllowlist_Expecter
- func (_e *OnchainAllowlist_Expecter) Allow(_a0 interface{}) *OnchainAllowlist_Allow_Call
- func (_e *OnchainAllowlist_Expecter) Close() *OnchainAllowlist_Close_Call
- func (_e *OnchainAllowlist_Expecter) Start(_a0 interface{}) *OnchainAllowlist_Start_Call
- func (_e *OnchainAllowlist_Expecter) UpdateFromContract(ctx interface{}) *OnchainAllowlist_UpdateFromContract_Call
- type OnchainAllowlist_Start_Call
- func (_c *OnchainAllowlist_Start_Call) Return(_a0 error) *OnchainAllowlist_Start_Call
- func (_c *OnchainAllowlist_Start_Call) Run(run func(_a0 context.Context)) *OnchainAllowlist_Start_Call
- func (_c *OnchainAllowlist_Start_Call) RunAndReturn(run func(context.Context) error) *OnchainAllowlist_Start_Call
- type OnchainAllowlist_UpdateFromContract_Call
- func (_c *OnchainAllowlist_UpdateFromContract_Call) Return(_a0 error) *OnchainAllowlist_UpdateFromContract_Call
- func (_c *OnchainAllowlist_UpdateFromContract_Call) Run(run func(ctx context.Context)) *OnchainAllowlist_UpdateFromContract_Call
- func (_c *OnchainAllowlist_UpdateFromContract_Call) RunAndReturn(run func(context.Context) error) *OnchainAllowlist_UpdateFromContract_Call
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: ctx, allowedSenders
func (*ORM) DeleteAllowedSenders ¶
DeleteAllowedSenders provides a mock function with given fields: ctx, blockedSenders
func (*ORM) EXPECT ¶ added in v2.15.0
func (_m *ORM) EXPECT() *ORM_Expecter
type ORM_CreateAllowedSenders_Call ¶ added in v2.15.0
ORM_CreateAllowedSenders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAllowedSenders'
func (*ORM_CreateAllowedSenders_Call) Return ¶ added in v2.15.0
func (_c *ORM_CreateAllowedSenders_Call) Return(_a0 error) *ORM_CreateAllowedSenders_Call
func (*ORM_CreateAllowedSenders_Call) Run ¶ added in v2.15.0
func (_c *ORM_CreateAllowedSenders_Call) Run(run func(ctx context.Context, allowedSenders []common.Address)) *ORM_CreateAllowedSenders_Call
func (*ORM_CreateAllowedSenders_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_CreateAllowedSenders_Call) RunAndReturn(run func(context.Context, []common.Address) error) *ORM_CreateAllowedSenders_Call
type ORM_DeleteAllowedSenders_Call ¶ added in v2.15.0
ORM_DeleteAllowedSenders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllowedSenders'
func (*ORM_DeleteAllowedSenders_Call) Return ¶ added in v2.15.0
func (_c *ORM_DeleteAllowedSenders_Call) Return(_a0 error) *ORM_DeleteAllowedSenders_Call
func (*ORM_DeleteAllowedSenders_Call) Run ¶ added in v2.15.0
func (_c *ORM_DeleteAllowedSenders_Call) Run(run func(ctx context.Context, blockedSenders []common.Address)) *ORM_DeleteAllowedSenders_Call
func (*ORM_DeleteAllowedSenders_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_DeleteAllowedSenders_Call) RunAndReturn(run func(context.Context, []common.Address) error) *ORM_DeleteAllowedSenders_Call
type ORM_Expecter ¶ added in v2.15.0
type ORM_Expecter struct {
// contains filtered or unexported fields
}
func (*ORM_Expecter) CreateAllowedSenders ¶ added in v2.15.0
func (_e *ORM_Expecter) CreateAllowedSenders(ctx interface{}, allowedSenders interface{}) *ORM_CreateAllowedSenders_Call
CreateAllowedSenders is a helper method to define mock.On call
- ctx context.Context
- allowedSenders []common.Address
func (*ORM_Expecter) DeleteAllowedSenders ¶ added in v2.15.0
func (_e *ORM_Expecter) DeleteAllowedSenders(ctx interface{}, blockedSenders interface{}) *ORM_DeleteAllowedSenders_Call
DeleteAllowedSenders is a helper method to define mock.On call
- ctx context.Context
- blockedSenders []common.Address
func (*ORM_Expecter) GetAllowedSenders ¶ added in v2.15.0
func (_e *ORM_Expecter) GetAllowedSenders(ctx interface{}, offset interface{}, limit interface{}) *ORM_GetAllowedSenders_Call
GetAllowedSenders is a helper method to define mock.On call
- ctx context.Context
- offset uint
- limit uint
func (*ORM_Expecter) PurgeAllowedSenders ¶ added in v2.15.0
func (_e *ORM_Expecter) PurgeAllowedSenders(ctx interface{}) *ORM_PurgeAllowedSenders_Call
PurgeAllowedSenders is a helper method to define mock.On call
- ctx context.Context
type ORM_GetAllowedSenders_Call ¶ added in v2.15.0
ORM_GetAllowedSenders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllowedSenders'
func (*ORM_GetAllowedSenders_Call) Return ¶ added in v2.15.0
func (_c *ORM_GetAllowedSenders_Call) Return(_a0 []common.Address, _a1 error) *ORM_GetAllowedSenders_Call
func (*ORM_GetAllowedSenders_Call) Run ¶ added in v2.15.0
func (_c *ORM_GetAllowedSenders_Call) Run(run func(ctx context.Context, offset uint, limit uint)) *ORM_GetAllowedSenders_Call
func (*ORM_GetAllowedSenders_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_GetAllowedSenders_Call) RunAndReturn(run func(context.Context, uint, uint) ([]common.Address, error)) *ORM_GetAllowedSenders_Call
type ORM_PurgeAllowedSenders_Call ¶ added in v2.15.0
ORM_PurgeAllowedSenders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PurgeAllowedSenders'
func (*ORM_PurgeAllowedSenders_Call) Return ¶ added in v2.15.0
func (_c *ORM_PurgeAllowedSenders_Call) Return(_a0 error) *ORM_PurgeAllowedSenders_Call
func (*ORM_PurgeAllowedSenders_Call) Run ¶ added in v2.15.0
func (_c *ORM_PurgeAllowedSenders_Call) Run(run func(ctx context.Context)) *ORM_PurgeAllowedSenders_Call
func (*ORM_PurgeAllowedSenders_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_PurgeAllowedSenders_Call) RunAndReturn(run func(context.Context) error) *ORM_PurgeAllowedSenders_Call
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) EXPECT ¶ added in v2.15.0
func (_m *OnchainAllowlist) EXPECT() *OnchainAllowlist_Expecter
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
type OnchainAllowlist_Allow_Call ¶ added in v2.15.0
OnchainAllowlist_Allow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Allow'
func (*OnchainAllowlist_Allow_Call) Return ¶ added in v2.15.0
func (_c *OnchainAllowlist_Allow_Call) Return(_a0 bool) *OnchainAllowlist_Allow_Call
func (*OnchainAllowlist_Allow_Call) Run ¶ added in v2.15.0
func (_c *OnchainAllowlist_Allow_Call) Run(run func(_a0 common.Address)) *OnchainAllowlist_Allow_Call
func (*OnchainAllowlist_Allow_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OnchainAllowlist_Allow_Call) RunAndReturn(run func(common.Address) bool) *OnchainAllowlist_Allow_Call
type OnchainAllowlist_Close_Call ¶ added in v2.15.0
OnchainAllowlist_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*OnchainAllowlist_Close_Call) Return ¶ added in v2.15.0
func (_c *OnchainAllowlist_Close_Call) Return(_a0 error) *OnchainAllowlist_Close_Call
func (*OnchainAllowlist_Close_Call) Run ¶ added in v2.15.0
func (_c *OnchainAllowlist_Close_Call) Run(run func()) *OnchainAllowlist_Close_Call
func (*OnchainAllowlist_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OnchainAllowlist_Close_Call) RunAndReturn(run func() error) *OnchainAllowlist_Close_Call
type OnchainAllowlist_Expecter ¶ added in v2.15.0
type OnchainAllowlist_Expecter struct {
// contains filtered or unexported fields
}
func (*OnchainAllowlist_Expecter) Allow ¶ added in v2.15.0
func (_e *OnchainAllowlist_Expecter) Allow(_a0 interface{}) *OnchainAllowlist_Allow_Call
Allow is a helper method to define mock.On call
- _a0 common.Address
func (*OnchainAllowlist_Expecter) Close ¶ added in v2.15.0
func (_e *OnchainAllowlist_Expecter) Close() *OnchainAllowlist_Close_Call
Close is a helper method to define mock.On call
func (*OnchainAllowlist_Expecter) Start ¶ added in v2.15.0
func (_e *OnchainAllowlist_Expecter) Start(_a0 interface{}) *OnchainAllowlist_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*OnchainAllowlist_Expecter) UpdateFromContract ¶ added in v2.15.0
func (_e *OnchainAllowlist_Expecter) UpdateFromContract(ctx interface{}) *OnchainAllowlist_UpdateFromContract_Call
UpdateFromContract is a helper method to define mock.On call
- ctx context.Context
type OnchainAllowlist_Start_Call ¶ added in v2.15.0
OnchainAllowlist_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*OnchainAllowlist_Start_Call) Return ¶ added in v2.15.0
func (_c *OnchainAllowlist_Start_Call) Return(_a0 error) *OnchainAllowlist_Start_Call
func (*OnchainAllowlist_Start_Call) Run ¶ added in v2.15.0
func (_c *OnchainAllowlist_Start_Call) Run(run func(_a0 context.Context)) *OnchainAllowlist_Start_Call
func (*OnchainAllowlist_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OnchainAllowlist_Start_Call) RunAndReturn(run func(context.Context) error) *OnchainAllowlist_Start_Call
type OnchainAllowlist_UpdateFromContract_Call ¶ added in v2.15.0
OnchainAllowlist_UpdateFromContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFromContract'
func (*OnchainAllowlist_UpdateFromContract_Call) Return ¶ added in v2.15.0
func (_c *OnchainAllowlist_UpdateFromContract_Call) Return(_a0 error) *OnchainAllowlist_UpdateFromContract_Call
func (*OnchainAllowlist_UpdateFromContract_Call) Run ¶ added in v2.15.0
func (_c *OnchainAllowlist_UpdateFromContract_Call) Run(run func(ctx context.Context)) *OnchainAllowlist_UpdateFromContract_Call
func (*OnchainAllowlist_UpdateFromContract_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OnchainAllowlist_UpdateFromContract_Call) RunAndReturn(run func(context.Context) error) *OnchainAllowlist_UpdateFromContract_Call