Versions in this module Expand all Collapse all v0 v0.3.3 Sep 5, 2025 v0.3.2 Aug 20, 2025 v0.3.2-svr Sep 5, 2025 v0.3.1 Aug 11, 2025 v0.3.0 Aug 8, 2025 v0.2.2 Aug 8, 2025 v0.2.1 Aug 8, 2025 v0.2.0 Aug 8, 2025 v0.1.0 Jul 17, 2025 Changes in this version + var ErrForwarderForEOANotFound = errors.New("cannot find forwarder for given EOA") + func FilterName(addr common.Address) string + type Config interface + FinalityDepth func() uint32 + type DSORM struct + func NewORM(ds sqlutil.DataSource) *DSORM + func (o *DSORM) CreateForwarder(ctx context.Context, addr common.Address, evmChainId big.Big) (fwd Forwarder, err error) + func (o *DSORM) DeleteForwarder(ctx context.Context, id int64, ...) (err error) + func (o *DSORM) FindForwarders(ctx context.Context, offset, limit int) (fwds []Forwarder, count int, err error) + func (o *DSORM) FindForwardersByChain(ctx context.Context, evmChainId big.Big) (fwds []Forwarder, err error) + func (o *DSORM) FindForwardersInListByChain(ctx context.Context, evmChainId big.Big, addrs []common.Address) ([]Forwarder, error) + func (o *DSORM) Transact(ctx context.Context, fn func(*DSORM) error) (err error) + type Forwarder struct + Address common.Address + CreatedAt time.Time + EVMChainID big.Big + ID int64 + UpdatedAt time.Time + type FwdMgr struct + ORM ORM + func NewFwdMgr(ds sqlutil.DataSource, client evmclient.Client, ...) *FwdMgr + func (f *FwdMgr) ConvertPayload(dest common.Address, origPayload []byte) ([]byte, error) + func (f *FwdMgr) ForwarderFor(ctx context.Context, addr common.Address) (forwarder common.Address, err error) + func (f *FwdMgr) ForwarderForOCR2Feeds(ctx context.Context, eoa, ocr2Aggregator common.Address) (forwarder common.Address, err error) + type ORM interface + CreateForwarder func(ctx context.Context, addr common.Address, evmChainId big.Big) (fwd Forwarder, err error) + DeleteForwarder func(ctx context.Context, id int64, ...) error + FindForwarders func(ctx context.Context, offset, limit int) ([]Forwarder, int, error) + FindForwardersByChain func(ctx context.Context, evmChainId big.Big) ([]Forwarder, error) + FindForwardersInListByChain func(ctx context.Context, evmChainId big.Big, addrs []common.Address) ([]Forwarder, error)