Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CreateForwarder(ctx context.Context, addr common.Address, evmChainId big.Big) (forwarders.Forwarder, error)
- func (_m *ORM) DeleteForwarder(ctx context.Context, id int64, ...) error
- func (_m *ORM) FindForwarders(ctx context.Context, offset int, limit int) ([]forwarders.Forwarder, int, error)
- func (_m *ORM) FindForwardersByChain(ctx context.Context, evmChainId big.Big) ([]forwarders.Forwarder, error)
- func (_m *ORM) FindForwardersInListByChain(ctx context.Context, evmChainId big.Big, addrs []common.Address) ([]forwarders.Forwarder, error)
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) CreateForwarder ¶
func (_m *ORM) CreateForwarder(ctx context.Context, addr common.Address, evmChainId big.Big) (forwarders.Forwarder, error)
CreateForwarder provides a mock function with given fields: ctx, addr, evmChainId
func (*ORM) DeleteForwarder ¶
func (_m *ORM) DeleteForwarder(ctx context.Context, id int64, cleanup func(sqlutil.DataSource, int64, common.Address) error) error
DeleteForwarder provides a mock function with given fields: ctx, id, cleanup
func (*ORM) FindForwarders ¶
func (_m *ORM) FindForwarders(ctx context.Context, offset int, limit int) ([]forwarders.Forwarder, int, error)
FindForwarders provides a mock function with given fields: ctx, offset, limit
func (*ORM) FindForwardersByChain ¶
func (_m *ORM) FindForwardersByChain(ctx context.Context, evmChainId big.Big) ([]forwarders.Forwarder, error)
FindForwardersByChain provides a mock function with given fields: ctx, evmChainId
Click to show internal directories.
Click to hide internal directories.