Versions in this module Expand all Collapse all v0 v0.1.4 Apr 12, 2024 v0.1.3 Apr 5, 2024 Changes in this version + type Client struct + func New(cfg config.EthTxManagerConfig, ethMan aggLayerTypes.IEtherman, ...) *Client + func (c *Client) Add(ctx context.Context, owner, id string, from common.Address, to *common.Address, ...) error + func (c *Client) Result(ctx context.Context, owner, id string, dbTx pgx.Tx) (txmTypes.MonitoredTxResult, error) + func (c *Client) Start() + func (c *Client) Stop() + type PostgresStorage struct + func NewPostgresStorage(dbCfg db.Config) (*PostgresStorage, error) + func (s *PostgresStorage) Add(ctx context.Context, mTx txmTypes.MonitoredTx, dbTx pgx.Tx) error + func (s *PostgresStorage) Get(ctx context.Context, owner, id string, dbTx pgx.Tx) (txmTypes.MonitoredTx, error) + func (s *PostgresStorage) GetBySenderAndStatus(ctx context.Context, sender common.Address, ...) ([]txmTypes.MonitoredTx, error) + func (s *PostgresStorage) GetByStatus(ctx context.Context, owner *string, statuses []txmTypes.MonitoredTxStatus, ...) ([]txmTypes.MonitoredTx, error) + func (s *PostgresStorage) Update(ctx context.Context, mTx txmTypes.MonitoredTx, dbTx pgx.Tx) error