Versions in this module Expand all Collapse all v0 v0.5.0 Jun 23, 2023 v0.4.0 Jun 22, 2023 v0.3.0 Jun 22, 2023 v0.2.0 Jun 22, 2023 Changes in this version + func NewORM(db *sqlx.DB, lggr logger.Logger, cfg pg.QConfig) *orm + type Config interface + type Forwarder struct + Address common.Address + CreatedAt time.Time + EVMChainID utils.Big + ID int64 + UpdatedAt time.Time + type FwdMgr struct + ORM ORM + func NewFwdMgr(db *sqlx.DB, client evmclient.Client, logpoller evmlogpoller.LogPoller, ...) *FwdMgr + func (f *FwdMgr) Close() error + func (f *FwdMgr) GetForwardedPayload(dest common.Address, origPayload []byte) ([]byte, error) + func (f *FwdMgr) GetForwarderForEOA(addr common.Address) (forwarder common.Address, err error) + func (f *FwdMgr) Start(ctx context.Context) error + type ORM interface + CreateForwarder func(addr common.Address, evmChainId utils.Big) (fwd Forwarder, err error) + DeleteForwarder func(id int32) error + FindForwarders func(offset, limit int) ([]Forwarder, int, error) + FindForwardersByChain func(evmChainId utils.Big) ([]Forwarder, error) + FindForwardersInListByChain func(evmChainId utils.Big, addrs []common.Address) ([]Forwarder, error)