Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CreateForwarder(addr common.Address, evmChainId utils.Big) (forwarders.Forwarder, error)
- func (_m *ORM) DeleteForwarder(id int32) error
- func (_m *ORM) FindForwarders(offset int, limit int) ([]forwarders.Forwarder, int, error)
- func (_m *ORM) FindForwardersByChain(evmChainId utils.Big) ([]forwarders.Forwarder, error)
- func (_m *ORM) FindForwardersInListByChain(evmChainId utils.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 ¶ added in v1.5.0
NewORM creates a new instance of ORM. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ORM) CreateForwarder ¶
func (_m *ORM) CreateForwarder(addr common.Address, evmChainId utils.Big) (forwarders.Forwarder, error)
CreateForwarder provides a mock function with given fields: addr, evmChainId
func (*ORM) DeleteForwarder ¶
DeleteForwarder provides a mock function with given fields: id
func (*ORM) FindForwarders ¶
FindForwarders provides a mock function with given fields: offset, limit
func (*ORM) FindForwardersByChain ¶ added in v1.5.0
FindForwardersByChain provides a mock function with given fields: evmChainId
func (*ORM) FindForwardersInListByChain ¶ added in v1.5.0
func (_m *ORM) FindForwardersInListByChain(evmChainId utils.Big, addrs []common.Address) ([]forwarders.Forwarder, error)
FindForwardersInListByChain provides a mock function with given fields: evmChainId, addrs
Click to show internal directories.
Click to hide internal directories.