Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forwarder ¶
type Forwarder struct { ID int64 Address common.Address EVMChainID utils.Big CreatedAt time.Time UpdatedAt time.Time }
Forwarder is the struct for Forwarder Addresses
type FwdMgr ¶ added in v1.5.0
type FwdMgr struct { utils.StartStopOnce ORM ORM // contains filtered or unexported fields }
func (*FwdMgr) Close ¶ added in v1.9.0
Stop cancels all outgoings calls and stops internal ticker loop.
func (*FwdMgr) GetForwardedPayload ¶ added in v1.9.0
func (*FwdMgr) GetForwarderForEOA ¶ added in v1.9.0
type ORM ¶
type ORM interface { CreateForwarder(addr common.Address, evmChainId utils.Big) (fwd Forwarder, err error) FindForwarders(offset, limit int) ([]Forwarder, int, error) FindForwardersByChain(evmChainId utils.Big) ([]Forwarder, error) DeleteForwarder(id int32) error FindForwardersInListByChain(evmChainId utils.Big, addrs []common.Address) ([]Forwarder, error) }
Click to show internal directories.
Click to hide internal directories.